/* Mirror Finish Mobile Detailing (sample) — mobile-first styles */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --cyan: #39c0f0;
  --cyan-dark: #0e7fb0;
  --ice: #eef6fb;
  --ink: #1b2430;
  --muted: #5b6676;
  --line: #dbe5ee;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: #fff; padding-bottom: 58px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--cyan-dark); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
svg { display: block; max-width: 100%; }
.eyebrow { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.4rem; }
.eyebrow.dark { color: var(--cyan-dark); }

.btn { display: inline-block; padding: 0.85rem 1.4rem; border-radius: 10px; font: inherit; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-small { padding: 0.5rem 0.9rem; font-size: 0.95rem; white-space: nowrap; }
.btn-cyan { background: var(--cyan); color: var(--navy); }
.btn-cyan:hover { background: #6ad2f5; }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 0.5rem; color: #fff; text-decoration: none; font-weight: 900; font-size: 1.15rem; line-height: 1.05; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.nav { display: none; }
@media (min-width: 960px) {
  .nav { display: flex; gap: 1.6rem; }
  .nav a { color: #cfe0ef; text-decoration: none; font-weight: 700; }
  .nav a:hover { color: var(--cyan); }
}

/* Hero */
.hero { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: #cfe0ef; padding: 3rem 0; overflow: hidden; }
.hero h1 { color: #fff; }
.lead { font-size: 1.15rem; max-width: 34rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 1.5rem; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badges li { font-size: 0.85rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(57,192,240,0.15); color: #bfeaff; }
.badges li::before { content: "\2713  "; color: var(--cyan); }
.hero-art { margin-top: 2rem; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
@media (min-width: 900px) {
  .hero { padding: 5rem 0; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
  .hero-art { margin-top: 0; }
}

/* Service area check */
.area-check { background: var(--cyan); color: var(--navy); padding: 1.25rem 0; }
.area-inner { display: grid; gap: 0.5rem; }
.area-row { display: flex; gap: 0.5rem; }
.area-row input { flex: 1; min-width: 0; font: inherit; padding: 0.7rem 0.9rem; border-radius: 10px; border: 2px solid var(--navy); }
.area-row .btn { background: var(--navy); color: #fff; }
.area-result { margin: 0; font-weight: 700; }
.area-result:empty { display: none; }
@media (min-width: 800px) { .area-inner { grid-template-columns: auto minmax(260px, 420px) 1fr; align-items: center; gap: 1rem; } }

/* Sections */
.section { padding: 3.5rem 0; }
.section-ice { background: var(--ice); }
.section-navy { background: var(--navy); color: #cfe0ef; }
.section-navy h2 { color: #fff; }
.sub-light { max-width: 40rem; }
@media (min-width: 900px) { .section { padding: 5rem 0; } }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; } .split-top { align-items: start; } }

/* Packages */
.size-toggle { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.3rem; border-radius: 12px; background: var(--ice); margin: 0.5rem 0 1.5rem; }
.size { font: inherit; font-weight: 700; font-size: 0.95rem; padding: 0.5rem 0.9rem; border: 0; border-radius: 9px; background: transparent; color: var(--navy); cursor: pointer; }
.size.is-active { background: var(--navy); color: #fff; }
.packages { display: grid; gap: 1rem; }
@media (min-width: 640px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .packages { grid-template-columns: repeat(4, 1fr); } }
.package { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; background: #fff; }
.package.featured { border: 2px solid var(--cyan); box-shadow: 0 10px 30px rgba(57,192,240,0.2); }
.badge { position: absolute; top: -0.8rem; left: 1.25rem; background: var(--cyan); color: var(--navy); font-size: 0.78rem; font-weight: 800; padding: 0.2rem 0.75rem; border-radius: 999px; }
.price { font-size: 2.2rem; font-weight: 900; color: var(--navy); margin: 0; line-height: 1.1; }
.price small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.time { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.package ul, .plan ul { list-style: none; padding: 0; margin: 0; }
.package li, .plan li { padding: 0.3rem 0 0.3rem 1.4rem; position: relative; font-size: 0.95rem; }
.package li::before, .plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--cyan-dark); font-weight: 800; }

/* Quote builder */
.quote-box { background: #fff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(11,37,69,0.1); display: grid; gap: 1rem; }
.quote-box label { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.95rem; }
.quote-box select { font: inherit; padding: 0.7rem; border: 1px solid #c3d2df; border-radius: 10px; }
.quote-box fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 0.75rem 1rem; margin: 0; display: grid; gap: 0.45rem; }
.quote-box legend { font-weight: 800; padding: 0 0.3rem; }
.quote-box .check { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.quote-box .check span { margin-left: auto; color: var(--muted); font-weight: 700; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.75rem; border-top: 2px dashed var(--line); }
.quote-total span { font-weight: 800; }
.quote-total b { font-size: 2.2rem; color: var(--navy); }
.quote-box .btn { justify-self: start; }

/* Before / after */
.compare { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 400 / 220; box-shadow: 0 10px 30px rgba(0,0,0,0.15); --pos: 50%; }
.compare-img { position: absolute; inset: 0; }
.compare-img svg { width: 100%; height: 100%; }
.compare-after { clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; }
.compare-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-label { position: absolute; top: 0.75rem; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 6px; pointer-events: none; }
.compare-label.left { left: 0.75rem; }
.compare-label.right { right: 0.75rem; }

/* Memberships */
.plans { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--navy-2); border-radius: 14px; padding: 1.5rem; color: #cfe0ef; }
.plan h3 { color: #fff; }
.plan .price { color: #fff; margin-bottom: 0.75rem; }
.plan .price small { color: #9fb6cc; }
.plan.featured { background: var(--cyan); color: var(--navy); }
.plan.featured h3, .plan.featured .price, .plan.featured .price small { color: var(--navy); }
.plan.featured li::before { color: var(--navy); }
.plan li::before { color: var(--cyan); }

/* Reviews */
.reviews { display: grid; gap: 1rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.reviews figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
.stars { color: #f5b400; letter-spacing: 2px; }
.reviews blockquote { margin: 0.5rem 0 1rem; }
.reviews figcaption { font-weight: 700; color: var(--muted); font-size: 0.9rem; }

/* Booking form */
.checks { list-style: none; padding: 0; }
.checks li { padding: 0.3rem 0; }
.checks li::before { content: "\2713  "; color: var(--cyan-dark); font-weight: 800; }
.form { background: #fff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(11,37,69,0.1); display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.95rem; }
.form input:not([type=radio]), .form select, .form textarea { font: inherit; font-size: 1rem; padding: 0.7rem; border: 1px solid #c3d2df; border-radius: 10px; width: 100%; background: #fff; }
.form textarea[readonly] { background: var(--ice); }
.form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 0.75rem 1rem; margin: 0; display: grid; gap: 0.45rem; }
.form legend { font-weight: 800; padding: 0 0.3rem; }
.form .check { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.form .btn { justify-self: start; }
.row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
.field-note { margin: 0; font-size: 0.9rem; color: #b42318; }
.field-note:empty { display: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 800; color: var(--navy); }
.faq details p { color: var(--muted); }

.footer { background: var(--navy); color: #9fb6cc; padding: 2.5rem 0; text-align: center; font-size: 0.92rem; }
.footer a { color: var(--cyan); }
.footer-brand { font-weight: 900; font-size: 1.3rem; color: #fff; }
.footer-note { font-size: 0.85rem; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; }
.mobile-bar a { padding: 1rem; text-align: center; font-weight: 800; text-decoration: none; background: var(--navy-2); color: #fff; }
.mobile-bar a.cyan { background: var(--cyan); color: var(--navy); }
@media (min-width: 900px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
