/* ===== Brand Pool Vision — static replica ===== */
:root {
  --bg: #ffffff;
  --bg-2: #f1f5f9;
  --card: #ffffff;
  --accent: #e2e8f0;
  --line: #e2e8f0;
  --fg: #0e3f6c;
  --muted: #475569;
  --dim: #64748b;
  --pool: #0895da;
  --pool-2: #03a5e6;
  --display: "Cinzel", serif;
  --sans: "Jost", system-ui, sans-serif;
  --mono: "Space Mono", monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pool-2);
  margin-bottom: 18px;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: 0.04em; line-height: 1.1; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary { background: var(--pool); color: #fff; }
.btn-primary:hover { background: #0e3f6c; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #0895da; border-color: rgba(8,149,218,0.45); }
.btn-ghost:hover { border-color: var(--pool); background: rgba(8,149,218,0.08); }
.btn-block { width: 100%; text-align: center; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-family: var(--display); font-weight: 800; font-size: 18px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.4); letter-spacing: 0.05em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.16em; }
.brand-text small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.32em; color: var(--dim); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: #fff; }
.nav .nav-cta { border: 1px solid rgba(255,255,255,0.35); padding: 10px 18px; color: #fff; }
.nav .nav-cta:hover { background: #fff; color: #0a0a0a; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: 0.3s; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; }
.hero-media {
  position: absolute; inset: 0;
  background: url('../img/index/pool-resort.jpg') center/cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.55) 40%, rgba(10,10,10,0.95) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding-top: 90px; }
.hero-title {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 700; letter-spacing: 0.06em; margin-bottom: 26px;
}
.hero-title .accent { color: var(--pool-2); -webkit-text-stroke: 0; }
.hero-sub { max-width: 620px; margin: 0 auto 36px; color: var(--muted); font-size: 18px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--dim); }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 22px; color: var(--muted);
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,8px);} }

