/* ══════════════════════════════════════════════════════════════════════════
   Zainab Builders & Contractors
   Design tokens first — every colour, space and radius comes from :root.
   Never hard-code a hex value in a rule below.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* brand palette */
  --blue:        #0E5F78;
  --blue-deep:   #0A4A5E;
  --blue-light:  #1B7B99;
  --charcoal:    #202A30;
  --charcoal-2:  #161E23;
  --steel:       #A9B2B8;
  --off:         #F7F7F4;
  --white:       #FFFFFF;
  --brass:       #B79A63;

  /* semantic */
  --ink:         var(--charcoal);
  --ink-soft:    #55636B;
  --line:        #E2E5E4;
  --line-dark:   rgba(255,255,255,.14);
  --ok:          #1C7C3F;
  --err:         #C0392B;

  /* type */
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* layout */
  --wrap:      1200px;
  --wrap-narrow: 820px;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius:    4px;
  --radius-lg: 8px;

  /* effects */
  --shadow-sm: 0 2px 10px rgba(32,42,48,.07);
  --shadow-md: 0 12px 36px rgba(32,42,48,.11);
  --shadow-lg: 0 28px 70px rgba(32,42,48,.20);
  --ease:      cubic-bezier(.22,.61,.36,1);

  /* the gradient in .hero__media layers over this for text readability */
  --hero-image: url("../images/hero.jpg");
}

/* ── reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open, body.modal-open { overflow: hidden; }

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.125rem; letter-spacing: -.005em; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; 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: 50%; top: 0; transform: translate(-50%, -120%);
  background: var(--blue); color: var(--white); padding: .75rem 1.5rem;
  z-index: 200; text-decoration: none; border-radius: 0 0 var(--radius) var(--radius);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ── layout helpers ──────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--alt  { background: var(--off); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__lede { color: var(--ink-soft); font-size: 1.075rem; }
.section__head--light .section__lede,
.section--dark .section__lede { color: rgba(255,255,255,.72); }

.eyebrow {
  font-family: var(--font-head);
  font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass);
  margin: 0 0 1rem;
}
.eyebrow--dark { color: var(--blue); }

.disclaimer {
  margin-top: 2.5rem; font-size: .875rem; color: var(--ink-soft);
  border-left: 2px solid var(--steel); padding-left: 1rem; max-width: 70ch;
}
.disclaimer--inline { margin-top: 1.5rem; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-size: .875rem; font-weight: 700;
  letter-spacing: .02em; line-height: 1;
  padding: .95rem 1.7rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--brass); --btn-fg: var(--charcoal); }
.btn--accent:hover { --btn-bg: #C7AC79; }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--white);
  border-color: rgba(255,255,255,.5); backdrop-filter: blur(2px);
}
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.12); border-color: var(--white); }

.btn--lg    { padding: 1.1rem 2.1rem; font-size: .95rem; }
.btn--sm    { padding: .7rem 1.2rem; font-size: .8rem; min-height: 44px; }  /* tap target floor */
.btn--block { width: 100%; }

/* ══════════════════════════════════════════════════════ HEADER ═══════ */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }

.header__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: .85rem var(--gutter);
  display: flex; align-items: center; gap: 2rem;
  transition: padding .3s var(--ease);
}
.header.is-stuck .header__inner { padding-block: .5rem; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand__mark {
  width: auto; height: 46px;
  transition: height .3s var(--ease);
}
.header.is-stuck .brand__mark { height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--charcoal);
}
.brand__sub {
  font-family: var(--font-head); font-weight: 600; font-size: .58rem;
  letter-spacing: .17em; text-transform: uppercase; color: var(--blue);
}

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav > a:not(.btn) {
  font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--ink);
  padding: .35rem 0; position: relative;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--brass); transition: right .25s var(--ease);
}
.nav > a:not(.btn):hover::after { right: 0; }

.burger {
  display: none; margin-left: auto; width: 46px; height: 46px;
  background: none; border: 0; cursor: pointer; padding: 11px 9px;
  flex-direction: column; justify-content: space-between;
}
.burger span {
  display: block; height: 2px; width: 100%; background: var(--charcoal);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════ HERO ═════════ */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex; align-items: center;
  padding-block: clamp(8rem, 16vh, 11rem) clamp(4rem, 8vh, 6rem);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

/* Placeholder treatment. Drop a photo in and set --hero-image in :root; the
   gradient stays underneath as the readability overlay. */
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(105deg, rgba(10,74,94,.93) 0%, rgba(32,42,48,.90) 55%, rgba(22,30,35,.96) 100%),
    var(--hero-image, none),
    linear-gradient(160deg, var(--blue-deep), var(--charcoal-2));
  background-size: cover;
  background-position: center;
}
/* faint architectural grid so the placeholder does not read as a flat block */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; right: -12%; bottom: -30%; z-index: -1;
  width: 62vw; height: 62vw; max-width: 780px; max-height: 780px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(183,154,99,.16), transparent 65%);
}

