/* ═══ StanShine — style.css ═══ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #60a5fa;
  --blue-pale:   #eff6ff;
  --blue-mid:    #bfdbfe;
  --bg:          #faf9f7;
  --bg2:         #f3f2ef;
  --text:        #1a1a18;
  --muted:       #5a5a54;
  --faint:       #9a9a90;
  --border:      #e4e2dc;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(37, 99, 235, 0.10);
  --shadow-lg:   0 8px 32px rgba(37, 99, 235, 0.14);
  --font:        'Instrument Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Lucide icon base ── */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border: 1px solid var(--blue-mid);
  border-radius: 10px;
  color: var(--blue);
  flex-shrink: 0;
}
.icon i { width: 20px; height: 20px; }
.icon-sm { width: 32px; height: 32px; border-radius: 8px; }
.icon-sm i { width: 16px; height: 16px; }
.icon-lg { width: 52px; height: 52px; border-radius: 12px; }
.icon-lg i { width: 26px; height: 26px; }

/* ── Layout ── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 4rem 0; }
section + section { border-top: 1px solid var(--border); }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
}

.nav-logo i { color: var(--blue); width: 20px; height: 20px; }
.nav-logo span { color: var(--blue-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--blue); text-decoration: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: white !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  transition: background 0.15s, transform 0.1s;
}

.nav-cta:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-primary { background: var(--blue); color: white; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue-mid); }
.btn-outline:hover { background: var(--blue-pale); border-color: var(--blue); text-decoration: none; }

.btn-lg { font-size: 1rem; padding: 0.75rem 1.5rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ── Hero ── */
.hero {
  padding: 5rem 0 4rem;
  border-top: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-pale);
  border: 1px solid var(--blue-mid);
  color: var(--blue-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero-accent { color: var(--blue); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.trust-item i { color: var(--blue); }

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ── Steps Grid ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card .icon {
  margin: 0.5rem auto 0.75rem;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue-mid);
}

.service-card .icon-lg { margin-bottom: 1rem; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Pricing ── */
.vehicle-toggle {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.vehicle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: 100px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}

.vehicle-btn:hover { border-color: var(--blue-mid); color: var(--blue); }
.vehicle-btn.active { border-color: var(--blue); background: var(--blue-pale); color: var(--blue-dark); font-weight: 600; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.price-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: box-shadow 0.2s;
}

.price-card:hover { box-shadow: var(--shadow); }

.price-card-featured {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
}

.price-tier {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.price-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.price-dollar {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue);
  margin-right: 0.15rem;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.3rem 0;
}

.price-features li i { color: var(--blue); flex-shrink: 0; }

.feature-time {
  color: var(--faint) !important;
  font-size: 0.82rem !important;
  margin-top: 0.25rem;
  padding-top: 0.5rem !important;
  border-top: 1px solid var(--border);
}

.feature-time i { color: var(--faint) !important; }

/* ── Add-ons ── */
.addons-section {
  margin-top: 2.5rem;
  text-align: center;
}

.addons-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.addons-grid {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.addon-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.addon-chip i { color: var(--blue); }
.addon-chip span { color: var(--blue); font-weight: 600; }

/* ── Loyalty ── */
.loyalty-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.loyalty-content h2 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 0.5rem;
}

.loyalty-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}

.loyalty-stamps {
  display: flex;
  gap: 0.5rem;
}

.stamp {
  width: 48px;
  height: 48px;
  border: 2px dashed rgba(255,255,255,0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.stamp.filled {
  background: rgba(255,255,255,0.2);
  border-style: solid;
  border-color: rgba(255,255,255,0.5);
  color: white;
}

.stamp.free {
  width: auto;
  padding: 0 0.75rem;
  background: rgba(255,255,255,0.2);
  border-style: solid;
  border-color: rgba(255,255,255,0.5);
  color: white;
  gap: 0.3rem;
  font-size: 0.75rem;
}

.loyalty-extras {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.loyalty-perk {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.loyalty-perk i { flex-shrink: 0; opacity: 0.8; margin-top: 2px; }
.loyalty-perk strong { display: block; font-size: 0.95rem; }
.loyalty-perk span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* ── Gallery ── */
.gallery-placeholder,
.review-placeholder {
  background: white;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--faint);
}

.gallery-placeholder i,
.review-placeholder i {
  margin: 0 auto 0.75rem;
  opacity: 0.4;
}

.gallery-placeholder span,
.review-placeholder span {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.gallery-placeholder small,
.review-placeholder small {
  font-size: 0.85rem;
  color: var(--faint);
}

/* ── Service Area ── */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.area-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.area-card i { color: var(--blue); flex-shrink: 0; }
.area-card strong { font-weight: 600; }
.area-card span { font-size: 0.8rem; color: var(--muted); margin-left: auto; }

.area-primary {
  border-color: var(--blue-mid);
  background: var(--blue-pale);
}

.area-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* ── About ── */
.about-content {
  max-width: 640px;
  margin: 0 auto;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── FAQ ── */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: white;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  transition: background 0.15s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg2); }

.faq-item summary i {
  color: var(--faint);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item[open] summary i { transform: rotate(180deg); }

.faq-item p {
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Booking Form ── */
.booking-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group-full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.optional { font-weight: 400; color: var(--faint); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea { resize: vertical; }

/* Package select */
.package-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.package-option {
  cursor: pointer;
}

.package-option input { position: absolute; opacity: 0; pointer-events: none; }

.package-option-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: white;
  transition: all 0.15s;
}

.package-option input:checked + .package-option-inner {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.package-option-inner strong {
  font-size: 0.9rem;
  color: var(--text);
}

.package-option-inner span {
  font-size: 0.8rem;
  color: var(--muted);
}

.package-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue) !important;
  margin-top: 0.25rem;
}

/* Add-on checkboxes */
.addons-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.addon-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  transition: border-color 0.15s;
}

.addon-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.addon-option input { accent-color: var(--blue); }

/* Frequency */
.frequency-select {
  display: flex;
  gap: 0.75rem;
}

.freq-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: white;
  transition: all 0.15s;
}

.freq-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.freq-option input { accent-color: var(--blue); }

.freq-badge {
  background: var(--blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

/* Quote summary */
.quote-summary {
  margin: 1.5rem 0;
  background: var(--blue-pale);
  border: 2px solid var(--blue-mid);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.quote-summary h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}

.quote-lines {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--blue-mid);
}

.quote-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text);
}

.quote-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.quote-monthly {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--blue-mid);
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--faint);
  margin-top: 0.75rem;
}

/* Booking success */
.booking-success {
  text-align: center;
  padding: 2rem 0;
}

.booking-success .icon-lg { margin: 0 auto 1rem; }

.booking-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.booking-success p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

#submit-btn { margin-top: 1rem; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.15rem 0;
}

.footer-links a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--faint);
}

/* ═══ Responsive ═══ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-toggle { display: block; }

  .hero h1 { font-size: 2rem; }

  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .step-number { position: static; transform: none; margin: 0 auto 0.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .loyalty-banner { grid-template-columns: 1fr; }

  .area-grid { grid-template-columns: 1fr 1fr; }

  .about-stats { flex-direction: column; gap: 1rem; }

  .form-grid { grid-template-columns: 1fr; }
  .package-select { grid-template-columns: 1fr; }
  .addons-select { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}
