/* ==========================================================================
   Home page (prefix home-)
   ========================================================================== */

/* ---------- Hero ---------- */
.home-hero { position: relative; background: var(--ice); padding: clamp(36px, 5vw, 72px) 0 0; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(12, 27, 86, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 27, 86, .06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); pointer-events: none; }
.home-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: #fff; }
.home-hero > .container { position: relative; z-index: 1; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-hero__eyebrow { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 7px 14px 7px 12px; border-radius: 999px; box-shadow: var(--shadow-s); }
.home-hero__eyebrow::before { display: none; }
.home-hero__title { margin-top: 4px; max-width: 15ch; }
.home-hero__lead { margin-top: 20px; }
.home-hero__lead strong { color: var(--ink); font-weight: 600; }
.home-hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; list-style: none; padding: 0; }
.home-hero__points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .96rem; }
.home-hero__points .icon { color: var(--green-600); width: 20px; height: 20px; }
.home-hero__ctas { margin-top: 30px; }
.home-hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; font-size: .9rem; color: var(--muted); }
.home-hero__rating { display: inline-flex; align-items: center; gap: 10px; }
.home-hero__rating strong { color: var(--ink); }
.home-hero__sep { width: 1px; height: 22px; background: var(--line-strong); }
.home-hero__lic { display: inline-flex; align-items: center; gap: 8px; }
.home-hero__lic .icon { color: var(--green-600); width: 18px; height: 18px; }

.home-hero__visual { position: relative; padding: 0 0 40px 0; }
.home-hero__media { position: relative; aspect-ratio: 4 / 4.4; border-radius: 20px; overflow: hidden; background: var(--ice-2); box-shadow: var(--shadow-l); }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 63, .28) 0%, transparent 35%, transparent 60%, rgba(7, 18, 63, .35) 100%); pointer-events: none; }
.home-hero__media canvas { z-index: 1; mix-blend-mode: screen; }

