/* ==========================================================================
   Detailing layer — loads AFTER style.css. Adds detailing-specific
   components and the optional dark "gloss" theme (<body class="theme-gloss">).
   Do not edit style.css to get these effects; everything lives here.
   ========================================================================== */

:root {
  --font-head: "Sora", "Inter", system-ui, sans-serif;  /* detailing default: modern geometric sans */
}
h1, h2, h3, h4 { letter-spacing: -0.02em; }

/* ---------- Hero rating pill (Google rating above the headline) ---------- */
.hero-rating {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px); border-radius: 100px; padding: 7px 16px 7px 10px;
  font-weight: 600; font-size: 0.88rem; color: #fff;
}
.hero-rating .g { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.hero-rating .g svg { width: 14px; height: 14px; }
.hero-rating .st { color: #fbbc04; letter-spacing: 1px; }

/* ---------- Before/after drag slider ---------- */
.ba-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; --pos: 50%; user-select: none; touch-action: pan-y; background: #000; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none; }
.ba-slider .ba-knob { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: var(--shadow-md); pointer-events: none; font-weight: 800; font-size: 0.9rem; letter-spacing: -2px; }
.ba-slider input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-slider .ba-tag { z-index: 2; pointer-events: none; }
.ba-slider .ba-tag.after { left: auto; right: 16px; }
.ba-slider-cap { margin-top: 14px; font-weight: 600; font-size: 0.95rem; color: var(--slate); text-align: center; }
.ba-slider-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 44px; }

/* ---------- Package tiers ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 50px; align-items: stretch; }
.pkg-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.pkg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pkg-card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow-md); }
.pkg-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--green-900); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; white-space: nowrap; }
.pkg-tier { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); }
.pkg-card h3 { margin: 6px 0 6px; }
.pkg-for { font-size: 0.93rem; }
.pkg-price { margin: 20px 0 4px; font-family: var(--font-head); font-size: 2.3rem; font-weight: 600; color: var(--green-900); line-height: 1; }
.pkg-price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--slate); margin-right: 4px; }
.pkg-price.quote { font-size: 1.5rem; }
.pkg-meta { font-size: 0.82rem; color: var(--slate); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pkg-includes { margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.pkg-includes li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--ink); }
.pkg-includes li::before { content: "✓"; flex: none; font-weight: 800; color: var(--gold-dark); }
.pkg-card .btn { justify-content: center; }
.pkg-note { margin-top: 22px; font-size: 0.88rem; color: var(--slate); text-align: center; }

/* Add-ons list */
.addons { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.addons li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-weight: 600; color: var(--ink); }
.addons li span:last-child { color: var(--gold-dark); white-space: nowrap; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 50px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--gold); display: block; margin-bottom: 10px; line-height: 1; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: 0.94rem; }

/* ---------- Product / certification strip ---------- */
.cert-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.cert-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px; padding: 22px 24px; }
.cert-strip .lbl { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.cert-strip .cert { font-weight: 700; font-size: 0.98rem; color: var(--ink); opacity: .8; }
.cert-strip img { height: 30px; width: auto; opacity: .85; filter: grayscale(1); }

/* ---------- Membership / maintenance plan callout ---------- */
.plan-callout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 54px); box-shadow: var(--shadow-lg); }
.plan-callout h2 { color: #fff; }
.plan-callout p { color: rgba(255,255,255,.86); margin-top: 12px; }
.plan-callout .plan-price { text-align: center; }
.plan-callout .plan-price .amt { font-family: var(--font-head); font-size: 3rem; font-weight: 600; color: var(--gold); line-height: 1; }
.plan-callout .plan-price small { display: block; color: rgba(255,255,255,.75); margin: 6px 0 18px; }

/* ---------- FAQ (native <details>, no JS) ---------- */
.faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; color: var(--green-900); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 0.97rem; }

/* ---------- Founder block ---------- */
.founder-sig { margin-top: 22px; font-weight: 700; color: var(--green-900); }
.founder-sig span { display: block; font-weight: 500; font-size: 0.88rem; color: var(--slate); }

/* ---------- Service detail rows (services.html) ---------- */
.svc-detail + .svc-detail { margin-top: clamp(56px, 8vw, 96px); }
.svc-detail .why { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 12px 12px 0; font-size: 0.95rem; }
.svc-detail .why b { color: var(--ink); }

