/* .hero {
    position: relative;
    overflow: hidden;
    min-height: calc(80vh - var(--header-height));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 148px 48px 80px;
    background-size: 100%; 
} */

.hero-wrap{
    position:relative;
    overflow:hidden;
} 
.hero-wrap #hero-peek{
    min-height: 100vh;
    object-fit: cover;
}

#hero-image{
    background-image: url("/assets/img/home_Hero.png");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.is-restoring-scroll #hero-image{
    background-image: none;
}

/*ero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
}

.hero::before {
    width: 720px;
    height: 720px;
    top: -240px;
    left: -180px;
    background: radial-gradient(circle, rgba(173, 106, 255, 0.22), transparent 62%);
}

.hero::after {
    width: 620px;
    height: 620px;
    right: -120px;
    bottom: -180px;
    background: radial-gradient(circle, rgba(205, 31, 84, 0.16), transparent 60%);
}*/

.hero__content {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100% - 48px));
    margin-left: auto;
    text-align: right;
    margin: 32px auto 0;
    padding: 0 24px;
}

.hero__title {
    max-width: 1320px;
    margin-left: auto;
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    line-height: 1.08;
    font-weight: 650;
    letter-spacing: -0.04em;
}

.hero__subtitle {
    max-width: 1120px;
    margin: 24px 0 0 auto;
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    line-height: 1.45;
    color: var(--color-text-soft);
}

.hero__actions {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.what-we-do {
    position: relative;
    margin-top: 48px;
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.what-we-do__content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) auto;
    align-items: end;
    gap: 40px;
    width: min(1320px, 100%);
    margin: 0 auto;
    padding: 64px 72px 68px;
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.08), transparent 22%),
        radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.06), transparent 22%),
        linear-gradient(135deg, #00857f 0%, #00a7a0 45%, #0bb8b1 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.what-we-do--feature {
    margin-top: -1px;
    padding: 0;
    overflow: visible;
    background: #071017;
}

.what-we-do--feature .what-we-do__content {
    min-height: 70vh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto auto;
    align-items: stretch;
    justify-items: center;
    gap: 0;
    padding: clamp(30px, 4vw, 58px) 72px clamp(26px, 4vw, 48px);
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    isolation: isolate;
    background-image:
        linear-gradient(180deg, #071017 0%, rgba(7, 16, 23, 0.94) 18%, rgba(7, 16, 23, 0.34) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 38%, rgba(0, 0, 0, 0.16));
    background-position:
        center center,
        center center;
    background-size:
        cover,
        cover;
    background-repeat: no-repeat;
    width: 100%;
    text-align: center;
}

.what-we-do--feature .what-we-do__content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("/assets/img/home_WhatWeDo.png");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.82;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 12%, rgba(0, 0, 0, 0.42) 30%, rgba(0, 0, 0, 0.78) 52%, #000 72%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 12%, rgba(0, 0, 0, 0.42) 30%, rgba(0, 0, 0, 0.78) 52%, #000 72%);
    pointer-events: none;
}

.what-we-do--feature .what-we-do__content::after {
    content: none;
}

.what-we-do--feature .what-we-do__intro,
.what-we-do--feature .what-we-do__actions {
    position: relative;
    z-index: 1;
}

.what-we-do--feature .what-we-do__intro {
    display: contents;
    max-width: none;
}

.what-we-do--feature .what-we-do__eyebrow {
    grid-row: 1;
    margin-bottom: 0;
}

.what-we-do--feature .what-we-do__title {
    grid-row: 2;
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
}

.what-we-do--feature .what-we-do__actions {
    grid-row: 5;
    justify-content: center;
    margin-top: 22px;
}

.what-we-do--feature .what-we-do__subtitle {
    grid-row: 4;
    max-width: 760px;
    margin: 0 auto;
    align-self: end;
    font-size: clamp(1.08rem, 1.35vw, 1.32rem);
}

.what-we-do--lead {
    gap: 0;
    margin-top: 28px;
    margin-bottom: 64px;
}

