/* Gio's Garage Auto Detailing */

/* Fonts (self-hosted from Google Fonts, Latin subset) */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/bebas-neue.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-700i.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var.woff2") format("woff2"); }

:root {
  --bg: #05070d;
  --bg-panel: #0b1020;
  --blue: #1e6bff;
  --blue-glow: #3d8bff;
  --orange: #ff7a1a;
  --orange-glow: #ff9a3d;
  --silver: #d9dee7;
  --text: #f2f4f8;
  --text-muted: #9aa3b2;

  --font-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow Bold", sans-serif;
  --font-accent: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --glow-blue: 0 0 0 1px rgba(61, 139, 255, .45), 0 0 18px rgba(61, 139, 255, .28), 0 0 48px rgba(30, 107, 255, .16);
  --glow-orange: 0 0 0 1px rgba(255, 154, 61, .5), 0 0 18px rgba(255, 154, 61, .3), 0 0 48px rgba(255, 122, 26, .16);

  --radius: 14px;
  --header-h: 68px;
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 0v34M28 0' fill='none' stroke='%233d8bff' stroke-opacity='.09' stroke-width='1.2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: var(--blue-glow); }
a:hover { color: var(--text); }

:focus-visible {
  outline: 3px solid var(--blue-glow);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

/* ---------- Type helpers ---------- */
.t-blue { color: var(--blue-glow); }
.t-orange { color: var(--orange); }
.chrome {
  padding-right: .08em; margin-right: -.08em;
  color: var(--silver);
  background: linear-gradient(180deg, #ffffff 0%, #d9dee7 42%, #8a93a3 55%, #e9edf3 78%, #b7bfcc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nowrap { white-space: nowrap; }

.section { padding: 80px 0; }
.section-panel { background: var(--bg-panel); border-block: 1px solid rgba(61, 139, 255, .12); }
.hex-bg { background-image: var(--hex); background-size: 56px 100px; }
.section-panel.hex-bg { background-color: var(--bg-panel); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 10px;
  font-family: var(--font-accent); font-style: italic; font-weight: 700;
  font-size: 1.25rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }

.btn-orange { background: var(--orange); color: var(--bg); box-shadow: var(--glow-orange); }
.btn-orange:hover { background: var(--orange-glow); color: var(--bg); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--glow-blue); }
.btn-blue:hover { background: #2f78ff; color: #fff; }
.btn-outline { background: rgba(30, 107, 255, .08); color: var(--text); border-color: var(--blue-glow); box-shadow: var(--glow-blue); }
.btn-outline:hover { background: rgba(30, 107, 255, .2); color: var(--text); }

.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 1.1rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.45rem; }
.btn-xl { min-height: 64px; padding: 16px 34px; font-size: clamp(1.4rem, 4.5vw, 2rem); }
.btn-block { width: 100%; }
.package > h3 { grid-row: 1; }
.package > .price { grid-row: 2; }
.package > .package-tagline { grid-row: 3; }
.package > .btn-block { grid-row: 4; align-self: end; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 13, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 139, 255, .18);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo { display: block; margin-right: auto; line-height: 0; border-radius: 6px; }
.logo img { height: 56px; width: auto; }

.site-nav ul { display: flex; gap: 28px; list-style: none; padding: 0; }
.site-nav a {
  color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 0;
}
.site-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-call-label { opacity: .8; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid rgba(61, 139, 255, .4); border-radius: 10px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--silver); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(ellipse 60% 55% at 12% 30%, rgba(30, 107, 255, .22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 92% 80%, rgba(255, 122, 26, .16), transparent 70%),
    var(--hex),
    var(--bg);
  background-size: auto, auto, 56px 100px, auto;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.eyebrow {
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 18px;
}
.tagline {
  font-family: var(--font-accent); font-style: italic; font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 6.4rem); line-height: .92; letter-spacing: -.005em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.tagline .t-orange { text-shadow: 0 0 22px rgba(255, 122, 26, .55); }
.tagline .t-blue { text-shadow: 0 0 22px rgba(61, 139, 255, .6); }
.lead { color: var(--text-muted); font-size: 1.15rem; max-width: 36em; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-note { margin-top: 20px; color: var(--text-muted); }
.hero-note strong { color: var(--text); }

.hero-mascot { position: relative; display: grid; place-items: center; }
.hero-mascot::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 255, .35), rgba(255, 122, 26, .12) 55%, transparent 72%);
  filter: blur(20px);
}
.hero-mascot img { position: relative; width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .6)); }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; row-gap: 0; max-width: 920px; margin: 0 auto; }
.package {
  position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 22px;
  padding: 52px 32px 32px; margin-top: 32px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%), var(--bg);
  border: 2px solid; border-radius: var(--radius);
}
.package-blue { --accent: var(--blue-glow); border-color: var(--blue-glow); box-shadow: var(--glow-blue), inset 0 0 40px rgba(30, 107, 255, .12); }
.package-orange { --accent: var(--orange); border-color: var(--orange); box-shadow: var(--glow-orange), inset 0 0 40px rgba(255, 122, 26, .12); }

