/* ============================================================
   ScholarPath — "Considered & Premium" design system
   Ivory · institutional navy · antique gold accent
   Headlines: Spectral · Body/UI: Hanken Grotesk
   Class names are kept compatible with the existing pages.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

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

:root {
  /* surfaces */
  --paper:   #0B1A30;   /* deep navy — page background */
  --cream:   #12274A;   /* raised navy panel — cards / inputs */
  --paper2:  #0F2138;   /* alternate band */
  /* navy (kept under old "forest" names so existing rules resolve) */
  --ink:     #F1E9D8;   /* warm ivory — headings / primary text */
  --forest:  #1E4C82;   /* brand navy — buttons / marks */
  --forest2: #081627;   /* deepest navy — footer / dark bands */
  /* gold accent (kept under old "gold" names) */
  --gold:    #CDA85A;   /* luminous antique gold — accent */
  --gold2:   #E4C27C;   /* brightest gold — on deepest navy */
  --gold3:   #F0DCB0;   /* faint gold */
  --goldlt:  #C9A659;   /* legacy ref */
  /* text */
  --text:    #C4CBD8;
  --muted:   #8A93A6;
  --faint:   #5E6982;
  /* lines */
  --border:  rgba(222,230,244,0.12);
  --border2: rgba(222,230,244,0.22);
  --border-dk: rgba(222,230,244,0.10);
  /* radii + shadow */
  --r:    9px;
  --r-sm: 6px;
  --shadow:    0 18px 40px -26px rgba(0,0,0,0.60);
  --shadow-lg: 0 34px 70px -34px rgba(0,0,0,0.74);
  /* type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Archivo', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  background: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.serif { font-family: var(--serif); }
::selection { background: var(--gold); color: #0B1A30; }
/* serif headings: normalise weight + relax tracking for Cormorant */
.sec-title, .ix-name, .service-name, .addon-name, .pricing-name, .city-name,
.step-title, .docs-title, .blog-title, .stat-num, .ix-price, .service-price,
.consult-box .sec-title, .legal h2, .pull-quote p {
  font-weight: 500; letter-spacing: -0.1px;
}
.display { font-weight: 600; letter-spacing: -0.5px; }
.display em, .sec-title em { font-weight: 500; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ============ NAV ============ */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 76px;
  background: rgba(9,19,36,0.72);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: inline-flex; align-items: center; gap: 0;
  font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--ink); text-decoration: none; line-height: 1;
}
.logo .logo-mark { width: 30px; height: 30px; margin-right: 13px; flex-shrink: 0; display: block; }
.logo span { color: var(--gold); font-style: normal; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.1px;
  color: var(--muted); text-decoration: none; transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.1px;
  color: var(--forest2); background: var(--gold); text-decoration: none;
  padding: 11px 22px; border-radius: 7px; border: 1px solid var(--gold);
  transition: background .25s, transform .15s, box-shadow .25s;
}
.nav-cta:hover { background: var(--gold2); border-color: var(--gold2); box-shadow: var(--shadow); }

/* MOBILE NAV (injected by compliance.js) */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--gold); transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; top: 76px; left: 0; right: 0; z-index: 99; background: var(--paper); border-bottom: 1px solid var(--border); padding: 8px 24px 24px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { display: block; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .mm-cta { color: #fff; background: var(--forest); border: none; border-radius: 7px; text-align: center; margin-top: 18px; padding: 15px 0; font-weight: 600; }

/* ============ SECTION SCAFFOLD ============ */
section { padding-block: 104px; padding-inline: max(48px, calc((100% - 1200px) / 2)); }
section.linen, section.paper2 { background: var(--paper2); }
.wrap { max-width: 1200px; margin: 0 auto; }

.sec-label, .eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold); font-family: var(--sans);
}
.sec-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sec-label::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--gold); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.eyebrow .rule-sm { display: inline-block; width: 36px; height: 2px; border-radius: 2px; background: var(--gold); }

.sec-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 52px); font-weight: 400; line-height: 1.08;
  letter-spacing: -0.6px; margin-bottom: 16px; color: var(--ink); text-wrap: balance;
}
.sec-title em { font-style: italic; font-weight: 400; color: var(--gold); }
.sec-sub {
  font-size: 18px; color: var(--muted); font-weight: 400; line-height: 1.7;
  margin-bottom: 56px; max-width: 560px;
}

.section-head { margin-bottom: 60px; }
.section-head.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: end; }
.section-head.split .sec-sub { margin-bottom: 4px; }
.rule { height: 1px; background: var(--border); margin: 0 0 56px; }

