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

/* ==========================================================================
   Daniel's HVAC & Color — danielshvac.xyz
   Friendly and bright: sky blue, sunshine yellow, rounded retro headings.
   Folder-tab navigation that never hides behind a menu button.
   01 Tokens · 02 Base · 03 Header & tabs · 04 Hero · 05 Page heads
   06 Buttons · 07 Audience cards & timeline · 08 Landlord flow (signature)
   09 FAQ · 10 Form & contact · 11 Footer · 12 Images
   ========================================================================== */

/* 01 Tokens */
:root {
  --ink: #102a43; --text: #334e68; --muted: #52667a; --line: #d9e7f2;
  --white: #ffffff; --sky-50: #eaf6fd; --sky-100: #cfeafb; --page: #f7fbfe;
  --sky: #0369a1; --sky-dark: #075985; --sky-light: #7cc6ee;
  --sun: #fbbf24; --sun-soft: #fef3c7; --sun-ink: #8a5a00;
  --focus: #0369a1; --err: #b42318; --ok: #1f6f3a;
  --head: "Righteous", "Trebuchet MS", system-ui, sans-serif;
  --body: "Assistant", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-sm: 0.98rem; --f0: clamp(1.06rem, 1.02rem + 0.2vw, 1.16rem); --f1: clamp(1.3rem, 1.18rem + 0.5vw, 1.6rem);
  --f2: clamp(1.9rem, 1.5rem + 1.7vw, 2.8rem); --f3: clamp(2.5rem, 1.8rem + 3.2vw, 4.4rem);
  --wrap: 1180px; --pad-y: clamp(3.4rem, 2.4rem + 4vw, 6rem); --r: 22px;
}

/* 02 Base */
body { background: var(--page); color: var(--text); font-family: var(--body); font-size: var(--f0); line-height: 1.65; }
h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--head); font-weight: 400; color: var(--ink); line-height: 1.1; text-wrap: balance; }
h1 { font-size: var(--f3); }
h2 { font-size: var(--f2); }
h3 { font-size: var(--f1); line-height: 1.2; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--sky); text-underline-offset: 3px; font-weight: 600; }
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; }
.sticker { display: inline-block; margin-bottom: 0.9rem; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--sun); color: var(--ink); font-family: var(--head); font-size: 0.95rem; transform: rotate(-2deg); }

