/* Page-specific styles for the AITCOH Certified Installer Partner™ page.
   Shared brand styles load from ./assets/brand/styles/theme.css.
   Division: Products (Trust Blue) — default tokens, no division-* class. */

/* Section titles + body copy stretch the full container width so they align
   with the cards, images, and grids below them (per design direction). */
.measure { max-width: 100%; }

/* ------------------------------------------------------------------
   SECTION BACKGROUND TINTS
   Soft, brand-derived light hues applied in a warm/blue/cool rotation so
   each section reads as its own band. All are pale enough for charcoal text
   and the white glass cards that sit on them.
   ------------------------------------------------------------------ */
.sec-tint-warm { background-color: #fbf6ea; }  /* soft Light-Linen cream */
.sec-tint-blue { background-color: #e4f0fc; }  /* soft Trust-Blue */
.sec-tint-cool { background-color: #eef2f4; }  /* cool neutral near-white */

/* ------------------------------------------------------------------
   HERO — gradient background (no photo), glass-solid card on top
   ------------------------------------------------------------------ */
.hero-installer-bg {
  background:
    radial-gradient(circle at 18% 20%, rgb(255 255 255 / 0.16) 0%, transparent 48%),
    radial-gradient(circle at 82% 86%, rgb(var(--glass-rgb-radiant-gold) / 0.14) 0%, transparent 46%),
    linear-gradient(135deg,
      var(--color-trust-blue, #255ea0) 0%,
      var(--color-trust-blue-dark, #1b477e) 100%);
  padding-top: 9rem;
}
.hero-overlay-card.hero-installer-card {
  /* Solid frosted card over the gradient — text fully legible (no photo behind). */
  --glass-tint: 0.78;
  --glass-border-alpha: 0.5;
  --glass-blur: 22px;
  text-align: center;
}
.hero-overlay-card.hero-installer-card .hero-overlay-title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  max-width: 22ch;
  margin-inline: auto;
}
.hero-overlay-card.hero-installer-card .hero-overlay-subtitle {
  max-width: 60ch;
}
.hero-clarifier {
  max-width: 56ch;
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(var(--glass-rgb-trust-blue) / 0.18);
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 600;
  color: rgb(var(--glass-rgb-charcoal) / 0.72);
}

.nav-floating.nav-installer-glass {
  /* Clean light pill over the gradient hero. */
  --glass-tint: 0.70;
  --glass-border-alpha: 0.5;
  --glass-blur: 24px;
  box-shadow:
    0 16px 38px rgb(var(--glass-rgb-charcoal) / 0.13),
    inset 0 1px 0 rgb(255 255 255 / 0.82);
}

/* ------------------------------------------------------------------
   HERO PHOTO BAND — full-width image strip directly below the text hero.
   Photo is fully visible (no text overlay), text hero stays fully legible.
   ------------------------------------------------------------------ */
.hero-photo-band {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  box-shadow: inset 0 6px 16px rgb(var(--glass-rgb-charcoal) / 0.12);
}
.hero-photo-band img {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 520px);
  object-fit: cover;
  object-position: center 32%;
}

/* ------------------------------------------------------------------
   IMAGE SLOTS — figures + card-top media
   Each slot ships with a brand .placeholder-image now; swap for <img>
   once the real .png exists (see IMAGE-PROMPTS.md).
   ------------------------------------------------------------------ */
.section-media {
  margin: 2.5rem 0 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow:
    0 20px 48px rgb(var(--glass-rgb-charcoal) / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.6);
}
.section-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.section-media .placeholder-image { border-radius: 0; }

/* Card-top media (model + tier cards) — bleeds to the card edges */
.model-media,
.tier-media {
  margin: -2rem -1.85rem 1.35rem;
  overflow: hidden;
}
.tier-media { margin: -1.85rem -1.5rem 1.25rem; }
.model-media img,
.tier-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.model-media .placeholder-image,
.tier-media .placeholder-image { border-radius: 0; }

/* ------------------------------------------------------------------
   REUSABLE FONT SIZE WIDGET (ported from the 25-point page)
   ------------------------------------------------------------------ */
.aitcoh-font-widget {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem;
  border: 1px solid rgb(var(--glass-rgb-trust-blue) / 0.24);
  border-radius: var(--radius-pill, 999px);
  background: linear-gradient(135deg, rgb(255 255 255 / 0.86), rgb(var(--glass-rgb-trust-blue) / 0.14));
  box-shadow: 0 16px 38px rgb(var(--glass-rgb-charcoal) / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.aitcoh-font-widget-label {
  padding: 0 0.35rem 0 0.55rem;
  color: rgb(var(--glass-rgb-charcoal) / 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.aitcoh-font-widget-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.7rem;
  border: 1px solid rgb(var(--glass-rgb-trust-blue) / 0.22);
  border-radius: var(--radius-pill, 999px);
  background: rgb(255 255 255 / 0.74);
  color: rgb(var(--glass-rgb-charcoal));
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.aitcoh-font-widget-button:hover {
  border-color: rgb(var(--glass-rgb-trust-blue));
  background: rgb(255 255 255 / 0.95);
  transform: translateY(-1px);
}
.aitcoh-font-widget-button:focus-visible {
  outline: 3px solid rgb(var(--glass-rgb-trust-blue));
  outline-offset: 2px;
}
.aitcoh-font-widget-button[disabled] { cursor: not-allowed; opacity: 0.52; transform: none; }
.aitcoh-font-widget-button[data-font-action="reset"] {
  min-width: auto;
  padding-inline: 0.85rem;
  color: rgb(var(--glass-rgb-trust-blue));
}
.aitcoh-font-widget-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------
   TRUST BAR — five-up credibility strip
   ------------------------------------------------------------------ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.3rem 0;
  align-items: stretch;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0.55rem;
  border: 1px solid rgb(var(--glass-rgb-trust-blue) / 0.2);
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.78), rgb(var(--glass-rgb-trust-blue) / 0.12));
  box-shadow: 0 16px 36px rgb(var(--glass-rgb-charcoal) / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.trust-strip-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  min-height: 3.3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 0.8rem;
  line-height: 1.25;
  font-weight: 700;
  color: rgb(var(--glass-rgb-charcoal));
  white-space: normal;
}
.trust-strip-item:not(:nth-child(5n + 1)) {
  border-left: 1px solid rgb(var(--glass-rgb-trust-blue) / 0.16) !important;
}
/* The brand .glass class applies an absolutely-positioned ::before sheen at
   inset:0. Force this checkmark ::before back into the flex flow (static) and
   suppress the glass ::after so the check sits beside the text, not over it. */
.trust-strip-item::before {
  content: "✓";
  position: static !important;
  inset: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: var(--radius-full, 50%);
  background: rgb(var(--glass-rgb-trust-blue));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  flex: 0 0 auto;
  box-shadow: 0 5px 12px rgb(var(--glass-rgb-trust-blue) / 0.22);
}
.trust-strip-item::after { display: none !important; }

/* ------------------------------------------------------------------
   CALLOUT — the "installer local / experience AITCOH" emphasis
   ------------------------------------------------------------------ */
.callout {
  margin-top: 0.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-2xl);
  border-left: 4px solid rgb(var(--glass-rgb-radiant-gold));
}
.callout-line {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.3;
  color: rgb(var(--glass-rgb-charcoal));
}
.callout-line-accent { color: var(--color-trust-blue, #255ea0); }

/* ------------------------------------------------------------------
   SPEC LIST — checkmarked capability / benefit / requirement lists
   ------------------------------------------------------------------ */
.spec-list-intro {
  font-weight: 700;
  margin: 0 0 1rem;
}
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem 2rem;
}
.spec-list-1 { grid-template-columns: 1fr; }
.spec-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec-list-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spec-list li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.5;
  color: rgb(var(--glass-rgb-charcoal) / 0.88);
}
.spec-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: var(--radius-full, 50%);
  background: rgb(var(--glass-rgb-trust-blue) / 0.12);
  color: var(--color-trust-blue, #255ea0);
  font-size: 0.78rem;
  font-weight: 800;
}

/* ------------------------------------------------------------------
   NOTE CARD — quiet emphasis blocks under lists
   ------------------------------------------------------------------ */
.note-card {
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-xl);
}
.note-card p { margin: 0; max-width: 100%; line-height: 1.65; color: rgb(var(--glass-rgb-charcoal) / 0.85); }
.note-card-firm { border-left: 4px solid rgb(var(--glass-rgb-charcoal) / 0.55); }

/* ------------------------------------------------------------------
   MODEL GRID — HQ vs Field execution
   ------------------------------------------------------------------ */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.model-card { padding: 2rem 1.85rem; }
.model-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgb(var(--glass-rgb-trust-blue) / 0.16);
}
.model-card-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--color-trust-blue, #255ea0);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.model-card-badge-field {
  background: rgb(var(--glass-rgb-radiant-gold));
  color: rgb(var(--glass-rgb-charcoal));
}
.model-card-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

/* ------------------------------------------------------------------
   TIER GRID
   ------------------------------------------------------------------ */
.tier-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.85rem 1.5rem;
}
.tier-num {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgb(var(--glass-rgb-trust-blue) / 0.12);
  color: var(--color-trust-blue, #255ea0);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tier-title {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
  line-height: 1.25;
}
.tier-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgb(var(--glass-rgb-charcoal) / 0.78);
}

/* ------------------------------------------------------------------
   PROCESS STEPS
   ------------------------------------------------------------------ */
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 2rem 1.6rem 1.6rem;
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-full, 50%);
  background: var(--color-trust-blue, #255ea0);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgb(var(--glass-rgb-trust-blue) / 0.28);
}
.process-title { margin: 0.4rem 0 0; font-size: 1.15rem; line-height: 1.3; }
.process-body { margin: 0; font-size: 0.95rem; line-height: 1.6; color: rgb(var(--glass-rgb-charcoal) / 0.78); }

