:root {
    --ink: #101b19;
    --ink-2: #1f2e2a;
    --muted: #64716d;
    --muted-light: #aebbb7;
    --paper: #f5f7f1;
    --paper-2: #edf2e8;
    --white: #ffffff;
    --deep: #082722;
    --deep-2: #0d352f;
    --deep-3: #14483f;
    --lime: #d4f76f;
    --lime-2: #b9ed50;
    --mint: #5bd2ae;
    --aqua: #7ce2c5;
    --gold: #f0c05b;
    --orange: #ee984c;
    --red: #e85f55;
    --line: rgba(16, 27, 25, 0.13);
    --line-light: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 12px 35px rgba(20, 55, 45, 0.08);
    --shadow-md: 0 28px 80px rgba(10, 37, 31, 0.15);
    --shadow-lg: 0 45px 120px rgba(4, 26, 22, 0.27);
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 36px;
    --container: 1240px;
    --header-h: 82px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 18px);
    color-scheme: light;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    color: var(--deep);
    background: var(--lime);
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

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

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

button {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family:
        'Avenir Next',
        Avenir,
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

p:last-child {
    margin-bottom: 0;
}

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

.section {
    position: relative;
    padding: clamp(92px, 10vw, 152px) 0;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--deep);
    background: var(--lime);
    border-radius: 8px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: none;
}

/* Header */
.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    height: var(--header-h);
    color: var(--white);
    border-bottom: 1px solid transparent;
    transition:
        height 0.35s var(--ease),
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(7, 32, 28, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition:
        background-color 0.35s ease,
        backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
    height: 72px;
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 15px 50px rgba(0, 22, 18, 0.14);
}

.site-header.is-scrolled::before {
    background: rgba(7, 32, 28, 0.86);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.header-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 39px;
    height: 39px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-mark .brand-leaf {
    color: var(--lime);
    stroke: var(--lime);
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: grid;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-text strong {
    /* color: wheat !important; */
    font-size: 15px;
    font-weight: 560;
    white-space: nowrap;
}

.brand-text > span {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 560;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand--footer .brand-text > span {
    color: var(--muted);
}

.brand--footer .brand-text strong {
    color: var(--ink);
}

.brand-copy {
    display: grid;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.brand-copy strong {
    font-size: 15px;
    font-weight: 760;
}

.brand-copy span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    font-weight: 560;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2.6vw, 36px);
    margin-left: auto;
}

.desktop-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 1px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
    color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 650;
}

.header-phone svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 720;
    letter-spacing: -0.012em;
    line-height: 1;
    transition:
        transform 0.25s var(--ease),
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

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

.button:active {
    transform: translateY(0);
}

.button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button--small {
    min-height: 40px;
    padding-inline: 18px;
    color: var(--deep);
    background: var(--lime);
    font-size: 12px;
}

.button--small:hover {
    background: var(--white);
    box-shadow: 0 12px 30px rgba(212, 247, 111, 0.2);
}

.menu-toggle {
    display: none;
    place-content: center;
    width: 43px;
    height: 43px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
    transition:
        transform 0.3s var(--ease),
        translate 0.3s var(--ease);
}

.menu-toggle span + span {
    margin-top: 5px;
}

.menu-toggle[aria-expanded='true'] span:first-child {
    transform: rotate(45deg);
    translate: 0 3px;
}

.menu-toggle[aria-expanded='true'] span:last-child {
    transform: rotate(-45deg);
    translate: 0 -3px;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    align-content: center;
    padding: calc(var(--header-h) + 44px) 24px 44px;
    color: var(--white);
    background: var(--deep);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

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

.mobile-menu nav a {
    padding: 8px 0;
    font-family: 'Avenir Next', Avenir, sans-serif;
    font-size: clamp(34px, 10vw, 54px);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 1;
}

.mobile-menu nav a:hover {
    color: var(--lime);
}

.mobile-menu-contact {
    display: grid;
    gap: 5px;
    margin-top: 42px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

/* Hero */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + clamp(54px, 7vw, 92px));
    padding-bottom: 48px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 72% 34%, rgba(61, 177, 142, 0.2), transparent 35%), radial-gradient(circle at 18% 86%, rgba(212, 247, 111, 0.09), transparent 28%),
        linear-gradient(145deg, #06231f 0%, #0a2d27 53%, #071f1b 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), transparent 85%);
}

.hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    right: -12%;
    bottom: -44%;
    width: 70vw;
    aspect-ratio: 1;
    border: 1px solid rgba(212, 247, 111, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 80px rgba(212, 247, 111, 0.025),
        0 0 0 160px rgba(212, 247, 111, 0.018),
        0 0 0 240px rgba(212, 247, 111, 0.012);
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.035;
    pointer-events: none;
    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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(480px, 1.04fr);
    align-items: center;
    gap: clamp(54px, 6vw, 94px);
}

.hero-copy {
    position: relative;
    z-index: 4;
    padding-top: 6px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 660;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(212, 247, 111, 0.09);
}

.eyebrow-dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(212, 247, 111, 0.35);
    border-radius: inherit;
    animation: statusPulse 2.4s ease-out infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.65);
        opacity: 1;
    }
    85%,
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 27px;
    font-size: clamp(54px, 5.4vw, 84px);
    font-weight: 620;
    letter-spacing: -0.065em;
    line-height: 0.99;
}

.text-accent {
    display: block;
    color: var(--lime);
    font-style: italic;
    font-weight: 470;
}

.hero-lead {
    max-width: 635px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.67);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.67;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.button--primary {
    color: var(--deep);
    background: var(--lime);
    box-shadow: 0 14px 34px rgba(212, 247, 111, 0.12);
}

.button--primary:hover {
    background: var(--white);
    box-shadow: 0 18px 48px rgba(212, 247, 111, 0.2);
}

.button--ghost {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.21);
    background: rgba(255, 255, 255, 0.025);
}

.button--ghost:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.06);
}

.hero-proof {
    display: flex;
    gap: 28px;
    margin-top: 42px;
}

.hero-proof > div {
    position: relative;
    display: grid;
    min-width: 94px;
    padding-right: 28px;
}

.hero-proof > div:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 0;
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.14);
}

.hero-proof strong {
    font-family: 'Avenir Next', Avenir, sans-serif;
    color: var(--white);
    font-size: 26px;
    font-weight: 680;
    letter-spacing: -0.045em;
    line-height: 1;
}

.hero-proof span {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.47);
    font-size: 11px;
    font-weight: 580;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    z-index: 3;
    min-width: 0;
    perspective: 1300px;
    transform-style: preserve-3d;
}

.visual-halo {
    position: absolute;
    top: 7%;
    right: 3%;
    bottom: 1%;
    left: 3%;
    filter: blur(45px);
    opacity: 0.55;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 211, 174, 0.23), transparent 65%);
    animation: haloBreathe 5s ease-in-out infinite;
}

@keyframes haloBreathe {
    0%,
    100% {
        transform: scale(0.93);
        opacity: 0.38;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.67;
    }
}

.energy-console {
    position: relative;
    overflow: hidden;
    min-height: 615px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 31px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.025));
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: rotateY(-4deg) rotateX(1.5deg);
    transform-origin: center;
    transition: transform 0.3s ease-out;
}

.energy-console::after {
    content: '';
    position: absolute;
    top: -48%;
    left: -30%;
    width: 75%;
    height: 110%;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.08), transparent 63%);
    transform: rotate(15deg);
    animation: consoleShine 8s ease-in-out infinite;
}

@keyframes consoleShine {
    0%,
    42% {
        translate: -35% 0;
        opacity: 0;
    }
    55% {
        opacity: 1;
    }
    75%,
    100% {
        translate: 190% 0;
        opacity: 0;
    }
}

.console-topbar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.console-status {
    display: flex;
    align-items: center;
    gap: 9px;
}

.console-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 14px rgba(212, 247, 111, 0.7);
}

.console-code {
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.model-stage {
    position: relative;
    height: 478px;
    overflow: hidden;
}

.stage-grid {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image: linear-gradient(rgba(157, 235, 211, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 235, 211, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}

.stage-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 54% 54%, rgba(91, 210, 174, 0.11), transparent 43%);
}

.scan-beam {
    position: absolute;
    z-index: 5;
    top: 16%;
    right: 5%;
    left: 5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lime) 25%, var(--aqua) 70%, transparent);
    box-shadow:
        0 0 20px rgba(212, 247, 111, 0.8),
        0 0 60px rgba(91, 210, 174, 0.38);
    animation: scanBuilding 5.2s var(--ease) infinite;
}

.scan-beam::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 48px;
    background: linear-gradient(to bottom, rgba(212, 247, 111, 0.08), transparent);
}

@keyframes scanBuilding {
    0%,
    8% {
        top: 17%;
        opacity: 0;
    }
    14% {
        opacity: 1;
    }
    76% {
        top: 82%;
        opacity: 1;
    }
    86%,
    100% {
        top: 82%;
        opacity: 0;
    }
}

