:root{--ink:#101512;--muted:#6c6a62;--cream:#f6f1e8;--paper:#fffdf8;--gold:#b9934e;--blue:#0b7cc1;--deep:#071414}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:linear-gradient(180deg,#fffdf8,#f2eadc);color:var(--ink)}.nav{position:sticky;top:14px;z-index:9;margin:14px auto 0;width:min(1120px,92%);display:flex;align-items:center;gap:24px;background:rgba(25,27,24,.72);backdrop-filter:blur(18px);border-radius:999px;padding:10px 16px;box-shadow:0 18px 50px #0002}.brand img{width:124px;height:64px;object-fit:contain;border-radius:12px}.links{margin-left:auto;display:flex;gap:24px}.links a{color:white;text-decoration:none;font-size:13px;letter-spacing:.12em;text-transform:uppercase}.call,.primary,.secondary{border-radius:999px;text-decoration:none;font-weight:900}.call{background:white;color:#111;padding:16px 24px}.hero{width:min(1180px,92%);margin:42px auto 70px;display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.hero-logo{width:230px;border-radius:22px;margin-bottom:18px}.eyebrow{color:var(--gold);text-transform:uppercase;letter-spacing:.22em;font-weight:900;font-size:13px}h1,h2,h3{margin:0;letter-spacing:-.06em}h1{font-size:clamp(48px,8vw,100px);line-height:.9}h1 span{color:var(--blue)}h2{font-size:clamp(36px,6vw,70px);line-height:.95}h3{font-size:clamp(32px,5vw,60px);line-height:.95}.lead,.intro p,.estimator p{font-size:20px;color:var(--muted);line-height:1.55}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.primary{background:var(--ink);color:white;padding:17px 24px;display:inline-block}.secondary{border:1px solid #cdbf9f;color:var(--ink);padding:17px 24px}.intro{width:min(980px,88%);margin:0 auto 60px}.intro p{font-size:30px;color:#37352f}.packages,.gallery{width:min(1180px,92%);margin:70px auto}.section-head{max-width:850px;margin-bottom:34px}.package-card{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:stretch;margin:24px 0;padding:18px;border:1px solid #e2d6c1;border-radius:42px;background:#fffaf0}.package-card.reverse{grid-template-columns:.95fr 1.05fr}.package-card.reverse .photo{order:2}.package-copy{padding:40px;display:flex;flex-direction:column;justify-content:center}.num{color:var(--gold);font-weight:900;font-size:24px}.package-copy p,.package-copy li{font-size:18px;color:#5f5a51;line-height:1.5}.package-copy strong{font-family:Georgia,serif;font-size:58px;font-weight:400;margin-top:10px}.photo{min-height:460px;border-radius:30px;position:relative;overflow:hidden;background:linear-gradient(#8fd3ff,#eef5db);box-shadow:inset 0 -120px 140px #0003}.tag{position:absolute;top:18px;left:18px;z-index:2;background:rgba(255,255,255,.9);border-radius:999px;padding:10px 14px;font-weight:900}.yard{position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(135deg,#2c8b42,#7cb65b)}.pool{position:absolute;left:15%;bottom:18%;width:62%;height:32%;border-radius:50%;background:radial-gradient(circle at 40% 35%,#d7ffff,#21aee3 45%,#076dab);border:12px solid #d9d0be;box-shadow:0 18px 40px #0005}.pool span{position:absolute;inset:18%;border-radius:50%;border:2px solid #ffffff88}.deck{position:absolute;right:6%;bottom:14%;width:52%;height:28%;background:repeating-linear-gradient(90deg,#9b6a36 0 18px,#83552a 18px 22px);transform:skewY(-8deg);border:5px solid #633b18}.stairs{position:absolute;right:5%;bottom:5%;width:26%;height:16%;background:repeating-linear-gradient(0deg,#a46d38 0 14px,#6b401f 14px 18px);transform:skewX(-20deg)}.rails,.blackrails{position:absolute;right:9%;bottom:37%;width:46%;height:16%;background:repeating-linear-gradient(90deg,transparent 0 26px,#5b351b 26px 31px);border-top:6px solid #5b351b}.blackrails{border-top-color:#121212;background:repeating-linear-gradient(90deg,transparent 0 24px,#121212 24px 29px)}.compositedeck .deck{background:repeating-linear-gradient(90deg,#b7aa98 0 18px,#8b8174 18px 22px);border-color:#5d5b57}.semi .retainer{position:absolute;left:5%;right:5%;bottom:18%;height:24%;background:repeating-linear-gradient(90deg,#b9ad9a 0 34px,#8f8375 34px 38px);border-radius:18px}.semi .pool{bottom:24%;left:18%;width:64%;height:26%}.inground .pool{border-radius:28px;left:12%;width:74%;height:34%;border:16px solid #d6d0c4}.inground .ledge{position:absolute;left:20%;bottom:31%;width:24%;height:16%;border-radius:20px;background:#a8edff99}.sun{position:absolute;right:16%;top:11%;width:80px;height:80px;background:#ffd86a;border-radius:50%;box-shadow:0 0 70px #ffd86a}.lights:after{content:"";position:absolute;right:20%;bottom:28%;width:12px;height:12px;background:#ffd66b;border-radius:50%;box-shadow:70px 10px 0 #ffd66b,140px -5px 0 #ffd66b}.estimator{width:min(1120px,92%);margin:80px auto;padding:46px;border-radius:42px;background:#071414;color:white;display:grid;grid-template-columns:.9fr 1fr;gap:32px}.estimator p{color:#b9c3be}.selector-box{background:#fffdf8;color:var(--ink);border-radius:30px;padding:28px}select{width:100%;padding:18px;margin-top:10px;border-radius:16px;border:1px solid #d8cfbd;font-size:18px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.checks label{background:#f4eddf;padding:14px;border-radius:14px}.estimate{border-top:1px solid #ded4c0;padding-top:22px}.estimate span{display:block;color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900}.estimate strong{font-family:Georgia,serif;font-size:54px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.grid .photo{min-height:330px}.cta{text-align:center;width:min(980px,92%);margin:80px auto 40px;padding:60px 20px}.cta img{width:220px;border-radius:22px}.cta p{font-size:20px;color:var(--muted)}@media(max-width:800px){.links{display:none}.nav{top:10px}.brand img{width:112px;height:58px}.call{padding:14px 18px}.hero,.package-card,.package-card.reverse,.estimator{grid-template-columns:1fr}.package-card.reverse .photo{order:0}.photo{min-height:350px}.package-copy{padding:26px}.package-copy strong{font-size:48px}.grid{grid-template-columns:1fr}.checks{grid-template-columns:1fr}h1{font-size:48px}h2{font-size:42px}.intro p{font-size:22px}}
.wood-only {
  border: 1px solid rgba(185, 147, 78, .45);
  background: linear-gradient(135deg, #fff3dc, #f4eddf) !important;
}
.wood-only::after {
  content: "Wood decks only";
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.is-hidden {
  display: none !important;
}

.shape-wrap {
  margin: 18px 0 6px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(19, 117, 162, .18);
  background: rgba(255,255,255,.62);
}
.mini-label {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.shape-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.shape-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(10, 18, 18, .12);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}
.shape-pill input {
  accent-color: #1375a2;
}
.shape-pill.disabled {
  opacity: .4;
  cursor: not-allowed;
}
.shape-wrap small {
  display: block;
  margin-top: 10px;
  color: rgba(10,18,18,.58);
  font-weight: 700;
}

/* NEXT LEVEL ANIMATED POOL WATER BACKGROUND + HERO */
body {
  background:
    radial-gradient(circle at 18% 12%, rgba(85, 208, 255, .25), transparent 26%),
    radial-gradient(circle at 84% 4%, rgba(255, 196, 93, .15), transparent 22%),
    linear-gradient(180deg, #e9fbff 0%, #f7fbff 36%, #eef7fb 100%) !important;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(20, 167, 219, .28), transparent 42%),
    radial-gradient(ellipse at 75% 15%, rgba(0, 99, 177, .18), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(205,245,255,.8));
}

body::after {
  content: "";
  position: fixed;
  inset: -80px;
  z-index: -2;
  pointer-events: none;
  opacity: .32;
  background-image:
    repeating-radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.0) 0 18px, rgba(255,255,255,.52) 19px 21px, rgba(255,255,255,.0) 22px 42px),
    repeating-radial-gradient(ellipse at 80% 70%, rgba(255,255,255,.0) 0 20px, rgba(28,156,220,.28) 21px 23px, rgba(255,255,255,.0) 24px 48px);
  background-size: 420px 260px, 360px 240px;
  animation: waterDrift 17s linear infinite;
  filter: blur(.35px);
}

@keyframes waterDrift {
  0% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(-34px,24px,0) rotate(.5deg); }
  100% { transform: translate3d(0,0,0) rotate(0deg); }
}

.next-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 150px clamp(22px, 5vw, 82px) 76px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(2, 19, 30, .88), rgba(5, 74, 104, .66) 48%, rgba(0, 142, 194, .28)),
    radial-gradient(circle at 76% 24%, rgba(88,221,255,.5), transparent 28%);
  color: #fff;
  border-radius: 0 0 46px 46px;
  isolation: isolate;
}

.hero-water-layer {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(0,20,30,.12), rgba(0,20,30,.52)),
    url("assets/above-ground-wood-deck.jpeg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.04);
}

.next-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -2;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,.28), transparent 35%),
    repeating-radial-gradient(ellipse at 70% 60%, rgba(255,255,255,0) 0 22px, rgba(82,214,255,.32) 23px 25px, rgba(255,255,255,0) 26px 54px);
  background-size: 520px 320px, 440px 290px;
  mix-blend-mode: screen;
  opacity: .42;
  animation: heroWater 12s ease-in-out infinite;
}

.next-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,10,16,.84) 0%, rgba(0,22,34,.62) 42%, rgba(0,0,0,.22) 100%),
    linear-gradient(0deg, rgba(0,0,0,.52), transparent 45%);
}

@keyframes heroWater {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(42px,-26px,0) scale(1.04); }
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: .75;
  z-index: -1;
  animation: glowFloat 7s ease-in-out infinite;
}
.hero-glow-one {
  width: 270px;
  height: 270px;
  right: 16%;
  top: 18%;
  background: rgba(41, 202, 255, .45);
}
.hero-glow-two {
  width: 210px;
  height: 210px;
  left: 9%;
  bottom: 12%;
  background: rgba(255, 190, 73, .26);
  animation-delay: -3s;
}
@keyframes glowFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero-copy .eyebrow {
  color: #8feaff;
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .9;
  letter-spacing: -0.07em;
  color: #fff;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: #fff;
  color: #07151c;
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.btn.ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.hero-price-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hero-price-row span {
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.hero-price-row strong {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 3px;
}

.hero-showcase {
  position: relative;
}
.showcase-card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  min-height: 530px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 34px 90px rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.18);
}
.showcase-card img {
  width: 100%;
  height: 530px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.03);
}
.showcase-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #061920;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.showcase-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(4, 17, 23, .72);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
}
.showcase-caption span {
  display: block;
  color: #8feaff;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}
.showcase-caption strong {
  display: block;
  margin-top: 5px;
  font-size: 28px;
}

.mini-showcase {
  position: absolute;
  left: -38px;
  bottom: -28px;
  display: grid;
  gap: 10px;
}
.mini-showcase div {
  width: 190px;
  min-height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  color: #07151c;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  font-weight: 950;
}

@media (max-width: 900px) {
  .next-hero {
    min-height: auto;
    padding: 126px 18px 50px;
    border-radius: 0 0 30px 30px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-price-row {
    grid-template-columns: 1fr;
  }
  .showcase-card,
  .showcase-card img {
    min-height: 360px;
    height: 360px;
  }
  .mini-showcase {
    position: static;
    margin-top: 12px;
    grid-template-columns: 1fr;
  }
  .mini-showcase div {
    width: 100%;
  }
}

/* Crystal blue animated pool-water background */
body {
  background:
    radial-gradient(circle at 20% 8%, rgba(255,255,255,.95), transparent 22%),
    linear-gradient(180deg, #c7f6ff 0%, #e8fbff 34%, #f7feff 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.75), transparent 18%),
    radial-gradient(circle at 74% 18%, rgba(36,198,255,.38), transparent 24%),
    linear-gradient(135deg, #9eeeff 0%, #d8fbff 45%, #ffffff 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: -160px;
  z-index: -4;
  pointer-events: none;
  opacity: .62;
  background-image:
    repeating-radial-gradient(ellipse at 25% 40%, rgba(255,255,255,0) 0 26px, rgba(255,255,255,.72) 27px 30px, rgba(255,255,255,0) 31px 62px),
    repeating-radial-gradient(ellipse at 78% 62%, rgba(0,166,235,0) 0 28px, rgba(0,166,235,.24) 29px 32px, rgba(0,166,235,0) 33px 68px);
  background-size: 520px 330px, 430px 310px;
  animation: crystalPoolWater 13s linear infinite;
  filter: blur(.2px);
}

@keyframes crystalPoolWater {
  0% { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
  50% { transform: translate3d(-42px,28px,0) scale(1.035) rotate(.4deg); }
  100% { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
}

/* Strong real project card for Above Ground + Wood Deck */
.real-wood-feature {
  padding: clamp(36px, 6vw, 80px) clamp(18px, 5vw, 72px);
  position: relative;
}

.real-wood-photo-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: clamp(28px, 5vw, 52px);
  min-height: clamp(420px, 58vw, 680px);
  box-shadow: 0 34px 90px rgba(0, 77, 112, .22);
  border: 1px solid rgba(255,255,255,.72);
  background: #d9f9ff;
}

.real-wood-photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.02);
}

.real-wood-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 23, 34, .74) 0%, rgba(1, 23, 34, .28) 46%, rgba(1, 23, 34, .08) 100%),
    linear-gradient(0deg, rgba(0,0,0,.34), transparent 46%);
}

.real-wood-overlay {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 62px);
  bottom: clamp(22px, 5vw, 62px);
  width: min(560px, calc(100% - 44px));
  padding: clamp(22px, 4vw, 38px);
  border-radius: 32px;
  background: rgba(4, 22, 30, .72);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
  color: #fff;
}

.real-wood-overlay span {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  background: #ffffff;
  color: #06202b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.real-wood-overlay h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .95;
  letter-spacing: -.05em;
}

.real-wood-overlay p {
  margin: 16px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.45;
}