.package-badge-icon {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); color: var(--text);
}
.package-blue .package-badge-icon { box-shadow: var(--glow-blue); }
.package-orange .package-badge-icon { box-shadow: var(--glow-orange); }
.package-badge-icon svg { width: 36px; height: 36px; }
.package-orange .package-badge-icon svg { color: #ffe2c7; }

.package h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3rem); line-height: 1; letter-spacing: .02em; }

.price { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.price-from {
  display: flex; align-items: center; gap: 12px; width: 100%;
  font-family: var(--font-accent); font-style: italic; font-weight: 700;
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; color: var(--accent);
}
.price-from::before, .price-from::after { content: ""; flex: 1; height: 1px; background: var(--accent); opacity: .6; }
.price-amt { font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: clamp(4.4rem, 11vw, 5.6rem); line-height: 1; letter-spacing: -.02em; padding: 0 .12em; }
.price-plus { font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.price-amt sup { font-size: .45em; vertical-align: .9em; margin-right: .04em; }
.package-blue .price-amt { color: var(--blue-glow); background: linear-gradient(180deg, #7fb2ff, #1e6bff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.package-orange .price-amt { color: var(--orange); background: linear-gradient(180deg, #ffc27a, #ff6a00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.package-tagline {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 0; border-block: 1px solid rgba(154, 163, 178, .22);
  font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: 1.5rem; color: var(--accent);
}
.package-icon { width: 38px; height: 38px; flex: none; color: var(--text); }
.package-orange .package-icon { color: var(--orange); }

.checklist { list-style: none; padding: 0; display: grid; gap: 10px; flex: 1; text-align: left; }
.checklist li { position: relative; padding-left: 30px; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: currentColor no-repeat center / 12px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='%2305070d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.package-blue .checklist li::before { background-color: var(--blue-glow); }
.package-orange .checklist li::before { background-color: var(--orange); }

.badge {
  position: absolute; top: -15px; right: 20px;
  background: var(--orange); color: var(--bg);
  font-family: var(--font-accent); font-style: italic; font-weight: 700; text-transform: uppercase;
  font-size: .95rem; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 0 16px rgba(255, 154, 61, .5);
}

.fine-print { text-align: center; color: var(--text-muted); font-size: .95rem; margin-top: 32px; }

/* ---------- Why tiles ---------- */
.tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tile {
  text-align: center; padding: 36px 28px;
  background: rgba(5, 7, 13, .72);
  border-radius: var(--radius);
  box-shadow: var(--glow-blue);
}
.tile:nth-child(2) { box-shadow: var(--glow-orange); }
.tile-icon { width: 60px; height: 60px; margin: 0 auto 18px; color: var(--blue-glow); }
.tile:nth-child(2) .tile-icon { color: var(--orange); }
.tile h3 { font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: 1.7rem; text-transform: uppercase; line-height: 1.1; margin-bottom: 10px; }
.tile p { color: var(--text-muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.step { position: relative; padding: 28px; border-left: 3px solid var(--blue); background: linear-gradient(90deg, rgba(30, 107, 255, .08), transparent); border-radius: 0 var(--radius) var(--radius) 0; }
.step:nth-child(2) { border-left-color: var(--orange); background: linear-gradient(90deg, rgba(255, 122, 26, .08), transparent); }
.step-num {
  display: block; font-family: var(--font-display); font-size: 4rem; line-height: 1;
  color: var(--blue-glow); text-shadow: 0 0 20px rgba(61, 139, 255, .5); margin-bottom: 8px;
}
.step:nth-child(2) .step-num { color: var(--orange); text-shadow: 0 0 20px rgba(255, 122, 26, .5); }
.step h3 { font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: 1.6rem; text-transform: uppercase; line-height: 1.1; margin-bottom: 8px; }
.step p { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--bg); border: 1px solid rgba(61, 139, 255, .22); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--blue-glow); box-shadow: var(--glow-blue); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.faq summary::after {
  content: "+"; flex: none; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--orange);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 12px; }
.faq details p { padding: 0 22px 20px; color: var(--text-muted); }

/* ---------- Final CTA ---------- */
.cta-band {
  padding: 96px 0; text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%, rgba(30, 107, 255, .2), transparent 70%),
    var(--hex), var(--bg);
  background-size: auto, 56px 100px, auto;
}
.cta-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 5.6rem); line-height: .95; letter-spacing: .02em;
  margin-bottom: 40px;
}
.cta-diamond { display: inline-block; width: .8em; height: .8em; margin-right: .2em; vertical-align: -.05em; color: #9cc3ff; filter: drop-shadow(0 0 10px rgba(61, 139, 255, .7)); }
.cta-title .brush {
  display: inline-block;
  font-family: var(--font-accent); font-style: italic; font-weight: 700; text-transform: uppercase;
  letter-spacing: -.01em; transform: skewX(-6deg);
  text-shadow: 0 0 24px rgba(61, 139, 255, .6);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-panel); border-top: 1px solid rgba(61, 139, 255, .18); padding: 56px 0 28px; font-size: .95rem; color: var(--text-muted); }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-inner p + p { margin-top: 6px; }
.footer-label { font-family: var(--font-accent); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text); font-size: 1.05rem; }
.footer-towns { font-size: .85rem; line-height: 1.7; }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .03em; color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(154, 163, 178, .15); font-size: .85rem;
}

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .btn-orange { animation: pulse 3.2s ease-in-out infinite; }
  @keyframes pulse {
    0%, 100% { box-shadow: var(--glow-orange); }
    50% { box-shadow: 0 0 0 1px rgba(255, 154, 61, .7), 0 0 26px rgba(255, 154, 61, .5), 0 0 64px rgba(255, 122, 26, .28); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-mascot img { max-width: 300px; }
  .tiles, .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .package { grid-row: span 5; }
  .package .badge { position: static; grid-row: 1; justify-self: center; align-self: center; margin: -6px 0 -10px; }
  .package > h3 { grid-row: 2; }
  .package > .price { grid-row: 3; }
  .package > .package-tagline { grid-row: 4; }
  .package > .btn-block { grid-row: 5; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5, 7, 13, .98); border-bottom: 1px solid rgba(61, 139, 255, .18);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(154, 163, 178, .1); }
}

@media (max-width: 767px) {
  :root { --header-h: 60px; }
  body { padding-bottom: 76px; }
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 36px; }
  .hero { padding: 48px 0 64px; }
  .cta-row .btn { flex: 1 1 100%; }
  .packages { grid-template-columns: 1fr; row-gap: 56px; }
  .package { display: flex; flex-direction: column; gap: 22px; padding: 48px 22px 24px; }
  .package .badge { align-self: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-band { padding: 72px 0; }

  .logo img { height: 40px; }
  .header-call-label { display: none; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 7, 13, .95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(61, 139, 255, .25);
  }
  .mobile-bar .btn { min-height: 52px; font-size: 1.35rem; }
}

@media (max-width: 400px) {
  .header-inner { gap: 10px; }
  .header-call { padding: 8px 12px; font-size: 1rem; }
}
