/* Public site. Identity from the original landing page: navy + gold, Fraunces + Inter.
   Fonts are self-hosted (no third-party requests). Content is visible without JS and
   without scroll animations; motion is reduced when the visitor asks for it. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0e1a2b;
  --ink-2: #16253d;
  --ink-3: #1f3352;
  --gold: #c9a24b;
  --gold-light: #e4c878;
  --gold-text: #8a6a1f; /* gold on light backgrounds, AA contrast */
  --cream: #f8f5ec;
  --cream-2: #efe9da;
  --charcoal: #20242e;
  --muted: #535b68;
  --white: #ffffff;
  --green: #2f7d5a;
  --radius: 14px;
  --shadow: 0 20px 60px -20px rgb(14 26 43 / 0.35);
  --shadow-sm: 0 8px 24px -12px rgb(14 26 43 / 0.25);
  --maxw: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 76px; } /* keep anchored sections clear of the sticky header */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold-light); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { margin-top: 16px; font-size: 16.5px; color: var(--muted); }
.on-dark .section-head p { color: rgb(255 255 255 / 0.72); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: var(--sans);
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgb(201 162 75 / 0.55); }
.btn-outline { border-color: rgb(255 255 255 / 0.4); color: var(--white); }
.btn-outline:hover { background: rgb(255 255 255 / 0.1); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgb(14 26 43 / 0.97); color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; }
.brand { font-family: var(--serif); font-size: 19px; text-decoration: none; color: var(--white); }
.brand span { color: var(--gold-light); }
.site-header .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 120% at 85% -10%, #1b2e4a 0%, var(--ink) 55%, #081120 100%);
  color: var(--white); padding: 88px 0 96px;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub { margin-top: 22px; font-size: 18px; color: rgb(255 255 255 / 0.8); max-width: 560px; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-portrait { justify-self: center; position: relative; }
.hero-portrait img {
  width: min(360px, 80vw); aspect-ratio: 720 / 835; object-fit: cover; border-radius: 22px;
  box-shadow: var(--shadow); border: 1px solid rgb(255 255 255 / 0.08); background: #1b2e4a;
}
.hero-badge {
  position: absolute; bottom: -20px; left: -20px; background: var(--white); color: var(--ink);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-sm);
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.hero-badge span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Trust strip (static, no marquee) ---------- */
.trust { background: var(--ink-2); color: var(--white); padding: 22px 0; border-top: 1px solid rgb(255 255 255 / 0.08); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 44px; }
.trust-item { display: flex; align-items: baseline; gap: 8px; font-size: 14.5px; color: rgb(255 255 255 / 0.9); }
.trust-item strong { color: var(--gold-light); font-family: var(--serif); font-size: 19px; }
.trust-item a { color: var(--gold-light); font-weight: 600; }

/* ---------- Live results ---------- */
.live { padding: 110px 0; background: var(--cream); }
.live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.client-card {
  background: var(--white); border-radius: 18px; padding: 28px; border: 1px solid rgb(14 26 43 / 0.08);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.client-card h3 { font-size: 21px; }
.client-loc { color: var(--muted); font-size: 14.5px; }
.client-pending {
  background: var(--cream); border: 1px dashed rgb(14 26 43 / 0.2); border-radius: 12px; padding: 18px;
  color: var(--muted); font-size: 14.5px;
}
.client-card .gbp-link { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.source-line { font-size: 12.5px; color: var(--muted); }
.headlines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.headline { display: flex; flex-direction: column; gap: 2px; background: var(--cream); border-radius: 12px; padding: 12px 14px; }
.headline-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.headline strong { font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--ink); }
.headline-note { font-size: 12.5px; color: var(--muted); }
.client-chart { margin: 0; }
.client-chart figcaption { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.chart { width: 100%; height: auto; display: block; }
.client-data summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); }
.client-data table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.client-data th, .client-data td { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgb(14 26 43 / 0.1); }
.client-data td { font-variant-numeric: tabular-nums; }

/* ---------- Past results ---------- */
.results { padding: 110px 0; background: var(--ink); color: var(--white); }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.result-card { background: var(--ink-2); border-radius: 18px; padding: 26px; border: 1px solid rgb(255 255 255 / 0.08); }
.result-tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.result-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 14px 0 18px; }
.result-stat strong { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2rem); }
.result-stat span { font-size: 12px; color: rgb(255 255 255 / 0.62); text-transform: uppercase; letter-spacing: .05em; }
.result-shot { border-radius: 10px; overflow: hidden; border: 1px solid rgb(255 255 255 / 0.12); background: #fff; }
.result-note { margin-top: 12px; font-size: 14px; color: rgb(255 255 255 / 0.72); }
.results-footnote { text-align: center; margin-top: 36px; font-size: 13.5px; color: rgb(255 255 255 / 0.62); }

/* ---------- Calculator ---------- */
.calc { padding: 100px 0 0; background: var(--cream-2); }
.calc .wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.calc h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.calc-intro p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 16.5px; max-width: 460px; }
.calc-card { background: var(--white); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid rgb(14 26 43 / 0.08); }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.calc-result {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--ink); color: var(--white);
  border-radius: 12px; padding: 18px 20px; margin-top: 4px;
}
.calc-result span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: rgb(255 255 255 / 0.72); }
.calc-result strong { font-family: var(--serif); font-size: 26px; color: var(--gold-light); }
.calc-error { color: #9b2c22; font-size: 14px; font-weight: 600; margin: 4px 0; }
.calc-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Free audit ---------- */
.audit { padding: 110px 0; background: var(--cream-2); }
.audit .wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }
.audit h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.audit-sub { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 470px; }
.audit-card { background: var(--ink); color: var(--white); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.audit-card h3 { font-size: 24px; color: var(--gold-light); }
.audit-price { margin-top: 6px; font-size: 15px; color: rgb(255 255 255 / 0.75); }
.check-list { list-style: none; padding: 0; margin: 24px 0 28px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 15px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08); color: rgb(255 255 255 / 0.92);
}
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--gold-light); margin-top: 2px; }
.audit-card .btn { width: 100%; }