.home-thermo { position: absolute; left: -36px; bottom: 0; z-index: 3; width: 268px; padding: 18px 20px 16px; background: var(--navy-900); color: var(--muted-dark); border-radius: 18px; box-shadow: 0 24px 60px rgba(7, 18, 63, .35); border: 1px solid rgba(255, 255, 255, .08); }
.home-thermo__head { display: flex; align-items: center; gap: 10px; font-size: .78rem; line-height: 1.3; }
.home-thermo__head strong { display: block; color: #fff; font-family: var(--font-head); font-size: .92rem; }
.home-thermo__fan { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(43, 214, 123, .14); color: var(--green); flex: none; }
.home-thermo__fan .icon { width: 20px; height: 20px; animation: homeSpin 1.6s linear infinite; }
.home-thermo__mode { margin-left: auto; padding: 4px 9px; font-size: .72rem; }
.home-thermo__temp { margin-top: 12px; font-family: var(--font-mono); font-weight: 500; font-size: 3.4rem; line-height: 1; color: #fff; letter-spacing: -.04em; }
.home-thermo__temp sup { font-size: 1.1rem; color: var(--green); vertical-align: top; margin-left: 4px; position: relative; top: 6px; }
.home-thermo__bar { margin-top: 14px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.home-thermo__bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(43, 214, 123, .25), var(--green)); transform-origin: left; }
.home-thermo__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.home-thermo__stats dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.home-thermo__stats dd { margin: 2px 0 0; font-family: var(--font-mono); color: #fff; font-size: .86rem; }
@keyframes homeSpin { to { transform: rotate(360deg); } }

.home-hero__eta { right: -18px; top: 28px; }

/* ---------- Dark hero + WebGL "Blueprint -> Reality" villa (v3) ---------- */
.home-hero--dark { background: var(--navy-950); color: var(--muted-dark); padding-top: clamp(40px, 6vw, 88px); isolation: isolate; }
.home-hero--dark::before, .home-hero--dark::after { display: none; }
.home-hero__bg { position: absolute; inset: 0; z-index: -4; background:
  radial-gradient(60% 70% at 78% 38%, rgba(20, 48, 122, .55), transparent 70%),
  radial-gradient(40% 50% at 8% 100%, rgba(43, 214, 123, .10), transparent 70%),
  linear-gradient(180deg, #040b2c 0%, #061036 100%); }
.home-hero__3d { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.home-hero__3d canvas { display: block; }
.home-hero__fallback { display: none; position: absolute; right: 4%; top: 12%; width: min(46%, 640px); z-index: -3; }
#hero-3d:empty ~ .home-hero__fallback { display: block; }
.home-hero__fb-main path { stroke: rgba(134, 174, 245, .85); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: homeDraw 2.6s .3s var(--ease) forwards; }
.home-hero__fb-aux path { stroke: rgba(210, 226, 255, .2); stroke-width: 1; stroke-dasharray: 4 6; }
@keyframes homeDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .home-hero__fb-main path { stroke-dashoffset: 0; animation: none; } }
.home-hero__scrim { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgba(4, 11, 44, .92) 0%, rgba(4, 11, 44, .55) 38%, rgba(4, 11, 44, 0) 62%), linear-gradient(180deg, transparent 70%, rgba(4, 11, 44, .9) 100%); }
.home-hero__blueprint { display: none; position: absolute; z-index: -1; top: clamp(28px, 4vw, 56px); right: clamp(16px, 3vw, 48px); bottom: 150px; width: 47%; pointer-events: none; }
@media (min-width: 1100px) { .home-hero__blueprint { display: block; } }
.home-hero__corner { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(43, 214, 123, .55); }
.home-hero__corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.home-hero__corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.home-hero__corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.home-hero__corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.home-hero__note { position: absolute; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: rgba(210, 226, 255, .55); }
.home-hero__note--a { top: 4px; left: 34px; }
.home-hero__note--b { top: 4px; right: 34px; color: rgba(43, 214, 123, .8); }
.home-hero__note--c { bottom: 4px; left: 34px; }
.home-hero__note--d { bottom: 4px; right: 34px; color: var(--green); }
.home-hero__blink { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: homeBlink 1.6s steps(2, jump-none) infinite; }
@keyframes homeBlink { 50% { opacity: .15; } }

.home-hero--dark .home-hero__eyebrow { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; backdrop-filter: blur(6px); }
.home-hero--dark .home-hero__eyebrow .live-dot, .home-hero--dark .home-hero__eyebrow .live-dot::after { background: var(--green); }
.home-hero--dark .home-hero__title { color: #fff; }
.home-hero--dark .hl { color: var(--green); }
.home-hero--dark .home-hero__lead { color: var(--muted-dark); }
.home-hero--dark .home-hero__lead strong { color: #fff; }
.home-hero--dark .home-hero__lead a { color: #dfe7fb; font-weight: 500; }
.home-hero--dark .home-hero__lead a:hover { color: var(--green); }
.home-hero--dark .home-hero__points li { color: #fff; }
.home-hero--dark .home-hero__points .icon { color: var(--green); }
.home-hero--dark .home-hero__proof { color: var(--muted-dark); }
.home-hero--dark .home-hero__rating strong { color: #fff; }
.home-hero--dark .stars { color: var(--green); }
.home-hero--dark .home-hero__sep { background: rgba(255, 255, 255, .18); }
.home-hero--dark .home-hero__lic .icon { color: var(--green); }

.home-hero--dark .home-hero__grid { min-height: clamp(520px, 62vh, 640px); }
.home-hero--dark .home-hero__visual { position: relative; align-self: stretch; min-height: 420px; padding: 0; }
.home-hero--dark .home-hero__eta { right: 0; top: 8px; left: auto; }
.home-sys { position: absolute; right: 0; bottom: 18px; margin: 0; width: min(300px, 100%); padding: 14px 16px; border-radius: 16px; background: rgba(7, 18, 63, .72); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.home-sys > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.home-sys > div + div { border-top: 1px solid rgba(255, 255, 255, .08); }
.home-sys dt { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: #fff; }
.home-sys dd { margin: 0; font-family: var(--font-mono); font-size: .76rem; color: var(--muted-dark); white-space: nowrap; }
.home-sys__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(43, 214, 123, .16); }
.home-sys__dot--ac { background: #9cc3ff; box-shadow: 0 0 0 4px rgba(156, 195, 255, .16); }
.home-sys__dot--pl { background: #79c8ff; box-shadow: 0 0 0 4px rgba(121, 200, 255, .16); }
.home-hero--dark .home-quick { box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border-color: transparent; }
.home-hero--dark { padding-bottom: clamp(36px, 4vw, 56px); }
@media (max-width: 1023px) {
  .home-hero__scrim { background: linear-gradient(180deg, rgba(4, 11, 44, .55) 0%, rgba(4, 11, 44, .78) 45%, rgba(4, 11, 44, .94) 100%); }
  .home-hero--dark .home-hero__grid { min-height: 0; }
  .home-hero--dark .home-hero__visual { min-height: 0; display: flex; flex-wrap: wrap; gap: 12px; }
  .home-hero--dark .home-hero__eta, .home-sys { position: relative; inset: auto; }
}
@media (max-width: 560px) { .home-hero--dark .home-hero__eta { display: none; } .home-sys { width: 100%; } }

/* Quick callback form */
.home-quick { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; margin-top: clamp(40px, 5vw, 56px); padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-l); }
.home-quick__title { display: flex; align-items: center; gap: 12px; align-self: center; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.home-quick__title strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; }
.home-quick .field { position: relative; }
.home-quick .field__error { position: absolute; top: 100%; margin-top: 2px; }
.home-quick__btn { min-height: 52px; }

@media (max-width: 1200px) {
  .home-quick { grid-template-columns: 1fr 1fr 1fr; }
  .home-quick__title { grid-column: 1 / -1; }
  .home-quick__btn { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero__title { max-width: 18ch; }
  .home-hero__visual { max-width: 560px; width: 100%; margin-inline: auto; padding-bottom: 60px; }
  .home-thermo { left: 12px; }
  .home-hero__eta { right: 12px; }
}
@media (max-width: 640px) {
  .home-quick { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .home-quick .field__error { position: static; }
  .home-hero__media { aspect-ratio: 4 / 4.2; }
  .home-thermo { width: 230px; padding: 14px 16px; left: 8px; }
  .home-thermo__temp { font-size: 2.6rem; }
  .home-hero__eta { top: 14px; right: 8px; padding: 10px 12px; font-size: .78rem; }
  .home-hero__sep { display: none; }
  .home-hero__ctas .btn { width: 100%; }
}

/* ---------- Trust ---------- */
.home-trust { position: relative; padding-top: clamp(32px, 4vw, 48px); }

/* ---------- Services ---------- */
.home-services { padding-top: clamp(56px, 7vw, 96px); }
/* Services explorer (vertical tabs) */
.home-svx { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.home-svx__list { display: grid; gap: 8px; position: sticky; top: calc(var(--header-h) + 24px); }
.home-svx__tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.home-svx__tab:hover { border-color: var(--green-tint-2); background: var(--gray-50); }
.home-svx__tab strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); line-height: 1.25; }
.home-svx__tab em { display: block; font-style: normal; font-size: .82rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.home-svx__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--green-tint); color: var(--green-600); flex: none; transition: background .2s, color .2s; }
.home-svx__ico .icon { width: 22px; height: 22px; }
.home-svx__chev { margin-left: auto; width: 18px; height: 18px; color: var(--line-strong); transition: transform .25s var(--ease), color .2s; }
.home-svx__tab[aria-selected="true"] { border-color: var(--green-600); background: #fff; box-shadow: var(--shadow); }
.home-svx__tab[aria-selected="true"] .home-svx__ico { background: var(--green-600); color: #fff; }
.home-svx__tab[aria-selected="true"] .home-svx__chev { color: var(--green-600); transform: translateX(3px); }
.home-svx__tab[aria-selected="true"] strong { color: var(--green-700); }
.home-svx__panel { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.home-svx__panel[hidden] { display: none; }
.home-svx__media { position: relative; aspect-ratio: 16 / 7; background: var(--ice); overflow: hidden; }
.home-svx__media img { width: 100%; height: 100%; object-fit: cover; }
.home-svx__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 44, .4), transparent 45%); pointer-events: none; }
.home-svx__num { position: absolute; left: 18px; top: 16px; z-index: 1; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; color: #fff; }
.home-svx__tag { position: absolute; right: 16px; top: 12px; z-index: 1; background: rgba(7, 18, 63, .75); backdrop-filter: blur(6px); }
.home-svx__body { padding: clamp(22px, 3vw, 36px); }
.home-svx__body h3 a:hover { color: var(--green-700); }
.home-svx__body > p { margin-top: 12px; color: var(--muted); max-width: 64ch; }
.home-svx__subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin-top: 20px; font-size: .94rem; }
.home-svx__subs li { position: relative; padding-left: 26px; }
.home-svx__subs li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8c45' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.home-svx__subs a { color: var(--ink-2); font-weight: 500; }
.home-svx__subs a:hover { color: var(--green-700); }
.home-svx__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.home-svx__specs > div { padding: 12px 16px; }
.home-svx__specs > div + div { border-left: 1px solid var(--line); }
.home-svx__specs dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.home-svx__specs dd { margin: 3px 0 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .98rem; }
.home-svx__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.home-svx__panel.is-entering .home-svx__media img { animation: svxZoom .9s var(--ease) both; }
.home-svx__panel.is-entering .home-svx__body > * { animation: svxUp .55s var(--ease) both; }
.home-svx__panel.is-entering .home-svx__body > *:nth-child(2) { animation-delay: .04s; }
.home-svx__panel.is-entering .home-svx__body > *:nth-child(3) { animation-delay: .08s; }
.home-svx__panel.is-entering .home-svx__body > *:nth-child(4) { animation-delay: .12s; }
.home-svx__panel.is-entering .home-svx__body > *:nth-child(5) { animation-delay: .16s; }
@keyframes svxZoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes svxUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.home-svc-cta { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-l); background: var(--green-tint); border: 1px dashed var(--green-500); transition: background .25s; }
.home-svc-cta:hover { background: var(--green-tint-2); }
.home-svc-cta .icon-badge { background: #fff; }
.home-svx__inspect { margin-top: clamp(20px, 2.4vw, 28px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 24px; }
.home-svx__inspect .h4 { display: block; color: var(--ink); }
.home-svx__inspect-text { display: block; margin-top: 2px; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 1024px) {
  .home-svx { grid-template-columns: 1fr; }
  .home-svx__list { position: static; display: flex; overflow-x: auto; gap: 8px; padding: 2px var(--gutter) 8px; margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .home-svx__tab { flex: none; width: auto; padding: 10px 14px 10px 10px; scroll-snap-align: start; }
  .home-svx__tab em, .home-svx__chev { display: none; }
  .home-svx__ico { width: 36px; height: 36px; }
  .home-svx__ico .icon { width: 18px; height: 18px; }
  .home-svx__tab strong { white-space: nowrap; font-size: .94rem; }
}
@media (max-width: 640px) {
  .home-svx__media { aspect-ratio: 16 / 10; }
  .home-svx__subs { grid-template-columns: 1fr; }
  .home-svx__specs { grid-template-columns: 1fr; }
  .home-svx__specs > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .home-svx__inspect { grid-template-columns: 1fr; }
}

/* ---------- Problem finder ---------- */
.home-finder { overflow: hidden; isolation: isolate; }
.home-finder__flow { z-index: -1; opacity: .9; }
.home-finder::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; }
.home-finder__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.home-finder__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.home-finder__opt { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-align: left; transition: border-color .2s, background .2s, color .2s; }
.home-finder__opt .icon { width: 20px; height: 20px; color: var(--green); }
.home-finder__opt:hover { border-color: rgba(43, 214, 123, .5); }
.home-finder__opt[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--navy-950); }
.home-finder__opt[aria-pressed="true"] .icon { color: var(--navy-950); }
.home-finder__panel { position: relative; }
.home-finder__screen { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid var(--line-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.home-finder__screen::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.home-finder__code { display: inline-block; color: var(--green); font-size: .78rem; letter-spacing: .12em; }
.home-finder__screen h3 { margin-top: 10px; color: #fff; }
.home-finder__rows { margin: 20px 0 0; display: grid; gap: 16px; }
.home-finder__rows dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green); font-weight: 600; }
.home-finder__rows dd { margin: 4px 0 0; color: #dfe5f3; }
.home-finder__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-dark); }
.home-finder__who { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted-dark); line-height: 1.25; }
.home-finder__who > .icon { width: 22px; height: 22px; color: var(--green); }
.home-finder__who strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.02rem; }
.home-finder__more { margin-top: 18px; }
.home-finder__screen [data-f] { transition: opacity .25s; }
.home-finder__screen.is-switching [data-f] { opacity: 0; }
@media (max-width: 960px) { .home-finder__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .home-finder__opts { grid-template-columns: 1fr 1fr; } }

/* ---------- Why ---------- */
.home-why__media { position: relative; }
.home-why__badge { right: -16px; bottom: 32px; }
.home-why__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 1100px) { .home-why__stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .home-why__media { max-width: 520px; } .home-why__badge { right: 12px; } }

/* ---------- AMC + chart ---------- */
.home-amc__plans { display: flex; flex-wrap: wrap; gap: 8px; }
.home-amc__plans .chip:not(.chip--green) { background: #fff; border: 1px solid var(--line); }
.home-chart { margin: 0; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.home-chart__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.home-chart__head strong { display: block; font-family: var(--font-head); color: var(--ink); }
.home-chart__legend { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.home-chart__dot, .home-chart__bar.is-visit::before { width: 10px; height: 10px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 4px var(--green-tint); }
.home-chart__plot { --max: 44; position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: clamp(4px, 1vw, 10px); height: 260px; margin-top: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 25%; }
.home-chart__bar { position: relative; height: calc(var(--v) / var(--max) * 100%); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--green-500), rgba(25, 183, 101, .25)); transform-origin: bottom; }
.home-chart__bar:nth-child(n+5):nth-child(-n+9) { background: linear-gradient(180deg, var(--green-700), rgba(14, 140, 69, .35)); }
.home-chart__bar span { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-family: var(--font-mono); font-size: .68rem; color: var(--muted); white-space: nowrap; }
.home-chart__bar em { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); font-style: normal; font-size: .74rem; font-weight: 600; color: var(--muted); }
.home-chart__bar.is-visit::before { content: ""; position: absolute; left: 50%; top: -40px; transform: translateX(-50%); }
.home-chart__note { margin-top: 30px; }
@media (max-width: 480px) { .home-chart__bar span { font-size: .56rem; } .home-chart__plot { height: 220px; } }

/* ---------- Process ---------- */
.home-steps { list-style: none; padding: 0; }
.home-steps .step { transition: border-color .25s, box-shadow .25s; }
.home-steps .step:hover { border-color: var(--green-tint-2); box-shadow: var(--shadow); }
.home-steps__icon { display: grid; margin-top: 18px; }
.home-steps .step h3 { margin-top: 16px; }
.home-brands { text-align: center; }
.home-brands__label { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }

/* ---------- Projects ---------- */
.home-proj-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(16px, 2vw, 24px); min-height: 620px; }
.home-proj { position: relative; display: block; border-radius: var(--radius-l); overflow: hidden; background: var(--navy-800); isolation: isolate; min-height: 280px; }
.home-proj--lg { grid-row: span 2; }
.home-proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); z-index: -2; }
.home-proj::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(4, 11, 44, .9) 100%); }
.home-proj:hover img { transform: scale(1.05); }
.home-proj__info { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 10px; justify-items: start; }
.home-proj__info .h3 { color: #fff; }
.home-proj__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .88rem; color: var(--muted-dark); }
.home-proj__meta .icon { width: 16px; height: 16px; color: var(--green); }
.home-proj__meta .mono { color: var(--green); }
@media (max-width: 860px) { .home-proj-grid { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; } .home-proj--lg { grid-row: auto; min-height: 380px; } }

/* ---------- Reviews ---------- */
.home-reviews__score { display: flex; align-items: center; gap: 14px; }
.home-reviews__score > strong { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--ink); }
.home-reviews__score > span { display: grid; gap: 4px; }

/* ---------- Areas ---------- */
.home-areas__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.home-areas__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.home-areas__list li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.home-areas__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
@media (max-width: 860px) { .home-areas__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.home-faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.home-faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.home-offer { padding: 28px; border-radius: var(--radius-l); background: var(--gray-50); border: 1px solid var(--line); }
.home-offer__big { margin: 14px 0 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1.2; color: var(--ink); }
.home-faq .acc-trigger { font-size: 1.08rem; }
.home-faq h3 { font-size: inherit; }
@media (max-width: 960px) { .home-faq__grid { grid-template-columns: 1fr; } .home-faq__aside { position: static; } }

/* ---------- Blog teaser ---------- */
.home-post { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.home-post:hover { box-shadow: var(--shadow-l); transform: translateY(-5px); border-color: transparent; }
.home-post__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.home-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.home-post:hover .home-post__media img { transform: scale(1.05); }
.home-post__cat { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--green-700); font-size: .74rem; font-weight: 700; }
.home-post__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.home-post__body .h4 { display: block; color: var(--ink); line-height: 1.3; }
.home-post:hover .h4 { color: var(--green-700); }
.home-post__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--muted); }
.home-post__meta .link-arrow { font-family: var(--font-head); font-size: .88rem; letter-spacing: 0; }
