:root {
  --deep: #0B4F6C;
  --deep-2: #08384D;
  --teal: #1B98A0;
  --teal-light: #4FC0C6;
  --aqua-wash: #E4F5F4;
  --sun: #FFC857;
  --sun-dark: #E8A93B;
  --ink: #062230;
  --paper: #F6FBFA;
  --white: #FFFFFF;

  --font-display: "Baloo 2", sans-serif;
  --font-body: "Work Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-top: 0.4rem;
  margin-bottom: 3rem;
}

.section-title.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--sun);
  color: var(--deep-2);
  box-shadow: 0 6px 18px rgba(255, 200, 87, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 200, 87, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ripple effect */
.btn::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  width: 10px; height: 10px;
  left: var(--rx, 50%);
  top: var(--ry, 50%);
  transform: translate(-50%,-50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.btn.rippling::after {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% { transform: translate(-50%,-50%) scale(0); opacity: 0.5; }
  100% { transform: translate(-50%,-50%) scale(18); opacity: 0; }
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(246, 251, 250, 0.94);
  border-bottom: 1px solid rgba(27, 152, 160, 0.18);
  box-shadow: 0 4px 18px rgba(6, 34, 48, 0.1);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 20px rgba(6, 34, 48, 0.14);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--deep-2);
}

.brand-logo {
  display: block;
  width: 154px;
  height: 66px;
  object-fit: contain;
  padding: 0.25rem 0.55rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 8px rgba(6, 34, 48, 0.13);
  filter: drop-shadow(0 1px 1px rgba(6, 34, 48, 0.12));
}

.footer-logo {
  width: 138px;
  height: 58px;
}

.drip { color: var(--sun); }

.nav-links { display: flex; gap: 1.35rem; align-items: center; }

.nav-links a {
  color: var(--deep-2);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--sun);
  color: var(--deep-2) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: var(--deep-2);
  overflow: hidden;
}

.hero-water {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(4, 27, 40, 0.66) 0%, rgba(4, 27, 40, 0.34) 46%, rgba(4, 27, 40, 0.12) 100%),
    linear-gradient(0deg, rgba(6, 34, 48, 0.42) 0%, transparent 55%),
    url("../images/infinity-pool-hero.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  animation: hero-breathe 16s ease-in-out infinite alternate;
}

.hero-water::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 27, 40, 0.24) 0%, transparent 38%, rgba(4, 27, 40, 0.2) 100%);
  pointer-events: none;
}

.water-shimmer {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -4%;
  height: 58%;
  opacity: 0.32;
  mix-blend-mode: screen;
  filter: blur(1.5px);
  background:
    repeating-radial-gradient(ellipse at 50% 110%, transparent 0 18px, rgba(217, 252, 255, 0.2) 22px 24px, transparent 29px 43px);
  transform: perspective(420px) rotateX(57deg) scale(1.25);
  transform-origin: bottom center;
  animation: shimmer-drift 9s linear infinite;
}

.overflow-flow {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 30%;
  height: 54%;
  opacity: 0.22;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(98deg, transparent 0 17px, rgba(224, 253, 255, 0.48) 20px 22px, transparent 26px 38px);
  filter: blur(2px);
  transform: skewX(-5deg);
  animation: overflow-stream 1.8s linear infinite;
}

@keyframes hero-breathe {
  from { transform: scale(1.025); }
  to { transform: scale(1.065); }
}

@keyframes shimmer-drift {
  from { background-position: 0 0; }
  to { background-position: 92px 34px; }
}

@keyframes overflow-stream {
  from { background-position: 0 -80px; }
  to { background-position: 12px 80px; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--white);
  max-width: 650px;
  text-shadow: 0 3px 24px rgba(0, 20, 30, 0.55);
  margin: 0.6rem 0 1.2rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 0 2.2rem;
  text-shadow: 0 2px 15px rgba(0, 20, 30, 0.6);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.wave-divider {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  height: 90px;
}

.wave-divider path { fill: var(--paper); }

.wave-top { position: absolute; top: -1px; bottom: auto; }
.wave-top path { fill: var(--paper); }

/* Services */
.services {
  max-width: 1150px;
  margin: 0 auto;
  padding: 7rem 2rem 6rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  box-shadow: 0 10px 30px rgba(11, 79, 108, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(24px);
}

.service-card.visible { opacity: 1; transform: translateY(0); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 79, 108, 0.14);
}

.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }

.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--deep); }

