/* ==========================================================================
   MOHAMBRA GROUP — Stylesheet
   Connecting Morocco to the World
   --------------------------------------------------------------------------
   Colours are taken from the official logo: deep navy and brass gold.
   Headings use Montserrat (the typeface family of the wordmark);
   body text uses Source Sans 3.
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --navy: #0b1b3f;         /* logo navy — dark surfaces, headings          */
  --navy-2: #122a5c;       /* lighter navy for hover / secondary surfaces  */
  --navy-3: #1c3a73;
  --text: #182238;         /* body text                                     */
  --muted: #5d6474;        /* secondary text                                */
  --paper: #f7f6f2;        /* page background                               */
  --white: #ffffff;
  --line: #e4e1da;         /* hairlines                                     */
  --line-strong: #cdc8bd;
  --gold: #b9842a;         /* logo gold                                     */
  --gold-dark: #946a1f;
  --gold-soft: #f4ecdb;    /* tinted band background                        */
  --gold-on-dark: #d4a24c; /* gold that reads on navy                       */

  --font-head: "Montserrat", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
h4 { font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
strong { font-weight: 600; }
.wrap-no { white-space: nowrap; }

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.slogan { font-family: var(--font-head); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; color: var(--gold); }

/* 3. Layout -------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding-block: clamp(60px, 8vw, 110px); }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #e9ecf2; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .muted, .section--navy .lead { color: #b3bccd; }
.section--navy .eyebrow { color: var(--gold-on-dark); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 820px; }
.section-head .lead { margin: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sticky { position: sticky; top: 100px; }
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule--gold { width: 56px; border-top: 2px solid var(--gold); margin-bottom: 24px; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* 4. Header -------------------------------------------------------------- */
.topbar { background: var(--navy); color: #c3cadb; font-family: var(--font-head); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang { display: flex; align-items: center; gap: 2px; flex: none; }
.lang a { padding: 6px 8px; border-radius: 2px; color: #c3cadb; }
.lang a:hover { color: #fff; }
.lang a[aria-current="true"] { color: #fff; background: rgba(255,255,255,.1); }
.lang .sep { opacity: .4; }

.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 68px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.nav a { font-family: var(--font-head); font-size: .82rem; font-weight: 500; letter-spacing: .02em; padding: 8px 0; position: relative; color: var(--navy); white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.btn { padding: 11px 18px; font-size: .74rem; color: #fff; margin-left: 6px; }
.nav a.btn::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  width: 44px; height: 44px; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius);
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy); }
.section--navy .btn-outline, .hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.section--navy .btn-outline:hover, .hero .btn-outline:hover { border-color: #fff; }
.btn .arrow { width: 15px; height: 15px; flex: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 8px; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--navy .link-arrow { color: var(--gold-on-dark); }

/* 6. Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 90px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .045;
  background-image: url("../assets/pattern.svg"); background-size: 110px 110px;
}
.hero .container { position: relative; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 10fr) minmax(0, 12fr); gap: 56px; } }
.hero .eyebrow { color: var(--gold-on-dark); }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero .slogan { color: var(--gold-on-dark); display: block; margin-bottom: 26px; font-size: .86rem; }
.hero .lead { color: #c3cadb; margin-bottom: 34px; }
.hero-map { position: relative; }
.hero-caption { margin-top: 12px; font-family: var(--font-head); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #8d98ae; display: flex; justify-content: space-between; }

/* Trust strip under the hero */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip-item { padding: 22px 24px 22px 0; border-right: 1px solid var(--line); margin-right: 24px; min-width: 0; }
.strip-item:last-child { border-right: 0; margin-right: 0; }
.strip .k { font-family: var(--font-head); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
.strip .v { font-weight: 600; color: var(--navy); line-height: 1.35; }

/* Inner page header */
.page-head { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 90px) clamp(40px, 5vw, 70px); }
.page-head::before { content: ""; position: absolute; inset: 0; opacity: .045; background-image: url("../assets/pattern.svg"); background-size: 110px 110px; pointer-events: none; }
.page-head .container { position: relative; }
.page-head .eyebrow { color: var(--gold-on-dark); }
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head .lead { color: #c3cadb; margin: 0; }
.breadcrumb { font-family: var(--font-head); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8d98ae; margin-bottom: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }

/* 7. Components ---------------------------------------------------------- */
/* Service list: two columns of hairline-separated items */
.services { display: grid; gap: 0 48px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .services { grid-template-columns: 1fr 1fr; } }
.service { padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.service h3 { margin-bottom: 6px; font-size: 1.05rem; }
.service p { margin: 0; color: var(--muted); font-size: 1rem; }
.section--navy .services, .section--navy .service { border-color: rgba(255,255,255,.14); }
.section--navy .service p { color: #b3bccd; }

/* Process: a real sequence, numbered */
.steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.step { border-top: 2px solid var(--gold); padding-top: 18px; min-width: 0; }
.step .n { font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .16em; color: var(--gold-on-dark); margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: 1rem; color: #b3bccd; }
.section--white .step p, .section .step p { color: var(--muted); }
.section--navy .step .n { color: var(--gold-on-dark); }
.section--navy .step p { color: #b3bccd; }

/* Feature list: short gold rule above each item */
.features { display: grid; gap: 28px 40px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { min-width: 0; }
.feature::before { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }
.section--navy .feature p { color: #b3bccd; }

/* Panel (used sparingly) */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-width: 0; }
.panel h3 { margin-bottom: 6px; }
.panel p { margin: 0; color: var(--muted); font-size: 1rem; }
.section--navy .panel { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section--navy .panel p { color: #b3bccd; }

/* Check list */
.checks li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 1px; top: 17px; width: 12px; height: 7px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.section--navy .checks li { border-color: rgba(255,255,255,.14); }

/* Tag list */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--font-head); font-size: .74rem; font-weight: 500; letter-spacing: .04em; padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--white); color: var(--navy); }
.section--navy .tags li { background: transparent; border-color: rgba(255,255,255,.25); color: #e9ecf2; }

/* Statement */
.statement { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.35; max-width: 32ch; margin: 0; color: var(--navy); }
.section--navy .statement { color: #fff; }
.statement em { font-style: normal; color: var(--gold); }
.section--navy .statement em { color: var(--gold-on-dark); }

/* Route chain */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.chain li { display: flex; align-items: center; gap: 12px; }
.chain li + li::before { content: "→"; color: var(--gold); font-weight: 400; }

/* CTA band */
.cta-band { background: var(--gold-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .container { display: grid; gap: 24px; align-items: center; padding-block: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--muted); max-width: 58ch; }

/* Facts (definition list) */
.facts { display: grid; border-top: 1px solid var(--line); margin: 0; }
.facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.facts dt { font-family: var(--font-head); color: var(--muted); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 4px; }
.facts dd { margin: 0; min-width: 0; }

/* Product tiles */
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.product-visual { aspect-ratio: 4 / 3; max-width: 100%; background: linear-gradient(165deg, #edeae2, #dedad0); display: grid; place-items: center; }
.product-visual svg { width: 42%; stroke: var(--navy); opacity: .6; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 22px 24px 24px; }
.product-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-body p { margin: 0; color: var(--muted); font-size: 1rem; }
.product-body .tag { display: inline-block; margin-top: 14px; font-family: var(--font-head); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }

/* Notice */
.notice { border-left: 3px solid var(--gold); padding: 2px 0 2px 20px; color: var(--muted); font-size: 1rem; }
.notice strong { color: var(--navy); }
.section--navy .notice { color: #b3bccd; } .section--navy .notice strong { color: #fff; }

/* Timeline (phases) */
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline .when { font-family: var(--font-head); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); padding-top: 5px; }
.timeline h3 { margin-bottom: 4px; font-size: 1.05rem; }
.timeline p { margin: 0; color: var(--muted); font-size: 1rem; }

/* 8. World map ----------------------------------------------------------- */
.worldmap { width: 100%; height: auto; }
.wm-land { fill: #d3d9e6; stroke: #c0c8d8; stroke-width: .8; stroke-linejoin: round; }
.wm-ma { fill: var(--gold); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.wm-arc { fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s var(--ease) forwards; }
.wm-links .wm-arc:nth-child(2) { animation-delay: .15s; }
.wm-links .wm-arc:nth-child(3) { animation-delay: .3s; }
.wm-links .wm-arc:nth-child(4) { animation-delay: .45s; }
.wm-links .wm-arc:nth-child(5) { animation-delay: .6s; }
.wm-links .wm-arc:nth-child(6) { animation-delay: .75s; }
.wm-hub, .wm-core, .wm-pin { fill: var(--gold); }
.wm-core { stroke: #fff; stroke-width: 2; }
.wm-pinline { stroke: var(--gold); stroke-width: 1.2; }
.wm-label { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: .2em; fill: var(--navy); }
.wm-label-sm { font-size: 11px; font-weight: 600; }
.wm-hublabel { font-family: var(--font-head); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; fill: var(--navy); }
.wm-pulse { fill: var(--gold); opacity: .22; transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(.7); opacity: .26; } 50% { transform: scale(1.15); opacity: .06; } }
/* Hero: the map is integrated in the navy background; continents in a lighter navy, Morocco in gold */
.hero-map { position: relative; }
.hero-map .wm-land { fill: #2b4273; stroke: #3f5a94; stroke-width: .8; }
.hero-map .wm-ma { fill: var(--gold-on-dark); stroke: #fff; stroke-width: 1.6; }
.hero-map .wm-arc { stroke: var(--gold-on-dark); stroke-width: 1.8; }
.hero-map .wm-hub, .hero-map .wm-core, .hero-map .wm-pin, .hero-map .wm-pulse { fill: var(--gold-on-dark); }
.hero-map .wm-core { stroke: #fff; }
.hero-map .wm-pinline { stroke: var(--gold-on-dark); }
.hero-map .wm-label { fill: #fff; font-size: 18px; }
.hero-map .wm-label-sm { font-size: 12px; }
.hero-map .wm-hublabel { fill: #e3e8f2; font-size: 12px; }
.map-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); min-width: 0; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-family: var(--font-head); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.map-legend li { display: flex; align-items: center; gap: 8px; }
.map-legend li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.map-legend li.l-world::before { background: #d3d9e6; }
@media (prefers-reduced-motion: reduce) {
  .wm-arc { animation: none; stroke-dashoffset: 0; }
  .wm-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* 9. Forms --------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-family: var(--font-head); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.field label .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,132,42,.18); }
.field textarea { min-height: 150px; resize: vertical; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-footer .note { font-size: .92rem; color: var(--muted); max-width: 48ch; margin: 0; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid var(--line); font-size: .98rem; }
.form-status.is-visible { display: block; }

/* 10. Footer ------------------------------------------------------------- */
.footer { background: var(--navy); color: #b3bccd; padding-block: clamp(48px, 6vw, 72px) 28px; font-size: .98rem; }
.footer-grid { display: grid; gap: 36px; margin-bottom: 44px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-grid > * { min-width: 0; }
.footer-logo { height: 66px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: .7rem; letter-spacing: .16em; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.65; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; color: #8d98ae; }

/* 11. Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item { border-bottom: 1px solid var(--line); }
  .strip-item:nth-child(n+3) { border-bottom: 0; }
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 96px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 6px var(--gutter) 20px; display: none;
    box-shadow: 0 16px 32px rgba(11,27,63,.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; white-space: normal; }
  .nav a::after { display: none; }
  .nav a.btn { margin: 16px 0 0; padding: 15px 18px; border-bottom: 0; }
  .topbar-left { display: none; }
  .topbar .container { justify-content: flex-end; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .strip .container { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; margin-right: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .strip-item:last-child { border-bottom: 0; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .brand img { height: 54px; }
  .header .container { height: 78px; }
  .nav { top: 78px; }
  .hero .slogan { font-size: .72rem; letter-spacing: .14em; }
  /* phone: the map is small, so scale its labels and markers up */
  .hero-map .wm-hublabel { font-size: 17px; letter-spacing: .1em; }
  .hero-map .wm-label { font-size: 26px; }
  .hero-map .wm-label-sm { font-size: 17px; }
  .hero-map .wm-hub { r: 6.5px; }
  .hero-map .wm-pin { r: 5px; }
  .hero-map .wm-core { r: 7px; }
  .hero-map .wm-arc { stroke-width: 2.4px; }
  .hero-map .wm-ma { stroke-width: 2.2px; }
  .btn { width: 100%; }
  .btn-group { flex-direction: column; }
  .cta-band .btn { width: 100%; }
}
@media (max-width: 400px) {
  .brand img { height: 48px; }
  .topbar-email { display: none; }
}

/* Reveal on scroll (only when JS runs; content stays visible otherwise) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce), (max-width: 640px) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Keyboard focus */
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
