/* =========================================================
   Shark Flooring — landing page
   Breakpoints (project standard):
   ≤767 phone portrait · 768–880 phone landscape · 881–1024 tablet portrait
   1025–1200 tablet landscape · 1201–1366 notebook · 1367+ desktop
   ========================================================= */
/* Self-hosted fonts (variable, latin subset) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/fraunces-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0c2340;
  --navy-2: #143259;
  --ink: #0a1628;
  --paper: #f6f1ea;
  --paper-2: #efe7dc;
  --white: #fff;
  --text: #1c2632;
  --muted: #5a6572;
  --line: #e2d8ca;
  --accent: #f0a04b;      /* warm oak — CTA */
  --accent-2: #ffb766;
  --accent-ink: #1d1206;
  --gold: #f5b83d;
  --ok: #1f8a5b;
  --err: #c0392b;

  --ff-d: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-b: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 26px;
  --sh-float: 0 1px 2px rgba(10,22,40,.06), 0 12px 28px rgba(10,22,40,.10), 0 40px 80px rgba(10,22,40,.10);
  --sh-soft: 0 1px 2px rgba(10,22,40,.05), 0 10px 30px rgba(10,22,40,.07);
  --ease: cubic-bezier(.22,.8,.26,1);
  --wrap: 1200px;
  --gut: 16px;
  --hdr: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff-b); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, legend, summary, blockquote p, .float-card p { text-wrap: balance; }
h1, h2, h3 { margin: 0; line-height: 1.1; overflow-wrap: break-word; }
p, li, .chip__t, .opt > span { text-wrap: pretty; }
h2 { font-family: var(--ff-d); font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); letter-spacing: -.02em; color: var(--navy); }
h2 em, h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; margin-top: 44px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-decoration: none; transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); will-change: transform; }
.btn svg { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(240,160,75,.35), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(240,160,75,.45), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 800; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; min-height: 44px; }
.link svg { transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.link--light { color: var(--white); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #9a5a1b; margin-bottom: 14px; }
.eyebrow--light { color: var(--accent); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.hdr.is-solid { background: rgba(12,35,64,.92); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.18); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hdr__logo { display: block; }
.hdr__logo img { height: 54px; width: auto; transition: height .35s var(--ease); }
.hdr.is-solid .hdr__logo img { height: 48px; }
.hdr__nav { display: none; gap: 28px; }
.hdr__nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .3s; }
.hdr__nav a:hover { color: var(--white); }
.hdr__cta { display: flex; align-items: center; gap: 14px; }
.hdr__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 700; min-width: 44px; min-height: 44px; }
.hdr__phone svg { width: 20px; height: 20px; color: var(--accent); }
.hdr__phone span { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 80% at 85% 10%, #1b4174 0%, var(--navy) 45%, var(--ink) 100%); color: var(--white); padding: calc(var(--hdr) + 28px) 0 56px; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto -10% -1px; height: 90px; background: var(--white); clip-path: polygon(0 100%, 100% 30%, 100% 100%); z-index: -1; }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: repeating-linear-gradient(97deg, rgba(255,255,255,.018) 0 2px, transparent 2px 9px), repeating-linear-gradient(95deg, rgba(240,160,75,.025) 0 1px, transparent 1px 23px); mask-image: linear-gradient(180deg, #000 20%, transparent 95%); }
.hero__grid { display: grid; gap: 36px; }
.hero__title { font-family: var(--ff-d); font-weight: 600; font-size: clamp(2.7rem, 1.6rem + 5vw, 5.1rem); letter-spacing: -.035em; line-height: .98; color: var(--white); }
.hero__kicker { display: flex; margin-bottom: 14px; font-family: var(--ff-b); font-size: .78rem; line-height: 1.4; letter-spacing: .16em; }
.hero__big { display: block; }
.hero__lead { margin-top: 20px; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 34em; }
.hero__lead strong { color: var(--white); }
.hero__pick { margin-top: 26px; padding: 16px; border-radius: var(--r-m); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero__pickHead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-bottom: 14px; }
.hero__pickLbl { font-weight: 800; font-size: 1.05rem; }
.hero__pickSub { font-size: .85rem; color: rgba(255,255,255,.62); }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; text-align: left; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: var(--white); font-weight: 700; font-size: .92rem; line-height: 1.25; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease); }
.chip__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(240,160,75,.16); color: var(--accent); transition: background-color .3s var(--ease), color .3s var(--ease); }
.chip__ic svg { width: 19px; height: 19px; }
.chip__t { flex: 1; min-width: 0; }
.chip__go { width: 16px; height: 16px; opacity: .45; transition: transform .3s var(--ease), opacity .3s; }
.chip:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.chip:hover .chip__ic { background: rgba(29,18,6,.12); color: var(--accent-ink); }
.chip:hover .chip__go { opacity: 1; transform: translateX(3px); }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero__trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: rgba(255,255,255,.78); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--accent); }
.hero__trust b { color: var(--white); }
.hero__visual { position: relative; }
.hero__hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Before / After ---------- */
.ba { --pos: 50%; position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 3 / 4; background: #1a2a40; box-shadow: var(--sh-float); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba picture { display: contents; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__beforeWrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 18px rgba(0,0,0,.35); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
.ba__handle svg { width: 24px; height: 24px; }
.ba.is-drag .ba__handle span { transform: translate(-50%, -50%) scale(1.1); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ba__range:focus-visible + .ba__cap, .ba__range:focus-visible ~ .float-card { outline: 3px solid var(--accent); }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }
.ba__tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ba__tag--b { left: 16px; background: rgba(10,22,40,.7); color: var(--white); }
.ba__tag--a { right: 16px; background: var(--accent); color: var(--accent-ink); }
.ba__cap { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(10,22,40,.72); color: var(--white); font-size: .85rem; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.float-card { position: absolute; left: 14px; bottom: 14px; max-width: 250px; padding: 14px 16px; border-radius: var(--r-m); background: rgba(255,255,255,.9); color: var(--text); box-shadow: var(--sh-float); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: none; animation: float 6s ease-in-out infinite; }
.float-card p { font-family: var(--ff-d); font-size: 1.12rem; font-weight: 600; color: var(--navy); line-height: 1.25; margin-top: 4px; }
.float-card span { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); font-weight: 600; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Strip ---------- */
.strip { background: var(--white); }
.strip__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transform: translateY(-8px); }
.strip__in > div { background: var(--white); padding: 18px 16px; text-align: center; }
.strip b { display: block; font-family: var(--ff-d); font-size: 1.25rem; color: var(--navy); font-weight: 600; }
.strip span { display: block; font-size: .85rem; color: var(--muted); text-wrap: balance; }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; position: relative; }
.sec--paper { background: var(--paper); }
.sec--navy { background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%); color: var(--white); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec__head { max-width: 760px; margin-bottom: 40px; }
.sec__head--light h2 { color: var(--white); }
.sec__head--row { max-width: none; display: flex; flex-direction: column; gap: 16px; }
.sec__sub { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }

