/* Hero banner only. All other sections keep their existing styles. */
.hero { isolation: isolate; padding: 0; background: #f2f8ef; }
.hero .shell { width: min(1280px, calc(100% - clamp(40px, 8vw, 128px))); }
.hero-background { position: absolute; inset: 0; }
.hero-background .qcsv-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f2f8ef;
  box-shadow: none;
  transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .65s ease, visibility .65s;
}
.hero-background .qcsv-hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-background .qcsv-hero-slide img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right 28%; }
.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #f2f8ef 0%, #f2f8ef 38%, rgba(242,248,239,.97) 47%, rgba(242,248,239,.88) 54%, rgba(242,248,239,.32) 69%, rgba(242,248,239,0) 80%);
}
.hero-grid { position: relative; z-index: 2; display: flex; align-items: center; min-height: 660px; padding-block: 84px 110px; pointer-events: none; }
.hero-copy { width: 53%; max-width: 660px; pointer-events: auto; }
.hero h1 { max-width: none; margin-block: 23px; font-size: clamp(40px, 4.1vw, 58px); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.hero-lead { max-width: 550px; font-size: 17px; line-height: 1.75; }
.hero-actions { justify-content: center; margin-top: 30px; }
.hero-actions .btn { width: auto; min-height: 46px; padding-inline: 18px; }
.hero-background .slider-dots { z-index: 4; left: 50%; bottom: 22px; gap: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.hero-background .slider-dots button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #555; }
.hero-background .slider-dots button > span { display: block; width: 7px; height: 7px; border-radius: 50%; background: #b9b9b9; transition: background .2s; }
.hero-background .slider-dots button.active > span { width: 7px; background: #444; }
.hero-background .slider-dots .slider-pause > span { width: auto; height: auto; background: none; font-size: 15px; }
.hero-background .slider-dots button[hidden] { display: none; }
.hero-background .slider-dots button:focus-visible { outline: 2px solid #555; outline-offset: -8px; }

@media (max-width: 980px) {
  .hero-grid { min-height: 620px; padding-block: 68px 104px; }
  .hero-copy { width: 64%; }
  .hero h1 { font-size: clamp(38px, 5.1vw, 48px); }
  .hero-background::after { background: linear-gradient(90deg, #f2f8ef 0%, #f2f8ef 40%, rgba(242,248,239,.95) 57%, rgba(242,248,239,.35) 82%, transparent); }
}
@media (max-width: 720px) {
  .hero .shell { width: calc(100% - 40px); }
  .hero-grid { min-height: 0; padding-block: 252px 88px; }
  .hero-copy { width: 100%; max-width: 600px; margin-inline: auto; text-align: center; }
  .hero-background .qcsv-hero-slide { height: 370px; }
  .hero-background .qcsv-hero-slide img { object-position: right 24%; }
  .hero-background::after { background: linear-gradient(180deg, rgba(242,248,239,0) 0, rgba(242,248,239,.08) 155px, rgba(242,248,239,.96) 260px, #f2f8ef 360px); }
  .hero h1 { font-size: clamp(34px, 7.2vw, 44px); line-height: 1.1; margin-block: 16px 20px; }
  .hero-lead { margin-inline: auto; font-size: 16px; line-height: 1.7; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { width: auto; padding-inline: 18px; }
  .hero-background .slider-dots { bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-background .qcsv-hero-slide, .hero-background .slider-dots button > span { transition: none; }
}
