/* ==========================================================================
   Bowsla — style.css
   Mobile first. Breakpoints: 360px (logo mark), 600px (map labels, 2-col
   form), 768px (tablet grids), 900px (desktop nav, 3-col cards, no sticky
   WhatsApp), 1100px (content max width).
   ========================================================================== */

:root {
  /* Type. Change either face here and nowhere else. */
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Source Serif 4", Georgia, serif;

  /* Palette */
  --teal: #133937;
  --teal-deep: #0D2827;
  --gold: #D8AA58;
  --cream: #F5F1E8;

  /* Teal-biased neutrals */
  --cream-muted: rgba(245, 241, 232, 0.72);
  --hairline: rgba(245, 241, 232, 0.14);
  --hairline-strong: rgba(245, 241, 232, 0.26);
  --surface: rgba(245, 241, 232, 0.035);
  --surface-hover: rgba(245, 241, 232, 0.06);
  --gold-soft: rgba(216, 170, 88, 0.45);
  --gold-hairline: rgba(216, 170, 88, 0.35);
  --teal-ink: #3F5B59;
  --teal-hairline: rgba(19, 57, 55, 0.18);
  --ink: #1E2B29;

  /* City colours from the company profile. Light ground only: on teal most of these fall below 2:1. */
  --city-london: #464D25;
  --city-manchester: #802A19;
  --city-birmingham: #2A2739;
  --city-nottingham: #CE862A;
  --city-leeds: #6D3317;
  --city-bristol: #196462;
  --city-liverpool: #1B535B;

  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1100px;
  --gutter: 20px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--teal);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--teal-deep);
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.75rem, 11vw, 5rem); }
h2 { font-size: clamp(2rem, 6.5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 5vw, 1.85rem); line-height: 1.15; }
p + p { margin-top: 1em; }

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.lede {
  font-size: 1.125rem;
  color: var(--cream);
}
.section-title {
  max-width: 14em;
  margin-bottom: 40px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 72px 0; }
