/* =========================================================
   AES — UKRAINIAN VERSION OVERRIDES
   Clean local layer. Global design lives in ../styles.css
========================================================= */

/* Navigation jumps instantly instead of smooth-scrolling. */
html {
    scroll-behavior: auto;
}

section[id] {
    scroll-margin-top: 20px;
}



/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(195, 155, 75, 0.45);
    border-radius: 50%;

    background: #101a30;
    color: #c39b4b;

    font-size: 20px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;

    z-index: 9999;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover {
    background: #c39b4b;
    color: #101a30;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;

    background: rgba(255, 255, 255, 0.14);
}


/* CARD */

.project-card {
    position: relative;

    min-height: 380px;

    overflow: hidden;

    background: #111b31;

    border: none;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* IMAGE */

.project-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    opacity: 0;

    transform: scale(1.04);

    transition:
        opacity 0.45s ease,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}


.project-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(8, 15, 28, 0.12) 0%,
            rgba(8, 15, 28, 0.35) 45%,
            rgba(8, 15, 28, 0.94) 100%
        );
}


/* IMAGE ITSELF */

.project-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}


/* CONTENT */

.project-content {
    position: relative;
    z-index: 2;
=> No single line

    height: 100%;

    min-height: 380px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 30px;

    transition:
        transform 0.45s ease;
}


.project-content > span {
    margin-bottom: auto;

    color: #c59a45;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;
}


.project-content h3 {
    margin-bottom: 12px;

    color: #ffffff;

    font-size: 27px;
    font-weight: 500;

    line-height: 1.1;
}


.project-content strong {
    display: block;

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 500;
}


.project-content p {
    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
}


/* =========================================================
   HOVER
========================================================= */

.project-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.24);
}


.project-card:hover .project-image {

    opacity: 1;

    transform: scale(1);
}


.project-card:hover .project-image img {

    transform: scale(1.07);
}


.project-card:hover .project-content {

    transform: translateY(-3px);
}


/* =========================================================
   GOLD TOP LINE ON HOVER
========================================================= */

.project-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    z-index: 5;

    width: 0;
    height: 2px;

    background: #c59a45;

    transition:
        width 0.5s ease;
}


.project-card:hover::before {

    width: 100%;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .project-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .project-grid {

        grid-template-columns: 1fr;

    }


    .project-card {

        min-height: 350px;

    }


    .project-content {

        min-height: 350px;

    }


    /*
       На телефоні немає hover.
       Тому фотографії показуємо одразу.
    */

    .project-image {

        opacity: 1;

        transform: scale(1);

    }


    .project-image img {

        transform: scale(1);

    }

}

/* =========================================================
   TECHNOLOGY / SOLUTIONS
========================================================= */

.technology-section {
    position: relative;

    padding: 140px 0;

    background: #f4f3ef;

    color: #101a30;

    overflow: hidden;
}


/* HEADER */

.technology-header {
    max-width: 850px;

    margin-bottom: 70px;
}

.technology-header .section-label {
    display: block;

    margin-bottom: 24px;

    color: #b58a38;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;
}

.technology-header h2 {
    margin: 0;

    font-size: clamp(48px, 5vw, 76px);

    line-height: 0.98;

    letter-spacing: -0.055em;
}

.technology-header h2 span {
    display: block;

    color: #7c8490;
}


/* =========================================================
   MAIN INTERFACE
========================================================= */

.technology-interface {
    display: grid;

    grid-template-columns: 0.75fr 1.25fr;

    min-height: 560px;

    border-top: 1px solid #d4d3ce;

    border-bottom: 1px solid #d4d3ce;
}


/* =========================================================
   LEFT NAVIGATION
========================================================= */

.technology-nav {
    display: flex;

    flex-direction: column;

    border-right: 1px solid #d4d3ce;
}


.technology-item {
    position: relative;

    display: grid;

    grid-template-columns: 45px 1fr;

    grid-template-rows: auto auto;

    column-gap: 15px;

    width: 100%;

    min-height: 140px;

    padding: 28px 30px;

    border: 0;

    border-bottom: 1px solid #d4d3ce;

    background: transparent;

    color: #101a30;

    text-align: left;

    font-family: inherit;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.technology-item:last-child {
    border-bottom: 0;
}


.technology-item > span {
    grid-row: 1 / 3;

    color: #a1a5aa;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.12em;

    padding-top: 4px;
}


.technology-item strong {
    display: block;

    margin-bottom: 7px;

    font-size: 19px;

    font-weight: 600;

    letter-spacing: -0.02em;
}


.technology-item small {
    display: block;

    color: #8a9098;

    font-size: 11px;

    line-height: 1.4;
}


/* ACTIVE */

.technology-item::after {
    content: "↗";

    position: absolute;

    right: 28px;
    top: 50%;

    transform:
        translateY(-50%)
        translateX(-8px);

    color: #c39b4b;

    font-size: 18px;

    opacity: 0;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.technology-item:hover {
    background: #ebeae5;
}


.technology-item.active {
    background: #101a30;

    color: #ffffff;
}


.technology-item.active > span {
    color: #c39b4b;
}


.technology-item.active small {
    color: #8993a2;
}


.technology-item.active::after {
    opacity: 1;

    transform:
        translateY(-50%)
        translateX(0);
}


/* =========================================================
   RIGHT DISPLAY
========================================================= */

.technology-display {
    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    min-width: 0;

    background: #101a30;

    color: #ffffff;
}


/* IMAGE */

.technology-image {
    position: relative;

    min-height: 560px;

    overflow: hidden;
}


.technology-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(16,26,48,0.02) 40%,
            rgba(16,26,48,0.65) 100%
        ),
        linear-gradient(
            180deg,
            rgba(16,26,48,0.05),
            rgba(16,26,48,0.25)
        );

    pointer-events: none;
}


.technology-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transform: scale(1.01);

    transition:
        transform 0.8s ease,
        opacity 0.4s ease;
}


.technology-display:hover
.technology-image img {
    transform: scale(1.035);
}


/* =========================================================
   INFORMATION
========================================================= */

.technology-info {
    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 45px 38px;
}


.technology-counter {
    display: flex;

    align-items: baseline;

    gap: 6px;

    margin-bottom: 22px;

    color: #697587;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.12em;
}


.technology-counter span:first-child {
    color: #c39b4b;

    font-size: 14px;
}


.technology-info h3 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(30px, 3vw, 48px);

    line-height: 0.98;

    letter-spacing: -0.045em;
}


.technology-info p {
    max-width: 330px;

    margin: 0;

    color: #9da6b5;

    font-size: 13px;

    line-height: 1.7;
}


/* EXPLORE */

.technology-arrow {
    display: flex;

    align-items: center;

    justify-content: space-between;

    max-width: 330px;

    margin-top: 40px;

    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,0.14);

    color: #c39b4b;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
}


.technology-arrow span:last-child {
    font-size: 18px;

    transition:
        transform 0.3s ease;
}


.technology-display:hover
.technology-arrow span:last-child {
    transform: translate(4px, -4px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .technology-interface {
        grid-template-columns: 1fr;
    }


    .technology-nav {
        display: grid;

        grid-template-columns: 1fr 1fr;

        border-right: 0;

        border-bottom: 1px solid #d4d3ce;
    }


    .technology-item {
        min-height: 120px;
    }


    .technology-item:nth-child(odd) {
        border-right: 1px solid #d4d3ce;
    }


    .technology-display {
        grid-template-columns: 1.2fr 0.8fr;
    }


    .technology-image {
        min-height: 480px;
    }

}


@media (max-width: 700px) {

    .technology-section {
        padding: 90px 0;
    }


    .technology-header {
        margin-bottom: 45px;
    }


    .technology-nav {
        grid-template-columns: 1fr;
    }


    .technology-item:nth-child(odd) {
        border-right: 0;
    }


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


    .technology-image {
        min-height: 350px;
    }


    .technology-info {
        min-height: 330px;

        padding: 35px 25px;
    }

}

/* =========================================================
   HERO NAVIGATION
========================================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;

    z-index: 1000;

    background: rgba(8, 21, 46, 0.88);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* Внутрішня структура */

.header-inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;

    padding: 0 42px;
}


/* ЛОГО зліва */

 .header .logo {
    position: absolute !important;

    left: 42px !important;
    top: 36px !important;

    transform: translateY(-50%) !important;

    margin: 0 !important;

    z-index: 10;
}


/* МЕНЮ — чітко по центру */

.header .nav {
    position: fixed !important;

    left: 50vw !important;
    top: 34px !important;

    transform: translate(-50%, -50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 30px;

    white-space: nowrap;

    margin: 0 !important;
}


/* МОВИ — справа */

.language-switcher {
    position: absolute !important;

    right: 42px !important;
    top: 36px !important;

    transform: translateY(-50%) !important;

    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0 !important;

    z-index: 10;
}
/* =========================================================
   LANGUAGE BUBBLE HOVER
========================================================= */

.language-switcher a {
    position: relative;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    
    z-index: 1;
}


/* сама бульбашка */

.language-switcher a::before {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) scale(0.35);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.14);

    opacity: 0;

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;

    z-index: -1;
}


/* hover */

@media (hover: hover) and (pointer: fine) {

    .language-switcher a:hover {
        transform: scale(1.08);
    }

    .language-switcher a:hover::before {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

}

/* Навігація */

.header .nav a,
.language-switcher a {
    transition: opacity 0.2s ease;
}

.header .nav a:hover,
.language-switcher a:hover {
    opacity: 0.65;
}


/* =========================================================
   HERO — NAVIGATION SPACE
========================================================= */




/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .header {
        height: 62px;
    }

    .header .nav {
        gap: 18px;
    }

    .header .nav a {
        font-size: 11px;
    }

}

/* =========================================================
   NEW HERO
========================================================= */

.hero {
    position: relative;
    min-height: 760px;
    padding: 0 !important;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #07152d 0%,
            rgba(7, 21, 45, 0.96) 18%,
            rgba(7, 21, 45, 0.72) 38%,
            rgba(7, 21, 45, 0.22) 62%,
            rgba(7, 21, 45, 0.05) 100%
        ),
        url("../images/gas-turbine-siemens-III.jpg") center center / cover no-repeat;

    isolation: isolate;
}


/* легкий рух фото */

.hero::before {
    content: "";

    position: absolute;
    inset: -2%;

    background:
        url("../images/gas-turbine-siemens-III.jpg")
        center center / cover no-repeat;

    opacity: 0.35;

    z-index: -2;

    animation: heroImageMove 16s ease-in-out infinite alternate;
}


/* плавне затемнення зліва */

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 17, 38, 0.96) 0%,
            rgba(5, 17, 38, 0.88) 20%,
            rgba(5, 17, 38, 0.58) 42%,
            rgba(5, 17, 38, 0.12) 68%,
            rgba(5, 17, 38, 0) 100%
        );

    z-index: -1;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero .container {
    position: relative;
    z-index: 2;

    width: 100%;
}


.hero-content {
    max-width: 760px;

    padding-top: 80px;
    padding-bottom: 80px;

    margin-left: 6vw;
}


/* маленький заголовок */

.hero .eyebrow {
    margin-bottom: 24px;

    color: #d5a441;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* головний заголовок */

.hero h1 {
    margin: 0;

    max-width: 720px;

    color: #ffffff;

    font-size: clamp(64px, 7vw, 112px);
    line-height: 0.9;

    letter-spacing: -0.055em;
    font-weight: 700;
}


/* золота частина */

.hero h1 span {
    display: block;

    color: #d5a441;
}


/* опис */

.hero-description {
    max-width: 650px;

    margin-top: 38px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 20px;
    line-height: 1.55;
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    display: flex;
    gap: 55px;

    margin-top: 42px;
}


.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.hero-stat strong {
    color: #ffffff;

    font-size: 27px;
    line-height: 1;

    font-weight: 600;
}


.hero-stat span {
    color: rgba(255, 255, 255, 0.48);

    font-size: 11px;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   HERO BUTTON
========================================================= */

.hero .button {
    display: inline-flex;
    align-items: center;
    gap: 28px;

    margin-top: 46px;

    padding: 18px 27px;

    background: #d5a441;
    color: #07152d;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.35s ease,
        background 0.35s ease;
}


.hero .button span {
    font-size: 22px;

    transition:
        transform 0.35s ease;
}


.hero .button:hover {
    transform: translateY(-3px);

    background: #e2b65a;
}


.hero .button:hover span {
    transform: translate(4px, -4px);
}


/* =========================================================
   PHOTO MOVEMENT
========================================================= */

@keyframes heroImageMove {

    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.045) translateX(-1%);
    }

}


/* =========================================================
   HERO TEXT APPEARANCE
========================================================= */

.hero-content > * {
    animation: heroTextIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}


.hero-content .eyebrow {
    animation-delay: 0.05s;
}


.hero-content h1 {
    animation-delay: 0.15s;
}


.hero-content .hero-description {
    animation-delay: 0.25s;
}


.hero-content .hero-stats {
    animation-delay: 0.35s;
}


.hero-content .button {
    animation-delay: 0.45s;
}


@keyframes heroTextIn {

    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero::before,
    .hero-content > * {
        animation: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .hero {
        min-height: 680px;

        background-position: 62% center;
    }

    .hero-content {
        padding-top: 70px;
        padding-bottom: 60px;
    }

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

    .hero-description {
        font-size: 17px;
    }

    .hero-stats {
        gap: 28px;
        flex-wrap: wrap;
    }

}


@media (max-width: 600px) {

    .hero {
        min-height: 650px;

        background-position: 60% center;
    }

    .hero-content {
        padding-top: 55px;
        padding-bottom: 45px;
    }

    .hero h1 {
        font-size: clamp(48px, 15vw, 68px);
    }

    .hero-description {
        font-size: 16px;
        margin-top: 28px;
    }

    .hero-stats {
        margin-top: 32px;
        gap: 22px;
    }

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

    .hero .button {
        margin-top: 36px;
    }

}

/* =========================================
   REDUCE SPACE AFTER SOLUTIONS
   ========================================= */

   #solutions {
    padding-bottom: 80px !important;
    min-height: auto !important;
}