/* ------------------------------------------------------------------
   CLARIFICATION CARD — uses brand .disclaimer with a little more room
   ------------------------------------------------------------------ */
.clarify-card {
  padding: 2.5rem 2.75rem;
  border-radius: var(--radius-2xl);
  font-size: 1.02rem;
  text-align: center;
}
/* Override the brand base p { max-width: 65ch } so the legal copy fills the
   full card width, and center the whole block. */
.clarify-card .disclaimer-title { text-align: center; }
.clarify-card p { max-width: 100%; line-height: 1.75; }

/* ------------------------------------------------------------------
   APPLICATION FORM
   ------------------------------------------------------------------ */
.apply-section { scroll-margin-top: 7rem; }
.app-form {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius-2xl);
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-section {
  margin: 0 0 2rem;
  padding: 0 0 1.75rem;
  border: 0;
  border-bottom: 1px solid rgb(var(--glass-rgb-trust-blue) / 0.16);
}
.form-section:last-of-type { border-bottom: 0; padding-bottom: 0.5rem; }
.form-legend {
  padding: 0;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-trust-blue-dark, #1b477e);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.35rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(var(--glass-rgb-charcoal) / 0.85);
}
.field-wide { grid-column: 1 / -1; }
.req { color: #c0392b; font-weight: 700; }
.field-hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: rgb(var(--glass-rgb-charcoal) / 0.65);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid rgb(var(--glass-rgb-trust-blue) / 0.28);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.85);
  color: rgb(var(--glass-rgb-charcoal));
  font: inherit;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--color-trust-blue, #255ea0);
  box-shadow: 0 0 0 3px rgb(var(--glass-rgb-trust-blue) / 0.18);
}

