/* ==========================================================================
   Qesha (Pty) Ltd — site styles
   Mobile-first. No framework, no build step.
   Brand: navy #0A1620 / #123040, teal #1F95A3 / #7FD4DC,
          amber #F2902C / #D96A12, light #EAF3F5
   ========================================================================== */

/* ---------- Self-hosted fonts (no third-party requests) ---------- */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #0A1620;
  --navy-800: #0E1E2B;
  --navy-700: #123040;
  --navy-600: #19445B;
  --teal-600: #0F6E79;   /* teal for text on light backgrounds (AA contrast) */
  --teal-500: #1F95A3;
  --teal-300: #7FD4DC;
  --amber-500: #F2902C;
  --amber-600: #D96A12;
  --light-100: #EAF3F5;
  --line: #CBE0E5;
  --ink: #0A1620;
  --ink-2: #1E3442;
  --muted: #47606E;
  --white: #FFFFFF;
  --error: #B42318;

  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-body);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(10, 22, 32, .06), 0 8px 24px rgba(10, 22, 32, .06);
  --container: 72rem;
  --header-h: 4rem;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul { margin: 0; padding: 0; }
a { color: var(--teal-600); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--teal-300);
  outline-offset: 3px;
  border-radius: 4px;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.nowrap { white-space: nowrap; }

