*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smith Oil / JB Pools landing-page footer, used only on non-home slides. */
.about.slide,
.services.slide,
.contact.slide {
  padding-bottom: 0;
}

.slide-with-footer {
  display: flex;
  flex-direction: column;
  align-content: initial;
  padding-bottom: 0;
}

.slide-footer {
  width: 100vw;
  margin: clamp(3.2rem, 6vw, 5rem) 0 0;
  padding: 11px 5% 8px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  background: var(--pool);
  text-align: center;
  border-top: 4px solid var(--navy);
}

.footer-tagline {
  max-width: 380px;
  margin: 0 auto 4px;
  font-size: 0.74rem;
  line-height: 1.35;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 7px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffd34d;
}

.footer-links .divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.powered-by {
  display: inline-block;
  margin: 0 0 7px;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
}

.powered-by:hover,
.powered-by:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.powered-by img {
  display: block;
  width: min(260px, 72vw);
  height: auto;
  margin: 0 auto;
}

.footer-bottom {
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

:root {
  --navy: #064525;
  --pool: #d71920;
  --aqua: #d71920;
  --foam: #f2f6ef;
  --white: #ffffff;
  --text: #173629;
  --muted: #617269;
  --line: rgba(6, 69, 37, 0.16);
  --radius: 10px;
  --shadow: 0 18px 40px rgba(8, 36, 63, 0.12);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --header-height: 6.7rem;
  --announcement-stack-height: 5rem;
  --chrome-to-content-gap: 2rem;
  --fixed-stack-clearance: calc(var(--header-height) + var(--announcement-stack-height) + var(--chrome-to-content-gap));
  --page-header-label-gap: var(--space-3);
  --page-header-content-gap: var(--space-6);
}

html {
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  color: var(--text);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  overflow: hidden;
}

a {
  color: inherit;
}

.announcement-stack {
  position: fixed;
  z-index: 55;
  top: var(--header-height);
  right: 0;
  left: 0;
  color: var(--white);
}

body.promotion-open .announcement-stack {
  z-index: 90;
}

.announcement-content {
  width: min(90%, 1120px);
  margin-inline: auto;
}

.county-bar {
  display: grid;
  place-items: center;
  padding: 0.72rem 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(6, 69, 37, 0.24);
  backdrop-filter: blur(7px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 25, 13, 0.8);
  text-transform: uppercase;
}

.county-bar-content {
  text-align: center;
}

.county-bar-line {
  display: contents;
}

.county-bar a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.county-bar a:hover,
.county-bar a:focus-visible {
  text-decoration: underline;
}

.promotion-bar {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(6, 69, 37, 0.28);
  backdrop-filter: blur(7px);
}

.promotion-bar[open] {
  z-index: 2;
}

.promotion-bar summary {
  padding: 0.68rem 0;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  list-style: none;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 25, 13, 0.8);
  text-transform: uppercase;
}

.promotion-summary-content {
  position: relative;
  display: grid;
  place-items: center;
}

.promotion-bar summary::-webkit-details-marker {
  display: none;
}

.promotion-chevron {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.promotion-bar[open] .promotion-chevron {
  transform: translateY(-30%) rotate(225deg);
}

.promotion-details {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 5vw, 4rem);
  padding: 0.85rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 69, 37, 0.96);
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

.promotion-details strong {
  color: #ffd34d;
}

