html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

#content {
    flex: 1;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.hdr-wrap {
    height: 80px;
    max-width: var(--cont-width-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 150px;
}

.hdr-logo {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg,
            #6428B4,
            #976dbf,
            #8a2be2,
            #5B2CA4,
            #6428B4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    user-select: none;
    background-size: 300% auto;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.hdr-nav {
    display: flex;
    gap: 28px;
}

.hdr-nav a {

    font-family: var(--font-family-text);
    font-weight: 400;
    font-size: 17px;
    color: var(--text-color_1lev);
    text-decoration: none;
    opacity: 1;
    padding: 22px 0;
    position: relative;
    letter-spacing: .04em;
}

.hdr-nav a:hover {
    opacity: 0.9;
}

.hdr-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, #231239, #39224e, #261e31);
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform .35s ease, opacity .2s ease;
}

.hdr-nav a:hover::after {
    transform: scaleX(1);
    opacity: 1;
}


.hdr-nav a.is-active::after {
    transform: scaleX(1);
    opacity: 1;
}

.hdr-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0 22px;
    border-radius: 25px;
    background: #592c94;
    color: #fff;
    font-family: var(--font-family-text);
    font-weight: 100;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(47, 33, 59, 0.35);
}

.cta:hover {
    background: #603893e0;
    box-shadow: 0 6px 18px rgba(107, 44, 164, 0.45);
}

.icon-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.25s ease;
}

.icon-btn img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    pointer-events: none;
}

.icon-btn:hover {
    transform: translateY(-3px);
}

.icon-btn:active {
    transform: translateY(0);
}






.hero {
    position: relative;
    height: 100svh;
    width: 100%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -2%;
    width: 104%;
    height: 104%;
    object-fit: cover;
    object-position: 50% 40%;
    filter: blur(4.5px) brightness(.72) saturate(1.05);
    transform: translate3d(0, 0, 0) scale(1.06);
    will-change: transform;
}

.hero-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .25) 30%, rgba(0, 0, 0, .4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    max-width: var(--cont-width-max);
    margin: 0 auto;
    padding: 0 24px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content h1 {
    font-family: var(--font-family-text);
    font-weight: 600;
    font-size: 90px;
    color: #ffffffce;
}

.brand {
    color: #b587e3;
    text-shadow: 0 0 8px rgba(154, 124, 182, 0.356);
}










.hero-features {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 150px;
    margin: 40px auto 0;
    max-width: 800px;
}


.hero-feature__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    transition: transform .3s ease, filter .3s ease;
}

.hero-feature p {
    margin: 0;
    font-size: 22px;
    font-family: var(--font-family-text);
    line-height: 1.3;
    color: #e5ccff;
}

.hero-feature:hover .hero-feature__icon {
    transform: translateY(-6px) scale(1.12) rotate(-4deg);
}

.hero-feature:hover p {
    transform: translateY(3px);
    transition: transform .3s ease;
}




.cards-section {
    padding: 50px 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-family-text);
    font-weight: 400;
    font-size: 26px;
    color: var(--text-color_1lev);
    margin-bottom: 30px;

    max-width: 900px;
    margin: 0 auto 35px;
    text-align: center;

}

.section-header p {
    font-family: var(--font-family-text);
    font-weight: 400;
    font-size: 18px;
    color: var(--text-color_2lev);
    max-width: 640px;
    margin: 0 auto;
}






.cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    padding: 0px 32px;
}

.card {
    position: relative;
    width: 260px;
    height: 460px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 25%, transparent 80%);
    text-align: center;
}

.card-overlay h3 {
    color: #ffffffe2;
    font-family: var(--font-family-text);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 5px;
}


.card-desc {
    color: #e2e4ff;
    font-family: var(--font-family-text);
    font-size: 17px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.35s ease;
    margin-bottom: 30px;
}

.card:hover .card-desc {
    opacity: 1;
    max-height: 80px;
    transform: translateY(0);
}



/* 

.learn-more {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 12rem;
  font-family: var(--font-family-text); 
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}


.card:hover .learn-more {
  opacity: 1;
  transform: translateY(0);
}

.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #9059ff3d;
  border-radius: 1.625rem;
}

.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}

.learn-more .circle .icon.arrow {
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.29rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}

.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #fff;
  line-height: 1.6;
  text-align: center;
}

.learn-more:hover .circle {
  width: 100%;
}

.learn-more:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}

 */





.sec-duo {
    padding: 20px 20px;
}


.duo-headings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 18px;
}

.duo-headings h3 {
    font-family: var(--font-family-text);
    color: var(--text-color_1lev);
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .4px;
    margin: 0;
}

.duo-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
}

