/* act4u.com — Las Vegas lead-capture site. No framework, no build step. */
:root {
  --ink: #14212e;
  --ink-2: #3b4a59;
  --muted: #6b7785;
  --line: #e4ded4;
  --bg: #fbf8f3;
  --card: #ffffff;
  --sand: #f3ece1;
  --navy: #13293d;
  --navy-2: #1d3b56;
  --accent: #c8611f;
  --accent-2: #a94f16;
  --ok: #1f7a4d;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 46, .06), 0 8px 24px rgba(20, 33, 46, .08);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 2px; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 750; margin-top: 0; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* header */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.logo span { color: #f0a868; }
.logo small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: #b9c6d3; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: #dbe4ec; text-decoration: none; font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav .btn { color: #fff; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s; font-family: inherit; }
.btn:hover { background: var(--accent-2); color: #fff; }
.btn.secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn.secondary:hover { background: var(--navy); color: #fff; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #2c5476 100%); color: #fff; padding: 40px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.15rem; color: #dbe4ec; max-width: 36em; }
.hero .eyebrow { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #f0a868; font-weight: 700; margin-bottom: 10px; }
.hero ul.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.hero ul.checks li { padding-left: 28px; position: relative; margin: 8px 0; color: #e8eef3; }
.hero ul.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: #f0a868 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2313293d' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; }
.stat b { display: block; font-size: 1.35rem; color: #fff; }
.stat span { font-size: .8rem; color: #b9c6d3; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; } }

/* lead card */
.lead-card { background: var(--card); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; scroll-margin-top: 16px; }
.lead-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.lead-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.tabs button { border: 0; background: transparent; padding: 10px; border-radius: 8px; font-weight: 700; font-size: .95rem; color: var(--ink-2); cursor: pointer; font-family: inherit; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.form-grid .full { grid-column: 1 / -1; }
label.f { display: block; font-size: .82rem; font-weight: 650; color: var(--ink-2); margin-bottom: 4px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1.5px solid #d3cbbd; border-radius: 9px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(200, 97, 31, .25); border-color: var(--accent); }
.field-error { color: var(--err); font-size: .8rem; margin-top: 3px; min-height: 0; }
input.invalid, select.invalid { border-color: var(--err); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: .74rem; line-height: 1.45; color: var(--muted); margin: 6px 0 2px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .74rem; color: var(--muted); margin-top: 10px; }
.form-status { margin-top: 10px; font-size: .9rem; }
.form-status.err { color: var(--err); }
.trust { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: .78rem; color: var(--muted); }
.trust span::before { content: "✓ "; color: var(--ok); font-weight: 700; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }

/* sections */
section.block { padding: 56px 0; }
section.alt { background: var(--sand); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 6px; }
.step-num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.offer-card { border-top: 4px solid var(--accent); }
.offer-card.buyer { border-top-color: var(--navy-2); }

/* facts table */
table.facts { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
table.facts th, table.facts td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.facts th { width: 38%; color: var(--ink-2); font-weight: 650; background: #fcfaf6; }
table.facts tr:last-child th, table.facts tr:last-child td { border-bottom: 0; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
table.data thead th { background: var(--navy); color: #fff; font-weight: 650; font-size: .85rem; }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* communities */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .88rem; }

/* map */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9e4da; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* elevation chart */
.chart-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.chart-wrap figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
details summary { font-weight: 700; cursor: pointer; }
details[open] summary { margin-bottom: 8px; }

/* zip directory */
.zip-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.zip-links a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.zip-links a b { display: block; color: var(--navy); font-size: 1.1rem; }
.zip-links a span { font-size: .85rem; color: var(--muted); }
.zip-links a:hover { border-color: var(--accent); }

/* cta band */
.cta-band { background: var(--navy); color: #fff; padding: 44px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe4ec; }
.cta-band .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* breadcrumbs */
.crumbs { font-size: .82rem; color: #b9c6d3; margin-bottom: 10px; }
.crumbs a { color: #dbe4ec; }

/* footer */
.site-footer { background: #0e1e2c; color: #aab8c5; padding: 40px 0 90px; font-size: .86rem; }
.site-footer a { color: #dbe4ec; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 8px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.disclosure { border-top: 1px solid #23384b; margin-top: 26px; padding-top: 16px; font-size: .78rem; line-height: 1.5; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* sticky mobile bar */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); padding: 10px 14px; display: none; gap: 10px; }
.sticky-cta .btn { flex: 1; text-align: center; padding: 12px 10px; font-size: .95rem; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }
.sticky-cta.hidden { display: none; }

/* thank-you */
.ty { max-width: 680px; margin: 0 auto; text-align: center; padding: 64px 20px; }
.ty .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ty ol { text-align: left; display: inline-block; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.source { font-size: .78rem; color: var(--muted); }