#solutions + section {
    padding-top: 80px !important;
}

/* =========================================================
   AES TURNKEY — TIMELINE
========================================================= */

.turnkey-timeline {
    position: relative;

    display: grid;
    grid-template-columns: repeat(7, 1fr);

    gap: 20px;

    margin-top: 90px;
}


/* Лінія між етапами */

.turnkey-timeline::before {
    content: "";

    position: absolute;

    top: 25px;
    left: 6%;
    right: 6%;

    height: 1px;

    background: rgba(213, 164, 65, 0.35);

    z-index: 0;
}


/* Окремий етап */

.turnkey-step {
    position: relative;

    z-index: 1;

    min-width: 0;

    padding: 0 8px 20px;

    transition:
        transform 0.4s ease;
}


/* Верхня частина */

.turnkey-step-top {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 50px;

    margin-bottom: 28px;
}


/* Номер */

.turnkey-number {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #08152e;

    border: 1px solid rgba(213, 164, 65, 0.5);

    color: #d5a441;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;

    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Іконка */

.turnkey-icon {
    position: absolute;

    top: 62px;
    left: 50%;

    transform:
        translateX(-50%)
        scale(0.8);

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    transition:
        opacity 0.4s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


.turnkey-icon svg {
    width: 30px;
    height: 30px;

    fill: none;

    stroke: #d5a441;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform 0.4s ease;
}


/* Заголовок */

.turnkey-step h3 {
    margin: 60px 0 12px;

    color: #ffffff;

    font-size: 17px;
    line-height: 1.2;

    text-align: center;
}


/* Опис */

.turnkey-step p {
    margin: 0 auto;

    max-width: 150px;

    color: rgba(255, 255, 255, 0.52);

    font-size: 13px;
    line-height: 1.55;

    text-align: center;
}


/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .turnkey-step:hover {
        transform: translateY(-6px);
    }


    .turnkey-step:hover .turnkey-number {
        background: #d5a441;

        color: #08152e;

        transform:
            translate(-50%, -50%)
            scale(1.08);

        box-shadow:
            0 8px 25px rgba(213, 164, 65, 0.22);
    }


    .turnkey-step:hover .turnkey-icon {
        opacity: 1;

        transform:
            translateX(-50%)
            scale(1);
    }


    .turnkey-step:hover .turnkey-icon svg {
        transform: rotate(8deg);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .turnkey-timeline {
        grid-template-columns: repeat(4, 1fr);

        row-gap: 70px;
    }

    .turnkey-timeline::before {
        display: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .turnkey-timeline {
        grid-template-columns: 1fr;

        gap: 50px;

        margin-top: 60px;
    }


    .turnkey-step {
        padding: 0 20px 20px;
    }


    .turnkey-step-top {
        margin-bottom: 20px;
    }


    .turnkey-icon {
        display: none;
    }


    .turnkey-step h3 {
        margin-top: 20px;
    }

}

/* =========================================================
   AES TURNKEY — TEXT FIX
========================================================= */

.turnkey-step h3 {
    color: #111b31 !important;
}

.turnkey-step p {
    color: #5f6b7d !important;
}

.turnkey-number {
    background: #111b31;
    color: #d5a441;
}

.turnkey-timeline::before {
    background: rgba(17, 27, 49, 0.18);
}

/* =========================================================
   ENERGY POTENTIAL — CALCULATOR
========================================================= */

.energy-potential {
    position: relative;
    padding: 95px 0 105px !important;
    overflow: hidden;
    background: #f4f3ef;
}


/* =========================================================
   HEADER
========================================================= */

.energy-potential-header {
    max-width: 820px;
    margin-bottom: 60px;
}

.energy-potential-header .section-label {
    display: block;
    margin-bottom: 20px;

    color: #c99a3a;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.energy-potential-header h2 {
    margin: 0;

    color: #101d38;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.energy-potential-header h2 span {
    color: #c99a3a;
}

.energy-potential-header p {
    max-width: 600px;

    margin: 25px 0 0;

    color: #687386;

    font-size: 17px;
    line-height: 1.6;
}


/* =========================================================
   THREE MAIN CARDS
========================================================= */

.energy-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}


/* CARD */

.energy-option {
    position: relative;

    min-height: 390px;

    padding: 32px;

    overflow: hidden;

    border: 1px solid rgba(16, 29, 56, 0.08);
    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 12px 45px rgba(16, 29, 56, 0.06);

    transition:
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.5s ease,
        border-color 0.5s ease;
}


/* декоративна бульбашка */

.energy-option::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -100px;
    right: -90px;

    border-radius: 50%;

    background: rgba(201, 154, 58, 0.08);

    transition:
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.5s ease;
}


/* hover */

.energy-option:hover {
    transform: translateY(-8px);

    border-color:
        rgba(201, 154, 58, 0.35);

    box-shadow:
        0 24px 70px rgba(16, 29, 56, 0.12);
}

.energy-option:hover::before {
    transform: scale(1.5);

    background:
        rgba(201, 154, 58, 0.12);
}


/* =========================================================
   NUMBER
========================================================= */

.energy-option-number {
    position: relative;
    z-index: 2;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 55px;

    border-radius: 50%;

    background: #101d38;
    color: #c99a3a;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;

    box-shadow:
        0 8px 25px rgba(16, 29, 56, 0.15);

    transition:
        transform 0.4s ease,
        background 0.4s ease,
        color 0.4s ease;
}

.energy-option:hover .energy-option-number {
    transform: scale(1.08) rotate(-4deg);
}


/* =========================================================
   CONTENT
========================================================= */

.energy-option-content {
    position: relative;
    z-index: 2;
}

.energy-option-content h3 {
    margin: 0 0 16px;

    color: #101d38;

    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.energy-option-content p {
    max-width: 390px;

    margin: 0;

    color: #687386;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   BUTTON
========================================================= */

.energy-option-button {
    display: inline-flex;
    align-items: center;

    gap: 17px;

    margin-top: 30px;
    padding: 13px 19px;

    border: 0;
    border-radius: 999px;

    background: #101d38;
    color: #ffffff;

    font: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        gap 0.3s ease;
}

.energy-option-button span {
    font-size: 17px;

    transition:
        transform 0.3s ease;
}

.energy-option-button:hover {
    gap: 24px;

    transform: translateY(-2px);

    background: #c99a3a;
}

.energy-option-button:hover span {
    transform: translate(3px, -3px);
}


/* =========================================================
   SPECIAL GASES — DARK CARD
========================================================= */

.energy-option-featured {
    background:
        linear-gradient(
            145deg,
            #101d38 0%,
            #182a48 60%,
            #1d3152 100%
        );

    border-color: transparent;
}

.energy-option-featured h3 {
    color: #ffffff;
}

.energy-option-featured p {
    color: rgba(255, 255, 255, 0.65);
}

.energy-option-featured::before {
    width: 320px;
    height: 320px;

    top: -150px;
    right: -130px;

    background:
        radial-gradient(
            circle,
            rgba(201, 154, 58, 0.22),
            rgba(201, 154, 58, 0) 70%
        );
}

.energy-option-featured .energy-option-number {
    background: #c99a3a;
    color: #101d38;
}


/* =========================================================
   GAS TYPE BUBBLES
========================================================= */

.gas-types {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 25px;
}

.gas-type {
    padding: 7px 11px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.65);

    font: inherit;
    font-size: 10px;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.gas-type:hover {
    transform: translateY(-2px);

    border-color:
        rgba(201, 154, 58, 0.5);

    color: #ffffff;
}

.gas-type.active {
    background: #c99a3a;
    border-color: #c99a3a;

    color: #101d38;
}

/* =========================================================
   FLARE GAS — LONG FEATURE CARD
========================================================= */

.energy-option-flare {
    display: grid;

    grid-template-columns: 190px 1fr;
    align-items: stretch;

    min-height: 190px;

    margin-top: 18px;
    padding: 0;

    overflow: hidden;

    border: 0;
    border-radius: 30px;

    background: #101d38;

    box-shadow:
        0 16px 50px rgba(16, 29, 56, 0.12);

    transition:
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.5s ease;
}

.energy-option-flare::before {
    display: none;
}

.energy-option-flare:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 65px rgba(16, 29, 56, 0.18);
}


/* gold side */

.flare-accent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            #c99a3a,
            #d9ae55
        );
}

.energy-option-flare .energy-option-number {
    margin: 0;

    background: #101d38;
    color: #c99a3a;
}

.flare-label {
    color: #101d38;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
}


/* content */

.flare-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 35px 45px;
}

.flare-content h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.flare-content p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   CALCULATOR PANEL
========================================================= */

.energy-calculator {
    margin-top: 18px;
}

.calculator-panel {
    display: none;

    position: relative;

    padding: 40px;

    border:
        1px solid rgba(16, 29, 56, 0.08);

    border-radius: 30px;

    background: #ffffff;

    box-shadow:
        0 30px 90px rgba(16, 29, 56, 0.10);

    animation:
        calculatorReveal
        0.5s
        cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* JS може використовувати будь-який із цих станів */

.calculator-panel.active,
.calculator-panel.is-active,
.calculator-panel.open {
    display: block;
}


@keyframes calculatorReveal {

    from {
        opacity: 0;

        transform:
            translateY(18px)
            scale(0.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


/* =========================================================
   PANEL HEADER
========================================================= */

.calculator-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 35px;
}

.calculator-panel-header > span {
    color: #c99a3a;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.calculator-close {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f1f2f4;
    color: #101d38;

    font-size: 21px;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.calculator-close:hover {
    transform: rotate(90deg);

    background: #101d38;
    color: #ffffff;
}


/* =========================================================
   CALCULATOR INPUTS / RESULT
========================================================= */

.calculator-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 65px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;

    gap: 22px;
}

.calculator-inputs label,
.flare-form label {
    display: flex;
    flex-direction: column;

    gap: 8px;

    color: #101d38;

    font-size: 13px;
    font-weight: 600;
}

.input-unit {
    display: flex;
    align-items: center;

    overflow: hidden;

    border:
        1px solid rgba(16, 29, 56, 0.12);

    border-radius: 15px;

    background: #f7f7f5;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.input-unit:focus-within {
    border-color: #c99a3a;

    box-shadow:
        0 0 0 4px rgba(201, 154, 58, 0.10);
}

.input-unit input,
.flare-form select {
    width: 100%;

    padding: 16px 17px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #101d38;

    font: inherit;
    font-size: 15px;
}

.input-unit span {
    padding: 0 17px;

    color: #8a919e;

    font-size: 11px;

    white-space: nowrap;
}


/* calculate button */

.calculate-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 16px 20px;

    border: 0;
    border-radius: 999px;

    background: #c99a3a;
    color: #101d38;

    font: inherit;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.calculate-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(201, 154, 58, 0.25);
}


/* =========================================================
   RESULT
========================================================= */

.calculator-result {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 280px;

    padding: 38px;

    overflow: hidden;

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(201, 154, 58, 0.18),
            transparent 35%
        ),
        #101d38;

    color: #ffffff;
}

.calculator-result::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -100px;
    bottom: -120px;

    border:
        1px solid rgba(201, 154, 58, 0.18);

    border-radius: 50%;
}

.calculator-result > span {
    position: relative;
    z-index: 2;

    color: rgba(255, 255, 255, 0.45);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.calculator-result strong {
    position: relative;
    z-index: 2;

    margin-top: 12px;

    color: #ffffff;

    font-size: clamp(58px, 7vw, 90px);
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.calculator-result small {
    position: relative;
    z-index: 2;

    margin-top: 8px;

    color: #c99a3a;

    font-size: 14px;
    font-weight: 700;
}

.calculator-result p {
    position: relative;
    z-index: 2;

    max-width: 420px;

    margin-top: 25px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   CHP RESULT
========================================================= */

.chp-efficiency {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 28px;
    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}

.chp-efficiency span {
    color: rgba(255, 255, 255, 0.45);

    font-size: 9px;
    letter-spacing: 0.12em;
}

.chp-efficiency strong {
    margin: 0;

    color: #c99a3a;

    font-size: 28px;
}


/* =========================================================
   FLARE CALCULATOR
========================================================= */

.flare-layout {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 60px;
}

.flare-form {
    display: flex;
    flex-direction: column;

    gap: 19px;
}

.flare-form h3 {
    margin: 0 0 12px;

    color: #101d38;

    font-size: 32px;
    letter-spacing: -0.03em;
}

.flare-form > p {
    margin: 0 0 8px;

    color: #687386;

    line-height: 1.6;
}

.flare-form select {
    border:
        1px solid rgba(16, 29, 56, 0.12);

    border-radius: 15px;

    background: #f7f7f5;

    cursor: pointer;
}


/* =========================================================
   FLARE GAS CALCULATOR — FINAL
   ========================================================= */

   .flare-process {
    position: relative;
    width: 100%;
    min-height: 480px;
    padding: 34px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    color: #ffffff;
}


/* ---------- TITLE ---------- */

.flare-process-title {
    color: #d5a83d;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 42px;
}


/* ---------- PROCESS FLOW ---------- */

.flare-flow {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        42px
        minmax(0, 1fr)
        42px
        minmax(0, 1fr)
        42px
        minmax(0, 1fr);

    align-items: center;

    width: 100%;

    margin-top: 24px;
    padding: 0 2px;
    box-sizing: border-box;
}


/* ---------- STEP ---------- */

.flare-flow-step {
    display: grid;

    grid-template-columns: 38px minmax(0, 1fr);

    align-items: start;

    gap: 12px;

    min-width: 0;
}


/* NUMBER */

.flare-flow-step > span {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);

    color: #d5a83d;

    font-size: 11px;
    font-weight: 700;

    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease;
}


/* LABEL */

.flare-flow-step small {
    display: block;

    margin-bottom: 7px;

    color: rgba(255,255,255,0.42);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.4px;
}


/* MAIN TEXT */

.flare-flow-step strong {
    display: block;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
}


/* DESCRIPTION */

.flare-flow-step em {
    display: block;

    margin-top: 8px;

    color: rgba(255,255,255,0.42);

    font-size: 11px;
    line-height: 1.4;

    font-style: normal;
}


/* ---------- CONNECTING LINE ---------- */

.flare-flow-line {
    position: relative;

    width: 42px;
    height: 1px;

    margin: 0;

    background: rgba(255,255,255,0.16);
}


/* MOVING ENERGY */

.flare-flow-line i {
    position: absolute;

    top: 50%;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #d5a83d;

    transform: translateY(-50%);

    animation: flareEnergyFlow 2.4s linear infinite;
}


@keyframes flareEnergyFlow {

    0% {
        left: 0;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 5px);
        opacity: 0;
    }
}


/* ---------- HOVER ---------- */

.flare-flow-step:hover > span {
    transform: scale(1.12);

    background: #d5a83d;
    border-color: #d5a83d;

    color: #101d38;
}


/* =========================================================
   RECOMMENDED CONFIGURATION
   ========================================================= */

.flare-result {
    margin-top: 80px;

    padding: 24px 26px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.075),
            rgba(255,255,255,0.025)
        );

    border: 1px solid rgba(255,255,255,0.12);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05);

    backdrop-filter: blur(8px);
}