/* ---------- How it works ---------- */
.how { padding: 110px 0; background: var(--cream); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.how-card { background: var(--white); border-radius: 16px; padding: 32px 28px; border: 1px solid rgb(14 26 43 / 0.08); }
.how-num { font-family: var(--serif); font-size: 15px; color: var(--gold-text); font-weight: 700; letter-spacing: .08em; }
.how-card h3 { font-size: 19px; margin: 14px 0 10px; }
.how-card p { color: var(--muted); font-size: 15px; }

/* ---------- Industries ---------- */
.industries { padding: 0 0 110px; background: var(--cream); }
.industry-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.industry-list li {
  background: var(--white); border: 1px solid rgb(14 26 43 / 0.1); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink);
}

/* ---------- Certificates ---------- */
.certs { padding: 110px 0; background: var(--ink); color: var(--white); }
.certs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.cert-card { background: var(--ink-2); border-radius: 16px; overflow: hidden; border: 1px solid rgb(255 255 255 / 0.08); display: flex; flex-direction: column; }
.cert-img { background: #fff; padding: 12px; }
.cert-img img { border-radius: 6px; }
.cert-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cert-body h3 { font-size: 18px; }
.cert-body p { color: rgb(255 255 255 / 0.72); font-size: 14px; }
.cert-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.cert-verify { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--gold-light); }
.certs-note { text-align: center; margin-top: 28px; font-size: 13.5px; color: rgb(255 255 255 / 0.62); }

/* ---------- About ---------- */
.about { padding: 110px 0; background: var(--cream); }
.about .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.about-photo img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; max-width: 420px; }
.about h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.about p { margin-top: 18px; color: var(--muted); font-size: 16.5px; max-width: 580px; }
.guarantee {
  margin-top: 28px; background: var(--white); border: 1.5px solid var(--gold); border-radius: 14px;
  padding: 22px 26px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.guarantee svg { width: 30px; height: 30px; color: var(--gold-text); flex: none; }
.guarantee strong { display: block; font-family: var(--serif); font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.guarantee span { font-size: 14.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; background: var(--cream-2); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgb(14 26 43 / 0.14); padding: 20px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 16.5px; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--gold-text); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 700px; }

/* ---------- Enquiry ---------- */
.enquiry { padding: 110px 0; background: var(--ink); color: var(--white); }
.enquiry .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.enquiry h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.enquiry-intro p { margin-top: 18px; color: rgb(255 255 255 / 0.75); font-size: 16.5px; max-width: 460px; }
.enquiry-alt { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.lead-form { background: var(--white); color: var(--charcoal); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field-hint { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid rgb(14 26 43 / 0.2);
  font: inherit; font-size: 15px; color: var(--charcoal); background: var(--cream);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgb(201 162 75 / 0.2); background: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 18px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { width: 100%; }
.privacy-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.privacy-note a { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: #081120; color: rgb(255 255 255 / 0.75); padding: 56px 0 28px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  padding-bottom: 30px; border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.footer-brand { font-family: var(--serif); font-size: 22px; color: var(--white); }
.footer-brand span { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--white); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-bottom a { color: rgb(255 255 255 / 0.85); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgb(37 211 102 / 0.45); z-index: 60;
}
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .audit .wrap, .about .wrap, .enquiry .wrap, .calc .wrap { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 80px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .how-grid { grid-template-columns: 1fr; }
  .about-photo img { margin: 0 auto; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .live, .results, .audit, .how, .certs, .about, .faq, .enquiry { padding: 72px 0; }
  .industries { padding-bottom: 72px; }
  .site-header .brand span { display: none; }
  .audit-card, .lead-form { padding: 24px; }
  .form-grid, .calc-fields { grid-template-columns: 1fr; }
  .calc { padding-top: 72px; }
  .calc-card { padding: 22px; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -24px; white-space: nowrap; }
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