/* карточка */
.duo-card {
    display: flex;
    gap: 16px;
    align-items: center;
    text-decoration: none;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 14px 16px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
    color: #e9e9f6;
    backdrop-filter: blur(4px);
}

.duo-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in oklab, var(--accent, #ba99d9) 45%, #ffffff 0%);
    box-shadow: 0 10px 28px rgba(123, 81, 162, 0.28);
    background: rgba(130, 95, 163, 0.08);
}

.duo-ico {
    flex: 0 0 48px;
    height: 52px;
    width: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(85, 62, 109, 0.12);
    box-shadow: inset 0 0 12px rgba(112, 83, 142, 0.25), 0 0 10px rgba(138, 43, 226, .15);
}

.duo-ico img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(138, 43, 226, .45));
}

.duo-body h4 {
    font-family: var(--font-family-text);
    margin: 0 0 4px;
    font-size: 19px;
    color: var(--text-color_1lev);
    font-weight: 500;
    text-align: start;
}

.duo-body p {
    margin: 0;
    font-size: 15px;
    color: var(--text-color_2lev);
    line-height: 1.35;
    text-align: start;
}















.cta-section {
    background: linear-gradient(135deg, #2a0845 0%, #6441a5 50%, #8e54e9 100%);
    padding: 50px 20px;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-family: var(--font-family-text);
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 20px;
}


.cta_2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    padding: 0 22px;
    border-radius: 25px;
    background: #242224e6;
    color: #fff;
    font-family: var(--font-family-text);
    font-weight: 100;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(47, 33, 59, 0.35);
}


.cta_2:hover {
    background: #834fa5b5;
    box-shadow: 0 6px 18px rgba(34, 17, 49, 0.45);
}




.site-footer {
    background: #fff;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.site-footer p {
    font-family: var(--font-family-text);
    color: var(--text-color_1lev);
    font-size: 15px;
    font-weight: 400;
    margin: 0;

}






/* --- Бургер --- */
.hdr-burger {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
    cursor: pointer;
    margin-left: auto;
    /* уезжает вправо на мобилке */
}

.hdr-burger span {
    position: absolute;
    left: 9px;
    right: 9px;
    height: 2px;
    background: #1d1d1f;
    border-radius: 2px;
    transition: transform .22s ease, opacity .18s ease, top .22s ease;
}

.hdr-burger span:nth-child(1) {
    top: 13px;
}

.hdr-burger span:nth-child(2) {
    top: 19px;
}

.hdr-burger span:nth-child(3) {
    top: 25px;
}

.hdr-burger.is-open span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}

.hdr-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.hdr-burger.is-open span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

/* --- Центр-меню --- */
.mnav-under {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 999;
}

.mnav-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding: 16px;
    /* ← отступы слева/справа (и сверху/снизу) */
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1000;
}

/* Карточка занимает всю доступную ширину внутри паддингов, но не больше 420px */
.mnav-card {
    width: 100%;
    max-width: 300px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    border: 1px solid rgba(0, 0, 0, .06);
    padding: 16px;
    display: flex;
    flex-direction: column;
}


.mnav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.mnav-head h2 {
    margin: 0;
    font-family: var(--font-family-text);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-color_1lev);
}

.mnav-close {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    padding: 6px 8px;
    cursor: pointer;
}

.mnav-list {
    display: flex;
    flex-direction: column;
    padding: 8px 0 6px;
}