/* HEADER */

.flare-result-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
}


.flare-result-heading span {
    color: #d5a83d;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.6px;
}


.flare-result-heading small {
    color: rgba(255,255,255,0.38);

    font-size: 10px;
}


/* MAIN RESULT */

.flare-result-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}


.flare-result-main > strong {
    color: #ffffff;

    font-size: 20px;
    font-weight: 600;
}


.flare-result-power {
    display: flex;
    align-items: baseline;

    gap: 7px;
}


.flare-result-power b {
    color: #ffffff;

    font-size: 38px;
    line-height: 1;

    font-weight: 700;
}


.flare-result-power span {
    color: #d5a83d;

    font-size: 16px;
    font-weight: 700;
}


/* ---------- STATS ---------- */

.flare-result-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    margin-top: 22px;

    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,0.1);
}


.flare-result-stats div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.flare-result-stats span {
    color: rgba(255,255,255,0.38);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


.flare-result-stats strong {
    color: rgba(255,255,255,0.85);

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   CALCULATOR — RESULT ANIMATION
   ========================================================= */

.flare-result-power b,
.flare-result-main > strong,
.flare-result-stats strong {
    transition:
        opacity .25s ease,
        transform .25s ease;
}


.flare-result.is-updating
.flare-result-power b,
.flare-result.is-updating
.flare-result-main > strong,
.flare-result.is-updating
.flare-result-stats strong {

    opacity: .45;
    transform: translateY(3px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .flare-process {
        min-height: auto;
        padding: 26px;
    }

    .flare-flow {
        flex-direction: column;
        align-items: stretch;

        gap: 16px;
    }

    .flare-flow-line {
        width: 1px;
        height: 22px;

        flex: none;

        margin: 0 0 0 18px;
    }

    .flare-flow-line i {
        animation: none;

        top: 0;
        left: 50%;

        transform: translateX(-50%);
    }

    .flare-result {
        margin-top: 32px;
    }
}

/* message */

.flare-message {
    display: none;

    margin-top: 18px;
    padding: 25px;

    border-radius: 22px;

    background: #f5f1e8;
}

.flare-message strong {
    color: #101d38;
}

.flare-message p {
    margin: 8px 0 18px;

    color: #687386;
}

.flare-message a {
    color: #101d38;

    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

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

    .energy-option-featured {
        grid-column: 1 / -1;
    }

    .calculator-grid,
    .flare-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}


@media (max-width: 650px) {

    .energy-potential {
        padding: 75px 0 80px !important;
    }

    .energy-options {
        grid-template-columns: 1fr;
    }

    .energy-option-featured {
        grid-column: auto;
    }

    .energy-option {
        min-height: auto;

        padding: 27px;
    }

    .energy-option-flare {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .flare-accent {
        min-height: 130px;

        padding: 24px;
    }

    .flare-content {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px;
    }

    .calculator-panel {
        padding: 25px;
    }

    .calculator-result {
        min-height: 250px;

        padding: 30px;
    }

    .flare-process {
        padding: 25px;
    }

}

/* FIX — FLARE GAS HOVER */

.energy-option-flare:hover {
    background: #101d38 !important;
}

.energy-option-flare:hover .flare-accent {
    background: linear-gradient(
        145deg,
        #c99a3a,
        #d9ae55
    );
}

.energy-option-flare:hover .flare-content h3 {
    color: #ffffff;
}

.energy-option-flare:hover .flare-content p {
    color: rgba(255, 255, 255, 0.62);
}

.energy-option-flare:hover .energy-option-button {
    background: #ffffff;
    color: #101d38;
}

/* Прибираємо сірий фон навколо перших трьох карток */

.energy-options-grid {
    background: transparent !important;
}

.energy-options,
.energy-options-grid,
.solutions-grid {
    background: transparent !important;
}

/* GAS TYPES — акуратне розташування */

.gas-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gas-type {
    flex: 0 0 auto;
    white-space: nowrap;
    box-sizing: border-box;
}

.gas-type {
    max-width: 100%;
}

.gas-types {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    max-width: 100%;
}

.gas-type {
    padding: 8px 13px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    border-radius: 999px;
}

/* =========================================================
   FLARE CALCULATOR — PROCESS FLOW
   ========================================================= */

   .flare-process {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    padding: 34px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    color: #ffffff;
}


/* ---------- TITLE ---------- */

.flare-process-title {
    color: #d5a83d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 42px;
}


/* ---------- FLOW ---------- */

.flare-flow {
    display: flex;
    align-items: center;
    width: 100%;

    margin-top: 10px;
}


/* ---------- STEP ---------- */

.flare-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    flex: 1;
    min-width: 0;
}


/* NUMBER BUBBLE */

.flare-flow-step > span {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);

    color: #d5a83d;

    font-size: 11px;
    font-weight: 700;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}


/* TEXT */

.flare-flow-step div {
    min-width: 0;
}

.flare-flow-step small {
    display: block;

    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.flare-flow-step strong {
    display: block;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
}

.flare-flow-step em {
    display: block;

    margin-top: 8px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 11px;
    line-height: 1.4;

    font-style: normal;
}


/* ---------- CONNECTION LINE ---------- */

.flare-flow-line {
    position: relative;

    flex: 0 0 42px;
    height: 1px;

    margin: 0 12px;

    background: rgba(255, 255, 255, 0.16);
}


/* moving energy point */

.flare-flow-line i {
    position: absolute;

    top: 50%;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #d5a83d;

    transform: translateY(-50%);

    animation: flareEnergyFlow 2.4s linear infinite;
}

@keyframes flareEnergyFlow {

    0% {
        left: 0;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 5px);
        opacity: 0;
    }
}


/* ---------- HOVER ---------- */

.flare-flow-step:hover > span {
    transform: scale(1.12);

    background: #d5a83d;
    border-color: #d5a83d;

    color: #101d38;
}


/* ---------- RESULT ---------- */

.flare-result {
    margin-top: auto;

    padding: 24px 26px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.075),
            rgba(255,255,255,0.025)
        );

    border: 1px solid rgba(255,255,255,0.12);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05);

    backdrop-filter: blur(8px);
}


/* RESULT HEADING */

.flare-result-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
}

.flare-result-heading span {
    color: #d5a83d;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.6px;
}

.flare-result-heading small {
    color: rgba(255,255,255,0.38);

    font-size: 10px;
}


/* MAIN RESULT */

.flare-result-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}

.flare-result-main > strong {
    color: #ffffff;

    font-size: 20px;
    font-weight: 600;
}

.flare-result-power {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.flare-result-power b {
    color: #ffffff;

    font-size: 38px;
    line-height: 1;

    font-weight: 700;
}

.flare-result-power span {
    color: #d5a83d;

    font-size: 16px;
    font-weight: 700;
}


/* ---------- RESULT STATS ---------- */

.flare-result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    margin-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 18px;
}

.flare-result-stats div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.flare-result-stats span {
    color: rgba(255,255,255,0.38);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.flare-result-stats strong {
    color: rgba(255,255,255,0.85);

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .flare-process {
        min-height: auto;
        padding: 26px;
    }

    .flare-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .flare-flow-line {
        width: 1px;
        height: 22px;

        flex: none;

        margin: 0 0 0 18px;
    }

    .flare-flow-line i {
        animation: none;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .flare-result {
        margin-top: 32px;
    }
}

/* =========================================================
   FLARE PROCESS — RESTORE DARK PANEL
   ========================================================= */

   .flare-process {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 480px;

    box-sizing: border-box;

    padding: 34px;

    display: flex;
    flex-direction: column;

    color: #ffffff;

    background: #101d38;

    border-radius: 28px;

    overflow: hidden;
}


/* subtle light glow inside the panel */

.flare-process::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -160px;

    border-radius: 50%;

    background: rgba(255,255,255,0.035);

    pointer-events: none;
}


/* keep content above glow */

.flare-process > * {
    position: relative;
    z-index: 1;
}

.flare-flow-step > div {
    min-width: 0;
    max-width: 150px;
}

.flare-flow-step strong {
    display: block;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;

    overflow-wrap: break-word;
}

.flare-flow-step small {
    display: block;

    margin-bottom: 6px;

    color: rgba(255,255,255,0.42);

    font-size: 8px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 1.3px;
}

.flare-flow-step em {
    display: block;

    margin-top: 7px;

    color: rgba(255,255,255,0.42);

    font-size: 10px;
    line-height: 1.35;

    font-style: normal;
}

/* =========================================================
   SOLUTIONS — CLEAN FINAL VERSION
   ========================================================= */

.solutions {
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 55px;
}

.solutions .section-heading {
    position: relative;
    z-index: 10;
    margin-bottom: 45px;
}

.solutions .section-heading h2 {
    max-width: 950px;
}


/* =========================================================
   GRID
   ========================================================= */

.solution-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;

    position: relative;
}


/* =========================================================
   CARD
   ========================================================= */

.solution-card {
    position: relative;

    min-height: 350px;

    padding: 32px;

    border-radius: 30px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(16, 29, 56, 0.08);

    box-shadow:
        0 12px 35px rgba(16, 29, 56, 0.04);

    transition:
        transform .45s ease,
        box-shadow .45s ease,
        border-color .45s ease;

    isolation: isolate;
}


/* subtle background shape */

.solution-card::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -85px;
    top: -105px;

    border-radius: 50%;

    background: #f7f3ea;

    z-index: -2;

    transition:
        transform .7s ease,
        background .5s ease;
}


/* hover */

.solution-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 22px 50px rgba(16, 29, 56, 0.09);

    border-color: rgba(143, 184, 197, 0.45);
}

.solution-card:hover::before {
    transform: scale(1.12);
}


/* =========================================================
   NUMBER
   ========================================================= */

.solution-number {
    position: relative;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: #101d38;

    color: #d4a333;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .5px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.solution-content {
    position: relative;
    z-index: 15;

    max-width: 90%;

    margin-top: 68px;
}

.solution-content h3 {
    margin: 0 0 14px;

    color: #101d38;

    font-size: 24px;
    line-height: 1.08;

    letter-spacing: -0.5px;

    transition: color .3s ease;
}

.solution-content p {
    max-width: 310px;

    margin: 0;

    color: #68768c;

    font-size: 16px;
    line-height: 1.55;

    transition: color .3s ease;
}


/* =========================================================
   ARROW
   ========================================================= */

.solution-arrow {
    position: absolute;

    right: 25px;
    bottom: 24px;

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: #101d38;

    color: #d4a333;

    font-size: 22px;

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity .35s ease,
        transform .35s ease,
        background .3s ease;
}

.solution-card:hover .solution-arrow {
    opacity: 1;
    transform: translateY(0);
}

.solution-arrow:hover {
    background: #d4a333;
    color: #101d38;
}


/* =========================================================
   01 — POWER
   ========================================================= */

.solution-power .power-visual {
    position: absolute;

    right: 22px;
    bottom: 18px;

    width: 190px;
    height: 150px;

    z-index: 2;

    pointer-events: none;
}


/* network */

.power-grid {
    position: absolute;

    inset: 0;
}


.power-line {
    position: absolute;

    height: 1px;

    background: rgba(143, 184, 197, .35);

    transform-origin: left center;

    animation: powerLineMove 4s ease-in-out infinite;
}


.power-line-1 {
    width: 145px;

    left: 5px;
    top: 48px;

    transform: rotate(-10deg);
}


.power-line-2 {
    width: 125px;

    left: 35px;
    top: 85px;

    transform: rotate(8deg);

    animation-delay: .8s;
}


.power-line-3 {
    width: 100px;

    left: 55px;
    top: 110px;

    transform: rotate(-15deg);

    animation-delay: 1.5s;
}


.power-node {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #8fb8c5;

    box-shadow:
        0 0 14px rgba(143,184,197,.35);

    animation: powerNodePulse 2.8s ease-in-out infinite;
}


.power-node-1 {
    left: 30px;
    top: 43px;
}


.power-node-2 {
    right: 20px;
    top: 62px;

    animation-delay: .7s;
}


.power-node-3 {
    left: 65px;
    bottom: 20px;

    animation-delay: 1.2s;
}


/* engine */

.power-engine {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 54px;
    height: 54px;

    transform: translate(-50%, -50%);

    border-radius: 15px;

    background: rgba(247,250,250,.95);

    border: 1px solid rgba(143,184,197,.5);

    box-shadow:
        0 0 0 8px rgba(143,184,197,.08),
        0 12px 25px rgba(16,29,56,.06);
}