.hero__inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.hero__title {
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  font-weight: 800; margin-bottom: .5em; max-width: 18ch;
}
.hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,.82); max-width: 58ch; margin-bottom: 2rem;
}

.hero__points {
  display: grid; gap: .55rem 2rem; margin-bottom: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px;
}
.hero__points li {
  position: relative; padding-left: 1.7rem;
  font-size: .925rem; color: rgba(255,255,255,.86);
}
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; background: var(--brass);
  transform: rotate(45deg);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.5rem; }

.hero__strip {
  display: inline-block; font-size: .8rem; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.1rem;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 13px; z-index: 2;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; margin-left: -2px;
  width: 4px; height: 7px; border-radius: 2px; background: var(--brass);
  animation: scrolldot 1.9s var(--ease) infinite;
}
@keyframes scrolldot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70%      { transform: translateY(15px); opacity: 0; }
}

/* ══════════════════════════════════════════════════════ METRICS ══════ */
.metrics { background: var(--blue); color: var(--white); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.metrics__grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.metric {
  text-align: center; padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.metric:last-child { border-right: 0; }
.metric__num {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.1rem); line-height: 1; color: var(--white);
}
.metric__num--text { font-size: clamp(1.35rem, 2.6vw, 1.9rem); letter-spacing: -.01em; }
.metric__label {
  display: block; margin-top: .6rem; font-size: .82rem;
  letter-spacing: .05em; color: rgba(255,255,255,.78);
}
.metrics__note {
  margin-top: 1.5rem; text-align: center;
  font-size: .75rem; color: rgba(255,255,255,.55);
}

/* ══════════════════════════════════════════════════════ GALLERY ══════ */
.gallery { position: relative; }
.gallery__stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--charcoal);
  aspect-ratio: 16 / 9;
}

.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img { width: 100%; height: 100%; object-fit: cover; }

.slide__panel {
  position: absolute; left: 0; bottom: 0;
  width: min(50%, 520px); margin: clamp(1rem, 2.5vw, 2.25rem);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  border-top: 3px solid var(--brass);
}
.slide__type {
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--blue);
  margin-bottom: .5rem;
}
.slide__title { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-bottom: .25rem; }
.slide__loc { font-size: .85rem; color: var(--ink-soft); margin-bottom: .9rem; }
.slide__desc { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.1rem; }

.slide__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem;
  margin: 0 0 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.slide__meta dt {
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .15rem;
}
.slide__meta dd {
  margin: 0; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}

/* Marks generated imagery as illustrative rather than a real portfolio photo.
   Rendered only while SITE.imagesAreIllustrative is true. */
.badge-illus {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  padding: .3rem .7rem;
  font-family: var(--font-head); font-size: .6rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); background: rgba(22,30,35,.6);
  backdrop-filter: blur(4px); border-radius: 2px;
  pointer-events: none;
}
.modal__panel .badge-illus { top: 1rem; left: 1rem; }

.gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.9); border: 0;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.gallery__arrow:hover { background: var(--white); transform: translateY(-50%) scale(1.07); }
.gallery__arrow::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px; border-top: 2px solid var(--charcoal); border-right: 2px solid var(--charcoal);
}
.gallery__arrow--prev { left: 1.25rem; }
.gallery__arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.gallery__arrow--next { right: 1.25rem; }
.gallery__arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }

.gallery__dots { display: flex; justify-content: center; gap: .2rem; margin-top: 1rem; flex-wrap: wrap; }
/* The visible bar is 4px, but padding + content-box clipping gives the button a
   full 44px-tall hit area so it is comfortably tappable. */
.dot {
  width: 34px; height: 4px; border: 0; cursor: pointer;
  padding: 20px 8px; background: var(--steel);
  background-clip: content-box; border-radius: 2px;
  box-sizing: content-box;
  transition: background-color .25s var(--ease), width .25s var(--ease);
}
.dot.is-active { background-color: var(--blue); width: 52px; }

