:root {
  --ink: #14313b;
  --ink-2: #244853;
  --water: #35b6dd;
  --foam: #f4fbf8;
  --paper: #fffdf3;
  --lime: #cde33b;
  --line: rgba(20, 49, 59, 0.16);
  --shadow: 0 22px 60px rgba(20, 49, 59, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--lime);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem clamp(1rem, 3vw, 3rem);
  background: rgba(244, 251, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 174px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--ink);
  color: white;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: inset 0 -5px 0 rgba(53, 182, 221, 0.55);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--ink-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
}

.footer-logo {
  width: 190px;
  height: auto;
  margin-bottom: 0.55rem;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2.4vw, 2rem);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.header-cta {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 900;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(480px, 1.1fr);
  gap: 3.5rem;
  align-items: center;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  padding: 3.5rem clamp(1rem, 5vw, 5rem) 4.5rem;
  background: var(--foam);
}

.hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  background: linear-gradient(180deg, rgba(53, 182, 221, 0.18), rgba(205, 227, 59, 0.16));
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: #0a718b;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: 4.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 1.1rem;
  font-size: 5.45rem;
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  color: var(--ink);
}

.hero h1 span:last-child {
  width: fit-content;
  margin-top: 0.18rem;
  padding: 0.08em 0.15em 0.16em;
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-1.2deg);
}

h2 {
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.1;
}

.hero-lede {
  max-width: 610px;
  color: var(--ink-2);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.35rem 0 1.1rem;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--lime);
  color: var(--ink);
}

.button.secondary {
  background: white;
  color: var(--ink);
}

.spray-link::after {
  content: "";
  position: absolute;
  inset: -22px auto auto -50px;
  width: 42px;
  height: 110px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(53, 182, 221, 0.65) 0 2px, transparent 3px);
  background-size: 11px 13px, 17px 19px;
  transform: rotate(24deg);
  opacity: 0;
  transition: transform 420ms ease, opacity 220ms ease;
}

.spray-link:hover::after,
.spray-link:focus-visible::after {
  opacity: 1;
  transform: translateX(220px) rotate(24deg);
}

.route-pill {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.5rem 0.7rem;
  background: var(--ink);
  color: white;
  border-left: 8px solid var(--water);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  transform: rotate(-0.9deg);
}

.sms-card {
  width: min(100%, 500px);
  margin-top: 1rem;
  padding: 0.85rem;
  background: white;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 rgba(53, 182, 221, 0.55);
}

.sms-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 0.45rem;
  color: #0a718b;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sms-top strong {
  color: var(--ink);
}

.sms-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.96rem;
}

.sms-card > strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.6rem;
  line-height: 1;
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 620px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.45rem 0.65rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 0.88rem;
}

.hero-proof strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  z-index: 2;
  padding: 0.7rem;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  transform: rotate(0.7deg);
}

.hero-visual::before {
  content: "PHOTO QUOTE PROOF";
  position: absolute;
  left: 1rem;
  top: -0.95rem;
  z-index: 3;
  padding: 0.4rem 0.6rem;
  background: var(--lime);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 950;
  transform: rotate(-2.5deg);
}

.job-meta,
.photo-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.25rem 0.75rem;
  font-size: 0.9rem;
}

.job-meta strong {
  color: var(--lime);
}

.before-after {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.34;
  background: #d9e5e3;
  border-radius: 4px;
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-layer {
  position: absolute;
  inset: 0;
  width: 52%;
  overflow: hidden;
}

.before-layer img {
  width: calc(100% / 0.52);
  max-width: none;
}

.slider-line {
  position: absolute;
  inset: 0 auto 0 52%;
  width: 4px;
  transform: translateX(-2px);
  background: white;
}

.slider-line span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--water);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.slider-line span::before {
  content: "< >";
  color: white;
  font-size: 0.85rem;
  font-weight: 950;
}

.slider-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.photo-caption {
  padding: 0.75rem 0.25rem 0.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.field-note {
  position: relative;
  z-index: 2;
  grid-column: 2 / 3;
  max-width: 15rem;
  padding: 1rem;
  background: var(--water);
  color: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--lime);
  transform: rotate(-2.5deg);
}

.field-note span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.field-note strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.05;
}

.quick-quote {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1rem;
  align-items: stretch;
  padding: 2rem clamp(1rem, 5vw, 5rem) 4rem;
}

.quote-ribbon {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 251, 248, 0.86)),
    url("assets/driveway-after-photo.png") center / cover no-repeat;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 rgba(53, 182, 221, 0.55);
}

.quote-ribbon span {
  width: fit-content;
  background: var(--ink);
  color: white;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quote-ribbon strong {
  max-width: 520px;
  color: var(--ink);
  font-size: 4.2rem;
  line-height: 0.95;
}

.quote-ribbon p {
  max-width: 360px;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.12;
}

.quote-ribbon small {
  max-width: 320px;
  color: var(--ink-2);
  font-weight: 800;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(20, 49, 59, 0.08);
}

.quote-form > div {
  grid-column: 1 / -1;
}

.quote-form h2 {
  margin-bottom: 0.75rem;
}

.quote-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 850;
}

