/* Flettons v2 — home page (dark, compact) */

/* First screen ------------------------------------------------------------ */
.hero { background: var(--canvas); border-bottom: 1px solid var(--line); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vh, 48px) 0 clamp(28px, 4vh, 44px); }
.hero__copy { max-width: 36rem; }
.hero__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.025em; }
.hero__lead { margin-top: 14px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.5; color: var(--text-2); max-width: 34rem; }
.hero__quote { margin-top: 24px; }
.hero__quote-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.98rem; }
.hero__quote-row { display: flex; gap: 10px; align-items: stretch; }
.hero__quote-input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--text); font: inherit; font-size: 1.05rem; text-transform: uppercase; }
.hero__quote-input::placeholder { color: var(--text-3); text-transform: none; }
.hero__quote-input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(247, 247, 245, 0.18); }
.hero__quote-row .btn { flex: none; }
.hero__quote-hint { margin-top: 10px; font-size: 0.9rem; line-height: 1.5; color: var(--text-2); }
.hero__compare { margin-top: 10px; font-size: 0.95rem; }
.hero__photo { position: relative; margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--line); }
.hero__tile { position: absolute; top: 18px; left: 18px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6); }

/* Inline address pick on the hero */
.hero__status { display: flex; align-items: center; gap: 10px; margin-top: 10px; min-height: 22px; font-size: 0.92rem; color: var(--text-2); }
.hero__status.is-loading::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--text-2); border-right-color: transparent; border-radius: 50%; animation: fs-spin .8s linear infinite; flex: none; }
/* Combobox: the address list floats under the field so the hero never reflows */
.hero__combo { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.hero__combo .hero__quote-input { width: 100%; }
.hero__quote-input.is-picked { padding-right: 84px; text-transform: none; font-weight: 600; cursor: default; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__combo-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--canvas); color: var(--text); font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.hero__combo-clear:hover, .hero__combo-clear:focus-visible { border-color: var(--text); outline: none; }
.hero__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: min(336px, 48vh); overflow-y: auto; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--surface); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .3); }
.hero__list[hidden] { display: none; }
.hero__list-heading { padding: 8px 12px 6px; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.hero__list [role="option"] { padding: 10px 12px; border-radius: 8px; font-size: 0.98rem; line-height: 1.35; color: var(--text); cursor: pointer; }
.hero__list [role="option"]:hover, .hero__list [role="option"].is-active { background: var(--action-bg); color: var(--action-fg); }
.hero__list-manual { margin-top: 4px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.hero__list-manual a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hero__notice a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hero__notice { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--warn); border-radius: var(--r); font-size: 0.92rem; line-height: 1.5; color: var(--text-2); }
.hero__notice strong { color: var(--text); }

/* Survey overview --------------------------------------------------------- */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.level { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color .15s ease, background-color .15s ease; }
.level:hover, .level:focus-visible { border-color: var(--line-strong); background: var(--surface-2); }
.level--featured { border-color: var(--line-strong); }
.level__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.level__name { font-size: 1.3rem; }
.level__for { color: var(--text-2); font-size: 0.95rem; min-height: 2.9em; }
.level__price { display: flex; align-items: baseline; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.level__price .price-label { font-size: 0.78rem; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.level__price .price { font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.level__cta { font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line-strong); }
.level:hover .level__cta { text-decoration-color: var(--text); }
.levels__foot { margin-top: 20px; color: var(--text-2); font-size: 0.95rem; }
.levels__foot a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Evidence ------------------------------------------------------------------ */
.evidence { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.evidence__copy .sec__intro { margin-top: 14px; }
.evidence__cases { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.evidence__cases li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; align-items: baseline; font-size: 0.95rem; color: var(--text-2); }
.evidence__cases strong { font-size: 1.25rem; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.evidence__cases a { color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.evidence__cases a:hover { color: var(--text); text-decoration-color: var(--text); }
.evidence__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 22px; }
.evidence__photo { margin: 0; }
.evidence__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--line); }
.evidence__photo figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--text-2); }
.evidence__photo figcaption span { color: var(--text); font-weight: 600; margin-right: 8px; }

/* Real inspections (CMS cards; enhanced by site-video-cards.js) --------------- */
.videos--compact { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(20px, 3vw, 28px); border-top: 1px solid var(--line); }
.videos__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 16px; }
.videos__head .link { flex: none; white-space: nowrap; }
.videos__head h3 { font-size: 1.2rem; }
.videos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.videos .inspection-card__play { top: 37.5%; }
.videos .inspection-card__body { padding-top: 10px; }
.videos .inspection-card__body h3 { font-size: 1rem; }
.videos .inspection-card__body p { font-size: 0.9rem; color: var(--text-2); }

/* Steps and the one review -------------------------------------------------- */
.step { padding: 22px 24px 4px 0; margin-right: 24px; }
.step__n { font-size: 1.6rem; margin-bottom: 12px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; }
.quote--compact p { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); }
.quote--compact footer { margin-top: 16px; }
.quote__link { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.quote__link:hover { text-decoration-color: var(--text); }

/* Responsive ----------------------------------------------------------------- */
@media (max-width: 1023px) {
  .hero__in { grid-template-columns: 1fr; gap: 24px; padding: 24px 0 32px; }
  .hero__copy { max-width: 40rem; }
  .hero__photo { order: 2; }
  .hero__photo img { aspect-ratio: 16 / 9; }
  .levels { grid-template-columns: 1fr; }
  .level__for { min-height: 0; }
  .evidence { grid-template-columns: 1fr; }
  .evidence__photo { order: -1; }
}

@media (max-width: 820px) {
  .hero__in { padding: 20px 0 28px; }
  .hero__title { font-size: clamp(2rem, 1.5rem + 2.6vw, 2.4rem); }
  .hero__quote-row { flex-direction: column; }
  .hero__quote-row .btn { width: 100%; }
  .hero__photo img { aspect-ratio: 4 / 3; }
  .hero__tile { top: 12px; left: 12px; }
  .step { padding: 18px 0; margin-right: 0; }
  .evidence__cases li { grid-template-columns: 5.5rem 1fr; }
  .evidence__actions .btn { width: 100%; }
}