/* ══════════════════════════════════════════════════════ SERVICE CARDS ═ */
.cards {
  display: grid; gap: clamp(1rem, 1.8vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.card {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon { width: 34px; height: 34px; color: var(--blue); margin-bottom: 1.1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ══════════════════════════════════════════════════════ WHY US ══════ */
.why__grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.75rem);
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}
.why__item { padding-top: 1.4rem; border-top: 2px solid var(--brass); }
.why__item h3 { color: var(--white); margin-bottom: .5rem; }
.why__item p { font-size: .9rem; color: rgba(255,255,255,.7); margin: 0; }

.overseas {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  border-radius: var(--radius-lg);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.overseas__body { flex: 1 1 380px; }
.overseas h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); margin-bottom: .5rem; }
.overseas p { color: rgba(255,255,255,.8); font-size: .95rem; }
.overseas ul {
  display: grid; gap: .4rem 1.75rem; margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.overseas li {
  position: relative; padding-left: 1.4rem;
  font-size: .875rem; color: rgba(255,255,255,.85);
}
.overseas li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg);
}

/* ══════════════════════════════════════════════════════ PROCESS WIZARD ═ */
.wizard { --node: 52px; }

.wizard__rail { position: relative; padding-bottom: .5rem; }

/* the connecting line sits behind the nodes, centred on them */
.wizard__line {
  position: absolute; left: 0; right: 0; top: calc(var(--node) / 2);
  height: 2px; background: var(--line); transform: translateY(-50%);
}
.wizard__fill {
  display: block; height: 100%; width: 0; background: var(--blue);
  transition: width .45s var(--ease);
}

.wizard__track {
  position: relative;
  display: flex; justify-content: space-between; gap: .5rem;
  overflow-x: auto; scrollbar-width: none;
}
.wizard__track::-webkit-scrollbar { display: none; }

.node {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.node__dot {
  display: grid; place-items: center;
  width: var(--node); height: var(--node); flex-shrink: 0;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  color: var(--ink-soft); background: var(--white);
  border: 2px solid var(--line); border-radius: 50%;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), transform .3s var(--ease);
}
.node__label {
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  line-height: 1.3; color: var(--ink-soft); text-align: center;
  max-width: 13ch; transition: color .3s var(--ease);
}

.node:hover .node__dot { border-color: var(--blue); color: var(--blue); }

.node.is-done .node__dot {
  background: var(--blue); border-color: var(--blue); color: transparent;
  position: relative;
}
/* tick replaces the number once a stage is behind you */
.node.is-done .node__dot::after {
  content: ""; position: absolute; top: 44%; left: 50%;
  width: 6px; height: 11px; border: solid var(--white); border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.node.is-active .node__dot {
  background: var(--blue); border-color: var(--blue); color: var(--white);
  transform: scale(1.12);
  box-shadow: 0 0 0 5px rgba(14,95,120,.14);
}
.node.is-active .node__label { color: var(--blue); font-weight: 700; }

/* ── panel ── */
.wizard__stage { margin-top: 2.5rem; }
.panel {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-left: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--white); border-radius: var(--radius-lg);
  border-left: 3px solid var(--brass);
  box-shadow: var(--shadow-sm);
  min-height: 190px;
}
.panel[hidden] { display: none; }
.panel.is-active { animation: panel-in .4s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateX(14px); } }

.panel__n {
  display: block;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1;
  color: var(--line); margin-bottom: .35rem;
}
.panel h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: .5rem; }
.panel p { color: var(--ink-soft); margin: 0; max-width: 72ch; }

/* ── nav ── */
.wizard__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin-top: 1.75rem;
}
.wizard__btn {
  position: relative; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--white); border: 1px solid var(--line);
  transition: background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.wizard__btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); }
.wizard__btn:disabled { opacity: .35; cursor: not-allowed; }
.wizard__btn::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--charcoal); border-right: 2px solid var(--charcoal);
  transform: translate(-30%, -50%) rotate(-135deg);
  transition: border-color .2s var(--ease);
}
.wizard__btn--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.wizard__btn:hover:not(:disabled)::before { border-color: var(--white); }

.wizard__count {
  margin: 0; text-align: center; min-width: 20ch;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  color: var(--ink-soft);
}

