/* Old Town Auto Glass — redesign prototype
   Tiny Byte Studio */

:root {
  --blue: #1a73c4;
  --blue-dark: #0c4a8a;
  --teal: #12b5b0;
  --ink: #10233b;
  --slate: #52627a;
  --line: #e2e8f0;
  --tint: #f1f6fb;
  --white: #fff;
  --amber: #f5a623;
  --radius: 16px;
  --wrap: 1160px;
  --shadow: 0 12px 34px rgba(16, 35, 59, .09);
  --shadow-lg: 0 26px 64px rgba(16, 35, 59, .18);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  line-height: 1.08;
  margin: 0 0 .45em;
  letter-spacing: -.02em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Prototype banner */
.proto-banner {
  background: linear-gradient(90deg, #0c4a8a, #12b5b0);
  color: #fff;
  font-size: 13.5px;
  text-align: center;
  padding: 9px 16px;
}
.proto-banner strong { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(26, 115, 196, .32); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--white { background: #fff; color: var(--blue-dark); }
.btn--lg { font-size: 17px; padding: 15px 30px; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: var(--blue);
  margin-bottom: .7em;
}
.eyebrow--center { display: block; }
.eyebrow--light { color: #9fe8e6; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { color: var(--blue); display: flex; }
.brand__text { display: flex; flex-direction: column; line-height: .96; }
.brand__name { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand__sub { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .2em; color: var(--teal); }

.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a {
  font-weight: 600; font-size: 15px; color: var(--slate);
  padding: 6px 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.phone-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); font-size: 15.5px; }
.phone-link svg { color: var(--blue); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(18,181,176,.22), transparent 60%),
    linear-gradient(165deg, #0c4a8a 0%, #103a68 55%, #10233b 100%);
  color: #fff;
  padding: 78px 0 92px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: center; position: relative; }
.hero__copy .eyebrow { color: #9fe8e6; }
.hero h1 { font-size: clamp(42px, 5.6vw, 68px); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.hero h1 .hl { color: var(--teal); }
.hero .lede { font-size: 18.5px; color: #cbd8e6; max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #9fb3cc; font-size: 14.5px; font-weight: 500; }
.hero__badges li:first-child { color: var(--amber); }

/* Quote card */
.quote-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.quote-card h2 { font-size: 28px; margin-bottom: .1em; }
.quote-card__sub { color: var(--slate); font-size: 14.5px; margin-bottom: 18px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.field input, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 13px; font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease; background: #fbfdff;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,115,196,.15); background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-card__fine { font-size: 12.5px; color: var(--slate); text-align: center; margin: 12px 0 0; }
.quote-done { text-align: center; padding: 26px 8px; }
.quote-done__check {
  width: 60px; height: 60px; border-radius: 50%; background: #e6f7f6; color: var(--teal);
  font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.quote-done h3 { font-size: 24px; }
.quote-done p { color: var(--slate); font-size: 15px; }
.quote-done a { color: var(--blue); font-weight: 600; }

/* Trust bar */
.trustbar { background: var(--ink); color: #fff; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 26px 12px; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 34px; color: var(--teal); line-height: 1.1; }
.stat__label { font-size: 13.5px; color: #a9bace; letter-spacing: .02em; }

/* Sections */
.section { padding: 86px 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 800; }
.section__intro { color: var(--slate); font-size: 17.5px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc--feature { border-color: transparent; background: linear-gradient(165deg, #eafaf9, #f1f6fb); box-shadow: inset 0 0 0 2px rgba(18,181,176,.3); }
.svc__icon {
  width: 54px; height: 54px; border-radius: 14px; background: #e7f1fb; color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.svc--feature .svc__icon { background: #d7f4f2; color: var(--teal); }
.svc h3 { font-size: 21px; }
.svc p { color: var(--slate); font-size: 14.5px; margin: 0; }

/* Recalibration */
.recal { background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%); color: #fff; padding: 78px 0; }
.recal__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.recal h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: #fff; }
.recal p { color: rgba(255,255,255,.92); font-size: 16.5px; max-width: 46ch; }
.recal strong { color: #fff; }
.recal__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.recal__list li {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px; padding: 18px 20px; font-weight: 600; font-size: 16px;
  display: flex; align-items: center; gap: 14px;
}
.recal__list span { font-size: 22px; }

/* About */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about__photo {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(600px 280px at 70% 10%, rgba(18,181,176,.3), transparent 60%),
    linear-gradient(160deg, #103a68, #10233b);
  position: relative; box-shadow: var(--shadow-lg);
}
.about__photo-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.about__photo-note { color: rgba(255,255,255,.35); font-family: 'Manrope', sans-serif; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; }
.about__badge {
  position: absolute; top: 18px; left: 18px; background: var(--teal); color: #fff;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 14px;
  padding: 7px 14px; border-radius: 8px; letter-spacing: .04em; text-transform: uppercase;
}
.about__copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.about__copy p { color: var(--slate); font-size: 16.5px; }
.about__copy strong { color: var(--ink); }
.about__list { list-style: none; margin: 22px 0 0; padding: 0; }
.about__list li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--slate); font-size: 15.5px; }
.about__list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; color: #fff; background: var(--blue);
  width: 21px; height: 21px; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.about__list strong { color: var(--ink); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: #fff; border-radius: var(--radius); padding: 30px 24px; position: relative; box-shadow: var(--shadow); }
.step__num {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: #fff;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px; margin-bottom: 16px;
}
.step h3 { font-size: 20px; }
.step p { color: var(--slate); font-size: 14.5px; margin: 0; }

/* Reviews */
.stars { color: var(--amber); font-size: 26px; letter-spacing: 3px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: var(--tint); border-radius: var(--radius); padding: 30px 26px; border-top: 4px solid var(--teal); }
.review blockquote { margin: 0 0 16px; font-size: 16.5px; color: var(--ink); line-height: 1.5; }
.review figcaption { font-weight: 600; color: var(--slate); font-size: 14px; }
.reviews__note { text-align: center; color: var(--slate); font-size: 13px; margin-top: 26px; font-style: italic; }

/* CTA */
.cta { background: var(--ink); color: #fff; padding: 80px 0; }
.cta__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; margin-bottom: 40px; }
.cta__copy h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; color: #fff; }
.cta__copy p { color: #a9bace; font-size: 17px; }
.cta__info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-block h3 { font-size: 16px; color: var(--teal); }
.info-block p { color: #cdd8e5; font-size: 15px; margin: 0; }
.info-block a { color: #fff; font-weight: 600; }
.map {
  border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.25);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 12px, transparent 12px, transparent 24px);
  padding: 34px; display: flex; align-items: center; justify-content: center; gap: 12px;
  color: #a9bace; font-size: 14.5px; text-align: center;
}
.map__pin { font-size: 24px; }

/* Footer */
.site-footer { background: #0a1a2e; color: #a9bace; padding: 56px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
.footer__brand .brand__name { color: #fff; font-size: 20px; letter-spacing: -.01em; }
.footer__brand p { margin-top: 10px; font-size: 14.5px; max-width: 34ch; }
.footer__col h4 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 14px; }
.footer__col a, .footer__col span { display: block; color: #a9bace; font-size: 14.5px; margin-bottom: 9px; }
.footer__col a:hover { color: var(--teal); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.09); margin-top: 40px; padding-top: 22px; font-size: 13px;
}
.footer__proto { color: #9fe8e6; }
.footer__proto a { color: #9fe8e6; text-decoration: underline; text-underline-offset: 2px; }
.footer__proto a:hover { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__grid, .recal__grid, .cta__grid { grid-template-columns: 1fr; gap: 34px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .trustbar__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .cta__info { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 64px; }
  .section, .recal, .cta { padding: 60px 0; }
}