/* PAGE HERO (interior pages) */
.page-hero { padding-block: 104px 84px; padding-inline: max(48px, calc((100% - 1200px) / 2)); border-bottom: 1px solid var(--border); position: relative; background: var(--cream); }
.page-hero .wrap { max-width: 1200px; margin: 0 auto; }
.page-hero .sec-title { font-size: clamp(40px, 4.6vw, 66px); margin-bottom: 22px; max-width: 17ch; }
.page-hero .sec-sub { margin-bottom: 0; font-size: 19px; max-width: 600px; }

/* ============ HOME MASTHEAD ============ */
.masthead { background: var(--paper); border-bottom: 1px solid var(--border); overflow: hidden; }
.mh-grid {
  display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 64px;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(56px, 6vw, 104px) 48px;
}
.mh-copy { display: flex; flex-direction: column; }
.display {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 74px); font-weight: 400; line-height: 1.03;
  letter-spacing: -1.4px; color: var(--ink); margin-bottom: 26px; text-wrap: balance;
}
.display em { font-style: italic; color: var(--gold); }
.lead { font-size: 19px; font-weight: 400; color: var(--text); line-height: 1.65; max-width: 480px; margin-bottom: 36px; }
.mh-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 44px; }
.mh-credentials {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.2px; color: var(--muted);
}
.mh-credentials .dot { color: var(--gold); font-size: 8px; }

.mh-figure { position: relative; }
.ph { position: relative; overflow: hidden; background: var(--paper2); }
.ph.has-img { background-size: cover; background-position: center; background-repeat: no-repeat; }
.mh-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.mh-frame .ph { position: absolute; inset: 0; }
.mh-figcap {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(8,17,32,0.82); backdrop-filter: blur(8px); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.2px; color: var(--ink);
}
.mh-figcap .fc-coord { color: var(--muted); font-weight: 500; }
.mh-badge {
  position: absolute; top: -16px; right: 24px; z-index: 2; white-space: nowrap;
  background: var(--gold); color: var(--forest2); border-radius: 999px;
  padding: 10px 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.2px;
  box-shadow: var(--shadow);
}

/* ============ STAT BAND (dark interlude) ============ */
.stat-band {
  background: var(--forest2); color: #fff;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--border-dk);
}
.stat { padding: 56px 44px; border-right: 1px solid var(--border-dk); position: relative; }
.stat:last-child { border-right: none; }
.stat-num { display: block; font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1; color: #fff; margin-bottom: 12px; }
.stat-num span { color: var(--gold2); }
.stat-lbl { font-size: 14px; font-weight: 500; letter-spacing: 0.2px; color: #AEB8CB; line-height: 1.5; }

/* ============ BUTTONS ============ */
.btn-solid, .btn-dark {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--forest); color: #fff; border: 1px solid var(--forest);
  padding: 15px 30px; border-radius: 7px; font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: 0.1px; text-decoration: none; cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .15s;
}
.btn-solid:hover, .btn-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--forest2); box-shadow: var(--shadow); }
.btn-gold {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--gold); color: var(--forest2); border: 1px solid var(--gold);
  padding: 16px 34px; border-radius: 7px; font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: 0.1px; text-decoration: none; cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .15s;
}
.btn-gold:hover { background: var(--gold2); border-color: var(--gold2); box-shadow: var(--shadow); }
.btn-quiet, .btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.1px;
  color: var(--ink); text-decoration: none; transition: gap .2s, color .2s;
}
.btn-quiet span, .btn-link span { color: var(--gold); transition: transform .2s; font-size: 17px; }
.btn-quiet:hover, .btn-link:hover { color: var(--gold); }
.btn-quiet:hover span, .btn-link:hover span { transform: translateX(4px); }

/* ============ SERVICES — ledger rows ============ */
.index-list, .services-list { list-style: none; border-top: 1px solid var(--border2); }
.index-row, .service-row {
  display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 32px; align-items: baseline;
  padding: 40px 4px; border-bottom: 1px solid var(--border); transition: padding .3s ease, background .3s ease;
  border-radius: 4px;
}
.index-row:hover, .service-row:hover { padding-left: 18px; padding-right: 18px; background: var(--cream); box-shadow: var(--shadow); border-radius: var(--r-sm); border-bottom-color: transparent; }
.ix-num, .service-num { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--gold); padding-top: 6px; }
.ix-body { min-width: 0; }
.ix-name, .service-name { display: block; font-family: var(--serif); font-size: 28px; font-weight: 400; margin-bottom: 8px; color: var(--ink); letter-spacing: -0.4px; line-height: 1.12; }
.ix-desc, .service-desc { display: block; font-size: 15.5px; color: var(--text); line-height: 1.7; max-width: 64ch; }
.ix-price, .service-price { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--gold); white-space: nowrap; padding-top: 2px; text-align: right; }
.ix-price.small, .service-price.small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.4px; text-transform: uppercase; padding-top: 12px; }

