:root {
  --green: #005030;
  --green-deep: #003824;
  --green-mid: #0b6a42;
  --green-soft: #e7f2eb;
  --green-mist: #f3f7f4;
  --ink: #202020;
  --ink-soft: #3f4743;
  --muted: #5e6863;
  --line: #d7e2db;
  --paper: #f6f3ec;
  --paper-2: #ece7dc;
  --white: #fffdf8;
  --shadow: 0 24px 50px rgba(0, 48, 30, 0.1);
  --radius: 1.35rem;
  --header-h: auto;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin: 0.35rem 0 1rem;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  margin: 0.3rem 0 0.85rem;
}

h3 {
  font-size: 1.28rem;
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--green);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

::selection {
  background: var(--green);
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #f7fff9;
  box-shadow: 0 10px 24px rgba(0, 80, 48, 0.22);
}

.btn-primary:hover {
  background: var(--green-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: #c8d5cd;
}

.btn-nav {
  min-height: 3.05rem;
  padding: 0.7rem 1.25rem;
  font-size: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(246, 243, 236, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 253, 248, 0.92);
}

.nav-bar {
  max-width: 1360px;
  margin: 0 auto;
  min-height: 0;
  padding: 0.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  max-width: none;
  height: auto;
  display: block;
}

.site-header .brand img {
  height: 108px;
  max-width: min(94vw, 520px);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.22rem;
  color: var(--green);
}

.site-header .brand-name {
  font-size: 1.45rem;
  letter-spacing: 0.1em;
}

.brand-sub {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #3a3a3a;
  font-weight: 600;
}

.nav-desktop {
  margin-left: auto;
  display: none;
  gap: 1.6rem;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-desktop a:hover {
  color: var(--green);
}

.nav-toggle {
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  display: block;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.2rem 1.4rem 0.9rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile:not([hidden]) {
  display: flex;
}

.nav-mobile a {
  text-decoration: none;
  padding: 0.55rem 0.15rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.nav-mobile .btn {
  margin-top: 0.35rem;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }

  .btn-nav {
    display: inline-flex;
  }

  .brand img {
    height: 78px;
    width: auto;
    max-width: 280px;
  }

  .site-header .brand img {
    height: 156px;
    max-width: 680px;
  }

  .nav-bar {
    padding: 0.15rem 1.15rem 0.15rem 0.85rem;
    gap: 1.4rem;
  }

  .nav-desktop {
    gap: 1.55rem;
  }
}

@media (max-width: 899px) {
  .btn-nav {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 1.4rem 2rem;
}

.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -12vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(0, 80, 48, 0.12), transparent 68%);
  pointer-events: none;
}

.hero-compass {
  position: absolute;
  width: min(420px, 70vw);
  right: -40px;
  top: 40px;
  color: var(--green);
  opacity: 0.06;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1.3rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-meta a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.hero-meta a:hover {
  text-decoration: underline;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.55;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  background: var(--green-soft);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  position: relative;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  filter: saturate(0.82) contrast(1.04) brightness(1.03);
}

.slideshow .slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.slideshow .slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slideshow .slide figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(32, 32, 32, 0.12);
}

.slideshow .slide figcaption span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--green);
}

.slideshow-ui {
  position: absolute;
  right: 0.7rem;
  bottom: 0.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.slide-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--green-deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(32, 32, 32, 0.1);
}

.slide-btn:hover,
.slide-dot:hover {
  background: var(--white);
  color: var(--green);
}

.slide-dots {
  display: flex;
  gap: 0.28rem;
  padding: 0 0.15rem;
}

.slide-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.55);
  cursor: pointer;
}

.slide-dot[aria-selected="true"] {
  background: var(--green);
  width: 1.05rem;
}

.hero-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(12px);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 30px rgba(32, 32, 32, 0.1);
}

.hero-card-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.hero-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .hero {
    padding: 1.4rem 1.4rem 2.4rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
  }

  .hero-frame {
    aspect-ratio: 4 / 3;
  }

  .hero-card {
    left: -2.2rem;
    right: auto;
    bottom: 1.8rem;
    width: 250px;
  }
}

/* Insurer marquee */
.insurer-marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.insurer-marquee::before,
.insurer-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4.5rem;
  z-index: 1;
  pointer-events: none;
}

.insurer-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.insurer-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: insurer-marquee 48s linear infinite;
}

.insurer-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  padding: 0.95rem 2.8rem;
}

.marquee-group img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  flex-shrink: 0;
}

.marquee-group img.logo-emblem {
  height: 38px;
  max-width: 62px;
}

.marquee-group img.logo-badge {
  height: 32px;
  max-width: 92px;
  border-radius: 0.28rem;
}

@keyframes insurer-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.2rem 1.4rem;
  scroll-margin-top: 11rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.section-head p {
  color: var(--ink-soft);
}

