/* Wild West Custom Pools — Investment Designer
   Matches the main site: black and gold, Cormorant Garamond headings, Inter body. */
:root {
  --black: #080808; --dark: #111111; --card: #181818; --border: #2a2a2a;
  --gold: #c9a84c; --gold-lt: #e2c97e; --white: #f5f0ea; --gray: #888888;
  --serif: "Cormorant Garamond", Georgia, serif; --sans: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font: 300 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
em { font-style: italic; color: var(--gold-lt); }
[hidden] { display: none !important; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 400; }

/* Header */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(0,0,0,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--serif); font-size: 20px; color: var(--white); white-space: nowrap; }
.brand span { color: var(--gold); }
.nav-links { display: none; list-style: none; gap: 32px; font-size: 14px; letter-spacing: .02em; color: var(--gray); }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: none; border: 1px solid var(--gold); color: var(--gold); font-size: 14px; letter-spacing: .02em; padding: 10px 20px; border-radius: 4px; transition: .2s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold); color: #000; }
.nav-toggle { display: flex; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--white); }
.mobile-menu { border-top: 1px solid var(--border); padding: 16px 24px 20px; display: grid; gap: 16px; }
.mobile-menu a { color: var(--gray); }
.mobile-menu .nav-cta-mobile { border: 1px solid var(--gold); color: var(--gold); text-align: center; padding: 10px; border-radius: 4px; font-size: 14px; }
@media (min-width: 1024px) { .nav-links, .nav-cta { display: flex; } .nav-toggle, .mobile-menu { display: none !important; } }

/* Hero */
.hero { position: relative; text-align: center; padding: 96px 24px 72px; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.75) 60%, var(--black)), url("/images/pool-hill-country-infinity-edge.png") center/cover no-repeat, var(--dark); }
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 6vw, 64px); line-height: 1.08; }
.hero .lead { margin: 22px auto 0; max-width: 620px; color: #b9b2a8; font-size: 17px; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 24px 24px 64px; }
.layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .layout { grid-template-columns: 1fr 360px; align-items: start; } .summary { position: sticky; top: 88px; } }

