/* ============================================================
   Roadside Assistance 247 UK — main.css
   Design: navy + hazard amber, hi-vis stripe as the one bold move.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy:        #0B1D36;
  --navy-2:      #122A4D;
  --navy-3:      #1B3A66;
  --amber:       #FFB400;
  --amber-dark:  #E39E00;
  --amber-soft:  #FFF3D1;
  --ink:         #15202B;
  --muted:       #5B6675;
  --bg:          #F4F6F9;
  --surface:     #FFFFFF;
  --line:        #E1E6ED;
  --success:     #1E8E5A;
  --error:       #C8231F;
  --white:       #FFFFFF;

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-sm:   clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-md:   clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
  --fs-lg:   clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --fs-xl:   clamp(2rem, 1.5rem + 2.2vw, 3.4rem);
  --fs-hero: clamp(2.25rem, 1.6rem + 3vw, 4rem);

  --s-1: 0.25rem;  --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;  --s-9: 6rem;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 28px rgba(11, 29, 54, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 29, 54, 0.22);
  --dur: 180ms;
  --max: 1200px;

  --hazard: repeating-linear-gradient(
    -45deg, var(--amber) 0 18px, var(--navy) 18px 36px
  );
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
}
img, svg, video { max-width: 100%; display: block; }
img:not([src]), img[src=""], img.img-missing { visibility: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy-3); text-decoration-thickness: 1px; text-underline-offset: 2px; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Layout utilities ---------- */
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 5vw, 5.5rem); }
.section-alt { background: var(--bg); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy a { color: var(--amber); }
.section-head { max-width: 46rem; margin-bottom: var(--s-7); }
.section-head h2 { font-size: var(--fs-xl); margin-bottom: var(--s-3); }
.section-head p { font-size: var(--fs-md); color: var(--muted); }
.section-navy .section-head p { color: #C9D3E2; }
.kicker {
  display: inline-block; font-size: var(--fs-sm); font-weight: 700;
  color: var(--amber-dark); margin-bottom: var(--s-2); letter-spacing: 0.02em;
}
.section-navy .kicker { color: var(--amber); }
.lede { font-size: var(--fs-md); color: var(--muted); }
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--amber); color: var(--navy); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: var(--s-4); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 0.85rem 1.4rem; border-radius: var(--radius); font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  line-height: 1.2; min-height: 48px;
  transition: background var(--dur) ease, color var(--dur) ease, transform var(--dur) ease, box-shadow var(--dur) ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.65; cursor: wait; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 4px 0 var(--amber-dark); }