/* INCLUDES LIST */
.includes { list-style: none; margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.includes li { font-size: 14.5px; color: var(--muted); padding-left: 24px; position: relative; line-height: 1.5; }
.includes li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(206,168,90,0.12);
}
.includes li::after { content: ''; position: absolute; left: 5px; top: 8px; width: 5px; height: 2.5px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg); }

/* ADDONS */
.addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.addon-card { border: 1px solid var(--border); border-radius: var(--r); padding: 44px; background: var(--cream); transition: border-color .25s, transform .25s, box-shadow .25s; }
.addon-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.addon-card .includes { grid-template-columns: 1fr; }
.addon-badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); background: rgba(206,168,90,0.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.addon-name { font-family: var(--serif); font-size: 30px; font-weight: 400; margin-bottom: 12px; color: var(--ink); letter-spacing: -0.4px; }
.addon-desc { font-size: 15.5px; color: var(--text); line-height: 1.7; margin-bottom: 6px; }
.addon-note { font-size: 14px; color: var(--gold); margin-top: 18px; line-height: 1.6; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pricing-card { border: 1px solid var(--border); border-radius: var(--r); padding: 48px; position: relative; background: var(--cream); transition: transform .25s, box-shadow .25s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border: 1.5px solid var(--gold); background: linear-gradient(168deg, #173558, var(--cream)); }
.pricing-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.pricing-card.featured .pricing-tag { color: var(--gold2); }
.pricing-name { font-family: var(--serif); font-size: 34px; font-weight: 400; margin-bottom: 14px; color: var(--ink); letter-spacing: -0.5px; }
.pricing-desc { font-size: 15.5px; color: var(--text); line-height: 1.7; }
.pricing-note { font-size: 14px; color: var(--muted); margin-top: 40px; line-height: 1.7; padding-top: 28px; border-top: 1px solid var(--border); }

/* ============ CITIES ============ */
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.city-card { background: transparent; border: none; overflow: visible; transition: transform .3s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.city-img {
  width: 100%; aspect-ratio: 4 / 5; position: relative; overflow: hidden;
  border-radius: var(--r); background: var(--paper2); box-shadow: var(--shadow);
}
.city-img.has-img { background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.city-card:hover .city-img.has-img { transform: scale(1.05); }
.city-body { padding: 18px 4px 0; }
.city-name { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 7px; color: var(--ink); letter-spacing: -0.3px; display: inline-block; position: relative; }
.city-name::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; border-radius: 2px; background: var(--gold); transition: width .3s ease; }
.city-card:hover .city-name::after { width: 100%; }
.city-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* FIELDS */
.fields-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.field-tag { font-size: 14.5px; color: var(--ink); border: 1px solid var(--border2); border-radius: 999px; padding: 11px 22px; background: var(--cream); font-family: var(--sans); font-weight: 500; letter-spacing: 0.1px; transition: border-color .2s, color .2s, background .2s; cursor: default; }
.field-tag:hover { border-color: var(--gold); color: var(--gold); background: rgba(206,168,90,0.05); }

/* ============ PULL QUOTE ============ */
.quote-sec { text-align: center; }
.pull-quote { max-width: 940px; margin: 0 auto; }
.pull-quote .mark { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 0; color: var(--gold); display: block; margin-bottom: 30px; }
.pull-quote p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.34; color: var(--ink); letter-spacing: -0.4px; text-wrap: balance; }
.pull-quote cite { display: block; margin-top: 32px; font-family: var(--sans); font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: 0.4px; color: var(--muted); }

/* ============ TIMELINE ============ */
.timeline { display: flex; flex-direction: column; }
.timeline-step { display: grid; grid-template-columns: 72px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--border); align-items: start; position: relative; }
.timeline-step:last-child { border-bottom: none; }
.step-num { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--gold); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--border2); }
.step-title { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 10px; color: var(--ink); letter-spacing: -0.4px; }
.step-desc { font-size: 15.5px; color: var(--text); line-height: 1.75; max-width: 70ch; }
.step-note { display: inline-block; font-size: 13.5px; color: var(--gold); margin-top: 14px; background: rgba(206,168,90,0.08); border-radius: 999px; padding: 5px 14px; }

/* ============ DOCS ============ */
.docs-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.docs-panel { padding: 38px 32px; border: 1px solid var(--border); border-radius: var(--r); background: var(--cream); }
.docs-phase { font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.docs-title { font-family: var(--serif); font-size: 25px; font-weight: 400; margin-bottom: 22px; color: var(--ink); letter-spacing: -0.3px; }
.docs-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.docs-list li { font-size: 14.5px; color: var(--text); padding-left: 24px; position: relative; line-height: 1.5; }
.docs-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: rgba(206,168,90,0.12); }
.docs-list li::after { content: ''; position: absolute; left: 5px; top: 7px; width: 5px; height: 2.5px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg); }
.docs-note { font-size: 13.5px; color: var(--muted); margin-top: 18px; line-height: 1.6; padding-top: 16px; border-top: 1px solid var(--border); }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
.blog-card { display: flex; flex-direction: column; transition: transform .25s; }
.blog-img { width: 100%; aspect-ratio: 3 / 2; margin-bottom: 20px; border-radius: var(--r); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.blog-img.has-img { background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.blog-card:hover .blog-img.has-img { transform: scale(1.05); }
.blog-cat { font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.blog-title { font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.22; margin-bottom: 12px; color: var(--ink); text-decoration: none; display: block; letter-spacing: -0.3px; transition: color .2s; }
.blog-title:hover { color: var(--gold); }
.blog-excerpt { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.blog-cat-filter { font-size: 13.5px; font-weight: 500; letter-spacing: 0.1px; color: var(--muted); cursor: pointer; padding: 9px 18px; border: 1px solid var(--border2); border-radius: 999px; transition: all .2s; }
.blog-cat-filter:hover { color: var(--ink); border-color: var(--ink); }
.blog-cat-filter.active { color: #fff; background: var(--forest); border-color: var(--forest); }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.form-field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.form-label { font-size: 13px; font-weight: 600; letter-spacing: 0.2px; color: var(--muted); }
.form-input, .form-select, .form-textarea { font-family: var(--sans); font-size: 15.5px; font-weight: 400; color: var(--ink); background: var(--cream); border: 1px solid var(--border2); border-radius: var(--r-sm); padding: 14px 16px; outline: none; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--faint); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(206,168,90,0.12); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4 L6 8 L10 4' fill='none' stroke='%238A93A6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }

/* CONSULT BOX */
.consult-box { border: 1px solid var(--border); border-radius: var(--r); padding: 48px; height: fit-content; background: linear-gradient(168deg, #173558, var(--cream)); }
.consult-box .sec-label { margin-bottom: 18px; }
.consult-box .sec-title { font-size: 34px; margin-bottom: 14px; }
.consult-note { font-size: 15.5px; color: var(--text); line-height: 1.75; margin-bottom: 30px; }

/* ============ DARK CTA ============ */
.cta-dark { background: var(--forest2); padding: 124px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(214,182,106,0.20), transparent 64%); }
.cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-dark .sec-label { color: var(--gold2); justify-content: center; margin-bottom: 18px; }
.cta-dark .sec-label::before { background: var(--gold2); }
.cta-dark .sec-title { color: #FBFAF6; font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 20px; }
.cta-dark .sec-title em { color: var(--gold2); }
.cta-dark .sec-sub { color: #AEB8CB; margin: 0 auto 40px; max-width: 480px; font-size: 17px; }
.cta-note { font-size: 13.5px; color: #75819A; margin-top: 22px; letter-spacing: 0.2px; }

/* ============ FOOTER ============ */
footer { background: var(--forest2); border-top: 1px solid var(--border-dk); padding: 76px 48px 48px; color: #AEB8CB; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 44px; border-bottom: 1px solid var(--border-dk); margin-bottom: 36px; gap: 48px; }
.footer-logo { display: inline-flex; align-items: center; gap: 0; font-family: var(--serif); font-size: 27px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.3px; line-height: 1; }
.footer-logo .logo-mark { width: 30px; height: 30px; margin-right: 13px; flex-shrink: 0; display: block; }
.footer-logo span { color: var(--gold2); font-style: normal; }
.footer-tagline { font-size: 15px; color: #7E899F; margin-top: 10px; }
.footer-links { display: flex; gap: 36px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 14px; font-weight: 500; color: #A1ADC2; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--gold2); }
.footer-bottom { font-size: 13px; color: #71807660; color: #6D7991; letter-spacing: 0.2px; line-height: 1.7; }

/* LEGAL PROSE */
.legal { max-width: 760px; }
.legal .legal-meta { font-size: 13px; letter-spacing: 0.3px; text-transform: uppercase; color: var(--muted); margin-bottom: 48px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.legal h2 { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--ink); margin: 48px 0 16px; letter-spacing: -0.3px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.1px; color: var(--ink); margin: 26px 0 10px; }
.legal p { font-size: 15.5px; font-weight: 400; line-height: 1.85; color: var(--text); margin-bottom: 16px; }
.legal ul { list-style: none; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.legal li { font-size: 15.5px; font-weight: 400; line-height: 1.7; color: var(--text); padding-left: 22px; position: relative; }
.legal li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.legal a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--border2); transition: border-color .2s; }
.legal a:hover { border-color: var(--gold); }
.legal strong { font-weight: 600; color: var(--ink); }
.legal .placeholder { background: rgba(206,168,90,0.12); color: var(--gold); padding: 1px 7px; font-family: var(--sans); font-size: 13px; letter-spacing: 0.2px; border-radius: 4px; white-space: nowrap; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 48px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.legal-toc a { font-size: 13px; letter-spacing: 0.2px; color: var(--muted); text-decoration: none; transition: color .2s; }
.legal-toc a:hover { color: var(--gold); }

/* FOOTER LEGAL ROW */
.footer-legal { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 20px; }
.footer-legal a { font-size: 13px; letter-spacing: 0.2px; color: #A1ADC2; text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--gold2); }
.footer-company { font-size: 13px; color: #7E899F; line-height: 1.7; margin-bottom: 16px; max-width: 600px; }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 200; max-width: 1180px; margin: 0 auto; background: var(--forest2); border: 1px solid var(--border-dk); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 28px; transform: translateY(140%); transition: transform .4s ease; }
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 13.5px; font-weight: 400; line-height: 1.65; color: #AEB8CB; max-width: 720px; }
.cookie-text a { color: var(--gold2); text-decoration: none; border-bottom: 1px solid var(--border-dk); }
.cookie-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cookie-decline { font-size: 13.5px; font-weight: 600; letter-spacing: 0.1px; color: #94A0B5; background: none; border: none; cursor: pointer; transition: color .2s; }
.cookie-decline:hover { color: #D1D8E5; }
.cookie-accept { font-size: 13.5px; font-weight: 600; letter-spacing: 0.1px; color: #fff; background: var(--gold); border: none; border-radius: 7px; padding: 12px 26px; cursor: pointer; transition: background .2s; }
.cookie-accept:hover { background: #7F6222; }

/* CHECKBOX FIELD */
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.form-consent input { margin-top: 3px; accent-color: var(--gold); width: 17px; height: 17px; flex-shrink: 0; }
.form-consent label { font-size: 13.5px; font-weight: 400; line-height: 1.6; color: var(--muted); }
.form-consent a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--border2); }

/* ENTRANCE — content is visible by default (robust: no JS/transition dependency).
   A gentle transform-only rise plays in the foreground; if animations are
   paused or disabled, content still shows fully. */
.fade-up { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .fade-up { animation: spRise .7s cubic-bezier(.2,.7,.2,1) both; }
  .fade-up.d1 { animation-delay: .08s; }
  .fade-up.d2 { animation-delay: .16s; }
  .fade-up.d3 { animation-delay: .24s; }
}
@keyframes spRise { from { transform: translateY(20px); } to { transform: none; } }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-panels { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border-dk); }
  .stat { padding: 44px 36px; }
}
@media (max-width: 960px) {
  nav { padding: 0 22px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 76px 22px; }
  .page-hero { padding: 68px 22px 56px; }
  .mh-grid { grid-template-columns: 1fr; gap: 48px; padding: 56px 22px 64px; }
  .mh-figure { order: -1; }
  .mh-frame { aspect-ratio: 3 / 2; }
  .section-head.split { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .addons-grid, .pricing-grid { grid-template-columns: 1fr; }
  .includes { grid-template-columns: 1fr; }
  .cta-dark { padding: 88px 22px; }
  footer { padding: 56px 22px 36px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 22px; left: 10px; right: 10px; bottom: 10px; }
  .cookie-actions { width: 100%; }
  .cookie-accept { flex: 1; text-align: center; }
}
@media (max-width: 560px) {
  .cities-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .blog-grid { grid-template-columns: 1fr; }
  .index-row, .service-row { grid-template-columns: 1fr; gap: 6px; padding-left: 4px; }
  .index-row:hover, .service-row:hover { padding-left: 14px; }
  .ix-price, .service-price { text-align: left; padding-top: 4px; }
  .ix-num, .service-num { padding-top: 0; }
  .stat-band { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border-dk); }
  .stat:last-child { border-bottom: none; }
  .display { font-size: clamp(38px, 12vw, 52px); }
}