@media (max-width: 760px) {
  .real-wood-feature {
    padding: 28px 14px;
  }
  .real-wood-photo-card {
    min-height: 560px;
    border-radius: 34px;
  }
  .real-wood-photo-card img {
    object-position: center;
  }
  .real-wood-photo-card::after {
    background: linear-gradient(0deg, rgba(1, 23, 34, .78) 0%, rgba(1,23,34,.22) 64%, transparent 100%);
  }
  .real-wood-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    border-radius: 26px;
  }
}

/* REBUILT REAL BACKYARD HERO */
.rebuilt-hero {
  position: relative;
  min-height: 94vh;
  padding: 150px clamp(18px, 5vw, 74px) 70px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(233, 252, 255, .96), rgba(191, 241, 255, .78)),
    radial-gradient(circle at 75% 18%, rgba(0, 178, 255, .28), transparent 32%);
  border-radius: 0 0 44px 44px;
  color: #06151b;
}

.rebuilt-hero::before {
  content: "";
  position: absolute;
  inset: -100px;
  background-image:
    repeating-radial-gradient(ellipse at 24% 35%, rgba(255,255,255,0) 0 24px, rgba(255,255,255,.82) 25px 28px, rgba(255,255,255,0) 29px 56px),
    repeating-radial-gradient(ellipse at 78% 60%, rgba(0,168,236,0) 0 26px, rgba(0,168,236,.22) 27px 30px, rgba(0,168,236,0) 31px 64px);
  background-size: 480px 310px, 400px 290px;
  animation: crystalPoolWater 12s linear infinite;
  opacity: .5;
  pointer-events: none;
}

.rebuilt-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0, 137, 196, .22);
  color: #047aa8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .15em;
}

.rebuilt-copy h1 {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: clamp(50px, 8vw, 94px);
  line-height: .88;
  letter-spacing: -.075em;
  color: #051419;
}

.rebuilt-copy p {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(5, 20, 25, .72);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.42;
}

.rebuilt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.rebuilt-actions .btn.primary {
  background: #06151b;
  color: #fff;
}

.rebuilt-actions .btn.ghost {
  background: rgba(255,255,255,.72);
  color: #06151b;
  border: 1px solid rgba(6,21,27,.12);
}

.hero-mini-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 32px;
}

.hero-mini-prices div {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(0,137,196,.14);
  box-shadow: 0 18px 45px rgba(0, 94, 135, .1);
}

.hero-mini-prices strong {
  display: block;
  color: #06151b;
  font-size: 24px;
  letter-spacing: -.04em;
}

.hero-mini-prices span {
  display: block;
  margin-top: 4px;
  color: rgba(5,20,25,.65);
  font-weight: 800;
  font-size: 13px;
}

.rebuilt-photo-wrap {
  position: relative;
  min-height: 620px;
  border-radius: clamp(30px, 5vw, 56px);
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 72, 105, .24);
  border: 1px solid rgba(255,255,255,.86);
  background: #dff8ff;
}

.rebuilt-photo-wrap img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.rebuilt-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1,18,25,.42), transparent 52%);
}

.photo-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 20px;
  border-radius: 28px;
  background: rgba(4, 18, 25, .75);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(16px);
}

.photo-badge span {
  color: #8eeaff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.photo-badge strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.04em;
}

@media (max-width: 900px) {
  .rebuilt-hero {
    min-height: auto;
    padding: 120px 16px 44px;
    border-radius: 0 0 32px 32px;
  }

  .rebuilt-hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .rebuilt-copy h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

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

  .rebuilt-photo-wrap {
    min-height: 430px;
    border-radius: 34px;
  }

  .rebuilt-photo-wrap img {
    height: 430px;
  }
}

/* EXCEPTIONAL CUSTOM HERO — not template */
.couture-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px clamp(18px, 4vw, 62px) 34px;
  color: #06151b;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.9), transparent 23%),
    radial-gradient(circle at 78% 10%, rgba(4, 183, 255, .36), transparent 27%),
    linear-gradient(135deg, #d5fbff 0%, #f8fdff 48%, #bdefff 100%);
  isolation: isolate;
}

.couture-hero::before {
  content: "";
  position: absolute;
  inset: -150px;
  z-index: -4;
  background-image:
    repeating-radial-gradient(ellipse at 22% 36%, rgba(255,255,255,0) 0 22px, rgba(255,255,255,.82) 23px 26px, rgba(255,255,255,0) 27px 54px),
    repeating-radial-gradient(ellipse at 75% 60%, rgba(0,172,236,0) 0 26px, rgba(0,172,236,.25) 27px 30px, rgba(0,172,236,0) 31px 64px);
  background-size: 480px 310px, 420px 280px;
  opacity: .58;
  animation: coutureWater 11s linear infinite;
}

.couture-hero::after {
  content: "";
  position: absolute;
  width: 72vw;
  height: 72vw;
  right: -24vw;
  top: -24vw;
  z-index: -3;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,150,216,.22), transparent 64%);
  filter: blur(8px);
}

@keyframes coutureWater {
  0% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(-46px, 32px, 0) rotate(.6deg); }
  100% { transform: translate3d(0,0,0) rotate(0deg); }
}

.water-motion {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(255,255,255,.55), transparent 18%, rgba(255,255,255,.35) 34%, transparent 54%, rgba(255,255,255,.42) 78%, transparent),
    linear-gradient(180deg, transparent, rgba(0,84,121,.08));
  mix-blend-mode: screen;
  animation: shimmerSlide 6s ease-in-out infinite;
  opacity: .52;
}

@keyframes shimmerSlide {
  0%, 100% { transform: translateX(-3%); }
  50% { transform: translateX(3%); }
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  z-index: -1;
  animation: orbFloat 7s ease-in-out infinite;
}
.orb-a {
  width: 280px;
  height: 280px;
  left: 9%;
  top: 17%;
  background: rgba(255, 208, 96, .24);
}
.orb-b {
  width: 330px;
  height: 330px;
  right: 18%;
  bottom: 13%;
  background: rgba(0, 174, 255, .24);
  animation-delay: -2.4s;
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.04); }
}

.couture-hero-grid {
  width: min(1240px, 100%);
  min-height: 68vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 72px .88fr 1.12fr;
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
}

.hero-side-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(6,21,27,.48);
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
}
.hero-side-label em {
  font-style: normal;
  color: #0784b1;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.brand-lockup img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,91,139,.2);
}
.brand-lockup span {
  color: rgba(6,21,27,.62);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.couture-copy .hero-kicker {
  color: #047aa8;
  font-weight: 950;
  letter-spacing: .14em;
  font-size: 12px;
  margin: 0 0 18px;
}

.couture-copy h1 {
  margin: 0;
  font-size: clamp(58px, 8.8vw, 116px);
  line-height: .78;
  letter-spacing: -.085em;
  color: #04151a;
}
.couture-copy h1 span {
  display: block;
  color: #087da9;
}

.couture-lead {
  margin: 30px 0 0;
  max-width: 610px;
  color: rgba(6,21,27,.72);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
}

.couture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.lux-btn {
  min-height: 58px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 18px 48px rgba(0, 89, 132, .12);
}
.lux-btn.dark {
  background: #06151b;
  color: #fff;
}
.lux-btn.light {
  background: rgba(255,255,255,.76);
  color: #06151b;
  border: 1px solid rgba(6,21,27,.12);
  backdrop-filter: blur(10px);
}

.editorial-photo-stage {
  position: relative;
  min-height: 680px;
}

.photo-frame {
  position: absolute;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 100px rgba(0, 87, 127, .26);
  border: 1px solid rgba(255,255,255,.9);
}
.main-frame {
  inset: 28px 0 24px 42px;
  border-radius: 54px;
  transform: rotate(1.2deg);
}
.main-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,.58);
  pointer-events: none;
}
.main-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}
.main-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(2,16,22,.58), transparent 54%),
    linear-gradient(90deg, rgba(2,16,22,.22), transparent 50%);
}

.frame-label {
  position: absolute;
  left: 32px;
  bottom: 32px;
  right: 32px;
  z-index: 3;
  padding: 22px;
  border-radius: 28px;
  background: rgba(2, 18, 25, .72);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  color: #fff;
}
.frame-label span {
  color: #8feaff;
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.frame-label strong {
  display: block;
  font-size: clamp(25px, 3vw, 38px);
  margin-top: 5px;
  letter-spacing: -.04em;
}

.floating-investment {
  position: absolute;
  top: 0;
  right: -8px;
  z-index: 5;
  width: min(260px, 42vw);
  padding: 22px;
  border-radius: 32px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.92);
  backdrop-filter: blur(15px);
  box-shadow: 0 24px 60px rgba(0,86,126,.18);
  color: #06151b;
}
.floating-investment span {
  display: block;
  font-size: 12px;
  font-weight: 950;
  color: #0784b1;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.floating-investment strong {
  display: block;
  margin-top: 4px;
  font-size: 40px;
  letter-spacing: -.06em;
}
.floating-investment small {
  display: block;
  margin-top: 6px;
  color: rgba(6,21,27,.62);
  font-weight: 800;
}

.waterline-card {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  padding: 20px 22px;
  border-radius: 30px;
  background: #06151b;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0,86,126,.2);
}
.waterline-card b {
  display: block;
  font-size: 20px;
}
.waterline-card span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.68);
  font-weight: 800;
}

.couture-price-ribbon {
  width: min(1240px, 100%);
  margin: 26px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.couture-price-ribbon div {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,126,178,.14);
  backdrop-filter: blur(12px);
}
.couture-price-ribbon span {
  color: #0784b1;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
}
.couture-price-ribbon strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  letter-spacing: -.06em;
  color: #06151b;
}
.couture-price-ribbon em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 13px;
  color: rgba(6,21,27,.62);
  font-weight: 850;
}

@media (max-width: 1000px) {
  .couture-hero {
    min-height: auto;
    padding: 112px 16px 28px;
  }
  .couture-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-side-label {
    display: none;
  }
  .brand-lockup img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
  .couture-copy h1 {
    font-size: clamp(58px, 17vw, 80px);
  }
  .editorial-photo-stage {
    min-height: 560px;
  }
  .main-frame {
    inset: 26px 0 20px 0;
    border-radius: 40px;
    transform: rotate(0deg);
  }
  .floating-investment {
    top: -8px;
    right: 10px;
    width: 210px;
    border-radius: 26px;
  }
  .floating-investment strong {
    font-size: 32px;
  }
  .waterline-card {
    left: 12px;
    bottom: 0;
  }
  .couture-price-ribbon {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
}

@media (max-width: 520px) {
  .editorial-photo-stage {
    min-height: 500px;
  }
  .frame-label {
    left: 16px;
    right: 16px;
    bottom: 16px;
    border-radius: 22px;
    padding: 18px;
  }
  .floating-investment {
    position: relative;
    width: auto;
    right: auto;
    top: auto;
    margin: 0 10px -10px auto;
  }
  .waterline-card {
    display: none;
  }
}

/* CLEAN FEATURED POOL COLLECTIONS */
.floating-investment,
.couture-price-ribbon {
  display: none !important;
}

.featured-collections {
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px);
  position: relative;
}

.featured-collections::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.82), transparent 26%),
    radial-gradient(circle at 80% 0%, rgba(0,180,255,.14), transparent 30%);
  pointer-events: none;
}

.featured-collections .section-heading {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.featured-collections .section-heading span {
  color: #0784b1;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}

.featured-collections .section-heading h2 {
  margin: 12px 0 0;
  color: #06151b;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .92;
  letter-spacing: -.065em;
}

.featured-collections .section-heading p {
  margin: 16px auto 0;
  max-width: 640px;
  color: rgba(6,21,27,.66);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
}

.collection-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.collection-card {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #e9fbff;
  box-shadow: 0 26px 70px rgba(0, 91, 132, .16);
  border: 1px solid rgba(255,255,255,.82);
}

.collection-card.big {
  grid-row: span 2;
  min-height: 760px;
}

.collection-card img,
.collection-card .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(2, 16, 23, .72) 0%, rgba(2,16,23,.12) 55%, rgba(2,16,23,.08) 100%);
}

.collection-content {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(4, 18, 25, .78);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px);
  color: #fff;
}

.collection-content span {
  color: #8feaff;
  font-weight: 950;
  letter-spacing: .14em;
  font-size: 12px;
}

.collection-content h3 {
  margin: 8px 0 0;
  font-size: clamp(27px, 3.2vw, 44px);
  line-height: .98;
  letter-spacing: -.055em;
}

.collection-content strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 22px;
}

.collection-content ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.82);
  font-weight: 750;
}

.collection-content li {
  margin: 5px 0;
}

.collection-content a {
  display: inline-flex;
  margin-top: 14px;
  color: #8feaff;
  font-weight: 950;
  text-decoration: none;
}

.composite-photo {
  background:
    linear-gradient(0deg, rgba(0,0,0,.1), rgba(0,0,0,.1)),
    url("assets/featured-composite-deck.jpeg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.03);
}

.semi-photo {
  background:
    linear-gradient(0deg, rgba(0,0,0,.1), rgba(0,0,0,.1)),
    url("assets/above-ground-wood-deck-real.jpeg");
  background-position: center;
}

.inground-photo {
  background:
    linear-gradient(0deg, rgba(0,0,0,.08), rgba(0,0,0,.08)),
    url("assets/pristine-pools-logo.jpeg");
  background-position: center;
}

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

  .collection-card,
  .collection-card.big {
    min-height: 560px;
    grid-row: auto;
    border-radius: 30px;
  }

  .featured-collections {
    padding-left: 14px;
    padding-right: 14px;
  }

  .collection-content {
    left: 14px;
    right: 14px;
    bottom: 14px;
    border-radius: 24px;
  }
}

/* FINAL CLEAN HERO + MINIMIZED COLLECTIONS */
body {
  background:
    radial-gradient(circle at 20% 8%, rgba(255,255,255,.95), transparent 22%),
    linear-gradient(180deg, #c7f6ff 0%, #e8fbff 34%, #f7feff 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.75), transparent 18%),
    radial-gradient(circle at 74% 18%, rgba(36,198,255,.38), transparent 24%),
    linear-gradient(135deg, #9eeeff 0%, #d8fbff 45%, #ffffff 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: -160px;
  z-index: -4;
  pointer-events: none;
  opacity: .55;
  background-image:
    repeating-radial-gradient(ellipse at 25% 40%, rgba(255,255,255,0) 0 26px, rgba(255,255,255,.72) 27px 30px, rgba(255,255,255,0) 31px 62px),
    repeating-radial-gradient(ellipse at 78% 62%, rgba(0,166,235,0) 0 28px, rgba(0,166,235,.24) 29px 32px, rgba(0,166,235,0) 33px 68px);
  background-size: 520px 330px, 430px 310px;
  animation: finalPoolWater 13s linear infinite;
}

@keyframes finalPoolWater {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-42px,28px,0) scale(1.035); }
  100% { transform: translate3d(0,0,0) scale(1); }
}