.btn-primary:hover { background: #FFC233; }
.btn-primary:active { box-shadow: 0 2px 0 var(--amber-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-lg { font-size: var(--fs-md); padding: 1.05rem 1.8rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 50;
  background: var(--navy); color: var(--white);
  border-bottom: 4px solid var(--amber);
  transition: box-shadow var(--dur) ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 68px; padding-block: var(--s-2);
}
.brand { display: flex; align-items: center; text-decoration: none; color: var(--white); }
.brand img { height: 52px; width: auto; }
@media (max-width: 480px) { .brand img { height: 42px; } }

.site-nav ul { display: flex; gap: var(--s-2); }
.site-nav a {
  display: block; padding: var(--s-2) var(--s-3); color: #DCE4F0; text-decoration: none;
  font-weight: 600; border-radius: 6px; transition: background var(--dur) ease, color var(--dur) ease;
}
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.site-nav a[aria-current="page"] { color: var(--amber); }
.header-call { display: none; }
.header-call .phone-number { font-size: 1.05rem; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: transparent; border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius); color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.header-phone-mobile {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: var(--amber); color: var(--navy); border-radius: var(--radius);
}
.header-phone-mobile svg { width: 24px; height: 24px; }

@media (max-width: 899px) {
  .site-nav {
    position: fixed; inset: 0; background: var(--navy); padding-top: 5rem; padding: var(--s-5) var(--s-4);
    transform: translateX(100%); transition: transform 240ms ease; overflow-y: auto; z-index: 49;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: var(--s-1); }
  .site-nav a { font-size: 1.25rem; padding: var(--s-4); border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .site-nav .nav-cta { margin-top: var(--s-5); }
  .site-nav .nav-cta a { background: var(--amber); color: var(--navy); border-radius: var(--radius); text-align: center; }
}
@media (min-width: 900px) {
  .nav-toggle, .header-phone-mobile, .site-nav .nav-cta { display: none; }
  .header-call { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  background: var(--navy-2); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-image, none);
  background-size: cover; background-position: center;
  opacity: 0.5;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,29,54,0.96) 0%, rgba(11,29,54,0.82) 55%, rgba(18,42,77,0.6) 100%);
}
.hero-stripe { height: 14px; background: var(--hazard); }
.hero-inner {
  display: grid; gap: var(--s-7); padding-block: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: rgba(255,180,0,0.14); border: 1px solid rgba(255,180,0,0.5);
  color: var(--amber); font-weight: 700; font-size: var(--fs-sm);
  padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: var(--s-4);
}
.hero-badge .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255,180,0,0.6); animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,180,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,180,0,0); } }
.hero h1 { font-size: var(--fs-hero); margin-bottom: var(--s-4); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lede { color: #D6DEEA; max-width: 36rem; margin-bottom: var(--s-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.hero-phone {
  display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none;
  background: var(--amber); color: var(--navy); padding: 0.9rem 1.5rem; border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--amber-dark); transition: background var(--dur) ease;
}
.hero-phone:hover { background: #FFC233; }
.hero-phone svg { width: 28px; height: 28px; flex: none; }
.hero-phone .phone-number { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; line-height: 1; }
.hero-phone small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.hero-points { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); }
.hero-points li { display: flex; align-items: center; gap: var(--s-2); font-weight: 600; color: #E7ECF4; font-size: var(--fs-sm); }
.hero-points svg { width: 20px; height: 20px; color: var(--amber); flex: none; }

@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-8); }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; background: var(--navy-2); color: var(--white);
  padding-block: clamp(3rem, 6vw, 5rem); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-image, none); background-size: cover; background-position: center; opacity: 0.45;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,29,54,0.95), rgba(18,42,77,0.75));
}
.page-hero h1 { font-size: var(--fs-xl); margin-bottom: var(--s-3); }
.page-hero .lede { color: #D6DEEA; max-width: 42rem; }
.breadcrumb { display: flex; gap: var(--s-2); font-size: var(--fs-sm); color: #AEBBD0; margin-bottom: var(--s-4); }
.breadcrumb a { color: #D6DEEA; }

/* ---------- Lead form card ---------- */
.form-card {
  background: var(--surface); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--amber);
}
.form-card h2 { font-size: var(--fs-lg); margin-bottom: var(--s-1); }
.form-card > p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--s-5); }
.form-grid { display: grid; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: var(--s-1); }
.field label { font-weight: 700; font-size: var(--fs-sm); }
.field label .req { color: var(--error); }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 0.9rem; border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(27,58,102,0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field textarea { min-height: 110px; resize: vertical; }
.field-error { min-height: 1.1em; font-size: 0.8rem; color: var(--error); font-weight: 600; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: var(--s-3); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field-full { grid-column: 1 / -1; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--amber-soft); border-block: 1px solid #F3DFA0; }
.trust-strip ul {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3) var(--s-5);
  padding-block: var(--s-4); font-weight: 700; color: var(--navy); font-size: var(--fs-sm);
}
.trust-strip li { display: flex; align-items: center; gap: var(--s-2); }
.trust-strip svg { width: 22px; height: 22px; color: var(--amber-dark); flex: none; }
@media (min-width: 800px) { .trust-strip ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Services grid ---------- */
.services-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur) ease, box-shadow var(--dur) ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .card-media { aspect-ratio: 16 / 9; background: var(--navy-2); position: relative; overflow: hidden; }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card .card-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--hazard);
}
.service-card .card-body { padding: var(--s-5); flex: 1; display: flex; flex-direction: column; gap: var(--s-3); }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.service-card .card-link { font-weight: 700; color: var(--navy); text-decoration: none; }
.service-card .card-link:hover { text-decoration: underline; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--amber-soft); color: var(--navy);
  display: grid; place-items: center;
}
.service-icon svg { width: 26px; height: 26px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--s-5); counter-reset: step; }
.step {
  position: relative; padding: var(--s-5); padding-left: 4.5rem;
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: var(--s-5); top: var(--s-5);
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--navy); color: var(--amber); font-weight: 800; display: grid; place-items: center;
}
.step h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.step p { color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Why us / feature list ---------- */
.feature-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { display: flex; gap: var(--s-4); align-items: flex-start; }
.feature-icon {
  flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,180,0,0.15); color: var(--amber);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.15rem; margin-bottom: var(--s-1); }