/* Capability checkbox chips */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.6rem;
}
.check-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid rgb(var(--glass-rgb-trust-blue) / 0.24);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.7);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(var(--glass-rgb-charcoal) / 0.9);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.check-chip:hover { border-color: rgb(var(--glass-rgb-trust-blue) / 0.5); }
.check-chip input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; accent-color: var(--color-trust-blue, #255ea0); }
.check-chip:has(input:checked) {
  border-color: var(--color-trust-blue, #255ea0);
  background: rgb(var(--glass-rgb-trust-blue) / 0.1);
}
.check-chip:has(input:focus-visible) {
  outline: 3px solid rgb(var(--glass-rgb-trust-blue));
  outline-offset: 2px;
}

/* Standards agreement checkboxes */
.agreement-list { display: flex; flex-direction: column; gap: 0.85rem; }
.agreement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgb(var(--glass-rgb-trust-blue) / 0.2);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.6);
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgb(var(--glass-rgb-charcoal) / 0.9);
  cursor: pointer;
}
.agreement-item input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  flex: 0 0 auto;
  accent-color: var(--color-trust-blue, #255ea0);
}
.agreement-item:has(input:checked) {
  border-color: var(--color-trust-blue, #255ea0);
  background: rgb(var(--glass-rgb-trust-blue) / 0.08);
}
.agreement-item:has(input:focus-visible) {
  outline: 3px solid rgb(var(--glass-rgb-trust-blue));
  outline-offset: 2px;
}

.form-error {
  margin: 1rem 0 0;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgb(192 57 43 / 0.08);
  border: 1px solid rgb(192 57 43 / 0.3);
  color: #a5281b;
  font-weight: 600;
}
.form-submit-row {
  margin-top: 1.75rem;
  text-align: center;
}
.form-submit-btn {
  width: 100%;
  max-width: 30rem;
  min-height: 3.4rem;
  font-size: 1.05rem;
  white-space: normal;
}
.form-submit-btn[disabled] { opacity: 0.6; cursor: progress; }
.form-confirm {
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-xl);
  background: rgb(var(--glass-rgb-trust-blue) / 0.1);
  border: 1px solid rgb(var(--glass-rgb-trust-blue) / 0.28);
}
.form-confirm h3 { margin: 0 0 0.5rem; color: var(--color-trust-blue-dark, #1b477e); }
.form-confirm p { margin: 0; line-height: 1.6; }

/* ------------------------------------------------------------------
   FOOTER tweaks
   ------------------------------------------------------------------ */
.footer-logo-img { height: auto; max-width: 240px; }

/* ------------------------------------------------------------------
   MOBILE / TABLET NAV — hamburger toggle (ported from 25-point page)
   ------------------------------------------------------------------ */
.nav-floating-toggle {
  display: none;
  width: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-full, 50%);
  -webkit-tap-highlight-color: transparent;
}
.nav-floating-toggle:focus-visible { outline: 3px solid rgb(var(--glass-rgb-trust-blue)); outline-offset: 2px; }
.nav-floating-toggle-bar {
  display: block;
  width: 1.375rem;
  height: 2px;
  margin: 3px auto;
  background-color: var(--color-charcoal, #333333);
  border-radius: var(--radius-pill, 999px);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 160ms ease-out;
}
.nav-floating-toggle[aria-expanded="true"] .nav-floating-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-floating-toggle[aria-expanded="true"] .nav-floating-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.nav-floating-toggle[aria-expanded="true"] .nav-floating-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .nav-floating-toggle-bar { transition: none; } }

@media (max-width: 1199px), (hover: none) and (pointer: coarse) {
  .nav-floating-toggle { display: inline-flex; flex-direction: column; justify-content: center; flex: 0 0 auto; }
  .nav-floating-cta { margin-left: auto; white-space: nowrap; }
  .nav-floating-links {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.5rem;
    gap: 0;
    background-color: rgb(255 255 255 / 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgb(var(--glass-rgb-charcoal) / 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgb(0 0 0 / 0.20);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease-out, visibility 0s 200ms;
  }
  .nav-floating-links.is-open {
    max-height: 70vh;
    opacity: 1;
    visibility: visible;
    transition: max-height 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease-out, visibility 0s 0s;
  }
  .nav-floating-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid rgb(var(--glass-rgb-charcoal) / 0.06);
  }
  .nav-floating-links a:last-child { border-bottom: none; }
}

/* ------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-strip-item:not(:nth-child(5n + 1)) { border-left: 0 !important; }
  .trust-strip-item:not(:nth-child(3n + 1)) { border-left: 1px solid rgb(var(--glass-rgb-trust-blue) / 0.16) !important; }
  .spec-list-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero-installer-bg { padding-top: 7.5rem; }
  .hero-overlay-card.hero-installer-card { padding: 1.75rem 1.35rem; }
  .hero-overlay-actions { flex-direction: column; align-items: center; }
  .hero-overlay-actions .glass-button { width: 100%; max-width: 26rem; min-height: 3.25rem; justify-content: center; text-align: center; line-height: 1.25; }

  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }
  .trust-strip-item { border-left: 0 !important; min-height: 3rem; font-size: 0.8rem; padding: 0.55rem 0.6rem; }

  .spec-list-2, .spec-list-3 { grid-template-columns: 1fr; gap: 0.65rem; }

  .section { padding-top: 3rem; padding-bottom: 3rem; }

  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: 1 / -1; }

  .aitcoh-font-widget {
    left: 50%; right: auto;
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    max-width: calc(100vw - 1.5rem);
  }
  .footer { padding-bottom: 5.5rem; }
}

@media (max-width: 480px) {
  .nav-floating-logo img { width: 145px; height: auto; }
  .nav-floating-cta { font-size: 0.85rem; padding: 0.55rem 0.9rem; min-height: 2.75rem; }
  .nav-floating.nav-installer-glass { padding-left: 0.75rem; padding-right: 0.75rem; gap: 0.5rem; }
  .aitcoh-font-widget { padding: 0.4rem; gap: 0.35rem; }
  .aitcoh-font-widget-label { font-size: 0.72rem; }
  .aitcoh-font-widget-button { min-width: 2rem; height: 2rem; padding-inline: 0.6rem; }
}

/* ------------------------------------------------------------------
   C-EASY / GOLD SUBMIT BUTTON — fixed gold identity, never blue
   ------------------------------------------------------------------ */
.btn--ceasy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, #ffe56a 0%, #fdd841 100%);
  color: #1a1a1a;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter 150ms ease, box-shadow 150ms ease, transform 100ms ease;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);
  white-space: nowrap;
}
.btn--ceasy:hover { filter: brightness(1.06); box-shadow: 0 4px 16px rgb(0 0 0 / 0.18); transform: translateY(-1px); }
.btn--ceasy:active { filter: brightness(0.97); transform: translateY(0); box-shadow: 0 1px 4px rgb(0 0 0 / 0.12); }
.btn--ceasy:focus-visible { outline: 3px solid #fdd841; outline-offset: 3px; }

/* Print: hide widget */
@media print {
  .aitcoh-font-widget, .nav-floating { display: none !important; }
}