.final-hero {
  position: relative;
  min-height: 96vh;
  padding: 132px clamp(18px, 5vw, 72px) 56px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(226,252,255,.92), rgba(247,254,255,.78)),
    radial-gradient(circle at 74% 16%, rgba(0,179,255,.28), transparent 32%);
  border-radius: 0 0 48px 48px;
}

.final-water-motion {
  position: absolute;
  inset: -120px;
  opacity: .45;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(ellipse at 20% 35%, rgba(255,255,255,0) 0 24px, rgba(255,255,255,.86) 25px 28px, rgba(255,255,255,0) 29px 58px),
    repeating-radial-gradient(ellipse at 72% 60%, rgba(0,174,238,0) 0 28px, rgba(0,174,238,.22) 29px 31px, rgba(0,174,238,0) 32px 66px);
  background-size: 480px 310px, 420px 280px;
  animation: finalPoolWater 10s linear infinite;
}

.final-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.final-brand-line {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(0,137,196,.2);
  color: #057aa8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}

.final-hero h1 {
  margin: 22px 0 0;
  color: #04151a;
  font-size: clamp(58px, 9vw, 112px);
  line-height: .82;
  letter-spacing: -.085em;
  max-width: 700px;
}

.final-hero p {
  margin: 22px 0 0;
  color: rgba(4,21,26,.72);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 850;
}

.starting-line {
  display: block;
  margin-top: 18px;
  color: #057aa8;
  font-size: clamp(21px, 2.5vw, 34px);
  letter-spacing: -.04em;
}

.final-hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.final-btn {
  min-height: 58px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 18px 45px rgba(0,91,132,.12);
}

.final-btn.dark {
  background: #06151b;
  color: #fff;
}

.final-btn.light {
  background: rgba(255,255,255,.82);
  color: #06151b;
  border: 1px solid rgba(6,21,27,.12);
}

.final-hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  border-radius: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 34px 90px rgba(0,91,132,.22);
  background: #d7f8ff;
}

.final-hero-photo img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  display: block;
}

.final-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2,16,23,.46), transparent 52%);
}

.final-photo-chip {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 20px;
  border-radius: 28px;
  background: rgba(4,18,25,.76);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
}

.final-photo-chip span {
  color: #8feaff;
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.final-photo-chip strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.04em;
}

.final-collections {
  padding: clamp(54px, 7vw, 100px) clamp(16px, 5vw, 72px);
}

.final-collections .section-heading {
  width: min(920px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.final-collections .section-heading span {
  color: #057aa8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}

.final-collections .section-heading h2 {
  margin: 12px 0 0;
  color: #06151b;
  font-size: clamp(38px, 6vw, 70px);
  line-height: .92;
  letter-spacing: -.065em;
}

.final-card-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.final-pool-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 24px 70px rgba(0,91,132,.16);
  background: #dff8ff;
}

.final-pool-card img,
.inground-fallback-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform .55s ease;
}

.final-pool-card:hover img,
.final-pool-card:hover .inground-fallback-photo {
  transform: scale(1.055);
}

.final-pool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(2,16,23,.78) 0%, rgba(2,16,23,.18) 54%, rgba(2,16,23,.04) 100%),
    linear-gradient(120deg, rgba(255,255,255,.18), transparent 36%);
}

.final-card-overlay {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 132px;
  padding: 18px;
  border-radius: 25px;
  background: rgba(4,18,25,.76);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  color: #fff;
}

.final-card-overlay h3 {
  margin: 0;
  font-size: clamp(23px, 2vw, 30px);
  line-height: .98;
  letter-spacing: -.045em;
}

.final-card-overlay strong {
  display: block;
  margin-top: 9px;
  color: #8feaff;
  font-size: 18px;
}

.final-card-overlay a {
  display: inline-flex;
  margin-top: 11px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.inground-fallback-photo {
  background:
    linear-gradient(0deg, rgba(0,0,0,.08), rgba(0,0,0,.08)),
    radial-gradient(circle at 28% 32%, rgba(255,255,255,.58), transparent 18%),
    linear-gradient(135deg, #008bc7, #9eeeff 45%, #f7feff);
}

@media (max-width: 1050px) {
  .final-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .final-hero {
    min-height: auto;
    padding: 118px 16px 44px;
    border-radius: 0 0 34px 34px;
  }

  .final-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .final-hero h1 {
    font-size: clamp(56px, 16vw, 76px);
  }

  .final-hero-photo {
    min-height: 440px;
    border-radius: 34px;
  }

  .final-hero-photo img {
    height: 440px;
  }
}

@media (max-width: 650px) {
  .final-card-grid {
    grid-template-columns: 1fr;
  }

  .final-pool-card {
    min-height: 500px;
  }
}

.final-hero-inner{grid-template-columns:1fr!important;max-width:900px;margin:auto;}

/* PACKAGE-SPECIFIC POOL COLLECTION LANDING PAGES */
.package-landing-body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(255,255,255,.96), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(0,174,238,.22), transparent 28%),
    linear-gradient(180deg, #c7f6ff 0%, #eafcff 38%, #f8feff 100%);
  color: #06151b;
}

.package-landing-body::before {
  content: "";
  position: fixed;
  inset: -130px;
  z-index: -1;
  opacity: .48;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(ellipse at 25% 40%, rgba(255,255,255,0) 0 26px, rgba(255,255,255,.72) 27px 30px, rgba(255,255,255,0) 31px 62px),
    repeating-radial-gradient(ellipse at 78% 62%, rgba(0,166,235,0) 0 28px, rgba(0,166,235,.24) 29px 32px, rgba(0,166,235,0) 33px 68px);
  background-size: 520px 330px, 430px 310px;
  animation: finalPoolWater 13s linear infinite;
}

.package-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1120px, calc(100% - 28px));
  margin: 14px auto 0;
  min-height: 74px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(6, 21, 27, .82);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 55px rgba(0, 91, 132, .14);
}

.package-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: .14em;
}

.package-logo img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
}

.package-call {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #06151b;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 950;
}

.package-landing {
  width: min(1180px, calc(100% - 28px));
  margin: 34px auto 80px;
}

.package-landing-hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: stretch;
}

.package-landing-copy {
  padding: clamp(28px, 5vw, 58px);
  border-radius: clamp(30px, 5vw, 54px);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 28px 80px rgba(0,91,132,.12);
  backdrop-filter: blur(16px);
}

.package-eyebrow {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(5,122,168,.10);
  color: #057aa8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}

.package-landing-copy h1 {
  margin: 20px 0 0;
  color: #04151a;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .84;
  letter-spacing: -.08em;
}

.package-sub {
  margin: 18px 0 0;
  color: rgba(6,21,27,.72);
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 900;
  line-height: 1.25;
}

.package-landing-copy small {
  display: block;
  margin-top: 10px;
  color: #057aa8;
  font-size: 16px;
  font-weight: 850;
}

.package-price-card {
  margin-top: 26px;
  padding: 22px;
  border-radius: 30px;
  background: #06151b;
  color: #fff;
}

.package-price-card span {
  display: block;
  color: #8feaff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.package-price-card strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -.075em;
}

.package-chip-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.package-chip-row span {
  padding: 11px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(6,21,27,.1);
  font-weight: 900;
  color: rgba(6,21,27,.74);
}

.package-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.package-btn {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 950;
}

.package-btn.dark { background: #06151b; color: #fff; }
.package-btn.light { background: #fff; color: #06151b; border: 1px solid rgba(6,21,27,.12); }

.package-landing-photo {
  min-height: 660px;
  overflow: hidden;
  border-radius: clamp(30px, 5vw, 54px);
  box-shadow: 0 30px 88px rgba(0,91,132,.17);
  border: 1px solid rgba(255,255,255,.9);
  background: #d9f8ff;
}

.package-landing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.package-details article,
.package-bottom-cta {
  padding: 28px;
  border-radius: 32px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 18px 50px rgba(0,91,132,.09);
  backdrop-filter: blur(14px);
}

.package-details span {
  color: #057aa8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
}

.package-details h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.package-details ul {
  margin: 14px 0 0;
  padding-left: 18px;
  line-height: 1.8;
  color: rgba(6,21,27,.74);
  font-weight: 850;
}

.package-details p {
  margin: 14px 0 0;
  color: rgba(6,21,27,.74);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.package-bottom-cta {
  margin-top: 18px;
  text-align: center;
}

.package-bottom-cta h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .95;
  letter-spacing: -.065em;
}

.package-bottom-cta p {
  max-width: 760px;
  margin: 14px auto 0;
  color: rgba(6,21,27,.7);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.45;
}

.package-bottom-cta a {
  margin-top: 22px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #06151b;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
}

@media (max-width: 920px) {
  .package-landing-hero,
  .package-details {
    grid-template-columns: 1fr;
  }

  .package-landing-photo {
    min-height: 460px;
  }

  .package-logo span {
    display: none;
  }
}

/* CARD-STYLE PACKAGE LANDING PAGES WITH CUSTOM OPTIONS */
.package-card-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 7%, rgba(255,255,255,.95), transparent 22%),
    radial-gradient(circle at 86% 3%, rgba(255,210,88,.48), transparent 14%),
    linear-gradient(180deg, #d7f8ff 0%, #f8feff 46%, #e9fbff 100%);
  color: #06151b;
}

.package-card-body::before {
  content: "";
  position: fixed;
  inset: -120px;
  z-index: -1;
  pointer-events: none;
  opacity: .45;
  background-image:
    repeating-radial-gradient(ellipse at 25% 40%, rgba(255,255,255,0) 0 26px, rgba(255,255,255,.72) 27px 30px, rgba(255,255,255,0) 31px 62px),
    repeating-radial-gradient(ellipse at 78% 62%, rgba(0,166,235,0) 0 28px, rgba(0,166,235,.24) 29px 32px, rgba(0,166,235,0) 33px 68px);
  background-size: 520px 330px, 430px 310px;
  animation: finalPoolWater 13s linear infinite;
}

.package-card-page {
  width: min(1050px, calc(100% - 28px));
  margin: 34px auto 80px;
}

.package-product-card,
.custom-options-card {
  overflow: hidden;
  border-radius: clamp(30px, 5vw, 52px);
  background: rgba(255, 249, 238, .78);
  border: 1px solid rgba(190, 160, 108, .25);
  box-shadow: 0 28px 80px rgba(0, 91, 132, .13);
  backdrop-filter: blur(16px);
}

.package-card-img {
  width: 100%;
  height: clamp(260px, 45vw, 520px);
  display: block;
  object-fit: cover;
}

.package-card-copy {
  padding: clamp(26px, 5vw, 66px);
}

.package-number {
  display: block;
  color: #b9934e;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: .04em;
  margin-bottom: 12px;
}

.package-card-copy h1,
.custom-options-card h2 {
  margin: 0;
  color: #06151b;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .92;
  letter-spacing: -.065em;
}

.package-card-copy p,
.custom-options-card p {
  margin: 24px 0 0;
  color: rgba(6,21,27,.68);
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.42;
  font-weight: 600;
}

.package-list {
  margin: 34px 0 0;
  padding-left: 28px;
  color: rgba(6,21,27,.68);
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.75;
  font-weight: 650;
}

.package-card-price {
  display: block;
  margin-top: 40px;
  color: #06151b;
  font-size: clamp(58px, 9vw, 104px);
  line-height: .9;
  letter-spacing: -.08em;
  font-family: Georgia, serif;
  font-weight: 400;
}

.custom-options-card {
  margin-top: 26px;
  padding: clamp(28px, 5vw, 60px);
  background: rgba(232, 250, 255, .76);
  border-color: rgba(0, 151, 210, .18);
}

.option-pill-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.option-pill-grid label {
  min-height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(6,21,27,.1);
  color: #06151b;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 850;
}

.option-pill-grid input {
  width: 18px;
  height: 18px;
  accent-color: #057aa8;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.package-btn {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 950;
}

.package-btn.dark {
  background: #06151b;
  color: #fff;
}

.package-btn.light {
  background: #fff;
  color: #06151b;
  border: 1px solid rgba(6,21,27,.12);
}

@media (max-width: 700px) {
  .package-card-page {
    width: min(100% - 24px, 1050px);
    margin-top: 24px;
  }

  .option-pill-grid {
    grid-template-columns: 1fr;
  }

  .package-card-copy {
    padding: 30px 26px 40px;
  }

  .package-card-img {
    height: 260px;
  }
}

/* LIVE PACKAGE PRICING BUILDER */
.live-price-builder {
  margin-top: 28px;
}

.live-price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(18px, 4vw, 28px);
  border-radius: 30px;
  background: #06151b;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,91,132,.16);
}

.live-price-top span {
  color: #8feaff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.live-price-top strong {
  font-family: Georgia, serif;
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.075em;
}

.priced-options {
  margin-top: 18px !important;
}

.priced-options label {
  justify-content: space-between;
  gap: 14px;
  border-radius: 24px !important;
  padding: 14px 16px !important;
  min-height: 68px !important;
}

.priced-options label span {
  display: flex;
  align-items: center;
  gap: 11px;
}

.priced-options label strong {
  color: #057aa8;
  font-size: 15px;
  white-space: nowrap;
}

.price-note {
  margin: 16px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  color: rgba(6,21,27,.62) !important;
  font-weight: 750 !important;
}

@media(max-width:700px) {
  .live-price-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .priced-options label {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* REAL POOL SIZE + LIVE PRICING BUILDER */
.package-price-builder {
  margin-top: 30px;
}

.builder-group {
  margin-top: 22px;
}

.builder-group h3 {
  margin: 0 0 12px;
  color: #06151b;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.045em;
}

.radio-options label input {
  accent-color: #057aa8;
}

.priced-options label input[type="radio"] {
  width: 18px;
  height: 18px;
}

.priced-options label strong {
  font-weight: 950;
}

.package-price-builder + .landing-actions {
  margin-top: 26px;
}

/* DECK INTEGRATION SIZE OPTIONS */
.deck-options label {
  border-radius: 24px !important;
  align-items: flex-start !important;
}

.deck-options label span {
  line-height: 1.25;
}

.builder-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.builder-group h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #057aa8;
  box-shadow: 0 0 0 6px rgba(5,122,168,.12);
}

.priced-options label strong {
  min-width: 90px;
  text-align: right;
}

@media(max-width:700px) {
  .priced-options label strong {
    min-width: 0;
    text-align: left;
  }
}

/* Homepage selector removed: pricing builders live on package landing pages only */
#selector:empty,
#pool-selector:empty,
#estimator:empty {
  display: none !important;
}

/* CLEAN SHOWROOM HOMEPAGE — no giant duplicate package banner */
.real-wood-feature,
.real-wood-photo-card,
.floating-investment,
.couture-price-ribbon,
.hero-mini-prices {
  display: none !important;
}

.clean-showroom-collections {
  padding-top: clamp(54px, 7vw, 96px) !important;
}

.clean-showroom-collections .section-heading p {
  margin: 14px auto 0;
  max-width: 760px;
  color: rgba(6,21,27,.68);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 760;
}

.final-card-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.final-pool-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 24px 70px rgba(0,91,132,.16);
  background: #dff8ff;
}