/* ===== Trust bar ===== */
.trustbar { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 30px 16px; text-align: center; border-left: 1px solid var(--line); }
.trust-grid > div:first-child { border-left: none; }
.trust-grid strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: 0.04em; }
.trust-grid span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-dark { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 17px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: var(--card); border: 1px solid var(--line); padding: 38px 28px;
  position: relative; transition: transform 0.3s, border-color 0.3s; text-align: center;
}
.step:hover { transform: translateY(-6px); border-color: #444; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--dim); letter-spacing: 0.2em; }
.step-icon { color: var(--pool-2); margin: 18px 0 16px; display: flex; justify-content: center; }
.step-icon svg { width: 34px; height: 34px; }
.step h3 { font-size: 21px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; }

/* ===== Compare slider ===== */
.compare {
  position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16/9;
  overflow: hidden; border: 1px solid var(--line); user-select: none; cursor: ew-resize;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 2px solid #fff; }
.compare-before img { width: auto; min-width: 980px; max-width: none; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 44px; transform: translateX(-50%);
  display: grid; place-items: center; pointer-events: none;
}
.compare-handle span {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0a0a0a;
  display: grid; place-items: center; font-weight: 700; font-family: var(--mono); font-size: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.compare-tag {
  position: absolute; top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  background: rgba(10,10,10,0.75); padding: 7px 12px; pointer-events: none;
}
.tag-left { left: 16px; }
.tag-right { right: 16px; }
.disclaimer { margin-top: 22px; text-align: center; font-size: 12px; color: var(--dim); max-width: 720px; margin-left: auto; margin-right: auto; }

/* ===== Styles grid ===== */
.styles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.style-card { background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.style-card:hover { transform: translateY(-6px); border-color: #444; }
.style-img { height: 200px; background-size: cover; background-position: center; transition: transform 0.5s; }
.style-card:hover .style-img { transform: scale(1.06); }
.style-body { padding: 22px; }
.style-body h3 { font-size: 19px; margin-bottom: 8px; }
.style-body p { color: var(--muted); font-size: 14px; }

.finish-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.finish-block { border-top: 1px solid var(--line); padding-top: 22px; }
.finish-block p:last-child { color: var(--muted); font-size: 15px; }

/* ===== Rewards ===== */
.rewards-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rewards-copy h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.rewards-copy .btn { margin-top: 26px; }
.rewards-cards { display: flex; flex-direction: column; gap: 16px; }
.coupon {
  border: 1px dashed #3a3a3a; background: var(--card); padding: 22px 26px; position: relative;
  display: flex; flex-direction: column; gap: 4px;
}
.coupon-tag { position: absolute; top: 18px; right: 22px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--dim); }
.coupon strong { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: 0.03em; }
.coupon p { color: var(--muted); font-size: 14px; }
.coupon code { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--muted); margin-top: 8px; padding: 6px 10px; background: #0a0a0a; border: 1px solid var(--line); align-self: flex-start; }

/* ===== About ===== */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { min-height: 440px; background-size: cover; background-position: center; border: 1px solid var(--line); }
.about-copy h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.about-copy p { color: var(--muted); margin-bottom: 24px; }
.cred-list { list-style: none; margin-bottom: 30px; }
.cred-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.cred-list strong { font-family: var(--mono); color: #fff; letter-spacing: 0.08em; }

/* ===== Contact form ===== */
.lead-form { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--line); color: var(--fg);
  padding: 14px 16px; font-family: var(--sans); font-size: 15px; transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pool); }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input.invalid, .field textarea.invalid { border-color: #dc2626; }
.form-msg { margin-top: 16px; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; min-height: 20px; }
.form-msg.ok { color: #7ddca0; }
.form-msg.err { color: #ef6b6b; }

/* ===== Pool Vision Wizard ===== */
.wizard { max-width: 760px; margin: 0 auto; }
.wiz-builder, .wiz-screen {
  background: var(--card); border: 1px solid var(--line); padding: 40px 38px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* Progress */
.wiz-progress { height: 3px; background: var(--accent); margin-bottom: 14px; overflow: hidden; }
.wiz-progress-bar { height: 100%; width: 20%; background: var(--pool); transition: width 0.4s ease; }
.wiz-steplabel { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 28px; }

/* Steps */
.wiz-step { display: none; animation: wizFade 0.35s ease; }
.wiz-step.is-active { display: block; }
@keyframes wizFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wiz-step-icon {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px;
  border: 1px solid rgba(39, 196, 212, 0.4); border-radius: 50%; color: var(--pool);
}
.wiz-step-icon svg { width: 24px; height: 24px; }
.wiz-title { font-size: clamp(22px, 3vw, 28px); margin-bottom: 10px; }
.wiz-help { color: var(--muted); font-size: 15px; margin-bottom: 26px; }

/* Upload */
.wiz-upload {
  position: relative; display: block; min-height: 260px; cursor: pointer; overflow: hidden;
  border: 2px dashed #cbd5e1; border-radius: 10px; background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
}
.wiz-upload:hover { border-color: #94a3b8; }
.wiz-upload.is-dragover { border-color: var(--pool); background: rgba(39, 196, 212, 0.07); }
.wiz-upload-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wiz-upload-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 20px; pointer-events: none;
  color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
}
.wiz-upload-icon { color: var(--pool); }
.wiz-upload-icon svg { width: 42px; height: 42px; }
.wiz-upload-inner small { color: var(--dim); font-size: 11px; letter-spacing: 0.04em; }
.wiz-upload-change {
  display: none; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.8); color: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 16px;
}
.wiz-upload.has-image { border-style: solid; border-color: var(--line); }
.wiz-upload.has-image .wiz-upload-inner { display: none; }
.wiz-upload.has-image .wiz-upload-change { display: block; }

/* Map / Street View tools */
.wiz-map-tools { margin-top: 22px; }
.wiz-map-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.wiz-map-tab {
  flex: 1; padding: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--muted);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.wiz-map-tab:hover { border-color: #94a3b8; color: var(--fg); }
.wiz-map-tab.is-active { border-color: var(--pool); color: var(--fg); }
.wiz-map-views { position: relative; border: 1px solid var(--line); height: 320px; background: var(--bg); }
.wiz-map-view { width: 100%; height: 100%; }
.wiz-map-view[hidden] { display: none; }
.wiz-map-hint { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--dim); }

/* Google Places autocomplete dropdown — sit above the fixed header */
.pac-container { z-index: 1200; }

/* Option grids */
.wiz-options { display: grid; gap: 14px; }
.wiz-options-img { grid-template-columns: repeat(2, 1fr); }
.wiz-options-text { grid-template-columns: repeat(2, 1fr); }
.wiz-option {
  position: relative; border: 1px solid var(--line); background: var(--bg); color: var(--fg);
  cursor: pointer; font-family: var(--sans); transition: border-color 0.2s, transform 0.2s;
  display: flex; align-items: center;
}
.wiz-option:hover { border-color: #94a3b8; transform: translateY(-2px); }
.wiz-option.is-selected { border-color: var(--pool); box-shadow: inset 0 0 0 1px var(--pool); }
.wiz-options-img .wiz-option {
  height: 140px; background-size: cover; background-position: center; align-items: flex-end; padding: 0;
}
.wiz-options-img .wiz-option span {
  width: 100%; padding: 12px 14px; background: linear-gradient(0deg, rgba(10,10,10,0.85), transparent);
  font-family: var(--display); font-size: 16px; letter-spacing: 0.03em; color: #fff;
}
.wiz-options-img .wiz-option.is-selected span { background: linear-gradient(0deg, rgba(10,10,10,0.9), rgba(10,10,10,0.2)); }
.wiz-options-text .wiz-option { padding: 18px; gap: 12px; font-size: 15px; letter-spacing: 0.04em; }
.wiz-swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(15,23,42,0.15); flex: none; }

/* Nav */
.wiz-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; }
.wiz-nav .btn { min-width: 130px; text-align: center; }
.wiz-nav #wizBack[hidden] { display: none; }
.wiz-nav #wizNext { margin-left: auto; }
.wiz-msg { margin-top: 16px; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; min-height: 18px; color: #ef6b6b; }

/* Generating / result screens */
.wiz-screen { text-align: center; }
.wiz-loader {
  width: 48px; height: 48px; margin: 0 auto 26px; border-radius: 50%;
  border: 3px solid var(--accent); border-top-color: var(--pool); animation: wizSpin 0.9s linear infinite;
}
@keyframes wizSpin { to { transform: rotate(360deg); } }

.wiz-result-media { position: relative; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4/3; background: var(--bg); }
.wiz-result-media img { width: 100%; height: 100%; object-fit: cover; }
.wiz-result-tag {
  position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  background: rgba(10,10,10,0.75); padding: 7px 12px; color: #fff;
}
.wiz-result-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.wiz-result-actions .btn { min-width: 170px; text-align: center; }

/* Save screen */
.wiz-save-media { border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 30px; background: var(--bg); }
.wiz-save-media img { width: 100%; height: 100%; object-fit: cover; }
.wiz-save-media + .lead-form { margin: 0; }
.wiz-disclaimer { font-size: 12px; color: var(--dim); margin-bottom: 18px; line-height: 1.5; }

@media (max-width: 540px) {
  .wiz-builder, .wiz-screen { padding: 28px 22px; }
  .wiz-options-img, .wiz-options-text { grid-template-columns: 1fr; }
  .wiz-result-actions .btn { width: 100%; }
}

/* ===== Footer ===== */
.site-footer { background: #060606; border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-grid h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer-grid a, .footer-grid p { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-note { margin-top: 16px; max-width: 300px; }
.footer-legal { padding-top: 26px; }
.footer-legal p { font-size: 12px; color: var(--dim); margin-bottom: 8px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.97); backdrop-filter: blur(12px); padding: 10px 0; border-bottom: 1px solid var(--line);
  }
  .nav.open a { padding: 16px 24px; width: 100%; }
  .nav-toggle { display: flex; }
  .steps, .styles-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(odd) { border-left: none; }
  .finish-row { grid-template-columns: 1fr; }
  .rewards-wrap, .about-wrap, .lead-form { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
}
@media (max-width: 540px) {
  .steps, .styles-grid, .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-left: none; border-top: 1px solid var(--line); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
