/* ============================================================
   Smili Phone — design system
   Tokens, base, header/hero, sections, cards, forms, footer,
   sticky CTA, motion. Mobile-first.
   ============================================================ */

/* Self-hosted Space Grotesk (variable, latin) — no third-party requests */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --ink: #0c1524;
  --ink-2: #131f35;
  --brand: #1b7fb4;
  --brand-deep: #14638f;
  --brand-soft: #e7f4fb;
  --smile: #f0b040;
  --paper: #ffffff;
  --mist: #f4f7fc;
  --slate: #475569;
  --slate-light: #8a97a8;
  --line: #e3e9f2;
  --ok: #15803d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 21, 36, .10);
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-w: 1120px;
  --header-h: 68px;
}

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

/* screen-reader-only utility (used by form labels) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.6vw + .8rem, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
::selection { background: var(--smile); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--smile);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(var(--max-w), 100% - 2.5rem); margin-inline: auto; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #eaf0fa; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: #b9c6dd; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------------- buttons ---------------- */
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn .ic { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(64, 192, 240, .35); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.btn-ghost-light:hover { color: #fff; box-shadow: inset 0 0 0 2px #fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-logo { width: auto; height: 72px; flex: none; object-fit: contain; transform-origin: 50% 75%;
  animation: logo-smile 3.2s ease-in-out infinite; }
/* logo entrance */
.site-header .brand { animation: brand-in .8s cubic-bezier(.22, 1.2, .36, 1) both; }
@keyframes brand-in {
  from { opacity: 0; transform: translateY(-10px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* continuous smiley bounce — a happy little nod */
@keyframes logo-smile {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-3px) rotate(-3deg) scale(1.04); }
  50% { transform: translateY(0) rotate(0deg) scale(1); }
  75% { transform: translateY(-2px) rotate(3deg) scale(1.02); }
}
.brand:hover .brand-logo { filter: drop-shadow(0 6px 14px rgba(240, 176, 64, .35)); }
.brand-logo { transition: filter .25s ease; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1; display: inline-block; }
.brand-word-2 { color: var(--brand); }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .08em; color: var(--slate-light); margin-top: 2px; }
.site-nav { display: flex; align-items: center; position: relative; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .55rem .8rem; border-radius: 8px; }
.nav-list a:not(.btn):hover { background: var(--mist); color: var(--brand-deep); }
.nav-list a.is-active { color: var(--brand); font-weight: 600; }
.nav-cta { margin-left: .5rem; }
.mobile-menu { display: none; } /* mobile-only flat menu */
.btn-quote { padding: .7rem 1.25rem; font-size: .95rem; background: var(--smile); color: var(--ink); font-weight: 700; }
.btn-quote:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-call { background: var(--ink); color: #fff; font-weight: 700; }
.btn-call:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); }
/* top-level links: semibold display face for a premium feel */
.nav-list > li > a:not(.btn), .nav-list > li > .nav-drop-btn { font-family: var(--font-display); font-weight: 600; }