.section-cream {
  background: var(--cream);
  color: var(--teal);
}
.section-deep { background: var(--teal-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal-deep);
}
.btn-gold:hover { background: #E2B86A; border-color: #E2B86A; }
.btn-line {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--cream);
}
.btn-line:hover { border-color: var(--cream); }
.btn-wide { width: 100%; }
.btn .i { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- Floating navigation ---------- */
.nav {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 50;
}
.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  border-radius: 28px;
  border: 1px solid var(--hairline);
  background: rgba(13, 40, 39, 0.28);
  transition: padding 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-scrolled .nav-bar {
  padding-top: 4px;
  padding-bottom: 4px;
  background: rgba(13, 40, 39, 0.78);
  border-color: var(--hairline-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  padding: 4px 24px 4px 0; /* 24px clear space before the next item */
  border-radius: 8px;
}
.brand img { height: 36px; width: auto; }
.brand-mark { display: none; }

.nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid var(--hairline-strong);
  background: rgba(13, 40, 39, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav-links.is-open { display: flex; }
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--cream);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover { background: var(--surface-hover); }
.nav-links a[aria-current="page"] { color: var(--gold); }

.btn-nav {
  min-height: 44px;
  width: 44px;
  padding: 0;
}
.btn-nav span { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Without JavaScript the menu button cannot open anything, so the links sit in the bar instead. */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .nav-bar { flex-wrap: wrap; border-radius: 22px; }
html:not(.js) .nav-links {
  display: flex;
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  order: 10;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px var(--gutter) 64px;
  text-align: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 65% at 50% 50%,
              rgba(13, 40, 39, 0.45), rgba(13, 40, 39, 0) 78%);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 44rem;
}
.hero h1 {
  margin-top: 18px;
  max-width: 10em;
}
.hero .lede {
  margin-top: 22px;
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 22rem;
  margin-top: 36px;
}

/* Text-only hero, used on pages without a photograph */
.hero-plain {
  min-height: 0;
  padding-top: 150px;
  padding-bottom: 72px;
}

.js .hero-inner > * {
  animation: rise 0.32s var(--ease) both;
}
.js .hero-inner > :nth-child(2) { animation-delay: 0.06s; }
.js .hero-inner > :nth-child(3) { animation-delay: 0.12s; }
.js .hero-inner > :nth-child(4) { animation-delay: 0.18s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Cards ---------- */
.card {
  display: block;
  padding: 30px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  background: var(--surface-hover);
}
.card h2, .card h3 { margin-top: 12px; }
.card .eyebrow + h2, .card .eyebrow + h3 { margin-top: 14px; }
.card h3:first-child { margin-top: 0; }
.card p { margin-top: 14px; color: var(--cream-muted); }
.card-link { text-decoration: none; color: inherit; }
.more {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.grid-2, .grid-3 {
  display: grid;
  gap: 16px;
}

.readiness {
  margin-top: 16px;
  border-color: var(--gold-hairline);
}
.readiness p:not(.eyebrow) { max-width: 36em; }

/* ---------- Heading beside text (Someone on your side, The commercial position) ---------- */
.side { display: grid; gap: 28px; }
.side h2 { max-width: 12em; }
.side-text { font-size: 1.125rem; }

/* Prose column, used on the privacy page */
.prose { max-width: 40em; }
.prose h2 { font-size: clamp(1.6rem, 5vw, 2rem); margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; color: var(--cream-muted); }
.prose a { color: var(--cream); text-underline-offset: 3px; }
/* Inline text links: vertical padding widens the tap area to 44px without moving the text */
.prose a, .note a { padding: 12px 0; }

/* Pull quote, used on the agencies page */
.pull {
  margin: 0 0 24px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 5.2vw, 2.4rem);
  line-height: 1.2;
}

/* ---------- Coverage ---------- */
.grid-coverage {
  display: grid;
  gap: 32px;
}
.coverage .eyebrow { color: var(--teal-ink); } /* gold measures 1.9:1 on cream */
.coverage-text h2 { margin-top: 12px; max-width: 12em; }
.coverage-text p:last-child { margin-top: 18px; color: var(--teal-ink); }

.map { width: 100%; max-width: 300px; margin: 0 auto; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map-outline {
  fill: none;
  stroke: var(--teal);
  stroke-opacity: 0.25;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}
.pin circle {
  fill: var(--city);
  transition: r 0.2s var(--ease);
}
.pin text {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.12em;
  fill: var(--ink);
}
.pin:hover circle { r: 3.8; }
/* Below 600px the map is small and sits above the list, so labels come off and the dots stay. */
.pin text { display: none; }

.city-london { --city: var(--city-london); }
.city-manchester { --city: var(--city-manchester); }
.city-birmingham { --city: var(--city-birmingham); }
.city-nottingham { --city: var(--city-nottingham); }
.city-leeds { --city: var(--city-leeds); }
.city-bristol { --city: var(--city-bristol); }
.city-liverpool { --city: var(--city-liverpool); }

.cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  border-top: 1px solid var(--teal-hairline);
}
.cities li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid var(--teal-hairline);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
}
.cities li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--city);
  flex: none;
}