.service-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid #eadfce;
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  box-shadow: 0 10px 24px rgba(80, 60, 20, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.card-photo {
  margin: -1.35rem -1.3rem 1.15rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.icon-wrap {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.icon-wrap svg {
  width: 1.35rem;
  height: 1.35rem;
}

@media (min-width: 720px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card-wide {
    grid-column: span 1;
  }
}

@media (min-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-card-wide {
    grid-column: span 2;
    padding: 0 1.6rem 1.8rem;
  }

  .service-card-wide .card-photo {
    margin: 0 -1.6rem 1.3rem;
  }

  .service-card-wide h3 {
    font-size: 1.55rem;
  }
}

/* About */
.about {
  padding-top: 2rem;
}

.about-grid {
  display: grid;
  gap: 2.4rem;
}

.about-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.85rem;
  align-items: end;
}

.photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.photo-main {
  aspect-ratio: 4 / 5;
}

.photo-accent {
  aspect-ratio: 3 / 4;
  margin-bottom: 1.6rem;
}

.about-copy p {
  color: var(--ink-soft);
}

blockquote {
  margin: 1.4rem 0 0;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--green);
  background: var(--green-mist);
  border-radius: 0 1rem 1rem 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--green-deep);
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
  }
}

/* Process */
.process {
  background: var(--white);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  border-block: 1px solid var(--line);
}

.process .section-head,
.process .steps {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding-bottom: 0.4rem;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

.steps li {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0 0 1.25rem;
  overflow: hidden;
}

.step-photo {
  aspect-ratio: 16 / 11;
  margin-bottom: 1rem;
  overflow: hidden;
}

.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.steps .step-num,
.steps h3,
.steps p {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.step-num {
  display: block;
  font-family: var(--display);
  color: var(--green);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.steps p {
  color: var(--muted);
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
  }
}

/* Reasons */
.reason-grid {
  display: grid;
  gap: 1rem;
}

.reason-grid article {
  padding: 1.5rem 1.35rem;
  background: var(--green-mist);
  border-radius: var(--radius);
}

.reason-grid p {
  color: var(--ink-soft);
}

@media (min-width: 800px) {
  .reason-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Visit */
.visit {
  padding-bottom: 2.5rem;
}

.visit-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.visit-info p {
  color: var(--ink-soft);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-list span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.2rem;
}

.contact-list a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--green);
}

.soon {
  color: var(--muted);
  font-style: italic;
}

.map-wrap {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.estimate {
  scroll-margin-top: 11rem;
  display: grid;
  gap: 1.6rem;
  background: var(--white);
  border: 1px solid #eadfce;
  border-radius: calc(var(--radius) + 0.3rem);
  padding: 1.5rem 1.2rem 1.6rem;
  box-shadow: 0 16px 40px rgba(80, 60, 20, 0.05);
}

.estimate-copy p {
  color: var(--ink-soft);
}

.estimate-copy a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.estimate-copy a:hover {
  text-decoration: underline;
}

.estimate-form {
  display: grid;
  gap: 0.9rem;
}

.estimate-form label {
  display: grid;
  gap: 0.38rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.85rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  outline: none;
}

.estimate-form select {
  font: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23005030' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 80, 48, 0.12);
  background: #fff;
}

.estimate-form .btn {
  justify-self: start;
  margin-top: 0.3rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note,
.form-status {
  font-size: 0.82rem;
  color: var(--muted);
}

.form-status {
  color: var(--green-deep);
  font-weight: 600;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .estimate {
    padding: 2rem;
  }
}

@media (min-width: 960px) {
  .visit-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 100%;
  }

  .estimate {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
    padding: 2.3rem 2.2rem;
  }
}

/* Footer */
.site-footer {
  background: var(--green-mist);
  color: var(--ink-soft);
  padding: 2.5rem 1.4rem 1.6rem;
  border-top: 1px solid var(--line);
}

.site-footer .brand img {
  height: 72px;
  width: auto;
  max-width: 260px;
}

.footer-top {
  max-width: 1180px;
  margin: 0 auto 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-top p {
  max-width: 22rem;
  color: var(--muted);
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
}

.footer-nav a:hover,
.nav-desktop a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  color: var(--green);
}

.text-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--green);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.insurance-teaser {
  padding-top: 0;
}

.teaser-card {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  background: var(--green);
  color: #f3faf6;
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
}

.teaser-card h2,
.teaser-card p,
.teaser-card .eyebrow {
  color: #f3faf6;
}

.teaser-card .eyebrow {
  opacity: 0.8;
}

.teaser-card p {
  color: #d7ebe0;
  max-width: 36rem;
}

.teaser-card .btn-primary {
  background: var(--white);
  color: var(--green);
  box-shadow: none;
  justify-self: start;
}

.teaser-card .btn-primary:hover {
  background: #fff;
}

.page-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.6rem 1.4rem 1rem;
  scroll-margin-top: 11rem;
}