.building-wireframe {
    position: absolute;
    z-index: 2;
    top: 31px;
    left: 50%;
    width: 96%;
    translate: -50% 0;
    overflow: visible;
    fill: none;
    stroke: rgba(169, 240, 216, 0.65);
    stroke-width: 1.15;
    stroke-linejoin: round;
    stroke-linecap: round;
    filter: drop-shadow(0 20px 34px rgba(0, 16, 13, 0.32));
}

.ground-plane path {
    fill: rgba(100, 219, 184, 0.018);
    stroke: rgba(150, 234, 208, 0.22);
    stroke-dasharray: 5 7;
}

.tower-face {
    fill: rgba(80, 191, 157, 0.028);
    stroke: rgba(165, 239, 216, 0.7);
}

.tower-face--glass {
    fill: url(#glassGradient);
}

.tower path:not(.tower-face) {
    stroke: rgba(176, 245, 224, 0.35);
}

.tower--front {
    animation: towerFloat 6s ease-in-out infinite;
}

.tower--back {
    animation: towerFloat 6s ease-in-out infinite 0.5s;
}

@keyframes towerFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.energy-path path {
    stroke: var(--lime);
    stroke-width: 2.5;
    stroke-dasharray: 8 12;
    animation: dashFlow 1.2s linear infinite;
}

.energy-path circle {
    fill: var(--lime);
    stroke: none;
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: -20;
    }
}

.measure-lines {
    stroke: rgba(212, 247, 111, 0.4);
    stroke-dasharray: 3 4;
}

.metric-chip {
    position: absolute;
    z-index: 7;
    display: grid;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(5, 32, 27, 0.72);
    box-shadow: 0 10px 30px rgba(0, 14, 12, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.metric-chip span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric-chip strong {
    margin-top: 4px;
    color: var(--white);
    font-size: 13px;
    line-height: 1;
}

.metric-chip--class {
    top: 28px;
    right: 25px;
    grid-template-columns: auto 30px;
    align-items: center;
    column-gap: 13px;
}

.metric-chip--class span {
    grid-row: 1;
    grid-column: 1;
}

.metric-chip--class strong {
    grid-row: 1;
    grid-column: 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: 0;
    color: var(--deep);
    border-radius: 8px;
    background: var(--lime);
    font-size: 18px;
}

.metric-chip--heat {
    top: 58%;
    left: 19px;
}

.metric-chip--report {
    right: 21px;
    bottom: 25px;
    align-items: center;
    column-gap: 9px;
}

.metric-chip--report svg {
    grid-row: 1 / 3;
    width: 21px;
    fill: none;
    stroke: var(--lime);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.model-label {
    position: absolute;
    z-index: 6;
    color: rgba(212, 247, 111, 0.67);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.model-label::before {
    content: '';
    position: absolute;
    width: 42px;
    height: 1px;
    background: rgba(212, 247, 111, 0.35);
}

.model-label--roof {
    top: 29%;
    left: 17%;
}

.model-label--roof::before {
    top: 50%;
    left: calc(100% + 8px);
}

.model-label--floor {
    top: 73%;
    right: 18%;
}

.model-label--floor::before {
    top: 50%;
    right: calc(100% + 8px);
}

.energy-scale {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 0 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scale-title,
.scale-score {
    color: rgba(255, 255, 255, 0.48);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.scale-score {
    text-align: right;
}

.scale-bars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.scale-bars i {
    display: grid;
    place-items: center;
    height: 27px;
    color: rgba(255, 255, 255, 0.65);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 9px;
    font-style: normal;
    font-weight: 750;

    animation: scalePulse 5.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.scale-bars i:nth-child(1) {
    --grade-color: #d4f76f;
    animation-delay: 0s;
}

.scale-bars i:nth-child(2) {
    --grade-color: #a7e968;
    animation-delay: 0.28s;
}

.scale-bars i:nth-child(3) {
    --grade-color: #d9df5f;
    animation-delay: 0.56s;
}

.scale-bars i:nth-child(4) {
    --grade-color: #f0c45d;
    animation-delay: 0.84s;
}

.scale-bars i:nth-child(5) {
    --grade-color: #ef9b50;
    animation-delay: 1.12s;
}

.scale-bars i:nth-child(6) {
    --grade-color: #e8734f;
    animation-delay: 1.4s;
}

.scale-bars i:nth-child(7) {
    --grade-color: #e2514f;
    animation-delay: 1.68s;
}

@keyframes scalePulse {
    0%,
    22%,
    100% {
        color: rgba(255, 255, 255, 0.65);
        background: rgba(255, 255, 255, 0.06);
        box-shadow: 0 0 0 transparent;
        transform: translateY(0) scale(1);
    }

    7% {
        color: rgba(255, 255, 255, 0.9);
        background: color-mix(in srgb, var(--grade-color) 35%, rgba(255, 255, 255, 0.06));
        box-shadow: 0 0 10px color-mix(in srgb, var(--grade-color), transparent 78%);
        transform: translateY(-1px) scale(1.01);
    }

    12% {
        color: var(--deep);
        background: var(--grade-color);
        box-shadow:
            0 0 12px color-mix(in srgb, var(--grade-color), transparent 48%),
            0 0 26px color-mix(in srgb, var(--grade-color), transparent 72%);
        transform: translateY(-3px) scale(1.035);
    }

    17% {
        color: rgba(255, 255, 255, 0.9);
        background: color-mix(in srgb, var(--grade-color) 35%, rgba(255, 255, 255, 0.06));
        box-shadow: 0 0 10px color-mix(in srgb, var(--grade-color), transparent 78%);
        transform: translateY(-1px) scale(1.01);
    }
}

.hero-reference-card {
    position: absolute;
    z-index: 9;
    right: -24px;
    bottom: 72px;
    display: grid;
    width: min(275px, 52%);
    padding: 17px 18px;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 17px;
    background: rgba(250, 252, 247, 0.93);
    box-shadow: 0 22px 60px rgba(0, 20, 16, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateZ(40px) rotate(1.5deg);
}

.hero-reference-card span {
    color: #6c7874;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-reference-card strong {
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hero-reference-card small {
    margin-top: 5px;
    color: #6d7875;
    font-size: 9px;
}

.trust-ribbon {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: clamp(54px, 5vw, 78px);
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.47);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.trust-ribbon i {
    flex: 1;
    max-width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Common section heading */
.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.6fr);
    align-items: end;
    gap: 48px;
    margin-bottom: clamp(48px, 6vw, 76px);
}

.section-heading > div {
    min-width: 0;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: #4f7067;
    font-size: 10px;
    font-weight: 780;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: '';
    width: 24px;
    height: 1px;
    background: currentColor;
}

.section-kicker--light {
    color: var(--lime);
}

.section-heading h2,
.about h2,
.process h2,
.ekb-copy h2,
.faq h2,
.quote h2 {
    margin-bottom: 0;
    font-size: clamp(42px, 4.6vw, 70px);
    font-weight: 600;
    letter-spacing: -0.06em;
}

.section-heading > p {
    max-width: 450px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.section-heading--center {
    display: block;
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.section-heading--center .section-kicker {
    justify-content: center;
}

/* Services */
.services {
    background: radial-gradient(circle at 10% 92%, rgba(91, 210, 174, 0.08), transparent 25%), var(--paper);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-card {
    position: relative;
    min-width: 0;
    padding: 35px clamp(25px, 3vw, 42px) 38px;
    overflow: hidden;
    border-right: 1px solid var(--line);
    transition:
        background-color 0.4s ease,
        transform 0.4s var(--ease),
        box-shadow 0.4s ease;
}

.service-card:first-child {
    border-left: 1px solid var(--line);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--lime-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}

.service-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    right: -75px;
    bottom: -85px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(20, 72, 63, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 32px rgba(20, 72, 63, 0.025),
        0 0 0 64px rgba(20, 72, 63, 0.018);
    transition: transform 0.5s var(--ease);
}

.service-card:hover,
.service-card.is-open {
    z-index: 2;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.service-card:hover::before,
.service-card.is-open::before {
    transform: scaleX(1);
}

.service-card:hover::after,
.service-card.is-open::after {
    transform: scale(1.12);
}

.service-index {
    color: #91a09b;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.15em;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 55px 0 42px;
    color: var(--deep-3);
    border: 1px solid rgba(20, 72, 63, 0.13);
    border-radius: 50%;
    background: var(--paper);
    transition:
        color 0.35s ease,
        background-color 0.35s ease,
        transform 0.4s var(--ease);
}

.service-card:hover .service-icon,
.service-card.is-open .service-icon {
    color: var(--deep);
    background: var(--lime);
    transform: rotate(-6deg) scale(1.04);
}

.service-icon svg {
    width: 39px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-icon .icon-accent {
    stroke: #8bb233;
}

.service-card h3 {
    min-height: 63px;
    margin-bottom: 18px;
    font-size: clamp(25px, 2.1vw, 32px);
    font-weight: 640;
    letter-spacing: -0.045em;
}

.service-card h3 span {
    display: inline-grid;
    place-items: center;
    translate: 0 -3px;
    min-width: 34px;
    height: 20px;
    margin-left: 4px;
    color: var(--deep);
    border-radius: 5px;
    background: var(--lime);
    font-size: 9px;
    letter-spacing: 0.06em;
}

.service-card > p,
.service-detail p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.service-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 21px;
    padding: 0;
    color: var(--deep-3);
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 740;
}

.service-toggle svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    transition: transform 0.3s var(--ease);
}

.service-card.is-open .service-toggle svg {
    transform: rotate(90deg);
}

.service-detail {
    padding-top: 19px;
    animation: detailIn 0.35s var(--ease);
}

.service-detail[hidden] {
    display: none;
}

@keyframes detailIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.service-detail a {
    display: inline-flex;
    margin-top: 7px;
    color: var(--deep-3);
    border-bottom: 1px solid rgba(20, 72, 63, 0.28);
    font-size: 12px;
    font-weight: 750;
}

/* About */
.about {
    overflow: hidden;
    color: var(--white);
    background: var(--deep);
}

.about::before {
    content: '';
    position: absolute;
    top: -18%;
    right: -7%;
    width: 55vw;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 210, 174, 0.14), transparent 66%);
    pointer-events: none;
}

.about-grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to right, transparent, black 36%, black 100%);
}

.about-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    gap: clamp(70px, 9vw, 140px);
    align-items: start;
}

.about-copy {
    position: sticky;
    top: calc(var(--header-h) + 52px);
}

.about h2 {
    margin-bottom: 28px;
}

.about-copy > p {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.61);
    font-size: 17px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-bottom: 5px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 13px;
    font-weight: 720;
}

.text-link span {
    color: var(--lime);
    transition: transform 0.25s var(--ease);
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

.text-link--dark {
    color: var(--deep);
    border-color: rgba(8, 39, 34, 0.24);
}

.about-values {
    display: grid;
    border-top: 1px solid var(--line-light);
}

.value-card {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 0 24px;
    padding: 39px 0 42px;
    border-bottom: 1px solid var(--line-light);
    transition:
        padding-left 0.35s var(--ease),
        background-color 0.35s ease;
}

.value-card:hover {
    padding-left: 18px;
    background: linear-gradient(90deg, rgba(212, 247, 111, 0.045), transparent);
}

.value-number {
    grid-row: 1 / 3;
    color: var(--lime);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: 0.13em;
}

.value-card h3 {
    margin-bottom: 12px;
    font-size: clamp(28px, 2.5vw, 38px);
    font-weight: 590;
}

.value-card p {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.53);
    font-size: 14px;
    line-height: 1.75;
}

/* Process */
.process {
    overflow: hidden;
    background: var(--white);
}

.process::before {
    content: '';
    position: absolute;
    top: 14%;
    left: 50%;
    width: min(900px, 82vw);
    height: 380px;
    translate: -50% 0;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(212, 247, 111, 0.14), transparent 65%);
    filter: blur(15px);
    pointer-events: none;
}

.process-track {
    position: relative;
    z-index: 1;
    display: block;
    width: calc(66.666% - 42px);
    height: 1px;
    margin: 0 auto -43px;
    overflow: hidden;
    background: var(--line);
}

.process-track span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--deep-3);
    transition: width 1.2s var(--ease) 0.18s;
}

.process.is-inview .process-track span {
    width: 100%;
}

.process-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-step {
    text-align: center;
}

.step-orbit {
    position: relative;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin: 0 auto 34px;
    border: 1px solid rgba(20, 72, 63, 0.16);
    border-radius: 50%;
    background: var(--white);
}

.step-orbit::before,
.step-orbit::after {
    content: '';
    position: absolute;
    border-radius: inherit;
}

.step-orbit::before {
    inset: 8px;
    border: 1px dashed rgba(20, 72, 63, 0.2);
    animation: orbitSpin 14s linear infinite;
}

.step-orbit::after {
    top: 4px;
    left: 50%;
    width: 7px;
    height: 7px;
    translate: -50% -50%;
    background: var(--lime-2);
    box-shadow: 0 0 0 5px var(--white);
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}

.step-orbit span {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    color: var(--deep);
    border-radius: 50%;
    background: var(--lime);
    font-weight: 780;
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 27px;
    font-weight: 640;
}

.process-step p {
    max-width: 330px;
    margin-inline: auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* Projects */
.projects {
    background: var(--paper-2);
}

.featured-project {
    display: grid;
    grid-template-columns: minmax(0, 0.87fr) minmax(430px, 1.13fr);
    min-height: 560px;
    overflow: hidden;
    color: var(--white);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 75% 50%, rgba(91, 210, 174, 0.18), transparent 43%), var(--deep);
    box-shadow: var(--shadow-md);
}

.featured-project-copy {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(46px, 6vw, 82px);
}

.project-eyebrow {
    margin-bottom: 55px;
    color: var(--lime);
    font-size: 9px;
    font-weight: 770;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.project-owner-label {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 10px;
    font-weight: 730;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.featured-project h3 {
    max-width: 450px;
    margin-bottom: 25px;
    font-size: clamp(44px, 5vw, 74px);
    font-weight: 570;
    letter-spacing: -0.062em;
}

.featured-project p {
    max-width: 480px;
    color: rgba(255, 255, 255, 0.59);
    font-size: 15px;
    line-height: 1.75;
}

.project-open {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 11px;
    margin-top: 25px;
    padding: 0 0 6px;
    color: var(--white);
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 730;
}

.project-open svg {
    width: 18px;
    fill: none;
    stroke: var(--lime);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s var(--ease);
}

.project-open:hover svg {
    transform: translateX(4px);
}

.featured-project small {
    display: block;
    max-width: 500px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 9px;
    line-height: 1.55;
}

.featured-project-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
}

.featured-project-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 48% 50%, transparent 18%, rgba(4, 25, 21, 0.3) 76%);
}

.featured-project-visual > svg {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 82%;
    translate: -50% -50%;
    overflow: visible;
}

.project-building-fill {
    fill: rgba(91, 210, 174, 0.08);
    stroke: none;
}

.project-building-line {
    fill: none;
    stroke: rgba(176, 244, 223, 0.62);
    stroke-width: 1.3;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: drawProject 5s var(--ease) infinite alternate;
}

@keyframes drawProject {
    15% {
        stroke-dashoffset: 900;
    }
    70%,
    100% {
        stroke-dashoffset: 0;
    }
}

.project-scan {
    fill: none;
    stroke: var(--lime);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(212, 247, 111, 0.75));
    animation: projectScan 4.2s ease-in-out infinite;
}

