:root {
    --bg: #f7f7f5;
    --surface: #ffffff;
    --surface-soft: #f0f1ef;
    --ink: #171719;
    --ink-soft: #37383d;
    --muted: #73757d;
    --muted-light: #a4a7ae;
    --line: rgba(23, 23, 25, .1);
    --line-strong: rgba(23, 23, 25, .18);
    --red: #ec242d;
    --red-deep: #c8131b;
    --red-soft: #fff0f1;
    --dark: #101113;
    --dark-soft: #181a1e;
    --cyan: #28b7c3;
    --violet: #7b63e6;
    --blue: #4f76e8;
    --amber: #f3a42b;
    --gold: #d6a82f;
    --green: #2caa6d;
    --coral: #ed6656;
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --radius-xl: 48px;
    --container: 1440px;
    --header-height: 68px;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --shadow-sm: 0 12px 36px rgba(18, 18, 20, .07);
    --shadow-md: 0 28px 80px rgba(18, 18, 20, .11);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--bg);
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(23, 23, 25, .22) transparent;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    color: var(--ink);
    background: var(--bg);
    font-family: "Segoe UI Variable", "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-feature-settings: "kern" 1, "liga" 1, "ss01" 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body.menu-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    color: inherit;
    background: none;
}

img,
svg {
    display: block;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

::selection {
    color: #fff;
    background: var(--red);
}

:focus-visible {
    outline: 3px solid rgba(236, 36, 45, .28);
    outline-offset: 3px;
}

.container {
    width: min(calc(100% - 64px), var(--container));
    margin-inline: auto;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 11px 16px;
    border-radius: 12px;
    color: #fff;
    background: var(--dark);
    transform: translateY(-150%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.page-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 300;
    height: 2px;
    pointer-events: none;
}

.page-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--red), #ff7d72);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* Header */
.header {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 200;
    pointer-events: none;
}

.header__inner {
    width: min(calc(100% - 28px), 1500px);
    min-height: var(--header-height);
    margin-inline: auto;
    padding: 8px 10px 8px 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 20px;
    background: rgba(250, 250, 248, .86);
    box-shadow: 0 10px 34px rgba(18, 18, 20, .07);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
    pointer-events: auto;
    transition: background .28s ease, box-shadow .28s ease, transform .28s var(--ease);
}

.header.is-scrolled .header__inner {
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 42px rgba(18, 18, 20, .1);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.logo img {
    width: 116px;
    height: auto;
}

.logo span {
    margin-left: 1px;
    padding-left: 12px;
    border-left: 1px solid rgba(23, 23, 25, .2);
    color: var(--ink);
    font-size: 20px;
    font-weight: 720;
    letter-spacing: -.035em;
    line-height: 1;
}

.logo--light span {
    border-left-color: rgba(255, 255, 255, .24);
    color: #fff;
}

.header__nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 2px;
}

.header__nav a {
    padding: 11px 13px;
    border-radius: 11px;
    color: #45464c;
    font-size: 13px;
    font-weight: 650;
    transition: color .2s ease, background .2s ease;
}

.header__nav a:hover,
.header__nav a:focus-visible,
.header__nav a.is-active {
    color: var(--ink);
    background: rgba(23, 23, 25, .055);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__catalog {
    padding: 11px 12px;
    border-radius: 11px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 650;
    transition: background .2s ease;
}

.header__catalog:hover {
    background: rgba(23, 23, 25, .055);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    border-radius: 12px;
    background: rgba(23, 23, 25, .055);
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    width: 18px;
    height: 1.5px;
    border-radius: 10px;
    background: var(--ink);
    transition: transform .25s var(--ease);
}

.menu-toggle span:first-child {
    transform: translateY(-3px);
}

.menu-toggle span:last-child {
    transform: translateY(3px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu {
    width: min(calc(100% - 28px), 640px);
    max-height: calc(100svh - 98px);
    margin: 10px 14px 0 auto;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 24px;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow-md);
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.98);
    transform-origin: top right;
    transition: opacity .22s ease, visibility .22s ease, transform .28s var(--ease);
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mobile-menu nav {
    display: grid;
    gap: 2px;
}

.mobile-menu nav a {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-weight: 660;
    letter-spacing: -.02em;
}

.mobile-menu__actions {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

/* Buttons */
.button {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 690;
    white-space: nowrap;
    transition: transform .22s var(--ease), background .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.button svg {
    width: 18px;
    height: 18px;
    transition: transform .22s var(--ease);
}

.button:hover {
    transform: translateY(-2px);
}

.button:hover svg {
    transform: translateX(3px);
}

.button--large {
    min-height: 56px;
    padding-inline: 24px;
    border-radius: 16px;
}

.button--compact {
    min-height: 46px;
    padding-inline: 17px;
    border-radius: 13px;
}

.button--primary {
    color: #fff;
    background: var(--red);
    box-shadow: 0 12px 30px rgba(236, 36, 45, .22);
}

.button--primary:hover {
    background: var(--red-deep);
    box-shadow: 0 16px 36px rgba(236, 36, 45, .28);
}

.button--secondary {
    border: 1px solid var(--line-strong);
    color: var(--ink);
    background: rgba(255, 255, 255, .72);
}

.button--secondary:hover {
    border-color: rgba(23, 23, 25, .28);
    background: #fff;
}

.button--light {
    color: var(--dark);
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .2);
}

.button--light:hover {
    background: #f3f3f1;
}

.button--ghost-light {
    border: 1px solid rgba(255, 255, 255, .24);
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.button--ghost-light:hover {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .12);
}

/* Screen navigation */
.screen-nav {
    position: fixed;
    right: 22px;
    top: 50%;
    z-index: 150;
    display: grid;
    gap: 2px;
    transform: translateY(-50%);
}

.screen-nav a {
    position: relative;
    width: 44px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--muted);
}

.screen-nav a span {
    font-size: 9px;
    font-weight: 750;
    opacity: 0;
    transform: translateX(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.screen-nav a i {
    width: 12px;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    opacity: .42;
    transition: width .22s var(--ease), opacity .22s ease, background .22s ease;
}

.screen-nav a b {
    position: absolute;
    right: 30px;
    padding: 6px 9px;
    border-radius: 8px;
    color: #fff;
    background: var(--dark);
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(5px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.screen-nav a:hover b {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.screen-nav a:hover span,
.screen-nav a.is-active span {
    opacity: 1;
    transform: translateX(0);
}

.screen-nav a.is-active {
    color: var(--red);
}

.screen-nav a.is-active i {
    width: 24px;
    opacity: 1;
}

body.on-dark-screen .screen-nav a {
    color: rgba(255, 255, 255, .62);
}

body.on-dark-screen .screen-nav a.is-active {
    color: #fff;
}

/* Global screens */
.screens {
    position: relative;
}

.screen {
    position: relative;
    height: 100svh;
    min-height: 720px;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    isolation: isolate;
}

.screen__content {
    height: 100%;
    padding: 108px 0 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.screen-count {
    position: absolute;
    left: max(32px, calc((100vw - var(--container)) / 2));
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
}

.screen-count i {
    width: 44px;
    height: 1px;
    background: var(--line-strong);
}

.screen-count--light {
    color: rgba(255, 255, 255, .55);
}

.screen-count--light i {
    background: rgba(255, 255, 255, .22);
}

.eyebrow {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 25px;
    height: 1px;
    background: var(--red);
}

.eyebrow--light {
    color: rgba(255, 255, 255, .58);
}

.eyebrow--light > span {
    background: rgba(255, 255, 255, .56);
}

.section-number {
    display: block;
    margin-bottom: 12px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.section-head {
    display: grid;
    grid-template-columns: .44fr 1.56fr;
    align-items: end;
    gap: 54px;
    margin-bottom: 34px;
}

.section-head > div:last-child {
    max-width: 980px;
}

.section-head h2,
.energy-copy h2,
.trust-copy h2,
.contact-main h2 {
    margin: 0;
    font-size: clamp(42px, 4.25vw, 72px);
    font-weight: 670;
    line-height: .99;
    letter-spacing: -.055em;
}

.section-head h2 em,
.energy-copy h2 em,
.trust-copy h2 em,
.contact-main h2 em {
    color: var(--red);
    font-style: normal;
    font-weight: 670;
}

.section-head p {
    max-width: 690px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Reveal */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .78s var(--ease);
}

.js .reveal--delay {
    transition-delay: .1s;
}

.js .screen.is-active .reveal,
.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero */
.screen--hero {
    background:
        radial-gradient(circle at 72% 45%, rgba(236, 36, 45, .07), transparent 32%),
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .96), transparent 34%),
        linear-gradient(135deg, #f8f8f6 0%, #f2f2ef 100%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .17;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero__grid {
    height: 100%;
    padding: 112px 0 60px;
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(520px, 1.07fr);
    align-items: center;
    gap: clamp(28px, 4vw, 76px);
}

.hero__copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero__copy h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(54px, 5.3vw, 88px);
    font-weight: 680;
    line-height: .96;
    letter-spacing: -.062em;
}

.hero__copy h1 em {
    color: var(--red);
    font-style: normal;
    font-weight: 680;
}

.hero__lead {
    max-width: 685px;
    margin: 28px 0 0;
    color: #5c5e65;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.65;
}

.hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero__facts {
    margin-top: 42px;
    padding-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    border-top: 1px solid var(--line);
}

.hero__facts article {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.hero__facts strong {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.04em;
}

.hero__facts span {
    max-width: 105px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.3;
}

.hero__visual {
    position: relative;
    width: min(100%, 690px);
    aspect-ratio: 1 / .92;
    justify-self: end;
    contain: layout paint;
}

.visual-halo {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.visual-halo--one {
    inset: 8% 10% 4% 7%;
    background: radial-gradient(circle, rgba(255, 255, 255, .92), rgba(255, 255, 255, .1) 62%, transparent 68%);
}

.visual-halo--two {
    width: 46%;
    height: 46%;
    left: 27%;
    top: 27%;
    background: rgba(236, 36, 45, .11);
    filter: blur(54px);
}

.visual-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(23, 23, 25, .1);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
}

.visual-orbit--one {
    width: 76%;
    height: 52%;
}

.visual-orbit--two {
    width: 92%;
    height: 70%;
    border-style: dashed;
    opacity: .6;
    transform: translate(-50%, -50%) rotate(18deg);
}

.window-stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48%;
    height: 62%;
    transform: translate(-50%, -46%);
}

.window-stage__platform {
    position: absolute;
    left: 50%;
    bottom: 3%;
    width: 95%;
    height: 29%;
    border: 1px solid rgba(23, 23, 25, .12);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(220, 221, 221, .78));
    box-shadow: 0 30px 55px rgba(23, 23, 25, .16);
    transform: translateX(-50%);
}

.window-stage__platform::before,
.window-stage__platform::after,
.window-stage__platform i {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(23, 23, 25, .12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.window-stage__platform::before {
    width: 80%;
    height: 72%;
}

.window-stage__platform::after {
    width: 56%;
    height: 48%;
}

.window-stage__platform i:first-child {
    width: 8px;
    height: 8px;
    border: 0;
    background: var(--red);
    box-shadow: 0 0 22px rgba(236, 36, 45, .8);
}

.window-model {
    position: absolute;
    left: 50%;
    top: 0;
    width: 68%;
    height: 79%;
    transform: translateX(-50%) perspective(900px) rotateY(-18deg) rotateX(4deg);
    transform-style: preserve-3d;
}

.window-model__frame {
    position: absolute;
    inset: 0;
    padding: 13%;
    border: 10px solid #eef0f0;
    border-radius: 10px;
    background: linear-gradient(140deg, #fff, #d9dcdf);
    box-shadow:
        inset 0 0 0 1px rgba(23, 23, 25, .12),
        17px 17px 0 #c9cdd0,
        25px 30px 55px rgba(23, 23, 25, .24);
}

.window-model__frame::before {
    content: "";
    position: absolute;
    left: 49%;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(90deg, #d5d8da, #fff, #c8cbcd);
    box-shadow: 0 0 0 1px rgba(23, 23, 25, .09);
}

.window-model__glass {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(65, 89, 107, .28);
    background:
        linear-gradient(138deg, rgba(255, 255, 255, .7) 0 24%, transparent 25% 54%, rgba(255, 255, 255, .45) 55% 64%, transparent 65%),
        linear-gradient(150deg, rgba(180, 213, 229, .75), rgba(223, 235, 240, .4));
    box-shadow: inset 0 0 30px rgba(63, 97, 115, .18);
}

.window-model__glass span {
    position: absolute;
    inset: -30% auto -30% -25%;
    width: 18%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    transform: skewX(-18deg);
}

.screen.is-active .window-model__glass span {
    animation: glassSweep 4.8s ease-in-out infinite;
}

.window-model__glass i {
    position: absolute;
    right: 7%;
    top: 47%;
    width: 4px;
    height: 38px;
    border-radius: 8px;
    background: #8d9498;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.window-model__profile {
    position: absolute;
    right: -17%;
    bottom: -4%;
    width: 30%;
    height: 21%;
    border: 1px solid rgba(23, 23, 25, .16);
    border-radius: 4px;
    background: repeating-linear-gradient(90deg, #f7f7f6 0 9px, #cfd2d4 10px 12px);
    box-shadow: 10px 13px 20px rgba(23, 23, 25, .18);
    transform: rotate(-8deg) translateZ(20px);
}

.window-model__handle {
    position: absolute;
    right: 9%;
    top: 47%;
    width: 8px;
    height: 46px;
    border-radius: 8px;
    background: linear-gradient(90deg, #d8dadd, #8e9295);
    box-shadow: 4px 5px 9px rgba(0, 0, 0, .2);
    transform: translateZ(30px);
}

.hero-chip {
    position: absolute;
    z-index: 3;
    min-width: 144px;
    min-height: 58px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 16px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 16px 36px rgba(23, 23, 25, .1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}

.hero-chip:hover {
    z-index: 5;
    border-color: rgba(236, 36, 45, .18);
    box-shadow: 0 20px 44px rgba(23, 23, 25, .14);
    transform: translateY(-4px);
}

.hero-chip > svg {
    width: 24px;
    height: 24px;
    color: var(--red);
}

.hero-chip span {
    display: grid;
    line-height: 1.1;
}

.hero-chip small {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hero-chip strong {
    font-size: 12px;
    font-weight: 720;
}

.hero-chip--catalog { left: 2%; top: 15%; }
.hero-chip--constructor { left: 0; top: 46%; }
.hero-chip--crm { left: 9%; bottom: 7%; }
.hero-chip--energy { right: 2%; top: 13%; }
.hero-chip--quality { right: -1%; top: 45%; }
.hero-chip--warranty { right: 8%; bottom: 6%; }

.screen.is-active .hero-chip--catalog,
.screen.is-active .hero-chip--quality { animation: floatA 5.2s ease-in-out infinite; }
.screen.is-active .hero-chip--energy,
.screen.is-active .hero-chip--crm { animation: floatB 5.8s ease-in-out infinite; }

.hero__status {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 4;
    width: max-content;
    max-width: 78%;
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 99px;
    color: var(--muted);
    background: rgba(247, 247, 245, .9);
    font-size: 9px;
    font-weight: 650;
    transform: translateX(-50%);
}

.hero__status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(44, 170, 109, .12);
}

.scroll-cue {
    position: absolute;
    right: max(72px, calc((100vw - var(--container)) / 2));
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.scroll-cue i {
    position: relative;
    width: 18px;
    height: 28px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
}

.scroll-cue i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 3px;
    height: 6px;
    border-radius: 4px;
    background: var(--red);
    transform: translateX(-50%);
    animation: scrollDot 1.8s ease-in-out infinite;
}

/* Ecosystem */
.screen--ecosystem {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.service-card {
    --tone: var(--red);
    position: relative;
    min-height: 128px;
    padding: 18px 52px 18px 18px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: linear-gradient(145deg, #fff, #fafafa);
    transition: transform .24s var(--ease), border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    left: -30px;
    bottom: -60px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tone) 12%, transparent);
    opacity: .65;
    transition: transform .35s var(--ease), opacity .24s ease;
}

.service-card:hover {
    z-index: 2;
    border-color: color-mix(in srgb, var(--tone) 34%, transparent);
    box-shadow: 0 18px 42px rgba(23, 23, 25, .09);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1.25);
}

.service-card--cyan { --tone: var(--cyan); }
.service-card--violet { --tone: var(--violet); }
.service-card--blue { --tone: var(--blue); }
.service-card--amber { --tone: var(--amber); }
.service-card--gold { --tone: var(--gold); }
.service-card--green { --tone: var(--green); }
.service-card--silver { --tone: #7f8893; }
.service-card--coral { --tone: var(--coral); }

.service-card__number {
    position: absolute;
    right: 15px;
    top: 12px;
    color: var(--muted-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
}

.service-card__icon {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 11%, white);
}

.service-card__icon svg {
    width: 22px;
    height: 22px;
}

.service-card__copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
}

.service-card__copy strong {
    font-size: 15px;
    font-weight: 720;
    letter-spacing: -.02em;
}

.service-card__copy small {
    max-width: 340px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.service-card__arrow {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 17px;
    height: 17px;
    color: var(--tone);
    transition: transform .22s var(--ease);
}

.service-card:hover .service-card__arrow {
    transform: translateX(3px);
}

/* Flow */
.screen--route {
    background:
        radial-gradient(circle at 85% 15%, rgba(123, 99, 230, .08), transparent 30%),
        var(--bg);
}

.section-head--route {
    grid-template-columns: .38fr 1.1fr .7fr;
    align-items: end;
}

.section-head--route > p {
    margin: 0 0 4px;
}

.flow {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.flow__tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.flow__tabs::before {
    content: "";
    position: absolute;
    left: 8.33%;
    right: 8.33%;
    top: 27px;
    height: 1px;
    background: var(--line);
}

.flow__tabs button {
    position: relative;
    z-index: 1;
    min-height: 78px;
    padding: 14px 10px 11px;
    display: grid;
    justify-items: center;
    gap: 6px;
    cursor: pointer;
}

.flow__tabs button::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #b8bac0;
    box-shadow: 0 0 0 1px var(--line-strong);
    transition: background .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}

.flow__tabs button span {
    position: absolute;
    top: 9px;
    color: var(--muted-light);
    font-size: 8px;
    font-weight: 800;
}

.flow__tabs button strong {
    font-size: 11px;
    font-weight: 700;
}

.flow__tabs button.is-active::before {
    background: var(--red);
    box-shadow: 0 0 0 5px rgba(236, 36, 45, .12);
    transform: scale(1.08);
}

.flow__tabs button.is-active strong {
    color: var(--red);
}

.flow__panels {
    min-height: 318px;
}

.flow-panel {
    min-height: 318px;
    padding: 34px;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: stretch;
    gap: 28px;
}

.flow-panel.is-active {
    display: grid;
    animation: panelIn .38s var(--ease) both;
}

.flow-panel__copy > span {
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.flow-panel__copy h3 {
    max-width: 760px;
    margin: 13px 0 12px;
    font-size: clamp(28px, 2.55vw, 42px);
    font-weight: 670;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.flow-panel__copy p {
    max-width: 760px;
    margin: 0 0 23px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.flow-panel__handoff {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
    background: #f2f3f1;
}

.flow-panel__handoff > small {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.flow-panel__handoff > span {
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, .74);
    font-size: 12px;
    font-weight: 630;
}

.flow-panel__handoff > span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.flow-panel__handoff > div {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--line);
}

.flow-panel__handoff > div svg {
    width: 18px;
    height: 18px;
    color: var(--red);
}

.flow-panel__handoff > div strong {
    font-size: 11px;
    font-weight: 700;
}

/* Energy */
.screen--energy {
    color: #fff;
    background: #111316;
}

.energy-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 74% 52%, rgba(243, 164, 43, .22), transparent 28%),
        radial-gradient(circle at 20% 20%, rgba(236, 36, 45, .1), transparent 25%),
        linear-gradient(145deg, #101114, #17191e 58%, #111214);
}

.energy-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 90%, transparent);
}

.energy-layout {
    height: 100%;
    padding: 108px 0 52px;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(500px, 1.18fr);
    align-items: center;
    gap: clamp(44px, 6vw, 100px);
}

.energy-copy {
    max-width: 620px;
}

.energy-copy .section-number {
    color: #ffbd52;
}

.energy-copy h2 {
    font-size: clamp(48px, 4.5vw, 74px);
}

.energy-copy h2 em {
    color: #ffbd52;
}

.energy-copy > p:not(.eyebrow) {
    max-width: 590px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: 16px;
    line-height: 1.65;
}

.energy-copy ul {
    margin: 26px 0 30px;
    padding: 0;
    display: grid;
    gap: 11px;
    list-style: none;
}

.energy-copy li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
}

.energy-copy li svg {
    width: 18px;
    height: 18px;
    padding: 3px;
    border-radius: 50%;
    color: #111;
    background: #ffbd52;
    stroke-width: 2.5;
}

.energy-visual {
    position: relative;
    width: min(100%, 700px);
    justify-self: end;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 30px;
    background: rgba(255, 255, 255, .065);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .32);
}

.energy-visual__top {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .52);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.energy-visual__top strong {
    margin-left: auto;
    color: rgba(255, 255, 255, .82);
    font-size: 10px;
}

.energy-visual__top i {
    padding: 4px 7px;
    border-radius: 6px;
    color: #ffbd52;
    background: rgba(255, 189, 82, .1);
    font-size: 8px;
    font-style: normal;
}

.energy-visual__window {
    position: relative;
    height: 190px;
    margin: 18px 0 16px;
    overflow: hidden;
    border-radius: 20px;
    background:
        linear-gradient(90deg, rgba(65, 117, 192, .2), transparent 42%, rgba(255, 148, 52, .13)),
        rgba(0, 0, 0, .16);
}

.energy-window {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 136px;
    height: 156px;
    padding: 12px;
    border: 8px solid #eef0f0;
    border-radius: 7px;
    background: #ccd0d2;
    box-shadow: 15px 16px 0 #aeb3b6, 20px 24px 40px rgba(0, 0, 0, .36);
    transform: translate(-50%, -50%) perspective(600px) rotateY(-13deg);
}

.energy-window > div {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(98, 139, 163, .4);
    background: linear-gradient(145deg, #b9d7e5, #e9f0f3 65%, #9dc5d6);
}

.energy-window > div::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #eceeee;
}

.energy-window span {
    position: absolute;
    left: -30%;
    top: -20%;
    width: 24%;
    height: 145%;
    background: rgba(255, 255, 255, .5);
    transform: skewX(-15deg);
}

.screen.is-active .energy-window span {
    animation: energySweep 4s ease-in-out infinite;
}

.heat-flow {
    position: absolute;
    width: 115px;
    height: 28px;
    border: 2px solid transparent;
    border-top-color: rgba(255, 179, 65, .55);
    border-radius: 50%;
    opacity: .8;
}

.heat-flow--one { left: 13%; top: 35%; transform: rotate(12deg); }
.heat-flow--two { right: 12%; top: 30%; transform: rotate(-18deg); }
.heat-flow--three { right: 15%; bottom: 25%; transform: rotate(12deg); }

.screen.is-active .heat-flow {
    animation: heatPulse 2.6s ease-in-out infinite;
}

.temperature {
    position: absolute;
    display: grid;
    gap: 2px;
}

.temperature small {
    color: rgba(255, 255, 255, .47);
    font-size: 9px;
}

.temperature strong {
    font-size: 18px;
    font-weight: 680;
}

.temperature--outside { left: 22px; bottom: 20px; }
.temperature--inside { right: 22px; top: 20px; }
.temperature--inside strong { color: #ffbd52; }

.energy-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.energy-compare article {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 15px;
    background: rgba(255, 255, 255, .035);
}

.energy-compare article > span {
    color: rgba(255, 255, 255, .54);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.energy-compare article strong {
    float: right;
    font-size: 15px;
    font-weight: 700;
}

.energy-compare article > div {
    height: 6px;
    margin: 12px 0 7px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
}

.energy-compare article > div i {
    display: block;
    width: var(--bar);
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 255, 255, .48);
    transform-origin: left;
}

.screen.is-active .energy-compare article > div i {
    animation: barGrow .9s .25s var(--ease) both;
}

.energy-compare article.is-better > div i {
    background: linear-gradient(90deg, #ff9d34, #ffcf64);
}

.energy-compare article.is-better strong {
    color: #ffbd52;
}

.energy-compare article > small {
    color: rgba(255, 255, 255, .38);
    font-size: 8px;
}

.energy-metrics {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.energy-metrics article {
    padding: 12px 14px;
    display: grid;
    gap: 3px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
}

.energy-metrics small {
    color: rgba(255, 255, 255, .42);
    font-size: 9px;
}

.energy-metrics strong {
    font-size: 14px;
    font-weight: 690;
}

.energy-disclaimer {
    margin: 13px 2px 0;
    color: rgba(255, 255, 255, .3);
    font-size: 8px;
    line-height: 1.45;
}

/* Roles */
.screen--roles {
    background: #fff;
}

.roles {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 14px;
}

.roles__tabs {
    padding: 9px;
    display: grid;
    align-content: start;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #f5f5f3;
}

.roles__tabs button {
    min-height: 62px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
    transition: color .22s ease, background .22s ease, box-shadow .22s ease;
}

.roles__tabs button svg {
    width: 21px;
    height: 21px;
}

.roles__tabs button span {
    font-size: 12px;
    font-weight: 680;
}

.roles__tabs button.is-active {
    color: var(--ink);
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 23, 25, .08);
}

.roles__tabs button.is-active svg {
    color: var(--red);
}

.roles__panels {
    min-height: 350px;
}

.role-panel {
    height: 100%;
    min-height: 350px;
    padding: 30px;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    align-items: center;
    gap: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(145deg, #fff, #f7f7f5);
    overflow: hidden;
}

.role-panel.is-active {
    display: grid;
    animation: panelIn .38s var(--ease) both;
}

.role-panel__copy > small {
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.role-panel__copy h3 {
    max-width: 720px;
    margin: 12px 0 14px;
    font-size: clamp(28px, 2.5vw, 42px);
    font-weight: 660;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.role-panel__copy p {
    max-width: 670px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.role-panel__links {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.role-panel__links a {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--ink-soft);
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    transition: transform .2s var(--ease), border-color .2s ease;
}

.role-panel__links a:hover {
    border-color: rgba(236, 36, 45, .28);
    transform: translateY(-2px);
}

.role-panel__links svg {
    width: 15px;
    height: 15px;
    color: var(--red);
}

.role-dashboard {
    min-height: 255px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(23, 23, 25, .09);
}

.role-dashboard__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.role-dashboard__head i {
    padding: 4px 7px;
    border-radius: 8px;
    color: var(--green);
    background: rgba(44, 170, 109, .1);
    font-size: 8px;
    font-style: normal;
}

.role-dashboard__metrics {
    margin-top: 17px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.role-dashboard__metrics article {
    padding: 12px;
    display: grid;
    gap: 3px;
    border-radius: 13px;
    background: #f4f5f3;
}

.role-dashboard__metrics small,
.role-dashboard__metrics em {
    color: var(--muted);
    font-size: 8px;
    font-style: normal;
}

.role-dashboard__metrics strong {
    font-size: 22px;
    font-weight: 690;
    letter-spacing: -.04em;
}

.role-dashboard__metrics em {
    color: var(--green);
}

.role-dashboard__chart {
    height: 96px;
    margin-top: 17px;
    padding: 10px 12px 0;
    display: flex;
    align-items: end;
    gap: 8px;
    border-radius: 13px;
    background: linear-gradient(180deg, rgba(79, 118, 232, .06), rgba(79, 118, 232, .015));
}

.role-dashboard__chart i {
    width: 100%;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #6d8ff2, #4f76e8);
    transform-origin: bottom;
}

.screen.is-active .role-panel.is-active .role-dashboard__chart i {
    animation: chartGrow .7s var(--ease) both;
}

.role-dashboard--drawing {
    position: relative;
    display: grid;
    place-items: center;
    background-image: linear-gradient(rgba(23,23,25,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(23,23,25,.045) 1px, transparent 1px);
    background-size: 20px 20px;
}

.drawing-window {
    position: relative;
    width: 170px;
    height: 150px;
    border: 5px double var(--blue);
    background: rgba(79, 118, 232, .045);
}

.drawing-window > span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--blue);
}

.drawing-window > span:first-child { left: 50%; }
.drawing-window > span:nth-child(2) { left: 53%; background: rgba(79,118,232,.3); }
.drawing-window i {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--blue);
}

.drawing-dim {
    position: absolute;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
}

.drawing-dim--w { top: 22px; left: 50%; transform: translateX(-50%); }
.drawing-dim--h { left: 24px; top: 50%; transform: rotate(-90deg) translateX(-50%); transform-origin: left top; }

.drawing-list {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 9px 11px;
    display: grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255,255,255,.92);
    font-size: 8px;
}

.drawing-list span { display: flex; gap: 10px; justify-content: space-between; color: var(--muted); }
.drawing-list b { color: var(--ink); }

.role-dashboard--checklist {
    display: grid;
    align-content: start;
    gap: 8px;
}

.checklist-head {
    margin-bottom: 5px;
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    font-weight: 700;
}

.checklist-head b { color: var(--red); }

.role-dashboard--checklist label {
    padding: 8px 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 9px;
    color: var(--ink-soft);
    background: #f5f6f4;
    font-size: 10px;
    font-weight: 620;
}

.role-dashboard--checklist label i {
    width: 15px;
    height: 15px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
}

.role-dashboard--checklist label i.done {
    position: relative;
    border-color: var(--green);
    background: var(--green);
}

.role-dashboard--checklist label i.done::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.role-dashboard--passport {
    display: grid;
    grid-template-columns: 125px 1fr;
    align-items: center;
    gap: 18px;
}

.passport-qr {
    position: relative;
    aspect-ratio: 1;
    border: 10px solid #fff;
    box-shadow: 0 0 0 1px var(--line);
    background:
        linear-gradient(90deg, #151515 12%, transparent 12% 24%, #151515 24% 36%, transparent 36% 48%, #151515 48% 60%, transparent 60% 76%, #151515 76% 88%, transparent 88%),
        linear-gradient(#151515 12%, transparent 12% 24%, #151515 24% 36%, transparent 36% 48%, #151515 48% 60%, transparent 60% 76%, #151515 76% 88%, transparent 88%);
    background-size: 22px 22px;
}

.passport-qr::before,
.passport-qr::after,
.passport-qr span {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    border: 6px solid #151515;
    background: #fff;
    box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 9px #151515;
}

.passport-qr::before { left: 3px; top: 3px; }
.passport-qr::after { right: 3px; top: 3px; }
.passport-qr span { left: 3px; bottom: 3px; }

.role-dashboard--passport > div:last-child {
    display: grid;
    gap: 7px;
}

.role-dashboard--passport small { color: var(--muted); font-size: 9px; }
.role-dashboard--passport strong { font-size: 18px; font-weight: 690; letter-spacing: -.03em; }
.role-dashboard--passport p { margin: 0; color: var(--green); font-size: 11px; font-weight: 700; }
.verified { padding: 8px 10px; display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; color: var(--ink-soft); background: #f3f4f2; font-size: 9px; font-weight: 650; }
.verified svg { width: 14px; height: 14px; color: var(--green); }

/* Trust */
.screen--trust {
    background:
        radial-gradient(circle at 12% 78%, rgba(44, 170, 109, .07), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(236, 36, 45, .06), transparent 26%),
        var(--bg);
}

.trust-layout {
    height: 100%;
    padding: 108px 0 52px;
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(560px, 1.22fr);
    align-items: center;
    gap: clamp(46px, 7vw, 110px);
}

.trust-copy {
    max-width: 620px;
}

.trust-copy > p:not(.eyebrow) {
    max-width: 570px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.trust-proof {
    margin-top: 28px;
    display: grid;
    gap: 9px;
}

.trust-proof span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 650;
}

.trust-proof svg {
    width: 17px;
    height: 17px;
    padding: 3px;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    stroke-width: 2.5;
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.trust-cards > a {
    position: relative;
    min-height: 220px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}

.trust-cards > a:hover {
    border-color: rgba(23, 23, 25, .18);
    box-shadow: 0 22px 50px rgba(23, 23, 25, .11);
    transform: translateY(-5px);
}

.trust-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
}

.trust-card__icon svg { width: 23px; height: 23px; }
.trust-card__icon--green { color: var(--green); background: rgba(44,170,109,.1); }
.trust-card__icon--gold { color: var(--gold); background: rgba(214,168,47,.11); }
.trust-card__icon--silver { color: #717b86; background: rgba(113,123,134,.1); }
.trust-card__icon--coral { color: var(--coral); background: rgba(237,102,86,.1); }

.trust-cards small {
    margin-top: 24px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.trust-cards strong {
    margin-top: 6px;
    font-size: 17px;
    font-weight: 720;
    letter-spacing: -.025em;
}

.trust-cards p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.trust-cards > a > i {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--red);
    background: #fff;
    transition: transform .22s var(--ease);
}

.trust-cards > a:hover > i {
    transform: translateX(3px);
}

.trust-cards > a > i svg { width: 15px; height: 15px; }

/* Contact */
.screen--contact {
    color: #fff;
    background: #101113;
}

.contact-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .32;
    background:
        radial-gradient(circle at 70% 20%, rgba(236, 36, 45, .3), transparent 30%),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: auto, 64px 64px, 64px 64px;
}

.contact-content {
    height: 100%;
    padding: 112px 0 34px;
    display: flex;
    flex-direction: column;
}

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 80px;
}

.contact-main h2 {
    max-width: 850px;
    font-size: clamp(58px, 6.7vw, 102px);
}

.contact-main h2 em {
    color: var(--red);
}

.contact-main > p:not(.eyebrow) {
    max-width: 510px;
    margin: 0 0 18px;
    justify-self: end;
    color: rgba(255, 255, 255, .6);
    font-size: 17px;
    line-height: 1.6;
}

.contact-actions {
    grid-column: 2;
    justify-self: end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer {
    margin-top: auto;
    padding-top: 34px;
    display: grid;
    grid-template-columns: 1.15fr repeat(3, .7fr);
    gap: 44px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer__brand p {
    max-width: 260px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, .43);
    font-size: 11px;
    line-height: 1.55;
}

.footer__links {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer__links strong {
    margin-bottom: 6px;
    color: #fff;
    font-size: 10px;
    font-weight: 760;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer__links a,
.footer__links span {
    color: rgba(255, 255, 255, .48);
    font-size: 10px;
    line-height: 1.35;
    transition: color .2s ease;
}

.footer__links a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .31);
    font-size: 9px;
}

/* Animations */
@keyframes glassSweep {
    0%, 18% { transform: translateX(0) skewX(-18deg); opacity: 0; }
    38%, 62% { opacity: .9; }
    82%, 100% { transform: translateX(630%) skewX(-18deg); opacity: 0; }
}

@keyframes floatA {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -8px; }
}

@keyframes floatB {
    0%, 100% { margin-top: 0; }
    50% { margin-top: 7px; }
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    35% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 10px); }
}

@keyframes panelIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes energySweep {
    0%, 15% { transform: translateX(0) skewX(-15deg); opacity: 0; }
    35%, 65% { opacity: .8; }
    85%, 100% { transform: translateX(620%) skewX(-15deg); opacity: 0; }
}

@keyframes heatPulse {
    0%, 100% { opacity: .35; transform: translateX(0) scale(.9) rotate(12deg); }
    50% { opacity: .9; transform: translateX(10px) scale(1.05) rotate(12deg); }
}

@keyframes barGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes chartGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Lower desktop heights */
@media (max-height: 840px) and (min-width: 1024px) {
    :root { --header-height: 62px; }
    .header { top: 10px; }
    .header__inner { padding-block: 6px; }
    .screen { min-height: 680px; }
    .hero__grid,
    .energy-layout,
    .trust-layout { padding-top: 94px; padding-bottom: 40px; }
    .screen__content { padding-top: 94px; padding-bottom: 38px; }
    .hero__copy h1 { font-size: clamp(50px, 5vw, 76px); }
    .hero__lead { margin-top: 20px; font-size: 16px; }
    .hero__actions { margin-top: 24px; }
    .hero__facts { margin-top: 26px; padding-top: 16px; }
    .section-head { margin-bottom: 25px; }
    .section-head h2,
    .energy-copy h2,
    .trust-copy h2 { font-size: clamp(40px, 4vw, 62px); }
    .service-card { min-height: 112px; padding-block: 14px; }
    .flow__tabs button { min-height: 67px; }
    .flow__panels,
    .flow-panel { min-height: 278px; }
    .flow-panel { padding: 26px; }
    .energy-visual__window { height: 165px; }
    .role-panel,
    .roles__panels { min-height: 310px; }
    .role-panel { padding: 24px; }
    .role-dashboard { min-height: 225px; }
    .trust-cards > a { min-height: 190px; padding: 20px; }
    .contact-content { padding-top: 96px; padding-bottom: 24px; }
    .contact-main h2 { font-size: clamp(52px, 6vw, 82px); }
    .footer { padding-top: 25px; }
}

/* Tablet */
@media (max-width: 1180px) {
    .container { width: min(calc(100% - 40px), var(--container)); }
    .header__nav { display: none; }
    .header__inner { grid-template-columns: auto 1fr; }
    .header__actions { justify-self: end; }
    .menu-toggle { position: relative; display: grid; }
    .screen-nav { display: none; }
    .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(470px, .9fr); gap: 20px; }
    .hero-chip { min-width: 132px; }
    .section-head { grid-template-columns: .34fr 1.66fr; }
    .section-head--route { grid-template-columns: .3fr 1fr .75fr; }
    .trust-layout { grid-template-columns: .8fr 1.2fr; gap: 36px; }
    .contact-main { gap: 40px; }
    .footer { grid-template-columns: 1fr repeat(3, .8fr); gap: 28px; }
}

@media (max-width: 960px) {
    html { scroll-snap-type: none; }
    .screen {
        height: auto;
        min-height: 100svh;
        overflow: visible;
        scroll-snap-align: none;
    }
    .header__catalog,
    .button--header { display: none; }
    .hero__grid {
        min-height: 100svh;
        padding-top: 120px;
        padding-bottom: 70px;
        grid-template-columns: 1fr;
        align-items: center;
    }
    .hero__copy { max-width: 760px; }
    .hero__visual {
        width: min(100%, 680px);
        margin-top: 10px;
        justify-self: center;
    }
    .screen__content,
    .energy-layout,
    .trust-layout,
    .contact-content { padding-top: 118px; padding-bottom: 70px; }
    .section-head,
    .section-head--route { grid-template-columns: 1fr; gap: 8px; }
    .section-head > div:first-child { display: flex; align-items: baseline; gap: 14px; }
    .section-head .section-number { margin: 0; }
    .section-head .eyebrow { margin: 0; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow__tabs { overflow-x: auto; grid-template-columns: repeat(6, minmax(130px, 1fr)); scrollbar-width: none; }
    .flow__tabs::-webkit-scrollbar { display: none; }
    .flow-panel { grid-template-columns: 1fr; }
    .flow-panel__handoff { min-height: 210px; }
    .energy-layout,
    .trust-layout { grid-template-columns: 1fr; }
    .energy-copy,
    .trust-copy { max-width: 760px; }
    .energy-visual { width: 100%; justify-self: stretch; }
    .roles { grid-template-columns: 1fr; }
    .roles__tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
    .roles__tabs::-webkit-scrollbar { display: none; }
    .roles__tabs button { min-width: 175px; }
    .role-panel { grid-template-columns: 1fr; }
    .trust-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-main { grid-template-columns: 1fr; }
    .contact-main > p:not(.eyebrow),
    .contact-actions { grid-column: 1; justify-self: start; }
    .footer { grid-template-columns: repeat(2, 1fr); }
    .screen-count,
    .scroll-cue { display: none; }
}

/* Mobile */
@media (max-width: 680px) {
    :root { --header-height: 58px; }
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header { top: 8px; }
    .header__inner { width: calc(100% - 16px); min-height: 58px; padding: 6px 7px 6px 12px; border-radius: 17px; }
    .logo { gap: 7px; }
    .logo img { width: 91px; }
    .logo span { padding-left: 8px; font-size: 16px; }
    .menu-toggle { width: 42px; height: 42px; }
    .mobile-menu { width: calc(100% - 16px); margin: 7px 8px 0; padding: 17px; border-radius: 20px; }
    .mobile-menu nav a { padding: 11px 8px; font-size: 16px; }
    .screen { min-height: auto; }
    .hero__grid { min-height: 100svh; padding: 106px 0 54px; }
    .hero__copy h1 { font-size: clamp(44px, 13.5vw, 62px); line-height: .98; }
    .hero__lead { margin-top: 22px; font-size: 15px; line-height: 1.58; }
    .hero__actions { margin-top: 25px; display: grid; }
    .hero__actions .button { width: 100%; }
    .hero__facts { margin-top: 29px; gap: 9px; }
    .hero__facts article { display: grid; gap: 3px; }
    .hero__facts strong { font-size: 20px; }
    .hero__facts span { max-width: none; font-size: 9px; }
    .hero__visual { aspect-ratio: 1 / 1.05; margin-top: 12px; }
    .hero-chip { min-width: 112px; min-height: 48px; padding: 8px 9px; border-radius: 13px; gap: 7px; }
    .hero-chip > svg { width: 19px; height: 19px; }
    .hero-chip small { font-size: 6px; }
    .hero-chip strong { font-size: 9px; }
    .hero-chip--catalog { left: 0; top: 10%; }
    .hero-chip--constructor { left: -2%; top: 45%; }
    .hero-chip--crm { left: 4%; bottom: 4%; }
    .hero-chip--energy { right: 0; top: 9%; }
    .hero-chip--quality { right: -2%; top: 44%; }
    .hero-chip--warranty { right: 4%; bottom: 3%; }
    .hero__status { bottom: -8px; max-width: 90%; font-size: 7px; }
    .screen__content,
    .energy-layout,
    .trust-layout,
    .contact-content { padding-top: 94px; padding-bottom: 58px; }
    .section-head { margin-bottom: 24px; }
    .section-head h2,
    .energy-copy h2,
    .trust-copy h2 { font-size: clamp(38px, 11vw, 52px); }
    .section-head p,
    .energy-copy > p:not(.eyebrow),
    .trust-copy > p:not(.eyebrow) { margin-top: 17px; font-size: 14px; }
    .section-head > div:first-child { display: block; }
    .section-head .section-number { margin-bottom: 9px; }
    .section-head .eyebrow { margin-bottom: 13px; }
    .service-grid { grid-template-columns: 1fr; gap: 9px; }
    .service-card { min-height: 104px; padding: 14px 44px 14px 14px; grid-template-columns: 38px 1fr; gap: 12px; border-radius: 16px; }
    .service-card__icon { width: 38px; height: 38px; border-radius: 12px; }
    .service-card__copy strong { font-size: 14px; }
    .service-card__copy small { font-size: 10px; }
    .flow { border-radius: 20px; }
    .flow__tabs { grid-template-columns: repeat(6, minmax(115px, 1fr)); }
    .flow__tabs button { min-height: 70px; }
    .flow-panel { min-height: auto; padding: 20px; gap: 20px; }
    .flow-panel__copy h3 { font-size: 28px; }
    .flow-panel__copy p { font-size: 13px; }
    .flow-panel__copy .button { width: 100%; white-space: normal; text-align: center; }
    .flow-panel__handoff { min-height: auto; padding: 17px; }
    .energy-layout { gap: 34px; }
    .energy-copy ul { margin: 22px 0 26px; }
    .energy-copy .button { width: 100%; }
    .energy-visual { padding: 15px; border-radius: 22px; }
    .energy-visual__top span { display: none; }
    .energy-visual__window { height: 168px; }
    .energy-window { width: 112px; height: 132px; }
    .heat-flow { width: 70px; }
    .energy-compare { grid-template-columns: 1fr; gap: 8px; }
    .energy-metrics { gap: 7px; }
    .energy-metrics article { padding: 10px; }
    .energy-metrics strong { font-size: 11px; }
    .roles__tabs button { min-width: 155px; min-height: 55px; }
    .role-panel { min-height: auto; padding: 20px; border-radius: 19px; gap: 25px; }
    .role-panel__copy h3 { font-size: 28px; }
    .role-panel__copy p { font-size: 13px; }
    .role-dashboard { min-height: 230px; padding: 15px; }
    .role-dashboard__metrics { gap: 5px; }
    .role-dashboard__metrics article { padding: 9px; }
    .role-dashboard__metrics strong { font-size: 18px; }
    .role-dashboard--passport { grid-template-columns: 105px 1fr; gap: 13px; }
    .trust-layout { gap: 32px; }
    .trust-cards { grid-template-columns: 1fr; }
    .trust-cards > a { min-height: 185px; padding: 20px; }
    .contact-main h2 { font-size: clamp(48px, 14vw, 68px); }
    .contact-main > p:not(.eyebrow) { margin-top: 0; font-size: 15px; }
    .contact-actions { display: grid; width: 100%; }
    .contact-actions .button { width: 100%; }
    .footer { margin-top: 70px; grid-template-columns: 1fr; gap: 28px; }
    .footer__links { display: none; }
    .footer__contacts { display: grid; }
    .footer-bottom { align-items: flex-start; gap: 12px; flex-direction: column; }
}

@media (max-width: 400px) {
    .hero-chip { min-width: 102px; }
    .hero-chip strong { font-size: 8px; }
    .hero__facts span { font-size: 8px; }
    .role-dashboard--passport { grid-template-columns: 90px 1fr; }
}


/* Very short desktop viewports: keep every control reachable and avoid snap traps. */
@media (max-height: 699px) and (min-width: 961px) {
    html { scroll-snap-type: none; }
    .screen {
        height: auto;
        min-height: 700px;
        overflow: visible;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }
}

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