.quote-form label:nth-of-type(3) {
  grid-column: 1 / -1;
}

.quote-form input {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem;
  border: 2px solid rgba(20, 49, 59, 0.18);
  border-radius: var(--radius);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quote-form input:focus {
  border-color: var(--water);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(53, 182, 221, 0.18);
  transform: translateY(-2px);
}

.quote-form button {
  min-height: 50px;
  font: inherit;
}

.microcopy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.85rem;
}

.proof-strip,
.reviews,
.problems,
.surfaces,
.service-area,
.pricing {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-kicker h2 {
  margin-bottom: 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  background: var(--paper);
}

.proof-strip .section-kicker {
  grid-column: 1 / -1;
}

.proof-item {
  display: grid;
  gap: 1rem;
  align-content: start;
  align-self: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-item.wide {
  grid-row: auto;
}

.proof-item img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.proof-item div {
  padding: 0 1.1rem 1.2rem;
}

.tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
  background: var(--lime);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.reviews {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--ink);
  color: white;
}

.reviews .eyebrow,
.reviews-lead p {
  color: #bdeefd;
}

.review-grid {
  display: grid;
  gap: 1rem;
}

.review-grid figure {
  margin: 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.review-grid blockquote {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.review-grid figcaption {
  color: var(--lime);
  font-weight: 850;
}

.problems {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  gap: 2rem;
  align-items: start;
}

.problem-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 74px;
  padding: 0.9rem 1rem;
  background: white;
  border-left: 6px solid var(--water);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 8px 22px rgba(20, 49, 59, 0.06);
  font-weight: 850;
}

.problem-list span {
  color: var(--water);
  font-size: 1.6rem;
  font-weight: 950;
}

.surface-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ticket {
  position: relative;
  min-height: 280px;
  padding: 1.25rem;
  background: white;
  border: 2px solid var(--ink);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.ticket::before {
  content: "";
  position: absolute;
  inset: 56px 0 auto;
  border-top: 2px dashed rgba(20, 49, 59, 0.32);
}

.ticket-code {
  display: inline-flex;
  margin-bottom: 2.2rem;
  background: var(--ink);
  color: white;
  padding: 0.3rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 950;
}

.ticket strong {
  display: block;
  margin-top: 1.2rem;
  color: #0a718b;
}

.service-area {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--paper);
}

.service-area img,
.real-map {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.real-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: white;
}

.real-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: saturate(0.85) contrast(1.04);
}

.map-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: min(440px, calc(100% - 2rem));
  padding: 0.8rem 0.95rem;
  background: rgba(20, 49, 59, 0.94);
  color: white;
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(20, 49, 59, 0.25);
}

.map-badge span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.map-badge strong {
  display: block;
  line-height: 1.15;
}

.map-copy {
  max-width: 620px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  min-height: 230px;
  padding: 1.25rem;
  background: white;
  border-top: 8px solid var(--water);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(20, 49, 59, 0.06);
}

.timeline span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  place-items: center;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 950;
}

.sticky-quote {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.85rem 1rem;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(20, 49, 59, 0.25);
  font-weight: 950;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem) 6rem;
  background: var(--ink);
  color: white;
}

.site-footer p {
  margin: 0.3rem 0 0;
  color: #bdeefd;
}

.site-footer a {
  color: var(--lime);
  font-weight: 950;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .quick-quote,
  .reviews,
  .problems,
  .service-area {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background: var(--foam);
  }

  .hero::after {
    display: none;
  }

  .hero-stage {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-proof div {
    transform: none;
  }

  .field-note {
    grid-column: auto;
    max-width: none;
    transform: none;
  }

  .quote-form,
  .proof-strip,
  .section-kicker,
  .timeline {
    grid-template-columns: 1fr;
  }

  .ticket-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 4.6rem;
  }

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

  h2 {
    font-size: 2.8rem;
  }

  .quote-ribbon strong {
    font-size: 2.6rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
  }

  .header-cta {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    width: 142px;
  }

  h1 {
    font-size: 3.35rem;
  }

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

  .hero {
    padding: 2rem 1rem 3.5rem;
  }

  .hero h1 span:last-child {
    width: auto;
  }

  .route-pill,
  .sms-top {
    display: block;
  }

  .sms-top strong {
    display: block;
    margin-top: 0.25rem;
  }

  .sms-bubble {
    max-width: 100%;
  }

  h2 {
    font-size: 2.25rem;
  }

  .quote-ribbon strong {
    font-size: 2.2rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-proof,
  .ticket-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual::before {
    left: 0.5rem;
    top: -0.8rem;
    transform: rotate(-3deg);
  }

  .job-meta,
  .photo-caption,
  .site-footer {
    flex-direction: column;
  }

  .problem-list li {
    grid-template-columns: 42px 1fr;
  }

  .sticky-quote {
    left: 1rem;
    right: 1rem;
  }
}

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