/* ==========================================================================
   Fresh Care Cleaning — freshcare.css
   Semantic component stylesheet. No utility framework, no build step.

   Contents
     01. Tokens
     02. Reset & base
     03. Layout primitives
     04. Typography helpers
     05. Buttons
     06. Skip link, top bar, header, navigation
     07. Hero
     08. Cards & grids
     09. Quote form
     10. Footer
     11. Mobile CTA bar
     12. Motion & accessibility
   ========================================================================== */


/* 01. TOKENS ============================================================== */

:root {
  /* Brand */
  --brand-blue:        #096BB5;
  --brand-blue-dark:   #075A99;
  --brand-blue-tint:   #E8F2FA;
  --brand-accent:      #0369A1;
  --brand-yellow:      #FFB800;
  --brand-yellow-soft: #FDE047;

  /* Ink */
  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #5A6B80;   /* meets 4.5:1 on white and on --surface */
  --ink-300: #94A3B8;
  --ink-on-dark: #CBD5E1;

  /* Surface */
  --surface:       #F8FAFC;
  --surface-card:  #FFFFFF;
  --surface-dark:  #0F172A;
  --line:          #E2E8F0;
  --line-soft:     #F1F5F9;
  --line-strong:   #CBD5E1;

  /* Type — fluid, no breakpoint jumps */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-h3:   clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  --text-h2:   clamp(1.75rem, 1.38rem + 1.55vw, 2.25rem);
  --text-h1:   clamp(2rem, 1.4rem + 2.6vw, 3rem);

  /* Spacing — one scale, used everywhere */
  --gutter:     clamp(1rem, 0.6rem + 1.6vw, 1.5rem);
  --section-y:  clamp(3rem, 2rem + 4vw, 5.5rem);
  --stack-lead: clamp(2rem, 1.6rem + 1.4vw, 3rem);
  --card-pad:   clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  --grid-gap:   clamp(0.875rem, 0.7rem + 0.7vw, 1.25rem);
  --split-gap:  clamp(2rem, 1.4rem + 2.4vw, 3.5rem);

  /* Shape */
  --radius-sm:  0.5rem;
  --radius:     0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.25rem;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 25px 50px rgba(15, 23, 42, .18);

  /* Chrome */
  --header-h:  4rem;
  --page-max:  1150px;
  --prose-max: 48rem;
}


/* 02. RESET & BASE ======================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  /* Keeps anchor targets clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-600);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.2; margin: 0; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: not-allowed; opacity: .7; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}


/* 03. LAYOUT PRIMITIVES =================================================== */

/* The only two layout classes the whole site needs. */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 900px; }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); }
.section--plain { background: var(--surface-card); }
.section--edged {
  background: var(--surface-card);
  border-block: 1px solid var(--line-soft);
}
.section--dark {
  background: var(--surface-dark);
  color: var(--ink-on-dark);
}
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }

/* Intro block that opens most sections */
.section__intro { max-width: var(--prose-max); }
.section__intro--center { margin-inline: auto; text-align: center; }
.section__intro > * + * { margin-top: 0.75rem; }
.section__intro p { font-size: var(--text-lg); color: var(--ink-600); }

/* Two-column split used by Why / Industries / Scope / Service area */
.split {
  display: grid;
  gap: var(--split-gap);
  align-items: start;
}
.split--center { align-items: center; }
@media (min-width: 62rem) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Anything that follows a section intro */
.section__body { margin-top: var(--stack-lead); }


/* 04. TYPOGRAPHY HELPERS ================================================== */

.eyebrow {
  display: inline-block;
  color: var(--brand-accent);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section--dark .eyebrow { color: var(--brand-yellow-soft); }

.section-title { font-size: var(--text-h2); font-weight: 800; }
.section-lede  { font-size: var(--text-lg); color: var(--ink-600); line-height: 1.7; }
.section--dark .section-lede { color: var(--ink-on-dark); }


/* 05. BUTTONS ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;          /* 44px touch target */
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: center;
  transition: background-color .2s ease, color .2s ease,
              border-color .2s ease, opacity .2s ease;
}

