/* ============================================================
   OASIS POOLS — Styles
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0a1e35;
  --navy2:  #0f2744;
  --pool:   #0891b2;
  --pool2:  #06b6d4;
  --aqua:   #22d3ee;
  --gold:   #f59e0b;
  --cream:  #f0f9ff;
  --white:  #ffffff;
  --gray:   #64748b;
  --gray-l: #e2e8f0;
  --text:   #0f172a;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 56px rgba(0,0,0,.16);
  --tr: .28s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); }
.page-wrap { width: 100%; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }

.container  { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-light  { background: var(--white); }
.section-dark   { background: var(--navy); color: var(--white); }
.section-cream  { background: var(--cream); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--pool); margin-bottom: 10px;
}
.section-tag.light { color: var(--aqua); }
.section-title {
  font-family: var(--font-serif); font-size: clamp(2rem,4vw,3rem);
  font-weight: 600; line-height: 1.15; color: var(--navy); margin-bottom: 14px;
}
.section-title.light { color: var(--white); }
.section-title em { font-style: italic; color: var(--pool2); }
.section-subtitle { font-size: 1rem; color: var(--gray); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.section-subtitle.light { color: rgba(255,255,255,.6); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; font-size: .875rem; font-weight: 600;
  letter-spacing: .03em; border-radius: var(--radius);
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--tr); white-space: nowrap; font-family: var(--font-sans);
}
.btn-primary  { background: var(--pool); color: var(--white); border-color: var(--pool); }
.btn-primary:hover { background: var(--pool2); border-color: var(--pool2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(8,145,178,.4); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-pool { background: linear-gradient(135deg, var(--pool), var(--pool2)); color: var(--white); border: none; }
.btn-pool:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(8,145,178,.45); filter: brightness(1.08); }
.btn.full-width { width: 100%; justify-content: center; }

/* ============================================================ NAVBAR */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all var(--tr); }
#navbar.scrolled { background: var(--navy); box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; height: 112px; gap: 20px; }
.nav-logo { height: 156px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.8); transition: color var(--tr); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--aqua); transform: scaleX(0); transition: transform var(--tr); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 6px; padding: 9px 18px; background: var(--pool); color: var(--white); font-size: .8rem; font-weight: 700; border-radius: var(--radius); transition: all var(--tr); white-space: nowrap; }
.nav-cta:hover { background: var(--pool2); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; background: var(--navy); padding: 16px 24px 24px; border-top: 1px solid rgba(255,255,255,.08); }
.mobile-menu.open { display: flex; }
.mobile-link { padding: 12px 0; font-size: .9rem; color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-link:hover { color: var(--aqua); }
.mobile-phone { margin-top: 16px; font-size: 1rem; font-weight: 700; color: var(--aqua); }

/* ============================================================ HERO */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6,20,42,.72) 0%, rgba(6,20,42,.55) 45%, rgba(6,20,42,.88) 100%); }

.hero-content { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 100px 24px 48px; width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.hero-eyebrow { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); border: 1px solid rgba(34,211,238,.35); padding: 6px 16px; border-radius: 100px; margin-bottom: 18px; align-self: flex-start; }
.hero-title { font-family: var(--font-serif); font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 600; line-height: 1.06; color: var(--white); margin-bottom: 16px; max-width: 780px; }
.hero-title em { font-style: italic; color: var(--aqua); }
.hero-subtitle { font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,.65); margin-bottom: 20px; max-width: 580px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-tagline { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; max-width: 1180px; margin: 0 auto; padding: 32px 24px; width: 100%; }
.tagline-line { flex: 1; height: 1px; background: rgba(255,255,255,.18); }
.hero-tagline p { font-family: var(--font-serif); font-size: 1rem; font-style: italic; color: rgba(255,255,255,.55); white-space: nowrap; }

.hero-stats { position: relative; z-index: 1; background: rgba(8,145,178,.18); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px 48px; }
.hstat-n { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--white); }
.hstat-l { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hstat-div { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* ============================================================ CONFIGURATOR */
.configurator { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; }

.config-step { display: none; padding: 40px; }
.config-step.active { display: block; }

.step-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
.step-num { font-family: var(--font-serif); font-size: 3.5rem; font-weight: 700; color: rgba(34,211,238,.25); line-height: 1; flex-shrink: 0; }
.step-header h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--white); margin-bottom: 4px; }
.step-header p { font-size: .88rem; color: rgba(255,255,255,.5); }

