/* ==========================================================================
   /hvac landing page. Stand-alone sheet, same brand tokens and fonts as the
   rest of the site. Mobile first: base styles are the phone layout.
   ========================================================================== */

@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: oklch(0.984 0.004 236);
  --bg-2: oklch(0.964 0.009 236);
  --white: oklch(1 0 0);
  --line: oklch(0.915 0.011 238);
  --line-2: oklch(0.8 0.017 240);
  --ink: oklch(0.2 0.045 248);
  --ink-2: oklch(0.38 0.035 246);
  --deep: oklch(0.35 0.09 246);
  --night: oklch(0.17 0.045 248);
  --night-2: oklch(0.215 0.055 248);
  --accent: oklch(0.599 0.118 50.4);
  --brand: oklch(0.429 0.109 246.5);
  --brand-deep: oklch(0.35 0.09 246);
  --accent-light: oklch(0.8 0.1 62);
  --brand-wash: oklch(0.955 0.022 236);
  --on-dark: oklch(0.975 0.006 236);
  --on-dark-2: oklch(0.85 0.025 238);
  --error: oklch(0.5 0.19 27);

  --font-display: "Cabinet Grotesk", "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --max: 1080px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  padding-bottom: 84px;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--brand-deep); text-underline-offset: 0.2em; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--accent-light); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(680px + var(--gutter) * 2); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons: big, square-shouldered, built for a thumb */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 14px 28px;
  background: var(--accent-light); color: var(--night);
  border: 0; border-radius: 14px;
  font-family: var(--font-body); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; text-decoration: none;
  box-shadow: 0 5px 0 oklch(0.55 0.1 50);
  cursor: pointer; transition: transform 0.12s var(--ease-out), box-shadow 0.12s var(--ease-out), background-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: oklch(0.86 0.09 62); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 oklch(0.55 0.1 50); }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--block { width: 100%; }
.btn--solid { background: var(--brand); color: var(--white); box-shadow: 0 5px 0 var(--night); }
.btn--solid:hover { background: var(--brand-deep); }
.btn--solid:active { box-shadow: 0 1px 0 var(--night); }
.btn--ghost { background: var(--white); color: var(--ink); border: 2px solid var(--ink); box-shadow: none; min-height: 52px; }
.btn--ghost:hover { background: var(--bg-2); }
.btn--ghost:active { transform: scale(0.98); box-shadow: none; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* Hero */
.hero { background: var(--night); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::after { /* hazard-style stripe along the bottom edge */
  content: ""; display: block; height: 14px;
  background: repeating-linear-gradient(-45deg, var(--accent-light) 0 14px, var(--night) 14px 28px);
}
.topbar { padding-block: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 40px; padding: 5px 6px; object-fit: contain; background: var(--white); border-radius: 11px; box-shadow: 0 6px 14px -8px rgb(0 0 0 / 0.6); }
.brand__seguin { color: var(--accent-light); }
.brand__sites { color: var(--white); }
.hero__body { padding-block: 40px 44px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); }
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--accent-light); }
.hero h1 { margin-top: 18px; color: var(--white); font-size: clamp(2.6rem, 1.2rem + 6.6vw, 5.6rem); line-height: 0.97; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero__yes { margin-top: 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
.hero__yes span { background: var(--accent-light); color: var(--night); padding: 2px 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__support { margin-top: 20px; max-width: 34em; font-size: 1.1875rem; line-height: 1.5; color: var(--on-dark-2); }
.hero .btn { margin-top: 28px; width: 100%; }
.trust { margin-top: 28px; display: grid; gap: 10px; font-weight: 700; color: var(--on-dark); }
.trust li { display: flex; align-items: center; gap: 12px; }
.trust svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent-light); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding-block: 72px; }
.section--tint { background: var(--bg-2); }
.kicker { display: block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 14px; }
.section h2 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1.02; letter-spacing: -0.035em; }

