/* ============================================================
   Brightside Cleaners LLC — styles
   Premium navy + gold "sparkle" brand. Mobile-first, accessible,
   fast, animated. No external requests, no framework.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --brand-50:  #f3f8fd;
  --brand-100: #e3f0fb;
  --brand-200: #c6e3f7;
  --brand-300: #93cdf0;
  --brand-400: #4fb3e8;
  --brand-500: #0b8ed0;
  --brand-600: #087cc1;
  --brand-700: #0a4a8f;
  --brand-800: #073b78;
  --brand-900: #002260;

  --gold-50:  #fff7e0;
  --gold-100: #ffe9b3;
  --gold-300: #ffd36a;
  --gold-400: #f5b51b;
  --gold-500: #d9900a;
  --gold-600: #a86c00;

  --ink-900:   #0a1530;
  --ink-700:   #24324f;
  --slate-600: #5b6478;
  --slate-500: #64748b;

  --bg:      #f5f8fc;
  --surface: #ffffff;
  --line:    #e4e9f2;

  --gradient:      linear-gradient(135deg, #002260 0%, #0b7fd0 100%);
  --gradient-blue: linear-gradient(135deg, #073b78 0%, #087cc1 100%);
  --gradient-gold: linear-gradient(135deg, #d9900a 0%, #f5b51b 100%);
  --gradient-soft: linear-gradient(160deg, #f3f8fd 0%, #e8f2fb 100%);

  --shadow-sm: 0 1px 2px rgba(10, 21, 48, 0.06), 0 4px 12px rgba(10, 21, 48, 0.05);
  --shadow-md: 0 6px 20px rgba(10, 21, 48, 0.09), 0 2px 6px rgba(10, 21, 48, 0.05);
  --shadow-lg: 0 24px 60px -20px rgba(10, 21, 48, 0.30);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
}

/* ---------- Self-hosted fonts (variable, latin subset) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/sora-var.woff2') format('woff2');
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding: 0; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.15; letter-spacing: -0.02em; }

/* Section anchor offset for sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }

.section { padding-block: 52px; }
.services { padding-top: 48px; }
.section-head { max-width: 640px; margin-inline: auto; margin-bottom: 30px; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-top: 8px; }
.section-lede { color: var(--slate-600); margin-top: 12px; font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -48px;
  z-index: 1000;
  background: var(--ink-900); color: #fff;
  padding: 10px 16px; border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  padding: 13px 24px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: normal;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 34, 96, 0.7); }
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(0, 34, 96, 0.85); }

.btn-gold { background: var(--gradient-gold); color: #3a2400; box-shadow: 0 8px 20px -8px rgba(217, 144, 10, 0.65); }
.btn-gold:hover { box-shadow: 0 12px 26px -8px rgba(217, 144, 10, 0.8); }

.btn-ghost { background: transparent; color: var(--brand-700); border-color: var(--brand-200); }
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand-400); }

.btn-light { background: #fff; color: var(--brand-700); box-shadow: 0 10px 30px -10px rgba(10, 21, 48, 0.5); }
.btn-light:hover { box-shadow: 0 14px 34px -10px rgba(10, 21, 48, 0.6); }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(10, 21, 48, 0.07); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--brand-500); flex: none; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-accent { font-weight: 600; font-size: 0.72rem; color: var(--slate-500); letter-spacing: 0.06em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-link { color: var(--ink-700); font-weight: 600; font-size: 0.95rem; position: relative; }
.nav-link:hover { color: var(--brand-600); text-decoration: none; }
.nav-link.active { color: var(--brand-600); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gradient-gold); border-radius: 2px;
}

.nav-cta { padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle-bar { width: 24px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 16px; background: var(--gradient-soft); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 8%, rgba(0, 34, 96, 0.08), transparent 60%),
    radial-gradient(50% 45% at 90% 20%, rgba(8, 124, 193, 0.12), transparent 60%);
}

.hero-grid { position: relative; display: grid; gap: 36px; align-items: center; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.15rem); font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 8px; color: var(--ink-900); }
.text-gradient { background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--brand-700); margin-bottom: 14px; }
.hero-body { color: var(--slate-600); max-width: 54ch; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--slate-600); font-size: 0.9rem; }
.hero-trust svg { width: 18px; height: 18px; flex: none; color: var(--gold-400); }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-700); font-weight: 600; font-size: 0.92rem; }
.hero-badges svg { width: 19px; height: 19px; color: var(--brand-600); flex: none; }

.stars { display: inline-flex; gap: 2px; color: var(--gold-400); }
.stars svg { width: 18px; height: 18px; }
.stars-sm svg { width: 13px; height: 13px; }

/* Hero visual */
.hero-visual { position: relative; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.hero-blob {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: var(--gradient-blue); opacity: 0.12; filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}

.hero-logo { position: relative; z-index: 1; width: 460px; max-width: 100%; height: auto; }
.hero-sparkle { position: absolute; color: var(--gold-400); width: 28px; height: 28px; }
.sparkle-1 { top: 8%; left: 12%; animation: twinkle 3.5s ease-in-out infinite; }
.sparkle-2 { bottom: 12%; right: 10%; width: 20px; height: 20px; animation: twinkle 4.5s ease-in-out 0.6s infinite; }
.sparkle-3 { top: 18%; right: 22%; width: 16px; height: 16px; color: var(--gold-500); animation: twinkle 3s ease-in-out 1.1s infinite; }


/* ---------- Stats ---------- */
.stats { padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: var(--radius-md); padding: 24px clamp(16px, 3vw, 28px); }
.stat { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.8rem); color: var(--brand-700); }
.stat-star { color: var(--gold-400); }
.stat-label { color: var(--slate-600); font-size: 0.85rem; }