.engine-ring {
    position: absolute;

    inset: -8px;

    border-radius: 18px;

    border: 1px solid rgba(143,184,197,.2);

    animation: engineRing 3s ease-in-out infinite;
}


.engine-core {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 16px;
    height: 16px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #8fb8c5;
}


.engine-pulse {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 30px;
    height: 30px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    border: 1px solid rgba(143,184,197,.35);

    animation: enginePulse 2.2s ease-out infinite;
}


/* =========================================================
   02 — CHP
   ========================================================= */

.solution-chp .chp-visual {
    position: absolute;

    right: 14px;
    bottom: 14px;

    width: 190px;
    height: 135px;

    z-index: 2;

    pointer-events: none;
}


.chp-system {
    position: relative;

    width: 100%;
    height: 100%;
}


/* engine */

.chp-engine {
    position: absolute;

    left: 50%;
    top: 54%;

    width: 48px;
    height: 48px;

    transform: translate(-50%, -50%);

    border-radius: 14px;

    background: rgba(247,250,250,.95);

    border: 1px solid rgba(143,184,197,.55);

    box-shadow:
        0 0 0 7px rgba(143,184,197,.07),
        0 10px 25px rgba(16,29,56,.06);

    animation: chpEngineFloat 4s ease-in-out infinite;
}


.chp-engine span {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 15px;
    height: 15px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #8fb8c5;

    animation: chpEnginePulse 2.8s ease-in-out infinite;
}


/* flow labels */

.chp-flow {
    position: absolute;

    display: flex;
    align-items: center;

    gap: 6px;

    color: #78909b;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;

    white-space: nowrap;

    z-index: 3;
}


.chp-flow i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #8fb8c5;

    box-shadow:
        0 0 10px rgba(143,184,197,.25);

    animation: chpFlowPulse 2.4s ease-in-out infinite;
}


.chp-flow-electric {
    left: 50%;
    top: 0;

    transform: translateX(-50%);
}


.chp-flow-heat {
    right: 0;
    top: 54%;

    transform: translateY(-50%);
}


.chp-flow-cooling {
    left: 50%;
    bottom: 0;

    transform: translateX(-50%);
}


/* lines */

.chp-flow::before {
    content: "";

    position: absolute;

    background: rgba(143,184,197,.28);

    z-index: -1;
}


.chp-flow-electric::before {
    width: 1px;
    height: 42px;

    left: 50%;
    top: 100%;

    transform: translateX(-50%);
}


.chp-flow-heat::before {
    width: 48px;
    height: 1px;

    right: 100%;
    top: 50%;

    transform: translateY(-50%);
}


.chp-flow-cooling::before {
    width: 1px;
    height: 40px;

    left: 50%;
    bottom: 100%;

    transform: translateX(-50%);
}


/* =========================================================
   03 — GAS
   ========================================================= */

.solution-gas {
    background: #101d38;

    border-color: transparent;
}


.solution-gas::before {
    background: #1b2943;
}


.solution-gas .solution-content h3 {
    color: #ffffff;
}


.solution-gas .solution-content p {
    color: rgba(255,255,255,.65);
}


.solution-gas .solution-number {
    background: #d4a333;
    color: #101d38;
}


/* gas visual */

.solution-gas .gas-visual {
    position: absolute;

    right: 12px;
    bottom: 5px;

    width: 190px;
    height: 190px;

    z-index: 2;

    pointer-events: none;
}


.gas-orbit {
    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px solid rgba(143,184,197,.25);

    border-radius: 50%;

    transform: translate(-50%, -50%) rotate(0deg);

    animation: gasOrbit 12s linear infinite;
}


.gas-orbit-1 {
    width: 150px;
    height: 75px;
}


.gas-orbit-2 {
    width: 120px;
    height: 55px;

    transform:
        translate(-50%, -50%)
        rotate(55deg);

    animation-duration: 9s;
}


.gas-orbit-3 {
    width: 90px;
    height: 45px;

    transform:
        translate(-50%, -50%)
        rotate(-45deg);

    animation-duration: 7s;
}


.gas-core {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 40px;
    height: 40px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #8fb8c5;

    box-shadow:
        0 0 0 10px rgba(143,184,197,.08),
        0 0 30px rgba(143,184,197,.22);

    animation: gasCorePulse 3s ease-in-out infinite;
}


/* IMPORTANT:
   gas text always stays readable */

.solution-gas .solution-content,
.solution-gas .solution-number,
.solution-gas .solution-arrow {
    position: relative;

    z-index: 20;
}


.solution-gas .solution-arrow {
    position: absolute;
}


/* gas hover stays dark */

.solution-gas:hover {
    background: #101d38;
}


.solution-gas:hover .solution-content h3 {
    color: #ffffff;
}


.solution-gas:hover .solution-content p {
    color: rgba(255,255,255,.72);
}


/* =========================================================
   04 — MODULAR
   ========================================================= */

.solution-modular .modular-visual {
    position: absolute;

    right: 20px;
    bottom: 18px;

    width: 180px;
    height: 145px;

    z-index: 2;

    pointer-events: none;
}


.modular-box {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 135px;
    height: 82px;

    transform:
        translate(-50%, -50%)
        rotate(-4deg);

    border: 2px solid #8fb8c5;

    border-radius: 9px;

    background: rgba(143,184,197,.04);

    box-shadow:
        12px 12px 0 rgba(143,184,197,.08);

    animation: modularFloat 5s ease-in-out infinite;
}


.modular-box span {
    position: absolute;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #8fb8c5;

    animation: modularDot 2.8s ease-in-out infinite;
}


.modular-box span:nth-child(1) {
    left: 15px;
    top: 15px;
}


.modular-box span:nth-child(2) {
    right: 15px;
    top: 30px;

    animation-delay: .6s;
}


.modular-box span:nth-child(3) {
    right: 25px;
    bottom: 14px;

    animation-delay: 1.2s;
}


/* =========================================================
   05 — GRID SUPPORT
   ========================================================= */

.solution-grid-support .grid-visual {
    position: absolute;

    right: 22px;
    bottom: 18px;

    width: 180px;
    height: 130px;

    z-index: 2;

    pointer-events: none;
}


.grid-line {
    position: absolute;

    height: 1px;

    background: rgba(143,184,197,.4);

    transform-origin: left center;

    animation: gridFlow 3.5s ease-in-out infinite;
}


.grid-line:nth-child(1) {
    width: 140px;

    left: 15px;
    top: 40px;

    transform: rotate(-8deg);
}


.grid-line:nth-child(2) {
    width: 120px;

    left: 25px;
    top: 70px;

    animation-delay: .7s;
}


.grid-line:nth-child(3) {
    width: 100px;

    left: 50px;
    top: 100px;

    transform: rotate(10deg);

    animation-delay: 1.4s;
}


.grid-node {
    position: absolute;

    left: 50%;
    top: 52%;

    width: 28px;
    height: 28px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #8fb8c5;

    box-shadow:
        0 0 0 8px rgba(143,184,197,.08);

    animation: gridNodePulse 2.6s ease-in-out infinite;
}


/* =========================================================
   06 — INDUSTRIAL
   ========================================================= */

.solution-industrial .industrial-visual {
    position: absolute;

    right: 22px;
    bottom: 18px;

    width: 170px;
    height: 145px;

    z-index: 2;

    pointer-events: none;
}


.industrial-bars {
    position: absolute;

    left: 50%;
    bottom: 5px;

    display: flex;
    align-items: flex-end;

    gap: 10px;

    height: 115px;

    transform: translateX(-50%);
}


.industrial-bars span {
    display: block;

    width: 20px;

    border-radius: 5px 5px 2px 2px;

    background: rgba(143,184,197,.45);

    animation: industrialBars 3s ease-in-out infinite;
}


.industrial-bars span:nth-child(1) {
    height: 38px;
}


.industrial-bars span:nth-child(2) {
    height: 62px;

    animation-delay: .25s;
}


.industrial-bars span:nth-child(3) {
    height: 92px;

    animation-delay: .5s;
}


.industrial-bars span:nth-child(4) {
    height: 52px;

    animation-delay: .75s;
}


/* =========================================================
   CARD 05 + 06 — CENTERED
   ========================================================= */

.solution-grid-support {
    grid-column: 2 / 3;
}

.solution-industrial {
    grid-column: 3 / 4;
}


/* =========================================================
   GENERAL ANIMATIONS
   ========================================================= */

@keyframes powerLineMove {

    0%, 100% {
        opacity: .35;
    }

    50% {
        opacity: .9;
    }
}


@keyframes powerNodePulse {

    0%, 100% {
        transform: scale(.7);
        opacity: .45;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}


@keyframes engineRing {

    0%, 100% {
        transform: scale(.9);
        opacity: .35;
    }

    50% {
        transform: scale(1.08);
        opacity: .8;
    }
}


@keyframes enginePulse {

    0% {
        transform: translate(-50%, -50%) scale(.7);
        opacity: .8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.7);
        opacity: 0;
    }
}


@keyframes chpEngineFloat {

    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-4px);
    }
}


@keyframes chpEnginePulse {

    0%, 100% {
        transform: translate(-50%, -50%) scale(.8);
        opacity: .6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}


@keyframes chpFlowPulse {

    0%, 100% {
        transform: scale(.7);
        opacity: .45;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}


@keyframes gasOrbit {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}


@keyframes gasCorePulse {

    0%, 100% {
        transform: translate(-50%, -50%) scale(.9);
        opacity: .75;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 1;
    }
}


@keyframes modularFloat {

    0%, 100% {
        transform:
            translate(-50%, -50%)
            rotate(-4deg)
            translateY(0);
    }

    50% {
        transform:
            translate(-50%, -50%)
            rotate(-2deg)
            translateY(-6px);
    }
}


@keyframes modularDot {

    0%, 100% {
        opacity: .35;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}


@keyframes gridFlow {

    0%, 100% {
        opacity: .3;
        transform: scaleX(.85);
    }

    50% {
        opacity: .9;
        transform: scaleX(1);
    }
}


@keyframes gridNodePulse {

    0%, 100% {
        transform: translate(-50%, -50%) scale(.85);
        opacity: .65;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 1;
    }
}


@keyframes industrialBars {

    0%, 100% {
        transform: scaleY(.9);
        transform-origin: bottom;
        opacity: .5;
    }

    50% {
        transform: scaleY(1.06);
        transform-origin: bottom;
        opacity: .9;
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

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

    .solution-grid-support,
    .solution-industrial {
        grid-column: auto;
    }

    .solution-card {
        min-height: 330px;
    }
}


@media (max-width: 700px) {

    .solutions {
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .solutions .section-heading {
        margin-bottom: 30px;
    }

    .solution-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .solution-grid-support,
    .solution-industrial {
        grid-column: auto;
    }

    .solution-card {
        min-height: 310px;

        padding: 25px;
    }

    .solution-content {
        margin-top: 55px;
    }

    .solution-content h3 {
        font-size: 22px;
    }

    .solution-content p {
        font-size: 15px;
    }
}

/* =========================================================
   TURNKEY — DARK INTERACTIVE TIMELINE
   ========================================================= */

.turnkey {
    --turnkey-gold: #c7a96b;
    --turnkey-blue: #9bc9d8;
    --turnkey-blue-soft: rgba(155,201,216,.35);
    --turnkey-bg: #101d38;

    position: relative;
    overflow: hidden;
    isolation: isolate;

    background: var(--turnkey-bg);
    color: #fff;

    padding-top: 58px;
    padding-bottom: 52px;
}

.turnkey .container {
    position: relative;
    z-index: 3;
}


/* =========================================================
   BACKGROUND VIDEO
   ========================================================= */

.turnkey-background {
    position: absolute;
    inset: 0;

    z-index: 0;
    overflow: hidden;

    pointer-events: none;
}

.turnkey-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .10;

    filter:
        grayscale(100%)
        brightness(.75)
        contrast(1.05);

    transform: scale(1.04);

    animation: turnkeyVideoMove 18s ease-in-out infinite alternate;
}

.turnkey-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(16,29,56,.97) 0%,
            rgba(16,29,56,.88) 50%,
            rgba(16,29,56,.94) 100%
        );
}

@keyframes turnkeyVideoMove {

    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.08);
    }

}


/* =========================================================
   HEADING
   ========================================================= */

.turnkey-heading {
    margin-bottom: 38px;
}

.turnkey-heading .eyebrow {
    color: var(--turnkey-gold);
}

.turnkey-heading h2 {
    max-width: 850px;
    color: #ffffff;
}

.turnkey-heading h2 span {
    color: var(--turnkey-gold);
}

.turnkey-heading .section-text {
    max-width: 680px;

    color: rgba(255,255,255,.72);

    line-height: 1.55;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.turnkey-timeline {
    position: relative;

    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));

    width: 100%;

    align-items: start;

    padding-top: 0;
}

/* =========================================================
   BASE LINE
   ========================================================= */

.turnkey-timeline::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 103px;

    height: 1px;

    background: rgba(155,201,216,.20);

    z-index: 0;
}


/* =========================================================
   MOVING LOADING LINE
   ========================================================= */

.turnkey-timeline::after {
    content: "";

    position: absolute;

    left: 0;
    top: 102px;

    width: 150px;
    height: 3px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--turnkey-blue),
            #ffffff,
            var(--turnkey-blue),
            transparent
        );

    filter:
        blur(.2px)
        drop-shadow(0 0 7px rgba(155,201,216,.55));

    z-index: 1;

   animation: turnkeyProgress 15s linear infinite;
}

@keyframes turnkeyProgress {

    from {
        transform: translateX(-160px);
    }

    to {
        transform: translateX(calc(100vw - 40px));
    }

}


/* =========================================================
   STEP
   ========================================================= */

   .turnkey-step {
    position: relative;

    min-width: 0;
    min-height: 205px;

    padding: 0 10px;

    text-align: center;

    background: transparent;
    border: 0;

    transition: transform .35s ease;
}

/* =========================================================
   VISUAL ABOVE NUMBER
   ========================================================= */

