/* ============================================================
   TARMAC DETAIL COMPANY — bold edition
   Light backgrounds, navy ink, gold accent.
   Archivo (display, heavy) + Hanken Grotesk (body).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #14223f;          /* headings, dark sections */
  --navy-deep: #0e1a30;     /* footer, deepest */
  --navy-soft: #1c2d4d;     /* card borders on dark */
  --gold: #c6a15b;
  --gold-bright: #d9bc85;
  --gold-deep: #a3803f;
  --ink: #1b2536;           /* near-black text */
  --slate: #4a566a;         /* body text */
  --muted: #8a94a6;         /* secondary text */
  --white: #ffffff;
  --paper: #f5f7fb;         /* soft section bg */
  --paper-2: #eef1f7;
  --line: #e3e7ee;
  --line-dark: rgba(214, 222, 235, 0.12);
  --disp: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 80px;
  --shadow: 0 30px 60px -34px rgba(20, 34, 63, 0.35);
  --shadow-lg: 0 44px 90px -40px rgba(20, 34, 63, 0.5);
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--slate);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--navy); }

/* ---------- type ---------- */

h1, h2, h3, h4 { font-family: var(--disp); color: var(--navy); line-height: 1.04; letter-spacing: -0.02em; }
.display { font-weight: 800; }
h1.display { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 900; letter-spacing: -0.03em; }
h2.display { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h3.display { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
.display .g { color: var(--gold); }

.eyebrow {
  font-family: var(--disp);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 20px;
  display: inline-block;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--gold); }

.lede { font-size: 1.16rem; color: var(--slate); max-width: 56ch; line-height: 1.6; }
.on-dark { color: #c4cede; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark .lede { color: #aebbd0; }

/* ---------- layout ---------- */

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }
.section { padding: 118px 0; }
.section-sm { padding: 84px 0; }
.paper { background: var(--paper); }
.navy { background: var(--navy); }
.navy-deep { background: var(--navy-deep); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.split-top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .lede { margin-top: 20px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.head-row .sec-head { margin-bottom: 0; }

/* ---------- nav ---------- */

.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.topnav-inner { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; }
/* transparent over hero, solid after scroll */
.topnav.solid { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(20,34,63,0.25); height: 68px; }

.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 9px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-family: var(--disp); font-weight: 800; font-size: 1.02rem; letter-spacing: 0.14em; color: var(--white); line-height: 1.1; text-transform: uppercase; }
.brand-name small { display: block; font-size: 0.52rem; letter-spacing: 0.26em; color: var(--gold); font-weight: 600; }
.topnav.solid .brand-name { color: var(--navy); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a, .nav-item > button {
  font-family: var(--disp); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.9); padding: 10px 15px; border-radius: 8px; cursor: pointer;
  background: none; border: none; display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s, background 0.2s;
}
.topnav.solid .nav-links > a, .topnav.solid .nav-item > button { color: var(--slate); }
.nav-links > a:hover, .nav-item > button:hover { color: var(--gold-bright); }
.topnav.solid .nav-links > a:hover, .topnav.solid .nav-item > button:hover { color: var(--gold-deep); background: var(--paper); }
.nav-links > a.active { color: var(--white); }
.topnav.solid .nav-links > a.active { color: var(--navy); }
.nav-links > a.active::after { content: ""; }

.nav-item { position: relative; }
.nav-item > button .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s; }
.nav-item:hover > button .caret { transform: rotate(225deg) translateY(-2px); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 9px; transition: background 0.18s; }
.dropdown a:hover { background: var(--paper); }
.dropdown a strong { display: block; font-family: var(--disp); font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.dropdown a span { font-size: 0.8rem; color: var(--muted); }

.nav-phone { font-family: var(--disp); font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.9); white-space: nowrap; }
.topnav.solid .nav-phone { color: var(--navy); }
.nav-phone:hover { color: var(--gold-bright); }
.topnav.solid .nav-phone:hover { color: var(--gold-deep); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: background 0.3s; }
.topnav.solid .nav-toggle span { background: var(--navy); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--disp); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: 10px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 14px 26px -14px rgba(198,161,91,0.7); }
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 18px 32px -14px rgba(198,161,91,0.8); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #1d3054; }
.btn-line { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-deep); }
.on-hero .btn-line, .on-dark .btn-line { border-color: rgba(255,255,255,0.4); color: var(--white); background: rgba(255,255,255,0.06); }
.on-hero .btn-line:hover, .on-dark .btn-line:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(255,255,255,0.1); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.link-arrow { font-family: var(--disp); font-weight: 700; font-size: 0.9rem; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 7px; }
.link-arrow .arr { transition: transform 0.25s; }
.link-arrow:hover .arr { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--gold-bright); }