@keyframes projectScan {
    0%,
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
    18%,
    78% {
        opacity: 1;
    }
    85% {
        transform: translateY(120px);
        opacity: 0;
    }
}

.monument-lines {
    position: absolute;
    z-index: 2;
    inset: 18% 8%;
    border: 1px solid rgba(212, 247, 111, 0.07);
    border-radius: 50%;
}

.monument-lines span {
    position: absolute;
    inset: calc(var(--i, 0) * 8%);
    border: 1px solid rgba(212, 247, 111, 0.045);
    border-radius: inherit;
}

.monument-lines span:nth-child(1) {
    --i: 1;
}
.monument-lines span:nth-child(2) {
    --i: 2;
}
.monument-lines span:nth-child(3) {
    --i: 3;
}
.monument-lines span:nth-child(4) {
    --i: 4;
}
.monument-lines span:nth-child(5) {
    --i: 5;
}

.project-seal {
    position: absolute;
    z-index: 5;
    right: 35px;
    bottom: 34px;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    color: var(--deep);
    border-radius: 50%;
    background: var(--lime);
    font-size: 10px;
    font-weight: 790;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    animation: sealFloat 4s ease-in-out infinite;
}

@keyframes sealFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.975fr 0.975fr;
    gap: 18px;
    margin-top: 18px;
}

.portfolio-card {
    position: relative;
    min-height: 355px;
    padding: 27px 29px 31px;
    overflow: hidden;
    border: 1px solid rgba(16, 27, 25, 0.09);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    transition:
        transform 0.4s var(--ease),
        box-shadow 0.4s ease,
        background-color 0.4s ease;
}

.portfolio-card:hover {
    z-index: 2;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.portfolio-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #7a8783;
    font-size: 9px;
    font-weight: 730;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.portfolio-card-top i {
    font-style: normal;
}

.icon-button {
    display: grid;
    place-items: center;
    align-self: auto;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    color: var(--deep);
    border: 1px solid var(--line);
    border-radius: 50%;
}

.icon-button svg {
    stroke: currentColor;
}

.reference-logo-wrap {
    display: grid;
    place-items: center;
    height: 195px;
    margin: 14px 0 5px;
    overflow: hidden;
}

.reference-logo-wrap img {
    width: 68%;
    max-height: 150px;
    object-fit: contain;
    filter: invert(1);
}

.portfolio-card h3 {
    margin-bottom: 4px;
    font-size: 28px;
    font-weight: 630;
}

.portfolio-card > p {
    color: var(--muted);
    font-size: 13px;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--line);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 32px 16px;
    background: var(--white);
    text-align: center;
}

