/* Mr. Mood Motor Spa — design tokens and shared styles */
:root {
  --bg: #0d0b08;
  --surface: #171410;
  --surface-2: #201c16;
  --line: #2f2a21;
  --line-2: #433c30;
  --gold: #ffc529;
  --gold-soft: #ffd354;
  --text: #f7f2e7;
  --text-2: #d6cfc0;
  --muted: #a39b8b;
  --green: #52d9a5;
  --danger: #ff8279;
  --wa: #25d366;
  /* Role tokens. These flip inside light sections (see "Light sections" below). */
  --ink: #15120c;
  --accent-text: var(--gold);   /* gold used as text */
  --select: var(--gold);        /* selected and focused outlines */
  --blue: #8fd3ff;              /* secondary: the water blue from the mascot's cloth */
  --field: #0a0907;
  --placeholder: #8c8576;
  --star: var(--gold);
  --r: 20px;
  --r-brand: 22px 22px 6px 22px;
  --display: "Manrope", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--select); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: #000; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: .6rem 1rem; border-radius: 10px; z-index: 200; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 700 .74rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent-text); }
.lede { color: var(--text-2); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 56ch; }
.muted { color: var(--muted); }
.gold { color: var(--accent-text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font: 700 .98rem/1 var(--display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 10px 34px -10px rgba(255, 197, 41, .6); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--accent-text); color: var(--accent-text); }
.btn-wa { background: var(--wa); color: #04130a; }
.btn-wa:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.arrow { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover .arrow, a:hover > .arrow { transform: translateX(4px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(13, 11, 8, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 1rem; height: 70px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font: 800 1.02rem/1 var(--display); letter-spacing: -.03em; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-14deg) scale(1.08); }
.nav-links { display: flex; gap: .2rem; }
.nav-links a { padding: .55rem .85rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang button { border: 0; background: none; padding: .38rem .7rem; border-radius: 999px; font: 700 .76rem/1 var(--display); letter-spacing: .06em; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--gold); color: #000; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: none; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s; }
.menu-btn span::before { content: ""; transform: translateY(6px); }
.menu-btn[aria-expanded="true"] span { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(-90deg); }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav-in { gap: .6rem; }
  .brand { font-size: .92rem; white-space: nowrap; gap: .55rem; }
  .brand img { width: 36px; height: 36px; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; gap: 0;
    background: rgba(13, 11, 8, .97); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 1rem .25rem; font: 800 1.5rem/1 var(--display); letter-spacing: -.04em; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head.big h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.h-md { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head.split { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 760px) { .section-head.split { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -70px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% 30%, rgba(255, 197, 41, .16), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, rgba(255, 197, 41, .07), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-grid > :first-child { align-self: end; }
.hero-grid > .chips { align-self: start; margin-top: 1.6rem; }
.hero-art { grid-column: 2; grid-row: 1 / span 2; }
.hero h1 { font-size: clamp(2.9rem, 7.6vw, 6.4rem); letter-spacing: -.055em; line-height: .94; margin: 1.3rem 0 1.4rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: 1.8rem; font-size: .93rem; color: var(--text-2); }
.proof a { text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.proof a:hover { color: var(--gold); }
.stars { color: var(--star); letter-spacing: .12em; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.chip { padding: .5rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, .03); }
.chip:empty { display: none; }
.chip.blue { border-color: var(--blue); color: var(--blue); }

.hero-art { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-frame {
  position: relative; border-radius: 34px 34px 8px 34px; overflow: hidden; aspect-ratio: 3 / 4;
  border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(255, 197, 41, .35), 0 30px 60px -30px #000;
  transform: perspective(1000px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) rotate(1.5deg); transition: transform .4s var(--ease);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06) translate(var(--px, 0), var(--py, 0)); transition: transform .4s var(--ease); }
.stamp {
  position: absolute; left: -34px; bottom: 38px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--gold); color: #000; display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
}
.stamp svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.stamp svg text { font: 800 11.5px var(--display); letter-spacing: .2em; text-transform: uppercase; fill: #000; }
.stamp img { width: 62px; height: 62px; border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.bubble {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .08) 38%, rgba(255, 197, 41, .1) 62%, rgba(255, 255, 255, .28) 100%);
  border: 1px solid rgba(255, 255, 255, .35); animation: float var(--d, 9s) ease-in-out infinite; animation-delay: var(--dl, 0s);
}
@keyframes float { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-26px) translateX(10px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 1.6rem; }
  .hero h1 { margin: 1rem 0; }
  .hero-art { grid-column: auto; grid-row: auto; width: min(86%, 400px); margin-top: 1.8rem; }
  .hero-cta { flex-wrap: nowrap; gap: .5rem; margin-top: 1.4rem; }
  .hero .hero-cta .btn { flex: 1 1 0; padding-inline: .7rem; font-size: .9rem; }
  .hero .hero-cta .arrow { display: none; }
  .proof { margin-top: 1.2rem; gap: .3rem 1.2rem; font-size: .88rem; }
  .hero-grid > .chips { justify-content: center; }
  .stamp { width: 104px; height: 104px; left: -22px; }
  .stamp img { width: 50px; height: 50px; }
}

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--gold); color: #000; padding: .85rem 0; }
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 800 1rem/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.2rem; }
.marquee span::after { content: "✦"; font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.stat { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 800 clamp(2rem, 4vw, 3.1rem)/1 var(--display); letter-spacing: -.05em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .5rem; font-size: .9rem; color: var(--text-2); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Dirt meter */
.meter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.meter-left { display: grid; gap: 1.6rem; align-content: center; }
.gauge { position: relative; width: min(100%, 330px); aspect-ratio: 1; margin-inline: auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(135deg); }
.gauge circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.gauge .g-track { stroke: var(--line); }
.gauge .g-fill { stroke: var(--gold); transition: stroke-dashoffset .35s var(--ease), stroke .35s; }
.gauge-core { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; background: #000; }
.gauge-core img { width: 100%; height: 100%; object-fit: cover; }
.gauge-core::after {
  content: ""; position: absolute; inset: 0; opacity: var(--dirt, .3); transition: opacity .3s;
  background:
    radial-gradient(circle at 22% 30%, rgba(92, 62, 22, .95) 0 7%, transparent 9%),
    radial-gradient(circle at 70% 22%, rgba(74, 50, 18, .9) 0 9%, transparent 11%),
    radial-gradient(circle at 80% 68%, rgba(92, 62, 22, .95) 0 11%, transparent 13%),
    radial-gradient(circle at 34% 78%, rgba(60, 40, 14, .9) 0 8%, transparent 10%),
    radial-gradient(circle at 52% 48%, rgba(92, 62, 22, .8) 0 5%, transparent 7%),
    radial-gradient(circle at 12% 60%, rgba(74, 50, 18, .9) 0 5%, transparent 7%),
    linear-gradient(rgba(70, 48, 16, .55), rgba(70, 48, 16, .55));
  mix-blend-mode: multiply;
}
.gauge-pct { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font: 800 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.range-row { display: grid; gap: .7rem; }
.range-labels { display: flex; justify-content: space-between; font: 700 .74rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: none; cursor: grab; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--select) var(--v, 30%), var(--line-2) var(--v, 30%)); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--select); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--gold); border: 5px solid #000; box-shadow: 0 0 0 2px var(--gold); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 5px solid #000; box-shadow: 0 0 0 2px var(--gold); }
.verdict { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-brand); padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: 1.1rem; align-content: space-between; }
.verdict-tag { font: 700 .74rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.verdict h3 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.verdict-price { font: 800 clamp(2.6rem, 6vw, 4.2rem)/1 var(--display); letter-spacing: -.05em; color: var(--gold); font-variant-numeric: tabular-nums; }
.verdict-price small { font: 500 .95rem/1 var(--body); letter-spacing: 0; color: var(--muted); margin-left: .5rem; }
.verdict-swap { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 820px) { .meter { grid-template-columns: 1fr; } }

/* Builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.group { margin-bottom: 2.8rem; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.group-head h3 { font-size: 1.5rem; }
.group-head p { color: var(--muted); font-size: .94rem; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; gap: .8rem; padding: 1.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-brand);
  transition: border-color .25s, transform .25s var(--ease), background .25s; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 197, 41, .13), transparent 70%);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card.selected { border-color: var(--select); background: linear-gradient(180deg, rgba(255, 197, 41, .08), var(--surface) 60%); }
.card.featured { background: var(--gold); color: #000; border-color: var(--gold); }
.card.featured.selected { background: var(--gold); box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--gold); }
.card.featured .card-desc, .card.featured .card-meta, .card.featured .card-note { color: rgba(0, 0, 0, .74); }
.card.featured .card-price small { color: rgba(0, 0, 0, .6); }
.card.wide { grid-column: 1 / -1; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; min-height: 26px; }
.badge { font: 800 .68rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: .42rem .65rem; border-radius: 999px; background: #000; color: var(--gold); }
.badge.line { background: none; border: 1px solid var(--line-2); color: var(--text-2); }
.card-meta { font-size: .84rem; color: var(--muted); font-weight: 500; }
.card h4 { font-size: 1.55rem; }
.card-desc { color: var(--text-2); font-size: .95rem; flex: 1; }
.card-note { font-size: .82rem; color: var(--muted); font-style: italic; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; flex-wrap: wrap; padding-top: .9rem; border-top: 1px solid rgba(128, 128, 128, .28); }
.card-price { font: 800 2rem/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.card-price small { display: block; font: 500 .76rem/1 var(--body); letter-spacing: 0; color: var(--muted); margin-bottom: .35rem; }
.card-price.quote { font-size: 1.25rem; letter-spacing: -.03em; }
.card.featured .btn-gold { background: #000; color: var(--gold); }
.card.featured .btn-gold:hover { box-shadow: none; background: #1a1a1a; }

.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: #000; border: 1px solid var(--gold); height: 40px; }
.stepper button { width: 40px; height: 38px; border: 0; background: none; color: var(--gold); font: 700 1.2rem/1 var(--display); border-radius: 999px; }
.stepper button:hover { background: rgba(255, 197, 41, .16); }
.stepper output { min-width: 1.6rem; text-align: center; font: 800 .98rem/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }

.process { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: step; position: relative; }
.process li { counter-increment: step; position: relative; padding-top: 2.6rem; font-size: .84rem; font-weight: 500; color: var(--text-2); text-align: center; line-height: 1.25; padding-inline: .2rem; }
.process li::before { content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); font: 800 .78rem/1 var(--display); color: var(--muted); z-index: 1; transition: background .4s, color .4s, border-color .4s; transition-delay: calc(var(--i) * .16s); }
.process li::after { content: ""; position: absolute; top: 14px; left: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.process li:last-child::after { display: none; }
.process.in li::before { background: var(--gold); color: #000; border-color: var(--gold); }
@media (max-width: 560px) { .process { grid-template-columns: repeat(3, 1fr); row-gap: 1.2rem; } .process li:nth-child(3)::after { display: none; } }

/* Compact rows: add-ons, carpets, upholstery */
.rows { display: grid; gap: .6rem; margin-top: .9rem; }
.card.row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; padding: .95rem 1.2rem; border-radius: 16px 16px 6px 16px; }
.row-main { flex: 1 1 200px; min-width: 0; }
.row-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.card.row h4 { font-size: 1.15rem; letter-spacing: -.03em; }
.card.row .card-desc { font-size: .88rem; margin-top: .3rem; max-width: 52ch; }
.card.row .card-price { font-size: 1.45rem; margin-left: auto; text-align: right; }
.card.row .card-price small { margin-bottom: .25rem; }
.quote-label { font: 700 .92rem/1.2 var(--display); letter-spacing: -.01em; }
.group-note { color: var(--blue); font-weight: 600; font-size: .95rem; margin-top: .4rem; }
@media (max-width: 520px) {
  .card.row { gap: .6rem .8rem; padding: .85rem 1rem; }
  .card.row h4 { font-size: 1.05rem; }
  .card.row .card-price { font-size: 1.25rem; }
  .row-main { flex-basis: 96px; }
  .row-main:has(.card-desc) { flex-basis: 100%; }
}
.summary.is-empty :is(.total, .form) { display: none; }
.summary .form { animation: pop .35s var(--ease); }

/* Summary */
.summary { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.summary-head { padding: 1.3rem 1.4rem 1rem; border-bottom: 1px solid var(--line); }
.summary-head h3 { font-size: 1.45rem; }
.summary-head p { font-size: .86rem; color: var(--muted); margin-top: .4rem; }
.lines { list-style: none; margin: 0; padding: .4rem 1.4rem; }
.lines li { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px dashed var(--line); animation: pop .3s var(--ease); }
.lines li:last-child { border-bottom: 0; }
.line-name { font-weight: 600; font-size: .95rem; }
.line-price { font: 800 .98rem/1 var(--display); font-variant-numeric: tabular-nums; text-align: right; }
.line-ctl { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; }
.line-ctl .stepper { height: 32px; border-color: var(--line-2); }
.line-ctl .stepper button { width: 32px; height: 30px; font-size: 1rem; }
.line-ctl .rm { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: .3rem; }
.line-ctl .rm:hover { color: var(--danger); }
.empty { padding: 1.8rem 1.4rem; color: var(--muted); font-size: .95rem; text-align: center; }
.total { display: flex; align-items: baseline; justify-content: space-between; padding: 1rem 1.4rem; border-block: 1px solid var(--line); background: var(--surface-2); }
.total span { font-size: .88rem; color: var(--text-2); }
.total b { font: 800 2rem/1 var(--display); letter-spacing: -.05em; color: var(--text); font-variant-numeric: tabular-nums; }
.total b small { font: 600 .8rem/1 var(--body); color: var(--text-2); letter-spacing: 0; }
.fine { font-size: .8rem; color: var(--muted); }
.form { padding: 1.2rem 1.4rem 1.4rem; display: grid; gap: .8rem; }
.form h4 { font-size: 1.05rem; letter-spacing: -.03em; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field input { min-width: 0; }
.field label { font-size: .8rem; font-weight: 600; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; background: var(--field); border: 1px solid var(--line-2); border-radius: 12px; padding: .75rem .85rem; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--select); box-shadow: 0 0 0 3px rgba(255, 197, 41, .35); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.error { color: var(--danger); font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.error:empty { display: none; }
@media (max-width: 1020px) {
  .builder { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 640px) { .cards, .cards.three { grid-template-columns: 1fr; } }

/* Mobile cart bar */
.cartbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; display: flex; align-items: center; gap: .8rem;
  padding: .6rem .6rem .6rem 1.1rem; background: rgba(20, 20, 20, .94); backdrop-filter: blur(12px); border: 1px solid var(--gold); border-radius: 999px;
  box-shadow: 0 20px 50px -10px #000; transform: translateY(140%); transition: transform .4s var(--ease);
}
.cartbar.show { transform: none; }
@media (min-width: 700px) { .cartbar { left: 50%; right: auto; width: 440px; margin-left: -220px; } }
.cartbar-info { flex: 1; min-width: 0; font-size: .82rem; color: var(--text-2); line-height: 1.2; }
.cartbar-info b { display: block; font: 800 1.15rem/1.1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }

/* Quick contact bar (non-home pages + when cart empty on mobile) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 94; width: 58px; height: 58px; border-radius: 50%; background: #171410; color: var(--gold); border: 1px solid var(--gold); display: grid; place-items: center; box-shadow: 0 14px 34px -10px #000; transition: transform .25s var(--ease); }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab svg { width: 28px; height: 28px; }
.cartbar.show ~ .fab { transform: translateY(160%); }
@media (max-width: 1020px) { .home .fab { display: none; } }

/* Phone dock: Call / WhatsApp / Build, shown after the hero scrolls away */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 93; display: flex; gap: .5rem;
    padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(13, 11, 8, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .dock.show { transform: none; visibility: visible; }
  .cartbar.show ~ .dock, .at-request .dock { transform: translateY(110%); visibility: hidden; }
  .dock a { flex: 1 1 0; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font: 700 .88rem/1 var(--display); color: var(--text); white-space: nowrap; }
  .dock a svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
  .dock a.dock-main { flex: 1.5 1 0; background: var(--gold); color: #000; border-color: var(--gold); }
  .fab { display: none; }
}

/* Reel */
.reel-wrap { position: relative; }
.reel { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem max(1.25rem, calc((100vw - var(--wrap)) / 2)) 1.4rem; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.clip { position: relative; flex: none; width: clamp(210px, 62vw, 270px); aspect-ratio: 9 / 16; scroll-snap-align: center; border-radius: var(--r-brand); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.clip:hover, .clip.playing { border-color: var(--gold); transform: translateY(-4px); }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; text-align: left; border: 0; width: 100%; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .88)); color: #fff; transition: opacity .3s; }
.clip-ui b { font: 800 1.02rem/1.15 var(--display); letter-spacing: -.03em; }
.clip-ui small { font-size: .78rem; color: var(--text-2); margin-top: .3rem; }
.play { position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: transform .25s var(--ease), opacity .25s; }
.play svg { width: 22px; height: 22px; fill: #000; margin-left: 3px; }
.clip:hover .play { transform: scale(1.1); }
.clip.playing .clip-ui { opacity: 0; pointer-events: none; }
.reel-nav { display: flex; gap: .5rem; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: none; display: grid; place-items: center; transition: border-color .2s, color .2s, background .2s; }
.round:hover { border-color: var(--accent-text); color: var(--accent-text); }
.round svg { width: 18px; height: 18px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: .8rem; }
.shot { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); aspect-ratio: 3 / 4; grid-column: span 2; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: saturate(.9); }
.shot:hover img { transform: scale(1.06); filter: none; }
.shot figcaption, .shot span { position: absolute; left: .5rem; bottom: .5rem; max-width: calc(100% - 1rem); padding: .4rem .6rem; border-radius: 999px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); font: 700 .78rem/1 var(--display); color: #fff; }
@media (max-width: 900px) { .shot { grid-column: span 4; } }
@media (max-width: 520px) { .shot { grid-column: span 6; } }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .86); backdrop-filter: blur(6px); }
dialog.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 18px; }
dialog.lightbox p { text-align: center; margin-top: .8rem; font: 700 1rem var(--display); }
dialog.lightbox .round { position: absolute; top: -8px; right: -8px; background: var(--gold); color: #000; border: 0; }

/* Steps / why / areas */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.step { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r-brand); background: var(--surface); position: relative; }
.step b { display: block; font: 800 4.2rem/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 1.3rem; }
.step h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.step p { color: var(--text-2); font-size: .97rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.why { list-style: none; margin: 0; padding: 0; display: grid; }
.why li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); font-size: 1.06rem; color: var(--text-2); }
.why li:first-child { border-top: 1px solid var(--line); }
.why li strong { color: var(--text); font-family: var(--display); letter-spacing: -.02em; }
.tick { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; flex: none; margin-top: 2px; }
.tick svg { width: 14px; height: 14px; stroke: #000; }
.quote { font: 800 clamp(1.7rem, 3.6vw, 2.8rem)/1.08 var(--display); letter-spacing: -.04em; }
.quote span { color: var(--accent-text); }
.areas { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.6rem 0 0; list-style: none; }
.areas li { padding: .75rem 1.15rem; border: 1px solid var(--line-2); border-radius: 999px; font: 700 1rem/1 var(--display); letter-spacing: -.02em; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); cursor: default; }
.areas li:hover { background: var(--gold); color: #000; border-color: var(--gold); transform: translateY(-3px) rotate(-2deg); }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .25s; }
.faq details[open] { border-color: var(--select); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; font: 700 1.08rem/1.25 var(--display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-text); font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: #000; }
.faq details p { padding: 0 1.3rem 1.3rem; color: var(--text-2); max-width: 68ch; }

/* CTA tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tile { padding: clamp(1.6rem, 3.5vw, 2.6rem); border-radius: var(--r-brand); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 1rem; align-content: start; justify-items: start; }
.tile h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tile p { color: var(--text-2); }
.tile.gold-tile { background: var(--gold); color: #000; border-color: var(--gold); }
.tile.gold-tile p { color: rgba(0, 0, 0, .75); }
.tile.gold-tile .btn { background: #000; color: var(--gold); }
.tile .stars { font-size: 1.5rem; }
.tile.gold-tile .stars { color: #000; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

.cta-band { text-align: center; display: grid; gap: 1.4rem; justify-items: center; }
.cta-band h2 { font-size: clamp(2.5rem, 7vw, 5.6rem); letter-spacing: -.055em; }
.cta-band .hero-cta { justify-content: center; margin-top: .4rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 6.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { font: 700 .74rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; color: var(--text-2); }
.footer a:hover { color: var(--gold); }
.footer-brand p { color: var(--muted); margin-top: .9rem; max-width: 32ch; }
.footer-call { font: 800 clamp(1.5rem, 3vw, 2rem)/1 var(--display); letter-spacing: -.04em; color: var(--text) !important; display: inline-block; margin-top: 1.1rem; }
.footer-base { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Inner pages */
.page-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -.055em; line-height: .96; margin: 1.2rem 0 1.3rem; max-width: 16ch; }
.prose { display: grid; gap: 1.1rem; color: var(--text-2); font-size: 1.08rem; max-width: 62ch; }
.prose h2 { color: var(--text); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .3rem; }
.price-list { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.price-item { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-brand); background: var(--surface); }
.price-item h3 { font-size: 1.25rem; }
.price-item b { display: block; font: 800 2rem/1 var(--display); letter-spacing: -.05em; color: var(--text); margin: .7rem 0 .5rem; }
.price-item p { color: var(--text-2); font-size: .95rem; }
@media (max-width: 640px) { .price-list { grid-template-columns: 1fr; } }
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .8rem; }
.social { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: var(--surface); transition: border-color .25s, transform .25s var(--ease); }
.social:hover { border-color: var(--select); transform: translateY(-3px); }
.social small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.social b { font-family: var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }

.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.vgrid .clip { width: 100%; }
.vcard h2 { font-size: 1.08rem; letter-spacing: -.03em; line-height: 1.2; margin-top: .9rem; }
.vcard p { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.vcard a { display: inline-flex; align-items: center; white-space: nowrap; gap: .4rem; margin-top: .6rem; color: var(--gold); font-weight: 700; font-size: .9rem; text-decoration: none; }

.list-card { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r-brand); background: var(--surface); }
.list-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.1rem; }
.list-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .8rem; }
.list-card li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; color: var(--text-2); }
.list-card li::before { content: "→"; color: var(--gold); font-weight: 700; }
.list-card.no li::before { content: "×"; color: var(--danger); }
.list-card p + p { margin-top: .8rem; }
.list-card p { color: var(--text-2); }
.stack { display: grid; gap: 1rem; }

/* Builder helpers: booking steps line and the "help me choose" slider */
.flow { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 0; margin: .3rem 0 0; counter-reset: f; font-size: .93rem; font-weight: 600; color: var(--text-2); }
.flow li { counter-increment: f; display: flex; align-items: center; gap: .55rem; }
.flow li::before { content: counter(f); width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font: 800 .74rem/1 var(--display); }
.helper { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2.2rem; align-items: center; padding: 1.2rem 1.4rem; margin-bottom: 1rem; border: 1px dashed var(--line-2); border-radius: var(--r-brand); background: var(--surface-2); }
.helper-title { display: block; font: 800 1.08rem/1.2 var(--display); letter-spacing: -.02em; margin-bottom: .5rem; }
.helper-title span { color: var(--muted); font-weight: 700; }
.helper-a { display: flex; align-items: center; justify-content: space-between; gap: .9rem 1rem; flex-wrap: wrap; }
.helper-a b { display: block; font: 800 1.2rem/1.1 var(--display); letter-spacing: -.03em; margin: .35rem 0 .2rem; }
.helper-a p { font-size: .9rem; color: var(--text-2); }
/* On phones the two main packages come first; the slider follows them. */
@media (max-width: 760px) {
  .helper { grid-template-columns: 1fr; order: 2; margin: 1rem 0 0; }
  .group:has(.helper) .rows { order: 3; }
  .group:has(.helper) { display: flex; flex-direction: column; }
  #build .section-head { margin-bottom: 1.6rem; }
}

/* Light sections: cream surfaces for the parts people read and compare.
   Gold is a fill only here; gold text switches to the darker --accent-text. */
.light, .band {
  --bg: #f6efe0; --surface: #fffaf0; --surface-2: #efe6d2; --line: #e2d8c2; --line-2: #8a7c60;
  --text: #15120c; --text-2: #3d372b; --muted: #6b6353;
  --accent-text: #7a5600; --select: #15120c; --blue: #0b5c8a; --danger: #b3261e;
  --field: #ffffff; --placeholder: #6b6353; --star: #9a6c00;
  background: var(--bg); color: var(--text); color-scheme: light;
}
:is(.light, .band) .btn-ghost { background: transparent; }
:is(.light, .band) .chip { background: transparent; }
:is(.light, .band) :is(.card, .summary, .price-item, .social, .faq details) { box-shadow: 0 14px 30px -24px rgba(21, 18, 12, .45); }
:is(.light, .band) .card.selected { box-shadow: 0 0 0 1px var(--ink); background: linear-gradient(180deg, rgba(255, 197, 41, .3), var(--surface) 65%); }
:is(.light, .band) .card.featured { background: var(--ink); color: #f7f2e7; border-color: var(--ink); }
:is(.light, .band) .card.featured.selected { background: var(--ink); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
:is(.light, .band) .card.featured :is(.card-desc, .card-meta, .card-note) { color: #d6cfc0; }
:is(.light, .band) .card.featured .card-price small { color: #a39b8b; }
:is(.light, .band) .card.featured .badge { background: var(--gold); color: #000; }
:is(.light, .band) .card.featured .btn-gold { background: var(--gold); color: #000; }
:is(.light, .band) .card.featured .btn-gold:hover { background: var(--gold-soft); }
:is(.light, .band) .card.featured .btn-ghost { color: #f7f2e7; border-color: #6b6353; }
:is(.light, .band) .shot { border-color: var(--line); }
:is(.light, .band) .tile.gold-tile .stars { color: #000; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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