/* ---------- How it works: arch-framed photograph beside the five steps ---------- */
.how {
  display: grid;
  gap: 48px;
}
.arch {
  --arch: clamp(140px, 42vw, 220px);
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 8px auto 0;
}
.arch img {
  width: 100%;
  height: auto;
  border-radius: var(--arch) var(--arch) 12px 12px;
}
/* The deck's gold hairline, a few pixels outside the image edge */
.arch::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid var(--gold);
  border-radius: calc(var(--arch) + 7px) calc(var(--arch) + 7px) 19px 19px;
  opacity: 0.8;
  pointer-events: none;
}
.steps {
  display: grid;
  gap: 32px;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.step-n {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  padding-top: 5px;
  color: var(--gold);
  min-width: 2.2ch;
}
.step h3 { font-size: clamp(1.4rem, 4.8vw, 1.75rem); }
.step p { margin-top: 8px; color: var(--cream-muted); }

/* ---------- The readiness check ---------- */
.rc-wrap { display: grid; gap: 32px; }
.rc-intro h2 { margin-top: 12px; max-width: 12em; }
.rc-intro p:not(.eyebrow) { margin-top: 18px; max-width: 34em; }
.rc-intro .note { margin-top: 12px; }
.rc-nojs p { color: var(--cream); }
.rc-nojs .btn { margin-top: 20px; }
html:not(.js) .rc { display: none; }

.rc { padding: 26px 22px 28px; }
.rc-rail {
  display: flex;
  gap: 6px;
}
.rc-rail span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--hairline-strong);
  transition: background-color 0.3s var(--ease);
}
.rc-rail span.is-done { background: var(--gold); }
.rc-count {
  margin-top: 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.rc-step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.rc-step[hidden], .rc-result[hidden] { display: none; }
.rc-q {
  display: block;
  padding: 0;
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  line-height: 1.12;
  outline: none;
}
.rc-hint {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--cream-muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip:hover span { border-color: var(--cream); }
.chip input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal-deep);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.rc-other { margin-top: 18px; max-width: 24rem; }
.rc-fields { display: grid; gap: 18px; margin-top: 22px; max-width: 30rem; }
.rc-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.rc-actions .btn { flex: 1; }
.rc-actions .btn[hidden] { display: none; }
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn:disabled:hover { transform: none; }

.js .rc-step.is-entering, .js .rc-result.is-entering {
  animation: rc-in 0.28s var(--ease) both;
}
@keyframes rc-in {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: none; }
}

/* Result panel. Order: headline, figures, verdict, WhatsApp button, then the quieter supporting lines. */
.rc-result .rc-q { margin-top: 10px; }
.rc-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.rc-figure {
  padding: 14px 14px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-hairline);
}
.rc-figure-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.rc-figure strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
/* The two explanations sit beneath the pair of boxes, one under each on wider screens */
.rc-figure-notes {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.rc-figure-notes p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--cream-muted);
}
.rc-verdict {
  margin-top: 16px;
  max-width: 40em;
}
.rc-verdict[hidden] { display: none; }
.rc-send {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 20px;
}
/* Supporting detail below the button, set quieter than the answer */
.rc-reassure {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  max-width: 40em;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--cream-muted);
}
.rc-result .note { margin-top: 12px; }
/* Phones: the two figures one size step down */
@media (max-width: 420px) {
  .rc-figure strong { font-size: 1.75rem; }
}
.rc-restart {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-weight: 600;
  color: var(--cream-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.rc-restart:hover { color: var(--cream); }

/* ---------- Questions: accordion ---------- */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 4.6vw, 1.7rem);
  line-height: 1.15;
  transition: color 0.2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list summary:hover { color: var(--gold); }
.faq-list summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.faq-list details p {
  padding: 0 0 24px;
  max-width: 40em;
  color: var(--cream-muted);
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
.contact-intro h2 { max-width: 10em; }
.contact-intro .btn { margin-top: 28px; max-width: 22rem; }

.form {
  display: grid;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  color: var(--cream);
  transition: border-color 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}
/* Select: no system control. Native arrow removed, gold chevron drawn on the right. */
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23D8AA58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 9px;
}
.field select::-ms-expand { display: none; }
/* The first option is the placeholder and carries no value */
.field select:has(option[value=""]:checked) { color: rgba(245, 241, 232, 0.45); }
.field select option {
  color: var(--teal);
  background: var(--cream);
}
.field input::placeholder, .field textarea::placeholder {
  color: rgba(245, 241, 232, 0.45);
  opacity: 1;
}
.field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.6; }
/* Number field: no native spinner, pound sign inside as a prefix */
.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.field input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.field-money { position: relative; }
.field-money input { padding-left: 34px; }
.field-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cream-muted);
  font-weight: 600;
  pointer-events: none;
}
.field .btn { margin-top: 6px; }
.note {
  font-size: 0.9rem;
  color: var(--cream-muted);
}
/* Result of sending a form, filled in by script.js. Empty until then. */
.form-status:empty { display: none; }
.form-status h3 { outline: none; }
.form-status p { margin-top: 12px; }
.form-status h3 + p { color: var(--cream-muted); }
.form-status .btn { margin-top: 22px; }
.form-status .note { margin-top: 0; }

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 120px; /* room for the sticky WhatsApp button on phones */
  background: var(--teal-deep);
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  gap: 32px;
}
.footer-brand img { height: 84px; width: auto; }
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--cream); }