.stat-item strong {
    color: var(--deep);
    font-family: 'Avenir Next', Avenir, Inter, ui-sans-serif, sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-item span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.scope-icon {
    display: grid;
    place-items: center;
    height: 190px;
    margin-top: 12px;
}

.scope-icon svg {
    width: 132px;
    fill: rgba(20, 72, 63, 0.025);
    stroke: var(--deep-3);
    stroke-width: 1.2;
    stroke-linejoin: round;
    stroke-linecap: round;
    transition: transform 0.4s var(--ease);
}

.portfolio-card:hover .scope-icon svg {
    transform: scale(1.05) translateY(-3px);
}

.scope-icon .scope-accent {
    stroke: #8db842;
    stroke-width: 1.7;
}

/* EKB info */
.ekb-info {
    background: var(--white);
}

.ekb-layout {
    display: grid;
    grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(60px, 9vw, 130px);
    align-items: center;
}

.ekb-photo {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
}

.ekb-photo::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -16px;
    right: 16px;
    bottom: 30px;
    left: -16px;
    border-radius: var(--radius);
    background: var(--paper-2);
}

.document-preview-frame {
    position: relative;
    width: 100%;
    padding: 10px 10px 16px 10px;
    background: #ffffff;
    border: 1px solid rgba(16, 27, 25, 0.12);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(8, 39, 34, 0.12), 0 2px 8px rgba(8, 39, 34, 0.04);
    transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
    box-sizing: border-box;
}

.document-preview-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 65px rgba(8, 39, 34, 0.18);
}

.ekb-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 896 / 1200;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: none;
    background: #ffffff;
}

.photo-caption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 24px);
    padding: 10px 14px;
    color: var(--white);
    border-radius: 12px;
    background: rgba(8, 39, 34, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px rgba(4, 20, 17, 0.3);
    font-size: 11px;
    font-weight: 620;
    z-index: 3;
}

.photo-caption span {
    color: var(--lime);
    font-size: 9px;
    letter-spacing: 0.13em;
}

.ekb-copy h2 {
    margin-bottom: 28px;
}

.ekb-copy > p {
    max-width: 710px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.ekb-copy strong {
    color: var(--ink-2);
}

.legal-note {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 15px;
    margin: 32px 0 35px;
    padding: 20px 22px;
    border: 1px solid rgba(20, 72, 63, 0.12);
    border-radius: 16px;
    background: var(--paper);
}

.legal-note svg {
    width: 32px;
    fill: none;
    stroke: var(--deep-3);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.legal-note p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.legal-note strong {
    color: var(--deep);
    font-size: 13px;
}

.class-scale {
    display: grid;
    gap: 6px;
    padding-top: 2px;
}

.class-scale > div {
    display: grid;
    grid-template-columns: 28px 1fr 76px;
    align-items: center;
    gap: 9px;
    height: 27px;
}

.class-scale span {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    color: var(--white);
    border-radius: 5px;
    background: var(--grade);
    font-size: 10px;
    font-weight: 800;
}

.class-scale i {
    position: relative;
    width: var(--width);
    height: 12px;
    border-radius: 0 999px 999px 0;
    background: var(--grade);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s var(--ease);
}

.class-scale.is-visible i {
    transform: scaleX(1);
}

.class-scale > div:nth-child(1) {
    --grade: #64bc59;
}
.class-scale > div:nth-child(2) {
    --grade: #93cb57;
}
.class-scale > div:nth-child(3) {
    --grade: #c7d653;
}
.class-scale > div:nth-child(4) {
    --grade: #ead253;
}
.class-scale > div:nth-child(5) {
    --grade: #eba04b;
}
.class-scale > div:nth-child(6) {
    --grade: #e97847;
}
.class-scale > div:nth-child(7) {
    --grade: #df5149;
}

.class-scale em {
    color: var(--muted);
    font-size: 9px;
    font-style: normal;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* FAQ */
.faq {
    background: var(--paper);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.73fr) minmax(0, 1.27fr);
    gap: clamp(60px, 9vw, 140px);
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: calc(var(--header-h) + 45px);
}

.faq h2 {
    margin-bottom: 23px;
}

.faq-intro > p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.accordion {
    border-top: 1px solid var(--line);
}

.accordion-item {
    border-bottom: 1px solid var(--line);
}

.accordion-item > button {
    display: grid;
    grid-template-columns: 1fr 28px;
    align-items: center;
    gap: 24px;
    width: 100%;
    min-height: 100px;
    padding: 25px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.accordion-item button span {
    font-family: 'Avenir Next', Avenir, sans-serif;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.accordion-item button i {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(16, 27, 25, 0.16);
    border-radius: 50%;
}

.accordion-item button i::before,
.accordion-item button i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: var(--deep);
    translate: -50% -50%;
    transition: transform 0.3s var(--ease);
}

.accordion-item button i::after {
    transform: rotate(90deg);
}

.accordion-item.is-open button i {
    border-color: var(--deep-3);
    background: var(--deep-3);
}

.accordion-item.is-open button i::before,
.accordion-item.is-open button i::after {
    background: var(--white);
}

.accordion-item.is-open button i::after {
    transform: rotate(0);
}

.accordion-panel {
    padding: 0 40px 31px 0;
    animation: detailIn 0.35s var(--ease);
}

.accordion-panel[hidden] {
    display: none;
}

.accordion-panel p {
    max-width: 740px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.accordion-panel ul {
    margin: 12px 0 0 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.accordion-panel li strong {
    color: var(--deep);
    font-weight: 650;
}

.faq-direct-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.header-phone-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--deep);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-phone-inline:hover {
    color: var(--deep-3);
    text-decoration: underline;
}

.header-phone-inline svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

/* Quote */
.quote {
    padding-top: clamp(70px, 8vw, 112px);
    padding-bottom: clamp(70px, 8vw, 112px);
    color: var(--white);
    background: var(--deep);
}

.quote::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(212, 247, 111, 0.14), transparent 27%), linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size:
        auto,
        72px 72px,
        72px 72px;
}

.quote-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.87fr) minmax(520px, 1.13fr);
    gap: clamp(65px, 8vw, 120px);
    align-items: start;
}

.quote-copy {
    position: sticky;
    top: calc(var(--header-h) + 45px);
}

.quote h2 {
    margin-bottom: 25px;
}

.quote-copy > p {
    max-width: 530px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 16px;
    line-height: 1.75;
}

.contact-cards {
    display: grid;
    gap: 10px;
    margin-top: 39px;
}

.contact-cards a {
    display: grid;
    gap: 3px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s var(--ease);
}