.mnav-link {
    display: block;
    text-decoration: none;
    font-family: var(--font-family-text);
    color: var(--text-color_1lev);
    font-size: 20px;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.mnav-link:last-of-type {
    border-bottom: 0;
}

.mnav-cta {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 18px;
    border-radius: 24px;
    background: #592c94;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-family-text);
    box-shadow: 0 4px 14px rgba(47, 33, 59, .28);
    font-size: 20px;
}


.mnav-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.mnav-modal.show .mnav-card {
    transform: scale(1);
}

.mnav-under.show {
    opacity: 1;
}

.nav-lock {
    overflow: hidden;
}











@media (max-width:767px) {
    .hdr-wrap {
        justify-content: flex-start;
        gap: 0;
        padding: 0 14px;
    }

    .hdr-logo {
        flex-shrink: 0;
        font-size: 26px;
    }

    .mnav-modal {
        padding: 12px;
    }

    .hdr-nav,
    .hdr-actions {
        display: none;
    }

    .hdr-burger {
        display: inline-block;
    }









    .hero {
        min-height: 100svh;
        height: auto;
        padding-bottom: 24px;
    }

    .hero-content {
        top: auto;
        transform: none;
        padding: 100px 2px;
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 38px;
        line-height: 1.22;
        letter-spacing: .2px;
        margin: 150px auto 0px;
        overflow-wrap: anywhere;
        hyphens: auto;
        text-wrap: balance;
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
        margin: 35px auto 0;
        max-width: 320px;
        justify-items: center;
    }

    .hero-feature {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-feature__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 6px;
        transform: none;
    }

    .hero-feature p {
        font-size: 16px;
        margin: 0;
    }

    .hero-bg {
        inset: 0;
        width: 100%;
        height: 100%;
        transform: scale(1.06);
    }









    .section-header h2 {
        font-size: 23px;
        margin: 0 auto 25px;
    }

    .section-header {
        margin-bottom: 20px;
    }


    .cards-section {
        padding: 30px 32px;
    }

    .cards {
        display: block;
        padding: 0 16px;
        margin: 0 auto;
        max-width: 560px;
    }

    .cards .card {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        margin: 0 0 16px;
        border-radius: 12px;
        transform: none;
    }

    .cards .card:last-child {
        margin-bottom: 0;
    }

    .cards .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
        display: block;
    }

    .card-overlay {
        padding: 16px 12px;
        background: linear-gradient(to top, rgba(0, 0, 0, .7) 28%, transparent 80%);
    }

    .card-overlay h3 {
        font-size: 20px;
    }

    .card-desc {
        font-size: 14px;
    }








    .duo-grid .duo-card::before {
        content: none !important;
        display: none !important;
    }

    .duo-headings {
        display: none;
    }

    .duo-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding-inline: 16px;
        align-items: center;
    }

    .duo-grid::before,
    .duo-grid::after {
        display: block;
        font-family: var(--font-family-text);
        font-weight: 600;
        font-size: 18px;
        letter-spacing: .4px;
        color: var(--text-color_1lev);
    }

    .duo-grid::before {
        content: "INDUSTRY";
        order: 0;
        margin: 8px 0 6px;
    }

    .duo-grid::after {
        content: "TECHNOLOGY";
        order: 2;
        margin: 18px 0 6px;
    }


    .duo-grid .duo-card {
        order: 1;
        width: 100%;
    }

    .duo-grid .duo-card:nth-child(even) {
        order: 3;
    }

    .duo-card {
        padding: 12px;
    }

    .duo-ico {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .duo-ico img {
        width: 28px;
        height: 28px;
    }

    .duo-body h4 {
        font-size: 16px;
    }

    .duo-body p {
        font-size: 14px;
    }









    .cta_2 {
        height: 45px;
        font-size: 18px;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .site-footer p {
        font-size: 12px;
    }

}









@media (min-width: 768px) and (max-width: 1194px) {

    .hdr-wrap {
        justify-content: flex-start;
        gap: 0;
        padding: 0 14px;
    }

    .hdr-logo {
        flex-shrink: 0;
        font-size: 26px;
    }

    .mnav-modal {
        padding: 12px;
    }

    .hdr-nav,
    .hdr-actions {
        display: none;
    }

    .hdr-burger {
        display: inline-block;
    }




    .hero {
        height: 100svh;
    }

    .hero-content {
        top: 50%;
        transform: translateY(-50%);
        padding: 0 24px;
        max-width: 900px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 80px;
        line-height: 1.18;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .hero-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px;
        max-width: 720px;
        margin-top: 26px;
    }

    .hero-feature__icon {
        width: 50px;
        height: 50px;
    }




    .cards-section {
        padding: 40px 24px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .cards {
        gap: 20px;
        padding: 0;
        max-width: 980px;
        margin: 0 auto;
    }

    .card {
        height: auto;
        aspect-ratio: 3/4;
    }

    .card-overlay h3 {
        font-size: 18px;
    }

    .card-desc {
        font-size: 14px;
    }

}






@media (orientation: landscape) and (max-height: 500px),
(max-width: 915px) and (orientation: landscape) {
    .hero {
        min-height: 100dvh;
        height: auto;
        padding-bottom: 16px;
    }

    .hero-content {
        position: relative;
        top: auto;
        transform: none;
        max-width: 980px;
        margin: 0 auto;
        padding: 130px 20px 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 40px;
        line-height: 1.18;
        margin: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .brand {
        display: block;
        margin-bottom: 6px;
    }

    .hero-bg {
        inset: 0;
        width: 100%;
        height: 100%;
        transform: scale(1.04);
        object-position: 50% 45%;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        max-width: 720px;
        margin: 14px auto 0;
        justify-items: center;
    }

    .hero-feature {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-feature__icon {
        width: 36px;
        height: 36px;
        margin-bottom: 4px;
    }

    .hero-feature p {
        font-size: 14px;
        margin: 0;
    }

    .hdr-wrap {
        padding: 0 16px;
        gap: 0;
    }

    .hdr-logo {
        font-size: 24px;
    }
}


