/* 00  Core — resets and behaviour hooks only. Every visual decision for this
       site lives in the sections below, starting with the design tokens.    */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
iframe { border: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: 0.5rem; top: 0.5rem; z-index: 999; transform: translateY(-160%); padding: 0.8rem 1.2rem; background: #000; color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field__error { margin: 0; min-height: 1rem; font-size: 0.82rem; font-weight: 700; color: var(--err); }
.field.is-invalid :where(input, select, textarea) { border-color: var(--err); }
.form-status { min-height: 1.2rem; font-weight: 700; }
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--ok); }
.img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; width: 100%; padding: 1rem; text-align: center; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5; }
.img-placeholder b { display: block; font-size: 0.92rem; letter-spacing: 0; text-transform: none; word-break: break-all; }
:target { scroll-margin-top: 120px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Ventura HVAC Specialists — venturahvac.xyz
   THE DEVICE: the dial. A circular gauge opens the home page, section markers
   are small dials, and the signature page is a run-time gauge. Gulf coast
   humidity is the argument, so the site measures time rather than temperature.
   01 Tokens · 02 Base · 03 Header · 04 Buttons · 05 Hero dial
   06 Page heads · 07 Sections · 08 Run-time gauge (signature)
   09 FAQ · 10 Form & contact · 11 Footer · 12 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --deep: #0b3c49; --deep-2: #14535f; --deep-soft: #dce7ea; --sand: #f6f1e7; --sand-2: #ede6d8; --white: #ffffff;
  --flam: #e8617d; --flam-dark: #b23f56; --flam-soft: #fbe3e8;
  --ink: #06272f; --text: #45504f; --muted: #6a7574; --line: #d9d0be;
  --focus: #b23f56; --err: #a02820; --ok: #14535f;
  --disp: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-sm: 0.92rem; --f0: clamp(1rem, 0.97rem + 0.16vw, 1.07rem);
  --f1: clamp(1.15rem, 1.04rem + 0.5vw, 1.4rem);
  --f2: clamp(1.7rem, 1.32rem + 1.7vw, 2.5rem); --f3: clamp(2rem, 1.45rem + 2.8vw, 3.45rem);
  --r: 999px; --rc: 16px; --wrap: 1140px; --pad-y: clamp(3rem, 2.3rem + 3.6vw, 5.2rem);
}

/* 02 Base */
body { background: var(--sand); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: 1.7; }
h1, h2, h3 { margin: 0 0 0.5em; font-family: var(--disp); color: var(--ink); font-weight: 700; line-height: 1.16; letter-spacing: -0.032em; text-wrap: balance; }
h1 { font-size: var(--f3); }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); }
p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--flam-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
strong, b { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.tick { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--flam-dark); }
.tick::before { content: ""; width: 11px; height: 11px; border: 3px solid var(--flam); border-radius: 50%; }
.sec--deep .tick, .phead .tick { color: #f7a9b9; }
.sec--deep .tick::before, .phead .tick::before { border-color: #f7a9b9; }
.mt { margin-top: 2rem; }

/* 03 Header — the phone number is the largest thing in the bar */
.hd { position: sticky; top: 0; z-index: 30; background: var(--sand); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 0.6rem; min-height: 64px; }
.vt-logo { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; }
.vt-logo svg { width: 32px; height: 32px; flex: none; }
.vt-logo b { font-family: var(--disp); font-size: 1.14rem; font-weight: 700; letter-spacing: -0.04em; }
.vt-logo small { display: block; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--flam-dark); }
.hd__tel { display: inline-flex; align-items: center; gap: 0.45rem; margin-left: auto; color: var(--ink); font-family: var(--disp); font-size: clamp(1.1rem, 0.95rem + 0.8vw, 1.55rem); font-weight: 700; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.hd__tel svg { width: 0.85em; height: 0.85em; color: var(--flam); flex: none; }
.hd__tel:hover { color: var(--flam-dark); }
.hd__cta { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--deep); color: #fff; text-decoration: none; }
.hd__cta svg { width: 20px; height: 20px; }
.hd__cta:hover { background: var(--flam-dark); color: #fff; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--deep); cursor: pointer; }
.nav-toggle svg { width: 19px; height: 19px; }
.vtnav { display: none; }
@media (max-width: 1019px) {
  .vt-logo span { display: none; }
  .vtnav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0.3rem 1rem 1.2rem; background: var(--sand); border-bottom: 1px solid var(--line); }
  .vtnav.is-open { display: flex; }
  .vtnav a { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--disp); font-size: 1.1rem; font-weight: 700; text-decoration: none; }
  .vtnav a[aria-current="page"] { color: var(--flam-dark); }
}
@media (min-width: 1020px) {
  .hd .wrap { min-height: 78px; gap: 1.3rem; }
  .nav-toggle { display: none; }
  .vtnav { display: flex; gap: 1.4rem; margin-left: 1.6rem; }
  .vtnav a { padding: 0.3rem 0; color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
  .vtnav a:hover { color: var(--ink); }
  .vtnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--flam); }
}