.btn--primary { background: var(--brand-blue); color: #fff; }
.btn--primary:hover { background: var(--brand-blue-dark); }

.btn--accent { background: var(--brand-yellow); color: var(--ink-900); }
.btn--accent:hover { background: #E9A800; }

.btn--outline { border-color: var(--line-strong); background: #fff; color: var(--ink-900); }
.btn--outline:hover { background: var(--line-soft); }

.btn--quiet { border-color: var(--line-strong); background: #fff; color: var(--brand-accent); }
.btn--quiet:hover { background: var(--line-soft); }

.btn--on-dark { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--on-dark:hover { background: rgba(255,255,255,.12); }

.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 30rem) {
  .btn-row { flex-direction: column; align-items: stretch; }
}


/* 06. SKIP LINK, TOP BAR, HEADER ========================================== */

.skip-link {
  position: fixed;
  left: 1rem; top: -5rem;
  z-index: 100;
  background: #fff; color: var(--ink-900);
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(15,23,42,.2);
}
.skip-link:focus { top: 1rem; }

/* Announcement bar — hidden on mobile, where the phone number is
   already in the fixed bottom bar and this costs 48px above the fold. */
.topbar {
  display: none;
  background: var(--surface-dark);
  color: #fff;
  text-align: center;
  padding: .75rem var(--gutter);
  font-size: var(--text-sm);
  font-weight: 600;
}
.topbar a { color: var(--brand-yellow-soft); }
.topbar a:hover { text-decoration: underline; }
.topbar__sep { margin-inline: .5rem; }
@media (min-width: 48rem) { .topbar { display: block; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(15,23,42,.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.site-logo img { height: 2.25rem; width: auto; }

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
}
.site-nav a { padding-block: .5rem; color: var(--ink-700); }
.site-nav a:hover { color: var(--brand-accent); }
.site-nav a[aria-current="page"] { color: var(--brand-accent); }

.site-header .btn { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-900);
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }

@media (min-width: 48rem) {
  .site-nav { display: flex; }
  .site-header .btn { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-nav {
  border-top: 1px solid var(--line-soft);
  background: #fff;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; padding-block: .5rem; }
.mobile-nav a {
  display: block;
  padding: .75rem 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-700);
}
.mobile-nav a[aria-current="page"] { color: var(--brand-accent); }
.mobile-nav .btn { margin-block: .5rem 1rem; }
@media (min-width: 48rem) { .mobile-nav { display: none; } }


/* 07. HERO ================================================================ */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 62svh;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.58));
  z-index: -1;
}
.hero__inner {
  position: relative;
  text-align: center;
  padding-block: calc(var(--section-y) * 1.25);
}
.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--brand-yellow-soft);
}
.hero__title {
  margin-top: .75rem;
  font-size: var(--text-h1);
  font-weight: 800;
  color: #fff;
}
.hero__lede {
  margin: 1rem auto 0;
  max-width: 46rem;
  font-size: var(--text-lg);
  line-height: 1.65;
}
.hero__actions { margin-top: 2rem; justify-content: center; }
.hero__note {
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.9);
}
@media (max-width: 47.99rem) { .hero { min-height: auto; } }


/* 08. CARDS & GRIDS ======================================================= */

/* Shared card base — one padding value, one radius, one border. */
.card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
}
.card__label {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.card h3 { font-size: var(--text-h3); font-weight: 800; margin-top: .5rem; }
.card p  { margin-top: .4rem; font-size: var(--text-sm); color: var(--ink-500); line-height: 1.55; }
.card__cta {
  display: inline-block;
  margin-top: .8rem;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--brand-blue);
}

/* Interactive cards lift — but only on devices that truly hover. */
a.card { display: block; box-shadow: var(--shadow-sm); }
@media (hover: hover) {
  a.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  a.card:hover {
    transform: translateY(-2px);
    border-color: #BAE6FD;
    box-shadow: var(--shadow-md);
  }
}
a.card:active { transform: none; }

