/* Oasis Pool Builders — oasispoolbuilderssd.com */
:root {
  --navy: #07263a;
  --deep: #0b3c5d;
  --blue: #1487b8;
  --aqua: #2bb3d8;
  --sand: #f4efe6;
  --ink: #1d2b36;
  --muted: #5a6b78;
  --line: #e3e9ee;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 38, 58, .10);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.65; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: .6em; }
h3 { font-size: 1.15rem; font-weight: 700; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { width: min(880px, 92%); }
.section { padding: 72px 0; }
.section.alt { background: var(--sand); }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .9em; }
.eyebrow.light { color: var(--aqua); }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 2rem; }
.center { text-align: center; margin-top: 2rem; }
.center-text { text-align: center; }
.pad-top { margin-top: 2.5rem; }
.inline-link { text-decoration: underline; color: var(--blue); }
svg { width: 18px; height: 18px; flex: none; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: .2s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--deep); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* Topbar */
.topbar { background: var(--navy); color: #cfe3ee; font-size: .82rem; padding: 7px 0; }
.topbar a { color: #cfe3ee; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { width: 14px; height: 14px; color: var(--aqua); }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { display: inline-flex; }
.topbar-social svg { width: 15px; height: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 2px 14px rgba(7,38,58,.08); }
.header-inner { display: flex; align-items: center; gap: 26px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 68px; height: 68px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.25; color: var(--navy); letter-spacing: .005em; max-width: 120px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 10px 14px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy); border-radius: 8px; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav .has-sub { position: relative; }
.main-nav .sub { position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: var(--shadow); border-radius: 10px; padding: 8px; display: none; flex-direction: column; gap: 0; }
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { display: flex; }
.main-nav .sub a { padding: 9px 12px; font-size: .9rem; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.phone-link { display: flex; align-items: center; gap: 9px; color: var(--navy); font-family: var(--font-head); font-weight: 800; white-space: nowrap; }
.header-cta .btn { white-space: nowrap; }
.phone-link svg { width: 30px; height: 30px; color: var(--blue); }
.phone-link small { display: block; font-weight: 600; color: var(--muted); font-size: .7rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-cta-mobile { display: none; }
@media (max-width: 1380px) { .nav-cta-mobile { display: block; padding: 10px 14px; } }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { background-size: cover; background-position: center; color: #fff; }
.hero-inner { padding: 130px 0 140px; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero-sub { font-size: 1.15rem; color: #dcebf4; margin-bottom: 2em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero */
.page-hero { background: linear-gradient(rgba(7,38,58,.58), rgba(7,38,58,.72)), url('images/banners/banner-pool.jpg') center/cover; color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.crumbs { margin-top: 8px; font-size: .88rem; color: #b9d4e2; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #b9d4e2; }
.crumbs a:hover { color: #fff; }
.crumbs strong { color: var(--aqua); font-weight: 600; }

/* Video */
.video-section { padding-bottom: 56px; }
.video-wrap { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-facade { position: relative; cursor: pointer; background: var(--navy); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade .play-btn { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: rgba(20,135,184,.92); color: #fff; display: flex; align-items: center; justify-content: center; transition: .2s; box-shadow: 0 8px 30px rgba(7,38,58,.4); }
.video-facade .play-btn svg { width: 38px; height: 38px; margin-left: 4px; }
.video-facade:hover .play-btn { background: var(--deep); transform: scale(1.06); }

/* FAQ */
.faq-list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 22px; transition: .2s; }
.faq-item[open] { border-color: var(--aqua); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 0; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 600; color: var(--blue); flex: none; line-height: 1; transition: .2s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); font-size: .95rem; padding-bottom: 18px; }

/* Sister company callout */
.sister-callout { display: flex; align-items: center; gap: 28px; justify-content: space-between; background: var(--sand); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 26px 30px; margin: 2.2em 0 0; }
.sister-callout h3 { margin-bottom: .4em; }
.sister-callout p { color: var(--muted); font-size: .95rem; }
.sister-callout .btn { flex: none; }
@media (max-width: 640px) { .sister-callout { flex-direction: column; align-items: flex-start; } }

/* Service cards */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); display: flex; flex-direction: column; transition: transform .2s; border: 1px solid var(--line); }
.service-card:hover { transform: translateY(-5px); }
.service-card img { height: 200px; width: 100%; object-fit: cover; }
.service-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card p { font-size: .92rem; color: var(--muted); flex: 1; }
.link-more { font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: .92rem; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-copy blockquote { border-left: 4px solid var(--aqua); padding: 6px 0 6px 18px; margin: 1.2em 0; font-style: italic; color: var(--deep); }
.split-copy blockquote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: .9rem; color: var(--muted); }
.split-copy .btn { margin-top: 1.2em; }
.years-badge { position: absolute; bottom: -18px; left: -18px; background: var(--blue); color: #fff; border-radius: 12px; padding: 14px 20px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; line-height: 1.2; box-shadow: var(--shadow); max-width: 150px; }
.years-badge span { display: block; font-size: 2rem; font-weight: 800; }

/* Value / lead cards */
.value-cards, .lead-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--sand); border-radius: var(--radius); padding: 30px 26px; }
.value-card h3 { margin-bottom: .5em; }
.value-card p { color: var(--muted); font-size: .94rem; }
.lead-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.lead-card img { height: 190px; width: 100%; object-fit: cover; }
.lead-card h3 { padding: 20px 22px 0; }
.lead-card p { padding: 8px 22px 0; font-size: .92rem; color: var(--muted); }
.lead-card p:last-child { padding-bottom: 22px; }

/* Why choose */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 1.4rem; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: #fff; transition: .2s; }
.feature:hover { border-color: var(--aqua); box-shadow: var(--shadow); }
.feature h3 { margin-bottom: .5em; }
.feature p { font-size: .92rem; color: var(--muted); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid.four { grid-template-columns: repeat(4, 1fr); }
.g-item { border-radius: 10px; overflow: hidden; display: block; }
.g-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .3s; }
.g-item:hover img { transform: scale(1.05); }

/* Stats */
.stats { background-size: cover; background-position: center; color: #fff; padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; text-align: center; }
.stats h4 { color: #fff; margin: 6px 0 8px; }
.stats p { font-size: .87rem; color: #c5dbe7; }
.stat-num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--aqua); }

/* Forms */
.form-wrap { max-width: 820px; }
.form-wrap h2 em { color: var(--blue); font-style: normal; }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.form-grid label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy); display: flex; flex-direction: column; gap: 6px; }
.form-grid .span2 { grid-column: span 2; }
.form-grid input, .form-grid select, .form-grid textarea { font-family: var(--font-body); font-size: .95rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfd; color: var(--ink); }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 2px solid var(--aqua); border-color: var(--aqua); }
.form-success { margin-top: 16px; color: #157347; font-weight: 600; }
.form-error { margin-top: 16px; color: #b02a37; font-weight: 600; }
.form-thanks { text-align: center; padding: 28px 12px; animation: thanksIn .45s ease-out both; }
.form-thanks-icon { color: #157347; display: inline-flex; margin-bottom: 14px; }
.form-thanks h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-thanks p { color: var(--muted); max-width: 46ch; margin: 0 auto; }
.form-thanks-cta { margin-top: 18px; }
@keyframes thanksIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Testimonials */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.t-card img { height: 180px; width: 100%; object-fit: cover; }
.t-body { padding: 22px; }
.t-body h3 { margin-bottom: .5em; }
.t-body p { font-size: .92rem; color: var(--muted); }
.t-by { margin-top: 10px; color: var(--navy) !important; }

/* CTA banner */
.cta-banner { background-size: cover; background-position: center; color: #fff; text-align: center; padding: 90px 0; }
.cta-banner.small { padding: 64px 0; }
.cta-banner h2 { color: #fff; }
.cta-banner p { max-width: 640px; margin: 0 auto 1.6em; color: #d6e7f0; }

/* Check lists */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 1.2em 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .check { color: var(--blue); margin-top: 4px; }
.check-list.two-col { display: block; columns: 2; column-gap: 32px; }
.check-list.two-col li { break-inside: avoid; margin-bottom: 12px; }
.mini-feature { margin-top: 1.3em; }
.mini-feature h3 { color: var(--deep); margin-bottom: .3em; }
.mini-feature p { color: var(--muted); font-size: .95rem; }
.sub-head { margin-top: 2em; margin-bottom: .8em; font-size: 1.3rem; color: var(--navy); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--line); }
.team-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.team-avatar { aspect-ratio: 1; width: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--deep), var(--blue)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; letter-spacing: .04em; }
.team-card h3 { margin: 16px 0 2px; }
.team-card p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }

/* Contact strip */
.contact-strip { background: var(--navy); color: #fff; padding: 44px 0; }
.contact-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.contact-strip svg { width: 26px; height: 26px; color: var(--aqua); margin: 0 auto 8px; }
.contact-strip h4 { color: #fff; margin-bottom: 4px; }
.contact-strip p, .contact-strip a { color: #c5dbe7; font-size: .95rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Privacy */
.privacy h3 { margin: 1.6em 0 .5em; }
.privacy ul { margin: .6em 0 1em 1.3em; }
.privacy p { margin-bottom: .8em; }

/* Footer */
.site-footer { background: var(--navy); color: #b9cfdd; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 44px; padding: 58px 0 40px; }
.footer-logo { margin-bottom: 12px; }
.license { font-family: var(--font-head); font-weight: 700; color: var(--aqua); margin-bottom: 10px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.footer-links, .footer-contact { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-contact a { color: #b9cfdd; }
.footer-links a:hover, .footer-contact a:hover { color: var(--aqua); }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { color: var(--aqua); margin-top: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { color: #b9cfdd; }
.footer-social a:hover { color: var(--aqua); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .85rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(7,38,58,.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 4vh 4vw; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }

/* Responsive */
/* Header collapses to the menu button at 1380px — below that the full 8-item nav +
   phone + CTA no longer fits and would overflow the viewport (the old 1240px
   breakpoint left a 1241–1345px band with horizontal scroll). */
@media (max-width: 1380px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); padding: 14px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav .sub { position: static; display: flex; box-shadow: none; padding-left: 18px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta .btn { display: none; }
  .main-nav { margin-left: 0; }
}
@media (max-width: 1240px) {
  .service-cards, .value-cards, .lead-cards, .t-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid, .gallery-grid.four { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar-info span:nth-child(2) { display: none; }
  .service-cards, .value-cards, .lead-cards, .t-grid, .feature-grid, .team-grid { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid.four { grid-template-columns: 1fr 1fr; }
  .stats-grid, .contact-strip-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: span 1; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .hero-inner { padding: 90px 0 100px; }
  .phone-link span { display: none; }
}

/* ============================================================
   TEMPLATED POOLS + PRICING (added 2026-06 — Synergy rebuild)
   ============================================================ */
.pricing-intro { text-align:center; max-width:720px; margin:0 auto 2.4rem; }
.pricing-intro .section-sub { margin-left:auto; margin-right:auto; }

.size-tabs { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:2.2rem; }
.size-tab { font-family:var(--font-head); font-weight:700; font-size:.95rem; padding:12px 18px; border-radius:999px;
  border:2px solid var(--line); background:#fff; color:var(--navy); cursor:pointer; transition:.18s; }
.size-tab small { display:block; font-weight:600; font-size:.72rem; color:var(--muted); }
.size-tab:hover { border-color:var(--aqua); }
.size-tab.active { background:var(--blue); border-color:var(--blue); color:#fff; }
.size-tab.active small { color:#dcebf4; }

.pricing-stage { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:34px; }
.render-wrap { background:linear-gradient(160deg,#eef6fa,#dceef5); border-radius:var(--radius); padding:28px; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:300px; }
.pool-render { position:relative; background:linear-gradient(160deg,var(--aqua),var(--blue));
  border:6px solid #fff; border-radius:10px; box-shadow:inset 0 4px 18px rgba(7,38,58,.35), 0 8px 22px rgba(7,38,58,.18);
  transition:width .35s ease, height .35s ease; }
.pool-render::after { content:""; position:absolute; left:8%; top:14%; width:30%; height:18%; background:rgba(255,255,255,.28); border-radius:50%; filter:blur(2px); }
.render-dims { margin-top:16px; font-family:var(--font-head); font-weight:700; color:var(--navy); }
.render-dims span { color:var(--muted); font-weight:600; font-size:.9rem; }

.price-display .eyebrow { margin-bottom:.4em; }
.price-tag { font-family:var(--font-head); font-weight:800; color:var(--navy); line-height:1; margin:.1em 0 .1em; }
.price-tag .num { font-size:clamp(2.6rem,6vw,3.6rem); color:var(--blue); }
.price-tag .from { font-size:1rem; color:var(--muted); font-weight:700; display:block; margin-bottom:.2em; }
.price-sub { color:var(--muted); font-size:.9rem; margin-bottom:1.2rem; }
.included-list { list-style:none; margin:0 0 1.4rem; display:grid; grid-template-columns:1fr 1fr; gap:8px 18px; }
.included-list li { display:flex; align-items:flex-start; gap:8px; font-size:.92rem; color:var(--ink); }
.included-list li::before { content:"\2713"; color:var(--blue); font-weight:800; flex:none; }
.pricing-actions { display:flex; flex-wrap:wrap; gap:12px; }
.pricing-foot { text-align:center; color:var(--muted); font-size:.88rem; margin-top:1.6rem; }

/* Design-only service */
.design-only .split-copy .price-pill { display:inline-block; background:var(--sand); color:var(--navy); font-family:var(--font-head); font-weight:700; font-size:.85rem; padding:6px 14px; border-radius:999px; margin-bottom:1rem; }
.design-steps { list-style:none; margin:1rem 0 1.6rem; display:flex; flex-direction:column; gap:12px; }
.design-steps li { display:flex; gap:12px; align-items:flex-start; }
.design-steps .n { flex:none; width:28px; height:28px; border-radius:50%; background:var(--blue); color:#fff; font-family:var(--font-head); font-weight:800; font-size:.85rem; display:flex; align-items:center; justify-content:center; }

/* Design gallery video badge */
.g-item { position:relative; }
.g-item.has-video::after { content:"\25B6"; position:absolute; inset:0; margin:auto; width:54px; height:54px; border-radius:50%;
  background:rgba(20,135,184,.92); color:#fff; display:flex; align-items:center; justify-content:center; font-size:20px; padding-left:4px; box-shadow:0 6px 20px rgba(7,38,58,.4); }

@media (max-width:820px){ .pricing-stage{ grid-template-columns:1fr; gap:24px; padding:22px; } .included-list{ grid-template-columns:1fr; } }

/* Swimmer scale figure inside pool render */
.pool-render .swimmer { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); pointer-events:none; filter:drop-shadow(0 1px 2px rgba(7,38,58,.45)); z-index:2; }
.pool-render .swimmer svg { display:block; width:100%; height:100%; }
.render-scale { font-size:.78rem; color:var(--muted); margin-top:5px; }

/* Sticky mobile call / quote bar */
.mobile-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 18px rgba(7,38,58,.22); }
.mobile-cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .01em; }
.mobile-cta-bar .mc-call { background: var(--navy); color: #fff; }
.mobile-cta-bar .mc-quote { background: var(--blue); color: #fff; }
.mobile-cta-bar svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 760px) { .mobile-cta-bar { display: grid; } body { padding-bottom: 60px; } }


/* Nav fit + selector (price-as-button) */
.site-header .container { width: min(1360px, 96%); }
.header-inner { gap: 14px; }
/* 120px was narrower than the rendered "Pool Builders" line, so the flex-compressed
   brand box let the text spill under the first nav item. 150px fits; flex:none stops
   the header from ever compressing the brand again. */
.brand-name { max-width: 150px; }
.brand { flex: none; }
.header-cta { gap: 14px; flex: none; }
.main-nav ul { gap: 2px; }
.main-nav a { padding: 10px 8px; }
.size-tab { font-size: 1.02rem; }
.incl-head { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.2; margin: .1em 0 .55em; }
.incl-head .num { color: var(--blue); }
.size-note { text-align: center; color: var(--muted); font-size: .82rem; margin: -1rem auto 1.9rem; max-width: 640px; }

/* Centered gallery (centers an incomplete last row) */
.gallery-grid--center { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.gallery-grid--center .g-item { flex: 0 1 calc(25% - 10.5px); }
@media (max-width: 1240px) { .gallery-grid--center .g-item { flex-basis: calc(33.333% - 9.34px); } }
@media (max-width: 640px) { .gallery-grid--center .g-item { flex-basis: calc(50% - 7px); } }

/* ============================================================
   NINE TEMPLATE POOLS (added 2026-07 — website launch build)
   3 rectangles · 3 pool/spa combos · 3 spas. Cards carry
   data-tpl slots that build/build_templates.py fills when
   Adrina's dims + renders land.
   ============================================================ */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.4rem; }
.tpl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.tpl-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(7,38,58,.16); }
.tpl-media { position: relative; aspect-ratio: 4 / 3; background:
  radial-gradient(120% 90% at 18% 0%, rgba(43,179,216,.35), transparent 55%),
  linear-gradient(155deg, var(--deep) 0%, var(--navy) 78%);
  display: flex; align-items: center; justify-content: center; }
.tpl-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-media .tpl-sketch { width: 62%; height: auto; opacity: .85; }
/* Template card day/night carousel (7/20) */
.tpl-media .tplc-img { opacity: 0; transition: opacity .35s ease; }
.tpl-media .tplc-img.is-active { opacity: 1; }
.tplc-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px;
  border-radius: 50%; border: 0; background: rgba(9,30,52,.55); color: #fff; font-size: 1rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: .85;
  transition: opacity .2s, background .2s; }
.tplc-nav:hover, .tplc-nav:focus-visible { background: rgba(9,30,52,.85); opacity: 1; }
.tplc-prev { left: 10px; }
.tplc-next { right: 10px; }
.tplc-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.tplc-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); }
.tplc-dot.is-on { background: #fff; }
.tpl-badge { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.94); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .64rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; z-index: 2; }
.tpl-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.tpl-cat { font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); }
.tpl-name { font-size: 1.18rem; margin: 0; }
.tpl-dims { color: var(--muted); font-size: .87rem; min-height: 1.3em; }
.tpl-price { margin-top: auto; padding-top: 12px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--muted); }
.tpl-price .tpl-price-num { display: block; font-size: 1.55rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.tpl-asshown { font-size: .78rem; color: var(--muted); min-height: 1.3em; }
.tpl-body .btn { margin-top: 14px; text-align: center; }
.tpl-notes { margin-top: 2.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; }
.section.alt .tpl-notes { background: #fff; }
.tpl-notes h3 { font-size: 1rem; margin-bottom: .5em; }
.tpl-notes p, .tpl-notes li { font-size: .85rem; color: var(--muted); }
.tpl-notes ul { list-style: none; margin: .4em 0 1.1em; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; }
.tpl-notes li { padding-left: 20px; position: relative; }
.tpl-notes li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.tpl-notes .tpl-fine { font-size: .78rem; margin-top: .35em; }
.tpl-design-credit { margin-top: 1.9rem; text-align: center; color: var(--muted); font-size: .92rem; }
@media (max-width: 1240px) { .tpl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .tpl-grid { grid-template-columns: 1fr; } .tpl-notes ul { grid-template-columns: 1fr; } }

/* Design pricing card (design.html) */
.design-price-card { background: linear-gradient(155deg, var(--deep) 0%, var(--navy) 80%); color: #dcebf4;
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 42px; display: grid;
  grid-template-columns: auto 1fr; gap: 14px 46px; align-items: center; }
.design-price-card .dp-amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: #fff; line-height: 1; }
.design-price-card .dp-amount small { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--aqua); margin-top: .5em; }
.design-price-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: .35em; }
.design-price-card p { font-size: .95rem; }
.design-price-card .dp-fine { font-size: .8rem; color: #b8d2e2; margin-top: .6em; }
@media (max-width: 820px) { .design-price-card { grid-template-columns: 1fr; text-align: left; padding: 32px 28px; } }
.price-pill { display: inline-block; background: var(--sand); color: var(--navy); font-family: var(--font-head);
  font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 1rem; }