/* 04 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.78rem 1.5rem; border: 0; border-radius: var(--r); background: var(--deep); color: #fff; font: inherit; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.18s; }
.btn:hover { background: var(--flam-dark); color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--flam { background: var(--flam-dark); }
.btn--flam:hover { background: var(--deep); }
.btn--line { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 2px var(--deep); }
.btn--line:hover { background: var(--deep); color: #fff; }
.btn--sand, .phead a.btn--sand, .sec--deep a.btn--sand, .gauge__note a.btn--sand { background: var(--sand); color: var(--ink); }
.btn--sand:hover, .phead a.btn--sand:hover, .sec--deep a.btn--sand:hover, .gauge__note a.btn--sand:hover { background: #fff; color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }

/* 05 Hero — argument beside a dial */
.hero { padding-block: clamp(2.6rem, 2rem + 3vw, 4.4rem); }
.hero .wrap { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1.08fr 0.92fr; gap: 3.4rem; } }
.hero h1 { max-width: 16ch; }
.hero p.lede { font-size: var(--f1); line-height: 1.55; color: var(--ink); max-width: 46ch; }
.dial { display: block; width: min(100%, 380px); height: auto; margin-inline: auto; }
.dial .track { fill: none; stroke: var(--sand-2); stroke-width: 22; }
.dial .arc { fill: none; stroke: var(--flam); stroke-width: 22; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dasharray 0.3s, stroke 0.3s; }
.dial .big { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 58px; font-weight: 700; fill: #06272f; text-anchor: middle; letter-spacing: -3px; }
.dial .cap { font-family: system-ui, sans-serif; font-size: 15px; fill: #6a7574; text-anchor: middle; }
.hero .dial .arc { stroke: var(--deep); }

/* 06 Page heads */
.phead { padding-block: clamp(2.2rem, 1.8rem + 2.4vw, 3.4rem); background: var(--deep); color: #b8cbd0; }
.phead h1 { color: #fff; max-width: 20ch; }
.phead p { font-size: 1.05rem; max-width: 56ch; }
.phead a:not(.btn) { color: #fff; }
.phead :focus-visible { outline-color: #f7a9b9; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.9rem; padding: 0; list-style: none; font-size: 0.84rem; }
.crumbs li + li::before { content: "\2022"; margin-right: 0.5rem; color: #f7a9b9; }

/* 07 Sections */
.sec { padding-block: var(--pad-y); }
.sec--white { background: var(--white); }
.sec--sand { background: var(--sand-2); }
.sec--deep { background: var(--deep); color: #b8cbd0; }
.sec--deep h2, .sec--deep h3, .sec--deep b { color: #fff; }
.sec--deep a:not(.btn) { color: #fff; }
.sec--deep :focus-visible { outline-color: #f7a9b9; }
.head { max-width: 620px; margin-bottom: 2.2rem; }

.ring { display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .ring { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }
@media (min-width: 1000px) { .ring { grid-template-columns: repeat(4, 1fr); } }
.ring li { padding: 1.4rem; background: var(--white); border-radius: var(--rc); font-size: var(--f-sm); }
.sec--white .ring li { background: var(--sand); }
.ring .dot { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-bottom: 0.8rem; border: 3px solid var(--flam); border-radius: 50%; font-family: var(--disp); font-size: 0.82rem; font-weight: 700; color: var(--flam-dark); }
.ring b { display: block; margin-bottom: 0.25rem; font-family: var(--disp); font-size: 1.1rem; color: var(--ink); }
.pairs { display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .pairs { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.pairs article { padding: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); background: var(--white); border-radius: var(--rc); }
.pairs h3 { font-size: 1.3rem; }
.pairs ul { margin: 0.8rem 0 0; padding-left: 1.1em; font-size: var(--f-sm); }
.pairs li { margin-bottom: 0.32rem; }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } .split--flip > :first-child { order: 2; } }
.split > * { min-width: 0; }
.split img, .split .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rc); }
.plainlist { margin: 0; padding: 0; list-style: none; }
.plainlist li { display: grid; gap: 0.15rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.sec--deep .plainlist li { border-bottom-color: rgba(255,255,255,0.22); }
.plainlist b { font-family: var(--disp); font-size: 1.06rem; }
.plainlist span { font-size: var(--f-sm); }
.map { display: block; width: 100%; height: clamp(300px, 34vw, 400px); border-radius: var(--rc); background: var(--deep-soft); }
.where { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .where { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; } }

/* 08 Run-time gauge (signature) */
.gauge { display: grid; gap: 1.8rem; }
@media (min-width: 980px) { .gauge { grid-template-columns: 0.95fr 1.05fr; gap: 2.6rem; align-items: start; } }
.gauge__stage { padding: clamp(1.3rem, 1.1rem + 1.4vw, 2rem); background: var(--white); border-radius: var(--rc); }
.gauge__stage .row { margin-top: 1.4rem; }
.gauge__stage label, .gauge__stage legend { display: block; margin-bottom: 0.4rem; font-family: var(--disp); font-weight: 700; color: var(--ink); }
.gauge__stage fieldset { margin: 0; padding: 0; border: 0; }
input[type="range"] { width: 100%; accent-color: #e8617d; }
.gauge__note { padding: clamp(1.3rem, 1.1rem + 1.4vw, 2rem); background: var(--deep); color: #b8cbd0; border-radius: var(--rc); }
.gauge__note h2 { color: #fff; font-size: 1.05rem; }
.gauge__note b { color: #fff; }
.gauge__note .title { display: block; margin: 0.2rem 0 0.9rem; font-family: var(--disp); font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.95rem); font-weight: 700; letter-spacing: -0.03em; color: #f7a9b9; line-height: 1.2; }
.gauge__note ul { margin: 0.9rem 0 0; padding-left: 1.15em; font-size: var(--f-sm); }
.gauge__note li { margin-bottom: 0.45rem; }
.gauge__note .caveat { margin-top: 1.2rem; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.24); font-size: 0.86rem; color: #93a8ad; }
.gauge__note :focus-visible { outline-color: #f7a9b9; }

/* 09 FAQ */
.faq { display: grid; gap: 0.6rem; max-width: 880px; }
.vtq { background: var(--white); border-radius: var(--rc); }
.vtq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; font-family: var(--disp); font-weight: 700; font-size: 1.04rem; color: var(--ink); list-style: none; cursor: pointer; }
.vtq summary::after { content: "+"; flex: none; color: var(--flam-dark); }
.vtq[open] summary::after { content: "\2013"; }
.vtq > div { padding: 0 1.3rem 1.3rem; }

/* 10 Form & contact */
.form { display: grid; gap: 1.05rem 1.3rem; margin-top: 1.2rem; }
@media (min-width: 640px) { .form--2col { grid-template-columns: 1fr 1fr; } }
.field--full, .form__end { grid-column: 1 / -1; }
.field label, .picks legend { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea { width: 100%; padding: 0.78rem 1rem; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #cdc3ae; border-radius: 10px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3c49' stroke-width='2.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 15px; padding-right: 2.4rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--deep); }
.picks { margin: 0; padding: 0; border: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.45rem; }
.picks legend { margin-bottom: 0.45rem; padding: 0; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: inline-block; padding: 0.45rem 1rem; border: 1px solid #cdc3ae; border-radius: var(--r); background: var(--white); font-size: var(--f-sm); cursor: pointer; }
.pick input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.pick input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-note { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--muted); }
.contact { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 920px) { .contact { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }
.contact > * { min-width: 0; }
.side { display: grid; gap: 1rem; }
.side__card { padding: 1.3rem 1.4rem; background: var(--white); border-radius: var(--rc); }
.side__card h2 { font-size: 1.06rem; }
.side__card .big { display: block; margin: 0.15rem 0 0.3rem; font-family: var(--disp); font-size: 1.5rem; font-weight: 700; color: var(--ink); text-decoration: none; }

/* 11 Footer */
.ft { background: var(--ink); color: #9fb0b3; font-size: var(--f-sm); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: #f7a9b9; }
.ft__row { display: grid; gap: 1.5rem; padding-block: 2.8rem 1.6rem; }
@media (min-width: 820px) { .ft__row { grid-template-columns: 1.5fr 1fr 1fr; } }
.ft__name { margin: 0 0 0.45rem; font-family: var(--disp); font-size: 1.2rem; font-weight: 700; color: #fff; }
.ft h2 { margin: 0 0 0.55rem; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: #f7a9b9; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.32rem; }
.ft__base { padding-block: 0.9rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.81rem; }

/* 12 Images */
.figwide img, .figwide .img-placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rc); }
.img-placeholder { background: var(--deep-soft); border: 1px dashed #b4c3c7; border-radius: var(--rc); color: var(--muted); }
.img-placeholder b { color: var(--ink); }