.turnkey-step-visual {
    position: relative;

    width: 82px;
    height: 52px;

    margin: 0 auto 8px;

    z-index: 4;

    pointer-events: none;
}

.turnkey-visual {
    position: relative;

    width: 100%;
    height: 100%;
}


/* =========================================================
   NUMBER
   ========================================================= */

.turnkey-step-number {
    position: relative;
    z-index: 5;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin: 0 auto;

    border: 1px solid rgba(155,201,216,.30);

    border-radius: 50%;

    background: rgba(16,29,56,.95);

    color: var(--turnkey-gold);

    font-size: 11px;
    font-weight: 700;

    transition:
        background .35s ease,
        color .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}


/* =========================================================
   CONTENT
   ========================================================= */

.turnkey-step-content {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 165px;

    margin: 22px auto 0;

    text-align: center;
}

.turnkey-step-content h3 {
    margin: 0 0 9px;

    color: rgba(255,255,255,.96);

    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;

    transition: color .3s ease;
}

.turnkey-step-content p {
    margin: 0;

    color: rgba(255,255,255,.66);

    font-size: 12px;
    line-height: 1.45;

    transition: color .3s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.turnkey-step:hover {
    transform: translateY(-5px);
}

.turnkey-step:hover .turnkey-step-number {
    background: var(--turnkey-gold);

    border-color: var(--turnkey-gold);

    color: var(--turnkey-bg);

    transform: scale(1.08);

    box-shadow:
        0 0 0 7px rgba(199,169,107,.08),
        0 0 24px rgba(155,201,216,.20);
}

.turnkey-step:hover .turnkey-step-content h3 {
    color: var(--turnkey-blue);
}

.turnkey-step:hover .turnkey-step-content p {
    color: rgba(255,255,255,.86);
}


/* =========================================================
   ACTIVE
   ========================================================= */

.turnkey-step.is-active .turnkey-step-number {
    background: var(--turnkey-gold);

    border-color: var(--turnkey-gold);

    color: var(--turnkey-bg);

    box-shadow:
        0 0 0 7px rgba(199,169,107,.07);
}

/* =========================================================
   TURNKEY — ANIMATION VISUALS
   SAFE VERSION
   ========================================================= */

.turnkey-visual {
    position: relative;
}


/* ---------- 01 FEASIBILITY ---------- */

.feasibility-visual .scan-chart {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 5px;
    height: 24px;

    display: flex;
    align-items: flex-end;
    gap: 4px;

    border-bottom: 1px solid rgba(169,210,220,.3);
}

.feasibility-visual .scan-chart i {
    width: 7px;
    background: rgba(169,210,220,.35);
    animation: barsMove 3.5s ease-in-out infinite;
}

.feasibility-visual .scan-chart i:nth-child(1) { height: 10px; }
.feasibility-visual .scan-chart i:nth-child(2) { height: 18px; animation-delay: .2s; }
.feasibility-visual .scan-chart i:nth-child(3) { height: 13px; animation-delay: .4s; }
.feasibility-visual .scan-chart i:nth-child(4) { height: 21px; animation-delay: .6s; }

.feasibility-visual .scan-line {
    position: absolute;
    top: 2px;
    bottom: 3px;
    left: 8px;

    width: 1px;
    background: #a9d2dc;

    box-shadow: 0 0 7px rgba(169,210,220,.6);

    animation: scanMove 4s linear infinite;
}

@keyframes scanMove {
    from { transform: translateX(0); }
    to { transform: translateX(55px); }
}

@keyframes barsMove {
    0%, 100% { opacity: .3; }
    50% { opacity: .8; }
}


/* ---------- 02 ENGINEERING ---------- */

.engineering-visual .drawing-frame {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 4px;
    bottom: 4px;

    border: 1px solid rgba(169,210,220,.45);
}

.engineering-visual .drawing-frame span {
    position: absolute;

    width: 5px;
    height: 5px;

    border: 1px solid #a9d2dc;
}

.engineering-visual .drawing-frame span:nth-child(1) {
    left: -3px;
    top: -3px;
}

.engineering-visual .drawing-frame span:nth-child(2) {
    right: -3px;
    top: -3px;
}

.engineering-visual .drawing-frame span:nth-child(3) {
    right: -3px;
    bottom: -3px;
}

.engineering-visual .drawing-lines i {
    position: absolute;
    left: 20px;

    height: 1px;
    background: #a9d2dc;

    transform-origin: left;
    animation: drawLine 4s ease-in-out infinite;
}

.engineering-visual .drawing-lines i:nth-child(1) {
    top: 12px;
    width: 28px;
}

.engineering-visual .drawing-lines i:nth-child(2) {
    top: 20px;
    width: 20px;
    animation-delay: .3s;
}

.engineering-visual .drawing-lines i:nth-child(3) {
    top: 28px;
    width: 31px;
    animation-delay: .6s;
}

@keyframes drawLine {
    0%, 100% {
        transform: scaleX(.25);
        opacity: .25;
    }

    50% {
        transform: scaleX(1);
        opacity: .75;
    }
}


/* ---------- 03 EQUIPMENT ---------- */

.equipment-visual .equipment-box {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 32px;
    height: 24px;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(169,210,220,.6);
    border-radius: 4px;
}

.equipment-visual .equipment-box span {
    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: #a9d2dc;
}

.equipment-visual .equipment-box span:nth-child(1) {
    left: 6px;
    top: 9px;
}

.equipment-visual .equipment-box span:nth-child(2) {
    right: 6px;
    top: 9px;
}

.equipment-visual .equipment-flow {
    position: absolute;

    left: 4px;
    right: 4px;
    top: 50%;

    height: 1px;

    background: rgba(169,210,220,.25);
}

.equipment-visual .equipment-flow i {
    position: absolute;

    top: -2px;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: #a9d2dc;

    animation: equipmentSignal 3.5s linear infinite;
}

.equipment-visual .equipment-flow i:nth-child(2) {
    animation-delay: 1.1s;
}

.equipment-visual .equipment-flow i:nth-child(3) {
    animation-delay: 2.2s;
}

@keyframes equipmentSignal {
    0% {
        left: 0;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 5px);
        opacity: 0;
    }
}


/* ---------- 04 CONSTRUCTION ---------- */

.construction-visual .construction-frame {
    position: absolute;

    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 28px;

    border: 1px solid rgba(169,210,220,.5);
}

.construction-visual .construction-frame span {
    position: absolute;
    background: #a9d2dc;
    opacity: .55;
}

.construction-visual .construction-frame span:nth-child(1) {
    width: 1px;
    height: 100%;
    left: 33%;
}

.construction-visual .construction-frame span:nth-child(2) {
    width: 1px;
    height: 100%;
    left: 66%;
}

.construction-visual .construction-frame span:nth-child(3) {
    width: 100%;
    height: 1px;
    top: 50%;
}

.construction-visual .construction-beam {
    position: absolute;

    left: 21px;
    top: 4px;

    width: 32px;
    height: 1px;

    background: #a9d2dc;

    transform-origin: left;
    animation: beamMove 4s ease-in-out infinite;
}

@keyframes beamMove {
    0%, 100% {
        transform: rotate(35deg);
        opacity: .25;
    }

    50% {
        transform: rotate(0);
        opacity: .9;
    }
}


/* ---------- 05 COMMISSIONING ---------- */

.commissioning-visual .commissioning-panel {
    position: absolute;

    left: 10px;
    right: 10px;
    top: 5px;
    bottom: 5px;

    border: 1px solid rgba(169,210,220,.45);
    border-radius: 4px;
}

.commissioning-visual .status-dot {
    position: absolute;

    left: 8px;
    top: 50%;

    width: 7px;
    height: 7px;

    transform: translateY(-50%);

    border-radius: 50%;
    background: rgba(169,210,220,.3);

    animation: statusPulse 4s ease-in-out infinite;
}

.commissioning-visual .status-line {
    position: absolute;

    left: 23px;
    width: 22px;
    height: 1px;

    background: rgba(169,210,220,.35);
}

.commissioning-visual .status-line:nth-child(2) {
    top: 12px;
}

.commissioning-visual .status-line:nth-child(3) {
    top: 20px;
}

@keyframes statusPulse {
    0%, 30%, 100% {
        background: rgba(169,210,220,.3);
        box-shadow: none;
    }

    50%, 75% {
        background: #a9d2dc;
        box-shadow: 0 0 10px rgba(169,210,220,.55);
    }
}


/* ---------- 06 TRAINING ---------- */

.training-visual .training-node {
    position: absolute;

    width: 9px;
    height: 9px;

    border: 1px solid #a9d2dc;
    border-radius: 50%;

    background: #101d38;
}

.training-node-1 {
    left: 7px;
    top: 16px;
}

.training-node-2 {
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
}

.training-node-3 {
    right: 7px;
    top: 16px;
}

.training-visual .training-link {
    position: absolute;

    height: 1px;

    background: rgba(169,210,220,.4);

    transform-origin: left;
}

.training-link-1 {
    left: 16px;
    top: 20px;
    width: 25px;
    transform: rotate(-24deg);
}

.training-link-2 {
    left: 40px;
    top: 20px;
    width: 25px;
    transform: rotate(24deg);
}

.training-visual::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    left: 50%;
    top: 50%;

    border-radius: 50%;
    background: #a9d2dc;

    box-shadow: 0 0 8px rgba(169,210,220,.6);

    animation: trainingSignal 4s linear infinite;
}

