/* 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; } }

/* ==========================================================================
   Salinas HVAC Company — salinashvac.xyz
   THE DEVICE: the crop mark. Four short blue ticks sit just outside the
   corners of every block, the way register marks sit outside a printed page.
   The block itself is a hairline rule on cream.
   01 Tokens · 02 Base · 03 Header · 04 Phone strip · 05 Buttons
   06 Blocks (the device) · 07 Hero · 08 Page heads · 09 Sections
   10 Heat days (signature) · 11 FAQ · 12 Form & contact · 13 Footer · 14 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --paper: #fbf8f1; --band: #eee7da; --white: #ffffff;
  --ink: #302a22; --ink-2: #4b4237; --ink-l: #a89e90;
  --bg2: #3a6ea5; --bg-d: #2c5480; --bg-l: #e8eff6;
  --text: #4a443c; --muted: #6b6459; --line: #ddd4c4;
  --focus: #3a6ea5; --err: #9b3226;
  --disp: "Quattrocento", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-sm: 0.93rem; --f-xs: 0.78rem; --f0: clamp(1rem, 0.96rem + 0.2vw, 1.07rem);
  --f1: clamp(1.14rem, 1.04rem + 0.46vw, 1.34rem);
  --f2: clamp(1.42rem, 1.18rem + 1.1vw, 2rem); --f3: clamp(1.82rem, 1.38rem + 2.2vw, 2.92rem);
  --r: 0px; --tick: 9px; --lh: 1.78; --wrap: 1100px; --col: 62ch; --hd: 58px;
  --pad-y: clamp(2.7rem, 2.2rem + 2.7vw, 4.3rem);
}
@media (min-width: 940px) { :root { --hd: 68px; } }

/* 02 Base */
body { background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--f0); line-height: var(--lh); }
h1, h2, h3 { margin: 0 0 0.48em; font-family: var(--disp); color: var(--ink); font-weight: 700; line-height: 1.26; text-wrap: balance; }
h1 { font-size: var(--f3); }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
a { color: var(--bg-d); 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; }
li { margin-bottom: 0.32rem; }
.wrap { width: min(100% - 1.8rem, var(--wrap)); margin-inline: auto; }
.col > * { max-width: var(--col); }
.colc { max-width: var(--col); }
.wrap > .colc { margin-bottom: 1.8rem; }
.mark { display: block; margin-bottom: 0.5rem; font-size: 0.69rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bg-d); }

/* 03 Header — logo left, nav centred, actions right */
.hd { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.hd__bar .wrap { display: flex; align-items: center; gap: 0.8rem; min-height: var(--hd); }
.sa-logo { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.sa-logo svg { width: 28px; height: 28px; flex: none; }
.sa-logo b { display: block; color: var(--ink); font-family: var(--disp); font-size: 1.08rem; font-weight: 700; line-height: 1.18; }
.sa-logo small { display: block; font-family: var(--sans); font-size: 0.52rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bg-d); }
.hd__tel { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 18px; height: 18px; }
.sanav { display: none; }
@media (max-width: 939px) {
  .hd__bar .btn { display: none; }
  .sanav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 0.3rem 0.9rem 1rem; background: var(--white); border-bottom: 1px solid var(--line); }
  .sanav.is-open { display: flex; }
  .sanav a { padding: 0.78rem 0.2rem; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--disp); font-size: 1.08rem; font-weight: 700; text-decoration: none; }
  .sanav a[aria-current="page"] { color: var(--bg-d); }
}
@media (max-width: 400px) { .sa-logo small { display: none; } }
@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .sa-logo { margin-right: 0; }
  .sanav { display: flex; flex: 1; justify-content: center; gap: 1.5rem; }
  .sanav a { position: relative; padding: 0.4rem 0 0.35rem; color: var(--text); font-size: 0.99rem; text-decoration: none; white-space: nowrap; }
  .sanav a:hover { color: var(--ink); }
  .sanav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
  .sanav a[aria-current="page"]::before, .sanav a[aria-current="page"]::after { content: ""; position: absolute; top: 50%; width: 5px; height: 2px; background: var(--bg2); }
  .sanav a[aria-current="page"]::before { left: -9px; }
  .sanav a[aria-current="page"]::after { right: -9px; }
  .hd__tel { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink); font-family: var(--disp); font-size: 1.14rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
  .hd__tel svg { width: 0.9em; height: 0.9em; flex: none; color: var(--bg2); }
  .hd__tel:hover { color: var(--bg-d); }
}