/* ---------- hero ---------- */

.hero { position: relative; min-height: min(94vh, 900px); display: flex; align-items: flex-end; overflow: hidden; padding-bottom: 64px; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; will-change: transform; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,48,0.55) 0%, rgba(14,26,48,0.32) 34%, rgba(14,26,48,0.72) 78%, rgba(14,26,48,0.95) 100%);
}
.hero .wrap-wide { width: 100%; }
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 { color: var(--white); text-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.hero-lede { color: #d5deed; font-size: 1.2rem; max-width: 46ch; margin: 26px 0 34px; }
.hero .cta-row { margin-bottom: 56px; }

.hero-stats { display: flex; gap: 56px; flex-wrap: wrap; padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-stat .num { font-family: var(--disp); font-weight: 800; font-size: 1.9rem; color: var(--white); line-height: 1; }
.hero-stat .num .g { color: var(--gold-bright); }
.hero-stat p { font-size: 0.9rem; color: #b8c4d8; margin-top: 8px; }

/* page hero (interior pages) */
.hero-page { min-height: 0; padding: calc(var(--nav-h) + 96px) 0 84px; align-items: center; background: var(--navy); overflow: hidden; }
.hero-page::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(1000px 460px at 82% 12%, rgba(198,161,91,0.16), transparent 60%),
              radial-gradient(760px 500px at 8% 100%, rgba(41,86,180,0.14), transparent 62%);
}
.hero-page .wrap-wide { position: relative; z-index: 1; }
.hero-page .eyebrow { color: var(--gold); }
.hero-page h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero-page .lede { color: #b8c4d8; margin-top: 22px; }

/* ---------- media cards (three services) ---------- */

.mcard { position: relative; border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s; }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mcard-img { position: relative; aspect-ratio: 3 / 2.4; overflow: hidden; }
.mcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.mcard:hover .mcard-img img { transform: scale(1.06); }
.mcard-tag { position: absolute; top: 16px; left: 16px; font-family: var(--disp); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 7px 12px; border-radius: 7px; }
.mcard-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.mcard-body h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.mcard-body p { font-size: 0.97rem; color: var(--slate); margin-bottom: 20px; flex: 1; }

/* ---------- spec / package cards ---------- */

.pcard { border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.3s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pcard.featured { border-color: var(--gold); }
.pcard-top { padding: 28px 28px 22px; position: relative; }
.pcard-badge { position: absolute; top: 22px; right: 22px; font-family: var(--disp); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 6px 11px; border-radius: 6px; }
.pcard-meta { font-family: var(--disp); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pcard-top h3 { font-size: 1.7rem; font-weight: 800; }
.pcard-sub { font-size: 0.95rem; color: var(--slate); margin-top: 8px; }
.pcard-specs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pcard-specs .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 28px; }
.pcard-specs .row + .row { border-top: 1px solid var(--line); }
.pcard-specs .k { font-size: 0.82rem; color: var(--muted); }
.pcard-specs .v { font-family: var(--disp); font-weight: 700; font-size: 0.9rem; color: var(--navy); text-align: right; }
.pcard-price { padding: 22px 28px; display: flex; align-items: baseline; gap: 9px; }
.pcard-price .from { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pcard-price .amt { font-family: var(--disp); font-weight: 800; font-size: 2rem; color: var(--navy); }
.pcard-price .amt.quote { font-size: 1.45rem; color: var(--gold-deep); }
.pcard-foot { padding: 0 28px 28px; margin-top: auto; }
.pcard-foot .btn { width: 100%; justify-content: center; }

/* ---------- feature list ---------- */

.flist { display: flex; flex-direction: column; gap: 14px; }
.flist li { display: flex; gap: 13px; font-size: 1rem; color: var(--slate); }
.flist li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3803f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 13px; background-position: center; background-repeat: no-repeat; margin-top: 2px; }
.on-dark .flist li { color: #c4cede; }
.on-dark .flist li::before { background-color: rgba(198,161,91,0.16); }

/* ---------- stat strip ---------- */

.statstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat { text-align: left; }
.stat .num { font-family: var(--disp); font-weight: 900; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.stat .num .g { color: var(--gold); }
.stat p { margin-top: 10px; color: var(--slate); font-size: 0.98rem; }
.on-dark .stat .num { color: var(--white); }
.on-dark .stat p { color: #aebbd0; }

/* ---------- before / after ---------- */

.ba-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ba { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--paper-2); --pos: 50%; box-shadow: var(--shadow); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--gold); transform: translateX(-1.5px); pointer-events: none; }
.ba .ba-line::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--gold); box-shadow: 0 4px 14px rgba(0,0,0,0.3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314223f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3Cpolyline points='9 6 3 12 9 18' transform='translate(12 0)'/%3E%3C/svg%3E"); background-size: 20px; background-position: center; background-repeat: no-repeat; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; bottom: 12px; font-family: var(--disp); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; pointer-events: none; }
.ba-label-b { left: 12px; background: rgba(14,26,48,0.82); color: var(--white); }
.ba-label-a { right: 12px; background: var(--gold); color: var(--navy); }
.ba-caption { margin-top: 12px; font-family: var(--disp); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------- quote / testimonial ---------- */

.quote-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 1.15fr 0.85fr; }
.quote-card .qtext { padding: 54px 52px; display: flex; flex-direction: column; justify-content: center; }
.quote-card blockquote { font-family: var(--disp); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.85rem); color: var(--navy); line-height: 1.28; letter-spacing: -0.01em; }
.quote-card .qby { margin-top: 26px; }
.quote-card .qby strong { font-family: var(--disp); font-weight: 700; color: var(--navy); display: block; }
.quote-card .qby span { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }
.quote-card .qimg { position: relative; min-height: 320px; }
.quote-card .qimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- airport index ---------- */

.apt-region { margin-top: 44px; }
.apt-region:first-of-type { margin-top: 0; }
.apt-region-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line-dark); }
.apt-region-head h3 { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.apt-region-head .n { font-family: var(--disp); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: var(--gold); }
.apt-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 26px; }
.apt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.apt .apt-name { font-size: 0.95rem; color: #c4cede; }
.apt .apt-code { font-family: var(--disp); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); white-space: nowrap; }
.apt.home .apt-name { color: var(--white); font-weight: 500; }
.apt.home .apt-code { color: var(--gold-bright); }

/* ---------- simple content cards ---------- */

.scard { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px 30px; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.3s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.scard .scard-n { font-family: var(--disp); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; display: block; }
.scard h3 { font-size: 1.32rem; font-weight: 800; margin-bottom: 10px; }
.scard p { font-size: 0.97rem; color: var(--slate); }
.scard a.inline { color: var(--gold-deep); border-bottom: 1px solid rgba(198,161,91,0.5); font-weight: 500; }
.paper .scard { background: var(--white); }

/* ---------- steps ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--disp); font-weight: 900; font-size: 2.2rem; color: var(--gold); display: block; margin-bottom: 16px; letter-spacing: -0.02em; }
.step h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.step p { font-size: 0.96rem; color: var(--slate); }

/* ---------- faq ---------- */

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-family: var(--disp); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 1.5rem; font-weight: 400; transition: transform 0.25s; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 4px 26px; color: var(--slate); max-width: 72ch; }

/* ---------- prose ---------- */

.prose { max-width: 74ch; }
.prose p { margin-bottom: 22px; }
.prose h2 { font-size: 1.7rem; font-weight: 800; margin: 40px 0 16px; }
.prose a { color: var(--gold-deep); border-bottom: 1px solid rgba(198,161,91,0.5); font-weight: 500; }
.breadcrumb { font-family: var(--disp); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 34px; }
.breadcrumb a:hover { color: var(--gold-deep); }
.fine { font-size: 0.88rem; color: var(--muted); margin-top: 30px; }

/* ---------- big CTA band ---------- */

.cta-band { position: relative; overflow: hidden; padding: 120px 0; text-align: center; }
.cta-band .cta-photo { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,48,0.9), rgba(14,26,48,0.82)); }
.cta-band h2 { color: var(--white); font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 900; letter-spacing: -0.03em; }
.cta-band p { color: #c4cede; max-width: 48ch; margin: 22px auto 34px; font-size: 1.12rem; }
.cta-band .cta-row { justify-content: center; }

/* ---------- form ---------- */

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--disp); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 9px; }
.field input, .field select, .field textarea { width: 100%; background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); font-family: var(--body); font-size: 1rem; padding: 14px 15px; transition: border-color 0.2s, background 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a7b0c0; }
.contact-line { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 26px; }
.contact-line .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--paper); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold-deep); }
.contact-line h5 { font-family: var(--disp); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-line a, .contact-line p { color: var(--navy); font-weight: 500; }
.contact-line a:hover { color: var(--gold-deep); }
.form-status { display: none; margin-top: 18px; padding: 15px 18px; border-radius: 10px; font-size: 0.95rem; font-weight: 500; }
.form-status.ok { display: block; background: #ecf6ee; border: 1px solid #b7dcc0; color: #2f7a45; }
.form-status.err { display: block; background: #fbecea; border: 1px solid #e7bcb6; color: #b0402f; }

/* ---------- footer ---------- */

footer { background: var(--navy-deep); color: #9fabc0; padding: 78px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 54px; border-bottom: 1px solid var(--line-dark); }
.footer-grid .brand { margin-bottom: 20px; }
.footer-about p { font-size: 0.96rem; color: #9fabc0; max-width: 34ch; }
.footer-head { font-family: var(--disp); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 0.94rem; color: #9fabc0; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 0.82rem; color: #6b788e; }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; z-index: 200; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); pointer-events: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .scroll-progress { display: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav-phone { display: none; }
  .ba-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split, .grid-3, .grid-2, .steps, .statstrip, .footer-grid, .form-grid, .apt-list { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .section { padding: 84px 0; }
  .quote-card { grid-template-columns: 1fr; }
  .quote-card .qimg { min-height: 240px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .apt-list { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 32px; }

  .nav-toggle { display: flex; margin-left: auto; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px; gap: 2px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-item > button { color: var(--navy) !important; width: 100%; justify-content: space-between; padding: 14px 16px; }
  .nav-item { width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 0 0 8px 14px; min-width: 0; display: none; }
  .nav-item.open .dropdown { display: block; }
  .nav-item:hover .dropdown { opacity: 1; }
}
@media (max-width: 560px) {
  .ba-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .apt-list { grid-template-columns: 1fr; }
  .wrap, .wrap-wide { padding: 0 22px; }
  .form-card { padding: 26px; }
  .quote-card .qtext { padding: 36px 28px; }
}
