/* ==========================================================================
   Geograph Survey Corporation Ltd. — Corporate website stylesheet
   Design language: the survey sheet. Contour lines, registration corners,
   measured grids and a restrained navy / brass palette.
   ========================================================================== */

:root {
  --navy: #0F2A44;
  --navy-900: #0A1F33;
  --navy-700: #1A3A5A;
  --blue: #1769AA;
  --blue-soft: #E8F1F8;
  --gold: #C7A45D;
  --gold-600: #A88843;
  --gold-soft: #F6EFE0;
  --paper: #F4F6F8;
  --white: #FFFFFF;
  --ink: #22303B;
  --muted: #586977;
  --line: #D8E0E7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --danger: #B3261E;
  --danger-soft: #FCEDEC;
  --success: #1E7A4C;
  --success-soft: #E7F5EE;

  --font-serif: "Spectral", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --header-h: 80px;

  --radius-sm: 4px;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 68, 0.06);
  --shadow: 0 14px 34px -14px rgba(15, 42, 68, 0.28);
  --shadow-lg: 0 30px 60px -24px rgba(10, 31, 51, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.2; color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--lg { width: 1.5rem; height: 1.5rem; }
.ico--xl { width: 2.25rem; height: 2.25rem; stroke-width: 1.3; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--navy-900); padding: .75rem 1.25rem;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font-family: var(--font-sans); font-size: .975rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius-sm);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn--lg { min-height: 54px; padding: .9rem 1.85rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: #D4B36E; color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(199, 164, 93, .9); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar__inner { display: flex; gap: 1.75rem; align-items: center; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; }
.topbar__item:hover { color: var(--gold); }
.topbar__item .ico { color: var(--gold); }
.topbar__item--addr { margin-left: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(10, 31, 51, .97); border-bottom-color: var(--line-dark); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(10, 31, 51, .9); backdrop-filter: blur(10px); }
}
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--white); flex: none; }
.brand__logo { width: 48px; height: 48px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 3px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; letter-spacing: .005em; }
.brand__sub { font-size: .78rem; color: rgba(255, 255, 255, .7); letter-spacing: .04em; margin-top: 3px; }
.brand:hover { color: var(--white); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: .25rem; }
.nav__link {
  position: relative; display: block; padding: .6rem .8rem;
  color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__cta-mobile, .nav__mobile-contact { display: none; }
.header-cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); color: var(--white);
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy);
  color: var(--white);
  min-height: min(88vh, 860px);
  display: flex; align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(7rem, 12vw, 9rem);
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(10, 31, 51, .94) 0%, rgba(15, 42, 68, .82) 45%, rgba(15, 42, 68, .55) 100%);
}
.hero__map { position: absolute; inset: 0; z-index: -1; }
.hero__map svg { width: 100%; height: 100%; }
.hero--photo .hero__map { opacity: .55; }
.grid-line { stroke: rgba(255, 255, 255, .045); stroke-width: 1; }
.contours .c { fill: none; stroke-width: 1.15; stroke-dasharray: 1; stroke-dashoffset: 0; }
.contours .c-a { stroke: rgba(118, 170, 214, .38); }
.contours .c-b { stroke: rgba(118, 170, 214, .24); }
.contours .c-a:nth-child(4n+1) { stroke: rgba(199, 164, 93, .5); stroke-width: 1.4; }
.reticle__ring { fill: none; stroke: var(--gold); stroke-width: 1.4; }
.reticle__cross { stroke: var(--gold); stroke-width: 1.4; }
.reticle__dot { fill: var(--gold); }
.ticks path { stroke: rgba(255, 255, 255, .25); stroke-width: 1; }