/* 03 Header & tabs */
.top { background: var(--sky); color: #fff; }
.top__row { display: flex; align-items: center; gap: 0.8rem; min-height: 74px; }
.dmark { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; }
.dmark svg { width: 44px; height: 44px; flex: none; }
.dmark b { color: #fff; font-family: var(--head); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.dmark small { display: block; font-size: 0.78rem; font-weight: 700; color: var(--sky-100); }
.top__end { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.top__tel { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.9rem; border-radius: 999px; background: rgba(255,255,255,0.15); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.top__tel svg { width: 17px; height: 17px; }
.top__tel:hover { background: rgba(255,255,255,0.25); color: #fff; }
.top :focus-visible { outline-color: var(--sun); }
.tabs { background: var(--sky); }
.tabs nav { display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; padding-top: 0.2rem; }
.tabs nav::-webkit-scrollbar { display: none; }
@media (max-width: 700px) { .tabs nav:not(.at-end) { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); } }
.tabs a { flex: none; display: block; padding: 0.7rem 1.2rem 0.8rem; border-radius: 16px 16px 0 0; background: var(--sky-dark); color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.tabs a:hover { background: #0b4a6e; color: #fff; }
.tabs a[aria-current="page"] { background: var(--page); color: var(--ink); }
.tabs :focus-visible { outline-color: var(--sun); outline-offset: -3px; }
@media (max-width: 560px) {
  .top__tel span { display: none; }
  .top__tel { width: 44px; height: 44px; justify-content: center; padding: 0; }
  .dmark small { display: none; }
  .dmark b { font-size: 1.35rem; }
  .dmark svg { width: 36px; height: 36px; }
  .top__end .btn { padding: 0.6rem 0.9rem; font-size: 0.95rem; }
  .tabs a { padding: 0.65rem 0.95rem 0.75rem; }
}

/* 04 Hero */
.hero { background: var(--sky-50); overflow: hidden; }
.hero .wrap { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.6rem, 2rem + 3vw, 4.6rem); }
@media (min-width: 920px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } }
.hero .wrap > * { min-width: 0; }
.hero h1 { max-width: 13ch; }
.hero p.big { font-size: var(--f1); line-height: 1.45; max-width: 36ch; color: var(--ink); }
.hero__art { position: relative; }
.hero__art::before { content: ""; position: absolute; width: 150px; height: 150px; right: -30px; top: -30px; border-radius: 50%; background: var(--sun); z-index: 0; }
.hero__art figure { position: relative; z-index: 1; }
.hero__art figure img, .hero__art figure .img-placeholder { border-radius: 36px; border: 6px solid #fff; box-shadow: 0 24px 40px -28px rgba(16,42,67,0.6); }

/* 05 Page heads */
.phead { background: var(--sky-50); }
.phead .wrap { padding-block: clamp(2.4rem, 2rem + 2.6vw, 4rem); }
.phead h1 { font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem); max-width: 18ch; }
.phead p { font-size: var(--f1); line-height: 1.45; max-width: 52ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.92rem; font-weight: 700; }
.crumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--sky); }
.top .cta-short { display: none; }
@media (max-width: 420px) { .top .cta-long { display: none; } .top .cta-short { display: inline; } }

/* 06 Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border: 0; border-radius: 999px; font-family: var(--head); font-size: 1.05rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 0.15s, background-color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1em; height: 1em; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #fcd34d; color: var(--ink); }
.btn--sky { background: var(--sky); color: #fff; }
.btn--sky:hover { background: var(--sky-dark); color: #fff; }
.btn--white { background: #fff; color: var(--sky-dark); box-shadow: inset 0 0 0 2px var(--sky-100); }

/* 07 Audience cards & timeline */
.sec { padding-block: var(--pad-y); }
.sec--white { background: var(--white); }
.sec--sky { background: var(--sky); color: #e0f2fe; }
.sec--sky h2, .sec--sky h3 { color: #fff; }
.sec--sky a:not(.btn) { color: var(--sun); }
.sec--sky :focus-visible { outline-color: var(--sun); }
.centered { text-align: center; }
.centered p { margin-inline: auto; }
.trio { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.who { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.8rem 1.5rem; border-radius: var(--r); background: var(--white); color: var(--text); text-decoration: none; border: 3px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.who:hover { border-color: var(--sky); transform: rotate(-0.6deg); }
.who .emoji { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--sky-50); color: var(--sky); }
.who:nth-child(2) .emoji { background: var(--sun-soft); color: var(--sun-ink); }
.who:nth-child(3) .emoji { background: var(--ink); color: var(--sun); }
.who .emoji svg { width: 30px; height: 30px; }
.who h3 { margin: 0.4rem 0 0; }
.who p { margin: 0; font-size: var(--f-sm); }
.who span.go { margin-top: auto; font-weight: 700; color: var(--sky); }
.dots { display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none; counter-reset: d; }
@media (min-width: 860px) { .dots { grid-template-columns: repeat(4, 1fr); } }
.dots li { position: relative; padding-top: 4rem; margin: 0; counter-increment: d; }
.dots li::before { content: counter(d); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--head); font-size: 1.4rem; }
@media (min-width: 860px) { .dots li:not(:last-child)::after { content: ""; position: absolute; top: 1.45rem; left: 3.6rem; right: -0.8rem; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.4); } }
.dots h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.dots p { margin: 0; font-size: var(--f-sm); }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split > * { min-width: 0; }
.split--top { align-items: start; }
.pillbox { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.pillbox li { padding: 0.4rem 1rem; border-radius: 999px; background: var(--sky-50); font-weight: 700; color: var(--ink); }
.map-bubble { width: 100%; aspect-ratio: 1 / 1; max-height: 460px; border-radius: 50% 50% var(--r) var(--r) / 30% 30% var(--r) var(--r); border: 6px solid #fff; box-shadow: 0 24px 40px -28px rgba(16,42,67,0.6); background: var(--sky-50); }
.map-wide .map-bubble { aspect-ratio: 21 / 9; min-height: 280px; max-height: none; border-radius: var(--r); }
.notes { display: grid; gap: 1rem; }
.note { padding: 1.3rem 1.4rem; border-radius: 18px; background: var(--sun-soft); }
.note h3 { font-size: 1.15rem; }
.note p { font-size: var(--f-sm); }
.checks { margin: 1rem 0 1.4rem; padding: 0; list-style: none; }
.checks li { position: relative; padding: 0.4rem 0 0.4rem 2rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0.35rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 0.85rem; font-weight: 700; }

/* 08 Landlord flow (signature) */
.flow { display: grid; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(5, 1fr); } }
.flow li { position: relative; padding: 1.4rem 1.2rem; border-radius: var(--r); background: var(--white); border: 3px solid var(--line); margin: 0; }
.flow li:nth-child(odd) { border-color: var(--sky-100); }
.flow li:nth-child(even) { border-color: var(--sun); }
@media (min-width: 900px) { .flow li:not(:last-child)::after { content: "→"; position: absolute; right: -0.95rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.9rem; z-index: 1; } }
.flow .who-tag { display: inline-block; margin-bottom: 0.5rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--sky-50); color: var(--sky-dark); font-size: 0.82rem; font-weight: 700; }
.flow h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.flow p { margin: 0; font-size: 0.95rem; }
.law { display: grid; gap: 1rem; }
@media (min-width: 860px) { .law { grid-template-columns: repeat(3, 1fr); } }
.law > div { padding: 1.5rem; border-radius: var(--r); background: var(--ink); color: #cfe0ee; }
.law h3 { color: var(--sun); font-size: 1.2rem; }
.law p { font-size: var(--f-sm); }
.season { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--r); overflow: hidden; border: 3px solid var(--line); }
.season th, .season td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: var(--f-sm); }
.season tr:last-child > * { border-bottom: 0; }
.season thead th { background: var(--sky); color: #fff; font-family: var(--head); font-weight: 400; font-size: 1.05rem; }
.season tbody th { color: var(--ink); font-family: var(--head); font-weight: 400; width: 22%; }
.scroll { overflow-x: auto; }
.turn { padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); border-radius: var(--r); background: var(--white); border: 3px dashed var(--sky-light); }
.turn fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 0.5rem; }
@media (min-width: 760px) { .turn fieldset { grid-template-columns: 1fr 1fr; } }
.turn legend { margin-bottom: 0.8rem; font-family: var(--head); font-size: var(--f1); color: var(--ink); }
.turn label { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.7rem 0.9rem; border-radius: 14px; background: var(--sky-50); cursor: pointer; }
.turn input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; flex: none; accent-color: var(--sky); }
.turn label:has(input:checked) { background: var(--sun-soft); text-decoration: line-through; text-decoration-color: var(--sun-ink); }
.turn__meter { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; font-weight: 700; color: var(--ink); }
.turn__meter[hidden] { display: none; }
.turn__bar { flex: 1; height: 12px; border-radius: 6px; background: var(--sky-50); overflow: hidden; }
.turn__bar i { display: block; height: 100%; width: 0; background: var(--sun); transition: width 0.25s; }
.fine { font-size: 0.9rem; color: var(--muted); }

