:root {
  --cobalt: #3a5199;
  --cobalt-dark: #293c79;
  --cobalt-soft: #e8edfb;
  --white: #ffffff;
  --cool-grey: #d5d6d2;
  --ink: #2f2e33;
  --text: #242832;
  --muted: #68707d;
  --surface: #f5f6f8;
  --line: rgba(47, 46, 51, 0.14);
  --success: #276749;
  --error: #b42318;
  --shadow-sm: 0 10px 30px rgba(36, 40, 50, 0.08);
  --shadow-lg: 0 24px 64px rgba(28, 34, 51, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --max-width: 1180px;
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
  --font-display: "Space Grotesk", "Avenir Next", "Century Gothic", sans-serif;
  --font-body: "IBM Plex Sans", "Avenir", "Trebuchet MS", sans-serif;
}

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

html {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open { overflow: hidden; }

img {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cobalt-soft), var(--cool-grey));
}

a { color: inherit; }
button,
input,
textarea { font: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: 3px solid #718ce1;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.section { padding-block: var(--section-space); }
.section--soft { background: var(--surface); }
.section--dark { color: var(--white); background: var(--ink); }
.section--compact { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--cobalt);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section--dark .eyebrow { color: #9aafea; }

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }

h1 { font-size: clamp(2.8rem, 6.4vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.55rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); letter-spacing: -0.02em; }

p { margin: 0 0 1.1rem; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.65; }
.section--dark .lead,
.section--dark p { color: #cfd2da; }

.section-heading {
  width: min(100%, 710px);
  margin-bottom: clamp(2.3rem, 5vw, 4rem);
}

.section-heading h2 { margin-bottom: 1rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.76rem 1.2rem;
  color: var(--white);
  background: var(--cobalt);
  border: 1px solid var(--cobalt);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  background: var(--cobalt-dark);
  border-color: var(--cobalt-dark);
  box-shadow: 0 10px 24px rgba(58, 81, 153, 0.25);
  transform: translateY(-2px);
}

.btn--ghost {color: var(--ink); background: transparent; border-color: var(--cool-grey); }
.btn--ghost:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.section--dark .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.section--dark .btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn svg,
.text-link svg { width: 18px; height: 18px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cobalt);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover { color: var(--cobalt-dark); text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(47, 46, 51, 0.09);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark { width: clamp(220px, 25vw, 290px); height: auto; background: transparent; }

.header-actions,
.nav-list {
  display: flex;
  align-items: center;
}

.header-actions { gap: clamp(1rem, 3vw, 2.8rem); }
.nav-list { gap: clamp(1rem, 2.5vw, 2rem); margin: 0; padding: 0; list-style: none; }
.nav-link {
  position: relative;
  color: #4b515d;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cobalt);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--cobalt); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero and image compositions */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background:
    linear-gradient(90deg, rgba(58,81,153,.06) 1px, transparent 1px),
    linear-gradient(rgba(58,81,153,.06) 1px, transparent 1px),
    var(--surface);
  background-size: 46px 46px;
}

.hero::after {
  position: absolute;
  top: -160px;
  right: -170px;
  width: 520px;
  height: 520px;
  content: "";
  background: rgba(58, 81, 153, 0.1);
  border-radius: 50%;
}

.hero-grid,
.split,
.form-layout,
.map-layout {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hero-grid { position: relative; z-index: 1; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); }
.hero-copy h1 { max-width: 740px; }
.hero-copy .lead { max-width: 620px; margin-top: 1.4rem; }
.hero-media,
.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--cool-grey);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-media { min-height: 560px; }
.hero-media img { height: 100%; min-height: 560px; }
.hero-media::before,
.image-frame::before {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: calc(var(--radius-lg) - 8px);
  inset: 12px;
}

.scan-tag {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 245px;
  padding: 0.9rem 1rem;
  color: var(--white);
  background: rgba(47, 46, 51, 0.9);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}
.scan-tag::before { width: 9px; height: 9px; flex: 0 0 auto; content: ""; background: #8eabff; border-radius: 50%; box-shadow: 0 0 0 6px rgba(142,171,255,.16); }

.image-frame { aspect-ratio: 4 / 4.5; }
.image-frame img { height: 100%; transition: transform 500ms ease; }
.image-frame:hover img,
.media-card:hover img { transform: scale(1.035); }

.page-hero {
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background: var(--surface);
}
.page-hero .hero-grid { grid-template-columns: 1.05fr .95fr; }
.page-hero h1 { font-size: clamp(2.8rem, 5.8vw, 5rem); }
.page-hero .hero-media,
.page-hero .hero-media img { min-height: 410px; }
.page-hero .hero-media { max-height: 510px; }

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-card,
.value-card,
.contact-card,
.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.media-card {
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.media-card:hover { border-color: rgba(58,81,153,.38); box-shadow: var(--shadow-lg); transform: translateY(-7px); }
.media-card__image { overflow: hidden; aspect-ratio: 16 / 10; background: var(--cobalt-soft); }
.media-card__image img { height: 100%; transition: transform 500ms ease; }
.media-card__body { padding: 1.5rem; }

.icon-box {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  color: var(--cobalt);
  background: var(--cobalt-soft);
  border-radius: 10px;
  place-items: center;
}
.icon-box svg { width: 24px; height: 24px; }
.media-card h3,
.value-card h3 { margin-bottom: 0.75rem; }
.media-card p,
.value-card p { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.media-card .text-link { margin-top: 0.6rem; font-size: .88rem; }

.value-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card { position: relative; padding: clamp(1.5rem, 3vw, 2.2rem); overflow: hidden; }
.value-card::after {
  position: absolute;
  right: -28px;
  bottom: -35px;
  width: 95px;
  height: 95px;
  content: "";
  border: 1px solid rgba(58,81,153,.19);
  border-radius: 50%;
}
.section--dark .value-card { background: #38373d; border-color: rgba(255,255,255,.1); box-shadow: none; }
.section--dark .value-card p { color: #cfd2da; }
.section--dark .icon-box { color: #b8c6ee; background: rgba(58,81,153,.32); }

.service-detail-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-detail .media-card__body { padding: clamp(1.5rem, 3vw, 2.2rem); }
.service-detail ul { margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-detail li { position: relative; margin: .4rem 0; padding-left: 1.3rem; color: #505763; font-size: .92rem; }
.service-detail li::before { position: absolute; top: .68rem; left: 0; width: 6px; height: 6px; content: ""; background: var(--cobalt); border-radius: 50%; }

/* Process and CTA */
.process-grid { display: grid; counter-reset: steps; grid-template-columns: repeat(4, 1fr); }
.process-step { position: relative; padding: 0 1.5rem 0 0; counter-increment: steps; }
.process-step:not(:last-child)::after { position: absolute; top: 24px; right: 0; left: 58px; height: 1px; content: ""; background: var(--cool-grey); }
.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 49px;
  height: 49px;
  margin-bottom: 1.4rem;
  color: var(--white);
  background: var(--cobalt);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  place-items: center;
}
.step-number::before { content: counter(steps, decimal-leading-zero); }
.process-step h3 { margin-bottom: .7rem; }
.process-step p { color: var(--muted); font-size: .92rem; }
.process-note { margin-top: 2rem; padding: 1rem 1.2rem; color: var(--muted); background: var(--surface); border-left: 3px solid var(--cobalt); }

.cta-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
}
.cta-panel::after {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  content: "";
  border: 54px solid rgba(58,81,153,.46);
  border-radius: 50%;
}
.cta-panel__copy { position: relative; z-index: 1; max-width: 720px; }
.cta-panel h2 { margin-bottom: 1rem; color: var(--white); }
.cta-panel p { margin: 0; color: #cfd2da; }
.cta-panel .btn { position: relative; z-index: 1; flex: 0 0 auto; }

.quote-panel {
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: var(--cobalt);
  border-radius: var(--radius-lg);
}
.quote-panel p { max-width: 900px; margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }

/* Forms */
.form-section { background: linear-gradient(135deg, var(--cobalt-soft), var(--surface) 58%); }
.form-layout { align-items: start; }
.form-copy { position: sticky; top: 120px; }
.form-copy h2 { margin-bottom: 1.2rem; }
.form-copy .info-list { margin-top: 2rem; }
.form-card { padding: clamp(1.4rem, 4vw, 2.6rem); background: var(--white); border: 1px solid rgba(58,81,153,.15); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .4rem; color: var(--ink); font-size: .86rem; font-weight: 800; }
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: .78rem .9rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid #bfc2c8;
  border-radius: 7px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(58,81,153,.12); outline: 0; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180,35,24,.1); }
.field-error { min-height: 1.25em; margin: .3rem 0 0; color: var(--error); font-size: .78rem; font-weight: 700; line-height: 1.4; }
.form-status { margin: 1rem 0 0; padding: .8rem 1rem; color: var(--error); background: #fff0ee; border-radius: 7px; font-size: .88rem; }
.form-status:empty { display: none; }
.form-help { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.form-card .btn { width: 100%; border: 0; }
.form-card .btn[disabled] { cursor: wait; opacity: .7; transform: none; }

/* Contact, map, info */
.contact-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-card { padding: 1.45rem; box-shadow: none; }
.contact-card .icon-box { margin-bottom: .8rem; }
.contact-card span { display: block; margin-bottom: .25rem; color: var(--cobalt); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong { display: block; color: var(--ink); font-size: .95rem; overflow-wrap: anywhere; }

.map-layout { align-items: stretch; }
.map-placeholder {
  position: relative;
  display: grid;
  min-height: 410px;
  overflow: hidden;
  padding: 2rem;
  background:
    linear-gradient(31deg, transparent 46%, rgba(255,255,255,.55) 47% 50%, transparent 51%),
    linear-gradient(-24deg, transparent 45%, rgba(58,81,153,.13) 46% 49%, transparent 50%),
    var(--cobalt-soft);
  background-size: 140px 110px, 190px 150px, auto;
  border: 1px solid rgba(58,81,153,.16);
  border-radius: var(--radius);
  place-items: center;
}
.map-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-pin { display: grid; width: 74px; height: 74px; color: var(--white); background: var(--cobalt); border: 8px solid rgba(255,255,255,.75); border-radius: 50% 50% 50% 10%; box-shadow: var(--shadow-lg); place-items: center; transform: rotate(-45deg); }
.map-pin svg { width: 28px; height: 28px; transform: rotate(45deg); }
.map-caption { max-width: 430px; }
.map-caption h2 { margin-bottom: 1rem; }
.map-caption address { margin: 1.5rem 0; padding: 1rem 0 1rem 1.2rem; color: var(--ink); border-left: 3px solid var(--cobalt); font-style: normal; font-weight: 700; }
.map-caption small { color: var(--muted); }

.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li { display: flex; gap: .8rem; align-items: flex-start; margin: .8rem 0; }
.info-list svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: .2rem; color: var(--cobalt); }

/* Legal */
.legal-hero { padding-block: clamp(3.5rem, 7vw, 6rem); color: var(--white); background: var(--ink); }
.legal-hero h1 { margin-bottom: 1rem; color: var(--white); font-size: clamp(2.7rem, 5vw, 4.6rem); }
.legal-hero p { max-width: 720px; color: #cfd2da; }
.legal-layout { display: grid; align-items: start; gap: 3rem; grid-template-columns: 250px minmax(0, 1fr); }
.legal-nav { position: sticky; top: 110px; margin: 0; padding: 1.2rem; background: var(--surface); border-radius: var(--radius-sm); list-style: none; }
.legal-nav li + li { margin-top: .45rem; }
.legal-nav a { color: #535a66; font-size: .88rem; font-weight: 700; text-decoration: none; }
.legal-nav a:hover { color: var(--cobalt); }
.legal-content section { scroll-margin-top: 110px; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-content section + section { padding-top: 2rem; }
.legal-content h2 { margin-bottom: .9rem; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.legal-content p,
.legal-content li { color: #535a66; }
.legal-content ul { padding-left: 1.25rem; }
.legal-note { margin-top: 2rem; padding: 1.2rem; background: var(--cobalt-soft); border-radius: var(--radius-sm); }

/* Modal and cookie notice */
.modal {
  position: fixed;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(24, 25, 31, .72);
  inset: 0;
}
.modal.is-open { display: flex; }
.modal__dialog { position: relative; width: min(100%, 520px); padding: 2rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.modal__dialog h2 { margin-bottom: .8rem; font-size: 1.8rem; }
.modal__close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 42px; height: 42px; color: var(--ink); background: var(--surface); border: 0; border-radius: 50%; place-items: center; }
.modal__close svg { width: 20px; height: 20px; }

.cookie-banner {
  position: fixed;
  z-index: 300;
  right: 1rem;
  bottom: 1rem;
  display: none;
  width: min(calc(100% - 2rem), 560px);
  padding: 1.35rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner h2 { margin-bottom: .5rem; color: var(--white); font-size: 1.2rem; }
.cookie-banner p { margin-bottom: 1rem; color: #d9dce3; font-size: .84rem; line-height: 1.55; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { min-height: 42px; padding: .58rem .85rem; font-size: .8rem; }
.cookie-settings-link { color: #b8c6ee; background: transparent; border: 0; font-size: .8rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { padding: 4.5rem 0 1.5rem; color: #d6d8dd; background: var(--ink); }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1.35fr 1.15fr .75fr .95fr; }
.site-footer .brand { display: inline-flex; margin-bottom: 1rem; padding: .4rem .65rem; background: var(--white); border-radius: 8px; }
.site-footer .brand-mark { width: min(250px, 100%); }
.footer-intro { max-width: 300px; color: #aeb2bc; font-size: .9rem; }
.footer-title { margin: 0 0 1rem; color: var(--white); font-family: var(--font-display); font-size: .83rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-links,
.footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-links li + li,
.footer-contact li + li { margin-top: .55rem; }
.footer-links a { color: #c6c9d0; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact li { color: #c6c9d0; font-size: .86rem; overflow-wrap: anywhere; }
.social-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.social-links a { display: grid; width: 39px; height: 39px; color: var(--white); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: 7px; place-items: center; transition: background 180ms ease, transform 180ms ease; }
.social-links a:hover { background: var(--cobalt); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.3rem; color: #9da2ad; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.owner-note { text-align: right; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .page-hero .hero-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-media,
  .hero-media img { min-height: 470px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .header-inner { min-height: 68px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .site-nav.is-open { display: block; }
  .nav-list { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-link { display: block; padding: .9rem; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .hero-grid,
  .page-hero .hero-grid,
  .split,
  .form-layout,
  .map-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 3.2rem; }
  .hero-media { min-height: 400px; }
  .hero-media img { min-height: 400px; }
  .page-hero .hero-media { order: -1; }
  .page-hero .hero-media,
  .page-hero .hero-media img { min-height: 340px; }
  .image-frame { max-height: 520px; }
  .split .image-frame { order: -1; }
  .process-grid { gap: 1.6rem; grid-template-columns: 1fr 1fr; }
  .process-step:not(:last-child)::after { display: none; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .form-copy { position: static; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; overflow-x: auto; gap: 1rem; }
  .legal-nav li + li { margin: 0; }
  .legal-nav a { white-space: nowrap; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 1.25rem), var(--max-width)); }
  .brand-mark { width: 200px; }
  .section { padding-block: 4rem; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.5rem); }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero-media,
  .hero-media img { min-height: 330px; }
  .hero-media,
  .image-frame,
  .cta-panel,
  .quote-panel { border-radius: 20px; }
  .scan-tag { right: .75rem; bottom: .75rem; left: .75rem; max-width: none; }
  .card-grid,
  .value-grid,
  .contact-grid,
  .process-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .media-card__body { padding: 1.3rem; }
  .process-step { padding-left: 4.2rem; }
  .step-number { position: absolute; top: 0; left: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .owner-note { text-align: left; }
  .map-placeholder { min-height: 300px; }
  .cookie-banner {
    right: .625rem;
    bottom: max(.625rem, env(safe-area-inset-bottom));
    left: .625rem;
    width: auto;
    max-width: none;
    overflow-wrap: anywhere;
  }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-actions .btn,
  .cookie-settings-link {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