.service-card p { font-size: 0.95rem; color: #3c5b66; }

/* Why / stats */
.why {
  position: relative;
  background: var(--deep-2);
  padding: 6.5rem 2rem 5rem;
  color: var(--white);
}

.why-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat { display: flex; flex-direction: column; gap: 0.3rem; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--sun);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Why us / team */
.team-section {
  max-width: 1150px;
  margin: 5rem auto 0;
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.team-heading {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.team-heading .eyebrow { color: var(--sun); }

.team-heading h2 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.team-heading > p:not(.eyebrow) { color: rgba(255,255,255,0.78); }

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

.team-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.45rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(255,255,255,0.09);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.team-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); }

.team-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--deep-2);
  font-family: var(--font-display);
  font-weight: 800;
}

.team-photo {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 3px solid rgba(255,255,255,0.26);
  border-radius: 50%;
  object-fit: cover;
}

.team-card h3 { font-size: 1.15rem; }

.team-role {
  margin: 0.15rem 0 0.65rem;
  color: var(--sun);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-card p:last-child { color: rgba(255,255,255,0.76); font-size: 0.9rem; }

/* Gallery */
.gallery {
  max-width: 1150px;
  margin: 0 auto;
  padding: 6.5rem 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  overflow: hidden;
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-display);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.visible { opacity: 1; transform: translateY(0); }

.gallery-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(6,34,48,.52), rgba(6,34,48,.04) 68%);
  pointer-events: none;
}

