/* Blue Iguana Pools — site mockup */
:root {
  --blue: #0a8fd6;
  --blue-ink: #0670ad;      /* text/buttons on light, AA */
  --blue-deep: #0b3a55;     /* dark sections */
  --blue-night: #082a3e;
  --sky: #20b8ea;
  --orange: #dd681f;        /* BIP accent, decorative */
  --orange-ink: #b3510f;    /* text/buttons, AA on white */
  --sand: #f7f1e8;
  --sand-2: #efe4d4;
  --clay: #e4d3bc;
  --ink: #1f2933;
  --muted: #5a6670;
  --line: #e6dccd;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31,41,51,.06), 0 8px 24px rgba(31,41,51,.08);
  --wrap: 1180px;
  --head: "Zilla Slab", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--blue-night); letter-spacing: -.005em; word-spacing: .06em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Mockup notice */
.mock-bar { background: var(--blue-night); color: #cfe3ee; font-size: 13px; text-align: center; padding: 6px 12px; }
.mock-bar strong { color: #ffb27a; font-weight: 600; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 52px; height: 52px; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.3rem; line-height: 1; color: var(--blue-night); }
.brand-name small { display: block; font-family: var(--body); font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 11px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav a:hover { background: var(--sand); color: var(--blue-ink); }
.nav a[aria-current="page"] { color: var(--blue-ink); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 8px 8px 0 0; }
.head-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-orange { background: var(--orange-ink); color: var(--white); }
.btn-orange:hover { background: #9a440b; color: var(--white); }
.btn-blue { background: var(--blue-ink); color: var(--white); }
.btn-blue:hover { background: #055a8b; color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--blue-ink); background: transparent; }
.btn-ghost:hover { background: var(--blue-ink); color: var(--white); border-color: var(--blue-ink); }
.btn-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--blue-night); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .92rem; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--blue-night); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,42,62,.88) 0%, rgba(8,42,62,.6) 45%, rgba(8,42,62,.1) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(64px, 11vw, 140px); padding-bottom: clamp(96px, 13vw, 170px); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lede { font-size: 1.2rem; max-width: 34ch; color: #e3f1f8; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 12px; }
.hero .eyebrow, .dark .eyebrow { color: #ffb27a; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Desert ridge divider */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 80px); z-index: 2; }
.ridge-top { position: relative; display: block; width: 100%; height: clamp(36px, 5vw, 64px); margin-bottom: -1px; }

/* Page header (inner pages) */
.page-head { position: relative; background: var(--blue-deep); color: var(--white); overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 120%, rgba(221,104,31,.45), transparent 55%), radial-gradient(ellipse at 10% -20%, rgba(32,184,234,.35), transparent 55%); }
.page-head .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 104px; }
.page-head h1 { color: var(--white); margin-bottom: .3em; }
.page-head p { color: #d4e7f1; font-size: 1.15rem; max-width: 60ch; margin: 0; }
.crumbs { font-size: .88rem; margin-bottom: 14px; color: #a9cadb; }
.crumbs a { color: #d4e7f1; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.white { background: var(--white); }
.section.tint { background: var(--sand-2); }
.dark { background: var(--blue-deep); color: #e3f1f8; }
.dark h2, .dark h3, .dark h4 { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.dark .section-head p { color: #b9d5e3; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card.link { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card.link:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(31,41,51,.06), 0 16px 32px rgba(31,41,51,.12); color: var(--ink); }
.card.link img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card.link .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card.link .more { margin-top: auto; font-weight: 600; color: var(--orange-ink); }

.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fdeee3; color: var(--orange-ink); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.icon.blue { background: #e1f3fb; color: var(--blue-ink); }

.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall img { aspect-ratio: 4/5; }
.photo.wide img { aspect-ratio: 4/3; }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding: 6px 0 6px 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: #e1f3fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230670ad' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks.orange li::before { background-color: #fdeee3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3510f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .95rem; }
.dark .chips li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--white); }

.note { font-size: .92rem; color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 920px; margin: 0 auto; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.plan .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.plan.featured { border: 2px solid var(--orange); }
.plan .tag { position: absolute; top: 16px; right: 16px; background: var(--orange-ink); color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.price { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--blue-night); line-height: 1; }
.price span { font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan .sub { font-weight: 600; color: var(--orange-ink); margin: 8px 0 18px; }
.plan .btn { margin-top: auto; }
.plan .checks li.plus { font-weight: 600; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .98rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { background: var(--blue-deep); color: var(--white); font-family: var(--head); font-size: 1.15rem; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--blue-ink); font-weight: 700; }
.no { color: #a7b0b8; }

/* Jump nav */
.jump { position: sticky; top: 77px; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.jump ul { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0; padding: 10px 0; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--ink); background: var(--sand); }
.jump a:hover, .jump a.active { background: var(--blue-ink); color: var(--white); }

/* Service blocks */
.svc { padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid var(--line); }
.svc:last-of-type { border-bottom: 0; }
.svc .split { align-items: start; }
.svc h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.pill { font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #e1f3fb; color: var(--blue-ink); }
.pill.warm { background: #fdeee3; color: var(--orange-ink); }
.sub-cards { display: grid; gap: 16px; margin-top: 8px; }
.sub-card { background: var(--sand); border-radius: 12px; padding: 18px 20px; border-left: 4px solid var(--orange); }
.sub-card h4 { margin-bottom: .3em; }
.sub-card p { margin: 0; color: #36424d; font-size: .98rem; }

.inspect { columns: 3; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.inspect li { break-inside: avoid; padding: 8px 0 8px 28px; position: relative; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.inspect li::before { content: counter(i); counter-increment: i; position: absolute; left: 0; top: 9px; font-size: .72rem; font-weight: 700; color: var(--orange-ink); width: 20px; }
.inspect { counter-reset: i; }

/* CTA band */
.cta-band { position: relative; background: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue-night) 60%, #3a2414 140%); color: var(--white); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; bottom: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(221,104,31,.55), rgba(221,104,31,0) 65%); }
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #cfe3ee; font-size: 1.08rem; }
.cta-band .actions { margin: 0; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; }
.member .avatar { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; width: 100%; max-width: 180px; background: linear-gradient(160deg, #e1f3fb, var(--sand-2)); display: grid; place-items: center; border: 4px solid var(--white); box-shadow: var(--shadow); }
.member .avatar img { width: 100%; height: 100%; object-fit: cover; }
.member .avatar.mark img { width: 58%; height: auto; opacity: .85; }
.member h3 { font-size: 1.15rem; margin-bottom: .15em; }
.member p { margin: 0; color: var(--muted); font-size: .93rem; }
.member.lead .avatar { border-color: var(--orange); }

/* Tips */
.tips { counter-reset: tip; display: grid; gap: 18px; }
.tip { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tip::before { counter-increment: tip; content: counter(tip, decimal-leading-zero); font-family: var(--head); font-weight: 700; font-size: 1.8rem; color: var(--orange); line-height: 1; }
.tip h3 { font-size: 1.25rem; }
.tip p { margin: 0; color: #36424d; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 14px 18px 14px 60px; background: var(--white); border-radius: 12px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--blue-ink); color: var(--white); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { margin: 0; width: 44px; height: 44px; }
.info-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-list a { font-weight: 600; font-size: 1.1rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; font-weight: 500; }
.open-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-top: 6px; }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { background: #e5f2df; color: #3d6b28; }
.open-badge.is-closed { background: #f3ece4; color: #7a5a3f; }
.form label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.form .field { margin-bottom: 18px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #d6cab8; border-radius: 10px; background: var(--white); color: var(--ink); min-height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 3px rgba(6,112,173,.18); }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-done { display: none; background: #e5f2df; color: #2f5a1d; padding: 14px 16px; border-radius: 10px; margin-top: 14px; font-weight: 500; }
.form-done.show { display: block; }
.form-done.error { background: #fbe9e1; color: #8a3410; }
.form-done a { color: inherit; font-weight: 600; }

/* Footer */
.site-foot { background: var(--blue-night); color: #b9d0dc; font-size: .95rem; }
.site-foot .ridge-top path { fill: var(--blue-night); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0 32px; }
.site-foot h4 { color: var(--white); font-family: var(--body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-foot a { color: #e3f1f8; text-decoration: none; }
.site-foot a:hover { color: #ffb27a; text-decoration: underline; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.foot-brand img { width: 56px; height: 56px; background: var(--white); border-radius: 50%; padding: 4px; }
.foot-brand span { font-family: var(--head); font-size: 1.3rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 28px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Mobile call bar */
.call-bar { display: none; }

@media (max-width: 1240px) {
  .nav a { padding: 10px 8px; font-size: .9rem; }
  .head-row { gap: 16px; }
}
@media (max-width: 960px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .inspect { columns: 2; }
}
@media (max-width: 1140px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(31,41,51,.1); margin: 0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 20px 16px; gap: 0; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--sand-2); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); padding-left: 16px; border-radius: 0; }
}
@media (max-width: 760px) {
  .head-cta { display: none; }
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { padding: 0 16px; }
  .split, .contact-grid, .plans, .g2 { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(8,42,62,.55) 0%, rgba(8,42,62,.85) 100%); }
  .head-row { min-height: 64px; }
  .brand img { width: 44px; height: 44px; }
  .jump { top: 65px; }
  html { scroll-padding-top: 130px; }
  .compare th, .compare td { padding: 12px 10px; font-size: .9rem; }
  .form .row { grid-template-columns: 1fr; }
  .tip { grid-template-columns: 1fr; gap: 6px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(31,41,51,.08); }
  .call-bar .btn { min-height: 50px; }
}
@media (max-width: 520px) {
  .g3, .g4 { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .inspect { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .brand-name { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card.link { transition: none; }
}