/* Screen-reader-only text */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--amber-500); color: var(--navy-900);
  padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section--light { background: var(--light-100); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy-900); color: #C9D6DE; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: .75rem;
}
.section--dark .eyebrow { color: var(--teal-300); }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.375rem); }
.section-head p { margin-top: 1rem; font-size: 1.0625rem; color: var(--muted); }
.section--dark .section-head p { color: #B8C7D0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
/* Amber CTA: dark text on amber passes WCAG AA (contrast ~8:1) */
.btn--primary { background: var(--amber-500); color: var(--navy-900); }
.btn--primary:hover { background: #F7A04A; color: var(--navy-900); }
.btn--ghost { background: rgba(18, 48, 64, .85); color: var(--white); border-color: rgba(127, 212, 220, .45); }
.btn--ghost:hover { background: var(--navy-600); color: var(--white); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--light-100); color: var(--ink); }
.btn--sm { min-height: 42px; padding: .6rem 1rem; font-size: .9375rem; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .container {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand svg { width: 34px; height: 34px; }
.brand__name { font: 800 1.375rem/1 var(--font-display); letter-spacing: -0.02em; }

.nav { display: none; }
.nav a {
  color: #C9D6DE; text-decoration: none; font-size: .9375rem; font-weight: 500;
  padding: .5rem 0;
}
.nav a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--teal-300); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .btn--primary { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 0; border-radius: var(--radius-sm);
  color: var(--white); cursor: pointer;
}
.menu-toggle:hover { background: rgba(255, 255, 255, .08); }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: .5rem 1.25rem 1.25rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) {
  display: block; padding: .85rem 0;
  color: #E2EAEE; text-decoration: none; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mobile-nav .btn { width: 100%; margin-top: 1rem; }

@media (min-width: 900px) {
  .nav { display: flex; gap: 1.75rem; }
  .header-actions .btn--primary { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900);
  color: var(--white);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 75%; }
/* Scrims keep headline contrast above WCAG AA over the image */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 32, .92) 0%, rgba(10, 22, 32, .6) 48%, rgba(10, 22, 32, 0) 85%),
    linear-gradient(180deg, rgba(10, 22, 32, .35) 0%, rgba(10, 22, 32, 0) 40%, rgba(10, 22, 32, .7) 100%);
}
.hero .container { padding-block: 4.5rem 4rem; }
@media (min-width: 768px) { .hero .container { padding-block: 7rem 6.5rem; } }
.hero__inner { max-width: 44rem; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9375rem; font-weight: 600; color: var(--teal-300);
  margin-bottom: 1.25rem;
}
.hero__kicker svg { width: 1rem; height: 1rem; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero h1 .accent { color: var(--amber-500); }
.hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: #D3DEE4;
  max-width: 38rem;
}
.hero__actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2.25rem; }
@media (min-width: 560px) { .hero__actions { flex-direction: row; flex-wrap: wrap; } }
.hero__note { margin-top: 1.25rem; font-size: .9375rem; color: #AFC0CA; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__list {
  list-style: none;
  display: grid; grid-template-columns: 1fr;
}
.trust__item {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #DDECEF;
}
.trust__item:last-child { border-bottom: 0; }
.trust__item svg { width: 1.375rem; height: 1.375rem; color: var(--teal-500); flex-shrink: 0; margin-top: .1rem; }
.trust__label { font-weight: 700; color: var(--ink); line-height: 1.35; }
.trust__detail { font-size: .875rem; color: var(--muted); margin-top: .15rem; }
@media (min-width: 640px) {
  .trust__list { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
  .trust__item:nth-last-child(2) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .trust__item { border-bottom: 0; padding: 1.5rem 1.25rem; border-left: 1px solid #DDECEF; }
  .trust__item:first-child { border-left: 0; padding-left: 0; }
}

/* ==========================================================================
   What we supply
   ========================================================================== */
.supply-block + .supply-block { margin-top: 3rem; }
.supply-block__head {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
  margin-bottom: 1.25rem;
}
.supply-block__head h3 { font-size: 1.375rem; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px;
}
.badge::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.badge--live { background: #DDF3F5; color: #0B5B64; }
.badge--soon { background: #FDEBD7; color: #8A4108; }

.product-grid {
  list-style: none;
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.product:hover { border-color: #9FCBD3; box-shadow: var(--shadow); }
.product__icon {
  width: 3rem; height: 3rem; border-radius: 10px;
  background: var(--navy-900);
  display: grid; place-items: center;
}
.product__icon svg { width: 1.75rem; height: 1.75rem; color: var(--teal-300); }
.product h4 { font-size: 1.0625rem; }
@media (max-width: 559px) {
  .product { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; row-gap: .2rem; padding: 1rem 1.1rem; }
  .product__icon { grid-row: span 2; }
}
.product p { font-size: .9375rem; color: var(--muted); line-height: 1.5; }

.supply-note {
  margin-top: 1.25rem;
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .9375rem; color: var(--muted);
}
.supply-note svg { width: 1.125rem; height: 1.125rem; color: var(--teal-600); flex-shrink: 0; margin-top: .2rem; }

.service-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .service-cards { grid-template-columns: 1fr 1fr; } }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex; flex-direction: column;
}
.service-card--dark {
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  border-color: var(--navy-700);
  color: #C9D6DE;
}
.service-card--dark h3 { color: var(--white); }
.service-card .badge { align-self: flex-start; margin-bottom: 1rem; }
.service-card--dark .badge--live { background: rgba(127, 212, 220, .15); color: var(--teal-300); }
.service-card h3 { font-size: 1.3125rem; }
.service-card > p { margin-top: .6rem; }
.ticks { list-style: none; margin: 1.25rem 0 1.5rem; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9375rem; }
.ticks svg { width: 1.125rem; height: 1.125rem; color: var(--teal-500); flex-shrink: 0; margin-top: .2rem; }
.service-card--dark .ticks svg { color: var(--teal-300); }
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Why Qesha
   ========================================================================== */
.why-grid { display: grid; gap: 1px; grid-template-columns: 1fr; background: rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why {
  background: var(--navy-900);
  padding: 1.75rem;
}
@media (min-width: 720px) { .why { padding: 2.25rem; } }
.why .why__num {
  font: 700 .875rem/1 var(--font-mono);
  color: var(--amber-500);
  letter-spacing: .05em;
}
.why h3 { font-size: 1.25rem; margin-top: .9rem; }
.why p { margin-top: .6rem; color: #B8C7D0; }

/* ==========================================================================
   Who we serve
   ========================================================================== */
.sector-grid { list-style: none; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.sector__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 10px;
  background: var(--light-100);
  display: grid; place-items: center; flex-shrink: 0;
}
.sector__icon svg { width: 1.375rem; height: 1.375rem; color: var(--teal-600); }
.sector h3 { font-size: 1.0625rem; line-height: 1.3; }
.sector p { font-size: .9375rem; color: var(--muted); margin-top: .35rem; line-height: 1.5; }

/* ==========================================================================
   Quote section
   ========================================================================== */
.quote-layout {
  display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start;
  grid-template-areas: "head" "form" "info";
}
.quote-head { grid-area: head; }
.quote-info { grid-area: info; }
.form-card { grid-area: form; }
@media (min-width: 960px) {
  .quote-layout {
    grid-template-columns: 5fr 7fr; column-gap: 3.5rem; row-gap: 0;
    grid-template-areas: "head form" "info form";
    grid-template-rows: auto 1fr;
  }
}

.steps { list-style: none; counter-reset: step; display: grid; gap: 1.25rem; margin-top: 0; }
@media (min-width: 960px) { .steps { margin-top: 2rem; } }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; }
.steps li::before {
  content: counter(step);
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-900); color: var(--teal-300);
  font: 700 .9375rem/1 var(--font-display);
}
.steps strong { display: block; color: var(--ink); font-family: var(--font-display); }
.steps span { font-size: .9375rem; color: var(--muted); }

.facts {
  margin-top: 2rem;
  background: var(--light-100);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.facts dl { margin: 0; display: grid; gap: .85rem; }
.facts dt { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-600); }
.facts dd { margin: .1rem 0 0; font-size: .9375rem; color: var(--ink-2); }

.direct-contact { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* Form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
@media (min-width: 640px) { .form-card { padding: 2.25rem; } }
.form-card h3 { font-size: 1.375rem; }
.form-card__intro { margin-top: .35rem; font-size: .9375rem; color: var(--muted); }
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field label, .field legend {
  display: block; margin-bottom: .4rem;
  font-size: .9375rem; font-weight: 700; color: var(--ink);
}
.field .req { color: var(--error); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .875rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  font: 400 1rem/1.4 var(--font-body);   /* 16px prevents iOS zoom on focus */
  color: var(--ink);
  background: var(--white);
  border: 1px solid #A9C6CE;
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B8594; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(31, 149, 163, .25);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.error-msg { display: block; margin-top: .35rem; font-size: .875rem; font-weight: 600; color: var(--error); }
.error-msg:empty { display: none; }

.check-group { display: grid; gap: .55rem; }
.field .check, .check {
  display: flex; margin: 0; gap: .7rem; align-items: flex-start;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2);
  transition: border-color .15s ease, background-color .15s ease;
}
.check:hover { border-color: #9FCBD3; }
.check:has(input:checked) { border-color: var(--teal-500); background: #F2FAFB; }
.check input {
  width: 1.2rem; height: 1.2rem; margin: .15rem 0 0;
  accent-color: var(--teal-600); flex-shrink: 0;
}
.field .check--plain { border: 0; padding: 0; background: none !important; }
.check a { font-weight: 700; }
.check small { display: block; color: var(--muted); font-weight: 400; }

/* Honeypot field: hidden from people, visible to bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .9rem; }
.form-footer .btn { width: 100%; }
@media (min-width: 640px) { .form-footer .btn { width: auto; align-self: flex-start; } }
.form-small { font-size: .8125rem; color: var(--muted); }

.form-alert {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
}
.form-alert[hidden] { display: none; }
.form-alert--error { background: #FEF3F2; border: 1px solid #FDA29B; color: #7A271A; }
.form-alert--error a { color: #7A271A; font-weight: 700; }

/* Success panel */
.form-success { text-align: left; }
.form-success[hidden] { display: none; }
.form-success__icon {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: #DDF3F5; color: var(--teal-600);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.form-success__icon svg { width: 1.5rem; height: 1.5rem; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { margin-top: .6rem; }
.form-success .ref {
  display: inline-block; margin-top: 1rem;
  padding: .5rem .8rem; border-radius: var(--radius-sm);
  background: var(--light-100); color: var(--ink);
  font-weight: 700;
}
.form-success .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Spinner inside submit button */
.spinner {
  width: 1rem; height: 1rem; border-radius: 50%;
  border: 2px solid rgba(10, 22, 32, .3); border-top-color: var(--navy-900);
  animation: spin .7s linear infinite;
}
.spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   About
   ========================================================================== */
.about-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .about-layout { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.about-copy p + p { margin-top: 1rem; }
.about-copy p { font-size: 1.0625rem; }
.about-copy .btn { margin-top: 1.75rem; }

.details-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.details-card h3 { font-size: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--light-100); }
.details-card dl { margin: 0; }
.details-card .row {
  display: grid; gap: .15rem;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--light-100);
}
.details-card .row:last-child { border-bottom: 0; }
@media (min-width: 560px) { .details-card .row { grid-template-columns: 11rem 1fr; gap: 1rem; } }
.details-card dt { font-size: .875rem; color: var(--muted); }
.details-card dd { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: #B8C7D0;
  padding-block: 3.5rem 6.5rem;  /* extra bottom space for mobile action bar */
  border-top: 1px solid rgba(255, 255, 255, .08);
}
@media (min-width: 900px) { .site-footer { padding-bottom: 2.5rem; } }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.site-footer h2 {
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1rem;
}
.site-footer a { color: #DCE6EB; }
.site-footer a:hover { color: var(--white); }
.footer-brand p { margin-top: .75rem; font-size: .9375rem; max-width: 26rem; }
.footer-brand .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.footer-list { list-style: none; display: grid; gap: .7rem; font-size: .9375rem; }
.footer-list li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-list svg { width: 1.05rem; height: 1.05rem; color: var(--teal-300); flex-shrink: 0; margin-top: .25rem; }
.footer-dl { margin: 0; display: grid; gap: .55rem; font-size: .9375rem; }
.footer-dl div { display: flex; justify-content: space-between; gap: 1rem; }
.footer-dl dt { color: #8FA4B0; }
.footer-dl dd { margin: 0; color: var(--white); text-align: right; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .875rem; color: #8FA4B0;
}
.footer-bottom nav { display: flex; gap: 1.25rem; }

/* ==========================================================================
   Mobile action bar (call / WhatsApp / quote) — phones only
   ========================================================================== */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(10, 22, 32, .97);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 46px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 700; text-decoration: none;
  color: var(--white); background: var(--navy-700);
}
.action-bar a svg { width: 1.05rem; height: 1.05rem; }
.action-bar .is-primary { background: var(--amber-500); color: var(--navy-900); }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ==========================================================================
   Legal / simple pages (privacy notice, 404)
   ========================================================================== */
.legal { background: var(--light-100); padding-block: 3rem 4rem; }
@media (min-width: 768px) { .legal { padding-block: 4rem 5rem; } }
.legal__card {
  max-width: 48rem; margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (min-width: 640px) { .legal__card { padding: 2.75rem; } }
.legal__card h1 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); }
.legal__meta { margin-top: .5rem; font-size: .9375rem; color: var(--muted); }
.legal__card h2 { font-size: 1.1875rem; margin-top: 2.25rem; }
.legal__card p, .legal__card li { margin-top: .75rem; }
.legal__card ul { padding-left: 1.25rem; }
.legal__card li { margin-top: .4rem; }
.legal__card table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9375rem; }
.legal__card th, .legal__card td { text-align: left; vertical-align: top; padding: .65rem .5rem; border-bottom: 1px solid var(--line); }
.legal__card th { color: var(--ink); font-weight: 700; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; margin-bottom: 1.5rem; text-decoration: none; }
.back-link svg { width: 1rem; height: 1rem; }

/* Keep button text colours inside the footer (footer link colour would otherwise override them) */
.site-footer .btn--primary, .site-footer .btn--primary:hover { color: var(--navy-900); }
.site-footer .btn--ghost, .site-footer .btn--ghost:hover { color: var(--white); }

/* Small utilities (keeps HTML free of inline styles, so the CSP can block inline styles) */
.mt-1 { margin-top: 1rem; }
.mt-cta { margin-top: 1.5rem; }
.section-head--flush { margin-bottom: 0; }
.about-title { font-size: clamp(1.75rem, 3.2vw, 2.375rem); margin-bottom: 1.25rem; }
.header-actions--always .btn--primary { display: inline-flex; }
.site-footer--simple { padding-bottom: 2.5rem; }
.footer-bottom--flush { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__card--center { text-align: center; }
.center-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Phones: stronger, even scrim so hero text never sits on bright skyline lines */
@media (max-width: 767px) {
  .hero__bg::after { background: linear-gradient(180deg, rgba(10, 22, 32, .82) 0%, rgba(10, 22, 32, .72) 60%, rgba(10, 22, 32, .9) 100%); }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