/* 09 FAQ */
.faq { display: grid; gap: 0.8rem; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; align-items: start; } }
.dq { border-radius: 18px; background: var(--white); border: 3px solid var(--line); }
.dq[open] { border-color: var(--sun); }
.dq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-family: var(--head); font-size: 1.1rem; color: var(--ink); list-style: none; }
.dq summary::after { content: "?"; flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 1rem; }
.dq[open] summary::after { content: "!"; background: var(--sky); color: #fff; }
.dq > div { padding: 0 1.2rem 1.1rem; font-size: var(--f-sm); }

/* 10 Form & contact */
.form { display: grid; gap: 1rem 1.2rem; margin-top: 1.4rem; }
@media (min-width: 680px) { .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); }
.req { color: var(--sky); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; padding: 0.85rem 1.1rem; font: inherit; color: var(--ink); background: var(--white); border: 3px solid var(--line); border-radius: 16px; }
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='%230369a1' stroke-width='2.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); }
.picks { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.picks legend { margin-bottom: 0.5rem; }
.pick { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; background: var(--white); border: 3px solid var(--line); cursor: pointer; font-weight: 600; }
.pick input { accent-color: var(--sky); }
.pick:has(input:checked) { border-color: var(--sun); background: var(--sun-soft); }
.form-status { margin: 0.8rem 0 0; }
.form-note { margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--muted); }
.bubble { padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); border-radius: var(--r); background: var(--white); border: 3px solid var(--line); }
.callcard { padding: 1.6rem; border-radius: var(--r); background: var(--sun); color: var(--ink); }
.callcard .num { display: block; margin: 0.3rem 0; font-family: var(--head); font-size: 2rem; color: var(--ink); text-decoration: none; }
.callcard + .callcard { background: var(--sky-50); }

/* 11 Footer */
.ft { background: var(--sun); color: var(--ink); font-size: var(--f-sm); }
.ft .wrap { display: grid; gap: 1.8rem; padding-block: 3rem 1.6rem; }
@media (min-width: 820px) { .ft .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.ft h2 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.ft ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.ft a { color: var(--ink); }
.ft :focus-visible { outline-color: var(--ink); }
.ft__base { grid-column: 1 / -1; padding-top: 1rem; border-top: 2px dashed rgba(16,42,67,0.3); font-size: 0.85rem; }
.ft__base p { margin: 0; max-width: none; }

/* 12 Images */
.img-placeholder { background: var(--sky-50); border: 2px dashed var(--sky-light); color: var(--muted); }
.img-placeholder b { color: var(--ink); }
figure img, figure .img-placeholder { border-radius: var(--r); }
figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.mt { margin-top: 2rem; }
