/* ==========================================================================
   Minisplit King public site
   Calm, trustworthy local-service look: cool white surfaces, the logo's
   navy for structure, the crown's red for the one main action.
   Type: Archivo (display, slightly wide) + Source Sans 3 (body).
   ========================================================================== */

:root {
  --navy: #1f2c80;
  --navy-700: #18226a;
  --navy-900: #0f1748;
  --sky: #eaf0fb;
  --sky-2: #dfe7f8;
  --red: #b8232b;
  --red-700: #9b1c23;
  --ink: #131a2e;
  --ink-2: #3a4459;
  --ink-3: #566075;
  --line: #d9e0ec;
  --line-2: #c7d1e2;
  --paper: #ffffff;
  --mist: #f3f6fb;
  --ok: #1d7044;
  --ok-bg: #e7f4ec;
  --err: #b42318;
  --err-bg: #fdecea;

  --font-display: "Archivo", "Source Sans 3", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(19, 32, 84, 0.06), 0 2px 6px rgba(19, 32, 84, 0.05);
  --shadow-md: 0 2px 4px rgba(19, 32, 84, 0.05), 0 12px 28px -8px rgba(19, 32, 84, 0.18);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 120px);

  --z-header: 20;
  --z-actionbar: 15;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 106%;
  color: var(--ink);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3.3vw, 4rem); font-weight: 750; }
h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.75rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 680; line-height: 1.25; letter-spacing: -0.01em; }
p, li { text-wrap: pretty; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.lead { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.prose { max-width: 66ch; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.4em;
  font: 600 1.0625rem/1.2 var(--font-body);
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-md);
  text-decoration: none; cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out), box-shadow 180ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { --btn-bg: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-700); box-shadow: 0 6px 16px -6px rgba(155, 28, 35, 0.55); }
.btn--navy { --btn-bg: var(--navy); }
.btn--navy:hover { --btn-bg: var(--navy-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--sky); --btn-bd: var(--navy); --btn-fg: var(--navy-700); }
.btn--sm { min-height: 44px; padding: 0 1.1em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.spinner {
  width: 1.05em; height: 1.05em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 650ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 220ms var(--ease-out);
  padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(19, 32, 84, 0.5); }
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { height: 46px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; display: flex; gap: 4px; }
.site-nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-weight: 600; font-size: 0.98rem; color: var(--ink-2); text-decoration: none; border-radius: var(--r-sm);
  transition: color 160ms ease, background-color 160ms ease;
}
.site-nav__list a:hover { color: var(--navy); background: var(--sky); }
.site-nav__list a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); border-radius: 0; }
.site-nav__mobile-actions { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy);
  text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.site-header__phone:hover { color: var(--red); }