@media (max-width: 940px) {
  .plan-callout { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 560px) {
  .ba-slider-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
  .pkg-grid { margin-top: 38px; gap: 26px; }
  .hero-rating { font-size: 0.78rem; margin-bottom: 12px; }
  .hero-inner { padding-left: 18px; padding-right: 18px; } /* v1 bug: its mobile padding shorthand zeroes the side gutters */
  .faq details { padding: 0 16px; }
  .addons { gap: 0; }
}

/* ==========================================================================
   Gloss theme — dark, high-contrast "luxury" look (Blackout / Mile High
   style). Opt in with <body class="theme-gloss"> on EVERY page.
   ========================================================================== */
.theme-gloss {
  --green-900: #050608;
  --green-800: #0d0f13;
  --green-700: #171a20;
  --green-600: #22262e;
  --green-500: #3a404b;
  --cream: #0a0b0e;
  --sand: #101217;
  --white: #15181e;          /* card surface */
  --ink: #eef0f3;
  --slate: #9ea5b1;
  --line: #262b34;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.35);
  --shadow-md: 0 12px 34px rgba(0,0,0,.5);
  --shadow-lg: 0 26px 70px rgba(0,0,0,.6);
  color: var(--ink);
}
.theme-gloss h1, .theme-gloss h2, .theme-gloss h3, .theme-gloss h4,
.theme-gloss .brand-name, .theme-gloss .testi-quote, .theme-gloss .testi-author .who,
.theme-gloss .rating-big .score, .theme-gloss .pkg-price, .theme-gloss .faq summary,
.theme-gloss .founder-sig { color: #f5f6f8; }
.theme-gloss .eyebrow, .theme-gloss .pkg-tier, .theme-gloss .brand-name span { color: var(--gold); }
.theme-gloss .site-header { background: rgba(10,11,14,.82); border-bottom-color: var(--line); }
.theme-gloss .nav-links a, .theme-gloss .nav-phone, .theme-gloss .chip, .theme-gloss .filter-btn,
.theme-gloss .field label { color: #dfe2e7; }
.theme-gloss .nav-links a:hover, .theme-gloss .nav-links a.active { color: var(--gold); }
.theme-gloss .nav-phone svg { color: var(--gold); }
.theme-gloss .nav-toggle span { background: #fff; }
.theme-gloss .nav-links.open { background: var(--green-800); }
.theme-gloss .btn-ghost { color: #fff; border-color: #3a404b; }
.theme-gloss .btn-ghost:hover { background: #fff; color: #0a0b0e; border-color: #fff; }
.theme-gloss .btn-primary { background: #fff; color: #0a0b0e; }
.theme-gloss .btn-primary:hover { background: var(--gold); color: var(--green-900); }
.theme-gloss .btn-light { background: #fff; color: #0a0b0e; }
.theme-gloss .service-icon { background: #1d2128; border-color: var(--line); color: var(--gold); }
.theme-gloss .service-card:hover .service-icon { background: var(--gold); color: #0a0b0e; }
.theme-gloss .filter-btn.active { background: #fff; color: #0a0b0e; border-color: #fff; }
.theme-gloss .field input, .theme-gloss .field select, .theme-gloss .field textarea { background: #0d0f13; color: var(--ink); border-color: var(--line); }
.theme-gloss .field input:focus, .theme-gloss .field select:focus, .theme-gloss .field textarea:focus { background: #0d0f13; }
.theme-gloss .quote-band { background: linear-gradient(135deg, #101217, #1b1f26); border: 1px solid var(--line); }
.theme-gloss .page-hero { background: radial-gradient(ellipse at top, #1b1f26, #07080a 70%); }
.theme-gloss .trustbar, .theme-gloss .cta-strip, .theme-gloss .site-footer { border-top: 1px solid var(--line); }
.theme-gloss .testi-avatar { background: var(--gold); color: #0a0b0e; }
.theme-gloss .feature-list .tick { background: var(--gold); color: #0a0b0e; }
.theme-gloss .plan-callout { background: linear-gradient(135deg, #15181e, #20252d); border: 1px solid var(--line); }
.theme-gloss .cert-strip { background: var(--green-800); }
.theme-gloss .cert-strip img { filter: grayscale(1) invert(1) brightness(1.4); }
.theme-gloss .lightbox { background: rgba(0,0,0,.96); }
.theme-gloss .form-success { background: #12202f; color: #fff; }