.final-pool-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.final-pool-card:hover img {
  transform: scale(1.055);
}

.final-pool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(2,16,23,.80) 0%, rgba(2,16,23,.18) 56%, rgba(2,16,23,.04) 100%);
}

.final-card-overlay {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 128px;
  padding: 18px;
  border-radius: 25px;
  background: rgba(4,18,25,.76);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  color: #fff;
}

.final-card-overlay h3 {
  margin: 0;
  font-size: clamp(23px, 2vw, 30px);
  line-height: .98;
  letter-spacing: -.045em;
}

.final-card-overlay strong {
  display: block;
  margin-top: 9px;
  color: #8feaff;
  font-size: 18px;
}

.final-card-overlay a {
  display: inline-flex;
  margin-top: 11px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.showroom-why-pristine {
  padding: clamp(54px, 7vw, 96px) clamp(16px, 5vw, 72px);
}

.why-grid {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.why-grid article {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 48px rgba(0,91,132,.09);
}

.why-grid strong {
  display: block;
  color: #06151b;
  font-size: 20px;
  letter-spacing: -.03em;
}

.why-grid p {
  margin: 10px 0 0;
  color: rgba(6,21,27,.68);
  line-height: 1.45;
  font-weight: 750;
}

.showroom-quote {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 70px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: clamp(32px, 5vw, 54px);
  text-align: center;
  background: #06151b;
  color: #fff;
}

.showroom-quote h2 {
  margin: 0;
  font-size: clamp(40px, 7vw, 82px);
  line-height: .9;
  letter-spacing: -.07em;
}

.showroom-quote p {
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.45;
}

.showroom-quote a {
  margin: 24px 6px 0;
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #06151b;
  text-decoration: none;
  font-weight: 950;
}

@media (max-width: 1050px) {
  .final-card-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .final-card-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .final-pool-card {
    min-height: 490px;
  }
}

/* HOMEPAGE COPY REDUCED */
.clean-showroom-collections .section-heading h2,
.featured-collections .section-heading h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.clean-showroom-collections .section-heading p:empty,
.featured-collections .section-heading p:empty {
  display: none;
}

.why-grid article {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-grid p {
  font-size: 16px !important;
}

.showroom-quote p {
  font-size: 20px !important;
  font-weight: 800 !important;
}

/* REMOVE HEADER BAR */
header,
.package-header,
.site-header,
nav,
.navbar,
.topbar,
.header-bar {
  display: none !important;
}

body {
  padding-top: 0 !important;
}

/* ESTIMATE REQUEST FORM */
.estimate-form-section {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(38px, 6vw, 82px) auto;
  padding: clamp(26px, 5vw, 58px);
  border-radius: clamp(30px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(226,250,255,.72)),
    radial-gradient(circle at 85% 0%, rgba(0,174,238,.2), transparent 30%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 28px 80px rgba(0,91,132,.13);
  backdrop-filter: blur(16px);
}

.estimate-form-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.estimate-form-copy span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(5,122,168,.10);
  color: #057aa8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}

.estimate-form-copy h2 {
  margin: 18px 0 0;
  color: #06151b;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .92;
  letter-spacing: -.065em;
}

.estimate-form-copy p {
  margin: 14px 0 0;
  color: rgba(6,21,27,.68);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 760;
}

.estimate-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.estimate-form label {
  display: grid;
  gap: 8px;
  color: rgba(6,21,27,.72);
  font-weight: 900;
  font-size: 14px;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid rgba(6,21,27,.12);
  border-radius: 20px;
  min-height: 56px;
  padding: 0 16px;
  background: rgba(255,255,255,.9);
  color: #06151b;
  font: inherit;
  font-weight: 750;
  box-sizing: border-box;
}

.estimate-form textarea {
  padding-top: 15px;
  resize: vertical;
}

.estimate-form button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: #06151b;
  color: #fff;
  font-weight: 950;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0,91,132,.16);
}

@media (max-width: 850px) {
  .estimate-form-wrap,
  .form-row {
    grid-template-columns: 1fr;
  }

  .estimate-form-section {
    width: min(100% - 24px, 1180px);
  }
}

/* EXCEPTIONAL ANIMATED LIQUID HEADER */
header,
.package-header,
.site-header,
nav,
.navbar,
.topbar,
.header-bar {
  display: flex !important;
}

.liquid-header {
  position: fixed !important;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(1180px, calc(100% - 28px));
  min-height: 78px;
  padding: 10px 12px;
  border-radius: 999px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background:
    linear-gradient(135deg, rgba(4, 23, 31, .82), rgba(7, 84, 112, .62)),
    radial-gradient(circle at 18% 20%, rgba(104, 231, 255, .28), transparent 28%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 24px 70px rgba(0, 92, 132, .24);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.liquid-header::before {
  content: "";
  position: absolute;
  inset: -80px;
  z-index: -1;
  opacity: .52;
  background-image:
    repeating-radial-gradient(ellipse at 20% 40%, rgba(255,255,255,0) 0 20px, rgba(255,255,255,.46) 21px 23px, rgba(255,255,255,0) 24px 46px),
    repeating-radial-gradient(ellipse at 82% 58%, rgba(74,213,255,0) 0 24px, rgba(74,213,255,.26) 25px 27px, rgba(74,213,255,0) 28px 54px);
  background-size: 360px 230px, 300px 210px;
  animation: headerWaterFlow 9s linear infinite;
}

.liquid-header::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-120%);
  animation: headerShine 5.5s ease-in-out infinite;
}

@keyframes headerWaterFlow {
  0% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-28px,18px,0); }
  100% { transform: translate3d(0,0,0); }
}

@keyframes headerShine {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.liquid-brand {
  position: relative;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  min-width: max-content;
}

.logo-orbit {
  width: 58px;
  height: 58px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255,255,255,.12);
}

.logo-orbit::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 26px;
  background: conic-gradient(from 0deg, rgba(142,234,255,.0), rgba(142,234,255,.9), rgba(255,213,94,.85), rgba(142,234,255,.0));
  animation: logoOrbit 4.2s linear infinite;
  z-index: -1;
}

.logo-orbit::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(142,234,255,.28), transparent 64%);
  animation: logoPulse 2.4s ease-in-out infinite;
  z-index: -2;
}

.logo-orbit img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

@keyframes logoOrbit {
  to { transform: rotate(360deg); }
}

@keyframes logoPulse {
  0%,100% { transform: scale(.94); opacity: .7; }
  50% { transform: scale(1.12); opacity: 1; }
}

.brand-words {
  display: grid;
  gap: 2px;
}

.brand-words strong {
  color: #fff;
  font-size: 16px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.brand-words em {
  color: rgba(255,255,255,.68);
  font-style: normal;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.liquid-nav {
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  background: transparent !important;
}

.liquid-nav a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  padding: 13px 12px;
  border-radius: 999px;
  transition: .22s ease;
}

.liquid-nav a:hover {
  color: #06151b;
  background: rgba(255,255,255,.92);
}

.liquid-cta {
  position: relative;
  z-index: 2;
  min-height: 54px;
  padding: 0 21px;
  border-radius: 999px;
  background: #fff;
  color: #06151b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
  white-space: nowrap;
}

.liquid-cta::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(142,234,255,.42), transparent 70%);
  z-index: -1;
  animation: ctaGlow 2.2s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%,100% { opacity: .45; transform: scale(.98); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* Keep page content from hiding under fixed header */
body {
  padding-top: 0 !important;
}

.hero,
.final-hero,
.couture-hero,
.package-card-page,
.package-landing {
  scroll-margin-top: 120px;
}

@media (max-width: 980px) {
  .liquid-header {
    border-radius: 32px;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 10px;
  }

  .liquid-brand {
    width: 100%;
    justify-content: center;
  }

  .liquid-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px;
  }

  .liquid-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .liquid-cta {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .liquid-header {
    width: calc(100% - 18px);
    top: 9px;
  }

  .brand-words strong {
    font-size: 14px;
  }

  .brand-words em {
    font-size: 10px;
  }

  .logo-orbit {
    width: 52px;
    height: 52px;
  }

  .logo-orbit img {
    width: 46px;
    height: 46px;
  }

  .liquid-nav {
    display: none !important;
  }

  .liquid-cta {
    min-height: 48px;
    width: 100%;
  }
}

/* FIX HEADER/HERO COLLISION — slimmer premium header */
.liquid-header {
  top: 12px !important;
  min-height: 64px !important;
  width: min(1080px, calc(100% - 26px)) !important;
  padding: 8px 10px !important;
  border-radius: 999px !important;
}

.logo-orbit {
  width: 48px !important;
  height: 48px !important;
  border-radius: 17px !important;
}

.logo-orbit img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
}

.brand-words strong {
  font-size: 14px !important;
}

.brand-words em {
  font-size: 9px !important;
}

.liquid-cta {
  min-height: 44px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
}

.liquid-nav a {
  font-size: 12px !important;
  padding: 10px 9px !important;
}

/* Push top sections below fixed header */
.hero,
.final-hero,
.couture-hero,
.showroom-why-pristine:first-of-type,
.featured-collections:first-of-type,
main > section:first-child {
  padding-top: clamp(118px, 18vw, 160px) !important;
}

/* Fix homepage top heading being hidden behind header */
body > section:first-of-type,
body > main:first-of-type {
  margin-top: 96px !important;
}

/* Mobile: header becomes compact brand + CTA only */
@media (max-width: 760px) {
  .liquid-header {
    top: 10px !important;
    width: calc(100% - 24px) !important;
    min-height: 62px !important;
    border-radius: 28px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .liquid-brand {
    width: 100% !important;
    justify-content: center !important;
  }

  .brand-words {
    text-align: left !important;
  }

  .liquid-nav {
    display: none !important;
  }

  .liquid-cta {
    width: 100% !important;
    min-height: 44px !important;
  }

  .hero,
  .final-hero,
  .couture-hero,
  .showroom-why-pristine:first-of-type,
  .featured-collections:first-of-type,
  main > section:first-child {
    padding-top: 155px !important;
  }

  body > section:first-of-type,
  body > main:first-of-type {
    margin-top: 130px !important;
  }
}

/* On very small screens, reduce logo/brand even more */
@media (max-width: 430px) {
  .liquid-header {
    min-height: 58px !important;
    padding: 7px 9px !important;
  }

  .logo-orbit {
    width: 44px !important;
    height: 44px !important;
  }

  .logo-orbit img {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-words strong {
    font-size: 13px !important;
  }

  .brand-words em {
    font-size: 8px !important;
    letter-spacing: .08em !important;
  }
}

/* ATTACHED PREMIUM HEADER — integrated with page instead of floating loose */
.liquid-header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 108px !important;
  margin: 0 !important;
  padding: 18px clamp(18px, 5vw, 72px) 22px !important;
  border-radius: 0 0 42px 42px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 22px !important;
  background:
    linear-gradient(135deg, rgba(3, 31, 43, .96), rgba(6, 100, 134, .82) 52%, rgba(17, 191, 232, .42)),
    radial-gradient(circle at 9% 28%, rgba(255, 211, 82, .28), transparent 18%),
    radial-gradient(circle at 82% 22%, rgba(128, 236, 255, .38), transparent 28%) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.32) !important;
  box-shadow: 0 28px 70px rgba(0, 91, 132, .18) !important;
  backdrop-filter: blur(24px) !important;
  overflow: hidden !important;
}

.liquid-header::before {
  opacity: .68 !important;
  inset: -90px !important;
}

.liquid-header::after {
  opacity: .82 !important;
}

.liquid-brand {
  justify-content: flex-start !important;
  gap: 16px !important;
}

.logo-orbit {
  width: 76px !important;
  height: 76px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.18) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.24), 0 0 0 10px rgba(255,255,255,.08) !important;
}

.logo-orbit::before {
  inset: -7px !important;
  border-radius: 999px !important;
}

.logo-orbit::after {
  inset: -18px !important;
  border-radius: 999px !important;
}

.logo-orbit img {
  width: 66px !important;
  height: 66px !important;
  border-radius: 999px !important;
}

.brand-words strong {
  font-size: clamp(20px, 2.6vw, 34px) !important;
  letter-spacing: .035em !important;
}

.brand-words em {
  margin-top: 4px !important;
  font-size: clamp(10px, 1.2vw, 14px) !important;
  color: rgba(255,255,255,.78) !important;
}

.liquid-nav {
  justify-content: center !important;
}

.liquid-nav a {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.84) !important;
}

.liquid-nav a:hover {
  color: #06151b !important;
  background: rgba(255,255,255,.94) !important;
}

.liquid-cta {
  min-height: 58px !important;
  padding: 0 28px !important;
  font-size: 15px !important;
  background: #fff !important;
}

/* remove artificial gap caused by floating header fixes */
body > section:first-of-type,
body > main:first-of-type {
  margin-top: 0 !important;
}

.hero,
.final-hero,
.couture-hero,
.showroom-why-pristine:first-of-type,
.featured-collections:first-of-type,
main > section:first-child {
  padding-top: clamp(48px, 7vw, 86px) !important;
}

/* Add a soft water transition under header */
.liquid-header + section,
.liquid-header + main {
  position: relative;
}

.liquid-header + section::before,
.liquid-header + main::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 58px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(33, 197, 234, .28), rgba(33,197,234,0));
  z-index: 0;
}