/* 04 Phone strip */
.saph { display: flex; align-items: stretch; background: var(--white); border-bottom: 3px solid var(--bg2); }
.saph a { display: flex; flex: 1; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.58rem 0.7rem; color: var(--ink); font-family: var(--disp); font-size: 1.1rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.saph a + a { border-left: 1px solid var(--line); color: var(--bg-d); }
.saph svg { width: 0.88em; height: 0.88em; flex: none; color: var(--bg2); }
.saph :focus-visible { outline-offset: -3px; }
@media (min-width: 940px) { .saph { display: none; } }
@media (max-width: 360px) { .saph a { padding-inline: 0.4rem; font-size: 1.02rem; } }

/* 05 Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.62rem 1.3rem; border: 1px solid var(--bg2); background: var(--bg2); color: #fff; font-family: var(--disp); font-size: 1rem; font-weight: 700; line-height: 1.5; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.18s, border-color 0.18s; }
.btn:hover { background: var(--bg-d); border-color: var(--bg-d); color: #fff; }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--paper, .sec--ink a.btn--paper, .ck--ink a.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--paper:hover, .sec--ink a.btn--paper:hover, .ck--ink a.btn--paper:hover { background: var(--band); border-color: var(--band); color: var(--ink); }
@media (max-width: 460px) { .btn { white-space: normal; text-align: center; } }
.btns { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* 06 Blocks — the crop mark */
.ck { position: relative; padding: 1.55rem 1.45rem 1.45rem; background: var(--white); border: 1px solid var(--line); }
.ck::before, .ck::after { content: ""; position: absolute; top: -1px; bottom: -1px; width: var(--tick); border-top: 3px solid var(--bg2); border-bottom: 3px solid var(--bg2); pointer-events: none; }
.ck::before { left: calc(var(--tick) * -1); }
.ck::after { right: calc(var(--tick) * -1); }
.ck > *:last-child { margin-bottom: 0; }
.ck--ink { background: var(--ink); border-color: var(--ink); color: #ccc4b8; }
.ck--ink::before, .ck--ink::after { border-color: #8ab2d8; }
.ck--ink h2, .ck--ink h3, .ck--ink b, .ck--ink strong { color: #fff; }
.ck--ink .mark { color: #8ab2d8; }
.ck--ink a:not(.btn) { color: #fff; }
.ck--ink :focus-visible { outline-color: #8ab2d8; }
.ck--tint { background: var(--bg-l); border-color: #c6d8e8; }
.cks { display: grid; gap: 1.6rem; }
.cks > * { min-width: 0; }
@media (min-width: 700px) { .cks--2 { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 980px) { .cks--3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } .cks--2b { grid-template-columns: repeat(2, 1fr); gap: 2.2rem; } }
.figck { position: relative; margin: 0; }
.figck::before, .figck::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--tick); border-top: 3px solid var(--bg2); border-bottom: 3px solid var(--bg2); pointer-events: none; z-index: 1; }
.figck::before { left: calc(var(--tick) * -1); }
.figck::after { right: calc(var(--tick) * -1); }
.figck img, .figck .img-placeholder { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figck--band img, .figck--band .img-placeholder { aspect-ratio: 21 / 9; }
.figck--gap { margin-top: 2rem; }

/* 07 Hero */
.hero { padding-block: clamp(2.6rem, 2.1rem + 2.7vw, 4.3rem); background: var(--band); }
.hero__grid { display: grid; gap: 2.1rem; align-items: start; }
.hero__grid > * { min-width: 0; }
.hero .lede { font-size: var(--f1); }
@media (min-width: 920px) { .hero__grid { grid-template-columns: 1.22fr 0.78fr; gap: 3.2rem; } }
.heroband { padding-block: 0 0; background: linear-gradient(var(--band) 50%, var(--paper) 50%); }

/* 08 Page heads */
.phead { padding-block: clamp(2.1rem, 1.7rem + 1.9vw, 3.2rem); background: var(--band); border-bottom: 3px solid var(--bg2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 0.85rem; padding: 0; list-style: none; font-size: 0.76rem; font-weight: 700; }
.crumbs li + li::before { content: "\2022"; margin-right: 0.45rem; color: var(--bg2); }

/* 09 Sections */
.sec { padding-block: var(--pad-y); }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--band { background: var(--band); }
.sec--ink { background: var(--ink); color: #ccc4b8; }
.sec--ink h2, .sec--ink h3, .sec--ink b, .sec--ink strong { color: #fff; }
.sec--ink .mark { color: #8ab2d8; }
.sec--ink a:not(.btn) { color: #fff; }
.sec--ink :focus-visible { outline-color: #8ab2d8; }
.sec--white .ck { background: var(--paper); }
.head { max-width: var(--col); margin-bottom: 1.9rem; }
.rl { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.rl > li { display: grid; gap: 0.15rem 1.8rem; margin: 0; padding: 1.1rem 0; border-top: 1px solid var(--line); min-width: 0; }
.rl > li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .rl > li { grid-template-columns: 14rem 1fr; } }
.rl b { color: var(--ink); font-family: var(--disp); font-size: var(--f1); font-weight: 700; }
.rl p { margin: 0; font-size: var(--f-sm); }
.sec--ink .rl > li { border-color: var(--ink-2); }
.sec--ink .rl b { color: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--f-sm); text-align: left; background: var(--white); }
.tbl th, .tbl td { padding: 0.72rem 0.85rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--ink); color: #fff; font-family: var(--sans); font-size: 0.71rem; letter-spacing: 0.12em; text-transform: uppercase; }
.tbl tbody th { font-weight: 700; color: var(--ink); width: 34%; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.scroll { overflow-x: auto; }
.map { display: block; width: 100%; height: clamp(300px, 34vw, 380px); background: var(--band); border: 1px solid var(--line); }
.split { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.2rem; } .split--flip > *:first-child { order: 2; } }
.split > * { min-width: 0; }

/* 10 Heat days (signature) */
.dy__set { position: relative; padding: 1.55rem 1.45rem 1.45rem; background: var(--white); border: 1px solid var(--line); }
.dy__set::before, .dy__set::after { content: ""; position: absolute; top: -1px; bottom: -1px; width: var(--tick); border-top: 3px solid var(--bg2); border-bottom: 3px solid var(--bg2); pointer-events: none; }
.dy__set::before { left: calc(var(--tick) * -1); }
.dy__set::after { right: calc(var(--tick) * -1); }
.dy__cols { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .dy__cols { grid-template-columns: 1.04fr 0.96fr; gap: 2rem; } }
.dy__set fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.dy__set legend { display: block; margin-bottom: 0.55rem; padding: 0; font-family: var(--disp); font-size: 1.04rem; font-weight: 700; color: var(--ink); }
.opts { display: grid; gap: 0.32rem; }
.opts label { position: relative; display: block; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: block; padding: 0.52rem 0.85rem; background: var(--paper); border: 1px solid var(--line); font-size: var(--f-sm); cursor: pointer; }
.opts input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.dy__out { display: grid; gap: 1.7rem; margin-top: 2.1rem; }
.dy__out > * { min-width: 0; }
.dy__flag { position: relative; padding: 1.55rem 1.45rem 1.45rem; background: var(--bg2); border: 1px solid var(--bg2); color: #fff; }
.dy__flag::before, .dy__flag::after { content: ""; position: absolute; top: -1px; bottom: -1px; width: var(--tick); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); pointer-events: none; }
.dy__flag::before { left: calc(var(--tick) * -1); }
.dy__flag::after { right: calc(var(--tick) * -1); }
.dy__flag b { display: block; margin-bottom: 0.3rem; font-family: var(--disp); font-size: var(--f1); font-weight: 700; color: #fff; }
.dy__flag strong { color: #fff; }
.dy__flag p { font-size: var(--f-sm); }
.dy__flag :focus-visible { outline-color: #fff; }
.dy__out .ck p, .dy__out .ck ul, .dy__out .ck ol { font-size: var(--f-sm); }

/* 11 FAQ */
.faq { display: grid; gap: 1.1rem; max-width: 880px; margin-top: 1.8rem; }
.saq { position: relative; background: var(--white); border: 1px solid var(--line); }
.saq::before, .saq::after { content: ""; position: absolute; top: -1px; bottom: -1px; width: 7px; border-top: 3px solid var(--bg2); border-bottom: 3px solid var(--bg2); pointer-events: none; }
.saq::before { left: -7px; }
.saq::after { right: -7px; }
.saq summary { display: flex; justify-content: space-between; gap: 1.2rem; padding: 0.95rem 1.1rem; font-family: var(--disp); font-size: 1.04rem; font-weight: 700; line-height: 1.5; color: var(--ink); list-style: none; cursor: pointer; }
.saq summary::after { content: "+"; flex: none; font-family: var(--sans); color: var(--bg-d); }
.saq[open] summary { border-bottom: 1px solid var(--line); }
.saq[open] summary::after { content: "\2212"; }
.saq > div { padding: 1rem 1.1rem 1.15rem; }

/* 12 Form & contact */
.form { display: grid; gap: 1rem 1.3rem; margin-top: 1.3rem; }
@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.72rem 0.9rem; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #c3b9a6; }
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='%23302a22' 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.85rem center; background-size: 15px; padding-right: 2.3rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.picks { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.picks legend { margin-bottom: 0.45rem; padding: 0; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: inline-block; padding: 0.42rem 0.9rem; background: var(--white); border: 1px solid #c3b9a6; font-size: var(--f-sm); cursor: pointer; }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); 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.4rem; align-items: start; }
@media (min-width: 920px) { .contact { grid-template-columns: 1.08fr 0.92fr; gap: 2.8rem; } }
.contact > * { min-width: 0; }
.side { display: grid; gap: 1.7rem; }

/* 13 Footer */
.ft { background: var(--ink); color: #a89e90; font-size: var(--f-sm); border-top: 5px solid var(--bg2); }
.ft a { color: #fff; }
.ft :focus-visible { outline-color: #8ab2d8; }
.ft__row { display: grid; gap: 1.5rem; padding-block: 2.8rem 1.7rem; }
@media (min-width: 820px) { .ft__row { grid-template-columns: 1.5fr 1fr 1fr; } }
.ft__name { margin: 0 0 0.5rem; font-family: var(--disp); font-size: 1.12rem; font-weight: 700; color: #fff; }
.ft h2 { margin: 0 0 0.55rem; font-family: var(--sans); font-size: 0.71rem; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; color: #8ab2d8; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.32rem; }
.ft__base { padding-block: 0.95rem; border-top: 1px solid var(--ink-2); font-size: 0.81rem; }

/* 14 Images */
.img-placeholder { background: var(--band); border: 1px solid var(--line); color: var(--text); }
.img-placeholder b { color: var(--ink); overflow-wrap: anywhere; }