/* Form */
.form-section { padding-block: 56px 72px; background: var(--bg-2); scroll-margin-top: 8px; }
.form-card { background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 22px 18px 24px; box-shadow: 7px 7px 0 var(--deep); }
.progress__label { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.progress__bar { margin-top: 8px; height: 10px; background: var(--bg-2); border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 33.33%; background: var(--brand); transition: width 0.3s var(--ease-out); }
.step { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.step__title { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.3rem); line-height: 1.05; letter-spacing: -0.03em; outline: none; }
.step__title:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.step__fields { display: grid; gap: 20px; margin-top: 20px; }
.field { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 700; font-size: 1.02rem; line-height: 1.3; padding: 0; margin-bottom: 2px; }
.input {
  width: 100%; min-height: 56px; padding: 12px 16px;
  font-size: 1.0625rem; /* 17px, stops iOS zoom on focus */
  background: var(--bg); border: 2px solid var(--line-2); border-radius: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: oklch(0.48 0.022 246.5); opacity: 1; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px oklch(0.429 0.109 246.5 / 0.25); background: var(--white); }
.input[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 0.95rem; font-weight: 700; line-height: 1.35; }
.err:empty { display: none; }
.err::before { content: "! "; }
.form__error { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: oklch(0.96 0.03 27); border: 2px solid var(--error); color: var(--error); font-weight: 700; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px;
  border: 2px solid var(--line-2); border-radius: 12px; background: var(--bg);
  font-weight: 700; font-size: 1.02rem; line-height: 1.2; cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.choice span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-2); background: var(--white); }
.choice--box span::before { border-radius: 6px; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-wash); }
.choice input[type="radio"]:checked + span::before { border: 6px solid var(--brand); }
.choice input[type="checkbox"]:checked + span::before {
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--brand);
}
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 3px; }
.choices[aria-invalid="true"] .choice span { border-color: var(--error); }

.consent { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 0.98rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; font-weight: 400; }
.consent input { width: 26px; height: 26px; margin: 0; accent-color: var(--brand); cursor: pointer; }

.actions { margin-top: 24px; display: grid; gap: 12px; }
.actions .btn--ghost { order: 2; }

/* Thank-you state */
.done { background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 24px 18px; box-shadow: 7px 7px 0 var(--deep); }
.done__tick { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.done__tick svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.done h2 { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3rem); line-height: 1.04; letter-spacing: -0.035em; outline: none; }
.done p { margin-top: 12px; font-size: 1.125rem; color: var(--ink-2); }
.cal { margin-top: 22px; border: 2px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--white); }
.cal iframe { display: block; width: 100%; height: 720px; border: 0; }
.cal__fallback { padding: 18px; font-weight: 700; }

/* Guarantee */
.guarantee { background: var(--brand-deep); color: var(--white); padding-block: 72px; }
.guarantee .wrap { display: grid; gap: 32px; justify-items: center; text-align: center; }
.seal { width: min(260px, 70vw); aspect-ratio: 1; filter: drop-shadow(0 10px 0 oklch(0.3 0.07 247)); }
.seal text { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.16em; }
.seal .seal__num { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; }
.guarantee h2, .one h2, .final h2 { font-size: clamp(2.2rem, 1.3rem + 4.2vw, 4.2rem); line-height: 1.02; letter-spacing: -0.035em; }
.guarantee h2 { color: var(--white); }
.guarantee p { margin-top: 16px; font-size: clamp(1.25rem, 1.05rem + 1vw, 1.7rem); line-height: 1.35; max-width: 24em; margin-inline: auto; }

/* The math */
.math { padding-block: 80px; }
.math__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.1rem + 6vw, 5.2rem); line-height: 1; letter-spacing: -0.04em; max-width: 14em; }
.math__big mark { background: linear-gradient(transparent 62%, var(--accent-light) 62% 92%, transparent 92%); color: inherit; padding: 0 0.04em; }
.math__small { margin-top: 24px; font-size: 1.25rem; line-height: 1.45; color: var(--ink-2); max-width: 28em; }