/* Mobile integrated header */
@media (max-width: 760px) {
  .liquid-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    min-height: 118px !important;
    border-radius: 0 0 34px 34px !important;
    padding: 14px 16px 16px !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .liquid-brand {
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .logo-orbit {
    width: 64px !important;
    height: 64px !important;
  }

  .logo-orbit img {
    width: 56px !important;
    height: 56px !important;
  }

  .brand-words strong {
    font-size: 22px !important;
  }

  .brand-words em {
    font-size: 11px !important;
  }

  .liquid-cta {
    width: 100% !important;
    min-height: 52px !important;
  }

  .hero,
  .final-hero,
  .couture-hero,
  .showroom-why-pristine:first-of-type,
  .featured-collections:first-of-type,
  main > section:first-child {
    padding-top: 42px !important;
  }

  body > section:first-of-type,
  body > main:first-of-type {
    margin-top: 0 !important;
  }
}

@media (max-width: 430px) {
  .liquid-header {
    min-height: 112px !important;
  }

  .logo-orbit {
    width: 58px !important;
    height: 58px !important;
  }

  .logo-orbit img {
    width: 50px !important;
    height: 50px !important;
  }

  .brand-words strong {
    font-size: 20px !important;
  }
}

/* REAL CRYSTAL BLUE ANIMATED POOL WATER BACKGROUND */
html {
  min-height: 100%;
  background: #65d8ff;
}

body {
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.95) 0 2%, transparent 16%),
    linear-gradient(180deg, #d9fbff 0%, #9fefff 26%, #54d4ff 60%, #18a9e8 100%) !important;
  background-attachment: fixed !important;
  position: relative;
  overflow-x: hidden;
}

/* pool water base movement */
body::before {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 26%, rgba(255,255,255,.75), transparent 18%),
    radial-gradient(ellipse at 70% 18%, rgba(255,255,255,.42), transparent 24%),
    radial-gradient(ellipse at 42% 78%, rgba(255,255,255,.30), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,0) 36%, rgba(255,255,255,.32) 70%, rgba(255,255,255,0));
  filter: blur(.2px);
  opacity: .78;
  animation: realWaterDrift 16s ease-in-out infinite;
}

/* moving caustic light lines */
body::after {
  content: "";
  position: fixed;
  inset: -22%;
  z-index: -9;
  pointer-events: none;
  opacity: .62;
  background-image:
    url("data:image/svg+xml,%3Csvg width='900' height='620' viewBox='0 0 900 620' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='blur'%3E%3CfeGaussianBlur stdDeviation='1.1'/%3E%3C/filter%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='5' filter='url(%23blur)'%3E%3Cpath d='M-80 90 C90 10 180 165 335 82 S610 6 985 106'/%3E%3Cpath d='M-70 215 C118 129 205 300 373 202 S640 109 972 225'/%3E%3Cpath d='M-90 360 C65 271 205 445 378 340 S690 247 990 371'/%3E%3Cpath d='M-40 505 C130 426 240 585 430 490 S720 420 970 525'/%3E%3Cpath d='M80 -20 C190 112 60 205 204 328 S350 485 228 686'/%3E%3Cpath d='M340 -40 C450 95 312 205 470 326 S610 480 490 692'/%3E%3Cpath d='M630 -20 C760 120 600 235 748 358 S850 510 770 686'/%3E%3C/g%3E%3Cg fill='none' stroke='%23007fbd' stroke-opacity='.18' stroke-width='8' filter='url(%23blur)'%3E%3Cpath d='M-60 146 C140 68 224 244 410 145 S680 72 985 160'/%3E%3Cpath d='M-70 420 C110 345 250 520 445 415 S735 340 1010 448'/%3E%3Cpath d='M220 -30 C315 115 185 220 330 350 S465 500 360 690'/%3E%3Cpath d='M555 -45 C660 110 520 235 675 370 S820 520 690 690'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.36), transparent 14%),
    radial-gradient(circle at 84% 12%, rgba(255,255,255,.26), transparent 18%);
  background-size: 760px 520px, 420px 420px, 520px 520px;
  mix-blend-mode: screen;
  animation: realCaustics 11s linear infinite;
}

/* sparkle/glint overlay */
.water-sparkle-layer {
  position: fixed;
  inset: 0;
  z-index: -8;
  pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(circle at 13% 22%, rgba(255,255,255,.9) 0 1px, transparent 4px),
    radial-gradient(circle at 34% 62%, rgba(255,255,255,.85) 0 1px, transparent 5px),
    radial-gradient(circle at 76% 28%, rgba(255,255,255,.85) 0 1px, transparent 4px),
    radial-gradient(circle at 88% 74%, rgba(255,255,255,.75) 0 1px, transparent 5px),
    radial-gradient(circle at 52% 16%, rgba(255,255,255,.75) 0 1px, transparent 4px);
  background-size: 520px 520px;
  animation: waterSparkle 7s ease-in-out infinite;
}

/* injected pseudo-like layer for pages without extra markup */
body > *:first-child::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -7;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.18) 18%, transparent 35%),
    linear-gradient(65deg, transparent 10%, rgba(255,255,255,.12) 34%, transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.22), transparent 28%, rgba(0,119,190,.08));
  animation: waterLightSweep 8.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes realWaterDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
  50% { transform: translate3d(-36px, 24px, 0) scale(1.045) rotate(.35deg); }
}

@keyframes realCaustics {
  0% { transform: translate3d(0,0,0) scale(1); background-position: 0 0, 0 0, 0 0; }
  50% { transform: translate3d(-54px, 36px, 0) scale(1.04); background-position: 130px 80px, -40px 60px, 70px -50px; }
  100% { transform: translate3d(0,0,0) scale(1); background-position: 260px 160px, 0 0, 0 0; }
}

@keyframes waterSparkle {
  0%, 100% { opacity: .28; transform: translateY(0); }
  50% { opacity: .78; transform: translateY(-14px); }
}

@keyframes waterLightSweep {
  0%, 100% { transform: translateX(-4%) skewX(-6deg); opacity: .35; }
  50% { transform: translateX(4%) skewX(-6deg); opacity: .68; }
}

/* Make cards float over water instead of fighting the background */
section,
.estimate-form-section,
.package-product-card,
.custom-options-card,
.package-details article,
.package-bottom-cta,
.why-grid article,
.final-pool-card,
.showroom-quote {
  position: relative;
}

/* Header becomes glass over moving water */
.liquid-header {
  background:
    linear-gradient(135deg, rgba(0, 38, 54, .78), rgba(0, 128, 180, .52)),
    radial-gradient(circle at 12% 30%, rgba(255,255,255,.22), transparent 26%) !important;
  box-shadow: 0 20px 64px rgba(0, 85, 125, .22) !important;
}

/* Reduce old drawn-ring pattern visibility if it exists in older rules */
.showroom-why-pristine,
.featured-collections,
.final-collections,
.estimate-form-section,
.package-card-body,
.package-landing-body {
  background-color: transparent !important;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  body > *:first-child::before,
  .water-sparkle-layer {
    animation: none !important;
  }
}

/* DELETE HEADER COMPLETELY */
header,
.liquid-header,
.package-header,
.site-header,
nav,
.navbar,
.topbar,
.header-bar {
  display: none !important;
}

/* LOGO-LED DYNAMIC HERO */
.logo-led-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(42px, 7vw, 90px) clamp(16px, 5vw, 74px);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 214, 92, .45), transparent 20%),
    radial-gradient(circle at 30% 64%, rgba(255,255,255,.38), transparent 24%),
    linear-gradient(180deg, rgba(5, 99, 149, .18), rgba(10, 185, 229, .16));
  isolation: isolate;
}

.logo-led-hero::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -4;
  background-image:
    url("data:image/svg+xml,%3Csvg width='900' height='620' viewBox='0 0 900 620' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='blur'%3E%3CfeGaussianBlur stdDeviation='1.2'/%3E%3C/filter%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.58' stroke-width='5' filter='url(%23blur)'%3E%3Cpath d='M-80 90 C90 10 180 165 335 82 S610 6 985 106'/%3E%3Cpath d='M-70 215 C118 129 205 300 373 202 S640 109 972 225'/%3E%3Cpath d='M-90 360 C65 271 205 445 378 340 S690 247 990 371'/%3E%3Cpath d='M-40 505 C130 426 240 585 430 490 S720 420 970 525'/%3E%3Cpath d='M80 -20 C190 112 60 205 204 328 S350 485 228 686'/%3E%3Cpath d='M340 -40 C450 95 312 205 470 326 S610 480 490 692'/%3E%3Cpath d='M630 -20 C760 120 600 235 748 358 S850 510 770 686'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 850px 580px;
  mix-blend-mode: screen;
  opacity: .72;
  animation: logoHeroCaustics 13s linear infinite;
}

.logo-led-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.18) 18%, transparent 38%),
    radial-gradient(circle at 52% 34%, rgba(255,255,255,.5), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.28), transparent 42%, rgba(0, 121, 180, .18));
  animation: heroLightSweep 8s ease-in-out infinite;
}

.hero-water-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  max-width: 90vw;
  max-height: 90vw;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.55), transparent 28%),
    radial-gradient(circle, rgba(0, 194, 255, .32), transparent 68%);
  filter: blur(10px);
  animation: heroGlowPulse 5s ease-in-out infinite;
  z-index: -2;
}

.hero-sunburst {
  position: absolute;
  top: 10%;
  right: 12%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 221, 97, .7), rgba(255, 221, 97, .18) 40%, transparent 70%);
  filter: blur(6px);
  animation: sunFloat 6.5s ease-in-out infinite;
  z-index: -2;
}

.logo-led-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.animated-logo-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: clamp(38px, 6vw, 70px);
  overflow: hidden;
  box-shadow: 0 34px 110px rgba(0, 80, 125, .32);
  border: 1px solid rgba(255,255,255,.55);
  animation: logoStageFloat 5.4s ease-in-out infinite;
  background: rgba(255,255,255,.18);
}

.animated-logo-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
  animation: logoBreath 6s ease-in-out infinite;
}

.animated-logo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,.38) 36%, transparent 54%),
    radial-gradient(circle at 40% 74%, rgba(123,235,255,.28), transparent 30%);
  mix-blend-mode: screen;
  transform: translateX(-120%);
  animation: logoShimmer 4.2s ease-in-out infinite;
}

.logo-ripple {
  position: absolute;
  inset: 10%;
  z-index: 2;
  border-radius: 50%;
  border: 2px solid rgba(142, 234, 255, .42);
  animation: logoRipple 3.4s ease-out infinite;
  pointer-events: none;
}

.ripple-two { animation-delay: 1.1s; }
.ripple-three { animation-delay: 2.2s; }

.hero-message-card {
  padding: clamp(28px, 5vw, 60px);
  border-radius: clamp(32px, 5vw, 58px);
  background: rgba(3, 24, 34, .74);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 30px 90px rgba(0, 80, 125, .22);
  backdrop-filter: blur(20px);
  color: #fff;
}

.hero-message-card span {
  display: inline-flex;
  color: #8feaff;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .18em;
}

.hero-message-card h1 {
  margin: 18px 0 0;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: .86;
  letter-spacing: -.075em;
  color: #fff;
}

.hero-message-card p {
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.38;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions a {
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 950;
  background: #fff;
  color: #06151b;
}

.hero-actions a:first-child {
  background: #8feaff;
}

@keyframes logoHeroCaustics {
  0% { transform: translate3d(0,0,0) scale(1); background-position: 0 0; }
  50% { transform: translate3d(-54px, 36px, 0) scale(1.04); background-position: 180px 120px; }
  100% { transform: translate3d(0,0,0) scale(1); background-position: 360px 240px; }
}

@keyframes heroLightSweep {
  0%, 100% { transform: translateX(-4%); opacity: .45; }
  50% { transform: translateX(4%); opacity: .8; }
}

@keyframes heroGlowPulse {
  0%,100% { transform: scale(.92); opacity: .6; }
  50% { transform: scale(1.08); opacity: .95; }
}

@keyframes sunFloat {
  0%,100% { transform: translateY(0); opacity: .8; }
  50% { transform: translateY(-18px); opacity: 1; }
}

@keyframes logoStageFloat {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes logoBreath {
  0%,100% { transform: scale(1.03); filter: saturate(1.05); }
  50% { transform: scale(1.08); filter: saturate(1.18) brightness(1.06); }
}

@keyframes logoShimmer {
  0%, 50% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes logoRipple {
  0% { transform: scale(.55); opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* remove old top spacing from header versions */
body > section:first-of-type,
body > main:first-of-type {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .logo-led-hero {
    min-height: auto;
    padding-top: 44px;
  }

  .logo-led-wrap {
    grid-template-columns: 1fr;
  }

  .animated-logo-stage {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .hero-message-card {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .logo-led-hero {
    padding: 28px 14px 52px;
  }

  .hero-message-card h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .hero-actions a {
    width: 100%;
  }
}

/* COMBINED SEAMLESS LOGO + HERO SECTION */
.logo-led-hero,
.animated-logo-stage,
.hero-message-card {
  display: none !important;
}

.combined-logo-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(28px, 5vw, 72px);
  isolation: isolate;
  background: #06151b;
}

.combined-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-image: url("assets/hero-pristine-pools-logo.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: combinedHeroBreath 8s ease-in-out infinite;
}

.combined-logo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(0deg, rgba(0, 12, 18, .88) 0%, rgba(0, 22, 32, .64) 38%, rgba(0, 0, 0, .16) 78%),
    radial-gradient(circle at 50% 28%, rgba(255, 213, 92, .18), transparent 28%),
    radial-gradient(circle at 52% 62%, rgba(0, 198, 255, .26), transparent 32%);
}

.combined-logo-hero::after {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -2;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg width='900' height='620' viewBox='0 0 900 620' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='blur'%3E%3CfeGaussianBlur stdDeviation='1.2'/%3E%3C/filter%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.48' stroke-width='5' filter='url(%23blur)'%3E%3Cpath d='M-80 90 C90 10 180 165 335 82 S610 6 985 106'/%3E%3Cpath d='M-70 215 C118 129 205 300 373 202 S640 109 972 225'/%3E%3Cpath d='M-90 360 C65 271 205 445 378 340 S690 247 990 371'/%3E%3Cpath d='M-40 505 C130 426 240 585 430 490 S720 420 970 525'/%3E%3Cpath d='M80 -20 C190 112 60 205 204 328 S350 485 228 686'/%3E%3Cpath d='M340 -40 C450 95 312 205 470 326 S610 480 490 692'/%3E%3Cpath d='M630 -20 C760 120 600 235 748 358 S850 510 770 686'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 850px 580px;
  mix-blend-mode: screen;
  opacity: .56;
  animation: combinedWaterMove 13s linear infinite;
}

.combined-water-shimmer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,.24) 36%, transparent 55%),
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.16), transparent 20%),
    radial-gradient(circle at 84% 62%, rgba(142,234,255,.18), transparent 24%);
  mix-blend-mode: screen;
  animation: combinedShimmer 5.5s ease-in-out infinite;
}

.combined-hero-content {
  width: min(920px, 100%);
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 58px);
  border-radius: clamp(30px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(2, 18, 25, .74), rgba(3, 45, 61, .58));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  color: #fff;
}

.combined-hero-content span {
  display: inline-flex;
  color: #8feaff;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .18em;
}

.combined-hero-content h1 {
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(48px, 8vw, 104px);
  line-height: .86;
  letter-spacing: -.08em;
}