.site-header__toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-2); border-radius: var(--r-md); background: #fff; color: var(--navy); cursor: pointer;
}
.site-header__toggle .icon--close { display: none; }
.site-header__toggle[aria-expanded="true"] .icon--open { display: none; }
.site-header__toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1140px) {
  .site-nav__list a { padding: 0 9px; font-size: 0.94rem; }
}
@media (max-width: 1040px) {
  .site-header__toggle { display: inline-flex; }
  .site-header__actions { margin-left: auto; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: #fff; padding: 20px var(--gutter) 32px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    min-height: 56px; font-size: 1.2rem; padding: 0 4px; width: 100%;
    border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink);
  }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--navy); padding-left: 14px; }
  .site-nav__mobile-actions { display: grid; gap: 12px; }
  .site-nav__vcard { text-align: center; font-weight: 600; padding: 10px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header__logo img { height: 38px; }
  .site-header__cta { display: none; }
  .site-header__phone { width: 48px; height: 48px; justify-content: center; border: 1.5px solid var(--line-2); border-radius: var(--r-md); padding: 0; }
  .site-header__phone-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head h2 + p { margin-top: 16px; }
.section__head .lead { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy h1 { margin-bottom: 20px; }
.hero__copy .lead { margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__facts { list-style: none; display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.hero__facts .icon { color: var(--navy); margin-top: 2px; }
.hero__facts strong { color: var(--ink); font-weight: 650; }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.3; background: var(--sky); box-shadow: var(--shadow-md); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow-md);
  max-width: calc(100% - 24px);
}
.hero__badge img { width: 150px; height: auto; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__photo { aspect-ratio: 16 / 10; }
  .hero__badge { left: 12px; bottom: 12px; padding: 10px 12px; }
  .hero__badge img { width: 118px; }
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
}

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip .split__media { order: -1; }
.split__copy h2 { margin-bottom: 20px; }
.split__media img { border-radius: var(--r-lg); width: 100%; }
.split__media--framed { background: var(--mist); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 36px); }
.split__media--framed img { border-radius: var(--r-md); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

.check-list { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list .icon { color: var(--ok); margin-top: 3px; }

.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--sky); color: var(--navy-700); font-weight: 600; font-size: 0.98rem; }
.chip-list .icon { width: 1.1em; height: 1.1em; }

/* ---------- Video facade ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900);
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 400ms var(--ease-out), opacity 200ms ease; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; border: 0; background: linear-gradient(180deg, rgba(15, 23, 72, 0) 40%, rgba(15, 23, 72, 0.55)); color: #fff; cursor: pointer;
  font: 650 1.05rem var(--font-body);
}
.video__play span.video__btn {
  width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--red);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  transition: transform 180ms var(--ease-out);
}
.video__play span.video__btn .icon { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.video__play:hover span.video__btn { transform: scale(1.06); }
.video__play:hover + img, .video:hover img { transform: scale(1.02); }
.video__label { position: absolute; left: 20px; bottom: 18px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }

/* ---------- Questions (cost, install time, warranty, financing) ---------- */
.qa { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.qa__media { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.qa__media img { border-radius: var(--r-lg); width: 100%; }
.qa__list { display: grid; gap: 0; }
.qa__item { padding-block: 28px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.qa__item:last-child { border-bottom: 1px solid var(--line); }
.qa__item h3 { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; font-size: 1.35rem; }
.qa__item h3 .icon { color: var(--navy); width: 28px; height: 28px; padding: 5px; background: var(--sky); border-radius: var(--r-sm); box-sizing: content-box; }
.qa__item .prose { padding-left: 52px; }
.qa__finance { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.qa__finance img { width: 160px; height: auto; }
@media (max-width: 860px) {
  .qa { grid-template-columns: 1fr; }
  .qa__media { position: static; }
  .qa__item .prose { padding-left: 0; }
}

/* ---------- About ---------- */
.about__facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin-top: 28px; }
.about__facts li { padding-left: 16px; border-left: 2px solid var(--navy); color: var(--ink-2); font-size: 0.98rem; }
.about__facts strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em; }
@media (max-width: 520px) { .about__facts { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.reviews { columns: 3 300px; column-gap: 20px; }
.review {
  break-inside: avoid; margin: 0 0 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
}
.review blockquote { margin: 0 0 18px; color: var(--ink-2); }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 650; color: var(--ink); }
.review__initials {
  width: 40px; height: 40px; border-radius: 12px; background: var(--sky); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.review__role { display: block; font-weight: 400; font-size: 0.92rem; color: var(--ink-3); }

/* ---------- Affiliations ---------- */
.logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; }
.logos img { height: 46px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter 200ms ease, opacity 200ms ease; }
.logos a:hover img, .logos a:focus-visible img { filter: none; opacity: 1; }

/* ---------- Contact band ---------- */
.band { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; }
.band h2 { color: #fff; margin-bottom: 12px; }
.band p { color: #d9e0f5; margin: 0; max-width: 52ch; }
.band__actions { display: grid; gap: 12px; min-width: 260px; }
.band .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.45); }
.band .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-bd: #fff; --btn-fg: #fff; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band__actions { min-width: 0; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom: 14px; }
.page-head .lead { margin: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.95rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: var(--section-y); }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3.5vw, 36px); }
.card--mist { background: var(--mist); border-color: transparent; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label { font-weight: 650; color: var(--ink); font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 1.0625rem/1.4 var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231f2c80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7488; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa8c2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 44, 128, 0.18); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__error { display: none; color: var(--err); font-size: 0.95rem; font-weight: 600; }
.field.has-error .field__error { display: block; }
.field__hint { color: var(--ink-3); font-size: 0.95rem; }
.input-unit { position: relative; }
.input-unit input { padding-right: 70px; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; pointer-events: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.form-note { color: var(--ink-3); font-size: 0.95rem; margin: 14px 0 0; }
.form-status {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--err-bg); color: #7a1a12; font-weight: 600; border: 1px solid #f3c4bf;
}
.form-status.is-ok { background: var(--ok-bg); color: var(--ok); border-color: #b9dfc8; }

.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--navy); width: 22px; height: 22px; margin-top: 3px; }
.contact-list strong { display: block; font-weight: 650; color: var(--ink); }
.contact-list a { font-weight: 600; }
.aside-stack { display: grid; gap: 20px; }
.aside-stack h2 { font-size: 1.35rem; margin-bottom: 16px; }

/* ---------- Thank you ---------- */
.thanks { text-align: left; padding-block: clamp(48px, 8vw, 110px); }
.thanks__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin-bottom: 24px; }
.thanks__icon .icon { width: 34px; height: 34px; stroke-width: 2.25; }
.thanks h1 { margin-bottom: 16px; }
.thanks__next { list-style: none; display: grid; gap: 12px; margin: 28px 0 32px; }
.thanks__next li { display: flex; gap: 12px; color: var(--ink-2); }
.thanks__next .icon { color: var(--navy); margin-top: 3px; }

/* ---------- Videos (how-to) ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 28px; padding-bottom: var(--section-y); }
.video-card h2 { font-size: 1.2rem; margin-top: 14px; }
.empty { padding: 40px; border-radius: var(--r-lg); background: var(--mist); color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); color: var(--ink-2); font-size: 0.98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 36px; }
.site-footer__logo img { height: 50px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { max-width: 36ch; }
.site-footer__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--ink); margin-bottom: 14px; }
.site-footer__list { list-style: none; display: grid; gap: 4px; }
.site-footer__list a, .site-footer__list span { display: inline-flex; gap: 10px; align-items: flex-start; min-height: 36px; padding: 6px 0; color: var(--ink-2); text-decoration: none; }
.site-footer__list a:hover { color: var(--navy); text-decoration: underline; }
.site-footer__list .icon { width: 18px; height: 18px; color: var(--navy); margin-top: 3px; }
.site-footer__social { list-style: none; display: flex; gap: 8px; }
.site-footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--navy); transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.site-footer__social a:hover { border-color: var(--navy); transform: translateY(-2px); }
.site-footer__note { margin-bottom: 12px; }
.site-footer__badge { display: inline-block; margin: 0 12px 12px 0; }
.site-footer__badge img { height: 32px; width: auto; }
.site-footer__badge--bbb img { height: 42px; }
.site-footer__legal { margin-top: 40px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-3); }
.site-footer__legal a { color: var(--ink-2); }
.site-footer__legal p { margin: 0; max-width: 90ch; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 14px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* The agency signature: quiet until hovered. */
.site-credit {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 6px 0;
  font-size: 0.85rem; color: var(--ink-3); letter-spacing: 0.01em;
}
.site-credit a {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  color: inherit; text-decoration: none; transition: color 200ms ease;
}
.site-credit img { display: block; width: 14px; height: auto; opacity: 0.8; transition: transform 500ms cubic-bezier(.23, 1, .32, 1), opacity 200ms ease; }
.site-credit a span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 260ms var(--ease-out); }
.site-credit a:hover { color: var(--navy); }
.site-credit a:hover span { background-size: 100% 1px; }
.site-credit a:hover img { opacity: 1; transform: translateY(-3px) rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .site-credit a:hover img { transform: none; } }

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 760px) {
  .has-actionbar { padding-bottom: 84px; }
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-actionbar);
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .actionbar .btn { min-height: 52px; }
}

