/* Renewal Body Works — redesign prototype
   Tiny Byte Studio */

:root {
  --red: #d81f26;
  --red-dark: #a5141a;
  --ink: #16181d;
  --graphite: #23262e;
  --steel: #545b66;
  --line: #e3e6ea;
  --tint: #f4f6f8;
  --white: #fff;
  --gold: #f5a623;
  --radius: 14px;
  --wrap: 1160px;
  --shadow: 0 10px 30px rgba(22, 24, 29, .08);
  --shadow-lg: 0 24px 60px rgba(22, 24, 29, .16);
  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: 'Barlow Condensed', 'Inter', sans-serif;
  line-height: 1.05;
  margin: 0 0 .4em;
  letter-spacing: .01em;
  text-transform: uppercase;
}

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: repeating-linear-gradient(45deg, #16181d, #16181d 14px, #1f2229 14px, #1f2229 28px);
  color: #fff;
  font-size: 13.5px;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .01em;
}
.proto-banner strong { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 17px;
  padding: 11px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(216, 31, 38, .28); }
.btn--primary:hover { background: var(--red-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(--ink); }
.btn--lg { font-size: 19px; padding: 14px 30px; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 14px;
  color: var(--red);
  margin-bottom: .6em;
}
.eyebrow--center { display: block; }
.eyebrow--light { color: #ffb3b6; }

/* 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: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { color: var(--red); display: flex; }
.brand__text { display: flex; flex-direction: column; line-height: .92; }
.brand__name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .04em; }
.brand__sub { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .22em; color: var(--steel); }

.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a {
  font-weight: 600; font-size: 15px; color: var(--graphite);
  padding: 6px 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.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(--red); }

.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(1000px 500px at 80% -10%, rgba(216,31,38,.10), transparent 60%),
    linear-gradient(180deg, #1a1d24 0%, #23262e 100%);
  color: #fff;
  padding: 76px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 44px; opacity: .6; pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; position: relative; }
.hero__copy .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 800; color: #fff; }
.hero h1 .hl { color: var(--red); }
.hero .lede { font-size: 19px; color: #cfd3da; max-width: 33ch; }
.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: #aeb4bd; font-size: 14.5px; font-weight: 500; }

/* Estimate card */
.estimate-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.estimate-card h2 { font-size: 30px; margin-bottom: .1em; }
.estimate-card__sub { color: var(--steel); 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(--graphite); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 8px;
  padding: 11px 13px; font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease; background: #fbfcfd;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(216,31,38,.14); background: #fff;
}
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.estimate-card__fine { font-size: 12.5px; color: var(--steel); text-align: center; margin: 12px 0 0; }
.estimate-done { text-align: center; padding: 26px 8px; }
.estimate-done__check {
  width: 60px; height: 60px; border-radius: 50%; background: #e8f6ec; color: #1a9e4b;
  font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.estimate-done h3 { font-size: 26px; }
.estimate-done p { color: var(--steel); font-size: 15px; }
.estimate-done a { color: var(--red); 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: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 40px; color: var(--red); line-height: 1; }
.stat__label { font-size: 13.5px; color: #b9bec6; letter-spacing: .03em; }

/* Sections */
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 800; }
.section__intro { color: var(--steel); font-size: 17.5px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; 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__icon {
  width: 52px; height: 52px; border-radius: 12px; background: #fdecec; color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.svc h3 { font-size: 22px; }
.svc p { color: var(--steel); font-size: 14.5px; margin: 0; }

/* Story */
.story { padding: 84px 0; }
.story__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.story__photo {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(700px 300px at 30% 10%, rgba(216,31,38,.25), transparent 60%),
    linear-gradient(160deg, #2b2f38, #16181d);
  position: relative; box-shadow: var(--shadow-lg);
}
.story__photo-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.story__photo-note { color: rgba(255,255,255,.35); font-family: 'Barlow Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; font-size: 14px; }
.story__badge {
  position: absolute; top: 18px; left: 18px; background: var(--red); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px;
  padding: 6px 14px; border-radius: 8px; letter-spacing: .05em;
}
.story__copy h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; }
.story__copy p { color: var(--steel); font-size: 16.5px; }
.story__copy strong { color: var(--ink); }
.story__list { list-style: none; margin: 22px 0 0; padding: 0; }
.story__list li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--steel); font-size: 15.5px; }
.story__list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; color: #fff; background: var(--red);
  width: 21px; height: 21px; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.story__list strong { color: var(--ink); }

/* Insurance */
.insurance { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; padding: 74px 0; }
.insurance__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.insurance h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: #fff; }
.insurance p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 42ch; }
.insurance__logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.insurance__logos span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px; padding: 16px 8px; text-align: center; font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: .03em; font-size: 16px;
}

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.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: 50%; background: var(--ink); color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; margin-bottom: 16px;
}
.step h3 { font-size: 22px; }
.step p { color: var(--steel); font-size: 14.5px; margin: 0; }

/* Reviews */
.stars { color: var(--gold); 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(--red); }
.review blockquote { margin: 0 0 16px; font-size: 17px; color: var(--graphite); line-height: 1.5; }
.review figcaption { font-weight: 600; color: var(--steel); font-size: 14px; }
.reviews__note { text-align: center; color: var(--steel); font-size: 13px; margin-top: 26px; font-style: italic; }

/* CTA */
.cta { background: var(--ink); color: #fff; padding: 78px 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(34px, 4.4vw, 52px); font-weight: 800; color: #fff; }
.cta__copy p { color: #b9bec6; font-size: 17px; }
.cta__info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-block h3 { font-size: 18px; color: var(--red); }
.info-block p { color: #d7dade; font-size: 15.5px; 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: #aeb4bd; font-size: 14.5px; text-align: center;
}
.map__pin { font-size: 24px; }

/* Footer */
.site-footer { background: #0f1115; color: #aeb4bd; 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: 22px; letter-spacing: .04em; }
.footer__brand p { margin-top: 10px; font-size: 14.5px; max-width: 34ch; }
.footer__col h4 { color: #fff; font-size: 16px; letter-spacing: .06em; margin-bottom: 14px; }
.footer__col a, .footer__col span { display: block; color: #aeb4bd; font-size: 14.5px; margin-bottom: 9px; }
.footer__col a:hover { color: var(--red); }
.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: var(--gold); }
.footer__proto a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.footer__proto a:hover { color: #ffc75a; }

/* Responsive */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .story__grid, .insurance__inner, .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: 74px; 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); }
  .insurance__logos { grid-template-columns: repeat(2, 1fr); }
  .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, .story, .insurance, .cta { padding: 60px 0; }
}