@keyframes trainingSignal {
    0% {
        transform: translate(-28px, 5px);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    50% {
        transform: translate(-2px, -9px);
    }

    80% {
        transform: translate(27px, 5px);
        opacity: 1;
    }

    100% {
        transform: translate(28px, 5px);
        opacity: 0;
    }
}


/* ---------- 07 SERVICE ---------- */

.service-visual .service-module {
    position: absolute;

    left: 16px;
    right: 16px;
    top: 5px;
    bottom: 5px;

    border: 1px solid rgba(169,210,220,.5);
    border-radius: 4px;
}

.service-visual .service-module span {
    position: absolute;

    top: 50%;

    width: 6px;
    height: 6px;

    transform: translateY(-50%);

    border-radius: 50%;
    background: rgba(169,210,220,.3);

    animation: serviceCheck 4s ease-in-out infinite;
}

.service-visual .service-module span:nth-child(1) {
    left: 8px;
}

.service-visual .service-module span:nth-child(2) {
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: .5s;
}

.service-visual .service-module span:nth-child(3) {
    right: 8px;
    animation-delay: 1s;
}

@keyframes serviceCheck {
    0%, 100% {
        background: rgba(169,210,220,.3);
        box-shadow: none;
    }

    50% {
        background: #a9d2dc;
        box-shadow: 0 0 9px rgba(169,210,220,.6);
    }
}
/* =========================================================
   HOVER — MAKE THE TECHNICAL ANIMATION MORE ACTIVE
   ========================================================= */

.turnkey-step:hover .turnkey-visual {
    filter: brightness(1.2);
}

.turnkey-step:hover .turnkey-visual::after {
    opacity: 1;
}

/* =========================================================
   TURNKEY — TEXT VISIBILITY FIX
   ========================================================= */

.turnkey-step-content h3 {
    color: rgba(255, 255, 255, 0.96) !important;
}

.turnkey-step-content p {
    color: rgba(255, 255, 255, 0.68) !important;
}

.turnkey-step-content {
    position: relative;
    z-index: 10;
}

/* =========================================================
   WHY AES — MAIN SYSTEM LAYOUT
   STEP 2 — POSITIONING ONLY
   ========================================================= */

.why-aes {
    position: relative;
    overflow: hidden;
}

.why-aes .section-heading {
    position: relative;
    z-index: 5;
    margin-bottom: 45px;
}


/* ---------- SYSTEM ---------- */

.advantage-system {
    position: relative;

    width: 100%;
    max-width: 1200px;

    height: 430px;

    margin: 0 auto;
}


/* ---------- CENTRAL ENGINE ---------- */

.advantage-engine {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 260px;
    height: 220px;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 3;
}

.aes-engine-svg {
    width: 220px;
    height: auto;

    overflow: visible;
}

.aes-engine-svg rect,
.aes-engine-svg line,
.aes-engine-svg circle {
    fill: none;
    stroke: #9fcbd6;
    stroke-width: 1.5;
}

.aes-engine-svg rect:nth-of-type(2) {
    fill: rgba(159,203,214,.04);
}

.aes-engine-svg rect:nth-of-type(n+3) {
    fill: rgba(159,203,214,.08);
}

.aes-engine-svg circle {
    fill: #9fcbd6;
    stroke: none;
}

.engine-label {
    position: absolute;

    left: 50%;
    bottom: 8px;

    transform: translateX(-50%);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2px;
    white-space: nowrap;

    color: rgba(159,203,214,.7);
}


/* ---------- METRIC ITEMS ---------- */

.advantage-item {
    position: absolute;

    width: 250px;

    z-index: 4;
}

.advantage-text {
    position: relative;
}

.advantage-text strong {
    display: block;

    margin-bottom: 7px;

    font-size: 25px;
    line-height: 1;

    font-weight: 700;

    color: #d4b36a;
}

.advantage-text h3 {
    margin: 0 0 6px;

    font-size: 14px;
    line-height: 1.25;

    font-weight: 700;

    color: #ffffff;
}

.advantage-text p {
    margin: 0;

    max-width: 230px;

    font-size: 11px;
    line-height: 1.45;

    color: rgba(255,255,255,.58);
}


/* ---------- CONNECTING LINES ---------- */

.advantage-line {
    position: absolute;

    width: 95px;
    height: 1px;

    background: rgba(159,203,214,.28);

    top: 18px;
}


/* LEFT SIDE */

.advantage-item-1 {
    left: 0;
    top: 15px;
}

.advantage-item-1 .advantage-line {
    right: -110px;
}


.advantage-item-2 {
    left: 0;
    top: 165px;
}

.advantage-item-2 .advantage-line {
    right: -110px;
}


.advantage-item-3 {
    left: 0;
    bottom: 10px;
}

.advantage-item-3 .advantage-line {
    right: -110px;
}


/* RIGHT SIDE */

.advantage-item-4 {
    right: 0;
    top: 15px;
}

.advantage-item-4 .advantage-line {
    left: -110px;
}


.advantage-item-5 {
    right: 0;
    top: 165px;
}

.advantage-item-5 .advantage-line {
    left: -110px;
}


.advantage-item-6 {
    right: 0;
    bottom: 10px;
}

.advantage-item-6 .advantage-line {
    left: -110px;
}


/* ---------- SMALL CONNECTOR DOT ---------- */

.advantage-line::after {
    content: "";

    position: absolute;

    top: 50%;

    width: 5px;
    height: 5px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: #9fcbd6;
}


/* left items */

.advantage-item-1 .advantage-line::after,
.advantage-item-2 .advantage-line::after,
.advantage-item-3 .advantage-line::after {
    right: 0;
}


/* right items */

.advantage-item-4 .advantage-line::after,
.advantage-item-5 .advantage-line::after,
.advantage-item-6 .advantage-line::after {
    left: 0;
}


/* ---------- TABLET ---------- */

@media (max-width: 900px) {

    .advantage-system {
        height: auto;

        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 35px 30px;
    }

    .advantage-engine {
        position: relative;

        left: auto;
        top: auto;

        transform: none;

        grid-column: 1 / -1;
        grid-row: 1;

        margin: 0 auto;
    }

    .advantage-item {
        position: relative;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        width: auto;
    }

    .advantage-line {
        display: none;
    }

}


/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

    .advantage-system {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .advantage-engine {
        grid-column: 1;

        width: 220px;
        height: 190px;
    }

    .aes-engine-svg {
        width: 190px;
    }

    .advantage-text strong {
        font-size: 23px;
    }

}

/* =========================================================
   WHY AES — ONE SCREEN LAYOUT
   ========================================================= */

.why-aes {
    padding-top: 70px;
    padding-bottom: 70px;
    overflow: hidden;
}


/* ---------- HEADING ---------- */

.why-aes .section-heading {
    margin-bottom: 35px;
}

.why-aes .section-heading h2 {
    max-width: 700px;
    font-size: clamp(48px, 5vw, 72px);
    line-height: .95;
}


/* ---------- MAIN SYSTEM ---------- */

.advantage-system {
    width: 100%;
    max-width: 1100px;

    height: 330px;

    margin: 0 auto;
}


/* ---------- ENGINE ---------- */

.advantage-engine {
    width: 190px;
    height: 160px;
}

.aes-engine-svg {
    width: 160px;
}

.engine-label {
    font-size: 7px;
    letter-spacing: 1.5px;
}


/* ---------- TEXT ---------- */

.advantage-item {
    width: 210px;
}

.advantage-text strong {
    font-size: 20px;
    margin-bottom: 5px;
}

.advantage-text h3 {
    font-size: 12px;
    margin-bottom: 4px;
}

.advantage-text p {
    max-width: 205px;

    font-size: 10px;
    line-height: 1.35;
}


/* ---------- POSITIONS ---------- */

.advantage-item-1 {
    left: 0;
    top: 0;
}

.advantage-item-2 {
    left: 0;
    top: 115px;
}

.advantage-item-3 {
    left: 0;
    bottom: 0;
}


.advantage-item-4 {
    right: 0;
    top: 0;
}

.advantage-item-5 {
    right: 0;
    top: 115px;
}

.advantage-item-6 {
    right: 0;
    bottom: 0;
}


/* ---------- CONNECTORS ---------- */

.advantage-line {
    width: 70px;
    top: 15px;
}

.advantage-item-1 .advantage-line,
.advantage-item-2 .advantage-line,
.advantage-item-3 .advantage-line {
    right: -80px;
}

.advantage-item-4 .advantage-line,
.advantage-item-5 .advantage-line,
.advantage-item-6 .advantage-line {
    left: -80px;
}


/* ---------- BETTER READABILITY ---------- */

.advantage-text h3 {
    color: #101d38 !important;
}

.advantage-text p {
    color: #68758a !important;
}

.advantage-text strong {
    color: #c49a43;
}

/* =========================================================
   WHY AES — BALANCED SCALE
   ========================================================= */

.why-aes .section-heading {
    margin-bottom: 28px;
}

.why-aes .section-heading h2 {
    max-width: 650px;
    font-size: clamp(40px, 4vw, 58px);
    line-height: .95;
}


/* більше місця для 6 показників */

.advantage-system {
    height: 360px;
}


/* самі показники */

.advantage-item {
    width: 240px;
}

.advantage-text strong {
    font-size: 24px;
    margin-bottom: 7px;
}

.advantage-text h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.advantage-text p {
    max-width: 235px;
    font-size: 12px;
    line-height: 1.45;
}


/* відстань між трьома рядами */

.advantage-item-1 {
    top: 0;
}

.advantage-item-2 {
    top: 130px;
}

.advantage-item-3 {
    bottom: 0;
}

.advantage-item-4 {
    top: 0;
}

.advantage-item-5 {
    top: 130px;
}

.advantage-item-6 {
    bottom: 0;
}


/* лінії трохи довші, щоб композиція не виглядала розірваною */

.advantage-line {
    width: 85px;
}

.advantage-item-1 .advantage-line,
.advantage-item-2 .advantage-line,
.advantage-item-3 .advantage-line {
    right: -95px;
}

.advantage-item-4 .advantage-line,
.advantage-item-5 .advantage-line,
.advantage-item-6 .advantage-line {
    left: -95px;
}

/* =========================================================
   ENERGY POTENTIAL — VIDEO BACKGROUND
   ========================================================= */

.energy-potential {
    position: relative;
    overflow: hidden;
}

.calculator-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    overflow: hidden;
    pointer-events: none;
}

.calculator-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0.35;
}

.calculator-overlay {
    position: absolute;
    inset: 0;

    background: rgba(10, 25, 48, 0.55);
}

.energy-potential > .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   ENERGY POTENTIAL — HEADING
   ========================================================= */

.energy-potential-header h2 {
    max-width: 620px;

    font-size: clamp(46px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: -1.5px;

    margin-bottom: 22px;
}

.energy-potential-header p {
    max-width: 620px;

    font-size: 16px;
    line-height: 1.5;

    color: rgba(255,255,255,.72);
}

/* =========================================================
   ENERGY POTENTIAL — HEADING STYLE
   ========================================================= */

.energy-potential-header h2 {
    max-width: 620px;

    margin: 0;

    color: #f3eee4 !important;

    font-size: clamp(46px, 5vw, 68px);
    line-height: 0.98;

    letter-spacing: -0.045em;
    font-weight: 700;

    animation:
        energyHeadingIn
        0.9s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}


/* кремовий колір і для виділеної частини */

.energy-potential-header h2 span {
    color: #f3eee4 !important;
}


@keyframes energyHeadingIn {

    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================================
   PROJECTS — AUTO ACTIVE CARD
   ========================================================= */

#projects .project-card {
    transition:
        transform 0.7s ease,
        opacity 0.7s ease,
        filter 0.7s ease;
}

#projects .project-card.is-active {
    transform: translateY(-10px) scale(1.03);
    z-index: 3;
}


/* трохи спокійніші неактивні картки */

#projects .project-grid:has(.project-card.is-active)
.project-card:not(.is-active) {
    opacity: 0.72;
    filter: brightness(0.85);
}

/* =========================================================
   PROJECTS — ACTIVE CARD
   ========================================================= */

#projects .project-card {
    position: relative;
    transition:
        transform 0.7s ease,
        opacity 0.7s ease,
        filter 0.7s ease;
}

#projects .project-card.is-active {
    transform: translateY(-12px) scale(1.04);
    z-index: 5;
}

#projects .project-card.is-active .project-image img {
    transform: scale(1.04);
}

#projects .project-card .project-image img {
    transition: transform 0.8s ease;
}


/* Неактивні трохи спокійніші */

#projects .project-card:not(.is-active) {
    opacity: 0.65;
}

#projects .project-card.is-active {
    opacity: 1;
}

/* =========================================================
   PROJECTS — HOVER + AUTO ACTIVE IMAGE
   ========================================================= */

#projects .project-card {
    position: relative;
    transition:
        transform 0.7s ease,
        opacity 0.7s ease,
        filter 0.7s ease;
}


/* Фото приховане */

#projects .project-card .project-image {
    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}


/* Фото відкривається при наведенні */

#projects .project-card:hover .project-image {
    opacity: 1;
    visibility: visible;
}


/* Фото відкривається в активній картці */

#projects .project-card.is-active .project-image {
    opacity: 1;
    visibility: visible;
}


/* Активна картка */

#projects .project-card.is-active {
    transform: translateY(-10px) scale(1.03);
    z-index: 5;
}


/* Неактивні картки */

#projects .project-card:not(.is-active) {
    opacity: 0.72;
    filter: brightness(0.88);
}


/* Фото активної картки трохи наближається */

#projects .project-card .project-image img {
    transition: transform 0.8s ease;
}

#projects .project-card.is-active .project-image img,
#projects .project-card:hover .project-image img {
    transform: scale(1.04);
}

/* =========================================================
   APPLICATIONS
   ========================================================= */

.applications {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    background: #f4f1e9;
}

.applications-inner {
    position: relative;
    width: min(1400px, calc(100% - 84px));
    margin: 0 auto;
}

.applications-header {
    margin-bottom: 45px;
}

.applications-header .eyebrow {
    display: block;
    margin-bottom: 14px;

    color: #b98a32;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.applications-header h2 {
    max-width: 720px;
    margin: 0;

    color: #101d3b;

    font-size: clamp(42px, 5vw, 70px);
    line-height: .95;
    letter-spacing: -.045em;
}

.applications-header h2 span {
    color: #b98a32;
}


/* =========================================================
   APPLICATION ITEMS
   ========================================================= */

.applications-track {
    position: relative;

    display: grid;
    grid-template-columns: repeat(6, 1fr);

    min-height: 150px;

    border-top: 1px solid rgba(16,29,59,.16);
    border-bottom: 1px solid rgba(16,29,59,.16);
}

.application-item {
    position: relative;

    min-height: 150px;
    padding: 28px 18px;

    border: 0;
    border-right: 1px solid rgba(16,29,59,.12);

    background: transparent;

    color: #101d3b;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;

    text-align: left;

    cursor: pointer;

    transition:
        color .35s ease,
        filter .35s ease,
        opacity .35s ease;
}

.application-item:first-child {
    border-left: 1px solid rgba(16,29,59,.12);
}

.application-item:hover {
    color: #b98a32;
}


/* =========================================================
   VIDEO PREVIEW
   ========================================================= */

.applications-preview {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 420px;
    height: 235px;

    transform:
        translate(-50%, -50%)
        scale(.92);

    opacity: 0;
    visibility: hidden;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.35);

    background: #101d3b;

    box-shadow:
        0 25px 70px rgba(0,0,0,.25);

    pointer-events: none;

    z-index: 10;

    transition:
        opacity .4s ease,
        transform .5s cubic-bezier(.22,1,.36,1);
}

.applications-preview.is-visible {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, -50%)
        scale(1);
}

.applications-preview-video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .applications-track {
        grid-template-columns: repeat(3, 1fr);
    }

    .applications-preview {
        width: 360px;
        height: 200px;
    }

}


@media (max-width: 600px) {

    .applications {
        padding: 50px 0;
    }

    .applications-inner {
        width: calc(100% - 40px);
    }

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

    .applications-preview {
        width: 300px;
        height: 170px;
    }

}

/* TECHNOLOGY — COMPACT IMAGE SELECTOR */

.technology {
    padding-block: clamp(72px, 7vw, 104px);
}

.technology .section-heading {
    margin-bottom: clamp(34px, 4vw, 52px);
}

.technology .section-heading h2 {
    max-width: 860px;
}

.technology-compact {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    min-height: 340px;

    border-top: 1px solid rgba(17, 27, 49, 0.16);
    border-bottom: 1px solid rgba(17, 27, 49, 0.16);
}

.technology-list {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.technology-option {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 14px;
    align-items: center;

    min-height: 80px;
    padding: 16px 8px 16px 0;

    border: 0;
    border-bottom: 1px solid rgba(17, 27, 49, 0.12);
    background: transparent;
    color: #15223b;

    font-family: inherit;
    text-align: left;
    cursor: pointer;

    transition: color 0.25s ease, padding-left 0.25s ease;
}

.technology-option:last-child {
    border-bottom: 0;
}

.technology-option span {
    color: #b48632;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.technology-option strong {
    font-size: 16px;
    line-height: 1.15;
}

.technology-option i {
    color: #b48632;
    font-size: 17px;
    font-style: normal;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.technology-option:hover,
.technology-option.is-active {
    color: #b48632;
    padding-left: 8px;
}

.technology-option:hover i,
.technology-option.is-active i {
    opacity: 1;
    transform: translateX(0);
}

.technology-preview {
    position: relative;
    min-height: 300px;
    margin: 20px 0 20px 40px;
    overflow: hidden;
    background: #111b31;
}

.technology-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(9, 20, 38, 0.82),
        rgba(9, 20, 38, 0.12)
    );
    pointer-events: none;
}

.technology-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.2s ease, transform 0.5s ease;
}

.technology-preview.is-changing img {
    opacity: 0.35;
    transform: scale(1.03);
}

.technology-preview figcaption {
    position: absolute;
    z-index: 1;
    right: 28px;
    bottom: 24px;
    left: 28px;
    max-width: 360px;
    color: #ffffff;
}