.feature p { font-size: var(--fs-sm); color: #C9D3E2; }
.section:not(.section-navy) .feature p { color: var(--muted); }
.section:not(.section-navy) .feature-icon { background: var(--amber-soft); color: var(--navy); }

/* ---------- Split section (image + text) ---------- */
.split { display: grid; gap: var(--s-6); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-2); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: var(--hazard); }
.split h2 { font-size: var(--fs-xl); margin-bottom: var(--s-4); }
.split p { color: var(--muted); }
.check-list { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.check-list li { display: flex; gap: var(--s-3); align-items: flex-start; font-weight: 600; }
.check-list svg { width: 22px; height: 22px; color: var(--success); flex: none; margin-top: 2px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split.split-reverse .split-media { order: 2; }
}

/* ---------- Stats / facts ---------- */
.facts { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); }
.fact { padding: var(--s-5); background: rgba(255,255,255,0.06); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); }
.fact strong { display: block; font-size: var(--fs-lg); color: var(--amber); line-height: 1.1; margin-bottom: var(--s-1); }
.fact span { font-size: var(--fs-sm); color: #C9D3E2; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Service detail blocks (services page) ---------- */
.service-detail { display: grid; gap: var(--s-5); padding-block: var(--s-7); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-detail:first-of-type { border-top: 0; }
.service-detail .detail-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy-2); }
.service-detail .detail-media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail h2 { font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.service-detail p { color: var(--muted); }
.service-detail .btn { margin-top: var(--s-4); }
@media (min-width: 900px) {
  .service-detail { grid-template-columns: 2fr 3fr; gap: var(--s-7); align-items: center; }
  .service-detail:nth-of-type(even) .detail-media { order: 2; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-3); max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-5); cursor: pointer; font-weight: 700; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--amber-soft); color: var(--navy); display: grid; place-items: center; font-weight: 800;
  transition: transform var(--dur) ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--amber); }
.faq .faq-body { padding: 0 var(--s-5) var(--s-5); color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 12px; background: var(--hazard); }
.cta-inner { padding-block: clamp(3rem, 6vw, 5rem); display: grid; gap: var(--s-5); align-items: center; text-align: center; }
.cta-inner h2 { font-size: var(--fs-xl); }
.cta-inner p { color: #C9D3E2; font-size: var(--fs-md); max-width: 40rem; margin-inline: auto; }
.cta-inner .hero-phone { justify-self: center; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: var(--s-6); }
.contact-info { display: grid; gap: var(--s-4); align-content: start; }
.contact-item {
  display: flex; gap: var(--s-4); padding: var(--s-5); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.contact-item .feature-icon { background: var(--amber-soft); color: var(--navy); }
.contact-item h3 { font-size: 1.1rem; margin-bottom: var(--s-1); }
.contact-item p { color: var(--muted); font-size: var(--fs-sm); }
.contact-item a { font-weight: 700; color: var(--navy); }
.contact-item .phone-number { font-size: 1.25rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); } }

/* ---------- Footer ---------- */
.site-footer { background: #081528; color: #AEBBD0; font-size: var(--fs-sm); }
.footer-top { padding-block: var(--s-7); display: grid; gap: var(--s-6); }
.footer-brand .brand { margin-bottom: var(--s-3); }
.footer-brand p { max-width: 28rem; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: var(--s-3); }
.site-footer ul { display: grid; gap: var(--s-2); }
.site-footer a { color: #D6DEEA; text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.footer-phone .phone-number { color: var(--amber); font-weight: 800; font-size: 1.3rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-block: var(--s-4);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: 0.8rem;
}
@media (min-width: 800px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }

/* ---------- Sticky call bar (mobile) ---------- */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: var(--amber); color: var(--navy); text-decoration: none;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25); border-top: 4px solid var(--navy);
  transform: translateY(110%); transition: transform 240ms ease;
}
.sticky-call.is-visible { transform: translateY(0); }
.sticky-call svg { width: 26px; height: 26px; flex: none; }
.sticky-call .phone-number { font-weight: 800; font-size: 1.25rem; }
.sticky-call small { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; display: block; }
body { padding-bottom: 0; }
@media (max-width: 899px) { body.has-sticky { padding-bottom: 80px; } }
@media (min-width: 900px) { .sticky-call { display: none; } }

/* ---------- Thank-you page ---------- */
.thanks-page { min-height: 100svh; display: grid; place-items: center; background: var(--navy); color: var(--white); padding: var(--s-5); }
.thanks-card {
  width: min(100%, 36rem); background: var(--surface); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.thanks-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 12px; background: var(--hazard); }
.thanks-icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--amber-soft); color: var(--success);
  display: grid; place-items: center; margin: var(--s-3) auto var(--s-5);
}
.thanks-icon svg { width: 46px; height: 46px; }
.thanks-card h1 { font-size: var(--fs-xl); margin-bottom: var(--s-3); }
.thanks-card .lede { margin-bottom: var(--s-5); }
.thanks-card .response-time {
  display: inline-flex; align-items: center; gap: var(--s-2); background: var(--navy); color: var(--amber);
  padding: 0.6rem 1.2rem; border-radius: 999px; font-weight: 800; margin-bottom: var(--s-6);
}
.thanks-card .response-time svg { width: 22px; height: 22px; }