.contact-cards a:hover {
    border-color: rgba(212, 247, 111, 0.35);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.contact-cards span {
    color: rgba(255, 255, 255, 0.36);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-cards strong {
    font-size: 14px;
    font-weight: 620;
}

.quote-form {
    display: grid;
    gap: 22px;
    padding: clamp(30px, 4vw, 48px);
    color: var(--ink);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.quote-form > label,
.form-row > label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.quote-form label > span {
    color: #344440;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-form label > span em {
    color: #8b9692;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    color: var(--ink);
    border: 1px solid rgba(16, 27, 25, 0.13);
    border-radius: 11px;
    outline: none;
    background: rgba(255, 255, 255, 0.75);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.quote-form input,
.quote-form select {
    height: 53px;
    padding: 0 15px;
}

.quote-form textarea {
    min-height: 120px;
    padding: 14px 15px;
    resize: vertical;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #9ba6a2;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: #67a998;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(91, 210, 174, 0.11);
}

.quote-form label.has-error input,
.quote-form label.has-error select {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(232, 95, 85, 0.09);
}

.field-error {
    display: none;
    color: #b9443d;
    font-size: 10px;
}

.has-error .field-error {
    display: block;
}

.choice-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.choice-group input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.choice-group label {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 0 10px;
    color: #53615d;
    border: 1px solid rgba(16, 27, 25, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    font-size: 11px;
    font-weight: 680;
    text-align: center;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.choice-group input:checked + label {
    color: var(--deep);
    border-color: var(--deep-3);
    background: var(--lime);
}

.choice-group input:focus-visible + label {
    outline: 3px solid rgba(91, 210, 174, 0.28);
    outline-offset: 2px;
}

.button--form {
    width: 100%;
    min-height: 58px;
    color: var(--white);
    border: 0;
    background: var(--deep-3);
}

.button--form:hover {
    background: var(--deep);
    box-shadow: 0 16px 38px rgba(8, 39, 34, 0.18);
}

.button--form svg {
    stroke-width: 1.5;
}

.form-note {
    margin: -6px 0 0;
    color: #84908c;
    font-size: 9px;
    line-height: 1.55;
    text-align: center;
}

/* Offices / footer */
.office-strip {
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--deep);
}

.office-grid {
    display: grid;
    grid-template-columns: 0.6fr 1fr 1fr 58px;
    align-items: stretch;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.office-grid > * {
    padding: 30px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.office-grid > *:last-child {
    border-right: 0;
}

.office-label {
    display: flex;
    align-items: center;
    color: var(--lime);
    font-size: 10px;
    font-weight: 740;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.office-grid article span {
    color: rgba(255, 255, 255, 0.36);
    font-size: 12px;
    font-weight: 730;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.office-grid article p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.69);
    font-size: 12px;
    line-height: 1.6;
}

.office-arrow {
    display: grid;
    place-items: center;
    padding: 0;
}

.office-arrow svg {
    width: 20px;
    fill: none;
    stroke: var(--lime);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s var(--ease);
}

.office-arrow:hover svg {
    transform: translateY(-4px);
}

.site-footer {
    padding: 55px 0 24px;
    color: var(--white);
    background: #051d19;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 70px;
}

.brand--footer .brand-copy span {
    color: rgba(255, 255, 255, 0.42);
}

.footer-nav,
.footer-contact {
    display: grid;
    gap: 11px;
}

.footer-nav a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--lime);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 52px;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.28);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 9px;
    letter-spacing: 0.05em;
}

.floating-actions {
    position: fixed;
    z-index: 990;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.35s var(--ease);
}

.floating-actions.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(24px);
}

.floating-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 750;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 12px 36px rgba(8, 39, 34, 0.22);
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.floating-btn svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.floating-btn--call {
    color: var(--white);
    background: #0d3830;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(6, 26, 21, 0.28);
}

.floating-btn--call:hover {
    background: #144e44;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(6, 26, 21, 0.36);
}

.floating-btn--whatsapp {
    color: var(--white);
    background: #20a76a;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 32px rgba(18, 140, 88, 0.28);
}

.floating-btn--whatsapp:hover {
    background: #25be7a;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(18, 140, 88, 0.38);
}

/* Dialog */
.project-dialog {
    width: min(640px, calc(100% - 34px));
    max-height: min(780px, calc(100svh - 34px));
    padding: 0;
    color: var(--ink);
    border: 0;
    border-radius: 28px;
    background: var(--paper);
    box-shadow: 0 40px 120px rgba(0, 20, 16, 0.42);
}

.project-dialog::backdrop {
    background: rgba(3, 22, 18, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-dialog[open] {
    animation: dialogIn 0.4s var(--ease);
}

@keyframes dialogIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.dialog-close {
    position: absolute;
    z-index: 3;
    top: 19px;
    right: 19px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--white);
    border: 0;
    border-radius: 50%;
    background: var(--deep);
    cursor: pointer;
}

.dialog-close svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.dialog-content {
    padding: 62px clamp(28px, 6vw, 58px) 55px;
}

.dialog-kicker {
    color: #66817a;
    font-size: 9px;
    font-weight: 770;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dialog-content h2 {
    margin: 14px 0 22px;
    font-size: clamp(38px, 6vw, 58px);
    font-weight: 600;
}

.dialog-content > p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.dialog-content dl {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    margin: 32px 0 35px;
    border-top: 1px solid var(--line);
}

.dialog-content dt,
.dialog-content dd {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.dialog-content dt {
    color: #84908c;
    font-weight: 650;
}

.dialog-content dd {
    color: var(--ink-2);
    font-weight: 650;
}

.toast {
    position: fixed;
    z-index: 2000;
    right: 24px;
    bottom: 82px;
    max-width: min(360px, calc(100% - 48px));
    padding: 14px 17px;
    color: var(--white);
    border-radius: 12px;
    background: var(--deep);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s var(--ease);
    font-size: 12px;
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Reveal motion */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s var(--ease),
        transform 0.75s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Focus */
:focus-visible {
    outline: 3px solid rgba(212, 247, 111, 0.7);
    outline-offset: 4px;
}

.quote-form :focus-visible {
    outline: none;
}

/* Responsive */
@media (max-width: 1180px) {
    :root {
        --container: 1080px;
    }

    .desktop-nav {
        gap: 21px;
    }

    .header-phone span {
        display: none;
    }

    .header-phone {
        display: grid;
        place-items: center;
        width: 39px;
        height: 39px;
        margin-left: 0;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 50%;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(50px, 5.5vw, 72px);
    }

    .energy-console {
        min-height: 570px;
    }

    .model-stage {
        height: 433px;
    }

    .featured-project-copy {
        padding: 55px;
    }

    .quote-shell {
        grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
        gap: 65px;
    }
}

@media (max-width: 980px) {
    :root {
        --header-h: 72px;
    }

    .container {
        width: min(calc(100% - 38px), var(--container));
    }

    .desktop-nav,
    .header-phone,
    .header-actions > .button {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-h) + 76px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 62px;
    }

    .hero-copy {
        max-width: 780px;
    }

    .hero h1 {
        font-size: clamp(54px, 8.5vw, 79px);
    }

    .hero-visual {
        width: min(720px, 100%);
        margin-inline: auto;
    }

    .energy-console {
        min-height: 610px;
    }

    .model-stage {
        height: 473px;
    }

    .hero-reference-card {
        right: -8px;
    }

    .trust-ribbon {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .trust-ribbon i {
        display: none;
    }

    .trust-ribbon span {
        width: calc(50% - 10px);
    }

    .section-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 21px;
    }

    .section-heading > p {
        max-width: 640px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        border: 0;
        gap: 13px;
    }

    .service-card,
    .service-card:first-child {
        display: grid;
        grid-template-columns: 50px 84px 1fr auto;
        grid-template-rows: auto auto auto;
        align-items: center;
        gap: 0 20px;
        padding: 30px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
    }

    .service-card:hover,
    .service-card.is-open {
        transform: translateY(-3px);
    }

    .service-index {
        grid-row: 1 / 4;
    }

    .service-icon {
        grid-row: 1 / 4;
        width: 70px;
        height: 70px;
        margin: 0;
    }

    .service-card h3 {
        grid-column: 3;
        min-height: 0;
        margin: 0 0 8px;
    }

    .service-card > p {
        grid-column: 3;
        margin: 0;
    }

    .service-toggle {
        grid-column: 4;
        grid-row: 1 / 4;
        margin: 0;
    }

    .service-toggle svg {
        width: 20px;
    }

    .service-toggle {
        font-size: 0;
    }

    .service-detail {
        grid-column: 3 / 5;
    }

    .about-layout,
    .faq-layout,
    .quote-shell {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .about-copy,
    .faq-intro,
    .quote-copy {
        position: static;
    }

    .about-copy {
        max-width: 760px;
    }

    .process-grid {
        gap: 25px;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-project-copy {
        min-height: 500px;
    }

    .featured-project-visual {
        min-height: 460px;
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        border-left: 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-card--reference {
        grid-column: 1 / 3;
    }

    .reference-logo-wrap img {
        width: 38%;
    }

    .ekb-layout {
        grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
        gap: 60px;
    }

    .quote-copy {
        max-width: 760px;
    }

    .contact-cards {
        grid-template-columns: 1fr 1fr;
    }

    .quote-form {
        max-width: 720px;
    }

    .office-grid {
        grid-template-columns: 0.45fr 1fr 1fr 55px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .section {
        padding: 92px 0;
    }

    .brand-copy strong {
        font-size: 13px;
    }

    .brand-copy span {
        font-size: 9px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;
    }

    .hero {
        padding-top: calc(var(--header-h) + 28px);
        padding-bottom: 36px;
    }

    .hero h1 {
        font-size: clamp(46px, 14vw, 67px);
        line-height: 0.98;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-proof {
        gap: 16px;
        justify-content: space-between;
    }

    .hero-proof > div {
        min-width: 0;
        flex: 1;
        padding-right: 15px;
    }

    .hero-proof strong {
        font-size: 22px;
    }

    .hero-proof span {
        font-size: 8px;
    }

    .energy-console {
        min-height: 485px;
        border-radius: 23px;
        transform: none;
    }

    .console-topbar {
        height: 52px;
        padding: 0 16px;
        justify-content: center;
    }

    .console-status {
        display: none;
    }

    .console-code {
        width: 100%;
        text-align: center;
        padding: 6px 12px;
        font-size: 9.5px;
        letter-spacing: 0.1em;
    }

    .model-stage {
        height: 368px;
    }

    .building-wireframe {
        top: 21px;
        width: 115%;
    }

    .energy-scale {
        grid-template-columns: 1fr;
        gap: 8px;
        min-height: 65px;
        padding: 10px 16px;
    }

    .scale-title,
    .scale-score {
        display: none;
    }

    .metric-chip--heat,
    .model-label {
        display: none;
    }

    .metric-chip--class {
        top: 17px;
        right: 13px;
    }

    .metric-chip--report {
        right: 13px;
        bottom: 14px;
    }

    .hero-reference-card {
        right: 8px;
        bottom: 57px;
        width: 230px;
        padding: 13px 14px;
    }

    .hero-reference-card strong {
        font-size: 14px;
    }

    .trust-ribbon {
        gap: 14px;
        font-size: 8px;
        line-height: 1.45;
    }

    .section-heading h2,
    .about h2,
    .process h2,
    .ekb-copy h2,
    .faq h2,
    .quote h2 {
        font-size: clamp(38px, 12vw, 55px);
    }

    .service-card,
    .service-card:first-child {
        grid-template-columns: 40px 1fr auto;
        padding: 25px 21px;
        gap: 0 13px;
    }

    .service-index {
        grid-row: 1;
    }

    .service-icon {
        display: none;
    }

    .service-card h3 {
        grid-column: 2;
        font-size: 24px;
    }

    .service-card > p {
        grid-column: 2 / 4;
        margin-top: 10px;
    }

    .service-toggle {
        grid-column: 3;
        grid-row: 1;
    }

    .service-detail {
        grid-column: 2 / 4;
    }

    .about-layout {
        gap: 46px;
    }

    .value-card {
        grid-template-columns: 44px 1fr;
        gap: 0 12px;
    }

    .process-track {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .process-step {
        display: grid;
        grid-template-columns: 80px 1fr;
        align-items: center;
        gap: 0 20px;
        text-align: left;
    }

    .step-orbit {
        grid-row: 1 / 3;
        width: 76px;
        height: 76px;
        margin: 0;
    }

    .process-step h3,
    .process-step p {
        max-width: none;
        margin-inline: 0;
    }

    .process-step h3 {
        margin-bottom: 9px;
        font-size: 24px;
    }

    .featured-project-copy {
        min-height: 530px;
        padding: 42px 28px;
    }

    .project-eyebrow {
        margin-bottom: 47px;
    }

    .featured-project-visual {
        min-height: 350px;
    }

    .project-seal {
        right: 22px;
        bottom: 20px;
        width: 72px;
        height: 72px;
        font-size: 8px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-card--reference {
        grid-column: auto;
    }

    .reference-logo-wrap img {
        width: 60%;
    }

    .ekb-layout {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .ekb-photo {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }

    .photo-caption {
        right: 10px;
        bottom: 10px;
    }

    .faq-layout {
        gap: 45px;
    }

    .accordion-item > button {
        min-height: 86px;
    }

    .accordion-item button span {
        font-size: 20px;
    }

    .accordion-panel {
        padding-right: 0;
    }

    .quote-shell {
        gap: 45px;
    }

    .contact-cards,
    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 27px 20px;
        border-radius: 23px;
    }

    .choice-group {
        grid-template-columns: 1fr;
    }

    .office-grid {
        grid-template-columns: 1fr;
        border-right: 0;
        border-left: 0;
    }

    .office-grid > * {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .office-arrow {
        min-height: 66px;
        border-bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px 25px;
    }

    .brand--footer {
        grid-column: 1 / 3;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .dialog-content dl {
        grid-template-columns: 1fr;
    }

    .dialog-content dt {
        padding-bottom: 3px;
        border-bottom: 0;
    }

    .dialog-content dd {
        padding-top: 0;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 45px;
    }

    .hero-proof > div {
        padding-right: 9px;
    }

    .hero-proof > div:not(:last-child)::after {
        right: 1px;
    }

    .energy-console {
        min-height: 430px;
    }

    .model-stage {
        height: 313px;
    }

    .metric-chip--report {
        display: none;
    }

    .hero-reference-card {
        width: 205px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .class-scale i {
        transform: scaleX(1);
    }
}

.choice-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.choice-field legend {
    margin-bottom: 8px;
    padding: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Early trust proof */
.project-proof-bar {
    position: relative;
    z-index: 5;
    color: var(--ink);
    background: var(--lime);
    border-bottom: 1px solid rgba(7, 31, 28, 0.12);
}

.project-proof-inner {
    min-height: 122px;
    display: grid;
    grid-template-columns: 0.9fr 1.35fr auto;
    align-items: center;
    gap: 42px;
}

.proof-intro span {
    display: block;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.proof-intro p {
    margin: 5px 0 0;
    color: rgba(7, 31, 28, 0.62);
    font-size: 12px;
}

.project-proof-inner > strong {
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.project-proof-inner > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 17px;
    border: 1px solid rgba(7, 31, 28, 0.22);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s var(--ease);
}

.project-proof-inner > a:hover {
    color: var(--white);
    background: var(--deep);
    transform: translateY(-2px);
}

.project-proof-inner > a svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-choice-fieldset {
    display: grid;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-choice-fieldset legend {
    margin: 0 0 8px;
    padding: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .project-proof-inner {
        grid-template-columns: 1fr auto;
        gap: 14px 28px;
        padding-block: 24px;
    }

    .proof-intro {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .project-proof-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .project-proof-inner > a {
        width: max-content;
    }
}

/* Final layout corrections after visual QA */
.hero {
    flex-direction: column;
    justify-content: center;
}

.hero-grid,
.trust-ribbon {
    flex: 0 0 auto;
}

@media (max-width: 620px) {
    .featured-project-copy,
    .featured-project-visual {
        width: 100%;
        min-width: 0;
    }
}

/* Stable full-width sizing for the hero's column flex layout */
.hero-grid,
.trust-ribbon {
    width: calc(100% - 48px);
    max-width: var(--container);
    margin-inline: auto;
    align-self: center;
}

@media (max-width: 980px) {
    .hero-grid,
    .trust-ribbon {
        width: calc(100% - 38px);
    }
}

@media (max-width: 720px) {
    .hero-grid,
    .trust-ribbon {
        width: calc(100% - 30px);
    }
}

/* --- Feedback revision: official logo, real EKB document, production-ready catalog --- */
.brand {
    padding: 8px 14px;
    border-radius: 18px;
    /* background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12); */
}

.brand--footer {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo {
    display: block;
    width: min(320px, 34vw);
    min-width: 190px;
    height: auto;
}

.brand-logo--footer {
    width: min(320px, 100%);
}

.hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
}

.document-console {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(12, 42, 36, 0.95) 0%, rgba(8, 31, 27, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
}

.document-stage {
    position: relative;
    min-height: 680px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.document-glow {
    position: absolute;
    inset: auto auto 8% 50%;
    width: 62%;
    height: 44%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(212, 247, 111, 0.28) 0%, rgba(91, 210, 174, 0.16) 28%, rgba(91, 210, 174, 0) 72%);
    filter: blur(12px);
    pointer-events: none;
}

.document-grid {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.88), transparent 85%);
}

.document-scan {
    position: absolute;
    top: -10%;
    left: 4%;
    right: 4%;
    height: 28%;
    background: linear-gradient(180deg, rgba(212, 247, 111, 0) 0%, rgba(212, 247, 111, 0.18) 48%, rgba(124, 226, 197, 0) 100%);
    filter: blur(8px);
    animation: documentScan 5.4s ease-in-out infinite;
}

@keyframes documentScan {
    0%,
    100% {
        transform: translateY(-12%);
        opacity: 0.55;
    }
    50% {
        transform: translateY(230%);
        opacity: 0.92;
    }
}

.document-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    padding: 14px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
    transform: perspective(1500px) rotateY(-8deg) rotateX(6deg);
}

.document-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.hero-floating-card {
    position: absolute;
    z-index: 3;
    display: grid;
    gap: 2px;
    min-width: 144px;
    padding: 16px 18px;
    border-radius: 18px;
    color: var(--white);
    background: rgba(8, 31, 27, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.hero-floating-card span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-floating-card strong {
    font-size: 22px;
    letter-spacing: -0.03em;
}

.hero-floating-card--class {
    top: 58px;
    left: 12px;
}
.hero-floating-card--validity {
    right: 18px;
    top: 108px;
}
.hero-floating-card--service {
    left: 40px;
    bottom: 42px;
}

.energy-scale--document {
    margin: 0 28px 28px;
}

.project-proof-bar {
    padding: 22px 0;
    overflow: hidden;
    background: linear-gradient(90deg, #143f37, #0d322c);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.project-proof-marquee,
.portfolio-banner {
    overflow: hidden;
}

.project-proof-track,
.portfolio-banner-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    white-space: nowrap;
    animation: marqueeFlow 32s linear infinite;
}

.project-proof-track span,
.portfolio-banner-track span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 600;
}

.project-proof-track strong,
.portfolio-banner-track strong {
    position: relative;
    padding-left: 22px;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.project-proof-track strong::before,
.portfolio-banner-track strong::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lime);
    transform: translateY(-50%);
}

@keyframes marqueeFlow {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.portfolio-banner {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(8, 39, 34, 0.94), rgba(20, 72, 63, 0.94));
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

.portfolio-banner-track {
    animation-duration: 26s;
}

.project-catalog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid rgba(16, 27, 25, 0.08);
    box-shadow: var(--shadow-sm);
}

.catalog-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-card-top > span {
    color: var(--deep-3);
    font-size: 12px;
    font-weight: 720;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-card h3 {
    margin-bottom: 0;
    font-size: 30px;
}

.catalog-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.catalog-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-card li {
    padding-top: 10px;
    border-top: 1px solid rgba(16, 27, 25, 0.09);
    color: var(--ink-2);
    font-size: 14px;
}

.catalog-card--owner {
    color: var(--white);
    background: linear-gradient(160deg, #0b2f2a 0%, #14483f 100%);
}

.catalog-card--owner .catalog-card-top > span,
.catalog-card--owner p,
.catalog-card--owner li {
    color: rgba(255, 255, 255, 0.78);
}

.catalog-card--owner li {
    border-color: rgba(255, 255, 255, 0.12);
}

.catalog-logo-wrap {
    display: grid;
    place-items: center;
    min-height: 160px;
    padding: 22px;
    border-radius: 22px;
    background: var(--paper-2);
}

.catalog-logo-wrap img {
    width: min(100%, 260px);
    height: auto;
}

.catalog-document-thumb {
    padding: 14px;
    border-radius: 22px;
    background: var(--paper-2);
}

.catalog-document-thumb img {
    width: 100%;
    aspect-ratio: 892 / 1240;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(16, 27, 25, 0.12);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.catalog-card--owner .icon-button {
    border-color: rgba(255, 255, 255, 0.18);
}

.icon-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}



@media (max-width: 1180px) {
    .header-phone {
        display: none;
    }

    .brand-logo {
        width: min(280px, 30vw);
    }

    .project-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .document-stage {
        min-height: 600px;
    }
}

@media (max-width: 980px) {
    .brand {
        padding: 7px 12px;
    }

    .brand-logo {
        width: 250px;
        min-width: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .document-stage {
        min-height: 560px;
    }

    .document-frame {
        width: min(100%, 460px);
        transform: none;
    }

    .hero-floating-card--class {
        top: 24px;
        left: 16px;
    }
    .hero-floating-card--validity {
        top: auto;
        right: 18px;
        bottom: 118px;
    }
    .hero-floating-card--service {
        left: 22px;
        bottom: 20px;
    }
}

@media (max-width: 720px) {
    .brand-logo {
        width: 198px;
    }

    .button--small {
        display: none;
    }

    .project-catalog {
        grid-template-columns: 1fr;
    }

    .catalog-card {
        padding: 22px;
    }

    .catalog-card h3 {
        font-size: 24px;
    }

    .document-stage {
        min-height: 430px;
        padding: 18px;
    }

    .hero-floating-card {
        min-width: 0;
        padding: 12px 14px;
    }

    .hero-floating-card strong {
        font-size: 17px;
    }

    .energy-scale--document {
        margin: 0 18px 18px;
    }
}

@media (max-width: 560px) {
    .brand {
        max-width: calc(100vw - 140px);
        padding: 7px 10px;
    }

    .brand-logo {
        width: 100%;
    }

    .document-stage {
        min-height: 360px;
    }

    .hero-floating-card--class {
        top: 16px;
        left: 12px;
    }

    .hero-floating-card--validity {
        right: 12px;
        bottom: 88px;
    }

    .hero-floating-card--service {
        left: 12px;
        bottom: 12px;
    }

    .project-proof-track span,
    .portfolio-banner-track span,
    .project-proof-track strong,
    .portfolio-banner-track strong {
        font-size: 13px;
    }
}

/* Mobile QA refinements */
.catalog-logo-wrap {
    background: linear-gradient(145deg, #0b2f2a, #173f38);
}

.brand--footer {
    width: max-content;
    max-width: 100%;
}

.brand--footer .brand-icon {
    width: 36px;
    height: 36px;
}

@media (max-width: 720px) {
    .brand-logo--footer {
        width: min(260px, 72vw);
    }

    .portfolio-banner {
        margin-top: 22px;
        padding: 15px 16px;
        border-radius: 18px;
    }

    .project-proof-bar {
        padding-block: 18px;
    }
}

/* Mobile menu icon refinement */
.menu-toggle {
    position: relative;
}

.menu-toggle span,
.menu-toggle span + span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    margin: 0;
    transform-origin: center;
}

.menu-toggle span:first-child {
    transform: translate(-50%, -4px);
}

.menu-toggle span:last-child {
    transform: translate(-50%, 4px);
}

.menu-toggle[aria-expanded='true'] span:first-child {
    transform: translate(-50%, 0) rotate(45deg);
    translate: none;
}

.menu-toggle[aria-expanded='true'] span:last-child {
    transform: translate(-50%, 0) rotate(-45deg);
    translate: none;
}

/* Robust hamburger / close glyph */
.menu-toggle span {
    display: none;
}

.menu-toggle::before,
.menu-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.28s var(--ease);
}

.menu-toggle::before {
    transform: translate(-50%, -4px);
}

.menu-toggle::after {
    transform: translate(-50%, 4px);
}

.menu-toggle[aria-expanded='true']::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded='true']::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 720px) {
    .floating-actions {
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
        gap: 8px;
    }

    .floating-btn {
        min-height: 48px;
        padding: 0 16px;
        font-size: 12.5px;
    }
}

@media (max-width: 440px) {
    .floating-actions {
        right: 10px;
        left: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        gap: 8px;
    }

    .floating-btn {
        flex: 1;
        min-height: 48px;
        padding: 0 12px;
        font-size: 12px;
        gap: 6px;
    }
}

@media (max-width: 560px) {
    .brand {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* =====================================================================
   Animated hero restoration + document-first project catalogue
   ===================================================================== */

.projects--documents {
    background: radial-gradient(circle at 92% 8%, rgba(91, 210, 174, 0.1), transparent 30%), var(--paper);
}

.project-highlight-marquee {
    position: relative;
    margin-top: 36px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(112deg, var(--deep) 0%, var(--deep-3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

.project-highlight-marquee::before,
.project-highlight-marquee::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
}

.project-highlight-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--deep), transparent);
}

.project-highlight-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--deep-3), transparent);
}

.project-highlight-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    min-width: 200%;
    padding: 18px 28px;
    white-space: nowrap;
    animation: projectTicker 28s linear infinite;
}

.project-highlight-track span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.project-highlight-track strong {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.project-highlight-track strong::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(212, 247, 111, 0.1);
    transform: translateY(-50%);
}

@keyframes projectTicker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.project-document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.project-document-card {
    display: grid;
    grid-template-columns: minmax(210px, 0.82fr) minmax(0, 1.18fr);
    min-height: 360px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(16, 27, 25, 0.09);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.project-document-card:hover {
    border-color: rgba(20, 72, 63, 0.22);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.project-document-preview {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 100%;
    padding: 20px;
    overflow: hidden;
    border: 0;
    cursor: zoom-in;
    color: inherit;
    background: linear-gradient(145deg, rgba(213, 226, 207, 0.82), rgba(238, 243, 234, 0.96)), var(--paper-2);
}

.project-document-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(13, 53, 47, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 53, 47, 0.045) 1px, transparent 1px);
    background-size: 24px 24px;
}

.project-document-preview > img,
.report-sheet-mini {
    position: relative;
    z-index: 1;
    width: min(100%, 215px);
    max-height: 310px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 20px 44px rgba(8, 39, 34, 0.18);
    transition:
        transform 0.45s var(--ease),
        filter 0.35s ease;
}

.project-document-card:hover .project-document-preview > img,
.project-document-card:hover .report-sheet-mini {
    transform: translateY(-4px) scale(1.025);
    filter: saturate(1.04);
}

.project-document-badge {
    position: absolute;
    z-index: 3;
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 8px 11px;
    color: var(--white);
    background: rgba(8, 39, 34, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.project-document-overlay {
    position: absolute;
    z-index: 4;
    right: 15px;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    color: var(--white);
    background: rgba(8, 39, 34, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.project-document-overlay i {
    font-size: 12px;
    font-style: normal;
    font-weight: 720;
}

.project-document-overlay svg,
.project-document-link svg,
.project-reference-band > a svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-document-card:hover .project-document-overlay,
.project-document-preview:focus-visible .project-document-overlay {
    opacity: 1;
    transform: none;
}

.project-document-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 34px 30px 30px;
}

.project-document-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 720;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.project-document-meta i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--mint);
}

.project-document-copy h3 {
    margin-bottom: 14px;
    font-size: clamp(30px, 3vw, 42px);
}

.project-document-copy p {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 14px;
}

.project-document-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin-top: auto;
    padding: 14px 0 0;
    color: var(--deep-3);
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(16, 27, 25, 0.1);
    cursor: pointer;
    font-size: 13px;
    font-weight: 760;
    text-align: left;
}

.project-document-link svg {
    transition: transform 0.3s var(--ease);
}

.project-document-link:hover svg {
    transform: translateX(4px);
}

.report-sheet-mini {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    aspect-ratio: 210 / 294;
    padding: 26px 22px 22px;
    color: var(--deep);
    text-align: left;
}

.report-sheet-mini__brand {
    align-self: flex-start;
    margin-bottom: 26px;
    padding: 5px 7px;
    color: var(--white);
    background: #438f43;
    border-radius: 4px;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.report-sheet-mini strong {
    margin-bottom: 22px;
    color: #38833e;
    font-family: 'Avenir Next', Avenir, sans-serif;
    font-size: 18px;
    line-height: 1.05;
}

.report-sheet-mini em {
    display: block;
    width: 100%;
    height: 7px;
    margin-top: 10px;
    border-radius: 999px;
    background: #e4eadf;
}

.report-sheet-mini em:nth-of-type(2) {
    width: 76%;
}
.report-sheet-mini em:nth-of-type(3) {
    width: 90%;
}
.report-sheet-mini em:nth-of-type(4) {
    width: 62%;
}

.report-sheet-mini small {
    margin-top: auto;
    color: #758178;
    font-size: 9px;
    line-height: 1.35;
}

.references-section {
    margin-top: 36px;
    padding: 32px 36px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.references-header {
    text-align: center;
    margin-bottom: 24px;
}

.references-header .section-kicker {
    margin-bottom: 6px;
}

.references-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    margin: 0;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.reference-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    min-height: 110px;
    background: var(--white);
    border: 1px solid rgba(16, 27, 25, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(10, 37, 31, 0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(16, 27, 25, 0.18);
}

.reference-card--dark {
    background: #112824;
    border-color: rgba(255, 255, 255, 0.08);
}

.reference-card--dark:hover {
    border-color: rgba(212, 247, 111, 0.35);
    box-shadow: 0 16px 36px rgba(4, 26, 22, 0.25);
}

.reference-card img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s var(--ease);
}

.reference-card:hover img {
    transform: scale(1.04);
}

/* Full document viewer */
.project-dialog.project-document-dialog {
    width: min(1180px, calc(100vw - 34px));
    max-width: none;
    height: min(900px, calc(100dvh - 34px));
    max-height: none;
    padding: 0;
    overflow: hidden;
    color: var(--ink);
    background: var(--paper);
    border: 0;
    border-radius: 30px;
    box-shadow: 0 36px 120px rgba(0, 18, 15, 0.38);
}

.project-dialog.project-document-dialog[open] {
    display: block;
}

.project-document-dialog .project-dialog-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.74fr);
    height: 100%;
}

.project-document-dialog .dialog-close {
    position: absolute;
    z-index: 8;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--white);
    background: rgba(8, 39, 34, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.project-dialog-info {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 58px 40px 34px;
    overflow-y: auto;
    color: var(--white);
    background: radial-gradient(circle at 18% 5%, rgba(91, 210, 174, 0.18), transparent 26%), linear-gradient(155deg, var(--deep-3), var(--deep));
}

.project-dialog-info .dialog-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--lime);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.project-dialog-info .dialog-kicker::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.project-dialog-info h2 {
    margin-bottom: 20px;
    font-size: clamp(38px, 4vw, 58px);
}

.project-dialog-info > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.project-dialog-info dl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 32px 0;
}

.project-dialog-info dt,
.project-dialog-info dd {
    margin: 0;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.project-dialog-info dt {
    padding-bottom: 2px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-dialog-info dd {
    padding-top: 2px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.document-zoom-controls {
    display: grid;
    grid-template-columns: 42px 58px 42px 1fr;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 18px;
}

.document-zoom-controls button,
.document-zoom-controls output {
    display: grid;
    place-items: center;
    min-height: 40px;
    margin: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    font-size: 13px;
}

.document-zoom-controls button {
    cursor: pointer;
}

.document-zoom-controls button:hover {
    background: rgba(255, 255, 255, 0.13);
}

.document-zoom-controls .document-zoom-reset {
    padding-inline: 12px;
    font-size: 11px;
    font-weight: 720;
}

.project-dialog-info .button {
    width: 100%;
}

.project-dialog-viewer {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
    background: #e8eee5;
}

.document-viewer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 62px;
    padding: 0 68px 0 26px;
    color: var(--ink-2);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(16, 27, 25, 0.09);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.document-viewer-toolbar span {
    font-size: 13px;
    font-weight: 760;
}

.document-viewer-toolbar small {
    color: var(--muted);
    font-size: 11px;
}

.document-viewer-scroll {
    min-width: 0;
    min-height: 0;
    padding: 30px;
    overflow: auto;
    overscroll-behavior: contain;
    background:
        linear-gradient(45deg, rgba(13, 53, 47, 0.025) 25%, transparent 25%, transparent 75%, rgba(13, 53, 47, 0.025) 75%),
        linear-gradient(45deg, rgba(13, 53, 47, 0.025) 25%, transparent 25%, transparent 75%, rgba(13, 53, 47, 0.025) 75%), #e8eee5;
    background-position:
        0 0,
        14px 14px;
    background-size: 28px 28px;
}

.document-viewer-canvas {
    width: 100%;
    min-width: 260px;
    margin: 0 auto;
    transition: width 0.24s var(--ease);
}

.document-viewer-canvas > img,
.report-document-full {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(8, 39, 34, 0.19);
}

.document-viewer-note {
    margin: 0;
    padding: 12px 24px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.68);
    border-top: 1px solid rgba(16, 27, 25, 0.08);
    font-size: 10px;
    text-align: center;
}

.report-document-full {
    aspect-ratio: 210 / 297;
    padding: 8% 8% 6%;
    color: #263128;
}

.report-document-full[hidden] {
    display: none;
}

.report-document-full header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 5%;
    border-bottom: 8px solid #438f43;
}

.report-document-full header span {
    padding: 8px 10px;
    color: var(--white);
    background: #438f43;
    border-radius: 5px;
    font-size: clamp(10px, 1.2vw, 16px);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.report-document-full header strong {
    color: #438f43;
    font-family: 'Avenir Next', Avenir, sans-serif;
    font-size: clamp(15px, 2vw, 28px);
    text-align: right;
}

.report-document-full > section {
    padding: 7% 0 4%;
}

.report-document-full > section > p {
    margin-bottom: 5px;
    color: #758178;
    font-size: clamp(9px, 1vw, 13px);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.report-document-full h3 {
    margin-bottom: 7%;
    color: #2f7435;
    font-size: clamp(30px, 5vw, 68px);
}

.report-document-full dl {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    margin: 0;
    border-top: 1px solid #cdd7ca;
}

.report-document-full dt,
.report-document-full dd {
    margin: 0;
    padding: 2.4% 0;
    border-bottom: 1px solid #dfe6dc;
    font-size: clamp(9px, 1.1vw, 14px);
}

.report-document-full dt {
    color: #758178;
    font-weight: 700;
}

.report-document-full dd {
    color: #28332a;
    font-weight: 650;
}

.report-energy-chart {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 10px 12px;
    margin-top: 3%;
    padding: 5%;
    background: #f0f4ed;
    border-radius: 14px;
}

.report-energy-chart span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--white);
    background: #438f43;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

.report-energy-chart i {
    width: var(--bar);
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #68a944, #b6d62f);
}

.report-document-full footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 8%;
    padding-top: 3%;
    color: #748077;
    border-top: 1px solid #dfe6dc;
    font-size: clamp(8px, 0.9vw, 12px);
}

.report-document-full footer strong {
    color: #438f43;
}

@media (max-width: 1120px) {
    .project-document-grid {
        grid-template-columns: 1fr;
    }

    .project-document-card {
        grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
    }

    .project-document-preview > img,
    .report-sheet-mini {
        width: min(100%, 240px);
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 840px) {
    .project-dialog.project-document-dialog {
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }

    .project-document-dialog .project-dialog-shell {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .project-dialog-info {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 22px;
        max-height: 42dvh;
        padding: 28px 66px 22px 24px;
    }

    .project-dialog-info .dialog-kicker,
    .project-dialog-info h2,
    .project-dialog-info > p,
    .project-dialog-info dl {
        grid-column: 1 / -1;
    }

    .project-dialog-info .dialog-kicker {
        margin-bottom: 4px;
    }

    .project-dialog-info h2 {
        margin-bottom: 4px;
        font-size: 34px;
    }

    .project-dialog-info > p {
        display: none;
    }

    .project-dialog-info dl {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin: 8px 0 4px;
    }

    .project-dialog-info dt,
    .project-dialog-info dd {
        border: 0;
    }

    .document-zoom-controls {
        grid-template-columns: 38px 54px 38px 70px;
        margin: 0;
    }

    .project-dialog-info .button {
        min-height: 40px;
        padding: 0 16px;
        font-size: 11px;
    }

    .document-viewer-toolbar {
        min-height: 50px;
        padding-left: 18px;
    }

    .document-viewer-scroll {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    .project-highlight-marquee::before,
    .project-highlight-marquee::after {
        width: 30px;
    }

    .project-highlight-track {
        gap: 20px;
        padding-block: 15px;
    }

    .project-document-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .project-document-preview {
        min-height: 330px;
    }

    .project-document-preview > img,
    .report-sheet-mini {
        width: min(100%, 220px);
        max-height: 285px;
    }

    .project-document-overlay {
        opacity: 1;
        transform: none;
    }

    .project-document-copy {
        padding: 26px 24px 24px;
    }

    .project-document-copy h3 {
        font-size: 32px;
    }

    .references-section {
        padding: 24px 20px;
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .reference-card {
        padding: 16px 18px;
        min-height: 95px;
    }
}

@media (max-width: 560px) {
    .project-dialog-info {
        max-height: 44dvh;
        grid-template-columns: 1fr;
        padding: 24px 64px 18px 18px;
    }

    .project-dialog-info dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-dialog-info dl > :nth-last-child(-n + 2) {
        display: none;
    }

    .document-zoom-controls {
        grid-template-columns: 38px 54px 38px 64px;
    }

    .project-dialog-info .button {
        display: none;
    }

    .document-viewer-toolbar small {
        display: none;
    }

    .document-viewer-scroll {
        padding: 14px;
    }

    .document-viewer-note {
        padding: 9px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-highlight-track {
        animation: none;
    }
}

.document-viewer-canvas > img[hidden] {
    display: none;
}
