:root {
  --orange: #b86b3d;
  --orange-dark: #954f2b;
  --blue: #347d83;
  --navy: #193a3b;
  --ink: #203230;
  --muted: #65736e;
  --line: #e5e9df;
  --soft: #f5f6f0;
  --white: #fff;
  --shadow: 0 22px 60px rgba(17, 48, 74, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: #fcfcf8;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.topbar {
  background: var(--navy);
  color: #dce8f2;
  font-size: 12px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-contact,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar a:hover {
  color: #fff;
}

.dot {
  opacity: .45;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #9fb4c5;
  font: 700 11px/1 "Manrope";
  padding: 4px;
  cursor: pointer;
}

.lang-btn.active {
  color: #fff;
}

.top-login {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  color: #fff;
  font-weight: 700;
}

.top-login svg {
  width: 15px;
  fill: currentColor;
}

.nav-wrap {
  background: rgba(255, 255, 252, .88);
  backdrop-filter: blur(18px) saturate(130%);
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 237, 242, .7);
}

.nav-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  width: 245px;
}

.brand img {
  width: 100%;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.main-nav > a:not(.erp-btn) {
  position: relative;
}

.main-nav > a:not(.erp-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: .25s;
}

.main-nav > a:not(.erp-btn):hover::after {
  width: 100%;
}

.erp-btn,
.primary-btn,
.ghost-btn,
.white-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  font-weight: 800;
  transition: .22s;
}

.erp-btn {
  background: var(--orange);
  color: #fff;
  padding: 12px 17px;
}

.erp-btn:hover,
.primary-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.erp-btn svg {
  width: 16px;
  fill: #fff;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 720px;
  background: url("altinhavuz-aerial-enhanced.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 39, 36, .86) 0%,
    rgba(17, 39, 36, .64) 39%,
    rgba(17, 39, 36, .20) 72%,
    rgba(17, 39, 36, .28) 100%
  );
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 25, 22, .08),
    transparent 48%,
    rgba(10, 25, 22, .34)
  );
  z-index: -1;
}

.hero-content {
  padding-bottom: 82px;
  color: #fff;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 800;
  color: #d9e4bf;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0 0 24px;
  max-width: 740px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .18);
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 610px;
  margin: 0 0 32px;
  color: rgba(255, 255, 250, .9);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 14px 22px;
  cursor: pointer;
  font-family: inherit;
}

.ghost-btn {
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(7px);
}

.ghost-btn:hover {
  background: #fff;
  color: var(--navy);
}

.hero-card {
  position: absolute;
  right: max(40px, calc((100vw - 1180px) / 2));
  bottom: -50px;
  width: min(620px, calc(100% - 80px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 251, .88);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 65px rgba(21, 46, 38, .2);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 20px;
  overflow: hidden;
}

.hero-card div {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.hero-card div:last-child {
  border-right: 0;
}

.hero-card strong {
  display: block;
  color: #8e4e2e;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 5px;
}

.hero-card span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

.intro {
  padding-top: 145px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 90px;
  align-items: start;
}

.section-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 15px;
}

.section-heading h2,
.location-copy h2,
.contact-copy h2,
.erp-panel h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.16;
  letter-spacing: -.035em;
  margin: 0;
}

.intro-copy p,
.location-copy > p,
.contact-copy > p {
  color: var(--muted);
  font-size: 16px;
  margin: 4px 0 22px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
}

