/* ===========================================================
   Wheely Services — Global Stylesheet
   Design tokens per approved handoff (Claude Design export)
   =========================================================== */

:root {
  --navy: #0A2540;
  --navy-darker: #081C33;
  --teal: #00A896;
  --teal-hover: #007F72;
  --teal-light: #4FD8C4;
  --white: #FFFFFF;
  --gray-bg: #F6F8FA;
  --border-gray: #E8ECEF;
  --input-border: #D5DCE2;
  --text-dark: #0A2540;
  --text-body: #293C50;
  --text-secondary: #556575;
  --text-secondary-2: #3A4552;
  --muted-on-navy: #B9C6D4;
  --muted-on-navy-2: #8FA3B5;
  --muted-on-footer: #5E7086;
  --muted-on-footer-2: #8896A3;

  --radius-card: 8px;
  --radius-control: 6px;
  --radius-pill: 999px;
  --max-width: 1200px;

  --section-pad: 88px;
  --section-pad-sm: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); }

h1, h2, h3, h4 { margin: 0; color: var(--text-dark); letter-spacing: -0.02em; }

p { margin: 0; line-height: 1.7; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

@media (max-width: 720px) {
  .section { padding: var(--section-pad-sm) 0; }
}

.section--navy   { background: var(--navy); color: var(--white); }
.section--gray   { background: var(--gray-bg); }
.section--teal   { background: var(--teal); color: var(--white); }
.section--navy-darker { background: var(--navy-darker); color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 14px;
}
.section--navy .eyebrow,
.section--navy-darker .eyebrow { color: var(--teal-light); }

.h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.1; }
.h2 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; line-height: 1.2; }
.lede { font-size: 18px; line-height: 1.65; color: var(--text-secondary); max-width: 640px; }
.section--navy .lede { color: var(--muted-on-navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-control);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-hover); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #0d2f52; }
.btn-block { width: 100%; }
.btn:disabled {
  background: #C7CFD6;
  color: #8A96A1;
  cursor: not-allowed;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--border-gray);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand svg { flex-shrink: 0; }
.brand .accent { color: var(--teal); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav-links a:not(.btn) {
  color: var(--text-dark);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a.active { color: var(--teal); font-weight: 600; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    cursor: pointer;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 22px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .site-header { position: sticky; }
}

/* Simplified header (Register page) */
.site-header--simple .nav-links a.btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,150,0.35) 0%, rgba(0,168,150,0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-band {
  background: var(--navy);
  text-align: center;
}
.hero-band .h1, .hero-band .lede { margin: 0 auto; }
.hero-band .lede { color: var(--muted-on-navy); }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
.stat-strip .stat-value { font-size: 30px; font-weight: 800; color: var(--white); }
.stat-strip .stat-label { font-size: 13px; color: var(--muted-on-navy-2); margin-top: 4px; }

/* Trust bar */
.trust-bar {
  background: var(--gray-bg);
  text-align: center;
  padding: 20px 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-gray);
}
.trust-bar strong { color: var(--text-dark); }

/* ---------- Placeholder art (replaces photography slots) ---------- */
.art {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(135deg, #0F3459 0%, #0A2540 55%, #062038 100%);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
}
.art::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(0,168,150,0.45) 0%, rgba(0,168,150,0) 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 34px);
}
.art-label {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-on-navy);
  background: rgba(8,28,51,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.art--light {
  background: linear-gradient(135deg, #EAF2F1 0%, #DDEDEB 60%, #E4EEED 100%);
}
.art--light::after {
  background:
    radial-gradient(circle at 25% 25%, rgba(0,168,150,0.25) 0%, rgba(0,168,150,0) 55%),
    repeating-linear-gradient(115deg, rgba(10,37,64,0.035) 0 2px, transparent 2px 34px);
}
.art--light .art-label {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.75);
  border-color: rgba(10,37,64,0.12);
}
.art--tall { min-height: 380px; }
.art--round { border-radius: 50%; min-height: 0; aspect-ratio: 1/1; padding: 0; }
.art--round .art-label { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); }

/* Real photo variant — fills the same card slot as the placeholder art */
.art-photo { padding: 0; align-items: stretch; height: 340px; min-height: 0; }
.art-photo.art--tall { height: 420px; }
.art-photo::after { display: none; }
.art-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .art-photo { height: 260px; }
  .art-photo.art--tall { height: 320px; }
}

/* ---------- Grids & Cards ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-text { order: 2; }
}
.two-col.reverse .col-art { order: -1; }
@media (max-width: 860px) {
  .two-col.reverse .col-art { order: 0; }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.badge-num {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-secondary); }

.icon-swatch {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(0,168,150,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--teal);
}

/* Service tag card (home preview) */
.service-tag {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-card);
  padding: 18px;
  background: var(--white);
}
.service-tag h4 { font-size: 14.5px; font-weight: 700; margin: 0 0 4px; }
.service-tag p { font-size: 13px; color: var(--text-secondary); }

/* Branch pills */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 14px;
  color: var(--muted-on-navy);
}
a.pill { text-decoration: none; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
a.pill:hover, a.pill:focus-visible { background: var(--teal); border-color: var(--teal); color: var(--white); }
a.pill:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }

/* UK branch map */
.uk-map-wrap { display: flex; justify-content: center; }
.uk-map-stage { position: relative; width: 100%; max-width: 260px; }
.uk-map { width: 100%; height: auto; display: block; }
.uk-map-fill {
  fill: rgba(79, 216, 196, 0.10);
  stroke: var(--teal-light);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.uk-map-pins { position: absolute; inset: 0; }
.uk-pin-marker { position: absolute; transform: translate(-50%, -50%); }
.uk-pin-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  cursor: pointer;
}
.uk-pin-dot::after {
  content: "";
  display: block;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 1.5px solid var(--navy-darker);
  transition: background 0.15s ease, transform 0.15s ease;
}
.uk-pin-dot--hq::after { width: 16px; height: 16px; background: var(--white); }
.uk-pin-marker:hover .uk-pin-dot::after,
.uk-pin-marker:focus-within .uk-pin-dot::after { background: var(--white); transform: scale(1.15); }
.uk-pin-dot:focus-visible { outline: none; }
.uk-pin-dot:focus-visible::after { outline: 2px solid var(--teal-light); outline-offset: 2px; }

.uk-pin-card {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  z-index: 5;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  text-align: left;
  box-shadow: 0 16px 32px rgba(2, 12, 24, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.uk-pin-marker:hover .uk-pin-card,
.uk-pin-marker:focus-within .uk-pin-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.uk-pin-card strong { display: block; font-size: 13.5px; color: var(--text-dark); margin-bottom: 5px; }
.uk-pin-card span { display: block; font-size: 12px; line-height: 1.5; color: var(--text-secondary); }

/* Case study card */
.case-card {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-card);
  padding: 26px;
  background: var(--white);
}
.case-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F3459, #0A2540);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
.branch-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal-hover);
  background: rgba(0,168,150,0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* Closing CTA banner */
.cta-banner {
  text-align: center;
}
.cta-banner .h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.9); margin-top: 10px; }
.cta-banner .btn { margin-top: 26px; }

/* ---------- Milestones (About) ---------- */
.milestones { max-width: 720px; margin: 0 auto; }
.milestone-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-gray);
}
.milestone-row:last-child { border-bottom: none; }
.milestone-year { font-weight: 800; color: var(--teal-hover); font-size: 17px; }
.milestone-text { color: var(--text-secondary); }
.milestone-text strong { color: var(--text-dark); }

/* ---------- Forms ---------- */
.form-shell {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-card);
  padding: 36px;
  max-width: 620px;
  margin: 0 auto;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-control);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.field-hint { font-size: 12.5px; color: var(--text-secondary); margin-top: 6px; }

/* Radio-card / checkbox-card pattern */
.option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-control);
  cursor: pointer;
  background: var(--white);
  margin-bottom: 10px;
  transition: border-color .12s ease, background-color .12s ease;
}
.option-row:hover { border-color: var(--teal-light); }
.option-row.selected {
  border-color: var(--teal);
  background: rgba(0,168,150,0.06);
}
.option-row input { position: absolute; opacity: 0; pointer-events: none; }
.option-mark {
  width: 18px; height: 18px;
  border: 1.5px solid var(--input-border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}
.option-mark.round { border-radius: 50%; }
.option-mark.square { border-radius: 4px; }
.option-row.selected .option-mark {
  border-color: var(--teal);
  background: var(--teal);
}
.option-label { font-size: 14.5px; color: var(--text-dark); }

/* Pill select (Register step 4) */
.pill-select { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-option {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--input-border);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  background: var(--white);
}
.pill-option.selected {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

/* Progress bar (Register) */
.progress-shell { max-width: 620px; margin: 0 auto 36px; }
.progress-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.progress-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--border-gray);
  overflow: hidden;
}
.progress-bar.filled { background: var(--teal); }
.progress-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.progress-labels .step-label.current { color: var(--teal-hover); }

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

/* Confirmation panel */
.confirm-panel { text-align: center; padding: 20px 0; }
.confirm-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,168,150,0.12);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 28px;
  font-weight: 800;
}

/* ---------- Branch directory (Contact) ---------- */
.branch-card {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-card);
  padding: 22px;
  background: var(--white);
}
.branch-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.branch-card .line { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 4px; }

/* ---------- FAQ / accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--border-gray);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-dark);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--teal);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; color: var(--text-secondary); font-size: 14.5px; }

/* Case study expand */
.case-details summary {
  cursor: pointer;
  list-style: none;
}
.case-details summary::-webkit-details-marker { display: none; }
.case-details .expand-hint { color: var(--teal); font-size: 13.5px; font-weight: 600; margin-top: 12px; display: inline-block; }
.case-details[open] .expand-hint { display: none; }
.case-details-body { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-grid h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted-on-footer-2); font-size: 14px; }
.footer-grid a:hover { color: var(--white); }
.footer-about p { color: var(--muted-on-footer-2); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted-on-footer);
}
.footer-disclaimer { max-width: 760px; color: var(--muted-on-footer); font-size: 12.5px; margin-top: 18px; line-height: 1.6; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.max-720 { max-width: 720px; margin-left: auto; margin-right: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--teal); color: var(--white);
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Legal content (Privacy Policy / Terms of Service) ---------- */
.legal-meta { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 32px; }
.legal-content h2 { font-size: 21px; margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 16.5px; margin-top: 22px; }
.legal-content p { color: var(--text-body); font-size: 16px; margin-top: 12px; }
.legal-content ul, .legal-content ol { margin: 12px 0 0; padding-left: 22px; }
.legal-content li { color: var(--text-body); font-size: 16px; line-height: 1.7; margin-top: 8px; }
.legal-content a { text-decoration: underline; }