/* ══════════════════════════════════════════════════════ PAYMENTS ════ */
.payments {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}
.milestones {
  display: grid; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  counter-reset: ms;
}
.milestones li {
  counter-increment: ms;
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.35rem;
  font-size: .925rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.milestones li:last-child { border-bottom: 0; }
.milestones li::before {
  content: counter(ms, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  color: var(--blue); flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════ ABOUT ═══════ */
.about {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.about__quote {
  margin: 1.75rem 0; padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 3px solid var(--brass);
  font-size: 1.02rem; font-style: italic; color: var(--ink);
}
.about__quote cite {
  display: block; margin-top: .75rem;
  font-size: .8rem; font-style: normal; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft);
}
.about__sub { font-size: .95rem; margin-bottom: .75rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  padding: .4rem .9rem; font-size: .8rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 100px;
}

/* ══════════════════════════════════════════════════════ EMPTY STATE ═ */
.empty-state {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px dashed var(--steel); border-radius: var(--radius-lg);
  background: var(--off); text-align: center; max-width: 70ch; margin-inline: auto;
}
.empty-state p { color: var(--ink-soft); font-size: .95rem; }
.empty-state strong { color: var(--ink); }

/* ══════════════════════════════════════════════════════ FAQ ═════════ */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--ink); text-align: left; line-height: 1.4;
}
.faq__q:hover { color: var(--blue); }
.faq__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--blue);
  transition: transform .25s var(--ease);
}
.faq__icon::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { padding-bottom: 1.4rem; }
.faq__a p { font-size: .95rem; color: var(--ink-soft); margin: 0; max-width: 72ch; }

/* ══════════════════════════════════════════════════════ CONTACT ═════ */
.contact {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  align-items: start;
}
.contact__details { margin: 2.25rem 0; display: grid; gap: 1.4rem; }
.contact__details li { display: grid; gap: .2rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.contact__details a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact__details a:hover { border-bottom-color: var(--brass); color: var(--brass); }
.contact__label {
  font-family: var(--font-head); font-size: .66rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--brass);
}

.map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-dark); aspect-ratio: 16 / 10;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.95); }

/* ── form ─────────────────────────────────────────────────────────── */
.form {
  background: var(--white); color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; gap: 1rem;
}
.form__row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.form label {
  display: grid; gap: .35rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; color: var(--ink);
}
.form .req { color: var(--err); }
.form .opt { font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }

.form input, .form select, .form textarea {
  font-family: var(--font-body); font-size: .95rem; font-weight: 400;
  color: var(--ink); background: var(--off);
  padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; background: var(--white); border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,95,120,.12);
}
.form select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
                    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.consent {
  display: flex !important; align-items: flex-start; gap: .65rem;
  font-weight: 400; font-family: var(--font-body); font-size: .85rem;
  color: var(--ink-soft); margin-top: .25rem;
}
.consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem; accent-color: var(--blue); }

.hp { position: absolute !important; left: -9999px !important; }  /* honeypot — do not remove */

.form__status { min-height: 1.5em; font-size: .875rem; margin: 0; text-align: center; }
.form__status.is-pending { color: var(--ink-soft); }
.form__status.is-ok  { color: var(--ok); }
.form__status.is-err { color: var(--err); }
.form__wa { display: inline-block; margin-left: .35rem; color: var(--blue); font-weight: 600; }

/* ══════════════════════════════════════════════════════ FOOTER ══════ */
.footer { background: var(--charcoal-2); color: rgba(255,255,255,.68); padding-top: clamp(3rem, 6vw, 5rem); }
.footer__grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer__logo { width: 190px; height: auto; margin-bottom: 1.25rem; filter: brightness(0) invert(1); opacity: .92; }
.footer__col p { font-size: .875rem; margin-bottom: 1.5rem; max-width: 40ch; }
.footer__col h3 {
  color: var(--white); font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer__col ul { display: grid; gap: .6rem; }
.footer__col li { font-size: .875rem; line-height: 1.55; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--brass); }

.footer__bar {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
}
.footer__bar p { margin: 0; }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--brass); }
.footer__admin { opacity: .4; }

/* ══════════════════════════════════════════════════════ WHATSAPP ═══ */
.wa {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1.1rem;
  background: #25D366; color: #fff; text-decoration: none;
  border-radius: 100px; box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.wa svg { width: 26px; height: 26px; fill: currentColor; flex-shrink: 0; }
.wa__label { font-family: var(--font-head); font-weight: 700; font-size: .82rem; white-space: nowrap; }

/* ══════════════════════════════════════════════════════ MODAL ═══════ */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(22,30,35,.75); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; z-index: 1;
  width: min(900px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: modal-in .3s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px); } }

