/* ===================================================================
   Blue Peak Car Detailing — styles
   =================================================================== */

:root {
  --navy-900: #0a1220;
  --navy-800: #0e1a2c;
  --navy-700: #14263e;
  --navy-600: #1c3350;
  --blue-500: #2f7bf6;
  --blue-400: #4f93ff;
  --blue-300: #7db0ff;
  --cyan: #57c7ff;
  --ice: #eaf2ff;
  --white: #ffffff;
  --gray-050: #f5f8fc;
  --gray-100: #eef2f8;
  --gray-200: #dbe3ee;
  --gray-400: #93a2b8;
  --gray-500: #64748b;
  --ink: #0f1b2d;
  --ink-soft: #33465e;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(10, 18, 32, 0.06);
  --shadow-md: 0 14px 40px rgba(10, 18, 32, 0.12);
  --shadow-blue: 0 16px 40px rgba(47, 123, 246, 0.35);
  --maxw: 1140px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 760px; }

.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-400)); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(47,123,246,.45); }

.btn-outline { background: transparent; color: #fff; border: 1.6px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-outline-dark { background: transparent; color: var(--blue-500); border: 1.6px solid var(--blue-500); padding: 12px 24px; }
.btn-outline-dark:hover { background: var(--blue-500); color: #fff; }

.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.16); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

.btn-call { background: #fff; color: var(--navy-900); font-weight: 700; }
.btn-call:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 14px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
#site-header.scrolled {
  background: rgba(10,18,32,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  padding: 9px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; fill: var(--blue-400); flex: none; filter: drop-shadow(0 3px 8px rgba(79,147,255,.5)); }
.brand-name { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 19px; line-height: 1; display: flex; flex-direction: column; }
.brand-sub { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-300); margin-top: 3px; }

.nav-links { display: flex; gap: 26px; }
.nav-links a { color: rgba(255,255,255,.82); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 70% -10%, #163358 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff;
  padding: 150px 0 110px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow {
  position: absolute; width: 620px; height: 620px; top: -220px; right: -120px;
  background: radial-gradient(circle, rgba(87,199,255,.28), transparent 62%);
  filter: blur(10px);
}
.hero-peaks { position: absolute; bottom: -1px; left: 0; width: 100%; height: 300px; }
.hero-peaks path { fill: #1b3a63; }

.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-300); margin: 0 0 16px;
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--blue-300), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: rgba(234,242,255,.82); max-width: 600px; margin: 0 0 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 0; margin: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(234,242,255,.9); font-weight: 500; }
.ico-check { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-050); }
.section-dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 700; margin-bottom: 14px; }
.eyebrow-dark { color: var(--blue-500); }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }
.section-lead.light { color: rgba(234,242,255,.78); }
.inline-link { color: var(--blue-300); text-decoration: underline; }

/* ---------- Pricing ---------- */
.price-wrap { display: flex; justify-content: center; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 40px 34px 34px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-md); text-align: center;
}
.price-ribbon {
  position: absolute; top: 18px; right: -6px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400)); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 6px 0 0 6px; box-shadow: var(--shadow-blue);
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 4px 0 6px; }
.price-num { font-family: var(--font-head); font-weight: 800; font-size: 3.6rem; color: var(--navy-900); letter-spacing: -0.03em; }
.price-per { color: var(--gray-500); font-weight: 600; font-size: 1rem; }
.price-note { color: var(--gray-500); font-size: .9rem; margin: 0 0 22px; }

.price-list { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; }
.price-list li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--gray-100); color: var(--ink-soft); }
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px;
  background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7bf6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
  border-radius: 50%;
}
.price-sub { margin: 14px 0 0; color: var(--gray-500); font-size: .92rem; }
.price-sub a { color: var(--blue-500); font-weight: 600; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-ico {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  box-shadow: var(--shadow-blue);
}
.feature-ico svg { width: 30px; height: 30px; fill: #fff; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ba-card { margin: 0; }
.ba-slot {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, var(--gray-050), var(--gray-050) 14px, var(--gray-100) 14px, var(--gray-100) 28px);
  border: 2px dashed var(--gray-200);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--gray-400);
}
.ba-slot span { font-family: var(--font-head); font-weight: 600; color: var(--gray-500); font-size: 1rem; }
.ba-slot small { font-size: .8rem; }
.ba-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; background: var(--gray-100); }
.ba-card figcaption { text-align: center; margin-top: 12px; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }

/* ---------- Areas ---------- */
.area-list {
  list-style: none; padding: 0; margin: 0 auto 34px; max-width: 760px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.area-list li {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 22px 10px; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.area-list li:hover { background: rgba(79,147,255,.14); border-color: var(--blue-400); transform: translateY(-3px); }
.areas-cta { text-align: center; }

/* ---------- Reviews empty ---------- */
.reviews-empty {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--gray-050); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 44px 30px;
}
.reviews-ico { width: 46px; height: 46px; fill: var(--blue-400); margin-bottom: 8px; opacity: .9; }
.reviews-empty p { color: var(--ink-soft); margin: 6px 0; }
.reviews-empty p strong { color: var(--ink); font-family: var(--font-head); font-size: 1.15rem; }
.reviews-empty .btn { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 600;
  font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--blue-500); border-radius: 2px; transition: transform .25s ease;
}
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2.4px; }
.faq-plus::after { left: 8px; top: 0; width: 2.4px; height: 18px; }
.faq details[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 22px 20px; color: var(--ink-soft); }
.faq-a p { margin: 0; }

/* ---------- Form ---------- */
.quote-form {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: .88rem; font-weight: 600; color: #dbe6f7; margin-bottom: 7px; font-family: var(--font-head); }
.field .opt { color: var(--gray-400); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 11px; font-family: var(--font-body); font-size: 15px;
  background: rgba(255,255,255,.95); border: 1.5px solid transparent; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(79,147,255,.25);
}
.field input:invalid:not(:placeholder-shown) { border-color: #ff8a8a; }
.hp { position: absolute; left: -9999px; }
#submit-btn { margin-top: 6px; }
.form-status { text-align: center; margin: 14px 0 0; font-weight: 600; font-family: var(--font-head); min-height: 1px; }
.form-status.ok { color: var(--cyan); }
.form-status.err { color: #ff9a9a; }
.form-fineprint { text-align: center; font-size: .82rem; color: rgba(234,242,255,.6); margin: 12px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(234,242,255,.72); padding: 60px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand p { margin: 14px 0 0; max-width: 300px; font-size: .95rem; }
.footer-brand .brand-name { color: #fff; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-col p { margin: 6px 0; font-size: .95rem; }
.footer-col a:hover, .footer-brand a:hover { color: var(--blue-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgba(234,242,255,.5); }

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

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 940px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  .header-cta .btn-ghost span { display: none; }
  .header-cta .btn-call span { display: none; }
  .header-cta .btn-call::after { content: "Call"; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 128px 0 90px; }
  .section { padding: 66px 0; }

  /* sticky bottom call bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 0;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    background: rgba(10,18,32,.96); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 -6px 22px rgba(0,0,0,.3);
  }
  .mobile-bar-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 14px 6px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  }
  .mobile-bar-btn.text { border-left: 1px solid rgba(255,255,255,.1); }
  .mobile-bar-btn.quote { background: linear-gradient(135deg, var(--blue-500), var(--blue-400)); }
  body { padding-bottom: 56px; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .price-card { padding: 34px 22px 28px; }
  .quote-form { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