.combined-hero-content p {
  margin: 22px 0 0;
  max-width: 820px;
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 2.25vw, 27px);
  line-height: 1.38;
  font-weight: 780;
}

.combined-hero-content a {
  margin-top: 30px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8feaff;
  color: #06151b;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 18px 48px rgba(0,0,0,.2);
}

@keyframes combinedHeroBreath {
  0%, 100% { transform: scale(1.03); filter: saturate(1.05) brightness(.96); }
  50% { transform: scale(1.08); filter: saturate(1.18) brightness(1.04); }
}

@keyframes combinedWaterMove {
  0% { transform: translate3d(0,0,0) scale(1); background-position: 0 0; }
  50% { transform: translate3d(-54px, 36px, 0) scale(1.04); background-position: 180px 120px; }
  100% { transform: translate3d(0,0,0) scale(1); background-position: 360px 240px; }
}

@keyframes combinedShimmer {
  0%, 100% { transform: translateX(-6%); opacity: .42; }
  50% { transform: translateX(6%); opacity: .84; }
}

@media (max-width: 720px) {
  .combined-logo-hero {
    min-height: 92vh;
    padding: 18px;
    align-items: end;
  }

  .combined-hero-bg {
    background-position: center top;
  }

  .combined-hero-content {
    border-radius: 32px;
  }

  .combined-hero-content h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .combined-hero-content a {
    width: 100%;
  }
}

/* REDUCE HERO DESCRIPTION CARD SIGNIFICANTLY */
.combined-logo-hero {
  min-height: 92vh !important;
  align-items: end !important;
}

.combined-hero-content {
  width: min(620px, 100%) !important;
  padding: clamp(18px, 3vw, 30px) !important;
  border-radius: 30px !important;
  background: linear-gradient(135deg, rgba(2, 18, 25, .66), rgba(3, 45, 61, .42)) !important;
  backdrop-filter: blur(14px) !important;
}

.combined-hero-content span {
  font-size: 10px !important;
  letter-spacing: .16em !important;
}

.combined-hero-content h1 {
  margin-top: 10px !important;
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: .9 !important;
  letter-spacing: -.065em !important;
}

.combined-hero-content p {
  margin-top: 12px !important;
  font-size: clamp(14px, 1.7vw, 18px) !important;
  line-height: 1.35 !important;
}

.combined-hero-content a {
  margin-top: 16px !important;
  min-height: 48px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
}

/* WHY PRISTINE POOLS POSITIONED AFTER COLLECTION CARDS */
.showroom-why-pristine {
  padding-top: clamp(34px, 5vw, 68px) !important;
}

.final-collections + .showroom-why-pristine,
.featured-collections + .showroom-why-pristine {
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  .combined-logo-hero {
    min-height: 86vh !important;
  }

  .combined-hero-content {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .combined-hero-content h1 {
    font-size: clamp(34px, 11vw, 48px) !important;
  }

  .combined-hero-content p {
    font-size: 14px !important;
  }
}

/* IMAGE-ONLY HERO: clean luxury, no animated white line overlays */
.combined-logo-hero,
.logo-led-hero,
.animated-logo-stage,
.hero-message-card,
.combined-hero-bg,
.combined-water-shimmer,
.combined-hero-content,
.logo-ripple,
.ripple-one,
.ripple-two,
.ripple-three,
.hero-water-glow,
.hero-sunburst {
  display: none !important;
}

.image-only-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #06151b;
  isolation: isolate;
}

.hero-image-zoom {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-pristine-pools-logo.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  animation: cleanHeroZoom 12s ease-in-out infinite;
  z-index: -3;
}

.image-only-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 218, 94, .18), transparent 28%),
    radial-gradient(circle at 50% 72%, rgba(0, 198, 255, .14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0, 23, 35, .16));
  animation: cleanLogoGlow 5s ease-in-out infinite;
}

.hero-soft-shimmer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0%, rgba(255,255,255,.10) 36%, transparent 56%),
    radial-gradient(circle at 15% 22%, rgba(255,255,255,.11), transparent 18%);
  mix-blend-mode: screen;
  animation: cleanSoftShimmer 7s ease-in-out infinite;
}

.image-only-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0,16,23,.34), transparent 38%, rgba(255,255,255,.03));
}

.hero-content-under {
  padding: clamp(24px, 4vw, 54px) clamp(16px, 5vw, 72px) clamp(36px, 6vw, 76px);
  background: transparent;
}

.hero-under-card {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: clamp(20px, 4vw, 34px);
  border-radius: clamp(26px, 4vw, 40px);
  background: linear-gradient(135deg, rgba(2, 18, 25, .76), rgba(3, 45, 61, .54));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 26px 78px rgba(0, 80, 125, .20);
  backdrop-filter: blur(18px);
  color: #fff;
}

.hero-under-card span {
  display: inline-flex;
  color: #8feaff;
  font-weight: 950;
  font-size: 11px;
  letter-spacing: .18em;
}

.hero-under-card h1 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(34px, 5.8vw, 66px);
  line-height: .9;
  letter-spacing: -.065em;
}

.hero-under-card p {
  margin: 14px auto 0;
  max-width: 660px;
  color: rgba(255,255,255,.82);
  font-size: clamp(14px, 1.8vw, 19px);
  line-height: 1.35;
  font-weight: 780;
}

.hero-under-card a {
  margin-top: 18px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8feaff;
  color: #06151b;
  text-decoration: none;
  font-weight: 950;
}

@keyframes cleanHeroZoom {
  0%, 100% { transform: scale(1.02); filter: saturate(1.06) brightness(.98); }
  50% { transform: scale(1.07); filter: saturate(1.16) brightness(1.04); }
}

@keyframes cleanLogoGlow {
  0%,100% { opacity: .66; }
  50% { opacity: 1; }
}

@keyframes cleanSoftShimmer {
  0%, 100% { transform: translateX(-5%); opacity: .22; }
  50% { transform: translateX(5%); opacity: .5; }
}

/* Disable old visible line animation overlays on hero only */
.image-only-hero .water-sparkle-layer,
.image-only-hero .logo-ripple,
.image-only-hero *::before,
.image-only-hero *::after {
  border: 0 !important;
}

@media (max-width: 720px) {
  .image-only-hero {
    min-height: 82vh;
  }
  .hero-image-zoom {
    background-position: center top;
  }
  .hero-content-under {
    padding: 18px 14px 38px;
  }
  .hero-under-card {
    border-radius: 26px;
    padding: 20px 16px;
  }
  .hero-under-card h1 {
    font-size: clamp(34px, 11vw, 52px);
  }
  .hero-under-card a {
    width: 100%;
  }
}

/* FINAL RESTORE + QUOTE INTEGRATION */
.showroom-quote {
  display: none !important;
}

.pristine-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 28px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: clamp(28px, 5vw, 48px);
  background: rgba(3, 24, 34, .82);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 26px 72px rgba(0, 80, 125, .18);
  backdrop-filter: blur(18px);
  color: #fff;
  text-align: center;
}

.pristine-footer strong {
  display: block;
  color: #8feaff;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: .08em;
  font-weight: 950;
}

.pristine-footer p {
  margin: 12px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 780;
}

.pristine-footer a {
  display: inline-flex;
  margin-top: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 950;
}

.pristine-footer small {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,.55);
  font-weight: 800;
}

.package-card-page .estimate-form-section,
.package-landing .estimate-form-section {
  display: none !important;
}

.quote-submit-panel {
  margin-top: 30px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 32px;
  background: rgba(3, 24, 34, .84);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 70px rgba(0, 80, 125, .20);
  backdrop-filter: blur(18px);
}

.quote-submit-copy span {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(143, 234, 255, .12);
  color: #8feaff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .15em;
}

.quote-submit-copy h3 {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: .95;
  letter-spacing: -.055em;
}

.quote-submit-copy p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 750;
}

.integrated-quote-form {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.integrated-quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.integrated-quote-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 900;
}

.integrated-quote-form input,
.integrated-quote-form select,
.integrated-quote-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.92);
  color: #06151b;
  padding: 0 15px;
  font: inherit;
  font-weight: 750;
}

.integrated-quote-form textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.integrated-quote-form button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: #8feaff;
  color: #06151b;
  font-weight: 950;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

@media (max-width: 720px) {
  .integrated-quote-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* FOOTER LOGO CLEANUP ONLY */
.pristine-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 28px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: clamp(26px, 4vw, 44px);
  background: rgba(3, 24, 34, .82);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 68px rgba(0, 80, 125, .16);
  backdrop-filter: blur(18px);
  color: #fff;
  text-align: center;
}

.footer-logo {
  width: clamp(62px, 8vw, 92px);
  height: clamp(62px, 8vw, 92px);
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin: 0 auto 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.pristine-footer .footer-services,
.pristine-footer .footer-area {
  margin: 7px auto 0 !important;
  max-width: 760px;
  color: rgba(255,255,255,.68) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
}

.pristine-footer .footer-area {
  font-size: 12px !important;
  color: rgba(255,255,255,.56) !important;
}

.pristine-footer a {
  display: none !important;
}

.pristine-footer small {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .pristine-footer .footer-services,
  .pristine-footer .footer-area {
    font-size: 11px !important;
  }
}

/* FOOTER NO BOX ON HOME */
.footer-no-box,
.pristine-footer.footer-no-box {
  width: 100% !important;
  margin: 34px auto 22px !important;
  padding: 18px 18px 28px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #06151b !important;
  text-align: center !important;
}

.footer-no-box .footer-logo {
  width: 58px !important;
  height: 58px !important;
  border-radius: 16px !important;
  margin: 0 auto 10px !important;
  object-fit: cover !important;
  box-shadow: 0 10px 28px rgba(0,80,125,.18) !important;
}

.footer-no-box .footer-services,
.footer-no-box .footer-area {
  margin: 5px auto 0 !important;
  max-width: 720px !important;
  color: rgba(6,21,27,.58) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.footer-no-box .footer-area {
  font-size: 11px !important;
  color: rgba(6,21,27,.48) !important;
}

.footer-no-box small {
  display: block !important;
  margin-top: 10px !important;
  color: rgba(6,21,27,.42) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

/* HOME ESTIMATE FORM POPUP ONLY */
body.modal-open {
  overflow: hidden;
}

.estimate-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.estimate-modal.is-open {
  display: flex;
}

.estimate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,18,25,.62);
  backdrop-filter: blur(10px);
}

.estimate-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 34px;
  box-shadow: 0 28px 90px rgba(0,0,0,.32);
}

.estimate-modal-close {
  position: sticky;
  top: 12px;
  margin-left: auto;
  right: 12px;
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: #06151b;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: block;
}

.estimate-modal .estimate-form-section {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 640px) {
  .estimate-modal {
    padding: 10px;
  }
  .estimate-modal-panel {
    border-radius: 26px;
    max-height: 90vh;
  }
}

/* LANDING PAGE QUOTE FORM MODAL */
.quote-submit-panel,
.package-card-page .estimate-form-section,
.package-landing .estimate-form-section {
  display: none !important;
}

.quote-modal-trigger-wrap {
  margin-top: 18px;
}

.quote-modal-intro span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5,122,168,.10);
  color: #057aa8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
}

.quote-modal-intro h3 {
  margin: 12px 0 0;
  color: #06151b;
  font-size: clamp(28px, 4vw, 46px);
  line-height: .95;
  letter-spacing: -.055em;
}

.quote-modal-intro p {
  margin: 10px 0 0;
  color: rgba(6,21,27,.68);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 750;
}

.open-quote-modal {
  width: 100%;
  margin-top: 18px;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: #06151b;
  color: #fff;
  font-weight: 950;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0,91,132,.16);
}

body.modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.quote-modal.is-open {
  display: flex;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,18,25,.62);
  backdrop-filter: blur(10px);
}

.quote-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 34px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(233, 250, 255, .96);
  box-shadow: 0 28px 90px rgba(0,0,0,.32);
}

.quote-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: #06151b;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: block;
}

.quote-modal-copy span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5,122,168,.10);
  color: #057aa8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
}

.quote-modal-copy h3 {
  margin: 12px 0 0;
  color: #06151b;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .9;
  letter-spacing: -.065em;
}

.quote-modal-copy p {
  margin: 12px 0 0;
  color: rgba(6,21,27,.68);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 750;
}

.quote-modal .integrated-quote-form {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.quote-modal .integrated-quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-modal .integrated-quote-form label {
  display: grid;
  gap: 8px;
  color: rgba(6,21,27,.72);
  font-size: 13px;
  font-weight: 900;
}

.quote-modal .integrated-quote-form input,
.quote-modal .integrated-quote-form select,
.quote-modal .integrated-quote-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(6,21,27,.12);
  background: rgba(255,255,255,.92);
  color: #06151b;
  padding: 0 15px;
  font: inherit;
  font-weight: 750;
}

.quote-modal .integrated-quote-form textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.quote-modal .integrated-quote-form button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: #06151b;
  color: #fff;
  font-weight: 950;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .quote-modal {
    padding: 10px;
  }
  .quote-modal-panel {
    border-radius: 26px;
    max-height: 90vh;
  }
  .quote-modal .integrated-quote-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* REMOVE HOMEPAGE FOOTER LOGO ONLY */
.index .footer-logo,
.pristine-footer .footer-logo {
  display: none !important;
}

/* ANIMATED HOMEPAGE HERO PHOTO */
.image-only-hero,
.combined-logo-hero,
.logo-led-hero {
  overflow: hidden !important;
  position: relative !important;
}

.hero-image-zoom,
.combined-hero-bg,
.animated-logo-stage img,
.logo-led-hero img,
.image-only-hero img {
  animation: pristineHeroFloatZoom 9s ease-in-out infinite !important;
  will-change: transform, filter;
}

.image-only-hero::before,
.combined-logo-hero::before {
  animation: pristineHeroGlowPulse 5.5s ease-in-out infinite !important;
}

.image-only-hero::after,
.hero-soft-shimmer,
.combined-water-shimmer {
  animation: pristineHeroLightSweep 6.5s ease-in-out infinite !important;
  mix-blend-mode: screen;
}

/* subtle sparkle glow without line overlays */
.image-only-hero .hero-soft-shimmer,
.combined-water-shimmer {
  background:
    radial-gradient(circle at 24% 22%, rgba(255,255,255,.16), transparent 18%),
    radial-gradient(circle at 75% 62%, rgba(143,234,255,.16), transparent 24%),
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,.12) 40%, transparent 58%) !important;
}

@keyframes pristineHeroFloatZoom {
  0%, 100% {
    transform: scale(1.02) translateY(0);
    filter: saturate(1.08) brightness(.98);
  }
  50% {
    transform: scale(1.075) translateY(-10px);
    filter: saturate(1.18) brightness(1.04);
  }
}