/* ---------- Cards grid ---------- */
.cards-grid { display: grid; gap: 18px; }
.cards-grid > * { min-width: 0; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }

.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 18px; transition: background 0.22s ease, color 0.22s ease; }
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--gradient-blue); color: #fff; }
.card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.card-desc { color: var(--slate-600); margin-bottom: 14px; }

/* Services */
.check-list { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink-700); font-size: 0.95rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-700);
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}

.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-weight: 600; color: var(--brand-600); font-size: 0.95rem;
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card-link:hover { text-decoration: none; color: var(--brand-700); }
.card-link:hover svg { transform: translateX(3px); }

.service-card { display: flex; flex-direction: column; }

/* Why / features */
.feature-card { text-align: left; }
.feature-card .card-icon { background: var(--gradient-blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(0, 34, 96, 0.6); }
.feature-card:hover .card-icon { background: var(--gradient-gold); color: #3a2400; }

/* ---------- How it works ---------- */
.how { background: #fff; }
.steps-grid { list-style: none; display: grid; gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  margin-bottom: 16px; box-shadow: 0 8px 18px -8px rgba(0, 34, 96, 0.7);
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--slate-600); }

/* ---------- Reviews ---------- */
.review-card { display: flex; flex-direction: column; gap: 14px; }
.review-card blockquote { color: var(--ink-700); font-size: 1rem; margin: 0; }
.review-card figcaption { color: var(--slate-500); font-size: 0.88rem; }
.review-card figcaption strong { color: var(--ink-900); }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-wrap { display: grid; gap: 24px; }
.faq-intro h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-top: 8px; }
.inline-link { font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq-group {
  margin: 18px 4px -2px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-700);
}
.faq-list > .faq-group:first-child { margin-top: 0; }
.faq-select-wrap { margin-bottom: 18px; }
.faq-select { width: 100%; font-size: 1.02rem; padding: 14px 16px; cursor: pointer; }
.faq-answer-box { background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: var(--radius-md); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.faq-answer-box p { color: var(--slate-600); margin: 0; }
.faq-answer-box .faq-placeholder { color: var(--slate-500); }
.faq-answer-box a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Services / What's included ---------- */
.card-kicker {
  margin: 0 0 4px; font-family: var(--font-display); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-600);
}
.cards-grid.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); }
.included { background: #fff; }
.included-types { display: grid; gap: 20px; margin-bottom: 40px; }
.included-type { padding-left: 18px; border-left: 3px solid var(--brand-200); }
.included-type h3 { font-size: 1.05rem; margin: 0 0 6px; }
.included-type p { color: var(--slate-600); font-size: 0.95rem; margin: 0; max-width: 78ch; }
.included-note { margin-top: 22px; color: var(--slate-600); font-size: 0.95rem; }
.rooms-sub { font-size: 1.1rem; margin: 34px 0 14px; }
.matrix-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 820px; }
.matrix-table th, .matrix-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.matrix-table thead th { background: var(--ink-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }
.matrix-table tbody th { font-weight: 700; color: var(--ink-900); white-space: nowrap; }
.matrix-table td { color: var(--slate-600); }
.matrix-table tbody tr:last-child th, .matrix-table tbody tr:last-child td { border-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (min-width: 900px) { .included-types { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; } }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 18px 22px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink-900); text-align: left;
}
.faq-icon { width: 20px; height: 20px; color: var(--brand-600); flex: none; transition: transform 0.25s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { overflow: hidden; padding: 0 22px; color: var(--slate-600); }
.faq-item.open .faq-answer p { padding: 0 22px 20px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient); color: #fff; padding: 48px 0; text-align: center; }
.cta-inner { max-width: 680px; margin-inline: auto; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.cta-inner p { color: rgba(255, 255, 255, 0.92); font-size: 1.06rem; margin-bottom: 26px; }

/* Card variant of the CTA band (used inside a container so it keeps rounded corners) */
.cta-band--card { border-radius: var(--radius-lg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
.contact-info h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-top: 8px; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--ink-700); font-weight: 600; }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-list a { color: var(--ink-700); font-weight: 600; overflow-wrap: anywhere; word-break: break-word; }
.contact-list li > span:last-child { min-width: 0; }
.contact-grid > * { min-width: 0; }
.contact-list a:hover { color: var(--brand-600); }

.contact-form { box-shadow: var(--shadow-md); }
.form-row { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field + .field, .field { margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink-900); }
.field label span { color: var(--brand-600); }

input, select, textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink-900);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(11, 142, 208, 0.15);
}
input.invalid, select.invalid, textarea.invalid { border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12); }