/* ---------- Hover only where hover exists ---------- */
@media (hover: none) {
  .choice label:hover { transform: none; }
}

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


/* ---------- Quote request form ---------- */
.quote-teaser { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; }
.quote-teaser h2 { margin-bottom: 12px; }
.quote-teaser .lead { margin: 0; }
.quote-teaser__actions { display: grid; gap: 10px; justify-items: start; }
.quote-help { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .quote-teaser { grid-template-columns: 1fr; } .quote-teaser__actions, .quote-teaser__actions .btn { width: 100%; } }

.quote-form { display: grid; gap: 30px; }
.qgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.qgroup__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); padding: 0; margin-bottom: 14px; }
.qgroup + .qgroup { padding-top: 28px; border-top: 1px solid var(--line); }
.choices { display: grid; gap: 10px; }
.choices--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.choices--seg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choices--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .choices--wide { grid-template-columns: 1fr; } .choices--cards { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; height: 100%; padding: 10px 14px;
  text-align: center; font-weight: 650; line-height: 1.25; cursor: pointer; color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: var(--r-md); background: #fff;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.choices--cards .choice label { flex-direction: column; min-height: 112px; padding: 16px 12px; }
.choices--cards .choice label .icon { width: 30px; height: 30px; color: var(--navy); }
.choice label:hover { border-color: var(--navy); background: var(--mist); }
.choice label:active { transform: scale(0.98); }
.choice input:checked + label { border-color: var(--navy); background: var(--sky); color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 2px; }
.field.has-error .choice label { border-color: #e5a7a1; }

.upload__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload__drop {
  display: flex; align-items: center; gap: 14px; padding: 18px; cursor: pointer;
  border: 1.5px dashed var(--line-2); border-radius: var(--r-md); background: var(--mist);
  transition: border-color 140ms ease, background-color 140ms ease;
}
.upload__drop:hover, .upload.is-drag .upload__drop { border-color: var(--navy); background: var(--sky); }
.upload__input:focus-visible + .upload__drop { outline: 3px solid var(--navy); outline-offset: 2px; }
.upload__drop .icon { width: 32px; height: 32px; color: var(--navy); }
.upload__drop strong { display: block; color: var(--navy); }
.upload__drop small { display: block; color: var(--ink-3); font-size: 0.95rem; }
.upload__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.upload__list:empty { display: none; }
.upload__thumb { position: relative; width: 88px; height: 88px; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); border: 1px solid var(--line); }
.upload__thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload__remove {
  position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(19, 26, 46, 0.78); color: #fff; display: grid; place-items: center;
}
.upload__remove .icon { width: 16px; height: 16px; }
.upload__remove:hover { background: var(--red); }

.trust-list { list-style: none; display: grid; gap: 16px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 0.98rem; }
.trust-list .icon { color: var(--navy); width: 22px; height: 22px; margin-top: 2px; }
.trust-list strong { display: block; color: var(--ink); font-weight: 650; }
.talk-actions { display: grid; gap: 10px; }
.btn[disabled] { cursor: progress; }
.thanks__finance { margin-top: 32px; }
.thanks__finance h2 { font-size: 1.2rem; margin-bottom: 6px; }

/* ---------- Refinements after visual review ---------- */
.upload { position: relative; }
.upload__input { left: 0; top: 0; clip: rect(0 0 0 0); overflow: hidden; }
.qgroup__title { float: left; width: 100%; }
.qgroup__title + * { clear: both; }
@media (min-width: 901px) { .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .hero__photo { aspect-ratio: 4 / 3.7; } }
.hero__copy h1 { font-size: clamp(2.25rem, 1.4rem + 2.9vw, 3.6rem); }
:root { --section-y: clamp(56px, 8vw, 104px); }
.site-header__logo img { height: 52px; }
@media (max-width: 640px) { .site-header__logo img { height: 40px; } }
@media (max-width: 860px) { .qa__media img + img { display: none; } }

/* Line under the per-domain H1 (the H1 carries the domain's target phrase). */
.hero__kicker { margin: 0.5rem 0 0; font-size: 1.125rem; font-weight: 600; color: var(--navy); }

/* ---------- Design review pass (2026-11-09) ---------- */
/* Video facade: the dimmed image formed its own stacking layer and painted over the play button. */
.video__play { z-index: 1; background: linear-gradient(180deg, rgba(15, 23, 72, 0.05) 30%, rgba(15, 23, 72, 0.72)); }
.video__label { font-weight: 650; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }

.section--flush-top { padding-top: 0; }
.field--spaced { margin-top: 18px; }
.form-note--inline { margin: 0; }
.terms { padding-bottom: var(--section-y); }
.terms h2 { font-size: 1.35rem; margin: 28px 0 12px; }
.terms h2:first-child { margin-top: 0; }
.empty--page { margin-bottom: var(--section-y); }

/* Quote form on phones: names side by side, full-width submit, no orphan card. */
@media (max-width: 600px) {
  .form-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .form-grid--compact .span-2-sm { grid-column: 1 / -1; }
  .quote-form .form-actions .btn { width: 100%; }
}
@media (max-width: 520px) {
  .choices--cards .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .choices--cards .choice:last-child:nth-child(odd) label { flex-direction: row; min-height: 64px; }
}
@media (max-width: 340px) {
  .form-grid--compact { grid-template-columns: 1fr; }
}

/* Keep the reassurance and phone numbers in view next to the long form. */
@media (min-width: 901px) {
  .form-layout > .aside-stack { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Service form: what the customer needs */
.service-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .service-kinds { grid-template-columns: 1fr; } }
form > .qgroup { margin-bottom: 24px; }

/* Jobber work request form (embedded iframe) */
.jobber-form { min-height: 480px; }
.jobber-form iframe { width: 100% !important; max-width: 100%; border: 0; }