/* Problems */
.probs { display: grid; gap: 14px; }
.prob { background: var(--white); border-radius: var(--r-m); padding: 24px; border: 1px solid var(--line); box-shadow: var(--sh-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.prob:hover { transform: translateY(-6px); box-shadow: var(--sh-float); }
.prob__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #fbe3c6, #f6c890); color: #8a4a10; margin-bottom: 16px; }
.prob__ic svg { width: 24px; height: 24px; }
.prob p { margin-top: 8px; color: var(--muted); }
.prob--cta { background: var(--navy); color: var(--white); border-color: var(--navy); text-decoration: none; display: flex; flex-direction: column; }
.prob--cta h3 { color: var(--white); font-family: var(--ff-d); font-size: 1.4rem; font-weight: 600; }
.prob--cta p { color: rgba(255,255,255,.75); flex: 1; }
.prob--cta .link { color: var(--white); margin-top: 16px; align-self: flex-start; }

/* B/A row */
.ba-row { display: grid; gap: 20px; }

/* Compare */
.compare { display: grid; gap: 36px; align-items: center; }
.compare__copy p { margin: 16px 0 26px; color: var(--muted); font-size: 1.05rem; }
.vs { border-radius: var(--r-l); background: var(--white); box-shadow: var(--sh-float); border: 1px solid var(--line); overflow: hidden; font-size: .92rem; }
.vs__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.vs__row > span { padding: 14px 12px; display: flex; align-items: center; gap: 6px; }
.vs__row > span:first-child { font-weight: 700; color: var(--navy); }
.vs__row--head { border-top: 0; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vs__us { background: #fff6ec; color: var(--navy); font-weight: 800; }
.vs__row--head .vs__us { background: var(--navy); color: var(--white); }
.vs svg { width: 18px; height: 18px; }
.vs__us svg { color: var(--ok); }
.vs__row > span:last-child svg { color: var(--err); }

/* Services */
.svcs { display: grid; gap: 22px; }
.svc { background: var(--white); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-soft); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--sh-float); }
.svc__img { aspect-ratio: 4 / 3; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc__body p { color: var(--muted); flex: 1; }
.svc__body .link { align-self: flex-start; }
.svc__n { font-family: var(--ff-d); font-style: italic; color: var(--accent); font-weight: 600; font-size: 1.05rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--white); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--ff-d); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.step:nth-child(3) .step__n { background: var(--accent); color: var(--accent-ink); }
.step p { color: var(--muted); margin-top: 8px; }

/* Reviews */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.badge { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 18px; border-radius: var(--r-m); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-soft); text-decoration: none; color: var(--text); font-size: .95rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.badge:hover { transform: translateY(-3px); box-shadow: var(--sh-float); }
.badge__logo { width: 26px; height: 26px; }
.badge__tt { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #009fd9; color: #fff; font-weight: 800; font-size: .9rem; }
.badge__go { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #1a73e8; font-size: .88rem; }
.src { display: inline-flex; align-items: center; gap: 6px; }
.src svg { width: 14px; height: 14px; }
.rev--xl .src svg { background: #fff; border-radius: 50%; padding: 1px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; color: var(--muted); font-size: .95rem; }
.rating .stars { font-size: 1.2rem; }
.revs { columns: 1; column-gap: 18px; }
.rev { break-inside: avoid; margin: 0 0 18px; background: var(--white); border-radius: var(--r-m); padding: 22px; box-shadow: var(--sh-soft); border: 1px solid var(--line); }
.rev p { margin: 10px 0 16px; }
.rev footer { display: flex; flex-direction: column; font-size: .9rem; }
.rev footer b { color: var(--navy); }
.rev footer span { color: var(--muted); font-size: .8rem; }
.rev--xl { background: var(--navy); color: rgba(255,255,255,.9); border-color: var(--navy); }
.rev--xl p { font-family: var(--ff-d); font-size: 1.28rem; line-height: 1.4; color: var(--white); }
.rev--xl footer b { color: var(--white); }
.rev--xl footer span { color: rgba(255,255,255,.6); }

/* Gallery */
.gal { display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--gut) 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; -webkit-overflow-scrolling: touch; }
.gal__ctrl { display: flex; align-items: center; gap: 10px; }
.gal__ctrl .link { margin-right: 8px; }
.gal__btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--white); place-items: center; transition: background-color .3s var(--ease), border-color .3s var(--ease), opacity .3s; }
.gal__btn svg { width: 20px; height: 20px; }
.gal__btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.gal__btn:disabled { opacity: .3; pointer-events: none; }
.gal.is-draggable { cursor: grab; scroll-snap-type: none; scrollbar-width: none; }
.gal.is-draggable::-webkit-scrollbar { display: none; }
.gal.is-dragging { cursor: grabbing; }
.gal.is-dragging .gal__it { pointer-events: none; }
.gal__it img { -webkit-user-drag: none; user-select: none; }
.gal__it { flex: 0 0 62%; scroll-snap-align: start; padding: 0; border: 0; border-radius: var(--r-m); overflow: hidden; background: #111; aspect-ratio: 3 / 4; }
.gal__it img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.gal__it:hover img { transform: scale(1.06); }

/* Lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; }
.lb::backdrop { background: rgba(5,12,24,.92); backdrop-filter: blur(6px); }
.lb[open] { display: grid; place-items: center; }
.lb img { max-width: min(92vw, 720px); max-height: 86dvh; width: auto; border-radius: var(--r-m); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb__x, .lb__nav { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: var(--white); font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: background-color .3s; }
.lb__x:hover, .lb__nav:hover { background: rgba(255,255,255,.28); }
.lb__x { top: 16px; right: 16px; }
.lb__nav--p { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__nav--n { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Quiz ---------- */
.quiz-sec { background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); }
.quiz-grid { display: grid; gap: 32px; align-items: start; }
.quiz-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 700; color: var(--navy); }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #dff3e8; color: var(--ok); }
.quiz-extra { display: grid; gap: 20px; }
.owner { display: flex; gap: 14px; align-items: center; margin-top: 0; padding: 14px; border-radius: var(--r-m); background: var(--white); border: 1px solid var(--line); }
.owner img { width: 64px; height: 84px; object-fit: cover; border-radius: 10px; }
.owner p { margin: 0; font-size: .95rem; color: var(--text); font-style: italic; }
.owner span { display: block; font-style: normal; font-size: .8rem; color: var(--muted); margin-top: 4px; font-weight: 600; }

.quiz { position: relative; background: var(--white); border-radius: var(--r-l); padding: 26px 20px 20px; box-shadow: var(--sh-float); border: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 12px); }
.quiz.is-flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(240,160,75,.7), var(--sh-float); } 100% { box-shadow: 0 0 0 18px rgba(240,160,75,0), var(--sh-float); } }
.quiz { border-top: 5px solid var(--accent); }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.quiz__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: #fff1e0; color: #8a4a10; font-weight: 800; font-size: .82rem; letter-spacing: .02em; }
.quiz__badge svg { width: 17px; height: 17px; }
.quiz__time { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.quiz__time svg { width: 16px; height: 16px; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stepper::before { content: ""; position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 3px; background: var(--paper-2); border-radius: 3px; }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--muted); text-align: center; }
.stepper b { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); color: var(--muted); font-size: .85rem; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.stepper li.is-done b { background: var(--navy); border-color: var(--navy); color: var(--white); font-size: 0; }
.stepper li.is-done b::after { content: ""; width: 10px; height: 5px; border: solid var(--white); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.stepper li.is-on b { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.12); box-shadow: 0 0 0 5px rgba(240,160,75,.22); }
.stepper li.is-on, .stepper li.is-done { color: var(--navy); }
.quiz__count { margin: 16px 0 10px; padding: 9px 12px; border-radius: 10px; background: var(--paper); font-size: .82rem; font-weight: 700; color: var(--navy); text-align: center; }
.qstep { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.qstep.is-on { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.qstep legend { font-family: var(--ff-d); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: var(--navy); margin-bottom: 18px; padding: 0; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); font-weight: 600; cursor: pointer; transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease); }
.opt > span b { color: var(--navy); margin-right: 4px; }
.opt > span::after { content: ""; flex: none; margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cdbfae; background: var(--white); transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.opt input:checked + span::after { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--white); }
.opt:hover > span::after { border-color: var(--accent); }
.opt > span svg { width: 22px; height: 22px; color: #b3651c; }
.opt:hover > span { border-color: #e6b98a; transform: translateX(3px); }
.opt input:checked + span { border-color: var(--accent); background: #fff6ec; }
.opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.fields { display: grid; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--navy); }
.fld i { font-weight: 500; color: var(--muted); }
.fld input, .fld textarea { font: inherit; font-size: 16px; font-weight: 500; color: var(--text); min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: #fdfbf8; transition: border-color .3s var(--ease), background-color .3s var(--ease); width: 100%; }
.fld textarea { resize: vertical; min-height: 88px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.fld input.is-bad { border-color: var(--err); background: #fff5f4; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 46px; border-radius: 12px; border: 2px solid var(--line); font-weight: 700; cursor: pointer; transition: border-color .3s, background-color .3s; }
.seg input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quiz__err { color: var(--err); font-weight: 700; font-size: .9rem; min-height: 1.4em; margin: 12px 0 6px; }
.quiz__fine { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.quiz__fine a { color: inherit; text-underline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; min-height: 44px; }
.quiz__back, .quiz__skip { background: none; border: 0; color: var(--muted); font-weight: 700; font-size: .9rem; min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center; gap: 6px; }
.quiz__back:hover, .quiz__skip:hover { color: var(--navy); }
.quiz__skip { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.btn.is-loading { opacity: .6; pointer-events: none; }
.quiz__done { text-align: center; padding: 30px 6px 10px; }
.quiz__done .big { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: #dff3e8; color: var(--ok); }
.quiz__done .big svg { width: 36px; height: 36px; }
.quiz__done h3 { font-family: var(--ff-d); font-size: 1.7rem; font-weight: 600; }
.quiz__done p { color: var(--muted); margin: 10px 0 20px; }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--r-m); border: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: var(--sh-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 800; font-size: 1.06rem; line-height: 1.35; color: var(--navy); position: relative; min-height: 44px; transition: color .3s; }
.faq summary:hover { color: #9a5a1b; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent); }
.faq details p { padding: 0 24px 24px; color: var(--muted); font-size: 1.02rem; max-width: 62ch; }

/* Final CTA */
.final { position: relative; padding: 72px 0; color: var(--white); background: radial-gradient(110% 90% at 90% 50%, #1b4174 0%, var(--navy) 45%, var(--ink) 100%); overflow: hidden; }
.final__in { display: grid; gap: 36px; align-items: center; }
.final__copy { text-align: center; }
.final h2 { color: var(--white); max-width: 16ch; margin: 0 auto; }
.final p { margin-top: 16px; color: rgba(255,255,255,.75); }
.final__media { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45); aspect-ratio: 4 / 3; }
.final__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.final__media figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 13px; border-radius: 999px; background: rgba(10,22,40,.72); color: var(--white); font-size: .8rem; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.final__ctas { display: flex; flex-direction: column; gap: 12px; justify-content: center; margin-top: 30px; }

/* Footer */
.ftr { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 calc(96px + env(safe-area-inset-bottom)); font-size: .95rem; }
.ftr__in { display: grid; gap: 28px; }
.ftr__brand img { height: 84px; width: auto; margin-bottom: 18px; }
.ftr__brand p { font-family: var(--ff-d); font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); font-weight: 500; line-height: 1.45; color: rgba(255,255,255,.82); max-width: 30ch; text-wrap: balance; }
.ftr h3 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.ftr a { color: rgba(255,255,255,.88); text-decoration: none; display: inline-block; padding: 6px 0; }
.ftr a:hover { color: var(--accent); }
.ftr__copy { text-align: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }

/* Mobile bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,22,40,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -10px 30px rgba(0,0,0,.2); transform: translateY(110%); transition: transform .45s var(--ease); }
.mbar.is-on { transform: none; }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; color: var(--white); text-decoration: none; font-weight: 800; font-size: .92rem; background: rgba(255,255,255,.08); }
.mbar a svg { width: 18px; height: 18px; }
.mbar .mbar__main { background: var(--accent); color: var(--accent-ink); }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Reveal (staggered) */
.reveal { opacity: 0; transform: translateY(28px) rotate(.4deg); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ===================== Breakpoints ===================== */

/* Phone landscape and up (≥768) */
@media (min-width: 768px) {
  :root { --gut: 24px; }
  .hero__ctas, .final__ctas { flex-direction: row; flex-wrap: wrap; }
  .hdr__phone span { display: inline; }
  .strip__in { grid-template-columns: repeat(4, 1fr); }
  .probs { grid-template-columns: repeat(2, 1fr); }
  .ba-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .revs { columns: 2; }
  .gal__it { flex-basis: 34%; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fld--full { grid-column: 1 / -1; }
  .ftr__in { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
  .ftr__brand img { height: 96px; }
  .sec__head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .quiz { padding: 32px 30px 24px; }
}
/* Phone landscape specifics (768–880): trim vertical space */
@media (min-width: 768px) and (max-width: 880px) {
  .sec { padding: 60px 0; }
  .hero { padding-bottom: 48px; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
}

/* Tablet portrait and up (≥881) */
@media (min-width: 881px) {
  :root { --hdr: 92px; }
  .hdr__logo img { height: 68px; }
  .hdr.is-solid .hdr__logo img { height: 58px; }
  .hero { padding: calc(var(--hdr) + 40px) 0 96px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .compare { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .svcs { grid-template-columns: repeat(3, 1fr); }
  .quiz-grid { grid-template-columns: .85fr 1.15fr; gap: 28px 48px; }
  .quiz-head { grid-column: 1; grid-row: 1; align-self: end; }
  .quiz { grid-column: 2; grid-row: 1 / span 2; }
  .quiz-extra { grid-column: 1; grid-row: 2; align-self: start; }
  .faq { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--hdr) + 30px); margin-bottom: 0; }
  .gal__btn { display: grid; }
  .sec { padding: 96px 0; }
  .mbar { display: none; }
  .ftr { padding-bottom: 40px; }
  .final { padding: 96px 0; }
  .final__in { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .final__copy { text-align: left; }
  .final h2 { margin: 0; }
  .final__ctas { justify-content: flex-start; }
  .final__media { aspect-ratio: 4 / 4.2; }
}
/* Tablet portrait (881–1024): 2 columns for cards */
@media (min-width: 881px) and (max-width: 1024px) {
  .svcs { grid-template-columns: repeat(2, 1fr); }
  .svc:last-child { grid-column: 1 / -1; flex-direction: row; }
  .svc:last-child .svc__img { flex: 0 0 45%; aspect-ratio: auto; }
  .hero__title { font-size: 3.4rem; }
}

/* Tablet landscape and up (≥1025) */
@media (min-width: 1025px) {
  .hdr__nav { display: flex; }
  .probs { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps .step:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -17px; width: 18px; height: 2px; background: var(--accent); }
  .revs { columns: 3; }
  .gal__it { flex-basis: 24%; }
  .ba-row { gap: 28px; }
}

/* Notebook (1201–1366) */
@media (min-width: 1201px) and (max-width: 1366px) {
  .hero__grid { gap: 64px; }
}

/* Desktop wide (≥1367) */
@media (min-width: 1367px) {
  :root { --wrap: 1280px; }
  .hero__grid { gap: 80px; }
  .gal__it { flex-basis: 19%; }
  .sec { padding: 112px 0; }
}

/* Phone portrait (≤767) */
@media (max-width: 767px) {
  /* Show the before/after hook right after the headline */
  .hero__grid { display: flex; flex-direction: column; gap: 0; }
  .hero__copy { display: contents; }
  .hero__copy > .eyebrow { order: 1; }
  .hero__title { order: 2; }
  .hero__lead { order: 3; margin-top: 14px; }
  .hero__visual { order: 4; margin-top: 22px; }
  .hero__visual .ba { aspect-ratio: 4 / 4.4; }
  .hero__pick { order: 5; }
  .hero__ctas { order: 6; }
  .hero__trust { order: 7; }
  .hero__hint { margin-top: 10px; }
  .hero__pick { padding: 14px; }
  .chip { gap: 8px; padding: 10px; font-size: .86rem; min-height: 64px; }
  .chip__ic { width: 32px; height: 32px; }
  .chip__go { display: none; }
  .hero__ctas .btn { width: 100%; }
  .final__ctas .btn { width: 100%; }
  .vs { font-size: .84rem; }
  .vs__row > span { padding: 12px 8px; }
  .float-card { display: none; }
  .float-card p { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- October promo (visible only when <html> has .promo-on) ---------- */
html:not(.promo-on) .promo { display: none !important; }
.promo-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px 10px 10px; border-radius: 14px; background: linear-gradient(135deg, rgba(240,160,75,.22), rgba(240,160,75,.08)); border: 1px solid rgba(240,160,75,.55); color: var(--white); text-decoration: none; font-size: .92rem; line-height: 1.35; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.promo-pill:hover { transform: translateY(-2px); background: rgba(240,160,75,.3); }
.promo-pill b { color: var(--accent); }
.promo-pill__gift { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); }
.promo-pill .promo-pill__gift svg { width: 20px; height: 20px; color: var(--accent-ink); }
.promo-note svg { width: 17px; height: 17px; vertical-align: -3px; color: #b3651c; }
.promo-pill svg { flex: none; width: 16px; height: 16px; color: var(--accent); }
.promo-sec { padding: 28px 0 8px; background: var(--white); }
.promo-card { display: grid; overflow: hidden; border-radius: var(--r-l); background: linear-gradient(160deg, #fff7ee 0%, #fdebd6 100%); border: 1px solid #f3d3ad; box-shadow: var(--sh-soft); }
.promo-card__media { position: relative; background: var(--white); display: grid; place-items: center; padding: 20px; }
.promo-card__media img { width: 100%; max-width: 460px; height: auto; }
.promo-card__flag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.promo-card__copy { padding: 26px 22px 28px; }
.promo-card__copy > p:not(.eyebrow):not(.promo-card__terms) { margin: 14px 0 18px; color: var(--text); font-size: 1.05rem; }
.promo-card__copy .ticks { margin-bottom: 22px; }
.promo-card__terms { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.promo-note { margin: -6px 0 16px; padding: 10px 12px; border-radius: 12px; background: #fff1e0; border: 1px dashed #f0b574; color: #6d3a0b; font-size: .9rem; }
.promo-note b { color: #8a4a10; }
@media (max-width: 767px) {
  .hero__copy > .promo-pill { order: 3; }
  .promo-pill { width: 100%; margin-top: 16px; }
  .promo-card__copy .btn { width: 100%; }
}
@media (min-width: 881px) {
  .promo-sec { padding: 40px 0 16px; }
  .promo-card { grid-template-columns: .95fr 1.05fr; align-items: center; }
  .promo-card__media { height: 100%; padding: 32px; }
  .promo-card__copy { padding: 44px 48px 44px 40px; }
}