.page-hero-split {
  max-width: 1180px;
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.page-hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.page-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid #eadfce;
  background: var(--white);
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(80, 60, 20, 0.04);
}

.page-links a:hover {
  border-color: var(--green);
  color: var(--green);
}

.compact-grid .service-card {
  padding: 1.15rem 1.15rem 1.2rem;
}

.compact-grid .service-card h3 {
  margin-bottom: 0.35rem;
}

.photo-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.4rem 1rem;
  display: grid;
  gap: 0.85rem;
}

.photo-band figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.photo-band figcaption {
  padding: 0.7rem 0.95rem 0.85rem;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.reason-photo {
  margin-bottom: 1.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
}

.reason-photo img,
.inset-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}

.inset-photo {
  margin: 1.2rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.brand-pills {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.brand-pills li {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--green-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.brand-pills a {
  color: inherit;
  text-decoration: none;
}

.brand-pills a:hover {
  color: var(--green);
}

.brand-compare {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 1rem;
}

.brand-compare article {
  background: var(--white);
  border: 1px solid #eadfce;
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.45rem;
  scroll-margin-top: 11rem;
}

.brand-compare h3 {
  margin: 0.15rem 0 0.7rem;
}

.brand-compare p {
  color: var(--ink-soft);
}

.brand-compare p + p {
  margin-top: 0.7rem;
}

.material-blocks {
  display: grid;
  gap: 2.4rem;
  padding-top: 1rem;
}

.material-block {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.material-block p {
  color: var(--ink-soft);
}

.fleet-logos {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.fleet-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 7.2rem;
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid #eadfce;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(80, 60, 20, 0.04);
}

.fleet-logo-card img {
  max-height: 3.1rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.fleet-logo-upcar {
  max-height: 3.4rem;
  width: 3.4rem;
}

.fleet-logo-card span {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #027bff;
}

@media (min-width: 800px) {
  .fleet-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

.program-panel .inset-photo {
  margin: 0 0 1.3rem;
}

.page-hero .lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.deductible {
  padding-top: 2.5rem;
}

.program-panel {
  display: grid;
  gap: 1.4rem;
}

.program-panel > div p {
  color: var(--ink-soft);
}

.program-card {
  background: var(--white);
  border: 1px solid #eadfce;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: 0 10px 24px rgba(80, 60, 20, 0.04);
}

.program-card ul {
  margin: 0 0 1.2rem;
  padding: 0 0 0 1.1rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list article {
  background: var(--white);
  border: 1px solid #eadfce;
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.35rem;
}

.faq-list p {
  color: var(--muted);
}

.fine-print {
  margin-top: 1.6rem;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 46rem;
}

.rates-note {
  padding-top: 0;
  padding-bottom: 0;
}

.agreement-card {
  background: var(--green-mist);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  border-left: 4px solid var(--green);
}

.agreement-card h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.agreement-card p {
  color: var(--ink-soft);
  max-width: 42rem;
}

.agreement-card + .reason-grid {
  margin-top: 1.4rem;
}

.rate-groups {
  display: grid;
  gap: 1.2rem;
}

.rate-group {
  background: var(--white);
  border: 1px solid #eadfce;
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.15rem;
  box-shadow: 0 10px 24px rgba(80, 60, 20, 0.04);
  overflow: hidden;
}

.rate-group .card-photo {
  margin: -1.4rem -1.25rem 1.15rem;
}

.rate-group h2 {
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.rate-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rate-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 600;
}

.rate-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.rate-pill {
  flex-shrink: 0;
  background: var(--green-soft);
  color: var(--green-deep);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.rate-pill span {
  font-weight: 600;
  font-size: 0.78rem;
  margin-left: 0.12rem;
  opacity: 0.75;
}

.policy-grid {
  display: grid;
  gap: 1rem;
}

.policy-grid article {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
}

.policy-grid p {
  color: var(--muted);
}

@media (min-width: 800px) {
  .teaser-card {
    grid-template-columns: 1fr auto;
    padding: 2.3rem 2.2rem;
  }

  .rate-groups {
    grid-template-columns: 1.1fr 0.95fr;
  }

  .rate-group:last-child {
    grid-column: 1 / -1;
  }

  .policy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .program-panel {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: start;
  }

  .faq-list {
    grid-template-columns: 1fr 1fr;
  }

  .photo-band {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .page-hero-split {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 2.4rem;
    padding-bottom: 2.5rem;
  }

  .brand-compare {
    grid-template-columns: 1fr 1fr;
  }

  .material-block {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
  }

  .material-block-reverse .inset-photo {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .service-card {
    transition: none;
  }

  .marquee-track {
    animation: none;
  }

  .marquee-group[aria-hidden="true"] {
    display: none;
  }

  .insurer-marquee {
    overflow-x: auto;
  }

  .slideshow .slide {
    transition: none;
  }
}
