/* Raymundo-San Diego Eye & MD — marketing site
   Clinic brand colors, typography, and card style. */

:root {
  --sapphire: #003f88;
  --sapphire-bright: #1d4ed8;
  --ice: #dff6ff;
  --ice-soft: #f4fbff;
  --text: #18181b;
  --text-muted: #3f3f46;
  --text-subtle: #3f3f46;
  --border: hsl(220 13% 84%);
  --border-soft: hsl(220 13% 91%);
  --white: #ffffff;
  --radius: 0.5rem;
  --radius-lg: 0.85rem;
  --shadow: 0 10px 30px rgba(0, 63, 136, 0.08), 0 2px 8px rgba(24, 24, 27, 0.04);
  --shadow-lg: 0 18px 50px rgba(0, 63, 136, 0.12), 0 4px 14px rgba(24, 24, 27, 0.05);
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;
  --font-ui: "Inter", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --max: 70rem;
  --grad-btn: linear-gradient(90deg, #003f88 0%, #1d4ed8 100%);
  --grad-ice: linear-gradient(180deg, #f7fcff 0%, #dff6ff 55%, #e8f6ff 100%);
  --grad-panel: linear-gradient(180deg, #f4fbff 0%, #dff6ff 100%);
  --focus: 0 0 0 3px rgba(29, 78, 216, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--ice-soft);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sapphire); }
a:hover { color: var(--sapphire-bright); }

:focus-visible {
  outline: 2px solid var(--sapphire-bright);
  outline-offset: 3px;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.5rem 0.85rem;
  background: var(--sapphire);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.wrap {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

/* Header
   -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--sapphire);
  min-width: 0;
}
.brand:hover { color: var(--sapphire); }

.brand-mark {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #cfe6f5;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 63, 136, 0.12);
  overflow: hidden;
  padding: 0.3rem;
}
.brand-mark img { width: 1.85rem; height: 1.85rem; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-heading); font-weight: bold; font-size: 0.92rem; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 500; color: var(--text-muted); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  color: var(--sapphire);
}
.nav-toggle:hover { border-color: var(--sapphire-bright); }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  margin: 0 auto;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.site-header.is-open .nav-toggle-bars { background: transparent; }
.site-header.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
}
.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--sapphire); }
.nav-cta { margin-left: 0.25rem; }

/* Buttons — white text on every primary / gradient button,
   including :visited, so nav CTAs stay readable.
   -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary,
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active,
a.btn-primary:focus,
a.btn-primary:focus-visible,
button.btn-primary,
.site-nav a.btn-primary,
.site-nav a.btn-primary:link,
.site-nav a.btn-primary:visited,
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary:focus-visible,
.fab a.btn-primary,
.fab a.btn-primary:visited {
  background: var(--grad-btn);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0, 63, 136, 0.28);
}
.btn-primary:hover,
a.btn-primary:hover,
.site-nav a.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 63, 136, 0.35);
}
.btn-primary svg,
a.btn-primary svg {
  color: #fff;
  stroke: #fff;
  flex: none;
}

.btn-secondary,
a.btn-secondary,
a.btn-secondary:visited {
  background: var(--white);
  color: var(--sapphire) !important;
  border-color: #8bb4dd;
}
.btn-secondary:hover,
a.btn-secondary:hover,
a.btn-secondary:focus-visible {
  color: var(--sapphire) !important;
  border-color: var(--sapphire);
  background: #f3f9ff;
}

.btn-sm { min-height: 2.35rem; padding: 0.4rem 1rem; font-size: 0.8125rem; }
.btn-icon svg { width: 1.05rem; height: 1.05rem; flex: none; }

/* Hero
   -------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--grad-ice);
  padding: 2.75rem 0 3.5rem;
}
.hero-orb,
.hero-orb-2 {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
}
.hero-orb {
  width: 28rem;
  height: 28rem;
  right: -8rem;
  top: -10rem;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.2), transparent 70%);
  animation: drift 18s ease-in-out infinite;
}
.hero-orb-2 {
  width: 22rem;
  height: 22rem;
  left: -8rem;
  bottom: -10rem;
  background: radial-gradient(circle, rgba(0, 63, 136, 0.16), transparent 70%);
  animation: drift 22s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 7%) scale(1.08); }
}

.hero-grid { display: grid; gap: 2rem; }

.hero-logo-wrap {
  width: 6.5rem;
  height: 6.5rem;
  margin-bottom: 1.15rem;
}
.hero-logo {
  width: 6.5rem;
  height: 6.5rem;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #cfe6f5;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 63, 136, 0.14);
  padding: 0.85rem;
}
.hero-logo img {
  width: 4.6rem;
  height: 4.6rem;
  object-fit: contain;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sapphire);
}

.hero h1,
.section-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-heading);
  font-weight: bold;
  letter-spacing: -0.03em;
  color: var(--sapphire);
  line-height: 1.15;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.15rem); }
.hero-tag {
  margin: 0 0 1.15rem;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sapphire);
  line-height: 1.35;
  max-width: 38rem;
}
.lede, .section-lead {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 38rem;
}
.section-lead { margin-bottom: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-note { margin: 1rem 0 0; font-size: 0.9375rem; color: var(--text-muted); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}
.trust-row li {
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border: 1px solid #8bb4dd;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sapphire);
  box-shadow: var(--shadow);
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.offer-card-panel {
  background: var(--grad-panel);
  padding: 1.5rem 1.4rem 1.6rem;
  border-bottom: 1px solid var(--border-soft);
}
.offer-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sapphire);
}
.offer-card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--sapphire);
  letter-spacing: -0.02em;
}
.offer-card .offer-desc { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }
.offer-card-footer { padding: 1rem 1.4rem 1.2rem; background: var(--white); }
.offer-card-footer p { margin: 0 0 0.9rem; font-size: 0.875rem; color: var(--text-muted); }
.offer-card .btn { width: 100%; }

/* Sections
   -------------------------------------------------- */
.section { padding: 3.75rem 0; position: relative; }
.section-alt { background: var(--white); }
.section-head { margin-bottom: 1.75rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-title--sub { font-size: clamp(1.25rem, 2.4vw, 1.65rem); }

.section-divider {
  height: 3rem;
  background:
    radial-gradient(ellipse at 50% 0, rgba(0, 63, 136, 0.08), transparent 70%);
  pointer-events: none;
}

.cards, .about-grid, .reasons, .care-grid, .contact-grid, .locations-grid, .services-grid {
  display: grid;
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.3rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--sapphire);
  letter-spacing: -0.02em;
}
.card p, .card li { color: var(--text-muted); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.doctor-card { display: grid; gap: 1rem; align-items: start; }
.doctor-title {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sapphire);
}
.doctor-card .doctor-title { color: var(--sapphire); }
.doctor-icon,
.care-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  background: var(--grad-panel);
  border: 1px solid #8bb4dd;
  border-radius: 999px;
  color: var(--sapphire);
}
.doctor-icon svg, .care-icon svg { width: 1.7rem; height: 1.7rem; }

.service-card--featured {
  background: var(--grad-panel);
  border-color: #8bb4dd;
  box-shadow: var(--shadow-lg);
}
.service-card--featured h3 { font-size: 1.35rem; }
.service-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--sapphire);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Complete eye care cards
   -------------------------------------------------- */
.care-block { margin-top: 2.5rem; }
.care-card { display: grid; align-content: start; gap: 0.35rem; }
.care-card .care-icon { margin-bottom: 0.4rem; }
.care-num {
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sapphire);
  margin: 0;
}
.care-card ul { margin: 0.45rem 0 0.75rem; padding-left: 1.2rem; }
.care-card li { margin: 0.2rem 0; }
.fb-source {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.reason { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.reason-num {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 0.9rem;
}
.reason h3 { margin: 0.1rem 0 0.25rem; }

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.chip-list li {
  padding: 0.3rem 0.7rem;
  background: var(--ice);
  border: 1px solid #8bb4dd;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sapphire);
}

/* Locations + map
   -------------------------------------------------- */
.hours {
  margin: 0.7rem 0;
  padding: 0.7rem 0.85rem;
  background: var(--grad-panel);
  border-radius: var(--radius);
  font-family: var(--font-ui);
}
.hours strong { display: block; color: var(--sapphire); font-size: 1.05rem; }
.hours span { color: var(--text-muted); font-size: 0.8125rem; }

.callout {
  margin-top: 1.15rem;
  padding: 0.9rem 1rem;
  background: #fff4e8;
  border: 1px solid #e7b48a;
  border-radius: var(--radius);
  color: #7a2a00;
  font-size: 0.9375rem;
}

.map-block { margin-top: 1.5rem; }
.map-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.map-tab {
  appearance: none;
  border: 1px solid #8bb4dd;
  background: var(--white);
  color: var(--sapphire);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}
.map-tab.is-active,
.map-tab[aria-selected="true"] {
  background: var(--grad-btn);
  color: #fff;
  border-color: transparent;
}
.map-frame-wrap {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  min-height: 18rem;
}
.map-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 18rem;
  border: 0;
}
.map-panel { margin-bottom: 0.75rem; }

/* FAQ
   -------------------------------------------------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--sapphire);
  letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--sapphire);
  font-weight: bold;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 1.2rem 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

/* Quote form
   -------------------------------------------------- */
.quote-layout {
  display: grid;
  gap: 1.5rem;
}
.quote-form {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem 1.3rem 1.5rem;
}
.form-grid { display: grid; gap: 0.9rem; }
.form-field { display: grid; gap: 0.3rem; }
.form-field label {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.form-field .req { color: #9a3412; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid #8bb4dd;
  border-radius: var(--radius);
  padding: 0.6rem 0.75rem;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--sapphire-bright);
  outline-offset: 1px;
  border-color: var(--sapphire);
}
.form-field textarea { min-height: 7rem; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #52525b; }
.form-actions { margin-top: 0.4rem; }
.form-note { margin: 0.75rem 0 0; font-size: 0.8125rem; color: var(--text-muted); }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fallback-links { display: grid; gap: 0.75rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
}
.contact-link:hover,
.contact-link:focus-visible {
  border-color: #8bb4dd;
  color: var(--sapphire);
}
.contact-ico {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--grad-panel);
  color: var(--sapphire);
}
.contact-ico svg { width: 1.2rem; height: 1.2rem; }
.contact-link small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-link strong {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

/* Footer
   -------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--sapphire);
  color: #e8f1ff;
  padding: 1.6rem 0 6rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer strong { color: #fff; font-family: var(--font-heading); font-weight: 600; }
.site-footer p { margin: 0; }
.site-footer a { color: #e8f1ff; }
.site-footer a:hover { color: #fff; }

/* Floating mobile CTAs
   -------------------------------------------------- */
.fab {
  display: none;
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 40;
  gap: 0.5rem;
  flex-direction: column;
  align-items: stretch;
}
.fab .btn { box-shadow: 0 10px 24px rgba(0, 63, 136, 0.28); }

/* Reveal — hidden only after JS opts in, so the page stays readable without JS.
   -------------------------------------------------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* Layout
   -------------------------------------------------- */
@media (min-width: 800px) {
  .hero { padding: 3.75rem 0 4.5rem; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
  }
  .about-grid,
  .reasons,
  .cards,
  .care-grid,
  .locations-grid,
  .quote-layout,
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .service-card--featured {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 1.25rem;
    align-items: center;
  }
  .service-card--featured .btn { width: auto; white-space: nowrap; }
  .doctor-card { grid-template-columns: auto 1fr; }
  .map-frame-wrap iframe { height: 22rem; }
}

@media (min-width: 960px) {
  .care-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 879px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0.9rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a:not(.btn) {
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-cta { margin: 0.75rem 0 0.25rem; }
  .nav-cta.btn,
  .nav-cta .btn { width: 100%; }
  .fab { display: flex; }
  .service-card--featured .btn { width: 100%; }
}

#quote, #locations, #services, #about, #why-us, #faq, #service-area, #contact {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after,
  .card, .offer-card, .reveal, .hero-orb, .hero-orb-2 {
    transition: none;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .offer-card:hover, .btn-primary:hover { transform: none; }
}

/* Thanks page */
.thanks-card {
  max-width: 36rem;
  margin: 4rem auto;
  padding: 2rem 1.5rem;
  text-align: center;
}
.thanks-card h1 { color: var(--sapphire); font-family: var(--font-heading); }