@keyframes pristineHeroGlowPulse {
  0%, 100% { opacity: .54; }
  50% { opacity: .88; }
}

@keyframes pristineHeroLightSweep {
  0%, 100% {
    opacity: .20;
    transform: translateX(-5%) skewX(-4deg);
  }
  50% {
    opacity: .50;
    transform: translateX(5%) skewX(-4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-zoom,
  .combined-hero-bg,
  .animated-logo-stage img,
  .logo-led-hero img,
  .image-only-hero img,
  .image-only-hero::before,
  .combined-logo-hero::before,
  .image-only-hero::after,
  .hero-soft-shimmer,
  .combined-water-shimmer {
    animation: none !important;
  }
}

/* FINAL UNBOXED FOOTER + RAS CREDIT */
.footer-no-box,
.pristine-footer.footer-no-box {
  width: 100% !important;
  margin: 24px auto 14px !important;
  padding: 10px 18px 18px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #06151b !important;
  text-align: center !important;
}

.footer-no-box .footer-inner {
  width: min(760px, 100%);
  margin: 0 auto !important;
  display: grid;
  justify-items: center;
  gap: 0;
}

.footer-no-box .pristine-footer-logo,
.footer-no-box .footer-logo {
  width: 56px !important;
  height: 56px !important;
  border-radius: 15px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto 8px !important;
  box-shadow: 0 10px 24px rgba(0,80,125,.16) !important;
}

.footer-no-box .footer-services,
.footer-no-box .footer-area {
  margin: 4px auto 0 !important;
  max-width: 720px !important;
  color: rgba(6,21,27,.60) !important;
  font-size: 12px !important;
  line-height: 1.32 !important;
  font-weight: 800 !important;
}

.footer-no-box .footer-area {
  font-size: 11px !important;
  color: rgba(6,21,27,.50) !important;
}

.footer-no-box .pristine-copy,
.footer-no-box small {
  display: block !important;
  margin-top: 8px !important;
  color: rgba(6,21,27,.44) !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
}

.ras-powered {
  margin-top: 13px;
  padding-top: 12px;
  width: min(360px, 100%);
  border-top: 1px solid rgba(6,21,27,.10);
  display: grid;
  justify-items: center;
  gap: 5px;
}

.ras-powered .ras-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  opacity: .88;
}

.ras-powered p {
  margin: 0 !important;
  color: rgba(6,21,27,.46) !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: .02em;
}

@media (max-width: 640px) {
  .footer-no-box,
  .pristine-footer.footer-no-box {
    margin-top: 18px !important;
    padding-bottom: 14px !important;
  }

  .footer-no-box .footer-services,
  .footer-no-box .footer-area {
    font-size: 11px !important;
  }

  .ras-powered .ras-logo {
    width: 38px;
    height: 38px;
  }

  .ras-powered p {
    font-size: 10px !important;
  }
}

/* PREMIUM HOMEPAGE HERO PHOTO ANIMATION */
.image-only-hero,
.combined-logo-hero,
.logo-led-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

.hero-image-zoom,
.combined-hero-bg,
.logo-led-hero .animated-logo-stage img,
.image-only-hero img {
  animation: pristineHeroPremiumZoom 14s ease-in-out infinite alternate !important;
  will-change: transform, filter;
}

/* Soft sun glow — not line graphics */
.image-only-hero::before,
.combined-logo-hero::before,
.logo-led-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 222, 103, .24), transparent 26%),
    radial-gradient(circle at 52% 66%, rgba(143, 234, 255, .16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0, 36, 52, .14)) !important;
  animation: pristineHeroSunPulse 6.5s ease-in-out infinite !important;
}

/* Clean water shimmer — subtle, no white wave lines */
.hero-soft-shimmer,
.combined-water-shimmer,
.image-only-hero::after,
.combined-logo-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,.10) 35%, transparent 54%),
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.10), transparent 18%),
    radial-gradient(circle at 82% 68%, rgba(143,234,255,.12), transparent 24%) !important;
  mix-blend-mode: screen;
  animation: pristineHeroShimmerSweep 8s ease-in-out infinite !important;
}

/* Keep old ripple/line effects hidden on hero */
.logo-ripple,
.ripple-one,
.ripple-two,
.ripple-three,
.combined-logo-hero svg,
.image-only-hero svg,
.logo-led-hero svg {
  display: none !important;
}

@keyframes pristineHeroPremiumZoom {
  0% {
    transform: scale(1.015) translate3d(0,0,0);
    filter: saturate(1.06) brightness(.98);
  }
  100% {
    transform: scale(1.085) translate3d(0,-10px,0);
    filter: saturate(1.18) brightness(1.045);
  }
}

@keyframes pristineHeroSunPulse {
  0%, 100% {
    opacity: .52;
  }
  50% {
    opacity: .92;
  }
}

@keyframes pristineHeroShimmerSweep {
  0%, 100% {
    transform: translateX(-6%) skewX(-4deg);
    opacity: .18;
  }
  50% {
    transform: translateX(6%) skewX(-4deg);
    opacity: .48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-zoom,
  .combined-hero-bg,
  .logo-led-hero .animated-logo-stage img,
  .image-only-hero img,
  .hero-soft-shimmer,
  .combined-water-shimmer,
  .image-only-hero::before,
  .image-only-hero::after,
  .combined-logo-hero::before,
  .combined-logo-hero::after,
  .logo-led-hero::before {
    animation: none !important;
  }
}


.pristine-footer-logo{display:none!important;}
.ras-powered{border-top:none!important;padding-top:8px!important;}
.ras-logo{
 width:72px!important;
 height:72px!important;
 display:block!important;
 margin:0 auto 8px!important;
}
.footer-inner{gap:4px!important;}

/* FINAL FORCE VISIBLE HERO PHOTO ANIMATION */
.image-only-hero {
  position: relative !important;
  min-height: 100vh !important;
  overflow: hidden !important;
  background: #06151b !important;
  isolation: isolate !important;
}

.image-only-hero .hero-image-zoom {
  display: none !important;
}

.hero-animation-layer {
  position: absolute;
  inset: -3%;
  z-index: -4;
  background-image: url("assets/hero-pristine-pools-logo.jpeg");
  background-size: cover;
  background-position: center;
  transform-origin: center;
  animation: finalHeroZoomPan 12s ease-in-out infinite alternate !important;
  will-change: transform, filter;
}

.hero-glow-layer {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 24%, rgba(255, 224, 106, .34), transparent 24%),
    radial-gradient(circle at 50% 66%, rgba(143, 234, 255, .20), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0, 22, 34, .18));
  animation: finalHeroGlow 4.8s ease-in-out infinite !important;
}

.hero-shimmer-layer {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0%, rgba(255,255,255,.02) 26%, rgba(255,255,255,.18) 42%, transparent 58%),
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.12), transparent 18%),
    radial-gradient(circle at 82% 64%, rgba(143,234,255,.16), transparent 24%);
  mix-blend-mode: screen;
  animation: finalHeroShimmer 5.8s ease-in-out infinite !important;
}

.logo-ripple,
.ripple-one,
.ripple-two,
.ripple-three,
.image-only-hero svg {
  display: none !important;
}

@keyframes finalHeroZoomPan {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
    filter: saturate(1.05) brightness(.98);
  }
  50% {
    transform: scale(1.075) translate3d(-8px, -8px, 0);
    filter: saturate(1.18) brightness(1.04);
  }
  100% {
    transform: scale(1.11) translate3d(8px, -16px, 0);
    filter: saturate(1.22) brightness(1.06);
  }
}

@keyframes finalHeroShimmer {
  0% {
    transform: translateX(-36%) skewX(-8deg);
    opacity: .08;
  }
  45% {
    opacity: .42;
  }
  100% {
    transform: translateX(36%) skewX(-8deg);
    opacity: .12;
  }
}

@keyframes finalHeroGlow {
  0%, 100% { opacity: .42; }
  50% { opacity: .96; }
}

@media (max-width: 720px) {
  .image-only-hero {
    min-height: 82vh !important;
  }

  .hero-animation-layer {
    background-position: center top;
  }
}

/* FINAL HOMEPAGE TIGHTENING */
.hero-content-under {
  padding-bottom: 18px !important;
}

.hero-under-card {
  padding-bottom: 24px !important;
}

.hero-under-card a[href="#estimate-request"],
.hero-under-card .open-estimate-modal {
  display: none !important;
}

/* Tighten estimate CTA area above footer */
.estimate-form-section {
  margin-top: 22px !important;
  margin-bottom: 12px !important;
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

.estimate-form-copy h2 {
  margin-bottom: 6px !important;
}

.estimate-form-copy p {
  margin-top: 6px !important;
  margin-bottom: 8px !important;
}

/* EXACT MINIMAL FOOTER */
.footer-minimal-final,
.pristine-footer.footer-minimal-final {
  width: 100% !important;
  margin: 6px auto 0 !important;
  padding: 4px 14px 8px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #06151b !important;
  text-align: center !important;
}

.footer-minimal-final .footer-inner {
  width: min(780px, 100%);
  margin: 0 auto !important;
  display: grid !important;
  justify-items: center !important;
  gap: 0 !important;
}

.footer-minimal-final .footer-copy {
  display: block !important;
  margin: 0 0 4px !important;
  color: rgba(6,21,27,.54) !important;
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
}

.footer-minimal-final .footer-services,
.footer-minimal-final .footer-area {
  margin: 0 0 4px !important;
  max-width: 760px !important;
  color: rgba(6,21,27,.58) !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.footer-minimal-final .footer-area {
  color: rgba(6,21,27,.48) !important;
}

.footer-minimal-final .ras-powered {
  margin-top: 4px !important;
  padding-top: 0 !important;
  width: auto !important;
  border-top: 0 !important;
  display: grid !important;
  justify-items: center !important;
  gap: 2px !important;
}

.footer-minimal-final .ras-logo {
  width: 42px !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.footer-minimal-final .ras-powered p {
  margin: 0 !important;
  color: rgba(6,21,27,.46) !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
}

@media (max-width: 640px) {
  .estimate-form-section {
    margin-bottom: 8px !important;
  }

  .footer-minimal-final,
  .pristine-footer.footer-minimal-final {
    padding-bottom: 8px !important;
  }

  .footer-minimal-final .footer-services,
  .footer-minimal-final .footer-area {
    font-size: 10px !important;
  }

  .footer-minimal-final .ras-logo {
    width: 38px !important;
  }
}

/* SUPER ANIMATED FEATURED POOL COLLECTIONS */
.featured-collections,
.final-collections,
.clean-showroom-collections {
  position: relative !important;
  overflow: hidden !important;
}

.featured-collections::before,
.final-collections::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(143,234,255,.30), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(255,221,105,.18), transparent 18%),
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,.16) 36%, transparent 58%);
  animation: collectionsWaterSweep 7s ease-in-out infinite;
  mix-blend-mode: screen;
}

.featured-collections .section-heading,
.final-collections .section-heading {
  animation: collectionHeadingRise 1.1s ease both;
}

.featured-collections .section-heading span,
.final-collections .section-heading span {
  position: relative;
  overflow: hidden;
}

.featured-collections .section-heading span::after,
.final-collections .section-heading span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(143,234,255,.65), transparent);
  transform: translateX(-120%);
  animation: headingTagShine 3.4s ease-in-out infinite;
}

.final-card-grid,
.featured-collections .final-card-grid {
  perspective: 1200px;
}

.final-pool-card {
  transform-style: preserve-3d;
  animation: poolCardFloat 5.8s ease-in-out infinite;
}

.final-pool-card:nth-child(1) { animation-delay: 0s; }
.final-pool-card:nth-child(2) { animation-delay: .45s; }
.final-pool-card:nth-child(3) { animation-delay: .9s; }
.final-pool-card:nth-child(4) { animation-delay: 1.35s; }

.final-pool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.26) 40%, transparent 56%);
  transform: translateX(-130%);
  animation: poolCardShine 4.8s ease-in-out infinite;
  mix-blend-mode: screen;
}

.final-pool-card:hover {
  transform: translateY(-10px) rotateX(3deg) scale(1.015);
}

/* WHY PRISTINE POOLS — ROLLING ROLODEX STYLE */
.showroom-why-pristine {
  position: relative !important;
  overflow: hidden !important;
}

.showroom-why-pristine .section-heading {
  animation: collectionHeadingRise 1.1s ease both;
}

.why-grid {
  height: 240px !important;
  overflow: hidden !important;
  position: relative !important;
  display: block !important;
  width: min(920px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  perspective: 1100px;
}

.why-grid::before,
.why-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 44px;
  z-index: 5;
  pointer-events: none;
}

.why-grid::before {
  top: 0;
  background: linear-gradient(180deg, rgba(224,250,255,.92), transparent);
}

.why-grid::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(224,250,255,.92), transparent);
}

.why-grid article {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: min(720px, calc(100% - 28px)) !important;
  min-height: 118px !important;
  transform: translate(-50%, -50%);
  border-radius: 30px !important;
  padding: 24px 28px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(229,250,255,.70)),
    radial-gradient(circle at 92% 0%, rgba(143,234,255,.24), transparent 30%) !important;
  border: 1px solid rgba(255,255,255,.92) !important;
  box-shadow: 0 24px 70px rgba(0, 91, 132, .14) !important;
  backdrop-filter: blur(16px) !important;
  display: grid !important;
  place-content: center start !important;
  animation: whyRolodex 12s linear infinite;
  opacity: 0;
  will-change: transform, opacity;
}

.why-grid article:nth-child(1) { animation-delay: 0s; }
.why-grid article:nth-child(2) { animation-delay: 3s; }
.why-grid article:nth-child(3) { animation-delay: 6s; }
.why-grid article:nth-child(4) { animation-delay: 9s; }

.why-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.34) 42%, transparent 58%);
  transform: translateX(-120%);
  animation: whyCardShine 4s ease-in-out infinite;
  pointer-events: none;
}

.why-grid strong {
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: .95 !important;
  letter-spacing: -.045em !important;
}

.why-grid p {
  margin-top: 8px !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  color: rgba(6,21,27,.64) !important;
}

@keyframes collectionsWaterSweep {
  0%, 100% { transform: translateX(-4%); opacity: .28; }
  50% { transform: translateX(4%); opacity: .62; }
}

@keyframes collectionHeadingRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes headingTagShine {
  0%, 45% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes poolCardFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-8px) rotateX(2deg); }
}

@keyframes poolCardShine {
  0%, 55% { transform: translateX(-130%); opacity: .1; }
  100% { transform: translateX(130%); opacity: .65; }
}