.hero__inner { position: relative; }
.hero__content { max-width: 680px; }
.hero__title {
  font-family: var(--font-serif); font-weight: 500; color: var(--white);
  font-size: clamp(2.35rem, 5.4vw, 4.4rem); line-height: 1.06; letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid var(--gold);
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.4rem); color: #E9DCC0;
}
.hero__text { margin-top: 1.25rem; max-width: 58ch; color: rgba(255, 255, 255, .8); font-size: 1.075rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 5.5rem; transform: translateX(-50%);
  width: 26px; height: 44px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll-line { width: 2px; height: 8px; border-radius: 2px; background: var(--gold); animation: scrollCue 2.2s var(--ease) infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* Page-load sequence: the survey is drawn, then the target is marked, then the copy appears */
.js .contours .c { stroke-dashoffset: 1; animation: draw 2.4s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }
.js .reticle { opacity: 0; animation: fadeIn .8s var(--ease) 1.2s forwards; }
.js .hero__content > * { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
.js .hero__content > :nth-child(1) { animation-delay: .15s; }
.js .hero__content > :nth-child(2) { animation-delay: .35s; }
.js .hero__content > :nth-child(3) { animation-delay: .5s; }
.js .hero__content > :nth-child(4) { animation-delay: .65s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Value strip ---------- */
.values { position: relative; z-index: 2; margin-top: -4.5rem; }
.values__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.value { padding: 2rem 1.75rem; border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; }
.value__icon { color: var(--blue); margin-bottom: 1rem; }
.value__title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; }
.value__text { margin-top: .4rem; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.95rem, 3.4vw, 2.85rem); line-height: 1.15; letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 1.1rem;
}
.section-title--light { color: var(--white); }
.section-sub { margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

/* Survey-sheet frame used for the about visual and the chairman portrait */
.sheet { position: relative; margin: 0; padding: 14px; }
.sheet__corner { position: absolute; width: 26px; height: 26px; border-color: var(--gold); border-style: solid; border-width: 0; }
.sheet__corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.sheet__corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.sheet__corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.sheet__corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- About ---------- */
.about { padding-top: calc(var(--section-y) + 1rem); }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about__visual img, .about__visual .plan { width: 100%; border-radius: var(--radius-sm); aspect-ratio: 8 / 9; object-fit: cover; }
.plan__bg { fill: var(--paper); }
.plan__grid path { stroke: #E2E8EE; stroke-width: 1; }
.plan__road { fill: #E6EBF0; }
.plan__parcel { fill: rgba(23, 105, 170, .07); stroke: var(--navy); stroke-width: 2; }
.plan__parcel-neighbour { fill: none; stroke: #B9C5D0; stroke-width: 1.2; stroke-dasharray: 6 5; }
.plan__footprint { fill: var(--navy); fill-opacity: .9; }
.plan__footprint-detail { stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.plan__dim path { stroke: var(--gold-600); stroke-width: 1.3; fill: none; }
.plan__label { font-family: var(--font-sans); font-size: 13px; fill: var(--muted); letter-spacing: .02em; }
.plan__label--dark { fill: var(--white); }
.plan__marker circle { fill: var(--white); stroke: var(--gold-600); stroke-width: 2; }
.plan__north circle { fill: var(--white); stroke: var(--line); }
.plan__north path { fill: var(--navy); }
.plan__north text { text-anchor: middle; font-weight: 600; fill: var(--navy); }

.prose { margin-top: 1.75rem; display: grid; gap: 1rem; color: var(--muted); max-width: 62ch; }
.prose p:first-child { color: var(--ink); font-size: 1.125rem; }
.checklist { display: grid; gap: .7rem; margin: 1.75rem 0 2.25rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .ico { color: var(--gold-600); margin-top: .3em; stroke-width: 2.2; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.25rem 2rem 2rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
  background: var(--gold); border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service:hover, .service:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before, .service:focus-within::before { transform: scaleX(1); }
.service__icon { color: var(--blue); margin-bottom: 1.5rem; }
.service__title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; }
.service__text { margin-top: .75rem; color: var(--muted); font-size: .98rem; flex: 1; }
.service__link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.5rem;
  font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; align-self: flex-start;
}
.service__link .ico { transition: transform .25s var(--ease); color: var(--gold-600); }
.service__link:hover { color: var(--blue); }
.service__link:hover .ico { transform: translateX(4px); }

/* ---------- Modal ---------- */
.modal {
  width: min(640px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--ink);
}
.modal::backdrop { background: rgba(10, 31, 51, .65); backdrop-filter: blur(3px); }
.modal[open] { animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } }
.modal__inner { position: relative; padding: clamp(1.75rem, 5vw, 2.75rem); border-top: 3px solid var(--gold); }
.modal__close {
  position: absolute; top: .9rem; right: .9rem; width: 44px; height: 44px;
  display: grid; place-items: center; background: transparent; border: 0; border-radius: 50%; color: var(--muted);
}
.modal__close:hover { background: var(--paper); color: var(--navy); }
.modal__icon { color: var(--blue); margin-bottom: 1.25rem; }
.modal__title { font-family: var(--font-serif); font-size: clamp(1.6rem, 4vw, 2rem); padding-right: 2.5rem; }
.modal__body { margin-top: 1rem; color: var(--muted); }
.modal__points { margin: 1.5rem 0 2rem; }
.modal__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
body.modal-open { overflow: hidden; }

/* ---------- Why choose ---------- */
.why {
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--navy);
  color: rgba(255, 255, 255, .82);
}
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.why__text { margin-top: 1.5rem; max-width: 52ch; font-size: 1.075rem; }
.principles { display: grid; grid-template-columns: 1fr 1fr; margin: 2.5rem 0 0; border-top: 1px solid var(--line-dark); }
.principles > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.principles > div:nth-child(odd) { padding-right: 1rem; }
.principles dt { font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold); }
.principles dd { margin: .2rem 0 0; font-size: .92rem; color: rgba(255, 255, 255, .65); }

.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.why__item { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.75rem; background: var(--navy); transition: background-color .3s var(--ease); }
.why__item:hover { background: var(--navy-700); }
.why__icon { color: var(--gold); }
.why__item h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--white); }
.why__item p { margin-top: .4rem; font-size: .96rem; color: rgba(255, 255, 255, .72); }

/* ---------- Leadership ---------- */
.leadership { background: var(--paper); }
.leader { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.leader__frame {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 80% at 50% 0%, #26507A 0%, var(--navy) 60%, var(--navy-900) 100%);
}
.leader__frame::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--gold);
}
.leader__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.leader__caption { display: flex; flex-direction: column; padding-top: 1.1rem; }
.leader__name { font-family: var(--font-serif); font-size: 1.35rem; color: var(--navy); font-weight: 600; }
.leader__role { color: var(--muted); font-size: .95rem; }

.draft-note {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem;
  padding: .45rem .85rem; border: 1px dashed var(--gold-600); border-radius: 6px;
  background: var(--gold-soft); color: #6E5521; font-size: .85rem; font-weight: 500;
}
.quote { position: relative; margin: 0; }
.quote__mark { width: 52px; height: 40px; fill: var(--gold); margin-bottom: 1.5rem; }
.quote p {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.5; color: var(--navy); max-width: 34em;
}
.quote__by { display: flex; flex-direction: column; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 420px; }
.quote__name { font-weight: 600; color: var(--navy); }
.quote__role { color: var(--muted); font-size: .95rem; }

/* ---------- Process ---------- */
.process { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: calc((100% - 6rem) / 4 - 28px); height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px);
}
.step { position: relative; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--navy); color: var(--white);
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500;
  box-shadow: 0 0 0 6px var(--white);
}
.step__icon { color: var(--blue); margin: 1.75rem 0 .9rem; }
.step__title { font-family: var(--font-serif); font-size: 1.3rem; }
.step__text { margin-top: .5rem; color: var(--muted); font-size: .97rem; }