.what-we-do__content--lead {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 24px;
    padding: 40px 72px 46px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.12), transparent 22%),
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.08), transparent 20%),
        radial-gradient(circle at 88% 78%, rgba(0, 167, 160, 0.16), transparent 24%),
        linear-gradient(135deg, #06215B 0%, #071017 52%, #00857f 130%);
}

.what-we-do__intro.what-we-do__intro--lead {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.what-we-do__title--lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: rgba(245, 247, 251, 0.95);
    text-align: right;
}

.what-we-do__rule--lead {
    width: 100%;
    height: 1px;
    margin-top: 24px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 12%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.18) 88%,
        transparent 100%
    );
}

.section-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 12%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.18) 88%,
        transparent 100%
    );
}

.what-we-do__subtitle--lead {
    max-width: 1280px;
    margin-left: auto;
    margin-right: 0;
}

.what-we-do__subtitle--strong {
    opacity: 0.98;
}

.what-we-do__actions--lead {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-end;
    align-self: end;
    margin-top: 0;
}

.what-we-do__cta--lead {
    min-width: 240px;
    min-height: 56px;
    padding: 14px 24px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 28px rgba(198, 31, 61, 0.24);
    background: #c61f3d;
}

.what-we-do__cta--lead:hover {
    background: #a91832;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 28px rgba(198, 31, 61, 0.32);
}

.what-we-do__intro {
    max-width: 980px;
}

.what-we-do__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.what-we-do__title {
    max-width: 980px;
    font-size: clamp(2.3rem, 4.2vw, 4.2rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #ffffff;
}

.what-we-do__subtitle {
    max-width: 760px;
    margin-top: 18px;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.86);
}

.what-we-do__subtitle--strong {
    margin-top: 10px;
    font-size: clamp(0.98rem, 1.1vw, 1.12rem);
}

.what-we-do__actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.what-we-do__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: min(1320px, 100%);
    margin: 28px auto 0;
}

.what-we-do-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 28px 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(18, 25, 34, 0.92) 0%, rgba(11, 15, 21, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        background-position 0.28s ease;
    background-size: 100% 100%;
    background-position: center center;
}

.what-we-do-card__icon {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 0.28s ease,
        background-color 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.what-we-do-card__icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.what-we-do-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
}

.what-we-do-card__title {
    font-size: clamp(1.8rem, 2vw, 2.35rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
    padding-right: 72px;
}

.what-we-do-card__text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(245, 247, 251, 0.82);
}

.what-we-do-card .section-cta {
    margin-top: 14px;
    align-self: flex-start;
}

.what-we-do-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(22, 30, 41, 0.96) 0%, rgba(10, 14, 20, 1) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.what-we-do-card:hover .what-we-do-card__icon {
    transform: translateY(-2px) scale(1.04);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 24px rgba(0, 0, 0, 0.18);
}

.what-we-do-card:hover .what-we-do-card__title {
    color: rgba(255, 255, 255, 0.98);
}

.what-we-do-card:focus-within {
    outline: 2px solid rgba(255, 255, 255, 0.18);
    outline-offset: 3px;
}

.what-we-do-story {
    position: relative;
    width: min(1320px, calc(100% - 48px));
    margin: 56px auto 0;
    padding: 28px 32px 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background:
        radial-gradient(circle at 10% 4%, rgba(0, 167, 160, 0.26), transparent 22%),
        linear-gradient(180deg, rgba(10, 12, 16, 0.98), rgba(12, 14, 20, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.what-we-do-story-cards {
    position: relative;
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 24px;
    background: transparent;
}

.what-we-do-story__cards {
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.what-we-do-story__cards .what-we-do-card .section-cta {
    align-self: flex-end;
}

.what-we-do-story-cards + .what-we-do-story {
    margin-top: 56px;
}

.what-we-do-story__content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.what-we-do-story__header {
    display: flex;
    justify-content: flex-end;
}

.what-we-do-story__title {
    max-width: 760px;
    margin-left: auto;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: rgba(245, 247, 251, 0.95);
    text-align: right;
}

.what-we-do-story__rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 12%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.18) 88%,
        transparent 100%
    );
}

.what-we-do-story__body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.what-we-do-story__text {
    max-width: 700px;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.75;
    color: rgba(245, 247, 251, 0.88);
    text-align: right;
}

.what-we-do-story__text:empty {
    display: none;
}

.what-we-do-story--partnership .what-we-do-story__text {
    max-width: 940px;
    white-space: nowrap;
}

.partnership-logos {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    width: 100%;
    margin-top: 10px;
}

.partnership-logos img {
    width: 180px;
    height: 86px;
    object-fit: contain;
}

.what-we-do-story__cta-wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: calc((100% - 56px) / 3);
    margin-left: auto;
}