.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm);
}
.modal__close::before, .modal__close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 15px; height: 2px; background: var(--charcoal);
}
.modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.modal__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.modal__body { padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.modal__body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .25rem; }
.modal__body h3 {
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--blue); margin: 2rem 0 .6rem;
}
.modal__body p { font-size: .95rem; color: var(--ink-soft); }
.modal__body .btn { margin-top: 2rem; }

.modal__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem; margin: 1.5rem 0 0; padding: 1.25rem 0; border-block: 1px solid var(--line);
}
.modal__facts dt {
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .2rem;
}
.modal__facts dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }

.ticks { display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .95rem; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .42em;
  width: 6px; height: 11px; border: solid var(--blue); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ══════════════════════════════════════════════════════ LEGAL PAGES ═ */
.legal { padding-block: clamp(7rem, 14vh, 10rem) var(--section-y); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .3em; }
.legal h2 {
  font-size: 1.15rem; margin: 2.5rem 0 .75rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.legal p, .legal li { color: var(--ink-soft); }
.legal .ticks { margin-bottom: 1.1em; }
.legal a { color: var(--blue); }
.legal__meta { font-size: .85rem; color: var(--ink-soft); margin-bottom: 2rem; }
.legal__back { margin-top: 3rem; }

.notice {
  padding: 1.15rem 1.35rem; margin-bottom: 2.5rem;
  background: var(--off); border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem; color: var(--ink-soft);
}
.notice strong { color: var(--ink); }

/* ══════════════════════════════════════════════════════ 404 ═════════ */
.notfound {
  min-height: 78vh; display: grid; place-items: center; text-align: center;
  padding: clamp(7rem, 14vh, 10rem) var(--gutter) var(--section-y);
}
.notfound__code {
  font-family: var(--font-head); font-weight: 800; line-height: 1;
  font-size: clamp(4.5rem, 15vw, 9rem); color: var(--steel);
}
.notfound p { color: var(--ink-soft); max-width: 48ch; margin-inline: auto; }

/* ══════════════════════════════════════════════════════ REVEAL ══════ */
/* Only hide reveals when JS is actually running to un-hide them again —
   otherwise a blocked or failed script would leave the page blank. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════ RESPONSIVE ══ */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: .35rem; padding: 6rem 2rem 2rem;
    background: var(--white); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav > a:not(.btn) { width: 100%; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1.5rem; width: 100%; }

  .slide__panel {
    position: static; width: auto; margin: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .gallery__stage { aspect-ratio: auto; background: transparent; box-shadow: none; }
  .slide { position: absolute; inset: 0; }
  .slide.is-active { position: relative; inset: auto; }
  .slide__img { aspect-ratio: 16/10; border-radius: var(--radius-lg) var(--radius-lg) 0 0; height: auto; }
  .slide__panel { box-shadow: var(--shadow-md); }
  /* image is 16:10 of the stage width, so centre the arrows on the image */
  .gallery__arrow { top: min(31vw, 220px); width: 40px; height: 40px; }
  .gallery__arrow--prev { left: .6rem; }
  .gallery__arrow--next { right: .6rem; }

  .metric { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .metric:last-child { border-bottom: 0; }

  /* Labels would not survive eight abreast — the active stage title is
     already spelled out in the panel and in the counter below it. */
  .wizard { --node: 40px; }
  .node__label { display: none; }
  .wizard__stage { margin-top: 1.75rem; }
}

@media (max-width: 620px) {
  .wizard { --node: 32px; }
  /* padding lifts the button to a 44px tap target without growing the dot */
  .node { padding-block: 6px; }
  .wizard__line { top: calc(var(--node) / 2 + 6px); }
  .node__dot { font-size: .68rem; border-width: 1.5px; }
  .node.is-done .node__dot::after { width: 4px; height: 8px; }
  .wizard__nav { gap: .75rem; }
  .wizard__count { min-width: 0; flex: 1; font-size: .72rem; }
  .wizard__btn { width: 42px; height: 42px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; text-align: center; }
  .wa__label { display: none; }
  .wa { padding: .95rem; }
  .slide__meta { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { width: 100%; }
}

@media print {
  .header, .wa, .gallery__arrow, .gallery__dots, .hero__scroll { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

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