.form-status { font-size: 0.9rem; min-height: 1.2em; margin-bottom: 8px; }
.form-status.success { color: var(--brand-700); font-weight: 600; }
.form-status.error { color: #e11d48; font-weight: 600; }
.form-callout {
  margin: 0 0 18px; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--brand-50); border: 1px solid var(--brand-200);
  color: var(--ink-700); font-size: 0.88rem; line-height: 1.55;
}
.form-callout strong { color: var(--brand-700); }
.form-note { color: var(--slate-500); font-size: 0.82rem; margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, 0.75); padding: 44px 0 0; }
.footer-grid { display: grid; gap: 24px; padding-bottom: 28px; }
.footer-grid > * { min-width: 0; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { color: var(--gold-400); }
.brand-footer .brand-accent { color: rgba(255, 255, 255, 0.82); }
.footer-tagline { margin-top: 12px; max-width: 26ch; color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; }
.footer-col h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.75); font-size: 0.94rem; overflow-wrap: anywhere; word-break: break-word; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; }
.back-to-top-link { color: rgba(255, 255, 255, 0.75); font-weight: 600; }
.back-to-top-link:hover { color: #fff; }

/* ---------- Reveal-on-scroll (only when JS active) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-600); outline-offset: 2px; border-radius: 6px;
}

/* ---------- Mobile sticky CTA + floating back-to-top ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(10, 21, 48, 0.10);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px;
  transform: translateY(110%); transition: transform 0.3s ease;
}
.mobile-cta.visible { transform: none; }
.mobile-cta .btn { flex: 1; padding: 12px 16px; font-size: 0.95rem; }
.mobile-cta .btn-ghost { min-width: 0; }

.back-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 94;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gradient-blue); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(0, 34, 96, 0.7);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top svg { width: 20px; height: 20px; }
@media (max-width: 899px) { .back-top { bottom: 84px; } }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .form-row .field { margin-bottom: 16px; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero { padding: 72px 0 16px; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .cards-grid.services-grid, .cards-grid.why-grid, .cards-grid.reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-cta { display: none; }
}

@media (min-width: 1120px) {
  .cards-grid.reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 899px) {
  .nav-wrap { flex-wrap: wrap; height: auto; padding-block: 12px; }
  .main-nav {
    flex-direction: column; align-items: stretch; gap: 0;
    width: 100%;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-list li:last-child .nav-link { border-bottom: 0; }
  .nav-cta { margin-top: 14px; }

  .js .nav-wrap { flex-wrap: nowrap; height: var(--header-h); padding-block: 0; }
  .js .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 12px 20px 20px;
    display: none;
  }
  .js .main-nav.open { display: flex; }
  .js .nav-toggle { display: flex; }

  .hero-visual { min-height: 0; gap: 18px; }
  .hero-logo { width: 250px; }
  .hero-blob {
    inset: 0; width: auto; height: auto;
    max-width: 300px; max-height: 300px; margin: auto;
    animation: none;
  }
  .hero-sparkle { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal / policy pages ---------- */
.legal-page { padding-block: 40px 60px; }
.legal { max-width: 780px; }
.legal .eyebrow { margin-bottom: 10px; }
.legal h1 { font-size: clamp(2.05rem, 4vw, 2.9rem); margin: 0 0 10px; letter-spacing: -0.03em; }
.legal .updated {
  color: var(--slate-500); font-size: 0.9rem;
  margin: 0 0 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.legal h2 { font-size: 1.32rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p { color: var(--slate-600); margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 14px 24px; color: var(--slate-600); display: grid; gap: 8px; }
.legal li { padding-left: 4px; }
.legal li::marker { color: var(--brand-500); }
.legal a { font-weight: 600; }
.legal strong { color: var(--ink-900); font-weight: 600; }
.legal em { color: var(--slate-500); }
.legal .legal-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 24px; box-shadow: var(--shadow-sm); margin: 24px 0;
}
.legal .legal-card p:last-child, .legal .legal-card ul:last-child { margin-bottom: 0; }
.legal .toc {
  list-style: none; margin-left: 0; display: grid; gap: 8px;
  background: var(--gradient-soft); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 30px;
}
.legal .toc a { color: var(--ink-700); font-weight: 500; }
.legal .toc a:hover { color: var(--brand-600); }

/* 404 page */
.not-found { text-align: center; padding-block: 110px 140px; }
.not-found .eyebrow { display: block; }
.not-found h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-top: 8px; }
.not-found p { max-width: 46ch; margin-inline: auto; }
.not-found .not-found-cta { margin-top: 18px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--gradient-soft); border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-hero h1 { font-size: clamp(2.05rem, 4vw, 2.9rem); margin: 10px 0 8px; letter-spacing: -0.03em; }
.page-hero .section-lede { max-width: 66ch; }

.toc-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 0; }
.toc-chips a {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-700);
  font-weight: 600; font-size: 0.9rem;
}
.toc-chips a:hover { border-color: var(--brand-400); color: var(--brand-600); text-decoration: none; }