/* Option sections */
.options { display: grid; gap: 16px; }
.opt { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 24px; }
.opt-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 16px; }
.opt-head h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.opt-head p { width: 100%; font-size: 13px; color: var(--gray); margin-top: -2px; padding-left: 36px; }
.step { font-size: 12px; letter-spacing: .14em; color: var(--gold); width: 24px; }
.shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shape input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.shape-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 18px 10px 14px; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; transition: .2s; height: 100%; background: var(--dark); }
.shape-card svg { width: 100%; max-width: 110px; height: 56px; fill: rgba(201,168,76,.08); stroke: var(--gray); stroke-width: 2; margin-bottom: 8px; transition: .2s; }
.shape-card b { font-weight: 500; font-size: 15px; }
.shape-card small { font-size: 12px; color: var(--gray); }
.shape:hover .shape-card { border-color: #4a4334; }
.shape input:checked + .shape-card { border-color: var(--gold); background: rgba(201,168,76,.08); }
.shape input:checked + .shape-card svg { stroke: var(--gold); fill: rgba(201,168,76,.18); }
.shape input:focus-visible + .shape-card, .chips input:focus-visible + span { outline: 2px solid var(--gold-lt); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.mt { margin-top: 12px; }
.chips label { position: relative; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; color: #cfc8bd; cursor: pointer; transition: .2s; background: var(--dark); }
.chips label:hover span { border-color: #4a4334; color: var(--white); }
.chips input:checked + span { border-color: var(--gold); color: #000; background: var(--gold); font-weight: 500; }
.other { margin-top: 14px; }
.other label { display: block; font-size: 13px; color: var(--gray); margin-bottom: 6px; }
.hint { font-size: 12px; color: var(--gray); margin-top: 6px; }

/* Summary */
.summary { display: grid; gap: 16px; }
.summary-card { background: var(--card); border: 1px solid var(--gold); border-radius: 6px; padding: 28px 24px; }
.range { font-family: var(--serif); font-size: clamp(32px, 4vw, 38px); line-height: 1.1; color: var(--gold-lt); }
.monthly { margin-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--border); padding-top: 14px; }
.monthly span { font-size: 13px; color: var(--gray); }
.monthly strong { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--white); white-space: nowrap; }
.finance-note { font-size: 12px; color: var(--gray); margin-top: 10px; line-height: 1.5; }
.rule { width: 48px; height: 2px; background: var(--gold); margin: 20px 0 16px; }
.sum-title { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.selections { list-style: none; display: grid; gap: 6px; font-size: 14px; margin-bottom: 22px; }
.selections li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #262626; padding-bottom: 6px; }
.selections li span:first-child { color: var(--gray); }
.selections li span:last-child { text-align: right; }
.btn-gold { display: inline-block; width: 100%; text-align: center; background: var(--gold); color: #000; font: 500 14px var(--sans); letter-spacing: .03em; padding: 14px 20px; border-radius: 4px; border: 0; cursor: pointer; transition: .2s; }
.btn-gold:hover { background: var(--gold-lt); }
.btn-gold:disabled { opacity: .6; cursor: wait; }
.btn-gold.big { width: auto; padding: 15px 34px; margin-top: 8px; }
.cap { text-align: center; font-size: 12px; color: var(--gray); margin-top: 10px; letter-spacing: .04em; }
.included { background: var(--dark); border: 1px solid var(--border); border-radius: 6px; padding: 22px 24px; }
.included ul { list-style: none; display: grid; gap: 6px; font-size: 14px; color: #cfc8bd; }
.included li::before { content: "✓"; color: var(--gold); margin-right: 10px; }
.planning { margin-top: 28px; font-size: 13px; color: var(--gray); max-width: 860px; }
.planning b { color: #cfc8bd; font-weight: 500; }

/* Why */
.why { margin-top: 72px; text-align: center; }
.why h2, .report h2, .success h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.why-grid { margin-top: 36px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); text-align: left; }
.why-grid div { border: 1px solid var(--border); border-radius: 6px; padding: 20px; background: var(--card); }
.why-grid b { display: block; font-weight: 500; font-size: 15px; color: var(--white); }
.why-grid span { display: block; font-size: 13px; color: var(--gray); margin-top: 6px; }

/* Report form */
.report { margin-top: 72px; display: grid; gap: 32px; background: var(--dark); border: 1px solid var(--border); border-radius: 6px; padding: 40px 28px; scroll-margin-top: 90px; }
@media (min-width: 900px) { .report { grid-template-columns: .8fr 1.2fr; padding: 48px; } }
.report-intro p { color: #b9b2a8; margin-top: 16px; }
.report-intro .call { color: var(--gray); font-size: 14px; }
.report-intro .call a { color: var(--gold); }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.field label, .other label { display: block; font-size: 13px; color: var(--gray); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; background: var(--black); border: 1px solid var(--border); color: var(--white); border-radius: 4px; padding: 12px 14px; font: 300 15px var(--sans); transition: border-color .2s; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
input.bad { border-color: #c0614f; }
textarea { resize: vertical; }
.form-error { margin-top: 14px; color: #e08b78; font-size: 14px; }
.fine { font-size: 12px; color: var(--gray); margin-top: 12px; }
.success { grid-column: 1 / -1; text-align: center; max-width: 640px; margin: 0 auto; outline: none; }
.success p { color: #b9b2a8; margin-top: 14px; }
.success b { color: var(--gold-lt); font-weight: 500; }

/* Disclaimer */
.disclaimer { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; }
.disclaimer h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 8px; }
.disclaimer p { font-size: 13px; color: var(--gray); max-width: 900px; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--dark); padding-bottom: 72px; }
@media (min-width: 768px) { .footer { padding-bottom: 0; } }
.foot-inner { max-width: 1280px; margin: 0 auto; padding: 64px 24px; display: grid; gap: 48px; }
@media (min-width: 768px) { .foot-inner { grid-template-columns: repeat(3, 1fr); } }
.footer .brand { font-size: 20px; }
.muted { color: var(--gray); font-size: 14px; margin-top: 12px; max-width: 380px; }
.btn-outline { display: inline-block; margin-top: 24px; border: 1px solid var(--gold); color: var(--gold); font-size: 12px; letter-spacing: .03em; padding: 10px 20px; border-radius: 4px; transition: .2s; }
.btn-outline:hover { background: var(--gold); color: #000; }
.foot-h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--gray); }
.footer ul a:hover, .footer .white:hover { color: var(--white); }
.footer .white { color: var(--white); font-size: 14px; }
.bbb { margin-top: 24px; display: block; }
.foot-bottom { border-top: 1px solid var(--border); max-width: 1280px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--gray); }
.foot-bottom a:hover { color: var(--white); }

/* Phone running total */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: stretch; background: var(--card); border-top: 1px solid var(--gold); }
.mobile-bar div { flex: 1; padding: 8px 16px; display: flex; flex-direction: column; justify-content: center; }
.mobile-bar span { font-size: 11px; color: var(--gray); letter-spacing: .06em; }
.mobile-bar strong { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--gold-lt); line-height: 1.1; }
.mobile-bar a { background: var(--gold); color: #000; display: flex; align-items: center; padding: 0 20px; font-size: 14px; font-weight: 500; }
@media (min-width: 960px) { .mobile-bar { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 56px; } }
@media (max-width: 520px) { .shapes { gap: 8px; } .shape-card small { display: none; } .opt { padding: 20px 16px; } .opt-head p { padding-left: 0; } .hero { padding: 72px 20px 56px; } }