.technology-preview h3 {
    margin: 0 0 8px;
    font-size: clamp(20px, 2vw, 29px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.technology-preview p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 800px) {
    .technology-compact {
        grid-template-columns: 1fr;
    }

    .technology-list {
        padding: 0;
    }

    .technology-option {
        min-height: 64px;
        padding-right: 0;
    }

    .technology-preview {
        min-height: 280px;
        margin: 20px 0 0;
    }
}

@media (max-width: 700px) {
    .technology {
        padding-block: 64px;
    }

    .technology-option strong {
        font-size: 14px;
    }

    .technology-preview figcaption {
        right: 20px;
        bottom: 20px;
        left: 20px;
    }
}

/* =========================================================
   TECHNOLOGY — FIXED IMAGE SIZE
========================================================= */

.technology-preview {
    height: 560px;
    overflow: hidden;
}

.technology-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* =========================================================
   TURNKEY — COMPACT
   ========================================================= */

#turnkey {
    padding-top: 55px;
    padding-bottom: 45px;
}

#turnkey .section-heading {
    margin-bottom: 45px;
}

#turnkey .section-heading h2 {
    font-size: clamp(52px, 5.5vw, 82px);
    line-height: .94;
    margin-bottom: 22px;
}

#turnkey .section-heading .section-text {
    max-width: 720px;
    font-size: 17px;
    line-height: 1.45;
}

#turnkey .turnkey-timeline {
    margin-top: 0;
}

#turnkey .turnkey-step {
    padding-top: 0;
}

#turnkey .turnkey-step > span {
    width: 54px;
    height: 54px;
    font-size: 12px;
}

#turnkey .turnkey-step h3 {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.15;
}

#turnkey .turnkey-step p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
}

#technology {
    padding-top: 55px !important;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 28px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #b98a32;
    border-radius: 50%;

    background: #101d3b;
    color: #d8b66a;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;

    z-index: 9999;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* =========================================================
   APPLICATIONS — VIDEO TRANSITION
   ========================================================= */

/* Лінія завжди залишається чіткою */
.applications-track {
    position: relative;
}


/* =========================================================
   VIDEO — NORMAL
   ========================================================= */

.applications-preview {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 420px;
    height: 235px;

    overflow: hidden;

    background: #101d3b;

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, -50%)
        scale(.88)
        translateY(18px);

    pointer-events: none;

    z-index: 10;

    transition:
        opacity .55s ease,
        transform .75s cubic-bezier(.22, 1, .36, 1),
        filter .55s ease;
}


/* =========================================================
   VIDEO — APPEARS
   ========================================================= */

.applications-preview.is-visible {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, -50%)
        scale(1)
        translateY(0);

    filter: blur(0);

}


/* =========================================================
   VIDEO — GOES BACK
   ========================================================= */

.applications-preview.is-exiting {

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(.88)
        translateY(18px);

    filter: blur(4px);

}


/* =========================================================
   VIDEO — ENTER
   ========================================================= */

.applications-preview.is-entering {

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(.88)
        translateY(-18px);

    animation: applicationsVideoEnter .65s
        cubic-bezier(.22, 1, .36, 1)
        forwards;

}


@keyframes applicationsVideoEnter {

    from {

        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(.88)
            translateY(-18px);

        filter: blur(5px);

    }

    to {

        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(1)
            translateY(0);

        filter: blur(0);

    }

}


/* =========================================================
   BLUR ONLY WHILE VIDEO IS VISIBLE
   ========================================================= */

/* самі назви трохи відходять назад */
.applications-track.is-previewing
.application-item {

    opacity: .42;

    filter: blur(1.5px);

    transition:
        opacity .45s ease,
        filter .45s ease,
        color .35s ease;

}


/* активна назва залишається читабельною */
.applications-track.is-previewing
.application-item.is-active {

    opacity: 1;

    filter: none;

    color: #b98a32;

}


/* =========================================================
   VIDEO ITSELF
   ========================================================= */

.applications-preview-video {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================================================
   IMPORTANT — LINE STAYS SHARP
   ========================================================= */

.applications-track::before,
.applications-track::after {

    transition:
        opacity .4s ease,
        filter .4s ease;

}


/* під час відео лінія лише трохи відходить
   без постійного blur */
.applications-track.is-previewing::before,
.applications-track.is-previewing::after {

    opacity: .55;

}

/* =========================================================
   ABOUT AES — SINCE 2002
========================================================= */

.about-aes {
    position: relative;
    min-height: 560px;
    overflow: hidden;

    background: #101d3b;
    color: #f4f0e7;
}


/* =========================================================
   BACKGROUND VIDEO
========================================================= */

.about-aes-bg {
    position: absolute;
    inset: 0;

    z-index: 0;
    overflow: hidden;
}


.about-aes-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.04);

    opacity: .42;
}


.about-aes-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(16, 29, 59, .96) 0%,
            rgba(16, 29, 59, .84) 48%,
            rgba(16, 29, 59, .68) 100%
        );

    z-index: 1;
}


/* =========================================================
   CONTENT
========================================================= */

.about-aes-content {
    position: relative;

    z-index: 2;

    padding-top: 85px;
    padding-bottom: 65px;
}


/* =========================================================
   HEADING
========================================================= */

.about-aes-heading {
    max-width: 760px;
}


.about-aes-heading .section-label {
    color: #c08d2e;
}


.about-aes-heading h2 {
    margin: 20px 0 20px;

    max-width: 760px;

    font-size: clamp(54px, 6vw, 92px);
    line-height: .95;
    letter-spacing: -0.045em;

    color: #f4f0e7;
}


.about-aes-heading h2 span {
    color: #c08d2e;
}


.about-aes-heading p {
    max-width: 560px;

    margin: 0;

    font-size: 18px;
    line-height: 1.55;

    color: rgba(244, 240, 231, .72);
}


/* =========================================================
   TIMELINE
========================================================= */

.about-aes-timeline {
    position: relative;

    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;

    margin-top: 75px;
}


/* MAIN LINE */

.about-aes-line {
    position: absolute;

    left: 0;
    right: 0;

    top: 20px;

    height: 1px;

    background: rgba(244, 240, 231, .24);

    z-index: 0;
}


.about-aes-line-progress {
    width: 0;
    height: 100%;

    background: #c08d2e;

    box-shadow:
        0 0 14px rgba(192, 141, 46, .55);
}


/* =========================================================
   TIMELINE POINT
========================================================= */

.about-aes-point {
    position: relative;

    z-index: 2;
}


.about-aes-dot {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(244, 240, 231, .35);
    border-radius: 50%;

    background: #101d3b;

    color: #c08d2e;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}


.about-aes-point:first-of-type
.about-aes-dot {
    background: #c08d2e;
    color: #101d3b;

    border-color: #c08d2e;
}


/* =========================================================
   EVENT
========================================================= */

.about-aes-event {
    padding-top: 28px;
}


.about-aes-event span {
    display: block;

    margin-bottom: 8px;

    color: #c08d2e;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .12em;
}


.about-aes-event strong {
    display: block;

    max-width: 220px;

    margin-bottom: 9px;

    color: #f4f0e7;

    font-size: 20px;
    line-height: 1.15;
}


.about-aes-event p {
    max-width: 230px;

    margin: 0;

    color: rgba(244, 240, 231, .64);

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   FOOTER
========================================================= */

.about-aes-footer {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 80px;

    padding-top: 28px;

    border-top:
        1px solid
        rgba(244, 240, 231, .16);
}


.about-aes-footer > span {

    color: rgba(244, 240, 231, .42);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .16em;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .about-aes-content {
        padding-top: 80px;
        padding-bottom: 60px;
    }


    .about-aes-heading h2 {
        font-size: 54px;
    }


    .about-aes-timeline {

        grid-template-columns: 1fr 1fr;

        gap: 45px 25px;

        margin-top: 70px;
    }


    .about-aes-line {
        display: none;
    }


    .about-aes-footer {

        align-items: flex-start;
        flex-direction: column;

        gap: 25px;

        margin-top: 55px;
    }

}

/* =========================================================
   ABOUT AES — SCROLL ANIMATION
========================================================= */

/* Початковий стан точок */

.about-aes-point {
    opacity: 0;
    transform: translateY(18px);

    transition:
        opacity .6s ease,
        transform .7s cubic-bezier(.22, 1, .36, 1);
}


/* Точка стає видимою */

.about-aes.is-visible .about-aes-point {
    opacity: 1;
    transform: translateY(0);
}


/* Затримка для кожної точки */

.about-aes.is-visible
.about-aes-point:nth-of-type(2) {
    transition-delay: .35s;
}

.about-aes.is-visible
.about-aes-point:nth-of-type(3) {
    transition-delay: .85s;
}

.about-aes.is-visible
.about-aes-point:nth-of-type(4) {
    transition-delay: 1.35s;
}

.about-aes.is-visible
.about-aes-point:nth-of-type(5) {
    transition-delay: 1.85s;
}


/* =========================================================
   TIMELINE PROGRESS
========================================================= */

.about-aes-line-progress {
    width: 0;

    transition:
        width 2.8s
        cubic-bezier(.22, 1, .36, 1);
}


.about-aes.is-visible
.about-aes-line-progress {
    width: 100%;
}


/* =========================================================
   DOT ACTIVE EFFECT
========================================================= */

.about-aes-dot {
    transition:
        background .4s ease,
        color .4s ease,
        border-color .4s ease,
        box-shadow .5s ease,
        transform .4s ease;
}


.about-aes-point.is-active .about-aes-dot {
    background: #c08d2e;
    color: #101d3b;

    border-color: #c08d2e;

    box-shadow:
        0 0 0 7px rgba(192, 141, 46, .12);

    transform: scale(1.08);
}


/* =========================================================
   EVENT TEXT
========================================================= */

.about-aes-event {
    opacity: .45;

    transform: translateY(8px);

    transition:
        opacity .5s ease,
        transform .5s ease;
}


.about-aes-point.is-active .about-aes-event {
    opacity: 1;

    transform: translateY(0);
}

/* =========================
   CONTACT — WHITE VERSION
   ========================= */

.contact-footer {
    background: #ffffff;
    color: #101a33;
}

.contact-footer .contact-footer-title h2 {
    color: #101a33;
}

.contact-footer .contact-footer-title h2 span {
    color: #c99a3d;
}

.contact-footer .contact-footer-title > p:last-child {
    color: #101a33;
}

.contact-footer .contact-item span {
    color: #c99a3d;
}

.contact-footer .contact-item a,
.contact-footer .contact-item p {
    color: #101a33;
}

.contact-footer .contact-footer-bottom {
    color: #101a33;
}

.contact-footer .footer-logo {
    color: #101a33;
}

.contact-footer .contact-footer-button {
    background: #c99a3d;
    color: #101a33;
}

.contact-footer .contact-footer-button span {
    color: #101a33;
}

/* =========================================================
   CONTACT FOOTER — PREMIUM VIDEO STRIP
   ========================================================= */

.contact-footer {
    position: relative;
    overflow: hidden;

    background: #ffffff;
    color: #101a33;

    padding: 58px 0 30px;
}


/* TOP */

.contact-footer-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;
}


.contact-footer-title {
    max-width: 900px;
}


.contact-footer-title .eyebrow {
    margin-bottom: 18px;
}


.contact-footer-title h2 {
    margin: 0;

    color: #101a33;

    font-size: clamp(48px, 6vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.05em;
}


.contact-footer-title h2 span {
    color: #c99a3d;
}


.contact-footer-title > p:last-child {
    max-width: 620px;

    margin-top: 22px;

    color: #101a33;

    font-size: 17px;
    line-height: 1.45;
}


/* BUTTON */

.contact-footer-button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    width: 240px;
    min-height: 68px;

    padding: 0 25px;

    background: #c99a3d;
    color: #101a33;

    text-decoration: none;

    font-weight: 600;

    transition: transform 0.3s ease;
}


.contact-footer-button span {
    font-size: 25px;
}


.contact-footer-button:hover {
    transform: translateY(-3px);
}


/* =========================================================
   VIDEO STRIP
   ========================================================= */

.contact-footer-video-wrap {
    position: relative;

    width: 100%;
    height: clamp(130px, 14vw, 190px);

    margin: 48px 0 0;

    overflow: hidden;

    border-radius: 2px;
}


.contact-footer-video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0.92;
}


/* =========================================================
   CONTACT INFO
   ========================================================= */

.contact-footer-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    margin-top: 32px;

    padding-top: 22px;

    border-top: 1px solid rgba(16, 26, 51, 0.16);
}


.contact-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.contact-item span {
    color: #c99a3d;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.16em;
}


.contact-item a,
.contact-item p {
    margin: 0;

    color: #101a33;

    font-size: 15px;
    line-height: 1.4;

    text-decoration: none;
}


.contact-item a:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.contact-footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-top: 34px;

    padding-top: 18px;

    border-top: 1px solid rgba(16, 26, 51, 0.16);
}


.footer-logo {
    color: #101a33;

    font-size: 14px;
    font-weight: 800;

    line-height: 0.9;
    letter-spacing: -0.04em;
}


.contact-footer-bottom p {
    margin: 0;

    color: rgba(16, 26, 51, 0.6);

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

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

    .contact-footer-info {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .contact-footer {
        padding: 45px 0 25px;
    }

    .contact-footer-title h2 {
        font-size: clamp(42px, 11vw, 62px);
    }

    .contact-footer-video-wrap {
        height: 130px;
        margin-top: 36px;
    }

    .contact-footer-info {
        grid-template-columns: 1fr;
        gap: 22px;
    }

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

}

/* =========================================================
   APPLICATIONS + ABOUT AES — SPACING FIX
   ========================================================= */

/* APPLICATIONS */

.applications.section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.applications .applications-header {
    margin-bottom: 42px;
}


/* ABOUT AES */

.about-aes.section {
    padding-top: 0;
    padding-bottom: 0;
}

.about-aes-content {
    padding-top: 85px;
    padding-bottom: 65px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .applications.section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .about-aes-content {
        padding-top: 65px;
        padding-bottom: 50px;
    }

}

/* =========================================================
   TECHNOLOGY → TECHNOLOGY PARTNERS
   FINAL VERSION
========================================================= */


/* REMOVE GAP AFTER TECHNOLOGY */

#technology {
    padding-bottom: 0 !important;
}