.features {
  background: linear-gradient(180deg, #f6f7f0 0%, #f0f3e9 100%);
  padding-top: 82px;
  padding-bottom: 82px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px 32px;
  min-height: 375px;
  overflow: hidden;
  transition: .25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(23, 37, 51, .08);
}

.feature-card.featured {
  background: linear-gradient(145deg, #244d4b, #193a3b);
  color: #fff;
  border-color: #244d4b;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef8ff;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
}

.featured .icon-wrap {
  background: rgba(255, 255, 255, .1);
}

.icon-wrap svg {
  width: 25px;
  fill: var(--blue);
}

.featured .icon-wrap svg {
  fill: #fff;
}

.feature-no {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #cad6df;
  font-size: 12px;
  font-weight: 800;
}

.featured .feature-no {
  color: #668098;
}

.feature-card h3 {
  font-size: 22px;
  margin: 0 0 15px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.featured p {
  color: #c9d7e2;
}

.erp-section {
  padding: 72px 0;
}

.erp-panel {
  background: linear-gradient(120deg, #2f7778, #214f50);
  color: #fff;
  border-radius: 24px;
  padding: 46px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  box-shadow: 0 24px 60px rgba(25, 58, 59, .22);
}

.section-kicker.light {
  color: #d6eeff;
}

.erp-panel h2 {
  font-size: 38px;
}

.erp-panel p {
  color: #eaf6ff;
  max-width: 650px;
  margin: 12px 0 0;
}

.white-btn {
  background: #fff;
  color: #285e5f;
  padding: 15px 21px;
  white-space: nowrap;
}

.white-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.location-section {
  padding-top: 58px;
}

.location-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 54px;
  align-items: center;
}

.location-copy h2 {
  margin-bottom: 20px;
}

.contact-mini {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-mini a {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 12px;
  font-size: 14px;
}

.contact-mini strong {
  color: var(--navy);
}

.contact-mini span {
  color: var(--muted);
}

.map-card {
  height: 385px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.9) contrast(.95);
}

.contact-section {
  background: #f7f8f2;
}

.contact-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 15px 45px rgba(20, 52, 75, .06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #4d6274;
  margin-bottom: 17px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d9e3eb;
  background: #fbfdfe;
  border-radius: 9px;
  padding: 12px 13px;
  font: 500 14px/1.4 "Manrope";
  color: var(--ink);
  outline: none;
  transition: .18s;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 139, 232, .09);
  background: #fff;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  min-height: 20px;
}

.form-footer p.ok {
  color: #188a58;
}

.form-footer p.error {
  color: #c74134;
}

.site-footer {
  background: #0d2436;
  color: #d4e1ea;
  padding: 58px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .7fr;
  gap: 50px;
  align-items: start;
}

.footer-brand img {
  width: 210px;
  filter: brightness(0) invert(1);
  opacity: .94;
}

.footer-brand p {
  font-size: 13px;
  color: #8fa8bb;
  margin: 13px 0 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-erp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: #8fa8bb;
}

.footer-erp a {
  color: #fff;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 38px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #7892a6;
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 610px;
  }

  .hero-card {
    left: 20px;
    right: 20px;
    width: auto;
  }

  .intro-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-grid {
    gap: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .erp-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-erp {
    grid-column: 1 / -1;
  }

  .topbar-contact .dot:nth-of-type(2),
  .topbar-contact a:nth-of-type(3) {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .topbar-inner {
    min-height: 42px;
  }

  .topbar-contact a:nth-of-type(2),
  .topbar-contact .dot {
    display: none;
  }

  .topbar-actions span:not(.top-login span) {
    display: inline;
  }

  .top-login span {
    display: none;
  }

  .nav-inner {
    min-height: 74px;
  }

  .brand {
    width: 205px;
  }

  .brand img {
    height: 54px;
  }

  .main-nav {
    top: 74px;
  }

  .hero {
    min-height: 670px;
    background-position: 56% center;
  }

  .hero-content {
    padding-top: 10px;
    padding-bottom: 120px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-card {
    grid-template-columns: 1fr;
    bottom: -122px;
  }

  .hero-card div {
    padding: 14px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 12px;
  }

  .hero-card div:last-child {
    border-bottom: 0;
  }

  .hero-card strong {
    font-size: 20px;
    margin: 0;
  }

  .intro {
    padding-top: 195px;
  }

  .section-heading h2,
  .location-copy h2,
  .contact-copy h2 {
    font-size: 34px;
  }

  .erp-panel {
    padding: 34px 26px;
  }

  .erp-panel h2 {
    font-size: 31px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .form-footer .primary-btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-erp {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

  .map-card {
    height: 310px;
  }
}