/* ---- top utility bar (uBreakiFix-style) ---- */
.topbar { background: var(--ink); color: #fff; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; gap: 1.2rem; padding-top: .35rem; padding-bottom: .35rem; }
.topbar .ic { width: 14px; height: 14px; }
.topbar-hours { display: inline-flex; align-items: center; gap: .35rem; opacity: .85; margin-right: auto; }
.topbar a { display: inline-flex; align-items: center; gap: .35rem; color: #fff; text-decoration: none; opacity: .92; }
.topbar a:hover { opacity: 1; color: var(--smile); }
.topbar-phone { font-weight: 700; }
/* one language button in the topbar: flag of the language you switch to, flag only, desktop + mobile */
.lang-flag { display: inline-flex; align-items: center; padding: .3rem;
  border: 0; border-radius: 8px; background: transparent; text-decoration: none; flex: none;
  transition: transform .15s ease, background .15s ease; }
.lang-flag:hover { transform: translateY(-1px); background: rgba(255,255,255,.14); }
.lang-flag .flag { width: 26px; height: 19px; display: block; }

/* ---- dropdowns + mega menu ---- */
.nav-list > li.has-sub { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; cursor: pointer;
  color: var(--ink); font-weight: 500; font-size: .98rem; padding: .55rem .8rem; border-radius: 8px; font-family: inherit; }
.nav-drop-btn:hover { background: var(--mist); color: var(--brand-deep); }
.nav-drop-btn.is-active { color: var(--brand); font-weight: 600; }
.nav-caret { width: 14px; height: 14px; transition: transform .2s ease; }
.has-sub.open .nav-caret, .has-sub:hover .nav-caret { transform: rotate(180deg); }
.nav-drop, .nav-mega { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60; }
.has-sub:hover .nav-drop, .has-sub:hover .nav-mega,
.has-sub:focus-within .nav-drop, .has-sub:focus-within .nav-mega,
.has-sub.open .nav-drop, .has-sub.open .nav-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.has-sub:hover .nav-mega, .has-sub:focus-within .nav-mega, .has-sub.open .nav-mega { transform: none; }
.nav-drop { min-width: 240px; padding: .5rem; }
.nav-drop ul { list-style: none; margin: 0; padding: 0; }
.nav-drop a { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 9px;
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-drop a:hover { background: var(--mist); color: var(--brand-deep); }
.nav-drop a .ic { color: var(--brand); flex: none; }
/* mega menu: device grid like uBreakiFix — anchored to the nav, left aligned under Repairs */
.nav-list > li.has-sub.has-mega { position: static; }
.nav-mega { left: 0; right: auto; transform: translateY(6px); width: min(780px, calc(100vw - 2rem)); padding: 1rem; }
/* invisible hover bridge so the menu doesn't flicker when crossing the gap */
.nav-drop::before, .nav-mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; list-style: none; margin: 0; padding: 0; }
.mega-grid a { display: flex; align-items: center; gap: .65rem; padding: .65rem .7rem; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 500; }
.mega-grid li:nth-child(3) a { white-space: nowrap; }
.mega-grid a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.mega-grid a .ic { width: 22px; height: 22px; color: var(--brand); flex: none; }
.nav-list a.mega-all { display: block; text-align: center; margin-top: .6rem; padding: .6rem; border-radius: 10px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav-list a.mega-all:hover { background: var(--brand-deep); color: #fff; }

/* ---------------- hero ---------------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(64, 192, 240, .28), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(240, 176, 64, .10), transparent 55%),
    var(--ink);
  color: #eaf0fa;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  position: relative;
}
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .7rem; }
.hero h1 .smile-word { position: relative; white-space: nowrap; }
.hero h1 .smile-word svg { position: absolute; left: 0; right: 0; bottom: -.28em; width: 100%; height: .5em; }
.hero-lede { font-size: 1.15rem; color: #b9c6dd; max-width: 46ch; }
.hero-lede strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.7rem 0 1.4rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1.25rem; }
.trust-badge { display: inline-flex; flex-direction: column; justify-content: center; min-height: 3.2rem; padding: .45rem .7rem; border: 1px solid rgba(185, 198, 221, .3); border-radius: 8px; color: #fff; text-decoration: none; background: rgba(19, 31, 53, .55); }
.trust-badge strong { font-size: .82rem; line-height: 1.1; }
.trust-badge small { color: #b9c6dd; font-size: .7rem; line-height: 1.2; }
.trust-badge-link:hover { border-color: var(--smile); color: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 0; padding: 0; font-size: .95rem; color: #b9c6dd; }
.trust-row li { display: inline-flex; align-items: center; gap: .45rem; }
.trust-row .ic { color: var(--smile); width: 1.05em; height: 1.05em; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: min(420px, 100%); height: auto; filter: drop-shadow(0 24px 48px rgba(0,0,0,.45)); }

.page-hero { background: var(--ink); color: #eaf0fa; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: #b9c6dd; font-size: 1.12rem; max-width: 60ch; margin-bottom: 0; }
.not-found-hero .breadcrumbs { margin-bottom: 2.2rem; }
.not-found-hero .kicker { color: var(--smile); margin-bottom: .5rem; }
.not-found-content { background: var(--mist); }
.not-found-panel { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.not-found-panel h2 { margin-top: 0; }
.not-found-panel p { color: var(--slate); }
.not-found-code { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 6rem); font-weight: 800; line-height: 1; color: var(--brand-soft); -webkit-text-stroke: 2px var(--brand); }
@media (max-width: 560px) { .not-found-panel { grid-template-columns: 1fr; } .not-found-code { font-size: 4rem; } }
.breadcrumbs { font-size: .9rem; color: #8a97a8; margin-bottom: 1.2rem; }
.breadcrumbs a { color: #b9c6dd; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------------- cards / grids ---------------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.auto-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d6ea; color: var(--ink); }
.card h3 { margin: 0; font-size: 1.12rem; }
.card p { margin: 0; color: var(--slate); font-size: .98rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: .4rem;
}
.card-icon .ic { width: 26px; height: 26px; }
.card-link { margin-top: auto; padding-top: .8rem; font-weight: 600; font-size: .95rem; color: var(--brand);
  display: inline-flex; align-items: center; gap: .4rem; }
.card-link .ic { width: 1em; height: 1em; transition: transform .2s ease; }
a.card:hover .card-link .ic { transform: translateX(4px); }

.check-list { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .ic { color: var(--ok); flex: none; width: 1.25em; height: 1.25em; margin-top: .2em; }

/* ---------------- deals ---------------- */
.deal-card { background: var(--ink); color: #eaf0fa; border: 0; position: relative; overflow: hidden; }
.deal-card::after {
  content: ""; position: absolute; inset: auto -30% -55% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(240,176,64,.22), transparent 70%);
}
.deal-card h3 { color: #fff; }
.deal-card p { color: #b9c6dd; }
.coupon-code {
  display: inline-block; font-family: var(--font-display); font-weight: 700; letter-spacing: .12em;
  background: rgba(240,176,64,.16); color: var(--smile);
  border: 1.5px dashed var(--smile); border-radius: 10px; padding: .45rem .9rem; margin-top: .6rem;
}
.deal-fine { font-size: .9rem; color: var(--slate-light); margin-top: 1.5rem; }

/* ---------------- faq accordion ---------------- */
.faq-list { display: grid; gap: .8rem; max-width: 820px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease, background-color .25s ease; }
.faq-item summary .faq-plus .ic { width: 15px; height: 15px; }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer > div { overflow: hidden; }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--slate); }

/* ---------------- contact ---------------- */
.contact-grid { display: grid; gap: 1.25rem; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.contact-card h2, .contact-card h3 { margin-top: 0; }
.contact-line { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-line .ic { width: 1.4em; height: 1.4em; color: var(--brand); flex: none; margin-top: .15em; }
.contact-line a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-line a:hover { color: var(--brand); }
.hours-list { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.4rem; margin: 0; }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; color: var(--slate); text-align: right; white-space: nowrap; }
.today-line { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin: 0 0 .9rem; font-size: 1.06rem; }
.today-line strong { font-weight: 800; }
.today-dot { width: .7rem; height: .7rem; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); flex: none; }
.today-line.closed .today-dot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.18); }
.open-badge { font-size: .76rem; font-weight: 800; letter-spacing: .02em; padding: .22rem .65rem; border-radius: 999px; background: #e7f8ee; color: #15803d; border: 1px solid #bbf7d0; }
.today-line.closed .open-badge { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.next-slot { margin: 0 0 1rem; font-size: .95rem; color: var(--slate); }
.next-slot:empty { display: none; }
.next-slot strong { color: var(--ink); }
.next-slot a { font-weight: 700; white-space: nowrap; }

/* ---------------- cta band ---------------- */
.cta-band { background: linear-gradient(135deg, var(--brand-deep), var(--brand) 70%); color: #fff; text-align: center; }
.cta-band-inner { display: flex; flex-direction: column; align-items: center; }
.smile-arc { width: 150px; height: auto; margin-bottom: 1rem; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: #dbe6ff; margin-bottom: 0; }
.cta-band .btn-row { justify-content: center; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--ink); color: #b9c6dd; padding: 3.5rem 0 0; }
.footer-grid { display: grid; gap: 2.2rem; padding-bottom: 2.5rem; }
.footer-brand p { font-size: .95rem; }
.brand-footer { color: #fff; margin-bottom: 1rem; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-nav a, .footer-contact a { color: #b9c6dd; text-decoration: none; font-size: .95rem; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact address { font-style: normal; margin-bottom: 1.1rem; line-height: 1.9; }
.social-row { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s ease, transform .2s ease; }
.social-row a:hover { background: var(--brand); transform: translateY(-2px); color: #fff; }
.social-row .ic { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0 6.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .88rem; color: #8a97a8; }
.smile-arc-sm { width: 74px; margin: 0; }

/* ---------------- sticky mobile CTA ---------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .6rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(12, 21, 36, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.sticky-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: .85rem 1rem; border-radius: 12px; min-height: 48px;
}
.sticky-btn .ic { width: 1.15em; height: 1.15em; }
.sticky-call { background: var(--brand); color: #fff; }
.sticky-dir { background: rgba(255,255,255,.12); color: #fff; }

/* ---------------- service page extras ---------------- */
.split { display: grid; gap: 2.5rem; align-items: start; }
.split-narrow { max-width: 720px; }
/* editorial photos */
.photo-frame { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px rgba(12,21,36,.14); }
.photo-frame img { display: block; width: 100%; height: auto; }
.photo-frame figcaption { padding: .7rem 1.1rem; font-size: .85rem; color: var(--slate); background: #fff; }
.kicker { font-family: var(--font-display); font-weight: 600; color: var(--brand); font-size: .95rem; margin-bottom: .4rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 1.2rem 0; padding: 0; }
.pill-list li { background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: .42rem .95rem; font-size: .92rem; font-weight: 500; }
.repair-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.repair-item { display: flex; gap: .7rem; align-items: center; background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: .85rem 1rem; font-size: .96rem; font-weight: 500; }
.repair-item .ic { color: var(--brand); flex: none; width: 1.2em; height: 1.2em; }
.note-box { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.note-box p { margin: 0; font-size: .98rem; }
.note-box strong { color: var(--brand-deep); }
.area-list { columns: 2; column-gap: 2rem; list-style: none; margin: 1.2rem 0; padding: 0; }
.area-list li { break-inside: avoid; padding: .35rem 0; display: flex; gap: .55rem; align-items: center; }
.area-list .ic { color: var(--brand); width: 1em; height: 1em; flex: none; }

/* ---------------- motion ---------------- */
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero [data-hero] { animation: hero-rise .65s cubic-bezier(.2, .7, .3, 1) both; }
.hero [data-hero="1"] { animation-delay: .05s; }
.hero [data-hero="2"] { animation-delay: .16s; }
.hero [data-hero="3"] { animation-delay: .27s; }
.hero [data-hero="4"] { animation-delay: .38s; }
.hero [data-hero="5"] { animation-delay: .5s; }

/* hero illustration: broken -> fixed loop (6.5s) */
@keyframes fx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes fx-crack { 0%, 34% { opacity: .9; } 46%, 88% { opacity: 0; } 100% { opacity: .9; } }
@keyframes fx-smile-draw { 0%, 40% { stroke-dashoffset: 72; opacity: 0; } 46% { opacity: 1; } 58%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes fx-smile-pop { 0%, 52% { opacity: 0; transform: scale(.4); } 64%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes fx-spark { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes fx-spin { to { transform: rotate(360deg); } }
@keyframes fx-spin-rev { to { transform: rotate(-360deg); } }
.hero-art .fx-float { animation: fx-float 6.5s ease-in-out infinite; }
.hero-art .fx-crack { animation: fx-crack 6.5s ease-in-out infinite; }
.hero-art .fx-smile path { stroke-dasharray: 72; animation: fx-smile-draw 6.5s ease-in-out infinite; }
.hero-art .fx-smile circle { transform-box: fill-box; transform-origin: center; animation: fx-smile-pop 6.5s ease-in-out infinite; }
.hero-art .fx-spark { transform-box: fill-box; transform-origin: center; animation: fx-spark 2.6s ease-in-out infinite; }
.hero-art .fx-spark-2 { animation-delay: .8s; }
.hero-art .fx-spark-3 { animation-delay: 1.6s; }
.hero-art .fx-orbit { transform-box: fill-box; transform-origin: center; animation: fx-spin 60s linear infinite; }
.hero-art .fx-orbit-rev { animation: fx-spin-rev 45s linear infinite; }

/* marquee strip */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: .8rem 0;
  border-top: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .02em;
  animation: marquee-scroll 28s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-track .dot { color: var(--smile); }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }

/* stats band + counters */
.stats-band { background: var(--mist); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 4.5rem);
  letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-num .suffix { color: var(--brand); }
.stat-label { color: var(--slate); font-size: .95rem; margin-top: .25rem; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

/* button shine + press */
.btn { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .55s ease; }
.btn-primary:hover::after { left: 130%; }
.btn:active { transform: translateY(1px) scale(.99); }
.card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
a.card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(12,21,36,.12); }
a.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }
.card-icon { transition: transform .25s cubic-bezier(.2, .7, .3, 1.4); }

/* nav underline */
.nav-list > li > a { position: relative; }
.nav-list > li > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px;
  background: var(--brand); border-radius: 2px; transition: right .22s ease; }
.nav-list > li > a:hover::after, .nav-list > li > a.is-active::after { right: 0; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-art .fx-smile path { stroke-dashoffset: 0; }
}

/* ---------------- responsive ---------------- */
@media (min-width: 760px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .split { grid-template-columns: 1.2fr .8fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .area-list { columns: 3; }
}
@media (max-width: 900px) {
  .topbar-hours { display: none; }
  .topbar-inner { gap: .9rem; justify-content: flex-end; }
  /* solid header on mobile: backdrop-filter would trap the fixed menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-header .brand, .nav-toggle { position: relative; z-index: 95; }
  .site-nav { position: static; }
  .nav-list { display: none; } /* desktop nav hidden on mobile */
  .nav-toggle { display: block; -webkit-tap-highlight-color: transparent; }
  /* ---- simple flat mobile menu ---- */
  .mobile-menu {
    display: block;
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90;
    background: #fff;
    padding: calc(var(--header-h) + .6rem) 1.5rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(103%); visibility: hidden;
    transition: transform .34s cubic-bezier(.32,.72,0,1), visibility 0s .34s;
    overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; touch-action: pan-y;
  }
  .mobile-menu.is-open { transform: none; visibility: visible; transition: transform .34s cubic-bezier(.32,.72,0,1); }
  body.nav-open { overflow: hidden; }
  /* pin the header (logo + close button) to the viewport top while the mobile menu
     is open — position:sticky can unstick on iOS when body scroll is locked, which
     leaves the open menu with no visible header/close button */
  body.nav-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
  /* pin the header (logo + close button) to the viewport top while the mobile menu
     is open — position:sticky can lose its anchor on iOS when body scroll is locked,
     leaving the menu with no visible header/close button */
  body.nav-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
  /* category groups that drop down */
  .mm-group { border-bottom: 1px solid var(--line); }
  .mm-group-btn { display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 1.05rem .1rem; background: none; border: 0; cursor: pointer; text-align: left;
    font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink);
    -webkit-tap-highlight-color: transparent; }
  .mm-chev { width: 32px; height: 32px; padding: 8px; border-radius: 50%; flex: none;
    background: var(--mist); color: var(--ink-soft);
    transition: transform .3s ease, background .3s ease, color .3s ease; }
  .mm-group.open > .mm-group-btn { color: var(--brand-deep); }
  .mm-group.open .mm-chev { transform: rotate(180deg); background: var(--brand-soft); color: var(--brand-deep); }
  .mm-sub { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
  .mm-group.open > .mm-sub { max-height: 640px; }
  .mm-sub ul { list-style: none; margin: 0 0 1rem; padding: .5rem; display: grid; gap: 2px;
    background: var(--mist); border-radius: 18px; }
  .mm-sub a { display: flex; align-items: center; gap: .85rem; padding: .68rem .6rem; border-radius: 13px;
    font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none; }
  .mm-sub a:hover { background: #fff; color: var(--brand-deep); }
  .mm-sub a .ic { width: 40px; height: 40px; padding: 10px; flex: none; background: #fff;
    color: var(--brand-deep); border-radius: 13px; box-shadow: 0 1px 4px rgba(12,21,36,.09); }
  .mm-sub a.mm-view-all { color: var(--brand-deep); font-weight: 600; }
  /* quick links */
  .mm-quick { list-style: none; margin: 0; padding: 0; }
  .mm-quick li { border-bottom: 1px solid var(--line); }
  .mm-quick li:last-child { border-bottom: 0; }
  .mm-quick a { display: flex; align-items: center; justify-content: space-between;
    padding: 1.05rem .1rem; font-size: 1.12rem; font-weight: 700; font-family: var(--font-display);
    color: var(--ink); text-decoration: none; }
  .mm-quick .mm-chev { transform: rotate(-90deg); }
  .mm-cta { position: sticky; bottom: 0; display: flex; gap: .7rem; margin-top: 1.3rem;
    padding: 1rem 0 .2rem; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 32%); }
  .mm-cta .btn { flex: 1 1 0; justify-content: center; padding: 1rem .5rem; font-size: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 759px) {
  body { font-size: 1rem; }
  .sticky-cta { display: flex; }
  .footer-bottom { padding-bottom: 7.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { width: min(300px, 86%); }
}

/* ---------------- quote page ---------------- */
.quote-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.quote-tab { font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid var(--line);
  background: #fff; color: var(--slate); cursor: pointer; transition: all .2s ease; }
.quote-tab:hover { border-color: var(--brand); color: var(--brand-deep); }
.quote-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff;
  box-shadow: 0 6px 18px rgba(12,21,36,.22); }
.quote-panel { animation: hero-rise .4s ease both; }

/* Smili Tech guide */
.smili-tech-widget { position: fixed; z-index: 20; right: clamp(1rem, 3vw, 2.5rem); bottom: 1.1rem;
  display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; pointer-events: none; }
.smili-tech-widget.is-dismissed { display: none; }
.smili-tech-bubble { max-width: 220px; padding: .7rem .9rem; border: 1px solid rgba(12,21,36,.1);
  border-radius: 14px 14px 4px 14px; background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(12,21,36,.16);
  display: flex; align-items: flex-start; gap: .55rem; font-weight: 700; font-size: .86rem; cursor: pointer; pointer-events: auto; animation: tech-bubble-in .55s .8s both; }
.smili-tech-bubble span { flex: 1; }
.smili-tech-close { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; padding: 0; border: 0; border-radius: 50%; background: #e9eef7;
  color: var(--ink); font-size: 1rem; line-height: 1; cursor: pointer; }
.smili-tech-close:hover { background: var(--smile); }
.smili-tech-launcher { position: relative; width: clamp(70px, 6.5vw, 98px); aspect-ratio: 1224 / 1285;
  padding: 0; border: 0; background: transparent; cursor: pointer; pointer-events: auto; transform-origin: 50% 100%;
  animation: tech-idle 4.8s ease-in-out infinite; filter: drop-shadow(0 12px 10px rgba(12,21,36,.2)); }
.smili-tech-rig { position: absolute; inset: 0; display: block; overflow: hidden; }
.smili-tech-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.smili-tech-3d .smili-tech-canvas { display: block; }
.smili-tech-3d .smili-tech-rig { display: none; }
.smili-tech-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.smili-tech-body { z-index: 1; }
.smili-tech-torso { z-index: 2; clip-path: inset(39% 18% 26% 18%); animation: tech-torso 3.8s ease-in-out infinite; }
.smili-tech-face { z-index: 3; clip-path: inset(10% 27% 57% 27%); transform-origin: 50% 31%; animation: tech-face 4.4s ease-in-out infinite; }
.smili-tech-left-hand { z-index: 4; clip-path: inset(18% 66% 49% 8%); transform-origin: 23% 38%; animation: tech-left-hand 3.2s ease-in-out infinite; }
.smili-tech-right-hand { z-index: 4; clip-path: inset(16% 3% 39% 65%); transform-origin: 79% 39%; animation: tech-right-hand 3.7s ease-in-out infinite; }
.smili-tech-fallback { display: none; align-items: center; justify-content: center; width: 70%; height: 70%;
  margin: auto; border: 4px solid var(--smile); border-radius: 42% 42% 38% 38%; background: var(--brand);
  color: #fff; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; }
.smili-tech-missing .smili-tech-fallback { display: flex; }
.smili-tech-missing .smili-tech-launcher { height: 118px; aspect-ratio: auto; }
.smili-tech-wave .smili-tech-launcher { animation: tech-wave .9s ease-in-out 2; }
.smili-tech-attention .smili-tech-bubble { animation: tech-bubble-pulse 1.3s ease-in-out 2; }
.smili-tech-launcher:focus-visible, .smili-tech-bubble:focus-visible { outline: 3px solid var(--smile); outline-offset: 4px; }
@keyframes tech-idle { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(1deg); } }
@keyframes tech-wave { 0%, 100% { transform: rotate(0) translateY(0); } 30% { transform: rotate(-4deg) translateY(-5px); } 60% { transform: rotate(4deg) translateY(-3px); } }
@keyframes tech-torso { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes tech-face { 0%, 40%, 100% { transform: scale(1) rotate(0); } 46% { transform: scale(1.035, .97) rotate(-1deg); } 52% { transform: scale(1) rotate(1deg); } }
@keyframes tech-left-hand { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(-5deg); } 62% { transform: rotate(3deg); } }
@keyframes tech-right-hand { 0%, 100% { transform: rotate(0); } 42% { transform: rotate(4deg); } 68% { transform: rotate(-3deg); } }
@keyframes tech-bubble-in { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes tech-bubble-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (max-width: 640px) {
  .smili-tech-widget { right: .75rem; bottom: calc(5.8rem + env(safe-area-inset-bottom)); }
  .smili-tech-bubble { font-size: .78rem; }
}

/* chat */
.chat { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; box-shadow: 0 12px 40px rgba(12,21,36,.1); }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.25rem;
  background: var(--ink); color: #fff; }
.chat-avatar { width: 44px; height: 44px; border-radius: 13px; }
.chat-head strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.chat-status { font-size: .8rem; color: #9FB3D8; display: flex; align-items: center; gap: .4rem; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; display: inline-block;
  animation: fx-spark 2s ease-in-out infinite; }
.chat-log { height: 340px; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: .7rem;
  background: linear-gradient(180deg, #F6F9FF, #fff); }
.chat-msg { max-width: 82%; padding: .7rem 1rem; border-radius: 16px; font-size: .96rem; line-height: 1.45;
  animation: hero-rise .3s ease both; }
.chat-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line);
  border-bottom-left-radius: 5px; color: var(--ink); box-shadow: 0 2px 8px rgba(12,21,36,.06); }
.chat-user { align-self: flex-end; background: var(--brand); color: #fff;
  border-bottom-right-radius: 5px; }
.chat-typing { display: flex; gap: 5px; padding: .9rem 1.1rem; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--slate-light);
  animation: typing-bounce 1s ease-in-out infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-5px); opacity: 1; } }
.chat-img { padding: .4rem; }
.chat-device-img { width: 100%; max-width: 120px; border-radius: 10px; display: block; }
.chat-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: .9rem 1.25rem; border-top: 1px solid var(--line);
  background: #fff; min-height: 3.4rem; }
.chip { padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--brand);
  background: #EFF4FF; color: var(--brand-deep); font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: all .18s ease; }
.chip:hover { background: var(--brand); color: #fff; transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,127,180,.3); }
.chat-input { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.25rem; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; min-width: 0; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 1rem; font-family: var(--font-body); }
.chat-input input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27,127,180,.15); }
.chat-input .btn { padding: .75rem 1.4rem; flex: none; }
.chat-noscript { padding: 1rem 1.25rem; font-size: .95rem; }
.chat-reset { display: block; margin: 0 1.25rem .9rem auto; background: none; border: 0; padding: .35rem 0;
  color: var(--muted, #6b7a90); font-size: .82rem; font-family: var(--font-body); text-decoration: underline; cursor: pointer; }
.chat-reset:hover { color: var(--brand-deep); }
.chat-reset[hidden] { display: none; }

/* form */
.quote-form { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 2rem; box-shadow: 0 12px 40px rgba(12,21,36,.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.form-field .optional { font-weight: 400; color: var(--slate-light); }
.form-field input, .form-field select { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line);
  border-radius: 12px; font-size: 1rem; font-family: var(--font-body); background: #fff; color: var(--ink); }
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27,127,180,.15); }
.radio-row { display: flex; gap: 1.1rem; padding-top: .5rem; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; cursor: pointer; }
.radio-row input { width: 1.1rem; height: 1.1rem; accent-color: var(--brand); }
.form-error { color: #B42318; background: #FEF3F2; border: 1px solid #FECDCA; border-radius: 10px;
  padding: .7rem 1rem; margin: 0 0 1rem; font-size: .95rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .quote-form { padding: 1.4rem; } }

/* handoff */
.quote-handoff { max-width: 720px; margin: 2.5rem auto 0; background: var(--ink); color: #fff;
  border-radius: 20px; padding: 2rem; animation: hero-rise .45s ease both; }
.quote-handoff h2 { color: #fff; margin-top: 0; }
.quote-handoff p { color: #C4D2EC; }
.handoff-preview { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 1.1rem 1.25rem; white-space: pre-wrap; font-family: var(--font-body);
  font-size: .93rem; line-height: 1.55; color: #EAF0FC; }
.handoff-note { font-size: .92rem; margin-bottom: 0; }
.handoff-note a { color: var(--smile); font-weight: 600; }

/* trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.trust-item { display: flex; gap: .7rem; align-items: flex-start; background: var(--mist);
  border-radius: 14px; padding: 1.1rem 1.2rem; font-size: .95rem; color: var(--slate); }
.trust-item .ic { color: var(--brand); flex: none; margin-top: .15rem; }
.trust-item strong { color: var(--ink); }
@media (max-width: 720px) { .trust-strip { grid-template-columns: 1fr; } }

/* ---- repair tracking timeline ---- */
.timeline { display: flex; flex-direction: column; gap: 0; margin: 1rem 0; }
.t-step { display: flex; gap: .8rem; align-items: flex-start; padding: .45rem 0; color: var(--slate); }
.t-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c9d5e0; flex: none; margin-top: 2px; background: #fff; }
.t-step.done { color: var(--ink); }
.t-step.done .t-dot { background: var(--brand); border-color: var(--brand); }
.t-step.current { color: var(--ink); font-weight: 700; }
.t-step.current .t-dot { border-color: var(--smile); box-shadow: 0 0 0 4px rgba(240,176,64,.25); }
.clean-list { list-style: none; padding: 0; margin: .5rem 0; }
.clean-list li { padding: .5rem 0; border-bottom: 1px solid var(--mist); }

/* ---- protection plan pricing ---- */
.plans { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.privacy-note { display: flex; gap: .7rem; align-items: flex-start; margin: 1.15rem 0; padding: .85rem 1rem; border-left: 3px solid var(--brand); background: var(--brand-soft); color: var(--ink); font-size: .92rem; line-height: 1.5; }
.privacy-note .ic { color: var(--brand-deep); flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; }
.privacy-note strong { color: var(--ink); }
.plan-card { position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.6rem;
  box-shadow: 0 6px 24px rgba(12,21,36,.07); transition: transform .25s ease, box-shadow .25s ease; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card.featured { background: linear-gradient(165deg, #14638F 0%, #1B7FB4 70%, #2395c9 100%);
  border: 0; color: #fff; box-shadow: 0 18px 44px rgba(20,99,143,.35); }
@media (min-width: 900px) { .plan-card.featured { transform: scale(1.04); } }
.plan-card.featured:hover { transform: translateY(-4px) scale(1.04); }
.plan-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--smile); color: var(--ink); font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px;
  white-space: nowrap; box-shadow: 0 4px 12px rgba(240,176,64,.45); }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0; }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; margin: .9rem 0 .15rem; }
.plan-price small { font-size: 1.1rem; font-weight: 600; }
.plan-price.plan-gated { font-size: 1.35rem; font-weight: 700; }
.plan-per { font-size: .95rem; opacity: .65; }
.plan-card.featured .plan-per { opacity: .85; }
.plan-desc { margin: 1rem 0 1.4rem; font-size: 1rem; }
.plan-card.featured .plan-desc { opacity: .92; }
.plan-feats { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .7rem; }
.plan-feats li { display: flex; gap: .65rem; align-items: flex-start; font-size: .98rem; }
.plan-feats .ic { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--brand); }
.plan-card.featured .plan-feats .ic { color: var(--smile); }
.plan-card .btn { margin-top: auto; justify-content: center; }
.plan-card.featured .btn-light { background: #fff; }
.sample-note { display: inline-block; margin-top: 1.6rem; font-size: .85rem; color: var(--ink-soft);
  background: var(--mist); border: 1px dashed var(--line); border-radius: 12px; padding: .6rem 1rem; }
/* vs comparison */
.vs-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 860px) { .vs-grid { grid-template-columns: 1.1fr 1fr; } }
.vs-card { border-radius: 22px; padding: 1.8rem 1.6rem; }
.vs-card.us { background: var(--brand-soft); border: 1px solid #cfe7f5; }
.vs-card.them { background: #fff; border: 1px solid var(--line); }
.vs-card h3 { font-size: 1.2rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.vs-card h3 .ic { width: 26px; height: 26px; color: var(--brand-deep); }
.vs-card.them h3 .ic { color: var(--ink-soft); }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.vs-card.us li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.vs-card.us li .ic { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--brand-deep); }
.vs-card.them li { color: var(--ink-soft); padding-left: 1.4rem; position: relative; }
.vs-card.them li::before { content: "–"; position: absolute; left: .3rem; }
/* steps */
.steps { display: grid; gap: 1.25rem; margin-top: 2rem; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem 1.4rem;
  box-shadow: 0 6px 24px rgba(12,21,36,.06); }
.step-num { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #35a9dd 0%, var(--brand) 45%, var(--brand-deep) 100%);
  color: #fff; border: 3px solid #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
  box-shadow: 0 10px 24px rgba(27,127,180,.35), 0 0 0 6px var(--brand-soft);
  margin-bottom: 1.15rem; }
.step h3 { font-size: 1.1rem; margin: 0 0 .5rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---- covered services grid ---- */
.soft-grid { display: grid; gap: 1.1rem; margin-top: 2rem; }
@media (min-width: 640px) { .soft-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .soft-grid { grid-template-columns: repeat(3, 1fr); } }
.soft-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.35rem;
  box-shadow: 0 6px 24px rgba(12,21,36,.06); transition: transform .25s ease, box-shadow .25s ease; }
.soft-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.soft-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 1rem; }
.soft-icon .ic { width: 26px; height: 26px; }
.soft-card h3 { font-size: 1.08rem; margin: 0 0 .45rem; }
.soft-card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---- coming soon ---- */
.soon { text-align: center; padding-top: .5rem; }
.soon-scene { position: relative; width: min(400px, 86vw); aspect-ratio: 1 / 1; margin: 0 auto 1.5rem; }
.soon-orb { position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft) 0%, rgba(231,244,251,0) 68%);
  animation: orb-pulse 4.5s ease-in-out infinite; }
.soon-ring { position: absolute; inset: 2%; border-radius: 50%;
  border: 2px dashed #bcdcef; opacity: .8; animation: spin-slow 26s linear infinite; }
.soon-phone { position: absolute; inset: 24%; animation: floaty 3.6s ease-in-out infinite;
  filter: drop-shadow(0 18px 28px rgba(20,99,143,.22)); }
.soon-phone svg { width: 100%; height: 100%; display: block; }
.soon-chip { position: absolute; width: 64px; height: 64px; border-radius: 20px; background: #fff;
  display: grid; place-items: center; color: var(--brand-deep);
  box-shadow: 0 10px 26px rgba(12,21,36,.14); border: 1px solid var(--line);
  animation: floaty 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
.soon-chip .ic { width: 30px; height: 30px; }
.soon-chip.c1 { top: 4%; left: 8%; }
.soon-chip.c2 { top: 10%; right: 4%; --d: .7s; }
.soon-chip.c3 { bottom: 8%; left: 2%; --d: 1.3s; }
.soon-chip.c4 { bottom: 4%; right: 10%; --d: 1.9s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes orb-pulse { 0%, 100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.soon-title { font-size: clamp(2rem, 6vw, 2.9rem); margin: 0 0 .8rem; }
.soon-dots::after { content: ""; animation: dots 1.6s steps(1) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.soon-sub { max-width: 34rem; margin: 0 auto 1.8rem; color: var(--ink-soft); font-size: 1.08rem; }
.soon .btn-row { justify-content: center; }

/* ---- review nudge on tracking page ---- */
.review-nudge { margin-top: 1.4rem; padding: 1.4rem 1.3rem; border-radius: 18px;
  background: linear-gradient(150deg, #E7F4FB, #FFF6E3); border: 1px solid #cfe7f5; text-align: center; }
.review-nudge p { margin: 0 0 1rem; }
.review-nudge .btn { justify-content: center; }

/* ---- customer review wall ---- */
.review-wall { padding-top: clamp(3.5rem, 7vw, 5.5rem); background: var(--mist); }
.review-wall > .wrap { max-width: var(--max-w); }
.review-wall > .wrap > .kicker, .review-wall > .wrap > h2 { max-width: 46rem; }
.review-wall > .wrap > h2 { margin-bottom: 1.8rem; }
.review-stars { color: var(--smile); letter-spacing: .18em; font-size: 1.05rem; white-space: nowrap; }
.rating-banner { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  background: linear-gradient(135deg, #0e2c44, #14638F 55%, #1B7FB4);
  color: #fff; border-radius: 14px; padding: 1.5rem 1.4rem; margin: 0 0 1.5rem;
  box-shadow: 0 14px 34px rgba(20, 99, 143, .28); }
.rb-g { width: 54px; height: 54px; border-radius: 50%; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rb-g svg { width: 30px; height: 30px; }
.rb-main { flex: 1 1 160px; min-width: 0; }
.rb-score { font-family: "Space Grotesk", sans-serif; font-size: 2.7rem; font-weight: 800; line-height: 1; }
.rb-main .review-stars { margin: .35rem 0 .25rem; font-size: 1.15rem; }
.rb-main p { margin: 0; color: rgba(255, 255, 255, .88); font-size: .93rem; }
.rating-banner .btn { flex: none; }

.review-feature { margin: 0 0 1.5rem; background: #FFFAEF; border: 1px solid #f2e2bd;
  border-radius: 14px; padding: 1.8rem 1.5rem; position: relative; overflow: hidden; }
.review-feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--smile), #40C0F0); }
.rf-quote { color: var(--smile); }
.rf-quote svg { width: 40px; height: 40px; }
.rf-label { margin: .4rem 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); }
.review-feature blockquote { margin: .7rem 0 1.3rem; font-size: 1.12rem; line-height: 1.7; font-weight: 500; color: var(--ink); }
.review-feature figcaption { display: flex; align-items: center; gap: .9rem; }
.rf-who strong { display: block; font-size: 1rem; }
.rf-who span { font-size: .85rem; color: var(--ink-soft); }

.review-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
.review-card { background: #fff; border: 1px solid #e6edf3; border-radius: 14px;
  padding: 1.35rem 1.25rem; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rc-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.rc-who { flex: 1; min-width: 0; }
.rc-who strong { display: block; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-who span { font-size: .82rem; color: var(--ink-soft); }
.rc-g { flex: none; line-height: 0; }
.rc-g svg { width: 21px; height: 21px; }
.review-card .review-stars { margin-bottom: .55rem; font-size: .98rem; }
.review-card .review-text { flex: 1; font-size: .96rem; line-height: 1.65; }
.rc-src { margin: .95rem 0 0; font-size: .79rem; color: var(--ink-soft); letter-spacing: .02em; }

.avatar { width: 46px; height: 46px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 800; color: #fff;
  font-size: .98rem; flex: none; letter-spacing: .02em; }
.a1 { background: linear-gradient(135deg, #1B7FB4, #40C0F0); }
.a2 { background: linear-gradient(135deg, #F0B040, #dd8f1d); }
.a3 { background: linear-gradient(135deg, #14638F, #0d3b56); }
.a4 { background: linear-gradient(135deg, #2aa198, #1B7FB4); }
.a5 { background: linear-gradient(135deg, #e2703a, #F0B040); }
.a6 { background: linear-gradient(135deg, #5b6ee1, #40C0F0); }
@media (min-width: 720px) {
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .rating-banner { padding: 1.7rem 1.8rem; gap: 1.4rem; }
  .review-feature { padding: 2.2rem 2rem; }
  .review-feature blockquote { font-size: 1.22rem; }
}
@media (min-width: 1080px) {
  .review-grid { gap: 1.5rem; }
}

/* ---- reviews page refinements ---- */
.reviews-page { background:#f7f9fb; color:#152638; }
.reviews-page .review-wall > .wrap { max-width:900px; }
.reviews-page .review-wall { padding:4.2rem 0 4.8rem; background:#f7f9fb; }
.reviews-page .review-wall > .wrap > .kicker { margin-bottom:.65rem; color:#b27714; }
.reviews-page .review-wall h2 { max-width:16ch; margin-top:0; color:#12273a; font-size:clamp(1.9rem,4vw,3.2rem); letter-spacing:-.035em; }
.reviews-page .rating-banner { display:flex; align-items:center; gap:1rem; margin:2rem 0; padding:1rem 1.15rem; border:1px solid #dfe7ee; border-radius:8px; background:#fff; box-shadow:0 10px 30px rgba(24,49,70,.06); }
.reviews-page .rating-banner .rb-g { display:grid; place-items:center; width:2.6rem; height:2.6rem; flex:0 0 auto; border-radius:50%; background:#f4b942; color:#12273a; }
.reviews-page .rating-banner .rb-g .ic { width:1.25rem; height:1.25rem; }
.reviews-page .rating-banner .rb-main { min-width:0; }
.reviews-page .rating-banner .rb-score { color:#12273a; font-size:1.3rem; font-weight:800; line-height:1; }
.reviews-page .rating-banner .review-stars { margin:.2rem 0 0; color:#b27714; font-size:.85rem; letter-spacing:.08em; }
.reviews-page .rating-banner p { margin:.15rem 0 0; color:#687a8b; font-size:.76rem; }
.reviews-page .rating-banner .btn { margin-left:auto; white-space:nowrap; }
.reviews-page .review-feature { margin:2.2rem 0; padding:clamp(1.4rem,4vw,2.6rem); border:1px solid #dfe7ee; border-radius:8px; background:#12273a; box-shadow:0 18px 38px rgba(18,39,58,.12); }
.reviews-page .review-feature .rf-label { color:#f4b942; }
.reviews-page .review-feature blockquote { max-width:44rem; margin:1rem 0 1.5rem; color:#fff; font-size:clamp(1.35rem,2.4vw,2rem); line-height:1.35; letter-spacing:-.02em; }
.reviews-page .review-feature .rf-who strong { color:#fff; }
.reviews-page .review-feature .rf-who span { color:#b9c7d3; }
.reviews-page .review-grid { gap:1rem; }
.reviews-page .review-card { border:1px solid #dfe7ee; border-radius:8px; background:#fff; box-shadow:0 7px 22px rgba(24,49,70,.045); }
.reviews-page .review-card:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(24,49,70,.09); }
.reviews-page .review-card .review-stars { color:#b27714; }
.reviews-page .review-card .review-text { color:#33495c; line-height:1.65; }
.reviews-page .review-card .rc-src { color:#718293; }
.reviews-page main > section:not(.review-wall) .card { border-color:#dfe7ee; box-shadow:0 7px 22px rgba(24,49,70,.045); }
@media (max-width:700px) {
  .reviews-page .rating-banner { align-items:flex-start; flex-wrap:wrap; }
  .reviews-page .rating-banner .btn { width:100%; margin:0; }
  .reviews-page .review-wall { padding-top:3rem; }
}

/* ---------- advanced quote chat: progress, cards, slot picker, photo ---------- */
.chat-progress { height: 6px; background: var(--brand-soft); }
.chat-progress span { display: block; height: 100%; width: 0; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--brand), var(--smile)); transition: width .45s ease; }
.chat-step { margin: 0; padding: .5rem 1.25rem 0; font-size: .78rem; color: var(--slate-light);
  text-align: right; min-height: 1.4rem; }
.chat-step span:empty { display: none; }
.chip-icon { margin-right: .35rem; }
.chip-card { display: flex; flex-direction: column; align-items: center; gap: .45rem;
  flex: 1 1 96px; max-width: 130px; padding: .8rem .5rem; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-family: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s; }
.chip-card:hover { border-color: var(--brand); transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27,127,180,.15); }
.chip-card-img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; }
.chip-card-icon { font-size: 2rem; line-height: 1; }
.chip-card-label { font-size: .8rem; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.25; }
.slot-picker { max-width: 100%; }
.slot-picker-title { font-weight: 600; margin-bottom: .6rem; }
.slot-days { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; -webkit-overflow-scrolling: touch; }
.slot-day { flex: 0 0 auto; min-width: 74px; padding: .55rem .4rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; gap: .15rem; font-family: inherit; }
.slot-day.is-active { border-color: var(--brand); background: var(--brand-soft); }
.slot-day-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.slot-day-sub { font-size: .72rem; color: var(--slate-light); }
.slot-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .7rem; }
.slot-time { padding: .6rem .3rem; border-radius: 10px; border: 1.5px solid var(--brand);
  background: #fff; color: var(--brand-deep); font-weight: 600; font-size: .85rem; cursor: pointer;
  font-family: inherit; transition: background .15s, color .15s; }
.slot-time:hover { background: var(--brand); color: #fff; }
.slot-any { grid-column: 1 / -1; border-style: dashed; }
.slot-nopref { margin-top: .7rem; background: none; border: none; color: var(--brand);
  font-size: .85rem; cursor: pointer; text-decoration: underline; padding: .3rem; font-family: inherit; }
.photo-preview { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.photo-preview-img { max-width: 220px; width: 100%; border-radius: 12px; display: block; }
.photo-preview-row { display: flex; gap: .5rem; }
.photo-retake { background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  border-radius: 10px; cursor: pointer; font-family: inherit; }

/* ---------- quote page: demoted quick form ---------- */
.quote-alt { max-width: 640px; margin: 1.5rem auto 0; border: 1px solid var(--line);
  border-radius: 14px; background: #fff; }
.quote-alt summary { padding: 1rem 1.25rem; cursor: pointer; font-size: .98rem; color: var(--ink);
  list-style: none; display: flex; gap: .5rem; align-items: baseline; }
.quote-alt summary::-webkit-details-marker { display: none; }
.quote-alt summary::before { content: "+"; font-weight: 700; color: var(--brand); font-size: 1.2rem; }
.quote-alt[open] summary::before { content: "\2013"; }
.quote-alt summary span { color: var(--slate); }
.quote-alt .quote-form { padding: 0 1.25rem 1.5rem; border: none; box-shadow: none; margin: 0; max-width: none; }

/* compact chat input on phones */
@media (max-width: 640px) {
  .chat-input { padding: .5rem .6rem; gap: .45rem; }
  .chat-input input { padding: .5rem .7rem; border-radius: 10px; }
  .chat-input .btn { padding: .5rem .8rem; font-size: .85rem; border-radius: 10px; }
  .chat-chips { padding: .7rem .9rem; }
}
/* keep the chat input clear of the fixed mobile call bar */
@media (max-width: 759px) {
  #smili-chat { scroll-margin-bottom: 7rem; }
}

/* on the quote page the chat IS the assistant — the floating tech bubble would cover the device cards */
body:has(#smili-chat) .smili-tech-widget { display: none; }

/* ---------------- blog: pro editorial design ---------------- */
.blog-hero {
  background: var(--ink); color: #eaf0fa; position: relative; overflow: hidden;
}
.blog-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(27,127,180,.35), transparent 70%),
    radial-gradient(500px 260px at 90% 100%, rgba(240,176,64,.16), transparent 70%);
  pointer-events: none;
}
.blog-hero .wrap { position: relative; }
.blog-hero .kicker { color: var(--smile); }
.blog-hero h1 { color: #fff; max-width: 16ch; }
.blog-hero p.lead { color: #b9c6dd; font-size: 1.15rem; max-width: 44rem; margin-bottom: 0; }
.blog-hero .breadcrumbs a { color: #b9c6dd; }

/* featured post */
.post-featured {
  display: grid; gap: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-featured-img { aspect-ratio: 16/9; overflow: hidden; background: var(--mist); min-height: 220px; }
.post-featured-img img, .post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.post-featured:hover .post-featured-img img, .post-card:hover .post-card-img img { transform: scale(1.045); }
.post-featured-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column;
  justify-content: center; gap: .7rem; }
.post-featured-body h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw + .9rem, 2.1rem); }
.post-featured-body p { color: var(--slate); margin: 0; }
@media (min-width: 860px) {
  .post-featured { grid-template-columns: 1.15fr 1fr; }
  .post-featured-img { aspect-ratio: auto; min-height: 320px; }
}
.flag-featured {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  background: var(--smile); color: var(--ink); font-weight: 700; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: .35rem .8rem;
}

/* post grid + cards */
.post-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c9d6ea; color: var(--ink); }
.post-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--mist); }
.post-card-body { padding: 1.3rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card-body .kicker { margin: 0; }
.post-card-body h3 { margin: 0; font-size: 1.14rem; line-height: 1.3; }
.post-card-body > p { margin: 0; color: var(--slate); font-size: .96rem; flex: 1; }
.post-meta { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--slate-light); margin: 0; }
.post-meta .dot::before { content: "·"; margin-right: .55rem; }
.post-card-link { font-weight: 600; font-size: .95rem; color: var(--brand);
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; }
.post-card-link .ic { width: 1em; height: 1em; transition: transform .2s ease; }
.post-card:hover .post-card-link .ic { transform: translateX(4px); }

/* article page */
.article-narrow { max-width: 760px; }
.article-hero .kicker { margin-bottom: .6rem; }
.article-dek { font-size: 1.2rem; color: var(--slate); max-width: 40rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  font-size: .92rem; color: var(--slate-light); margin-top: 1.2rem; }
.article-meta .byline { display: inline-flex; align-items: center; gap: .5rem; color: var(--slate); font-weight: 600; }
.article-meta .byline img { width: 34px; height: 34px; border-radius: 50%; }
.article-cover { margin: 0 0 2.4rem; }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); display: block; }
.article-cover figcaption { font-size: .85rem; color: var(--slate-light); margin-top: .6rem; }
.article-body { font-size: 1.09rem; }
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 700; float: left;
  font-size: 3.3em; line-height: .82; padding: .06em .14em 0 0; color: var(--brand-deep);
}
.article-body h2 { margin-top: 2em; padding-top: .2em; }
.article-body h2::before {
  content: ""; display: block; width: 2.2rem; height: 4px; border-radius: 2px;
  background: var(--smile); margin-bottom: .7rem;
}
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body li { margin-bottom: .5em; }
.article-body li::marker { color: var(--brand); font-weight: 700; }
.article-body .btn-row { margin: 2rem 0; }
.author-box {
  display: flex; gap: 1.1rem; align-items: flex-start; background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-top: 3rem;
}
.author-box img { width: 58px; height: 58px; border-radius: 16px; flex: none; background: #fff; }
.author-box h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.author-box p { margin: 0; color: var(--slate); font-size: .96rem; }
.post-nav { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem;
  text-decoration: none; color: var(--ink); display: block;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.post-nav a:hover { border-color: #c9d6ea; box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.post-nav .nav-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--slate-light); font-weight: 700; margin-bottom: .3rem; }
.post-nav .nav-title { font-family: var(--font-display); font-weight: 600; }
.post-nav .nav-next { text-align: right; }
.more-posts { margin-top: 1rem; }
.more-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.more-card { display: flex; gap: .9rem; align-items: center; text-decoration: none; color: var(--ink); }
.more-card img { width: 92px; height: 70px; object-fit: cover; border-radius: 10px; flex: none; }
.more-card h4 { margin: 0; font-size: .98rem; line-height: 1.35; }
.more-card:hover h4 { color: var(--brand-deep); }