@keyframes whyRolodex {
  0% {
    opacity: 0;
    transform: translate(-50%, 110%) rotateX(-38deg) scale(.92);
  }
  8%, 22% {
    opacity: 1;
    transform: translate(-50%, -50%) rotateX(0deg) scale(1);
  }
  30% {
    opacity: 0;
    transform: translate(-50%, -190%) rotateX(38deg) scale(.92);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -190%) rotateX(38deg) scale(.92);
  }
}

@keyframes whyCardShine {
  0%, 50% { transform: translateX(-120%); opacity: .2; }
  100% { transform: translateX(120%); opacity: .7; }
}

@media (max-width: 700px) {
  .why-grid {
    height: 220px !important;
  }

  .why-grid article {
    width: calc(100% - 16px) !important;
    min-height: 112px !important;
    padding: 20px !important;
  }

  .final-pool-card {
    animation-duration: 6.8s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-collections::before,
  .final-collections::before,
  .featured-collections .section-heading,
  .final-collections .section-heading,
  .final-pool-card,
  .final-pool-card::before,
  .why-grid article,
  .why-grid article::before {
    animation: none !important;
  }

  .why-grid {
    height: auto !important;
    display: grid !important;
  }

  .why-grid article {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 12px;
  }
}

/* LUXURY GLASS ROLODEX — WHY PRISTINE POOLS */
.glass-why-section {
  position: relative !important;
  overflow: hidden !important;
  padding: clamp(42px, 7vw, 92px) clamp(16px, 5vw, 72px) !important;
}

.glass-why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(143,234,255,.24), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(255,221,105,.14), transparent 18%),
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,.12) 38%, transparent 58%);
  animation: glassWhyWaterSweep 7s ease-in-out infinite;
  mix-blend-mode: screen;
}

.glass-why-section .section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 24px !important;
}

.glass-why-rolodex {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  height: 230px;
  margin: 0 auto;
  perspective: 1200px;
  border-radius: 42px;
  overflow: hidden;
}

.glass-why-rolodex::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(221,249,255,.72), transparent 18%, transparent 82%, rgba(221,249,255,.72)),
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,.18) 42%, transparent 58%);
}

.glass-why-rolodex::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 0;
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.56), rgba(226,249,255,.30)),
    radial-gradient(circle at 80% 0%, rgba(143,234,255,.28), transparent 34%);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 30px 90px rgba(0, 91, 132, .16);
  backdrop-filter: blur(18px);
}

.glass-why-rolodex article {
  position: absolute !important;
  inset: 22px !important;
  z-index: 2;
  min-height: auto !important;
  width: auto !important;
  padding: clamp(28px, 5vw, 46px) !important;
  border-radius: 32px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(225,248,255,.58)),
    radial-gradient(circle at 88% 14%, rgba(143,234,255,.26), transparent 32%) !important;
  border: 1px solid rgba(255,255,255,.88) !important;
  box-shadow: 0 24px 70px rgba(0,91,132,.13) !important;
  opacity: 0;
  transform: translateY(78px) scale(.94);
  animation: glassRolodexSlide 16s ease-in-out infinite !important;
  will-change: transform, opacity;
}

.glass-why-rolodex article:nth-child(1) { animation-delay: 0s !important; }
.glass-why-rolodex article:nth-child(2) { animation-delay: 4s !important; }
.glass-why-rolodex article:nth-child(3) { animation-delay: 8s !important; }
.glass-why-rolodex article:nth-child(4) { animation-delay: 12s !important; }

.glass-why-rolodex:hover article {
  animation-play-state: paused !important;
}

.glass-why-rolodex article::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.36) 44%, transparent 60%);
  transform: translateX(-120%);
  animation: glassRolodexShine 4.5s ease-in-out infinite;
}

.glass-why-rolodex article strong {
  color: #06151b !important;
  font-size: clamp(34px, 6vw, 64px) !important;
  line-height: .88 !important;
  letter-spacing: -.07em !important;
  font-weight: 950 !important;
}

.glass-why-rolodex article p {
  margin: 12px 0 0 !important;
  color: rgba(6,21,27,.64) !important;
  font-size: clamp(18px, 2.4vw, 24px) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

@keyframes glassRolodexSlide {
  0% {
    opacity: 0;
    transform: translateY(76px) scale(.94);
  }
  7%, 22% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  29% {
    opacity: 0;
    transform: translateY(-76px) scale(.94);
  }
  100% {
    opacity: 0;
    transform: translateY(-76px) scale(.94);
  }
}

@keyframes glassRolodexShine {
  0%, 50% {
    transform: translateX(-120%);
    opacity: .14;
  }
  100% {
    transform: translateX(120%);
    opacity: .62;
  }
}

@keyframes glassWhyWaterSweep {
  0%, 100% { transform: translateX(-4%); opacity: .24; }
  50% { transform: translateX(4%); opacity: .58; }
}

@media (max-width: 640px) {
  .glass-why-section {
    padding: 34px 14px !important;
  }

  .glass-why-rolodex {
    height: 205px;
    border-radius: 32px;
  }

  .glass-why-rolodex article {
    inset: 14px !important;
    padding: 24px !important;
    border-radius: 24px !important;
  }

  .glass-why-rolodex article strong {
    font-size: clamp(32px, 11vw, 48px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-why-section::before,
  .glass-why-rolodex article,
  .glass-why-rolodex article::before {
    animation: none !important;
  }

  .glass-why-rolodex {
    height: auto !important;
    display: grid;
    gap: 12px;
    overflow: visible;
  }

  .glass-why-rolodex article {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* FORCE REMOVE REMAINING HOMEPAGE DEAD SPACE */
body {
  padding-bottom: 0 !important;
}

.hero-content-under {
  margin: 0 !important;
  padding: 6px 14px 4px !important;
}

.hero-under-card {
  margin: 0 auto 4px !important;
  padding: 10px 12px 8px !important;
  min-height: 0 !important;
}

.hero-under-card img,
.hero-under-card .brand-logo,
.hero-under-card .footer-logo {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

.hero-under-card h1,
.hero-under-card h2 {
  margin: 6px auto 4px !important;
  line-height: .92 !important;
}

.hero-under-card p {
  margin: 4px auto 8px !important;
  line-height: 1.18 !important;
}

.hero-under-card a,
.hero-under-card button,
.open-estimate-modal,
a[href="#estimate-request"] {
  margin: 6px auto 0 !important;
}

/* If the CTA area is named another class, compress any section with this text */
section:has(.open-estimate-modal),
section:has(a[href="#estimate-request"]) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 6px !important;
  padding-bottom: 4px !important;
}

/* Pull footer directly under CTA */
.pristine-footer,
.footer-minimal-final,
.pristine-footer.footer-minimal-final {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 4px !important;
}

.footer-minimal-final .footer-inner {
  gap: 0 !important;
}

.footer-minimal-final .footer-copy,
.footer-minimal-final .footer-services,
.footer-minimal-final .footer-area,
.footer-minimal-final .ras-powered,
.footer-minimal-final .ras-powered p {
  margin-top: 0 !important;
}

/* Remove hidden/empty blue bands that some earlier builds left behind */
.showroom-quote:empty,
.hero-content-under:empty,
section:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 640px) {
  .hero-content-under {
    padding: 4px 12px 2px !important;
  }

  .hero-under-card {
    padding: 8px 10px 6px !important;
    margin-bottom: 2px !important;
  }

  .hero-under-card h1,
  .hero-under-card h2 {
    margin-top: 4px !important;
    margin-bottom: 2px !important;
  }

  .hero-under-card p {
    margin-bottom: 6px !important;
  }

  .pristine-footer,
  .footer-minimal-final,
  .pristine-footer.footer-minimal-final {
    margin-top: -2px !important;
    padding-top: 0 !important;
  }
}

/* UPDATED WHY ROLODEX TEXT SUPPORT */
.glass-why-rolodex article strong,
.glass-why-rolodex article p {
  text-wrap: balance;
}

/* PREMIUM FEATURED POOL COLLECTIONS SHOWROOM ANIMATION */
.featured-collections,
.final-collections,
.clean-showroom-collections {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

.featured-collections::before,
.final-collections::before,
.clean-showroom-collections::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 12%, rgba(143,234,255,.32), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(255,221,105,.18), transparent 18%),
    radial-gradient(circle at 50% 88%, rgba(0,160,210,.12), transparent 34%);
  animation: featuredAmbientGlow 8s ease-in-out infinite;
}

.featured-collections::after,
.final-collections::after,
.clean-showroom-collections::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0%, rgba(255,255,255,.16) 38%, transparent 58%),
    repeating-linear-gradient(
      115deg,
      rgba(255,255,255,.045) 0px,
      rgba(255,255,255,.045) 1px,
      transparent 1px,
      transparent 22px
    );
  mix-blend-mode: screen;
  animation: featuredWaterSweep 7.5s ease-in-out infinite;
  opacity: .72;
}

.featured-collections .section-heading,
.final-collections .section-heading,
.clean-showroom-collections .section-heading {
  position: relative;
  z-index: 2;
  animation: featuredHeadingLift 950ms cubic-bezier(.2,.85,.2,1) both;
}

.featured-collections .section-heading span,
.final-collections .section-heading span,
.clean-showroom-collections .section-heading span {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  animation: featuredLabelSettle 1.3s cubic-bezier(.2,.85,.2,1) both;
}

.featured-collections .section-heading span::after,
.final-collections .section-heading span::after,
.clean-showroom-collections .section-heading span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(143,234,255,.80), transparent);
  transform: translateX(-120%);
  animation: featuredLabelShimmer 5.8s ease-in-out infinite;
}

.featured-collections .section-heading h2,
.final-collections .section-heading h2,
.clean-showroom-collections .section-heading h2 {
  animation: featuredHeadlineRise 1.1s .14s cubic-bezier(.2,.85,.2,1) both;
  text-shadow: 0 16px 40px rgba(0,91,132,.10);
}

.featured-collections .section-heading h2 em,
.final-collections .section-heading h2 em {
  animation: featuredPricingGlow 4.8s ease-in-out infinite;
}

.final-card-grid,
.featured-collections .final-card-grid,
.clean-showroom-collections .final-card-grid {
  perspective: 1400px;
}

.final-pool-card {
  position: relative !important;
  overflow: hidden !important;
  transform-style: preserve-3d;
  opacity: 0;
  animation:
    featuredCardReveal 900ms cubic-bezier(.2,.85,.2,1) forwards,
    featuredCardFloat 7s ease-in-out infinite;
  will-change: transform, opacity, filter;
}

.final-pool-card:nth-child(1) { animation-delay: .08s, 1.1s; }
.final-pool-card:nth-child(2) { animation-delay: .20s, 1.35s; }
.final-pool-card:nth-child(3) { animation-delay: .32s, 1.6s; }
.final-pool-card:nth-child(4) { animation-delay: .44s, 1.85s; }

.final-pool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,.30) 38%, transparent 56%),
    radial-gradient(circle at 24% 18%, rgba(143,234,255,.22), transparent 18%);
  transform: translateX(-130%) skewX(-6deg);
  mix-blend-mode: screen;
  animation: featuredCardShimmer 5.4s ease-in-out infinite;
}

.final-pool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255,255,255,.06) 0px,
      rgba(255,255,255,.06) 1px,
      transparent 1px,
      transparent 18px
    );
  opacity: .28;
  transform: translateX(-18%);
  animation: featuredCardWaterLines 9s linear infinite;
  mix-blend-mode: screen;
}

.final-pool-card:hover {
  transform: translateY(-10px) rotateX(3deg) scale(1.014) !important;
  filter: saturate(1.08) brightness(1.03);
}

.final-pool-card img {
  transition: transform .7s ease, filter .7s ease;
}

.final-pool-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.1) brightness(1.04);
}

@keyframes featuredAmbientGlow {
  0%, 100% { opacity: .55; transform: translateY(0); }
  50% { opacity: .95; transform: translateY(-10px); }
}

@keyframes featuredWaterSweep {
  0%, 100% { transform: translateX(-7%) skewX(-3deg); opacity: .36; }
  50% { transform: translateX(7%) skewX(-3deg); opacity: .76; }
}

@keyframes featuredHeadingLift {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes featuredLabelSettle {
  from { letter-spacing: .32em; opacity: 0; transform: translateY(8px); }
  to { letter-spacing: inherit; opacity: 1; transform: translateY(0); }
}

@keyframes featuredLabelShimmer {
  0%, 45% { transform: translateX(-125%); }
  100% { transform: translateX(125%); }
}

@keyframes featuredHeadlineRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes featuredPricingGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(143,234,255,0); }
  50% { text-shadow: 0 0 24px rgba(143,234,255,.35); }
}

@keyframes featuredCardReveal {
  from {
    opacity: 0;
    transform: translateY(42px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes featuredCardFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-7px) rotateX(1.5deg); }
}

@keyframes featuredCardShimmer {
  0%, 58% { transform: translateX(-130%) skewX(-6deg); opacity: .12; }
  100% { transform: translateX(130%) skewX(-6deg); opacity: .68; }
}

@keyframes featuredCardWaterLines {
  from { transform: translateX(-20%) translateY(0); }
  to { transform: translateX(20%) translateY(-20px); }
}

/* KEEP HERO PHOTO ANIMATION ACTIVE */
.hero-animation-layer {
  animation: finalVisibleHeroZoomPan 10s ease-in-out infinite alternate !important;
}

.hero-shimmer-layer {
  animation: finalVisibleHeroShimmer 5.5s ease-in-out infinite !important;
}

.hero-glow-layer {
  animation: finalVisibleHeroGlow 4.5s ease-in-out infinite !important;
}

@media (max-width: 720px) {
  .final-pool-card {
    animation:
      featuredCardReveal 820ms cubic-bezier(.2,.85,.2,1) forwards,
      featuredCardFloat 8.5s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-collections::before,
  .featured-collections::after,
  .final-collections::before,
  .final-collections::after,
  .clean-showroom-collections::before,
  .clean-showroom-collections::after,
  .featured-collections .section-heading,
  .final-collections .section-heading,
  .clean-showroom-collections .section-heading,
  .featured-collections .section-heading span,
  .final-collections .section-heading span,
  .clean-showroom-collections .section-heading span,
  .featured-collections .section-heading span::after,
  .final-collections .section-heading span::after,
  .clean-showroom-collections .section-heading span::after,
  .featured-collections .section-heading h2,
  .final-collections .section-heading h2,
  .clean-showroom-collections .section-heading h2,
  .final-pool-card,
  .final-pool-card::before,
  .final-pool-card::after {
    animation: none !important;
  }

  .final-pool-card {
    opacity: 1 !important;
  }
}