/* Shape grid */
.shape-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.shape-card { background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12); border-radius: 10px; padding: 16px 12px; cursor: pointer; transition: all var(--tr); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.shape-card:hover { border-color: var(--aqua); background: rgba(34,211,238,.08); }
.shape-card.selected { border-color: var(--aqua); background: rgba(34,211,238,.15); box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.shape-svg { width: 60px; height: 44px; color: rgba(255,255,255,.5); }
.shape-card.selected .shape-svg { color: var(--aqua); }
.shape-card span { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.6); }
.shape-card.selected span { color: var(--aqua); }

/* Size grid */
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.size-card { background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12); border-radius: 10px; padding: 24px 16px; cursor: pointer; transition: all var(--tr); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.size-card:hover { border-color: var(--aqua); background: rgba(34,211,238,.08); }
.size-card.selected { border-color: var(--aqua); background: rgba(34,211,238,.15); box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.size-visual { border: 2px solid rgba(255,255,255,.3); border-radius: 4px; }
.size-sm  { width: 40px; height: 28px; }
.size-md  { width: 52px; height: 36px; }
.size-lg  { width: 64px; height: 44px; }
.size-custom { width: 52px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: rgba(255,255,255,.4); }
.size-card.selected .size-visual { border-color: var(--aqua); }
.size-card strong { font-size: .95rem; font-weight: 700; color: var(--white); }
.size-card span { font-size: .78rem; color: rgba(255,255,255,.55); }
.size-card em { font-size: .7rem; font-style: normal; color: var(--aqua); font-weight: 600; display: none; }
.size-card.selected em { display: block; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feature-btn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12); border-radius: 8px; cursor: pointer; transition: all var(--tr); font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.7); text-align: left; font-family: var(--font-sans); }
.feature-btn svg { width: 18px; height: 18px; flex-shrink: 0; stroke: rgba(255,255,255,.4); }
.feature-btn:hover { border-color: var(--aqua); background: rgba(34,211,238,.08); color: var(--white); }
.feature-btn.selected { border-color: var(--aqua); background: rgba(34,211,238,.15); color: var(--white); }
.feature-btn.selected svg { stroke: var(--aqua); }

/* Quote step */
.quote-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.quote-summary { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 24px; }
.quote-summary h4 { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--aqua); margin-bottom: 20px; }
.summary-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); gap: 16px; }
.summary-item span { font-size: .78rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .08em; }
.summary-item strong { font-size: .85rem; color: var(--white); text-align: right; }
.features-row { flex-direction: column; gap: 6px; align-items: flex-start; }
.features-row strong { text-align: left; line-height: 1.6; }
.summary-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .75rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.summary-note svg { flex-shrink: 0; stroke: var(--aqua); margin-top: 1px; }

.quote-form { background: rgba(255,255,255,.04); border-radius: 10px; padding: 28px; }
.qf-group { margin-bottom: 16px; }
.qf-group label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.req { color: var(--aqua); }
.qf-group input, .qf-group textarea {
  width: 100%; padding: 11px 14px; font-family: var(--font-sans); font-size: .875rem;
  color: var(--white); background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius); outline: none; transition: border-color var(--tr), box-shadow var(--tr);
}
.qf-group input::placeholder, .qf-group textarea::placeholder { color: rgba(255,255,255,.25); }
.qf-group input:focus, .qf-group textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.qf-group textarea { resize: vertical; min-height: 80px; }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qf-note { text-align: center; font-size: .73rem; color: rgba(255,255,255,.3); margin-top: 10px; }

.quote-success { background: rgba(255,255,255,.04); border: 1px solid rgba(34,211,238,.2); border-radius: 10px; padding: 48px 28px; text-align: center; }
.qs-icon { font-size: 3rem; margin-bottom: 16px; }
.quote-success h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--white); margin-bottom: 8px; }
.quote-success p { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.7; }

/* Step nav */
.step-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.15); }
.step-nav-btn { display: flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); cursor: pointer; transition: all var(--tr); font-family: var(--font-sans); }
.step-nav-btn:hover:not(:disabled) { background: rgba(34,211,238,.15); border-color: var(--aqua); color: var(--white); }
.step-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
.step-nav-btn.next { background: var(--pool); border-color: var(--pool); color: var(--white); }
.step-nav-btn.next:hover { background: var(--pool2); border-color: var(--pool2); }
.step-dots { display: flex; gap: 8px; }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); transition: all var(--tr); }
.step-dot.active { background: var(--aqua); transform: scale(1.3); }