.whats-included { padding-block: 44px 56px; max-width: 1080px; }
.whats-included .service-block { margin-top: 52px; }
.whats-included .service-block:first-of-type { margin-top: 40px; }
.whats-included h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.whats-included .service-note { color: var(--slate-600); margin-bottom: 22px; max-width: 70ch; }

.check-grid { display: grid; gap: 22px; }
.check-grid .card { box-shadow: var(--shadow-sm); }
.check-grid .card h3 { margin-bottom: 6px; }
.check-grid .check-list { margin-bottom: 0; }
.check-grid .card { min-width: 0; }
.check-list li { overflow-wrap: anywhere; }
.check-list a { overflow-wrap: anywhere; word-break: break-word; }
.faq-answer p a, .legal p a, .legal li a, .legal-card a,
.check-grid .card p a, .included-type p a, .included-note a,
.form-note a, .form-callout a, .matrix-table a, .review-cta-card p a {
  text-decoration: underline; text-underline-offset: 2px;
}

@media (min-width: 640px) {
  .check-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
}

/* ---------- Brand logo image ---------- */
.brand-logo { width: 150px; height: 60px; object-fit: contain; }

/* ---------- Add-on pricing table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--ink-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--brand-50); }
.price-table td:first-child { font-weight: 600; color: var(--ink-900); white-space: nowrap; }
.price-table td:nth-child(2) { color: var(--brand-700); font-weight: 700; white-space: nowrap; }
.price-table td:nth-child(3) { color: var(--slate-600); }

/* ---------- PWA install prompt ---------- */
.install-btn {
  position: fixed; right: 16px; bottom: 16px; z-index: 96;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient); color: #fff; border: 0; border-radius: 999px;
  padding: 13px 22px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  cursor: pointer; box-shadow: 0 10px 26px -8px rgba(0, 34, 96, 0.8);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.install-btn:hover { transform: translateY(-2px); }
.install-btn:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 2px; }
.ios-hint {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 96;
  max-width: 440px; margin: 0 auto; background: var(--ink-900); color: #fff;
  padding: 14px 18px; border-radius: 14px; font-size: 0.9rem; line-height: 1.5;
  box-shadow: var(--shadow-lg);
}
.ios-hint strong { color: var(--gold-400); }
.hidden { display: none !important; }
.mt-12 { margin-top: 12px; }

/* ---------- Reviews section ---------- */
.review-cta-card { border-color: var(--brand-200); background: var(--gradient-soft); }
.review-cta-card .stars { margin-bottom: 12px; }
.review-cta-card .btn { margin-top: 8px; }