/* How it works */
.how__list { margin-top: 36px; display: grid; gap: 0; counter-reset: how; }
.how__item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding-block: 22px; border-top: 2px solid var(--ink); }
.how__item:last-child { border-bottom: 2px solid var(--ink); }
.how__item::before { counter-increment: how; content: counter(how); font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 0.9; letter-spacing: -0.05em; color: var(--brand-deep); }
.how__item h3 { font-size: 1.4rem; line-height: 1.15; letter-spacing: -0.02em; }
.how__item p { margin-top: 6px; color: var(--ink-2); }
.tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 9px; border-radius: 6px; background: var(--night); color: var(--accent-light); font-family: var(--font-body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* What you get */
.get__grid { margin-top: 36px; display: grid; gap: 16px; }
.card { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 22px 20px 24px; }
.card--bonus { background: var(--night); color: var(--on-dark); border-color: var(--night); box-shadow: 6px 6px 0 var(--accent-light); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-wash); display: grid; place-items: center; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card--bonus .card__icon { background: var(--accent-light); }
.card--bonus .card__icon svg { stroke: var(--night); }
.card h3 { margin-top: 16px; font-size: 1.4rem; line-height: 1.15; letter-spacing: -0.02em; }
.card--bonus h3 { color: var(--white); }
.card p { margin-top: 8px; color: var(--ink-2); }
.card--bonus p { color: var(--on-dark-2); }

/* One per area */
.one { background: var(--night); color: var(--on-dark); padding-block: 80px; }
.one h2 { color: var(--white); max-width: 11em; }
.one h2 em { font-style: normal; color: var(--accent-light); }
.one p { margin-top: 20px; font-size: 1.25rem; line-height: 1.5; color: var(--on-dark-2); max-width: 28em; }
.one .btn { margin-top: 28px; width: 100%; }

/* FAQ */
.faq { margin-top: 32px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding: 16px 2px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.15rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 0.2s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; font-size: 1.125rem; color: var(--ink-2); max-width: 38em; }

/* Final CTA */
.final { background: var(--night); color: var(--on-dark); padding-block: 84px 72px; text-align: left; }
.final h2 { color: var(--white); font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4.4rem); max-width: 13em; }
.final .btn { margin-top: 30px; width: 100%; }

.foot { background: var(--night); color: var(--on-dark-2); padding-block: 8px 36px; font-size: 0.97rem; }
.foot .wrap { border-top: 1px solid oklch(0.4 0.043 246.5); padding-top: 24px; }
.foot p + p { margin-top: 6px; }
.foot a { color: var(--on-dark); }

/* Sticky mobile CTA: floating pills, no bar behind them */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 0 16px calc(14px + env(safe-area-inset-bottom));
  background: none; border: 0; pointer-events: none;
}
.sticky-cta .btn {
  pointer-events: auto; width: auto; min-height: 48px; padding: 10px 20px;
  font-size: 1rem; gap: 8px; box-shadow: 0 4px 0 oklch(0.55 0.1 50), 0 8px 20px oklch(0.2 0.036 246.5 / 0.35);
}
.sticky-cta .btn svg { width: 18px; height: 18px; }
.sticky-cta .btn--form.is-hidden { display: none; }

/* Larger screens */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hero__body { padding-block: 72px 80px; }
  .hero .btn, .one .btn, .final .btn { width: auto; min-width: 360px; }
  .trust { grid-auto-flow: column; justify-content: start; gap: 32px; }
  .form-card, .done { padding: 32px 32px 36px; }
  .actions { grid-template-columns: auto 1fr; }
  .actions .btn--ghost { order: 0; }
  .guarantee .wrap { grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 64px; align-items: center; }
  .guarantee p { margin-inline: 0; }
  .get__grid { grid-template-columns: 1fr 1fr; }
  .how__item { grid-template-columns: 110px 1fr; padding-block: 28px; }
  .how__item::before { font-size: 5.5rem; }
  .section { padding-block: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Step 3 bonus lead-in */
.step__bonus { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 6px; background: var(--night); color: var(--accent-light); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.step__lede { margin-top: 10px; font-size: 1.125rem; color: var(--ink-2); }