/* ---------- Sticky WhatsApp, phones only ---------- */
.wa-sticky {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-deep);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.wa-sticky:hover { transform: translateY(-1px); background: #E2B86A; }
.wa-sticky .i { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Scroll reveal (class added by JavaScript only) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* Very narrow phones: the mark instead of the full logo */
@media (max-width: 359px) {
  .brand-full { display: none; }
  .brand-mark { display: block; }
}

@media (min-width: 600px) {
  .pin text { display: block; }
  .map { max-width: 440px; }
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; }
  .hero-actions .btn { min-width: 15rem; }
  .btn-wide { width: auto; min-width: 16rem; }
  .form { grid-template-columns: 1fr 1fr; gap: 20px; }
  .field-full { grid-column: 1 / -1; }
  .rc-figure-notes { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  body { font-size: 1.125rem; }
  .section { padding: 104px 0; }
  .hero { padding-top: 140px; min-height: min(100svh, 900px); }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .card { padding: 40px 36px; }
  .readiness { margin-top: 20px; }
  .side { grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
  .hero-plain { padding-top: 180px; padding-bottom: 96px; }
  .rc { padding: 36px 36px 40px; }
  .rc-fields { grid-template-columns: 1fr 1fr; }
  .rc-actions { justify-content: flex-end; }
  .rc-actions .btn { flex: 0 0 auto; min-width: 11rem; }
  .rc-send { flex-direction: row; align-items: center; gap: 24px; }
  .rc-send .btn-wide { width: auto; }
  .contact { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .contact-intro { position: sticky; top: 100px; }
  .footer { padding-bottom: 72px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
}

@media (min-width: 900px) {
  .nav { left: 50%; right: auto; width: min(1100px, calc(100% - 48px)); transform: translateX(-50%); }
  .nav-bar { padding-left: 20px; }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav-links a { min-height: 44px; padding: 0 16px; }
  .nav-toggle { display: none; }
  .btn-nav { width: auto; padding: 0 20px; margin-left: 8px; }
  .btn-nav span { display: inline; }
  html:not(.js) .nav-bar { flex-wrap: nowrap; border-radius: 28px; }
  html:not(.js) .nav-links { width: auto; order: 0; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .how { grid-template-columns: 5fr 7fr; column-gap: 72px; align-items: start; }
  .arch { position: sticky; top: 104px; margin-top: 8px; }
  .rc-wrap { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .rc-intro { position: sticky; top: 100px; }
  .grid-coverage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "text map" "list map";
    column-gap: 64px;
    row-gap: 40px;
    align-items: start;
  }
  .coverage-text { grid-area: text; }
  .map { grid-area: map; max-width: 460px; margin: 0 0 0 auto; }
  .cities { grid-area: list; }
  .wa-sticky { display: none; }
}

@media (min-width: 1100px) {
  .section { padding: 128px 0; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover, .wa-sticky:hover { transform: none; }
  .pin:hover circle { r: 2.6; }
}