/* =========================================================
   TECHNOLOGY PARTNERS
========================================================= */

.technology-partners {
    position: relative;

    width: 100%;
    height: 175px;

    margin: 0 !important;
    padding: 0 !important;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;

    background: #101d3b;

    box-sizing: border-box;

    isolation: isolate;
}


/* TOP / BOTTOM GOLD LINES */

.technology-partners::before,
.technology-partners::after {
    content: "";

    position: absolute;

    left: 0;

    width: 100%;
    height: 1px;

    background: rgba(198, 154, 58, 0.75);

    z-index: 10;
}

.technology-partners::before {
    top: 0;
}

.technology-partners::after {
    bottom: 0;
}


/* =========================================================
   TITLE
========================================================= */

.technology-partners-label {
    position: relative;

    z-index: 8;

    margin: 0 0 18px 42px;

    padding: 0;

    color: #c69a3a;

    font-size: 12px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.20em;

    text-align: left;
    text-transform: uppercase;
}


/* =========================================================
   MARQUEE
========================================================= */

.technology-partners-marquee {
    position: relative;

    width: 100%;
    height: 65px;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


/* =========================================================
   SIDE FADE
========================================================= */

.technology-partners-marquee::before,
.technology-partners-marquee::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    width: 130px;

    z-index: 6;

    pointer-events: none;
}

.technology-partners-marquee::before {
    left: 0;

    background: linear-gradient(
        90deg,
        #101d3b 0%,
        rgba(16, 29, 59, 0.92) 35%,
        rgba(16, 29, 59, 0) 100%
    );
}

.technology-partners-marquee::after {
    right: 0;

    background: linear-gradient(
        270deg,
        #101d3b 0%,
        rgba(16, 29, 59, 0.92) 35%,
        rgba(16, 29, 59, 0) 100%
    );
}


/* =========================================================
   MOVING TRACK
========================================================= */

.technology-partners-track {
    display: flex !important;

    flex-direction: row !important;

    flex-wrap: nowrap !important;

    align-items: center !important;

    justify-content: flex-start !important;

    width: max-content !important;
    max-width: none !important;

    height: 65px;

    margin: 0 !important;
    padding: 0 !important;

    gap: 72px;

    animation:
        technologyPartnersScroll
        34s
        linear
        infinite;

    will-change: transform;
}


/* =========================================================
   PARTNER ITEM
========================================================= */

.technology-partner {
    flex: 0 0 145px !important;

    width: 145px !important;
    min-width: 145px !important;

    height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;

    opacity: 1;

    box-sizing: border-box;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================================
   LOGOS
========================================================= */

.technology-partner img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 145px !important;
    max-height: 54px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain;

    opacity: 1 !important;

    filter: none !important;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}


/* =========================================================
   HOVER
========================================================= */

.technology-partner:hover {
    transform: scale(1.07);
}

.technology-partner:hover img {
    transform: scale(1.04);

    filter:
        drop-shadow(
            0 0 12px
            rgba(255, 255, 255, 0.18)
        ) !important;
}


/* =========================================================
   INFINITE MOVEMENT
========================================================= */

@keyframes technologyPartnersScroll {

    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(
            calc(-50% - 36px),
            0,
            0
        );
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    #technology {
        padding-bottom: 0 !important;
    }

    .technology-partners {
        height: 145px;
    }

    .technology-partners-label {
        margin-left: 24px;
        margin-bottom: 16px;

        font-size: 10px;
    }

    .technology-partners-marquee {
        height: 55px;
    }

    .technology-partners-track {
        height: 55px;

        gap: 48px;

        animation-duration: 27s;
    }

    .technology-partner {
        flex-basis: 115px !important;

        width: 115px !important;
        min-width: 115px !important;

        height: 50px !important;
    }

    .technology-partner img {
        max-width: 115px !important;
        max-height: 46px !important;
    }

    .technology-partners-marquee::before,
    .technology-partners-marquee::after {
        width: 65px;
    }
}

/* =========================================================
   SOLUTION DETAIL PAGES
   ========================================================= */

.solution-detail {
    position: fixed;
    inset: 0;

    z-index: 9999;

    background: #f5f4ef;

    overflow-y: auto;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(24px);

    transition:
        opacity 0.35s ease,
        transform 0.4s ease,
        visibility 0s linear 0.4s;
}


.solution-detail.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);

    transition:
        opacity 0.35s ease,
        transform 0.4s ease,
        visibility 0s linear 0s;
}


body.solution-detail-open {
    overflow: hidden;
}


.solution-detail-page {
    display: none;

    min-height: 100vh;

    padding:
        42px
        6vw
        70px;
}


.solution-detail-page.is-active {
    display: block;
}


.solution-detail-inner {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;
}


/* =========================================================
   BACK BUTTON
   ========================================================= */

.solution-detail-back {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    margin: 0 0 45px;
    padding: 0;

    border: 0;
    background: transparent;

    color: rgba(17, 27, 49, 0.55);

    font-family: inherit;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.solution-detail-back:hover {
    color: #111b31;

    transform: translateX(-5px);
}


/* =========================================================
   HERO
   ========================================================= */

.solution-detail-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.72fr);

    gap: 7vw;

    align-items: center;

    min-height: 560px;
}


.solution-detail-hero-content {
    max-width: 720px;
}


.solution-detail-page .eyebrow {
    display: block;

    margin-bottom: 20px;

    color: #b48632 !important;

    font-family: inherit !important;

    font-size: 11px !important;
    font-weight: 700 !important;

    line-height: 1.2;

    letter-spacing: 0.18em !important;

    text-transform: uppercase;
}


.solution-detail-page h2 {
    max-width: 680px;

    margin: 0 0 24px;

    color: #111b31 !important;

    font-family: inherit !important;

    font-size: clamp(38px, 4vw, 58px) !important;

    font-weight: 500 !important;

    line-height: 1.02 !important;

    letter-spacing: -0.035em !important;
}


.solution-detail-page h2 span {
    display: block;

    margin-top: 4px;

    color: #b48632 !important;
}


.solution-detail-intro {
    max-width: 590px;

    margin: 0;

    color: rgba(17, 27, 49, 0.63) !important;

    font-family: inherit !important;

    font-size: 16px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;
}


.solution-detail-intro p {
    margin: 0;
}


/* =========================================================
   FACTS
   ========================================================= */

.solution-detail-facts {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    max-width: 680px;

    margin-top: 45px;

    padding-top: 22px;

    border-top:
        1px solid
        rgba(17, 27, 49, 0.15);
}


.solution-detail-fact {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.solution-detail-fact strong {
    color: #111b31;

    font-family: inherit;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.1;
}


.solution-detail-fact span {
    color: rgba(17, 27, 49, 0.5);

    font-family: inherit;

    font-size: 9px;
    font-weight: 700;

    line-height: 1.4;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   MEDIA
   ========================================================= */

.solution-detail-media {
    position: relative;

    width: 100%;

    overflow: visible;

    background: transparent;
}


.solution-detail-media img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}


.solution-detail-media video {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}


.solution-video-control {
    position: absolute;

    right: 20px;
    bottom: 20px;

    z-index: 5;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 1px solid rgba(255,255,255,0.5);

    border-radius: 50%;

    background: rgba(17,27,49,0.78);

    color: #ffffff;

    font-size: 13px;

    cursor: pointer;

    backdrop-filter: blur(8px);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.solution-video-control:hover {
    background: #111b31;

    transform: scale(1.05);
}


/* =========================================================
   BODY
   ========================================================= */

.solution-detail-body {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.7fr);

    gap: 9vw;

    margin-top: 70px;

    padding-top: 50px;

    border-top:
        1px solid
        rgba(17, 27, 49, 0.14);
}


.solution-detail-body-column {
    max-width: 650px;
}


.solution-detail-body .section-label {
    display: block;

    margin-bottom: 20px;

    color: #b48632;

    font-family: inherit;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.solution-detail-body h3 {
    max-width: 600px;

    margin: 0 0 22px;

    color: #111b31;

    font-family: inherit;

    font-size: clamp(28px, 3vw, 42px);

    font-weight: 500;

    line-height: 1.06;

    letter-spacing: -0.03em;
}


.solution-detail-body p {
    max-width: 600px;

    margin: 0 0 17px;

    color: rgba(17, 27, 49, 0.62);

    font-family: inherit;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   LIST
   ========================================================= */

.solution-fuel-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    margin: 25px 0 22px;

    border-top:
        1px solid
        rgba(17, 27, 49, 0.12);

    border-left:
        1px solid
        rgba(17, 27, 49, 0.12);
}


.solution-fuel-list span {
    padding: 14px 15px;

    border-right:
        1px solid
        rgba(17, 27, 49, 0.12);

    border-bottom:
        1px solid
        rgba(17, 27, 49, 0.12);

    color: rgba(17, 27, 49, 0.7);

    font-family: inherit;

    font-size: 13px;

    line-height: 1.4;
}


/* =========================================================
   EFFICIENCY
   ========================================================= */

.solution-detail-efficiency {
    display: flex;

    align-items: flex-end;

    gap: 18px;

    margin-top: 40px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(17, 27, 49, 0.12);
}


.solution-detail-efficiency strong {
    color: #b48632;

    font-family: inherit;

    font-size: 46px;

    font-weight: 500;

    line-height: 0.9;
}


.solution-detail-efficiency span {
    max-width: 150px;

    color: rgba(17, 27, 49, 0.55);

    font-family: inherit;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.4;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   GRID SUPPORT — RESPONSE
   ========================================================= */

.solution-grid-response {
    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 60px;

    align-items: center;

    margin-top: 75px;

    padding: 45px 0;

    border-top:
        1px solid
        rgba(17, 27, 49, 0.14);

    border-bottom:
        1px solid
        rgba(17, 27, 49, 0.14);
}


.solution-grid-number {
    display: flex;

    align-items: baseline;

    gap: 6px;
}


.solution-grid-number strong {
    color: #b48632;

    font-family: inherit;

    font-size: 110px;

    font-weight: 500;

    line-height: 0.75;

    letter-spacing: -0.07em;
}


.solution-grid-number span {
    color: #111b31;

    font-size: 18px;

    font-weight: 600;
}


.solution-grid-response-text {
    max-width: 620px;
}


.solution-grid-response-text .section-label {
    display: block;

    margin-bottom: 10px;

    color: #b48632;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.solution-grid-response-text h3 {
    margin: 0 0 12px;

    color: #111b31;

    font-family: inherit;

    font-size: clamp(28px, 3vw, 42px);

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -0.03em;
}


.solution-grid-response-text p {
    max-width: 560px;

    margin: 0;

    color: rgba(17, 27, 49, 0.62);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   INDUSTRIAL — EFFICIENCY
   ========================================================= */

.solution-industrial-efficiency {
    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 70px;

    align-items: center;

    margin-top: 75px;

    padding: 55px 0;

    border-top:
        1px solid
        rgba(17, 27, 49, 0.14);

    border-bottom:
        1px solid
        rgba(17, 27, 49, 0.14);
}


.solution-industrial-efficiency-number {
    display: flex;

    align-items: baseline;

    gap: 4px;
}


.solution-industrial-efficiency-number strong {
    color: #b48632;

    font-family: inherit;

    font-size: clamp(90px, 11vw, 150px);

    font-weight: 500;

    line-height: 0.75;

    letter-spacing: -0.07em;
}


.solution-industrial-efficiency-number span {
    color: #111b31;

    font-size: 28px;

    font-weight: 500;
}


.solution-industrial-efficiency-text {
    max-width: 620px;
}


.solution-industrial-efficiency-text .section-label {
    display: block;

    margin-bottom: 8px;

    color: #b48632;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.solution-industrial-efficiency-text h3 {
    margin: 0 0 12px;

    color: #111b31;

    font-family: inherit;

    font-size: clamp(28px, 3vw, 42px);

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -0.03em;
}


.solution-industrial-efficiency-text p {
    max-width: 560px;

    margin: 0;

    color: rgba(17, 27, 49, 0.62);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.solution-detail-bottom {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    margin-top: 70px;

    padding-top: 18px;

    border-top:
        1px solid
        rgba(17, 27, 49, 0.10);

    color: rgba(17, 27, 49, 0.4);

    font-family: inherit;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .solution-detail-page {
        padding:
            30px
            25px
            60px;
    }


    .solution-detail-hero {
        grid-template-columns: 1fr;

        gap: 45px;

        min-height: auto;
    }


    .solution-detail-media {
        max-width: 620px;
    }


    .solution-detail-body {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .solution-grid-response {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .solution-industrial-efficiency {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .solution-detail-page {
        padding:
            25px
            20px
            50px;
    }


    .solution-detail-back {
        margin-bottom: 35px;

        font-size: 9px;
    }


    .solution-detail-page h2 {
        font-size:
            clamp(
                38px,
                11vw,
                58px
            ) !important;
    }


    .solution-detail-intro {
        font-size: 15px !important;
    }


    .solution-detail-facts {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 35px;
    }


    .solution-detail-body {
        margin-top: 50px;

        padding-top: 35px;
    }


    .solution-detail-body h3 {
        font-size: 30px;
    }


    .solution-fuel-list {
        grid-template-columns: 1fr;
    }


    .solution-grid-number strong {
        font-size: 90px;
    }


    .solution-industrial-efficiency-number strong {
        font-size: 90px;
    }


    .solution-detail-bottom {
        flex-direction: column;

        gap: 8px;
    }

}

/* =========================================================
   SOLUTION DETAIL — QUESTIONNAIRE BUTTON
========================================================= */

.solution-detail-form-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin: 0;
    padding: 18px 22px;

    box-sizing: border-box;

    border: 0;
    border-radius: 2px;

    background: #111b31;

    color: #ffffff;

    font-family: inherit !important;
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.06em;
    text-transform: uppercase;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.solution-detail-form-button span {
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
}


.solution-detail-form-button:hover {
    background: #b9872b;
    transform: translateY(-1px);
}