.promotion-terms {
  opacity: 0.82;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-btns,
.footer-links {
  display: flex;
  align-items: center;
}

.btn-primary,
.btn-outline,
.partner-card a {
  text-decoration: none;
}

.slide-deck {
  display: flex;
  height: 100vh;
  height: 100svh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slide-deck::-webkit-scrollbar {
  display: none;
}

.slide {
  width: 100%;
  flex: 0 0 100%;
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.services,
.plans,
.about,
.contact,
.partners {
  display: grid;
  align-content: center;
}

.services {
  align-content: start;
}

.about.slide {
  align-content: start;
}

.partners {
  order: 4;
}

.contact {
  order: 5;
}

.hero {
  --hero-flow-gap: 0.9rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--hero-flow-gap);
  text-align: center;
  padding: 5.6rem 5% 7rem;
  color: var(--white);
  overflow: hidden;
  background: #064525;
  isolation: isolate;
}

.water-scene,
.water-scene::after,
.hero-water-video {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.water-scene {
  z-index: 0;
  overflow: hidden;
  background: #064525;
}

.water-scene::after {
  content: "";
  z-index: 1;
  background: rgba(3, 34, 20, 0.34);
}

.hero-water-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.04) brightness(0.96);
}

.hero > :not(.water-scene) {
  position: relative;
  z-index: 1;
  transform: translateY(0);
}

.hero-brand {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.hero-brand::before,
.hero-brand::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-brand::before {
  background:
    radial-gradient(circle at 1.7% 50.8%, rgba(255, 255, 255, 1) 0 2px, rgba(94, 190, 255, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 9.3% 24.4%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 205, 48, 0.82) 3px, transparent 10px),
    radial-gradient(circle at 24.8% 11.4%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 205, 48, 0.82) 3px, transparent 10px),
    radial-gradient(circle at 39.5% 5.1%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 69, 58, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 57.4% 4.3%, rgba(255, 255, 255, 1) 0 2px, rgba(94, 190, 255, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 73.9% 9.1%, rgba(255, 255, 255, 1) 0 2px, rgba(94, 190, 255, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 87.9% 21.1%, rgba(255, 255, 255, 1) 0 2px, rgba(77, 215, 103, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 98.3% 47.9%, rgba(255, 255, 255, 1) 0 2px, rgba(77, 215, 103, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 90.3% 74.5%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 205, 48, 0.82) 3px, transparent 10px),
    radial-gradient(circle at 75.6% 87.1%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 69, 58, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 58.1% 93.1%, rgba(255, 255, 255, 1) 0 2px, rgba(94, 190, 255, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 39.7% 92.3%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 205, 48, 0.82) 3px, transparent 10px),
    radial-gradient(circle at 24.1% 86.8%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 69, 58, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 10.7% 75.1%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 205, 48, 0.82) 3px, transparent 10px);
  animation: holidayBlinkA 3.4s ease-in-out infinite;
}

.hero-brand::after {
  background:
    radial-gradient(circle at 4.2% 35.7%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 69, 58, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 15.7% 17.4%, rgba(255, 255, 255, 1) 0 2px, rgba(94, 190, 255, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 31.8% 7.6%, rgba(255, 255, 255, 1) 0 2px, rgba(77, 215, 103, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 48.9% 4.5%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 205, 48, 0.82) 3px, transparent 10px),
    radial-gradient(circle at 66.3% 5.1%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 205, 48, 0.82) 3px, transparent 10px),
    radial-gradient(circle at 82% 15.7%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 69, 58, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 94.7% 31.8%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 69, 58, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 95.5% 63.3%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 69, 58, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 83.5% 81.1%, rgba(255, 255, 255, 1) 0 2px, rgba(94, 190, 255, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 66.5% 91.3%, rgba(255, 255, 255, 1) 0 2px, rgba(77, 215, 103, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 49.1% 93.5%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 69, 58, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 32% 90.8%, rgba(255, 255, 255, 1) 0 2px, rgba(77, 215, 103, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 16.7% 80.8%, rgba(255, 255, 255, 1) 0 2px, rgba(94, 190, 255, 0.8) 3px, transparent 10px),
    radial-gradient(circle at 4.3% 65.5%, rgba(255, 255, 255, 1) 0 2px, rgba(255, 69, 58, 0.8) 3px, transparent 10px);
  animation: holidayBlinkB 3.4s ease-in-out infinite;
}

.hero-logo {
  display: block;
  width: min(560px, 76vw);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.24));
}

@keyframes holidayBlinkA {
  0%, 38% { opacity: 0.12; }
  44%, 82% { opacity: 1; }
  88%, 100% { opacity: 0.12; }
}

@keyframes holidayBlinkB {
  0%, 38% { opacity: 1; }
  44%, 82% { opacity: 0.12; }
  88%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand::before,
  .hero-brand::after {
    animation: none;
    opacity: 0.55;
  }
}

.hero h1,
.section-title {
  font-family: "Playfair Display", Georgia, serif;
}

.hero h1 {
  max-width: min(1120px, 94vw);
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  line-height: 0.96;
  text-shadow: 0 4px 24px rgba(0, 75, 128, 0.42);
  white-space: nowrap;
}

.hero h1 em {
  color: #ffd166;
  font-style: normal;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.75;
  text-shadow: 0 2px 14px rgba(0, 65, 110, 0.36);
}

.hero-reviews {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.reviews-title {
  color: var(--white);
  font-weight: 700;
}

.reviews-subtitle {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.hero-btns {
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
}

.hero-btns .btn-primary,
.hero-btns .btn-outline {
  width: min(100%, 260px);
  text-align: center;
}

.btn-primary,
.btn-outline,
.form-submit {
  border: 0;
  border-radius: 999px;
  padding: 0.86rem 1.5rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  color: var(--navy);
  background: var(--aqua);
}

.hero-btns .btn-primary {
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

.hero-btns .btn-primary:hover,
.hero-btns .btn-primary:focus-visible,
.hero-btns .btn-outline:hover,
.hero-btns .btn-outline:focus-visible {
  color: var(--white);
  border-color: var(--pool);
  background: var(--pool);
  outline: none;
}

.btn-outline {
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.slide {
  padding: clamp(12rem, 14vw, 13rem) 5% clamp(6rem, 8vw, 7rem);
}

.hero.slide {
  padding: 12.3rem 5% 2.5rem;
}

.about.slide,
.services.slide,
.contact.slide {
  padding-top: var(--fixed-stack-clearance);
  padding-right: 0;
  padding-left: 0;
}

.section-shell {
  width: min(90vw, 1120px);
  max-width: 1120px;
  margin: 0 auto;
}

.page-header {
  display: grid;
  width: min(90vw, 900px);
  justify-items: center;
  gap: var(--page-header-label-gap);
  margin: 0 auto var(--page-header-content-gap);
  text-align: center;
}

.page-header .section-label,
.page-header .section-title,
.page-header .section-sub {
  margin: 0;
}

.page-header .section-title {
  width: 100%;
  max-width: 900px;
  text-wrap: balance;
}

.page-header .section-sub {
  margin-inline: auto;
}

.section-shell > .page-header,
.contact-inner > .page-header {
  width: min(100%, 900px);
}

.section-label {
  margin-bottom: 0.65rem;
  color: var(--pool);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  max-width: 720px;
  margin-bottom: 0.9rem;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.section-sub {
  max-width: 610px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.services-header {
  width: min(90vw, 760px);
  max-width: none;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.services-header .section-title,
.services-header .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.services-grid,
.plans-grid,
.partners-grid {
  display: grid;
  gap: 1.1rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(90vw, 1120px);
  max-width: 1120px;
  margin: 0 auto;
}

.service-dots {
  display: none;
}

.services-plans {
  margin-top: clamp(2.4rem, 6vw, 4rem);
}

.services-process {
  margin-top: 0;
}

.services-after-process {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.service-card,
.plan-card,
.partner-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 230px;
  padding: 1.45rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover,
.service-card:focus-visible,
.plan-card[data-service]:hover,
.plan-card[data-service]:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(8, 36, 63, 0.16);
  outline: none;
}

.service-card.selected,
.plan-card.selected {
  border-color: var(--pool);
  box-shadow: 0 0 0 3px rgba(0, 144, 208, 0.18), 0 22px 52px rgba(8, 36, 63, 0.16);
}

.service-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 1rem;
  color: var(--pool);
  border-radius: 14px;
  background: var(--foam);
  font-weight: 700;
}

.service-image {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
}

.service-plan-badge {
  display: inline-grid;
  min-width: 92px;
  min-height: 42px;
  place-items: center;
  margin-bottom: 0.8rem;
  padding: 0.45rem 0.8rem;
  color: var(--navy);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin-bottom: 0.45rem;
  color: var(--pool);
  font-weight: 700;
}

.service-card h3,
.plan-card h3,
.partner-card h3,
.info-card h3 {
  color: var(--navy);
  font-size: 1rem;
}

.service-card p:last-child,
.plan-card li,
.partner-card p,
.info-card p,
.about-copy p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.service-card p:last-child {
  font-size: 0.9rem;
}

.plans,
.contact {
  background: var(--foam);
}

.contact.slide {
  align-content: start;
  padding-bottom: 4rem;
}

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.plan-card,
.partner-card {
  padding: 1.45rem;
}

.plan-card {
  position: relative;
  overflow: hidden;
}

.bronze-plan {
  border: 2px solid #a46334;
  background: linear-gradient(145deg, #c8844c 0%, #fff2e6 38%, #ffffff 100%);
  box-shadow: 0 20px 42px rgba(134, 76, 37, 0.22);
}

.bronze-plan .plan-price {
  color: #743d1e;
}

.silver-plan {
  border: 2px solid #8797a2;
  background: linear-gradient(145deg, #aebbc4 0%, #eef3f6 38%, #ffffff 100%);
  box-shadow: 0 20px 42px rgba(92, 108, 120, 0.2);
}

.silver-plan .plan-price {
  color: #4d5f6a;
}

.gold-plan {
  border: 2px solid #c99a26;
  background: linear-gradient(145deg, #e3b53b 0%, #fff1b8 38%, #ffffff 100%);
  box-shadow: 0 20px 42px rgba(171, 122, 16, 0.24);
}

.gold-plan .plan-price {
  color: #805807;
}

.plan-card h3,
.plan-price {
  text-align: center;
}

.plan-price {
  margin: 0.35rem 0 0.8rem;
  color: var(--pool);
  font-size: 1.08rem;
  font-weight: 700;
}

.plan-card ul {
  padding-left: 1.1rem;
}

.plan-card li {
  color: var(--navy);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about .split {
  align-items: start;
}

.about-image {
  display: block;
  width: min(420px, 100%);
  aspect-ratio: 4 / 3;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}

.about-copy {
  display: grid;
  gap: 0.85rem;
  font-size: 1rem;
  transform: none;
}

.signature {
  color: var(--navy);
  font-weight: 700;
}

.signature-mark {
  position: relative;
  width: fit-content;
  margin-top: -0.55rem;
  color: #0090d0;
  font-family: "Great Vibes", "Brush Script MT", cursive;
  font-size: clamp(2.7rem, 5.4vw, 4.2rem);
  font-weight: 400;
  line-height: 0.9;
  transform: rotate(-2deg);
}

.signature-mark::after {
  position: absolute;
  right: 0.1rem;
  bottom: -0.18rem;
  left: 0.35rem;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 144, 208, 0.08), rgba(0, 144, 208, 0.75), rgba(0, 144, 208, 0.1));
  content: "";
}

.partners-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.partners {
  align-content: start;
}

.process-grid {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.8rem 2.2rem;
  max-width: 1080px;
  margin: 0 auto;
  isolation: isolate;
}

.process-grid::before {
  position: absolute;
  z-index: -1;
  inset: 0 8%;
  background:
    repeating-linear-gradient(90deg, var(--navy) 0 12px, transparent 12px 21px) 50% 24% / 100% 3px no-repeat,
    repeating-linear-gradient(180deg, var(--navy) 0 12px, transparent 12px 21px) 100% 50% / 3px 52% no-repeat,
    repeating-linear-gradient(270deg, var(--navy) 0 12px, transparent 12px 21px) 50% 76% / 100% 3px no-repeat;
  content: "";
  opacity: 0.48;
}

.process-step {
  position: relative;
  min-height: 245px;
  padding: 1.3rem 1.2rem 1.2rem;
  text-align: center;
  border: 2px solid rgba(0, 74, 45, 0.18);
  box-shadow: 0 16px 34px rgba(8, 36, 63, 0.12);
}

.process-step::before {
  position: absolute;
  top: -1.15rem;
  left: 50%;
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 5px 14px rgba(8, 36, 63, 0.24);
  content: attr(data-step);
  font-size: 0.86rem;
  font-weight: 700;
  transform: translateX(-50%);
}

.process-step:nth-child(1) {
  grid-area: 1 / 1;
}

.process-step:nth-child(2) {
  grid-area: 1 / 2;
}

.process-step:nth-child(3) {
  grid-area: 1 / 3;
}

.process-step:nth-child(4) {
  grid-area: 2 / 3;
}

.process-step:nth-child(5) {
  grid-area: 2 / 2;
}

.process-step:nth-child(6) {
  grid-area: 2 / 1;
}

.process-step h3 {
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.process-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.process-image {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 0.85rem;
  object-fit: contain;
}

.service-image {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 0.85rem;
  object-fit: contain;
}

.faq-section {
  width: min(90vw, 900px);
  max-width: none;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
}

.faq-header {
  width: min(100%, 760px);
  margin-bottom: var(--space-5);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--pool);
  content: "+";
  font-size: 1.7rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  padding: 0 2.5rem 1.25rem 0;
  color: var(--muted);
  line-height: 1.7;
}

.partner-card a {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--pool);
  font-weight: 700;
}

.partner-logo {
  display: block;
  width: min(180px, 100%);
  height: 112px;
  margin: 0 auto 1rem;
  border: 1px solid rgba(0, 144, 208, 0.12);
  border-radius: 10px;
  object-fit: contain;
  padding: 0.7rem;
  background: var(--white);
}

.smith-oil-logo {
  width: min(160px, 100%);
}

.maldonado-logo {
  width: min(190px, 100%);
}

.contact-inner {
  width: min(90vw, 1120px);
  max-width: none;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-7);
  align-items: start;
}

.contact-info {
  display: grid;
  min-width: 0;
  gap: var(--space-5);
}

.contact-layout .contact-form,
.info-card > div {
  min-width: 0;
}

.info-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.info-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--pool);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-weight: 700;
}

.info-image {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  margin-top: -0.35rem;
}

.phone-link,
.email-link {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 3px;
}

.email-link {
  overflow-wrap: anywhere;
}

.consultation-actions {
  display: grid;
  width: fit-content;
  max-width: 100%;
  justify-items: start;
  gap: var(--space-2);
}

.calendly-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0.8rem 1.1rem;
  color: var(--white);
  border-radius: 999px;
  background: var(--pool);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.calendly-cta:hover,
.calendly-cta:focus-visible {
  background: var(--navy);
  outline: none;
  transform: translateY(-2px);
}

.calendly-note {
  width: 100%;
  max-width: 20rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-form {
  display: grid;
  gap: var(--space-3);
  padding: clamp(1rem, 3vw, 1.7rem);
  scroll-margin-top: 90px;
}

.contact-form-title {
  margin: 0 0 var(--space-1);
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.25;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: grid;
  gap: var(--space-2);
}

.form-group label,
.sms-opt-in {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

input,
select,
textarea,
.checkbox-toggle {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid rgba(0, 144, 208, 0.22);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  color: var(--text);
  background: var(--white);
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus,
.checkbox-toggle.open,
.checkbox-toggle:focus-visible {
  border-color: var(--pool);
}

textarea {
  min-height: 82px;
  resize: vertical;
}

.checkbox-dropdown {
  position: relative;
}

.checkbox-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.checkbox-grid {
  position: absolute;
  z-index: 15;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  display: none;
  overflow: hidden;
  border: 1.5px solid var(--pool);
  border-radius: 0 0 8px 8px;
  background: var(--white);
  box-shadow: 0 12px 24px rgba(8, 36, 63, 0.12);
}

.checkbox-grid.open {
  display: grid;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-item:first-child {
  border-top: 0;
}

.checkbox-item input,
.sms-opt-in input {
  width: auto;
  min-height: 0;
  accent-color: var(--pool);
}

.sms-opt-in {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.consultation-disclaimer {
  padding: 0.8rem 0.9rem;
  color: var(--navy);
  border-left: 3px solid var(--pool);
  background: var(--foam);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-submit {
  color: var(--white);
  background: var(--pool);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.site-header {
  position: fixed;
  z-index: 60;
  right: 0;
  left: 0;
  top: 0;
  display: flex;
  min-height: 6.7rem;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.5vw, 1.25rem);
  padding: 0.7rem clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid rgba(0, 144, 208, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(8, 36, 63, 0.12);
  backdrop-filter: blur(14px);
}

.header-logo {
  display: block;
  width: 132px;
  height: auto;
  flex: 0 0 auto;
}

.header-pools-link {
  display: block;
  width: 132px;
  flex: 0 0 auto;
  transition: opacity 0.2s, transform 0.2s;
}

.header-pools-link:hover,
.header-pools-link:focus-visible {
  opacity: 0.82;
  outline: none;
  transform: translateY(-2px);
}

.header-pools-link img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: ellipse(49.3% 48% at 50% 50%);
  filter: drop-shadow(0 8px 16px rgba(8, 36, 63, 0.18));
}

.header-menu-toggle,
.slide-dots {
  display: none;
}

.header-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-tabs::-webkit-scrollbar {
  display: none;
}

.header-tabs a {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  color: var(--navy);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 0.2s, background 0.2s;
}

.header-tabs a.active,
.header-tabs a:focus-visible {
  color: var(--white);
  background: var(--pool);
  outline: none;
}

@media (max-width: 900px) {
  .services,
  .plans,
  .about,
  .contact,
  .partners {
    align-content: start;
  }

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

  .plans-grid,
  .partners-grid,
  .split,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-image {
    width: min(420px, 100%);
    max-height: 260px;
  }

  .about-copy {
    transform: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    max-width: 620px;
    padding-left: 3.2rem;
  }

  .process-grid::before {
    inset: 0 auto 0 1.05rem;
    width: 3px;
    background: repeating-linear-gradient(180deg, var(--navy) 0 12px, transparent 12px 21px);
  }

  .process-step,
  .process-step:nth-child(1),
  .process-step:nth-child(2),
  .process-step:nth-child(3),
  .process-step:nth-child(4),
  .process-step:nth-child(5),
  .process-step:nth-child(6) {
    grid-area: auto / 1;
    min-height: 0;
  }

  .process-step::before {
    top: 50%;
    left: -3.2rem;
    transform: translateY(-50%);
  }
}

@media (min-width: 641px) and (max-height: 760px) {
  .hero-logo {
    width: min(500px, 68vw);
  }

  .hero > :not(.water-scene) {
    transform: none;
  }
}

@media (max-width: 640px) {
  :root {
    --fixed-stack-clearance: 10.5rem;
    --page-header-label-gap: var(--space-3);
    --page-header-content-gap: var(--space-6);
  }

  .slide {
    padding: 11rem 5% 7rem;
  }

  .about.slide,
  .services.slide,
  .contact.slide {
    padding: var(--fixed-stack-clearance) 0 0;
  }

  .site-header {
    pointer-events: none;
    display: block;
    height: 10rem;
    padding: 0;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .header-logo {
    display: none;
  }

  .header-pools-link {
    position: fixed;
    top: 6.85rem;
    left: 1rem;
    z-index: 45;
    display: none;
    width: 5.2rem;
    border-radius: 999px;
    background: transparent;
    pointer-events: auto;
  }

  .site-header.home-active .header-pools-link {
    display: block;
  }

  .header-menu-toggle {
    position: fixed;
    right: 1rem;
    top: 6.8rem;
    z-index: 45;
    display: grid;
    width: 3.1rem;
    height: 3.1rem;
    place-content: center;
    gap: 0.3rem;
    border: 1px solid rgba(0, 144, 208, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(8, 36, 63, 0.2);
    cursor: pointer;
    pointer-events: auto;
  }

  .header-menu-toggle span {
    display: block;
    width: 1.25rem;
    height: 0.14rem;
    border-radius: 999px;
    background: var(--navy);
    transition: transform 0.2s, opacity 0.2s;
  }

  .site-header.menu-open .header-menu-toggle span:nth-child(1) {
    transform: translateY(0.44rem) rotate(45deg);
  }

  .site-header.menu-open .header-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .header-menu-toggle span:nth-child(3) {
    transform: translateY(-0.44rem) rotate(-45deg);
  }

  .header-tabs {
    position: fixed;
    right: 1rem;
    top: 10.35rem;
    z-index: 44;
    display: none;
    width: min(13.5rem, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0.65rem;
    border: 1px solid rgba(0, 144, 208, 0.16);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 45px rgba(8, 36, 63, 0.22);
    pointer-events: auto;
  }

  .header-tabs a {
    width: 100%;
    padding: 0.72rem 0.85rem;
    font-size: 0.9rem;
    text-align: left;
  }

  .site-header.menu-open .header-tabs {
    display: flex;
  }

  .slide-dots {
    position: fixed;
    bottom: 1.35rem;
    left: 50%;
    z-index: 42;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 0.45rem);
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.28s ease;
    pointer-events: none;
  }

  .slide-dots.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  .slide-dots button {
    width: 0.52rem;
    height: 0.52rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 0 0 1px rgba(8, 36, 63, 0.15);
    cursor: pointer;
    transition: width 0.2s, background 0.2s, box-shadow 0.2s;
  }

  .slide-dots button.active {
    width: 1.35rem;
    background: var(--pool);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
  }

  .hero.slide {
    min-height: 620px;
    padding: 10.9rem 5% 5.35rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
    white-space: normal;
  }

  .hero-logo {
    width: min(700px, 88vw);
  }

  .announcement-stack {
    top: 0;
  }

  .county-bar {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .county-bar-line {
    display: block;
  }

  .promotion-bar summary {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .promotion-details {
    display: grid;
    gap: 0.45rem;
    font-size: 0.78rem;
  }

  .hero > :not(.water-scene) {
    transform: none;
  }

  .services {
    overflow-x: clip;
    overflow-y: auto;
  }

  .services.slide {
    align-items: stretch;
  }

  .info-card {
    gap: var(--space-3);
  }

  .info-image {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .email-link {
    font-size: 0.86rem;
    letter-spacing: -0.01em;
  }

  .calendly-cta {
    justify-self: center;
    text-align: center;
  }

  .consultation-actions {
    justify-self: center;
    justify-items: center;
    text-align: center;
  }

  .services-process {
    order: 1;
  }

  .services-after-process {
    order: 2;
    margin-top: 2.4rem;
  }

  .services-grid {
    order: 3;
  }

  .service-dots {
    order: 4;
  }

  .faq-section {
    order: 5;
  }

  .services .slide-footer {
    order: 6;
  }

  .services-process .section-title {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.78rem;
    width: min(100%, 520px);
    max-width: 520px;
    margin: 0 auto;
    padding-left: 0;
  }

  .process-grid::before {
    display: none;
  }

  .process-step,
  .process-step:nth-child(1),
  .process-step:nth-child(2),
  .process-step:nth-child(3),
  .process-step:nth-child(4),
  .process-step:nth-child(5),
  .process-step:nth-child(6) {
    display: grid;
    grid-area: auto;
    grid-template-columns: 2.55rem 1fr;
    column-gap: 0.82rem;
    min-height: 0;
    padding: 0.86rem 0.95rem;
    text-align: left;
    border-width: 1px;
    border-color: rgba(6, 69, 37, 0.14);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(8, 36, 63, 0.1);
  }

  .process-step::before {
    position: static;
    grid-row: 1 / span 2;
    width: 2.25rem;
    height: 2.25rem;
    align-self: start;
    border-width: 2px;
    transform: none;
  }

  .process-image {
    display: none;
  }

  .process-step h3 {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
  }

  .process-step p {
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .services-header {
    margin-bottom: 0.85rem;
  }

  .services-grid {
    --service-card-width: min(82vw, 320px);
    --service-card-mobile-height: 252px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1rem;
    width: 100vw;
    max-width: 100vw;
    min-height: calc(var(--service-card-mobile-height) + 1.95rem);
    margin: 0;
    padding: 12px calc((100vw - var(--service-card-width)) / 2) 0.95rem;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100vw - var(--service-card-width)) / 2);
    scrollbar-width: none;
    align-self: center;
    transform: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 var(--service-card-width);
    max-width: 320px;
    min-height: var(--service-card-mobile-height);
    height: auto;
    padding: 1rem;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .service-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
  }

  .service-dots button {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(215, 25, 32, 0.28);
    cursor: pointer;
    transition: width 0.2s, background 0.2s, transform 0.2s;
  }

  .service-dots button.active {
    width: 1.15rem;
    background: var(--pool);
    transform: scale(1.05);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Keep non-home footers flush after the slide padding declarations above. */
.about.slide,
.services.slide,
.contact.slide {
  padding-bottom: 0;
}

.about.slide.slide-with-footer,
.services.slide.slide-with-footer,
.contact.slide.slide-with-footer {
  padding-bottom: 0;
}