.gallery-item span {
  position: relative;
  z-index: 2;
  background: rgba(6, 34, 48, 0.55);
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.g1 { background: linear-gradient(135deg, #1B98A0, #0B4F6C); }
.g2 { background: linear-gradient(135deg, #4FC0C6, #1B98A0); }
.g3 { background: linear-gradient(135deg, #0B4F6C, #062230); }
.g4 { background: linear-gradient(135deg, #FFC857, #1B98A0); }

/* Reviews */
.reviews {
  background: var(--aqua-wash);
  padding: 6.5rem 2rem;
}

.review-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.review-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 8px 24px rgba(11, 79, 108, 0.06);
}

.review-card p { font-style: italic; color: #244852; margin-bottom: 1rem; }

.review-author { font-weight: 600; font-size: 0.9rem; color: var(--teal); }

/* Contact */
.contact {
  position: relative;
  background: var(--deep);
  padding: 7rem 2rem 6rem;
  color: var(--white);
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.contact p { color: rgba(255,255,255,0.8); margin-bottom: 2.2rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-row { display: flex; gap: 1rem; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--sun);
}

.contact-form button { align-self: flex-start; border: none; cursor: pointer; }

.form-note {
  color: var(--sun);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.2rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #e4f5f4 0%, #f8fdfc 100%);
  border-top: 1px solid rgba(27, 152, 160, 0.2);
  color: var(--deep-2);
  padding: 2.2rem 2rem;
}

.footer-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-inner p { color: rgba(8, 56, 77, 0.84); font-size: 0.85rem; }

/* Water treatment page */
.treatment-hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  padding: 9rem 2rem 7rem;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 32%, rgba(105, 224, 226, 0.35), transparent 30%),
    linear-gradient(145deg, #062f45 0%, #0b6f82 58%, #3ab4b8 100%);
}

.treatment-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1150px; margin: 0 auto; }
.treatment-hero .eyebrow { color: #8ce5e4; }
.treatment-hero h1 { max-width: 720px; font-size: clamp(3rem, 7vw, 5.4rem); margin: 0.5rem 0 1.2rem; }
.treatment-hero-inner > p:not(.eyebrow) { max-width: 650px; margin-bottom: 2rem; color: rgba(255,255,255,.86); font-size: 1.12rem; }
.treatment-bubbles span { position: absolute; display: block; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; animation: bubble-float 8s ease-in-out infinite; }
.treatment-bubbles span:nth-child(1) { width: 210px; height: 210px; right: 7%; top: 22%; }
.treatment-bubbles span:nth-child(2) { width: 90px; height: 90px; right: 24%; top: 16%; animation-delay: -3s; }
.treatment-bubbles span:nth-child(3) { width: 54px; height: 54px; right: 17%; bottom: 25%; animation-delay: -5s; }
@keyframes bubble-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-24px)} }

.treatment-section { max-width: 1150px; margin: 0 auto; padding: 6rem 2rem; }
.commercial-treatment { max-width: none; padding-left: max(2rem, calc((100vw - 1150px)/2)); padding-right: max(2rem, calc((100vw - 1150px)/2)); background: var(--aqua-wash); }
.treatment-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.treatment-heading h2 { margin-top: .35rem; font-size: clamp(2rem, 4vw, 3rem); }
.treatment-heading > p { color: #4d6b75; }
.treatment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.treatment-card { padding: 2rem; border: 1px solid #d9e9e7; border-radius: 22px; background: var(--white); box-shadow: 0 12px 34px rgba(8,56,77,.07); }
.treatment-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.25rem; border-radius: 15px; background: var(--aqua-wash); font-size: 1.7rem; }
.treatment-card h3 { color: var(--deep); font-size: 1.35rem; }
.treatment-card > p { margin: .65rem 0 1.25rem; color: #496772; }
.treatment-card ul { display: grid; gap: .55rem; padding: 0; list-style: none; }
.treatment-card li { position: relative; padding-left: 1.45rem; color: #294e5a; font-size: .93rem; }
.treatment-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.commercial-card { border-color: transparent; }
.treatment-process { max-width: 1150px; margin: 0 auto; padding: 6rem 2rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-grid > div { padding: 1.6rem; border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(8,56,77,.06); }
.process-grid span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 1rem; border-radius: 50%; background: var(--sun); color: var(--deep-2); font-weight: 700; }
.process-grid h3 { color: var(--deep); }
.process-grid p { margin-top: .35rem; color: #617b85; font-size: .9rem; }
.treatment-cta { max-width: 1100px; margin: 0 auto 6rem; padding: 2.5rem 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-radius: 25px; background: var(--deep-2); color: #fff; }
.treatment-cta .eyebrow { color: var(--sun); }
.treatment-cta h2 { margin: .3rem 0; font-size: clamp(1.8rem,3vw,2.6rem); }
.treatment-cta p:not(.eyebrow) { color: rgba(255,255,255,.74); }

/* Responsive */
@media (max-width: 720px) {
  .nav-inner {
    padding: 0.7rem 1rem 0.45rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
  }
  .brand-logo { width: 116px; height: 50px; }
  .nav-links {
    order: 2;
    width: 100%;
    gap: 0.9rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.15rem 0 0.35rem;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a:not(.nav-cta) {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .nav-cta { flex: 0 0 auto; padding: 0.48rem 0.85rem; font-size: 0.82rem; white-space: nowrap; }
  .form-row { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { padding: 0 1.25rem; }
  .hero-water {
    background-position: 58% center;
  }
  .hero-content { text-align: center; padding-top: 3rem; }
  .hero h1 { max-width: none; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .overflow-flow { width: 46%; opacity: 0.18; }
  .treatment-hero { min-height: 600px; padding: 8rem 1.25rem 6rem; }
  .treatment-heading { grid-template-columns: 1fr; gap: 1rem; }
  .treatment-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 1.25rem; }
  .treatment-cta { margin: 0 1rem 4rem; padding: 2rem; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .process-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-water, .water-shimmer, .overflow-flow, .service-card, .gallery-item, .treatment-bubbles span { animation: none !important; transition: none !important; }
  .service-card, .gallery-item { opacity: 1 !important; transform: none !important; }
}

/* Quote page */
.quote-hero {
  position: relative;
  padding: 9rem 2rem 5rem;
  background: linear-gradient(160deg, var(--deep) 0%, var(--teal) 55%, var(--teal-light) 100%);
  color: var(--white);
  overflow: hidden;
}

.quote-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.quote-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0.6rem 0 1rem;
}

.quote-hero .hero-sub { margin: 0 auto; }

.quote-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.quote-form {
  background: var(--white);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 10px 30px rgba(11, 79, 108, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--deep);
  margin-bottom: 0.8rem;
}

.label-optional {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: #7a95a0;
}

.pool-specific { transition: opacity 0.2s ease; }

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.radio-grid-3 { grid-template-columns: repeat(3, 1fr); }
.radio-grid-4 { grid-template-columns: repeat(4, 1fr); }

.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border: 2px solid #E1EEEC;
  border-radius: 14px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-card.small { padding: 0.75rem; }

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-card:hover { border-color: var(--teal-light); }

.radio-card:has(input:checked) {
  border-color: var(--teal);
  background: var(--aqua-wash);
}

.radio-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.radio-sub {
  font-size: 0.8rem;
  color: #6d8991;
}

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.checkbox-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid #E1EEEC;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.checkbox-pill input { accent-color: var(--teal); }

.checkbox-pill:hover { border-color: var(--teal-light); }

.checkbox-pill:has(input:checked) {
  border-color: var(--teal);
  background: var(--aqua-wash);
}

.quote-submit {
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin-top: 0.4rem;
}

/* Result panel */
.quote-result { position: sticky; top: 100px; }

.result-placeholder {
  border: 2px dashed #CFE4E2;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  color: #7a95a0;
}

.placeholder-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }

.result-card {
  background: var(--deep-2);
  color: var(--white);
  border-radius: 24px;
  padding: 2.2rem;
}

.result-card .eyebrow { color: var(--sun); }

.result-price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--white);
  margin: 0.6rem 0 0.8rem;
}

.result-unit {
  font-size: 1rem;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.7);
}

.result-extras {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.9rem;
}

.result-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.4rem;
}

.result-cta { border: none; width: 100%; text-align: center; }

@media (max-width: 860px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-result { position: static; }
  .radio-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}
