/* ===========================================================================
   GG Detailing: craft layer. Loads AFTER styles.css.
   Source of truth: tools/gg-craft/custom.css. tools/build-gg-craft.js copies
   it to sites/gg-detailing/custom.css. Edit here, not there.

   Palette and type from the logo: black, electric blue #069AFC, chrome italic.
   Middle-ground pass (Corey, 2026-10-06): keep the personality (video hero,
   italic headings, a few blue accent words, round shapes) but drop the AI tells (glowing label dashes over every section,
   glow halos, copy about the site itself, a card for everything).

   Mobile-nav safety (see craft-pass notes): never put transform, filter or
   backdrop-filter on .site-header. Never blanket z-index body children.
   =========================================================================== */

html:root {
  --gg-black: #030405;
  --gg-ink: #080a0d;
  --gg-panel: #0e1217;
  --gg-panel-2: #141a21;
  --gg-line: rgba(255,255,255,.09);
  --gg-blue: #069AFC;
  --gg-ice: #63BEFF;        /* readable blue for small text on black */
  --gg-white: #F2F5F8;
  --gg-mute: #9AA6B2;
  --gg-chrome: linear-gradient(180deg, #ffffff 0%, #e4e9ee 38%, #8d97a2 52%, #c9d0d7 66%, #ffffff 100%);
  --gg-display: "Exo 2", "Arial Black", system-ui, sans-serif;
  --gg-wide: "Michroma", "Exo 2", system-ui, sans-serif;
  --gg-body: Inter, system-ui, sans-serif;

  --brand-text: var(--gg-white);
  --brand-text-muted: var(--gg-mute);
  --brand-bg: var(--gg-black);
  --brand-bg-alt: var(--gg-ink);
  --brand-border: var(--gg-line);
  --header-h: 80px;
}

::selection { background: var(--gg-blue); color: #fff; }

body {
  font-family: var(--gg-body);
  background: var(--gg-black);
  color: var(--gg-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--gg-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.02;
}
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.05; }
h2 em { font-style: italic; color: var(--gg-blue); }
h3 { font-size: 1.45rem; }
a { color: var(--gg-ice); }

.chrome {
  background: var(--gg-chrome);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* The first H2 on every page is the meta description (SEO contract). It reads
   as a sentence, never as a giant heading. */
h2.seo-description {
  font-family: var(--gg-body);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: rgba(242,245,248,.76);
  max-width: 58ch;
  margin: 0 0 26px;
}

.gg-label {
  font-family: var(--gg-wide);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gg-ice);
  display: block;
  margin-bottom: 8px;
}

/* ---- Header ------------------------------------------------------------ */
.site-header { background: rgba(3,4,5,.95); border-bottom: 1px solid var(--gg-line); }
.nav-logo img { height: 50px; width: auto; max-width: 140px; }
.nav-links { gap: 28px; }
.nav-links a:not(.nav-cta) {
  font-family: var(--gg-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--gg-white);
}
.nav-links a:not(.nav-cta):hover { color: var(--gg-ice); }
.nav-links a[href^="tel:"] { color: var(--gg-ice); }
.nav-cta {
  background: var(--gg-blue) !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-family: var(--gg-display); font-weight: 800; font-style: italic;
}
.nav-toggle { color: #fff; }
.nav-dropdown {
  background: var(--gg-ink) !important;
  border: 1px solid var(--gg-line) !important;
  border-radius: 16px !important;
}
.nav-dropdown a { font-size: .95rem !important; }
.nav-dropdown a:hover { background: rgba(6,154,252,.14) !important; color: #fff !important; }
@media (max-width: 860px) {
  .nav-links { background: var(--gg-black) !important; }
  .nav-links a:not(.nav-cta) { font-size: 1.3rem; }
  .nav-logo img { height: 42px; }
}

/* ---- Buttons ----------------------------------------------------------- */
.gg-btn, .gg-btn-ghost, .x-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--gg-display); font-style: italic; font-weight: 800;
  font-size: 1.05rem; letter-spacing: .01em;
  border-radius: 999px; padding: 14px 26px; text-decoration: none; white-space: nowrap;
}
.gg-btn svg, .gg-btn-ghost svg, .x-btn svg { width: 18px; height: 18px; flex: none; }
.gg-btn, .x-btn-primary {
  background: var(--gg-blue); color: #fff; border: 0;
}
.gg-btn:hover, .x-btn-primary:hover { background: #2aa9ff; color: #fff; text-decoration: none; }
.gg-btn-ghost, .x-btn-ghost { background: rgba(255,255,255,.04); color: #fff; border: 0; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.gg-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.gg-btn-white, .x-btn-white { background: #fff; color: var(--gg-black); }
.gg-btn-white:hover { background: #e9f4ff; color: var(--gg-black); }
.gg-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Inner-page banner ------------------------------------------------- */
.x-banner { background: var(--gg-ink); border-bottom: 1px solid var(--gg-line); }
.x-banner .gg-ban { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.x-banner .gg-ban-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,4,5,.96) 0%, rgba(3,4,5,.84) 42%, rgba(3,4,5,.4) 100%),
    linear-gradient(0deg, rgba(3,4,5,1) 0%, rgba(3,4,5,0) 50%);
}
.x-banner .container { padding-top: 150px; padding-bottom: 72px; }
.x-banner h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 16ch; line-height: 1; }
.x-banner .x-sub { color: var(--gg-ice); font-weight: 600; }
.x-eyebrow {
  background: none; color: var(--gg-ice); border: 0; padding: 0;
  font-family: var(--gg-body); letter-spacing: 0; text-transform: none; font-size: .95rem; font-weight: 600;
}
.x-crumbs, .x-crumbs a { color: rgba(242,245,248,.55); }

/* ---- Sections / body copy --------------------------------------------- */
.section { background: var(--gg-black); }
.section-alt { background: var(--gg-ink); border-top: 1px solid var(--gg-line); border-bottom: 1px solid var(--gg-line); }
.x-body h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 1.6em; }

.x-body p, .x-prose p { color: #cbd3dc; font-size: 1.07rem; line-height: 1.72; }
.x-lead { font-size: 1.24rem !important; color: #fff !important; font-weight: 500; }
.x-checklist li { color: var(--gg-white); }
.x-ck { color: var(--gg-blue); }
.x-head .k, .section-head .eyebrow { font-family: var(--gg-wide); color: var(--gg-ice); letter-spacing: .26em; text-transform: uppercase; font-size: .72rem; }

.card, .x-svc, .x-feat { background: var(--gg-panel); border: 1px solid var(--gg-line); border-radius: 16px; }
.card:hover { border-color: rgba(6,154,252,.6); box-shadow: none; transform: none; }
.card h3 { color: #fff; }
.x-step .n { font-family: var(--gg-display); color: var(--gg-ice); }
.x-step h4 { color: #fff; }

.x-faq details { border-bottom: 1px solid var(--gg-line); }
.x-faq summary { font-family: var(--gg-display); font-weight: 600; font-size: 1.12rem; color: #fff; }
.x-faq summary::after { color: var(--gg-blue); }
.x-faq details p { color: #c3ccd6; }

/* GHL widgets are white by design. Keep them on a white card. */
.embed-wrap { background: #fff; border: 0; border-radius: 18px; padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }

/* ---- Big CTA band ------------------------------------------------------- */
.x-bigcta {
  position: relative; overflow: hidden;
  background: radial-gradient(90% 160% at 50% 120%, rgba(6,154,252,.45), rgba(6,154,252,.06) 60%, transparent 75%), var(--gg-ink);
  border-top: 1px solid var(--gg-line);
}
.x-bigcta .container { position: relative; }
.x-bigcta h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.x-bigcta p { color: rgba(242,245,248,.85); }
.x-bigcta .gg-cta-row { justify-content: center; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: #000; border-top: 1px solid var(--gg-line); margin-top: 0; }
.site-footer h4 { font-size: 1.1rem; color: #fff; }
.site-footer a { color: #c3ccd6; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-links li { font-size: .9rem; color: #c3ccd6; }

/* ---- Plain pages -------------------------------------------------------- */
.section-head { text-align: left; margin-bottom: 36px; }
.section-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; margin: 0 0 18px; }
.x-prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 1.4em; }
.cta-band { background: #0a3a63; color: #fff; border-top: 1px solid var(--gg-line); }
.cta-band h2 { color: #fff; }
.btn { border-radius: 999px; font-family: var(--gg-display); font-style: italic; font-weight: 800; }
.btn-primary { background: var(--gg-blue); color: #fff; border: 0; }
.cta-band .btn-primary { background: #fff; color: var(--gg-black); }
.btn-secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); border: 0; }
ul li::marker { color: var(--gg-blue); }

/* ---- Price plate on service pages -------------------------------------- */
.gg-plate {
  display: grid; grid-template-columns: 1.05fr 1fr 1.25fr auto; align-items: center;
  margin: 28px 0 8px; border: 1px solid rgba(6,154,252,.35); border-radius: 18px;
  background: var(--gg-panel);
  overflow: hidden;
}
.gg-plate > div { padding: 18px 22px; border-left: 1px solid var(--gg-line); }
.gg-plate > div:first-child { border-left: 0; padding-left: 26px; }

.gg-plate .l { white-space: nowrap; font-size: .85rem; color: var(--gg-mute); margin-bottom: 4px; }
.gg-plate .v { font-family: var(--gg-display); font-style: italic; font-weight: 800; font-size: 2.1rem; line-height: 1; color: #fff; }
.gg-plate .v.sm { font-size: 1.15rem; font-weight: 700; }
.gg-plate .cta { border-left: 0; }
@media (max-width: 760px) {
  .gg-plate { grid-template-columns: 1fr 1fr; }
  .gg-plate > div:nth-child(3) { border-left: 0; padding-left: 26px; border-top: 1px solid var(--gg-line); }
  .gg-plate > div:nth-child(2) { border-left: 1px solid var(--gg-line); }
  .gg-plate .cta { grid-column: 1 / -1; border-top: 1px solid var(--gg-line); padding-left: 22px; }
  .gg-plate > div:nth-child(4) { padding-top: 16px; }
  .gg-plate .cta .gg-btn { width: 100%; justify-content: center; }
  .gg-plate > div:nth-child(3) { grid-column: 1 / -1; }
}

/* =============================================================================
   HOME (index.html only; markup written by build-gg-craft.js)
   De-AI pass 2026-10-06: one real photo instead of a collage, plain headings,
   a price menu instead of a card grid, no glows, no blue punchline words.
   ============================================================================= */
.gg-hero { position: relative; overflow: hidden; background: var(--gg-black); isolation: isolate; border-bottom: 1px solid var(--gg-line); }
/* His foam-wash video fills the hero (Corey and Griffin, 2026-10-06). A dark tint keeps the words readable. */
.gg-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gg-hero-bg.tall { display: none; }
.gg-hero-tint {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,4,5,.9) 0%, rgba(3,4,5,.72) 45%, rgba(3,4,5,.38) 100%),
    linear-gradient(0deg, rgba(3,4,5,.85) 0%, rgba(3,4,5,0) 35%);
}
.gg-hero-grid { display: grid; align-items: center; min-height: min(86vh, 760px); padding-top: 72px; padding-bottom: 72px; }
.gg-hero-copy { max-width: 640px; }
.gg-kicker { color: rgba(242,245,248,.8); font-size: .95rem; margin: 0 0 14px; }
.gg-hero h1 { font-size: clamp(2.8rem, 5.8vw, 5.2rem); line-height: .94; margin: 0 0 22px; font-weight: 900; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.gg-hero h1 .in { display: block; color: var(--gg-blue); font-size: .58em; margin-top: .14em; }
.gg-hero h2.seo-description { color: rgba(242,245,248,.88); }
.gg-facts { color: rgba(242,245,248,.8); font-size: .95rem; margin: 22px 0 0; }
@media (max-width: 760px) {
  .gg-hero-bg.wide { display: none; }
  .gg-hero-bg.tall { display: block; }
  .gg-hero-tint { background: linear-gradient(180deg, rgba(3,4,5,.55) 0%, rgba(3,4,5,.7) 45%, rgba(3,4,5,.9) 100%); }
  .gg-hero-grid { min-height: calc(100svh - 80px); align-items: end; padding-top: 48px; padding-bottom: 40px; }
}
@media (max-width: 560px) {
  .gg-hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .gg-cta-row .gg-btn, .gg-cta-row .gg-btn-ghost { width: 100%; justify-content: center; }
}

/* Section heads */
.gg-sec { padding: 80px 0; position: relative; }
.gg-sec.alt { background: var(--gg-ink); border-top: 1px solid var(--gg-line); border-bottom: 1px solid var(--gg-line); }
.gg-head { margin-bottom: 32px; max-width: 760px; }
.gg-head h2 { margin: 0 0 10px; }
.gg-head p { color: var(--gg-mute); margin: 0; font-size: 1.05rem; max-width: 60ch; }

/* Sideways reel of his photos and clips */
.gg-reel {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 290px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - 1200px) / 2 + 24px)) 18px;
  scrollbar-width: thin; scrollbar-color: #3a4450 transparent;
}
.gg-reel:focus-visible { outline: 2px solid var(--gg-blue); outline-offset: 4px; }
.gg-card { margin: 0; scroll-snap-align: start; }
.gg-card-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: 16px; background: var(--gg-panel); }
.gg-card figcaption { color: var(--gg-mute); font-size: .88rem; margin-top: 8px; }
.gg-card.vid .gg-card-img { aspect-ratio: 9 / 16; }
.gg-card.ba .gg-card-img { aspect-ratio: auto; height: auto; }
.gg-reel:has(.gg-card.ba) { align-items: start; }

/* Price menu */
.gg-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.gg-menu li { border-bottom: 1px solid var(--gg-line); }
.gg-menu a {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 16px 0;
  color: var(--gg-white); text-decoration: none;
}
.gg-menu .n { font-family: var(--gg-display); font-style: italic; font-weight: 800; font-size: 1.25rem; }
.gg-menu .p { font-family: var(--gg-display); font-style: italic; font-weight: 900; font-size: 1.5rem; grid-row: 1 / 3; grid-column: 2; align-self: center; }
.gg-menu .b { color: var(--gg-mute); font-size: .93rem; }
.gg-menu a:hover .n { color: var(--gg-ice); }
@media (max-width: 760px) { .gg-menu { grid-template-columns: 1fr; } }

/* How it works */
.gg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.gg-steps li { padding: 26px 24px; border-radius: 18px; background: var(--gg-panel); border: 1px solid var(--gg-line); counter-increment: step; }
.gg-steps li::before { content: counter(step); display: block; font-family: var(--gg-display); font-style: italic; font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--gg-blue); margin-bottom: 12px; }
.gg-steps h3 { margin: 0 0 8px; font-size: 1.4rem; }
.gg-steps p { margin: 0; color: #c3ccd6; line-height: 1.6; }
@media (max-width: 820px) { .gg-steps { grid-template-columns: 1fr; gap: 24px; } }

/* Coverage: a sentence, not a wall of pills */
.gg-towns { line-height: 1.8 !important; }
.gg-towns a { color: var(--gg-ice); }

.gg-faq .x-faq { max-width: none; }

/* Reviews: real Google quotes, text only (no review schema) */
.gg-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.gg-quote { margin: 0; padding: 24px; border-radius: 18px; background: var(--gg-panel); border: 1px solid var(--gg-line); }
.gg-quote .st { color: #f5b400; letter-spacing: 2px; margin-bottom: 10px; }
.gg-quote blockquote { margin: 0 0 14px; }
.gg-quote blockquote p { margin: 0; color: #e1e6ec; line-height: 1.6; }
.gg-quote figcaption { font-family: var(--gg-display); font-style: italic; font-weight: 800; color: #fff; }
.gg-quote figcaption span { display: inline; font-weight: 400; font-size: .85rem; color: var(--gg-mute); margin-left: 8px; }
@media (max-width: 760px) { .gg-quotes { grid-template-columns: 1fr; } }

@media (max-width: 640px) { .gg-sec { padding: 56px 0; } }
.gg-card.vid video { background: var(--gg-panel); cursor: pointer; }
/* Phones: one clip at a time, swipe for the next. */
@media (max-width: 560px) { .gg-work .gg-reel { grid-auto-columns: 74vw; } }

/* ---- Service hero with booking widget (2026-10-06) ---------------------- */
.x-banner .container.gg-bhero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 48px; align-items: start;
}
.gg-bhero-copy { padding-top: 24px; }
.gg-book {
  background: var(--gg-panel); border: 1px solid var(--gg-line); border-radius: 12px;
  padding: 18px;
  scroll-margin-top: 96px;
}
.gg-book-head { padding: 2px 4px 14px; }
.gg-book-head .gg-label { margin-bottom: 6px; }
.gg-book-head p { margin: 0; color: #cbd3dc; font-size: .98rem; line-height: 1.5; }
.gg-book-frame { border-radius: 14px; overflow: hidden; background: #fff; }
.gg-book-frame iframe { display: block; width: 100%; }
.gg-book-frame br { display: none; }
@media (max-width: 980px) {
  .x-banner .container.gg-bhero { grid-template-columns: 1fr; gap: 28px; }
  .gg-bhero-copy { padding-top: 0; }
  .gg-book { width: 100%; max-width: 620px; padding: 12px; border-radius: 18px; }
}

/* ---- Photos between text blocks ---------------------------------------- */
.gg-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 8px; }
.gg-figs.wide { grid-template-columns: 1fr; }
.gg-fig { margin: 0; }
.gg-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #000; }
.gg-figs.wide .gg-fig img { aspect-ratio: 16 / 10; }
@media (max-width: 560px) { .gg-figs.wide .gg-fig img { aspect-ratio: 4 / 3; } }
.gg-fig.ba img { object-fit: contain; }
.gg-fig figcaption { color: var(--gg-mute); font-size: .88rem; margin-top: 8px; }
@media (max-width: 560px) {
  .gg-figs { gap: 10px; margin-top: 28px; }
  .gg-fig figcaption { font-size: .82rem; }
}

/* Trust line under the home hero (Garfield, 2026-10-07). */
.gg-trust { background: var(--gg-panel); border-top: 1px solid var(--gg-line); border-bottom: 1px solid var(--gg-line); padding: 18px 0; }
.gg-trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; }
.gg-trust li { font-family: var(--gg-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; color: var(--gg-white); padding: 0 18px; }
.gg-trust li + li { border-left: 1px solid rgba(255,255,255,.25); }
@media (max-width: 640px) {
  .gg-trust ul { flex-direction: column; align-items: center; }
  .gg-trust li + li { border-left: 0; }
}

/* SBA certification logo on About. */
.gg-sba { margin: 8px 0 28px; }
.gg-sba img { display: block; width: 180px; height: auto; border-radius: 6px; }
