/* Cowboy Tiny Homes — single shared stylesheet.
   Palette from the logo: ink #282a39, gold #c69749. */
:root {
  --ink: #282a39;
  --ink-2: #3a3d52;
  --ink-3: #1d1f2b;
  --gold: #c69749;
  --gold-2: #e0b663;
  --gold-dark: #9c7330;
  --rust: #a4532d;
  --cream: #f8f5ee;
  --sand: #efe7d6;
  --paper: #fffdf9;
  --text: #2c2e3a;
  --muted: #5f6272;
  --line: #e3dccd;
  --ok: #2f7a4b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(40, 42, 57, .10);
  --shadow-lg: 0 20px 50px rgba(40, 42, 57, .18);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.7 var(--body); color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
strong { color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 860px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .98rem/1 var(--head);
  padding: 15px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink-3); color: #c9cad6; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--gold-2); text-decoration: none; margin-left: 18px; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { width: 118px; height: auto; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav li { position: relative; }
.site-nav > ul > li > a { display: block; padding: 12px 14px; font: 600 .95rem var(--head); color: var(--ink); text-decoration: none; border-radius: 8px; }
.site-nav > ul > li > a:hover, .site-nav > ul > li.is-active > a { color: var(--gold-dark); }
.site-nav .nav-cta a { color: var(--ink); margin-left: 8px; }
.sub-toggle { display: none; }
.site-nav .sub { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: 100%; min-width: 280px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .94rem; }
.site-nav .sub a:hover { background: var(--cream); color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; padding: 11px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 3px; transition: .2s; }

/* ---------- heroes ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img, url("/assets/img/Cowboy-Tiny-Homes-Home-BG.webp")) center/cover no-repeat; opacity: .22; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(29,31,43,.96) 0%, rgba(40,42,57,.86) 55%, rgba(40,42,57,.55) 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .lead { font-size: 1.18rem; color: #e6e6ee; max-width: 760px; }
.hero--page .wrap { padding-top: 56px; padding-bottom: 64px; }
.hero--img::before { opacity: .38; }
.hero-meta { font-size: .9rem; color: #b9bbc9; }
.eyebrow { display: inline-block; font: 700 .8rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.eyebrow::before { content: "★ "; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: #b9bbc9; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.crumbs a { color: #e6e6ee; text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }

.hero--home .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 76px; padding-bottom: 86px; }
.hero--home .lead { font-size: 1.2rem; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; color: #e6e6ee; font-size: .97rem; }
.hero-points li::before { content: "✓"; color: var(--gold-2); font-weight: 700; margin-right: 8px; }
.hero-card { background: #fff; color: var(--text); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--gold); }
.hero-card h2 { font-size: 1.4rem; margin-bottom: .3em; }
.hero-card p { color: var(--muted); font-size: .95rem; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #dfe0e8; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.section-head .eyebrow { color: var(--gold-dark); }
.section--ink .section-head .eyebrow { color: var(--gold-2); }
.section-intro { font-size: 1.1rem; color: var(--muted); }
.section--ink .section-intro { color: #c9cad6; }
.divider { width: 84px; height: 4px; background: var(--gold); border-radius: 4px; margin: 0 auto 22px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.img-frame { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.img-frame img { width: 100%; }
.img-badge { position: absolute; left: 18px; bottom: 18px; background: var(--gold); color: var(--ink); font: 800 .9rem var(--head); padding: 10px 16px; border-radius: 10px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 0 rgba(0,0,0,.02); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); transition: transform .18s, box-shadow .18s, border-color .18s; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--text); }
.card--link strong { font: 700 1.12rem var(--head); color: var(--ink); }
.card--link span { color: var(--muted); font-size: .95rem; }
.card-kicker { font: 700 .72rem var(--head) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark) !important; }
.card-more { margin-top: auto; color: var(--gold-dark) !important; font-weight: 600; }
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.service-card .card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card .card-body p { color: var(--muted); font-size: .97rem; }
.service-card .card-more { margin-top: auto; text-decoration: none; font-weight: 700; }
.icon-card { text-align: left; }
.icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--cream); color: var(--gold-dark); font-size: 1.5rem; margin-bottom: 14px; }
.section--ink .card { background: var(--ink-2); border-color: #4a4e66; color: #dfe0e8; }
.section--ink .card h3 { color: #fff; }
.section--ink .icon { background: rgba(198,151,73,.15); color: var(--gold-2); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; text-align: center; border: 1px solid var(--line); }
.stat b { display: block; font: 800 2rem var(--head); color: var(--gold-dark); }
.stat span { font-size: .92rem; color: var(--muted); }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; list-style: none; padding: 0; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; position: relative; }
.steps li::before { content: counter(step); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 800 1rem/38px var(--head); text-align: center; }
.steps h3 { font-size: 1.08rem; margin-top: 8px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* checklist */
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.checklist--2 { columns: 2; column-gap: 32px; }
.checklist--2 li { break-inside: avoid; }

/* ---------- prose pages ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose img { border-radius: var(--radius); margin: 8px 0 22px; }
.prose blockquote { margin: 24px 0; padding: 18px 24px; border-left: 5px solid var(--gold); background: var(--cream); border-radius: 0 12px 12px 0; }
.callout { background: var(--cream); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 12px; padding: 20px 24px; margin: 26px 0; }
.callout--warn { border-left-color: var(--rust); }
.callout p:last-child { margin: 0; }
.key-takeaways { background: var(--ink); color: #e6e6ee; border-radius: var(--radius); padding: 26px 28px; margin-bottom: 30px; }
.key-takeaways h2 { color: #fff; font-size: 1.2rem !important; margin: 0 0 12px !important; }
.key-takeaways ul { margin: 0; }
.key-takeaways strong { color: var(--gold-2); }
.sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-box h2, .side-box h3 { font-size: 1.1rem; margin-bottom: 12px; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li { border-bottom: 1px solid var(--line); }
.side-box li:last-child { border: 0; }
.side-box li a { display: block; padding: 8px 0; text-decoration: none; color: var(--text); font-size: .95rem; }
.side-box li a:hover { color: var(--gold-dark); }
.side-box--cta { background: var(--ink); color: #dfe0e8; border: 0; border-top: 5px solid var(--gold); }
.side-box--cta h2, .side-box--cta h3 { color: #fff; }
.side-box--cta .btn { width: 100%; margin-top: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.toc li { margin-bottom: 6px; }

/* tables */
.table-wrap { overflow-x: auto; margin: 22px 0 28px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--ink); color: #fff; font: 700 .9rem var(--head); }
tbody tr:nth-child(even) td { background: #fcfaf5; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq h2 { text-align: center; }
.faq .section-intro { text-align: center; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; padding: 18px 54px 18px 22px; font: 700 1.03rem var(--head); color: var(--ink); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--gold-dark); font-size: 1.3rem; line-height: 28px; text-align: center; transition: .2s; }
.faq-item[open] summary::after { content: "–"; background: var(--gold); color: var(--ink); }
.faq-a { padding: 0 22px 18px; color: var(--muted); }
.faq-a p:last-child { margin: 0; }
.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.faq-search { width: 100%; max-width: 520px; display: block; margin: 0 auto 18px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ink-3), var(--ink-2)); color: #e6e6ee; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::after { content: "★"; position: absolute; right: -30px; top: -60px; font-size: 260px; color: rgba(198,151,73,.08); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 680px; }
.cta-band .btn-row { margin: 0; flex-shrink: 0; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
label { display: block; font: 600 .9rem var(--head); color: var(--ink); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid #d6cfbf; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,151,73,.18); }
textarea { min-height: 130px; resize: vertical; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { font: 500 .95rem var(--body); display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid #d6cfbf; border-radius: 999px; cursor: pointer; margin: 0; }
.radio-row input { accent-color: var(--gold-dark); }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: .85rem; color: var(--muted); }
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; }
.alert--ok { background: #e9f5ee; border: 1px solid #b8dcc5; color: #1f5534; }
.alert--err { background: #fbecea; border: 1px solid #efc2bc; color: #7a2a20; }
.tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.tab { padding: 11px 20px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 .95rem var(--head); cursor: pointer; }
.tab[aria-selected=true] { background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }

/* ---------- tools ---------- */
.tool { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.tool-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.tool-panel h2 { font-size: 1.3rem; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; }
.range-head output { font: 800 1.05rem var(--head); color: var(--gold-dark); }
input[type=range] { width: 100%; accent-color: var(--gold-dark); height: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid #d6cfbf; font-size: .93rem; background: #fff; cursor: pointer; transition: .15s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(198,151,73,.35); }
.result-panel { background: var(--ink); color: #e6e6ee; border-radius: 18px; padding: 30px; position: sticky; top: 110px; box-shadow: var(--shadow-lg); }
.result-panel h2, .result-panel h3 { color: #fff; }
.result-big { font: 800 clamp(2rem, 4vw, 2.7rem)/1.1 var(--head); color: var(--gold-2); margin: 6px 0 4px; }
.result-sub { color: #b9bbc9; font-size: .92rem; }
.result-rows { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid #4a4e66; }
.result-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #4a4e66; font-size: .95rem; }
.result-rows b { color: #fff; }
.bar { height: 12px; background: #4a4e66; border-radius: 99px; overflow: hidden; margin: 6px 0 14px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 99px; transition: width .35s; }
.result-panel .btn { width: 100%; margin-top: 8px; }
.disclaimer { font-size: .82rem; color: #9fa1b2; margin-top: 14px; }
.tool-note { font-size: .88rem; color: var(--muted); }

.quiz { max-width: 820px; margin: 0 auto; }
.quiz-progress { height: 10px; background: var(--sand); border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.quiz-q { display: none; }
.quiz-q.is-active { display: block; animation: fade .3s; }
.quiz-q h2 { font-size: 1.45rem; }
.quiz-opts { display: grid; gap: 12px; margin: 20px 0; }
.quiz-opt { text-align: left; padding: 18px 20px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: 600 1rem var(--body); color: var(--ink); cursor: pointer; transition: .15s; }
.quiz-opt:hover, .quiz-opt:focus-visible { border-color: var(--gold); background: var(--cream); outline: none; }
.quiz-opt small { display: block; font-weight: 400; color: var(--muted); margin-top: 3px; }
.quiz-result { display: none; }
.quiz-result.is-active { display: block; animation: fade .4s; }
.match { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin-bottom: 10px; }
.match .bar { margin: 0; grid-column: 1 / -1; background: var(--sand); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.room-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.room { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.room b { font-size: .95rem; }
.room small { display: block; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #d6cfbf; border-radius: 999px; overflow: hidden; }
.stepper button { width: 34px; height: 34px; border: 0; background: var(--cream); font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; }
.fit-list { list-style: none; padding: 0; margin: 14px 0 0; }
.fit-list li { padding: 8px 0; border-bottom: 1px solid #4a4e66; display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.tag { display: inline-block; font: 700 .72rem var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 99px; }
.tag--yes { background: #2f7a4b; color: #fff; }
.tag--maybe { background: var(--gold); color: var(--ink); }
.tag--no { background: #6b6e80; color: #fff; }

.permit-check { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; margin: 26px 0; }
.permit-check label { font: 500 1rem var(--body); display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; cursor: pointer; }
.permit-check label:last-of-type { border: 0; }
.permit-check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--gold-dark); flex-shrink: 0; }

/* designs gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.filter-btn { padding: 10px 18px; border-radius: 999px; border: 1.5px solid #d6cfbf; background: #fff; font: 600 .93rem var(--head); color: var(--ink); cursor: pointer; }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.design-card[hidden] { display: none; }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.spec { background: var(--cream); border-radius: 8px; padding: 5px 10px; font-size: .85rem; color: var(--ink); font-weight: 600; }
.price-tag { font: 800 1.5rem var(--head); color: var(--gold-dark); }
.gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery-2 img { border-radius: 14px; width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-3); color: #b9bbc9; padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-brand img { width: 230px; margin-bottom: 16px; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #d7d8e2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-contact a { color: var(--gold-2); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #3a3d52; padding-top: 22px; padding-bottom: 26px; font-size: .86rem; }
.mobile-call { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; padding: 90px 22px 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s; box-shadow: var(--shadow-lg); z-index: 60; }
  .site-nav.is-open { transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a { padding: 14px 4px; }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; display: none; min-width: 0; }
  .site-nav .has-sub.is-open > .sub { display: block; }
  .site-nav .has-sub:hover > .sub { display: none; }
  .site-nav .has-sub.is-open:hover > .sub { display: block; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
  .sub-toggle::after { content: "▾"; font-size: 1.1rem; color: var(--ink); }
  .has-sub.is-open > .sub-toggle::after { content: "▴"; }
  .site-nav .nav-cta { border: 0; padding-top: 18px; }
  .site-nav .nav-cta a { margin: 0; width: 100%; }
  .nav-toggle { position: relative; z-index: 70; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .content-grid, .tool, .contact-grid { grid-template-columns: 1fr; }
  .sidebar, .result-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero--home .wrap, .grid-2 { grid-template-columns: 1fr; gap: 34px; }
  .grid-3 { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 58px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero-points, .form, .field-row, .gallery-2 { grid-template-columns: 1fr; }
  .checklist--2 { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-4, .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .topbar a:last-child { display: none; }
  .brand img { width: 96px; }
  .header-inner { min-height: 70px; }
  .mobile-call { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--gold); color: var(--ink); text-align: center; font: 800 1rem/58px var(--head); text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .site-footer, .cta-band, .mobile-call, .sidebar { display: none; } }

/* tools */
.addon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.addon { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: start; font: 500 .93rem var(--body); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; margin: 0; cursor: pointer; background: #fff; }
.addon input { margin-top: 4px; accent-color: var(--gold-dark); width: 16px; height: 16px; }
.addon small { grid-column: 2; color: var(--muted); font-size: .8rem; }
.addon:has(input:checked) { border-color: var(--gold); background: #fffaf0; }
.tool-panel h2 + .field, .tool-panel h2 + .tool-note { margin-top: 4px; }
.tool-panel h2:not(:first-child) { margin-top: 28px; }
.result-panel .match a { color: #fff; text-decoration: none; }
.result-panel .match a:hover { color: var(--gold-2); }
.quiz .match a { text-decoration: none; }
.quiz .btn-row .btn--outline { background: #fff; }
[data-quiz-back] { margin-top: 4px; }
.amort-box { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 20px; }
.amort-box summary { cursor: pointer; font: 700 1rem var(--head); color: var(--ink); padding: 12px 0; }
.amort-box .table-wrap { max-height: 420px; overflow: auto; }
@media (max-width: 640px) { .addon-list { grid-template-columns: 1fr; } }

/* plan details list (Gonzales page sidebar) */
.side-box li.kv { padding: 8px 0; font-size: .95rem; }

/* blog */
.post-feature { margin-top: -40px; position: relative; z-index: 2; }
.post-feature img { width: 100%; max-width: 980px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.type-post .hero--page .wrap { padding-bottom: 80px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold-dark); }
.post-card h3 { font-size: 1.15rem; }
.post-card .card-kicker { margin-bottom: 6px; display: block; }
@media (max-width: 860px) { .type-hub article.grid-2.card { grid-template-columns: 1fr !important; } }