/* ---------- Request form ---------- */
.request {
  background:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--navy-900);
  color: rgba(255, 255, 255, .82);
}
.request__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.request__text { margin-top: 1.5rem; font-size: 1.1rem; max-width: 44ch; }
.request__facts { display: grid; gap: .85rem; margin-top: 2rem; font-size: .96rem; }
.request__facts li { display: flex; gap: .7rem; align-items: flex-start; }
.request__facts .ico { color: var(--gold); margin-top: .3em; stroke-width: 2.2; }
.request__facts a { color: var(--white); }
.request__facts a:hover { color: var(--gold); }

.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-lg); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .93rem; color: var(--navy); margin-bottom: .45rem; }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  background: var(--white); border: 1px solid #C5D0DA; border-radius: var(--radius-sm);
  font-size: 1rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field ::placeholder { color: #8796A3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9FB0BF; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 105, 170, .2);
}
.field [aria-invalid="true"] { border-color: var(--danger); background: #FFFBFB; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .18); }
.select { position: relative; }
.select select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px;
  border-right: 1.6px solid var(--navy); border-bottom: 1.6px solid var(--navy);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field__hint { margin-top: .35rem; font-size: .83rem; color: var(--muted); }
.field__error { margin-top: .35rem; font-size: .85rem; color: var(--danger); font-weight: 500; }
.field__error:empty { display: none; }

.check { display: flex; gap: .85rem; align-items: flex-start; cursor: pointer; font-size: .94rem; color: var(--muted); font-weight: 400 !important; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check__box {
  flex: none; width: 22px; height: 22px; margin-top: 2px; display: grid; place-items: center;
  border: 1.5px solid #9FB0BF; border-radius: 3px; background: var(--white); color: var(--white);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.check__box .ico { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.check input:checked + .check__box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .check__box .ico { opacity: 1; }
.check input:focus-visible + .check__box { outline: 3px solid var(--gold); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--danger); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-bottom: 1.5rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  font-size: .97rem; line-height: 1.5; border: 1px solid;
}
.form__status[hidden] { display: none; }
.form__status .ico { margin-top: .2em; width: 1.25rem; height: 1.25rem; stroke-width: 2; }
.form__status.is-success { background: var(--success-soft); border-color: #A9D8BF; color: #145536; }
.form__status.is-error { background: var(--danger-soft); border-color: #F0B8B4; color: #7F1B15; }
.form__status:focus { outline: none; }

.form__submit { margin-top: 1.75rem; position: relative; }
.btn__spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(10, 31, 51, .25); border-top-color: var(--navy-900);
  animation: spin .7s linear infinite;
}
.form__submit.is-loading { pointer-events: none; opacity: .85; }
.form__submit.is-loading .btn__spinner { display: inline-block; }
.form__submit:disabled { cursor: not-allowed; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 3rem); align-items: stretch; }
.contact__cards { display: grid; grid-template-columns: 1fr; gap: 1rem; align-content: start; }
.contact-card {
  display: flex; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover { border-color: #BFCCD8; box-shadow: var(--shadow-sm); }
.contact-card__icon { color: var(--gold-600); flex: none; }
.contact-card__label { font-family: var(--font-sans); font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.contact-card__value { margin-top: .3rem; color: var(--navy); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.contact-card__value--link { display: inline-block; text-decoration: none; }
.contact-card__value--link:hover { color: var(--blue); text-decoration: underline; }
.contact-card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-size: .9rem; font-weight: 500; }
.contact__cta { grid-column: 1 / -1; justify-self: start; margin-top: .5rem; }

.map { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.map__frame { position: relative; flex: 1; min-height: 380px; background: var(--paper); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__bar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; padding: .9rem 1.25rem; background: var(--white); border-top: 1px solid var(--line); }
.map__note { font-size: .85rem; color: var(--muted); }
.map__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .93rem; color: var(--navy); text-decoration: none; }
.map__link:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr; gap: 2.5rem; padding-block: clamp(3.5rem, 7vw, 5rem); }
.brand--footer .brand__logo { width: 52px; height: 52px; }
.footer__about { margin-top: 1.25rem; max-width: 36ch; line-height: 1.7; }
.footer__heading { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; color: var(--white); margin-bottom: 1.25rem; }
.footer__list { display: grid; gap: .65rem; }
.footer__list a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s var(--ease); }
.footer__list a:hover { color: var(--gold); }
.footer__list--contact li { display: flex; gap: .7rem; align-items: flex-start; overflow-wrap: anywhere; }
.footer__list--contact .ico { color: var(--gold); margin-top: .3em; }
.footer__bottom { border-top: 1px solid var(--line-dark); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-block: 1.4rem; font-size: .88rem; }
.footer__top { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer__top:hover { color: var(--gold); }

/* ---------- Floating controls ---------- */
.to-top, .fab__btn {
  position: fixed; bottom: 1.25rem; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; border: 0; box-shadow: var(--shadow);
}
.to-top {
  right: 1.25rem; background: var(--white); color: var(--navy); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); color: var(--white); }
.fab__btn { left: 1.25rem; background: var(--gold); color: var(--navy-900); }
.fab__btn:hover { background: #D4B36E; }
.fab__close { display: none; }
.fab__btn[aria-expanded="true"] .fab__open { display: none; }
.fab__btn[aria-expanded="true"] .fab__close { display: block; }
.fab__menu {
  position: fixed; left: 1.25rem; bottom: 5rem; z-index: 90; display: grid; gap: .25rem;
  min-width: 220px; padding: .5rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  animation: rise .25s var(--ease);
}
.fab__menu[hidden] { display: none; }
.fab__item {
  display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: var(--radius-sm);
  color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.fab__item .ico { color: var(--gold-600); }
.fab__item:hover { background: var(--paper); color: var(--navy); }

/* ---------- Reveal on scroll (applied sparingly) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .steps .step { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .steps.is-visible .step { opacity: 1; transform: none; }
.js .steps.is-visible .step:nth-child(2) { transition-delay: .12s; }
.js .steps.is-visible .step:nth-child(3) { transition-delay: .24s; }
.js .steps.is-visible .step:nth-child(4) { transition-delay: .36s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 120px); bottom: 0; z-index: 99;
    margin: 0; padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto;
    background: var(--navy-900); border-top: 1px solid var(--line-dark);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 1rem .25rem; font-size: 1.15rem; border-bottom: 1px solid var(--line-dark); }
  .nav__link::after { left: .25rem; right: auto; width: 32px; bottom: -1px; }
  .nav__cta-mobile { display: flex; width: 100%; margin-top: 1.75rem; }
  .nav__mobile-contact { display: grid; gap: .9rem; margin-top: 1.75rem; }
  .nav__mobile-contact a { display: inline-flex; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .8); text-decoration: none; overflow-wrap: anywhere; }
  .nav__mobile-contact .ico { color: var(--gold); }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 1024px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .why__intro { position: static; }
  .principles { grid-template-columns: repeat(4, 1fr); }
  .principles > div { padding-right: 1rem; }
  .request__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps::before { display: none; }
}

@media (max-width: 860px) {
  .topbar__item--addr { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 520px; }
  .leader { grid-template-columns: 1fr; }
  .leader__portrait { max-width: 400px; }
  .principles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .site-header.is-scrolled .site-header__inner { height: 64px; }
  .brand__logo { width: 42px; height: 42px; }
  .brand__name { font-size: 1.1rem; }
  .hero { min-height: auto; }
  .hero__map { opacity: .6; }
  .hero__scroll { display: none; }
  .values { margin-top: -3.5rem; }
  .services__grid { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }

  /* Vertical timeline */
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; padding-bottom: 2.25rem; }
  .step::before {
    content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px;
    background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 14px);
  }
  .step:last-child::before { display: none; }
  .step:last-child { padding-bottom: 0; }
  .step__num { grid-row: 1 / span 3; }
  .step__icon { display: none; }
  .step__title { padding-top: .8rem; }
}

@media (max-width: 640px) {
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .topbar__inner { justify-content: space-between; gap: 1rem; }
  .topbar__item span { white-space: nowrap; }
  .hero__actions .btn { width: 100%; }
  .values__grid { grid-template-columns: 1fr; }
  .value { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 1.5rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
  .value:first-child { border-top: 0; }
  .value__icon { grid-row: span 2; margin: 0; width: 2rem; height: 2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .modal__actions .btn { flex: 1 1 100%; }
  .principles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 430px) {
  .topbar { font-size: .78rem; }
  .topbar__item:nth-child(2) span { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
  .service { padding: 1.75rem 1.5rem; }
  .why__item { padding: 1.6rem 1.4rem; }
  .contact-card { padding: 1.25rem; }
}

@media (max-width: 360px) {
  .brand__sub { display: none; }
  .topbar__item:nth-child(2) { display: none; }
  .btn--lg { padding-inline: 1.25rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .contours .c { stroke-dashoffset: 0; animation: none; }
  .js .reticle, .js .hero__content > * { opacity: 1; transform: none; animation: none; }
  .js .reveal, .js .steps .step { opacity: 1; transform: none; }
  .hero__scroll-line { animation: none; opacity: 1; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .hero__map, .fab, .fab__menu, .to-top, .map, .form, .hero__scroll { display: none !important; }
  .hero, .why, .request, .footer { background: none !important; color: #000 !important; }
  .hero__title, .section-title--light { color: #000 !important; }
}