/* Grid shells */
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--grid-gap); grid-template-columns: 1fr; }
@media (min-width: 40rem) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Service cards — image beside text */
.service-card { display: flex; align-items: flex-start; gap: 1rem; }
.service-card__img {
  width: 4.5rem; height: 4.5rem;
  flex: 0 0 4.5rem;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--line-soft);
}
.service-card__body { min-width: 0; }
.service-card__body h3 { margin-top: 0; font-size: var(--text-base); line-height: 1.35; }
.service-card__body h3,
.industry-card strong { overflow-wrap: anywhere; }

/* Callout strip below the service grid */
.callout {
  margin-top: var(--stack-lead);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: var(--card-pad);
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.callout__title { font-weight: 800; color: var(--ink-900); }
.callout p { margin-top: .25rem; font-size: var(--text-sm); color: var(--ink-500); }
@media (min-width: 48rem) {
  .callout { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Trust list */
.trust-list { display: grid; gap: 1rem; margin-top: var(--stack-lead); list-style: none; }
.trust-list li { display: flex; gap: .8rem; align-items: flex-start; }
.trust-list strong { display: block; color: var(--ink-900); }
.trust-list p { margin-top: .2rem; font-size: var(--text-sm); color: var(--ink-500); line-height: 1.55; }
.trust-check {
  width: 1.6rem; height: 1.6rem;
  flex: 0 0 1.6rem;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 800;
  font-size: var(--text-sm);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: calc(var(--card-pad) * 1.2);
}
.panel h3 { margin-top: .5rem; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 800; }
.panel > p { margin-top: .75rem; color: var(--ink-600); line-height: 1.7; }
.panel__certs { margin-top: 1.5rem; height: 2.5rem; width: auto; object-fit: contain; }
@media (min-width: 48rem) { .panel__certs { height: 3rem; } }

.review-link {
  margin-top: 1.4rem;
  display: flex; gap: .8rem; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem;
}
.review-link strong { color: var(--ink-900); }
.review-link small { display: block; color: var(--ink-500); margin-top: .15rem; }
.review-stars { color: #EAB308; letter-spacing: .05em; }

/* Numbered process — the order carries meaning here, so the numerals stay */
.process-grid { list-style: none; }
.process-card > .card__label { color: var(--brand-blue); }

/* Scope cards on the dark section */
.scope-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: var(--card-pad);
}
.scope-card strong { display: block; color: #fff; }
.scope-card span { display: block; margin-top: .25rem; font-size: var(--text-sm); color: var(--ink-on-dark); line-height: 1.5; }

/* Industry cards */
.industry-card strong { display: block; color: var(--ink-900); }
.industry-card span { display: block; margin-top: .3rem; font-size: var(--text-sm); color: var(--ink-500); line-height: 1.5; }

/* Pricing panel */
.pricing-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: calc(var(--card-pad) * 1.2);
}
@media (min-width: 48rem) {
  .pricing-panel { grid-template-columns: minmax(0, 1fr) auto; }
}

/* Service-area chips */
.city-list { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; }
.city-list li {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .55rem .85rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-700);
}

/* FAQ */
.faq-list { display: grid; gap: .75rem; }
.faq-list details {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding-inline: 1rem;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1rem 2rem 1rem 0;
  font-weight: 800;
  color: var(--ink-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--brand-blue);
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details p {
  padding-bottom: 1rem;
  color: var(--ink-500);
  font-size: var(--text-sm);
  line-height: 1.65;
}


/* 09. QUOTE FORM ========================================================== */

.quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(to bottom right, rgba(8,47,73,.94), rgba(3,105,161,.92));
}
.quote::after {
  content: "";
  position: absolute;
  top: -6rem; right: -4rem;
  width: 32rem; height: 32rem;
  border-radius: var(--radius-pill);
  background: #fff;
  opacity: .12;
  filter: blur(64px);
  z-index: -1;
}
.quote__grid {
  display: grid;
  gap: var(--split-gap);
  align-items: center;
  padding-block: var(--section-y);
}
@media (min-width: 48rem) {
  .quote__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.quote__title { font-size: var(--text-h1); font-weight: 800; color: #fff; line-height: 1.15; }
.quote__lede { margin-top: 1rem; font-size: var(--text-lg); color: rgba(255,255,255,.95); }
.quote__list { margin-top: 1.25rem; padding-left: 1.25rem; list-style: disc; }
.quote__list li { margin-top: .5rem; }
.quote__list::marker { color: rgba(255,255,255,.8); }

.quote-card {
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--card-pad);
}
@media (min-width: 40rem) { .quote-card { padding: 2rem; } }
.quote-card h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 800; }
.quote-card > p { margin-top: .5rem; margin-bottom: 1.5rem; color: var(--ink-500); }

.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field label {
  display: block;
  margin-bottom: .5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-900);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  /* 16px minimum stops iOS zooming the page on focus */
  font-size: 1rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-900);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: #0EA5E9;
  box-shadow: 0 0 0 3px rgba(14,165,233,.28);
}
.field__hint { margin-top: .375rem; font-size: var(--text-xs); color: var(--ink-500); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* reCAPTCHA is a fixed 302px iframe — without this it forces the whole
   page into horizontal scroll on any phone narrower than ~414px. */
.captcha { max-width: 100%; overflow: hidden; }
@media (max-width: 26.25rem) {
  .captcha > div { transform: scale(.9); transform-origin: 0 0; }
  .captcha { height: 4.4rem; }
}

.form__status {
  padding: .875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  border: 1px solid;
}
.form__status--error   { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.form__status--success { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }

.quote-submit {
  width: 100%;
  min-height: 3.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 800;
  transition: background-color .2s ease, opacity .2s ease;
}
.quote-submit:hover { background: var(--brand-blue-dark); }
.quote-submit:disabled { opacity: .85; cursor: wait; }

.quote-spinner {
  width: 20px; height: 20px;
  flex: 0 0 auto;
  border: 3px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: quote-spin .75s linear infinite;
}
.quote-spinner[hidden] { display: none; }
@keyframes quote-spin { to { transform: rotate(360deg); } }


/* 10. FOOTER ============================================================== */

.site-footer {
  background: var(--surface-card);
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-block: var(--section-y);
}
@media (min-width: 34rem) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
  .site-footer__brand { grid-column: auto; }
}

.site-footer__brand > * + * { margin-top: 1.25rem; }
.footer-logo { display: inline-flex; align-items: center; gap: .75rem; }
.footer-logo img {
  width: 2.75rem; height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  padding: .25rem;
}
.footer-logo__name { font-size: var(--text-base); font-weight: 700; color: var(--ink-900); }
.footer-logo__tag  { color: var(--ink-500); }
.site-footer__brand p { color: var(--ink-600); line-height: 1.6; }
.site-footer__phone { font-weight: 700; color: var(--brand-accent); }
.site-footer__phone:hover { text-decoration: underline; }

.site-footer h2 {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.footer-links { list-style: none; margin-top: .75rem; }
/* Padded so every link clears the 24px WCAG 2.2 target minimum */
.footer-links a {
  display: block;
  padding-block: .4375rem;
  color: var(--ink-600);
}
.footer-links a:hover { color: var(--brand-accent); }

.footer-social { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-sm);
  color: var(--ink-300);
}
.footer-social a:hover { color: var(--brand-accent); background: var(--line-soft); }
.footer-social svg { width: 1.25rem; height: 1.25rem; }

.site-footer__legal {
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--ink-500);
}


/* 11. MOBILE CTA BAR ====================================================== */

.mobile-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; }
.mobile-cta__inner {
  display: flex;
  margin: 0 .75rem calc(.75rem + env(safe-area-inset-bottom, 0px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 -4px 24px rgba(15,23,42,.14);
  overflow: hidden;
}
.mobile-cta a {
  flex: 1 1 50%;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink-900);
}
.mobile-cta a + a { background: var(--brand-blue); color: #fff; }

@media (max-width: 47.99rem) {
  /* Reserves room so the bar never covers the end of the footer */
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 48rem) { .mobile-cta { display: none; } }


/* 12. MOTION & ACCESSIBILITY ============================================== */

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.hero :focus-visible,
.section--dark :focus-visible,
.quote :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}