/* ============================================================ SHAPES */
.shapes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 56px; }
.shape-pool-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-l); transition: all var(--tr); }
.shape-pool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.shape-pool-img { height: 220px; overflow: hidden; }
.shape-pool-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shape-pool-card:hover .shape-pool-img img { transform: scale(1.05); }
.shape-pool-body { padding: 22px; }
.shape-pool-body h3 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.shape-price { font-size: .82rem; font-weight: 600; color: var(--pool); margin-bottom: 10px; letter-spacing: .02em; }
.shape-price strong { font-size: 1rem; color: var(--navy); }
.shape-pool-body p { font-size: .83rem; line-height: 1.65; color: var(--gray); }

.shapes-pricing-table { background: var(--white); border-radius: 12px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--gray-l); }
.shapes-pricing-table h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--navy); margin-bottom: 28px; text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 24px; border: 1px solid var(--gray-l); border-radius: 8px; overflow: hidden; }
.pricing-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--gray-l); border-right: 1px solid var(--gray-l); }
.pricing-row:nth-child(3n) { border-right: none; }
.pricing-row:nth-last-child(-n+3) { border-bottom: none; }
.pricing-row span { font-size: .85rem; color: var(--text); }
.pricing-row strong { font-size: .85rem; color: var(--pool); font-weight: 700; white-space: nowrap; }
.pricing-note { text-align: center; font-size: .82rem; color: var(--gray); line-height: 1.7; }
.pricing-note a { color: var(--pool); font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

/* ============================================================ OPTIONS */
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.option-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; transition: all var(--tr); }
.option-card:hover { border-color: rgba(34,211,238,.3); background: rgba(255,255,255,.08); transform: translateY(-4px); }
.option-card--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.option-card--wide .option-img { height: auto; }
.option-card--cta { background: linear-gradient(135deg, rgba(8,145,178,.2), rgba(34,211,238,.1)); border-color: rgba(34,211,238,.25); }
.option-img { height: 200px; overflow: hidden; }
.option-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.option-card:hover .option-img img { transform: scale(1.04); }
.option-body { padding: 24px; }
.option-body--cta { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.option-icon { width: 42px; height: 42px; border-radius: 8px; background: rgba(34,211,238,.15); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; flex-shrink: 0; }
.option-icon svg { width: 20px; height: 20px; stroke: var(--aqua); }
.option-body h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.option-body p { font-size: .83rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.more-options-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; padding: 14px; background: rgba(255,255,255,.06); border-radius: 8px; font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.6; border: 1px solid rgba(255,255,255,.08); }
.more-options-note svg { stroke: var(--aqua); flex-shrink: 0; margin-top: 1px; }
.more-options-note a { color: var(--aqua); font-weight: 600; }

/* ============================================================ PROCESS */
.process-timeline { display: flex; flex-direction: column; gap: 0; }
.process-step { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 40px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--gray-l); position: relative; }
.process-step:last-child { border-bottom: none; }
.process-step--flip { }
.process-step--flip .ps-img-wrap { order: 3; }
.process-step--flip .ps-content { order: 2; }
.ps-num { font-family: var(--font-serif); font-size: 4rem; font-weight: 700; color: rgba(8,145,178,.15); line-height: 1; }
.ps-img-wrap { border-radius: 12px; overflow: hidden; height: 280px; }
.ps-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.process-step:hover .ps-img-wrap img { transform: scale(1.04); }
.ps-content h3 { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.ps-content p { font-size: .92rem; line-height: 1.8; color: var(--gray); }
.ps-content strong { color: var(--pool); font-weight: 700; }

/* ============================================================ BEAUTY BREAK */
.beauty-break { position: relative; height: 480px; overflow: hidden; }
.beauty-img { width: 100%; height: 100%; object-fit: cover; }
.beauty-overlay { position: absolute; inset: 0; background: rgba(8,30,55,.6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px 24px; text-align: center; }
.beauty-overlay p { font-family: var(--font-serif); font-size: clamp(1.2rem,3vw,2rem); font-style: italic; color: rgba(255,255,255,.88); max-width: 700px; line-height: 1.5; }

/* ============================================================ SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-l); transition: all var(--tr); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-img-wrap { height: 200px; overflow: hidden; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-body { padding: 28px; }
.service-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(8,145,178,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-icon svg { width: 22px; height: 22px; stroke: var(--pool); }
.service-body h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.service-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-body ul li { font-size: .85rem; color: var(--gray); padding-left: 14px; position: relative; }
.service-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--pool); }
.service-desc { font-size: .88rem; line-height: 1.7; color: var(--gray); }
.service-desc strong { color: var(--pool); }

/* ============================================================ LINERS */
.liner-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.liner-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-l); transition: all var(--tr); }
.liner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.liner-swatch { height: 100px; }
.liner-card h4 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); padding: 16px 20px 6px; }
.liner-card p { font-size: .82rem; color: var(--gray); padding: 0 20px 20px; line-height: 1.65; }
.liner-brands { text-align: center; }
.liner-brand-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gray); margin-bottom: 16px; }
.liner-brand-logos { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.brand-chip { padding: 8px 20px; background: var(--cream); border: 1px solid rgba(8,145,178,.2); border-radius: 100px; font-size: .8rem; font-weight: 600; color: var(--pool); }

/* ============================================================ ABOUT */
.about-section { }
.about-layout { display: grid; grid-template-columns: 440px 1fr; gap: 72px; align-items: center; }
.about-img-col { position: relative; }
.about-img { width: 100%; height: 520px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; bottom: -20px; right: -20px; width: 110px; height: 110px; background: linear-gradient(135deg, var(--pool), var(--pool2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(8,145,178,.5); }
.ab-inner { text-align: center; color: var(--white); }
.ab-num   { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; display: block; }
.ab-label { font-size: .52rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; display: block; line-height: 1.4; opacity: .85; }
.about-lead { font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.about-body { font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.55); margin-bottom: 32px; }
.about-values { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.av-item { display: flex; gap: 14px; align-items: flex-start; }
.av-item svg { width: 18px; height: 18px; stroke: var(--aqua); flex-shrink: 0; margin-top: 2px; }
.av-item div { display: flex; flex-direction: column; gap: 2px; }
.av-item strong { font-size: .88rem; color: var(--white); }
.av-item span { font-size: .8rem; color: rgba(255,255,255,.5); }
.about-service-area { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.5); }
.about-service-area svg { stroke: var(--aqua); }
.about-service-area strong { color: var(--aqua); }

/* ============================================================ CONTACT */
.section-contact { background: var(--navy2); padding: 96px 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-sub { font-size: .9rem; color: rgba(255,255,255,.5); margin-top: -8px; margin-bottom: 36px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.cd { display: flex; gap: 14px; align-items: flex-start; }
.cd-icon { width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0; background: rgba(8,145,178,.18); display: flex; align-items: center; justify-content: center; }
.cd-icon svg { width: 16px; height: 16px; stroke: var(--aqua); }
.cd > div { display: flex; flex-direction: column; gap: 2px; }
.cd strong { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.cd span, .cd a { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.6; }
.cd a:hover { color: var(--aqua); }
.contact-form { background: var(--white); border-radius: 12px; padding: 36px; box-shadow: var(--shadow-lg); }
.form-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.req { color: var(--pool); }
.form-group input, .form-group textarea { width: 100%; padding: 11px 14px; font-family: var(--font-sans); font-size: .875rem; color: var(--navy); background: #f8fafc; border: 1.5px solid var(--gray-l); border-radius: var(--radius); outline: none; appearance: none; transition: border-color var(--tr), box-shadow var(--tr); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--pool); box-shadow: 0 0 0 3px rgba(8,145,178,.12); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 0; }
.form-row.two-col .form-group { margin-bottom: 0; }
.form-success { background: var(--white); border-radius: 12px; padding: 56px 36px; text-align: center; box-shadow: var(--shadow-lg); }
.success-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--pool); color: var(--white); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.form-success h3 { font-family: var(--font-serif); font-size: 1.7rem; color: var(--navy); margin-bottom: 8px; }
.form-success p { font-size: .88rem; color: var(--gray); line-height: 1.7; }

/* ============================================================ FOOTER */
.footer { background: #050f1c; color: rgba(255,255,255,.5); padding: 64px 0 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px 48px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-logo { height: 60px; width: auto; margin-bottom: 16px; opacity: .9; }
.footer-desc { font-size: .8rem; line-height: 1.7; max-width: 300px; }
.footer-links h4, .footer-contact h4 { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--aqua); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-links a, .footer-contact a, .footer-contact span { font-size: .8rem; line-height: 1.9; color: rgba(255,255,255,.5); transition: color var(--tr); }
.footer-links a:hover, .footer-contact a:hover { color: var(--aqua); }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .72rem; color: rgba(255,255,255,.22); }

/* ============================================================ FINANCING */
.financing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.financing-card { background: var(--white); border: 1px solid var(--gray-l); border-radius: 12px; padding: 36px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; transition: all var(--tr); }
.financing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.financing-logo { max-height: 80px; width: auto; max-width: 260px; object-fit: contain; }
.financing-body { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.financing-body h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy); }
.financing-body p { font-size: .88rem; color: var(--gray); line-height: 1.7; max-width: 360px; }
.financing-note { display: flex; align-items: flex-start; gap: 10px; background: rgba(8,145,178,.07); border: 1px solid rgba(8,145,178,.2); border-radius: 8px; padding: 16px 20px; font-size: .85rem; color: var(--navy); line-height: 1.7; max-width: 700px; margin: 0 auto; }
.financing-note svg { stroke: var(--pool); flex-shrink: 0; margin-top: 2px; }

/* ============================================================ LINER REPLACEMENTS */
.lr-layout { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }
.lr-intro { font-size: .95rem; line-height: 1.8; color: var(--gray); margin-bottom: 28px; }
.lr-content h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 20px; }
.lr-signs { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.lr-sign { display: flex; gap: 16px; align-items: flex-start; }
.lr-sign-num { width: 32px; height: 32px; border-radius: 50%; background: var(--pool); color: var(--white); font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lr-sign p { font-size: .88rem; line-height: 1.65; color: var(--gray); padding-top: 6px; }
.lr-opportunity { display: flex; gap: 14px; align-items: flex-start; background: rgba(8,145,178,.07); border: 1px solid rgba(8,145,178,.2); border-radius: 8px; padding: 18px 20px; }
.lr-opportunity svg { width: 20px; height: 20px; stroke: var(--pool); flex-shrink: 0; margin-top: 2px; }
.lr-opportunity p { font-size: .85rem; line-height: 1.7; color: var(--navy); }
.lr-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-card { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.ba-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.ba-label { position: absolute; top: 12px; left: 12px; padding: 4px 14px; border-radius: 100px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ba-before { background: rgba(0,0,0,.55); color: rgba(255,255,255,.85); }
.ba-after  { background: var(--pool); color: var(--white); }

/* ============================================================ FENCING */
.fence-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 28px; }
.fence-card { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-l); transition: all var(--tr); text-align: center; }
.fence-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fence-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.fence-card span { display: block; padding: 10px 8px; font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--white); }
.fence-note { text-align: center; font-size: .85rem; color: var(--gray); line-height: 1.7; }
.fence-note a { color: var(--pool); font-weight: 600; }
.fence-note a:hover { text-decoration: underline; }

/* ============================================================ PATIOS */
.patio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 32px; }
.patio-card { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; }
.patio-card--wide { grid-column: span 2; }
.patio-card img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform .5s ease; }
.patio-card--wide img { height: 340px; }
.patio-card:hover img { transform: scale(1.04); }
.patio-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px 24px; background: linear-gradient(to top, rgba(6,20,42,.9) 0%, transparent 100%); }
.patio-overlay h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.patio-overlay p { font-size: .8rem; color: rgba(255,255,255,.65); line-height: 1.6; }
.patio-showroom { display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 18px 20px; font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.patio-showroom svg { stroke: var(--aqua); flex-shrink: 0; margin-top: 2px; }
.patio-showroom a { color: var(--aqua); font-weight: 600; }

/* ============================================================ SKELETON LOADERS */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shape-pool-img,
.option-img,
.service-img-wrap,
.ba-card,
.fence-card,
.patio-card,
.ps-img-wrap,
.about-img-col,
.beauty-break,
.financing-card {
  background: linear-gradient(
    90deg,
    #e8eef5 0%,
    #f4f7fa 50%,
    #e8eef5 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

/* Dark-context skeletons (inside .section-dark) */
.section-dark .option-img,
.section-dark .patio-card,
.section-dark .about-img-col {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.04) 0%,
    rgba(255,255,255,.09) 50%,
    rgba(255,255,255,.04) 100%
  );
  background-size: 200% 100%;
}

/* Stop shimmer once an image inside has loaded */
.shape-pool-img:has(img.loaded),
.option-img:has(img.loaded),
.service-img-wrap:has(img.loaded),
.ba-card:has(img.loaded),
.fence-card:has(img.loaded),
.patio-card:has(img.loaded),
.ps-img-wrap:has(img.loaded),
.about-img-col:has(img.loaded),
.beauty-break:has(img.loaded),
.financing-card:has(img.loaded) {
  animation: none;
  background: transparent;
}

/* Image fade-in when loaded */
.shape-pool-img img,
.option-img img,
.service-img-wrap img,
.ba-card img,
.fence-card img,
.patio-card img,
.ps-img-wrap img,
.about-img,
.beauty-img,
.financing-logo {
  opacity: 0;
  transition: opacity .4s ease;
}
.shape-pool-img img.loaded,
.option-img img.loaded,
.service-img-wrap img.loaded,
.ba-card img.loaded,
.fence-card img.loaded,
.patio-card img.loaded,
.ps-img-wrap img.loaded,
.about-img.loaded,
.beauty-img.loaded,
.financing-logo.loaded {
  opacity: 1;
}

/* Hero image: simple fade-in, no skeleton (overlay covers it) */
.hero-bg-img {
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-bg-img.loaded {
  opacity: 1;
}

/* ============================================================ ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ============================================================ RESPONSIVE */
/* ============================================================
   RESPONSIVE — Tablet 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .quote-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-img-col { max-width: 500px; }
  .option-card--wide { grid-column: span 3; }
  .lr-layout { grid-template-columns: 1fr; gap: 40px; }
  .lr-before-after { grid-template-columns: 1fr 1fr; max-width: 600px; }
}

/* ============================================================
   RESPONSIVE — Tablet 900px
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 72px 0; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-stats { flex-wrap: wrap; gap: 0; }
  .hstat { padding: 16px 24px; }
  .hstat-div { display: none; }

  /* Configurator */
  .shape-grid { grid-template-columns: repeat(3, 1fr); }
  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-layout { grid-template-columns: 1fr; }

  /* Shapes */
  .shapes-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-row:nth-child(2n) { border-right: none; }
  .pricing-row:nth-child(3n) { border-right: 1px solid var(--gray-l); }

  /* Options */
  .options-grid { grid-template-columns: 1fr 1fr; }
  .option-card--wide { grid-column: span 2; }

  /* Process */
  .process-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .ps-img-wrap { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; }

  /* Liners */
  .liner-colors { grid-template-columns: 1fr 1fr; }

  /* Liner Replacements */
  .lr-layout { grid-template-columns: 1fr; gap: 36px; }

  /* Fencing */
  .fence-grid { grid-template-columns: repeat(3, 1fr); }

  /* Patios */
  .patio-grid { grid-template-columns: 1fr 1fr; }
  .patio-card--wide { grid-column: span 2; }

  /* About */
  .about-layout { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — Mobile 768px
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 40px; }

  /* ---- HERO ---- */
  .hero { min-height: 100svh; }
  .hero-content { padding: 100px 16px 32px; }
  .hero-eyebrow { font-size: .65rem; padding: 5px 12px; margin-bottom: 12px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); margin-bottom: 10px; }
  .hero-subtitle { font-size: .9rem; margin-bottom: 16px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 15px 24px; }
  .hero-tagline { padding: 20px 16px; }
  .hero-tagline p { font-size: .85rem; white-space: normal; text-align: center; }
  .tagline-line { display: none; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hstat { padding: 14px 16px; flex-basis: 50%; text-align: center; }
  .hstat-n { font-size: 1.3rem; }
  .hstat-l { font-size: .6rem; }

  /* ---- CONFIGURATOR ---- */
  .config-step { padding: 20px 16px; }
  .step-header { gap: 12px; margin-bottom: 20px; }
  .step-num { font-size: 2.5rem; }
  .step-header h3 { font-size: 1.3rem; }
  .step-header p { font-size: .8rem; }
  .shape-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .shape-card { padding: 12px 8px; }
  .shape-svg { width: 48px; height: 36px; }
  .size-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .size-card { padding: 16px 10px; }
  .features-grid { grid-template-columns: 1fr; gap: 8px; }
  .feature-btn { padding: 12px 14px; }
  .qf-row { grid-template-columns: 1fr; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-summary { display: none; }
  .step-nav { padding: 14px 16px; flex-wrap: wrap; gap: 12px; }
  .step-nav-btn { padding: 10px 16px; font-size: .8rem; }

  /* ---- SHAPES & PRICING ---- */
  .shapes-grid { grid-template-columns: 1fr; gap: 20px; }
  .shapes-pricing-table { padding: 24px 16px; }
  .shapes-pricing-table h3 { font-size: 1.3rem; margin-bottom: 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-row { border-right: none !important; }
  .pricing-row:nth-last-child(-n+3) { border-bottom: 1px solid var(--gray-l); }
  .pricing-row:last-child { border-bottom: none; }

  /* ---- OPTIONS ---- */
  .options-grid { grid-template-columns: 1fr; }
  .option-card--wide { grid-column: span 1; display: block; }
  .option-card--wide .option-img { height: 200px; }
  .option-img { height: 180px; }
  .option-body { padding: 18px 16px; }

  /* ---- PROCESS ---- */
  .process-step { grid-template-columns: 40px 1fr; gap: 14px; padding: 36px 0; }
  .ps-num { font-size: 2.5rem; }
  .ps-content h3 { font-size: 1.4rem; }
  .ps-content p { font-size: .85rem; }

  /* ---- BEAUTY BREAK ---- */
  .beauty-break { height: 300px; }
  .beauty-overlay p { font-size: 1rem; }
  .beauty-overlay .btn { padding: 12px 20px; font-size: .82rem; }

  /* ---- SERVICES ---- */
  .services-grid { grid-template-columns: 1fr; }

  /* ---- LINERS ---- */
  .liner-colors { grid-template-columns: 1fr; }
  .liner-swatch { height: 72px; }
  .liner-brand-logos { gap: 8px; }
  .brand-chip { font-size: .75rem; padding: 6px 14px; }

  /* ---- FINANCING ---- */
  .financing-grid { grid-template-columns: 1fr; gap: 20px; }
  .financing-card { padding: 24px 20px; }

/* ---- LINER REPLACEMENTS ---- */
  .lr-layout { grid-template-columns: 1fr; gap: 28px; }
  .lr-before-after { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ba-card img { height: 180px; }

  /* ---- FENCING ---- */
  .fence-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fence-card img { height: 130px; }

  /* ---- PATIOS ---- */
  .patio-grid { grid-template-columns: 1fr; }
  .patio-card--wide { grid-column: span 1; }
  .patio-card img, .patio-card--wide img { height: 220px; }
  .patio-overlay { padding: 20px 16px 16px; }
  .patio-overlay h3 { font-size: 1.1rem; }
  .patio-overlay p { font-size: .78rem; }

  /* ---- ABOUT ---- */
  .about-img { height: 320px; }
  .about-badge { width: 80px; height: 80px; }
  .ab-num { font-size: 1.2rem; }
  .about-values { gap: 12px; }

  /* ---- CONTACT ---- */
  .section-contact { padding: 52px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px 16px; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .form-title { font-size: 1.25rem; }

  /* ---- FOOTER ---- */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 16px 36px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; padding: 16px; }
  .footer-desc { max-width: 100%; }

  /* ---- BUTTONS ---- */
  .btn { min-height: 44px; }
}

/* ============================================================
   RESPONSIVE — Small Mobile 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .shape-grid { grid-template-columns: repeat(2, 1fr); }
  .hstat { flex-basis: 100%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .fence-grid { grid-template-columns: 1fr 1fr; }
  .lr-before-after { grid-template-columns: 1fr; }
  .ba-card img { height: 220px; }
  .shapes-grid { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .patio-grid { grid-template-columns: 1fr; }
  .hsb-inner { flex-direction: column; }
  .hsb-field { padding: 12px 14px; }
  .hsb-divider { width: auto; height: 1px; margin: 0; }
  .hsb-btn { border-radius: 0 0 10px 10px; padding: 14px; width: 100%; justify-content: center; }
}
/* mobile v2 */