.competences {
    width: 100%;
    margin: 72px auto 0;
    padding: 0 48px 60px;
}

.competences__header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    width: min(1320px, 100%);
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4px;
}

.competences__title {
    max-width: 820px;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-align: right;
    color: #ffffff;
}

.competences__rule {
    width: min(420px, 100%);
    margin-top: 12px;
    margin-left: auto;
}

.competences__grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 22px;
    width: min(1320px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.competences__grid > .what-we-do-card {
    grid-column: span 2;
}

.competences .what-we-do-card__title {
    font-size: clamp(1.08rem, 1.18vw, 1.38rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.competences .what-we-do-card {
    min-height: 230px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(10, 19, 25, 0.72), rgba(8, 12, 18, 0.9));
    border-color: rgba(0, 167, 160, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.competences .what-we-do-card__icon {
    position: static;
    margin-bottom: 18px;
    background: rgba(0, 167, 160, 0.1);
    border-color: rgba(0, 167, 160, 0.24);
    color: rgba(76, 220, 211, 0.95);
}

.competences .what-we-do-card__title {
    padding-right: 0;
}

.competences .what-we-do-card__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(245, 247, 251, 0.74);
}

.competences .what-we-do-card:hover {
    border-color: rgba(0, 167, 160, 0.34);
    background:
        radial-gradient(circle at 18% 12%, rgba(0, 167, 160, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(12, 23, 30, 0.8), rgba(8, 12, 18, 0.94));
}

@media (prefers-reduced-motion: reduce) {
    .what-we-do-card,
    .what-we-do-card__icon,
    .section-cta,
    .section-cta__icon {
        transition: none;
    }

    .what-we-do-card:hover,
    .what-we-do-card:hover .what-we-do-card__icon,
    .section-cta:hover .section-cta__icon {
        transform: none;
        animation: none;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 56px 32px 48px;
    }

    .hero__subtitle {
        margin-top: 22px;
    }

    .what-we-do {
        margin-top: 32px;
        padding: 0 32px;
        gap: 22px;
    }

    .what-we-do--lead {
        margin-top: 22px;
        margin-bottom: 52px;
    }

    .what-we-do__title {
        max-width: 840px;
    }

    .what-we-do__content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 56px 40px 60px;
        border-radius: 10px;
    }

    .what-we-do--feature .what-we-do__content {
        min-height: 70vh;
        padding: 48px 40px 220px;
    }

    .what-we-do__content--lead {
        padding: 36px 40px 42px;
    }

    .what-we-do__intro.what-we-do__intro--lead {
        margin-left: 0;
        text-align: left;
    }

    .what-we-do__title--lead,
    .what-we-do__subtitle--lead {
        margin-left: 0;
    }

    .what-we-do__actions {
        justify-content: flex-start;
    }

    .what-we-do__grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 24px;
    }

    .what-we-do-story {
        width: calc(100% - 64px);
        margin-top: 44px;
        padding: 30px 28px 24px;
        border-radius: 10px;
    }

    .what-we-do-story-cards {
        width: calc(100% - 64px);
        padding: 22px 0;
    }

    .what-we-do-story-cards + .what-we-do-story {
        margin-top: 44px;
    }

    .what-we-do-story__body {
        align-items: flex-start;
    }

    .what-we-do-story__header,
    .what-we-do-story__text,
    .what-we-do-story__cta-wrap {
        justify-content: flex-start;
        text-align: left;
    }

    .what-we-do-story__cta-wrap {
        max-width: none;
        margin-left: 0;
    }

    .what-we-do-story__title,
    .what-we-do-story__text {
        max-width: 100%;
    }

    .what-we-do-story--partnership .what-we-do-story__text {
        white-space: normal;
    }

    .partnership-logos {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .what-we-do-card {
        padding: 30px 28px 24px;
    }

    .what-we-do-card__icon {
        top: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .what-we-do-card__title {
        padding-right: 64px;
    }

    .competences__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 4px;
    }

    .competences__grid > .what-we-do-card,
    .competences__grid > .what-we-do-card:nth-child(5),
    .competences__grid > .what-we-do-card:nth-child(6),
    .competences__grid > .what-we-do-card:nth-child(7) {
        grid-column: auto;
    }

    .competences__wide-card:nth-last-child(2),
    .competences__wide-card:last-child {
        grid-column: auto;
    }

    .competences {
        margin-top: 56px;
        padding: 0 32px 44px;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 86px 24px 44px;
    }

    .hero__content,
    .hero__title,
    .hero__subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .hero__content {
        margin-top: 32px;
    }

    .hero__actions {
        gap: 12px;
        justify-content: flex-start;
    }

    .hero__actions .section-cta {
        width: 100%;
        min-width: 0;
        min-height: 64px;
        padding: 16px 20px;
    }

    .what-we-do {
        margin-top: 24px;
        padding: 0 24px;
        gap: 18px;
    }

    .what-we-do--lead {
        margin-top: 18px;
        margin-bottom: 40px;
    }

    .what-we-do__title {
        font-size: clamp(2rem, 10vw, 3.1rem);
        line-height: 1.08;
    }

    .what-we-do__subtitle {
        margin-top: 16px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .what-we-do__subtitle--strong {
        margin-top: 10px;
        font-size: 0.98rem;
    }

    .what-we-do__actions {
        margin-top: 24px;
    }

    .what-we-do__content {
        gap: 22px;
        padding: 40px 24px 44px;
        border-radius: 10px;
    }

    .what-we-do--feature .what-we-do__content {
        min-height: 70vh;
        padding: 40px 24px 190px;
    }

    .what-we-do__content--lead {
        padding: 28px 24px 36px;
    }

    .what-we-do__actions--lead {
        margin-top: 22px;
    }

    .what-we-do__grid {
        gap: 18px;
        margin-top: 20px;
    }

    .what-we-do-story {
        width: calc(100% - 48px);
        margin-top: 36px;
        padding: 22px 22px 20px;
        border-radius: 10px;
    }

    .what-we-do-story-cards + .what-we-do-story {
        margin-top: 36px;
    }

    .what-we-do-story-cards {
        width: calc(100% - 48px);
        padding: 18px 0;
    }

    .what-we-do-story__title {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.08;
    }

    .what-we-do-story__body {
        gap: 20px;
    }

    .what-we-do-card {
        min-height: 240px;
        padding: 22px 22px 20px;
        border-radius: 20px;
    }

    .what-we-do-card__icon {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .what-we-do-card__title {
        font-size: 1.65rem;
        padding-right: 56px;
    }

    .what-we-do-card__body {
        gap: 10px;
    }

    .what-we-do-card__text {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .what-we-do-story__cta-wrap {
        width: 100%;
    }

    .competences__grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 4px;
    }

    .competences__grid > .what-we-do-card,
    .competences__grid > .what-we-do-card:nth-child(5),
    .competences__grid > .what-we-do-card:nth-child(6),
    .competences__grid > .what-we-do-card:nth-child(7) {
        grid-column: auto;
    }

    .competences__wide-card:nth-last-child(2),
    .competences__wide-card:last-child {
        grid-column: auto;
    }

    .competences {
        margin-top: 18px;
        padding: 0 24px 36px;
    }

    .competences .what-we-do-card {
        min-height: 170px;
    }
}
