/* Garage Hero - mobile-first, one stylesheet */

:root {
  --navy: #0a2a5e;
  --navy-deep: #071d44;
  --red: #f5241f;
  --red-dark: #d3120f;
  --white: #ffffff;
  --cream: #f9e7d1;
  --ink: #14213d;
  --muted: #5b6478;
  --light: #f4f6fb;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(7, 29, 68, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5rem; }

h2 { font-size: 1.9rem; text-align: center; margin-bottom: 0.75rem; }

.section { padding: 3.5rem 1.25rem; max-width: 1080px; margin: 0 auto; }
.section-lead { text-align: center; color: var(--muted); max-width: 34rem; margin: 0 auto 2rem; }
.section-dark { background: var(--navy); color: var(--white); max-width: none; }
.section-dark .section-lead { color: #c9d4ea; }
.section-dark .wrap { max-width: 1080px; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--navy-deep);
  color: var(--white);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--white); margin-right: auto; }
.brand img { border-radius: 10px; width: 44px; height: 44px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.site-nav { display: none; gap: 1.25rem; }
.site-nav a { color: #dbe4f5; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--white); }

/* Hero */
.hero { background: var(--navy); color: var(--white); }
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.hero-logo {
  width: min(62vw, 260px);
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-copy h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.subhead { font-size: 1.25rem; font-weight: 600; color: var(--cream); margin: 0 0 0.75rem; }
.hero-text { color: #dbe4f5; margin: 0 0 0.75rem; }
.price-line { font-size: 1.05rem; margin: 0 0 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* How it works */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); }

/* Pricing */
#pricing h2 { color: var(--white); }
#pricing .section-lead { color: #c9d4ea; }
.cards { display: grid; gap: 1.25rem; margin: 0 0 1.5rem; }
.card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.card-featured { border: 3px solid var(--red); }
.badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin: 0;
  white-space: nowrap;
}
.card h3 { font-size: 1.5rem; text-align: center; }
.tier-desc { text-align: center; color: var(--muted); margin: 0 0 1.25rem; }
.tier-prices { list-style: none; margin: 0; padding: 0; }
.tier-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid #e6eaf2;
}
.tier-prices li:first-child { border-top: none; }
.tier-prices strong { font-size: 1.25rem; color: var(--navy); white-space: nowrap; }
.pricing-note { text-align: center; color: #c9d4ea; max-width: 36rem; margin: 0 auto 1.75rem; font-size: 0.95rem; }
.center { text-align: center; }

/* Services */
.services { display: grid; gap: 1rem; margin-top: 2rem; }
.service {
  border: 2px solid #e6eaf2;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.service h3 { font-size: 1.2rem; color: var(--navy); }
.service p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { max-width: 40rem; margin: 2rem auto 0; display: grid; gap: 0.75rem; }
.faq details {
  border: 2px solid #e6eaf2;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background: var(--white);
}
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); }
.faq details p { margin: 0.75rem 0 0; color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.25rem;
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { font-size: 1.1rem; margin: 0 0 1.5rem; }
.cta-band .hero-ctas { justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9d4ea; padding: 2.5rem 1.25rem 1.5rem; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand img { border-radius: 12px; width: 56px; height: 56px; }
.footer-name { font-weight: 800; color: var(--white); margin: 0; font-size: 1.1rem; }
.footer-tag { margin: 0; font-size: 0.95rem; }
.footer-contact a { color: var(--white); font-weight: 600; display: block; margin-bottom: 0.35rem; }
.footer-contact p { margin: 0.5rem 0 0; font-size: 0.95rem; }
.copyright { text-align: center; font-size: 0.85rem; margin: 0; color: #8fa0c2; }

/* Larger screens */
@media (min-width: 720px) {
  .site-nav { display: flex; }
  .hero-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; padding: 4rem 1.25rem 5rem; }
  .hero-logo { width: 100%; max-width: 300px; margin: 0; }
  .hero-copy h1 { font-size: 3.25rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-contact { text-align: right; }
}

/* Quote calculator + form */
#quote { scroll-margin-top: 5rem; }
.calc-group { border: none; padding: 0; margin: 0 0 2rem; }
.calc-group legend { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; padding: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: 0.9rem; }

.segmented { display: grid; gap: 0.75rem; grid-template-columns: repeat(3, 1fr); }
.seg-card { position: relative; cursor: pointer; }
.seg-card input { position: absolute; opacity: 0; pointer-events: none; }
.seg-card span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border: 2px solid #e6eaf2;
  border-radius: var(--radius);
  padding: 1rem 0.5rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--white);
  text-align: center;
  height: 100%;
  min-height: 4.25rem;
}
.seg-card span small { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.seg-card input:checked + span { border-color: var(--red); background: #fff5f4; box-shadow: var(--shadow); }
.seg-card input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.addon {
  display: flex;
  gap: 0.9rem;
  border: 2px solid #e6eaf2;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  background: var(--white);
}
.addon input { width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--red); }
.addon:has(> input:checked) { border-color: var(--red); background: #fff5f4; box-shadow: var(--shadow); }
.addon:has(> input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.addon-body { display: flex; flex-direction: column; gap: 0.4rem; }
.addon-head { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.addon-price { color: var(--red); margin-left: 0.35rem; white-space: nowrap; }
.addon-desc { color: var(--ink); font-size: 0.95rem; margin: 0; }
.addon-note { color: var(--muted); font-size: 0.9rem; margin: 0; }

.estimate {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  padding: 2rem 1.5rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow);
}
.estimate-label { margin: 0 0 0.25rem; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: #c9d4ea; font-weight: 700; }
.estimate-price { margin: 0 0 0.75rem; font-size: 3rem; font-weight: 800; color: var(--cream); }
.estimate-note { margin: 0; color: #c9d4ea; font-size: 0.95rem; }

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
.field label, .field-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="file"],
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e6eaf2;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field-hint { margin: 0.35rem 0 0; font-size: 0.85rem; color: var(--muted); }

.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.radio-row label { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.radio-row input { width: 1.15rem; height: 1.15rem; accent-color: var(--red); }

.check { margin-bottom: 1.1rem; }
.check label { display: flex; gap: 0.75rem; cursor: pointer; font-size: 0.95rem; color: var(--ink); }
.check input { width: 1.3rem; height: 1.3rem; flex-shrink: 0; margin-top: 0.15rem; accent-color: var(--red); }

.hidden { display: none !important; }
.honeypot { display: none; }
.btn-submit { width: 100%; font-size: 1.1rem; padding: 1rem; cursor: pointer; }
.fine-print { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 1rem 0 0; }

/* Success page */
.success-wrap { text-align: center; max-width: 36rem; }
.success-wrap img { margin: 0 auto 1.5rem; border-radius: 22px; }

@media (min-width: 720px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* --- Redesign pass: hero, clickable cards, dropdown form, contact --- */

.hero { background: radial-gradient(1100px 480px at 85% -10%, rgba(245, 36, 31, 0.28), transparent 60%), var(--navy); }
.hero-copy h1 { font-size: clamp(2.7rem, 9vw, 4.2rem); letter-spacing: -0.015em; }
.hero-copy h1 .accent { color: var(--red); }
.hero-copy .subhead { font-size: 1.3rem; color: var(--white); }
.price-stat { margin: 0 0 1.6rem; }
.price-stat strong { display: block; font-size: 2.1rem; color: var(--red); letter-spacing: -0.01em; }
.price-stat span { color: #c9d4ea; font-size: 1rem; }

#services, #contact { scroll-margin-top: 5rem; }

/* Clickable tier prices */
.tier-prices li { padding: 0; }
.tier-pick {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: none;
  border: none;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
}
.tier-pick:hover { background: #fff5f4; }
.tier-pick strong { font-size: 1.25rem; color: var(--navy); white-space: nowrap; }

/* Add-on cards */
.addons-title { color: var(--white); text-align: center; font-size: 1.4rem; margin: 2.5rem 0 1.25rem; }
.addon-cards { display: grid; gap: 1rem; }
.addon-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  color: var(--white);
  font: inherit;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.addon-card:hover { border-color: var(--red); background: rgba(255, 255, 255, 0.1); }
.addon-card-title { font-weight: 800; font-size: 1.15rem; }
.addon-card-title strong { color: var(--cream); margin-left: 0.35rem; white-space: nowrap; }
.addon-card-desc { color: #dbe4f5; font-size: 0.95rem; }
.addon-card-hint { color: var(--cream); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* Dropdown form */
.form-toggle-wrap { text-align: center; }
.btn-big { font: inherit; font-size: 1.15rem; font-weight: 700; padding: 1rem 2.2rem; cursor: pointer; }
#quote-details { padding-top: 2rem; }
#quote-details[hidden] { display: none; }

/* Contact */
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 2px solid #e6eaf2;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.12s ease;
}
.contact-card:hover { border-color: var(--red); }
.contact-card strong { color: var(--navy); font-size: 1.05rem; }
.contact-card span { color: var(--muted); font-weight: 600; }
.area-line { text-align: center; color: var(--muted); margin-top: 2rem; font-weight: 600; }

@media (min-width: 720px) {
  .addon-cards { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}

/* Product picker */
.picker-lead { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.5rem; }
.picker-group { border: 2px solid #e6eaf2; border-radius: var(--radius); background: var(--white); margin-bottom: 0.75rem; }
.picker-group:last-of-type { margin-bottom: 0; }
.picker-summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.picker-summary::-webkit-details-marker { display: none; }
.picker-summary::after { content: "+"; flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 1.2rem; line-height: 1.75rem; text-align: center; }
.picker-group[open] .picker-summary::after { content: "\2212"; background: var(--red); }
.picker-group .product-list { padding: 0 1rem 1rem; }
.product-img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: #f1f4f9; }
.product-list { display: grid; gap: 0.75rem; }
.product {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 2px solid #e6eaf2;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: var(--white);
}
.product-info { flex: 1; min-width: 0; }
.product-name { font-weight: 800; color: var(--navy); margin: 0 0 0.2rem; }
.product-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.25rem; }
.product-price { margin: 0 0 0.35rem; }
.product-price strong { color: var(--red); font-size: 1.15rem; margin-right: 0.4rem; }
.product-price span { color: var(--muted); font-size: 0.85rem; }
.product-link { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  flex-shrink: 0;
  cursor: pointer;
}
.qty input {
  width: 3.75rem;
  padding: 0.5rem 0.25rem;
  text-align: center;
  border: 2px solid #e6eaf2;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: inherit;
  color: var(--ink);
}
.qty input:focus { outline: none; border-color: var(--navy); }
/* Quantity steppers: custom - / + buttons (native spinners hidden) */
.qty .stepper { display: flex; align-items: stretch; gap: 0.3rem; }
.stepper-btn {
  width: 2.6rem;
  border: 2px solid #e6eaf2;
  border-radius: 10px;
  background: var(--light);
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  padding: 0;
}
.stepper-btn:active { background: #dfe6f3; transform: scale(0.95); }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.products-line { margin: 0.75rem 0 0; color: #c9d4ea; font-size: 0.95rem; font-weight: 600; }

@media (min-width: 720px) {
  .product-list { grid-template-columns: 1fr 1fr; }
  .product-list .product:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.picker-title { display: inline-flex; align-items: center; gap: 0.6rem; }
.picker-icon { display: inline-flex; width: 1.5rem; height: 1.5rem; flex-shrink: 0; color: var(--red); }
.picker-icon svg { width: 100%; height: 100%; }
