/* CSS переменные для цветовой схемы */
:root {
    --color-primary: rgb(3, 6, 78);
    --color-secondary: rgb(66, 184, 253);
    --color-accent: rgb(255, 128, 122);
    --color-white: rgb(255, 255, 255);
    --color-text: rgb(255, 255, 255);

    /* Шрифты документа */
    --font-aileron: 'Aileron', sans-serif;
    --font-codec-pro: 'Codec Pro', sans-serif;
    --font-lexend-mega: 'Lexend Mega', sans-serif;
    --font-mokoto: 'MOKOTO', sans-serif;

    --container-width: 1440px;
    --container-padding: 2rem;
    --section-padding: 5rem 0;
    --hero-line-gap: 2em;
    --hero-line-thickness: 3px;

}

/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: var(--font-aileron);
    font-size: 16px;
    scroll-behavior: smooth;
}

body.clean-landing {
    font-family: var(--font-aileron);
    color: var(--color-text);
    background-color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container - контейнер для контента по центру */
.container {
    width: min(var(--container-width), calc(100vw - (var(--container-padding) * 2)));
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 10;
}

/* Секции */
section {
    position: relative;
    padding: var(--section-padding);
    overflow: hidden;
}

/* Декоративные фоновые элементы */
.bg-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.bg-decoration--gradient-circle {
    opacity: 0.7;
}

.bg-decoration--top-right {
    top: -400px;
    right: -500px;
}

.bg-decoration--bottom-left {
    bottom: -40%;
    left: -10%;
}

.bg-decoration--bottom {
    bottom: -800px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-decoration--top {
    top: -800px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-decoration--bottom-right {
    bottom: -400px;
    right: -500px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero__bg-circuit {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    perspective: 600px;
}

.hero__bg-svg {
    width: 100%;
    height: 100%;
    transform-origin: center bottom;
    transform: rotateX(62deg) translateY(10%);
}

.hero__bg-lines path {
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 2.7;
    stroke-opacity: 0.3;
    stroke-linejoin: miter;
    stroke-miterlimit: 2;
    stroke-linecap: round;
    marker-start: url(#circuit-dot);
    marker-end: url(#circuit-dot);
}

.hero__bg-lines path:nth-child(3n) {
    marker-end: url(#circuit-dot-filled);
}

.hero__bg-lines path:nth-child(3n+1) {
    marker-start: url(#circuit-dot-filled);
}

.hero__content {
    text-align: center;
    position: relative;
    z-index: 10;
    --hero-content-width: max(0px, calc(min(var(--container-width), calc(100vw - (var(--container-padding) * 2))) - (var(--container-padding) * 2)));
}

.hero__title-wrapper {
    position: relative;
    display: inline-block;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 0;
    display: inline-grid;
    gap: 0.1em;
    text-align: center;
}

.hero__title-line {
    display: block;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    animation: hero-enter-up 1.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__title-line:nth-child(1) { animation-delay: 0.45s; }
.hero__title-line:nth-child(2) { animation-delay: 0.9s; }
.hero__title-line:nth-child(3) { animation-delay: 1.35s; }

/* Черта слева от первой строки */
.hero__title-line:first-child::before {
    content: '';
    position: absolute;
    right: calc(100% + var(--hero-line-gap));
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right center;
    height: var(--hero-line-thickness);
    background: var(--color-white);
    width: var(--hero-line-computed-width, 0px);
    animation: hero-line-grow 2.3s cubic-bezier(0.16, 1, 0.3, 1) 1.15s forwards;
}

/* Черта справа от последней строки — одинаковая ширина с левой */
.hero__title-line:last-child::after {
    content: '';
    position: absolute;
    left: calc(100% + var(--hero-line-gap));
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
    height: var(--hero-line-thickness);
    background: var(--color-white);
    width: var(--hero-line-computed-width, 0px);
    animation: hero-line-grow 2.3s cubic-bezier(0.16, 1, 0.3, 1) 1.55s forwards;
}

.hero__title--accent {
    color: var(--color-secondary);
}

/* Header/Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(3, 6, 78, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.site-header__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: min(var(--container-width), calc(100vw - (var(--container-padding) * 2)));
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo__image {
    height: 50px;
    width: auto;
}

.logo__text {
    font-family: var(--font-mokoto);
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--color-white);
}

.logo__text--accent {
    color: var(--color-secondary);
}

.logo__tagline {
    font-family: var(--font-lexend-mega);
    font-size: 0.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-top: 0.2rem;
}

/* Navigation */
.nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--color-secondary);
}

.nav__contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
}

.nav__contact {
    font-family: var(--font-codec-pro);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: right;
}

.nav__messengers {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-link:hover {
    transform: translateY(-1px);
    opacity: 0.8;
}

.social-icon {
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.social-icon--sm {
    width: 28px;
    height: 28px;
}

.social-icon--lg {
    width: 48px;
    height: 48px;
}

/* Contact typography */
.contact-block,
.contact-block__title,
.contact-block__content p,
.contact-block__content a,
.site-footer {
    font-family: var(--font-aileron);
}

/* Button */
.btn {
    display: inline-block;
    padding: 1.125rem 4rem;
    background: transparent;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    border-radius: 4px;
    border: 2px solid var(--color-accent);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero__cta {
    margin-top: clamp(3rem, 8vw, 5rem);
    opacity: 0;
    transform: translateY(30px);
    animation: hero-enter-up 1.35s cubic-bezier(0.16, 1, 0.3, 1) 1.7s forwards;
}

.btn--hero-metrics {
    background: var(--color-primary);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 8rem;
    font-size: 1.2rem;
    border-radius: 0;
    isolation: isolate;
    overflow: visible;
    min-height: 4.5rem;
}

.btn__label {
    position: relative;
    z-index: 2;
}

.btn__frame {
    position: absolute;
    top: 0;
    right: -15%;
    width: clamp(10rem, 21vw, 10rem);
    aspect-ratio: 1;
    transform: translateY(-35%) rotate(180deg);
    pointer-events: none;
    z-index: 0;
}

.btn__frame-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.btn__frame-svg {
    overflow: visible;
}

.btn__frame-svg path {
    fill: var(--color-secondary);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.btn--hero-metrics.is-visible .btn__frame-svg path {
    animation: metrics-frame-pulse 4s ease-in-out infinite;
}

.btn--hero-metrics.is-visible .btn__frame-svg path:nth-child(1) { animation-delay: 0s; }
.btn--hero-metrics.is-visible .btn__frame-svg path:nth-child(2) { animation-delay: 0.2s; }
.btn--hero-metrics.is-visible .btn__frame-svg path:nth-child(3) { animation-delay: 0.4s; }
.btn--hero-metrics.is-visible .btn__frame-svg path:nth-child(4) { animation-delay: 0.6s; }
.btn--hero-metrics.is-visible .btn__frame-svg path:nth-child(5) { animation-delay: 0.8s; }

@keyframes metrics-frame-pulse {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    60% {
        opacity: 1;
        transform: scale(1);
    }
    80% {
        opacity: 0;
        transform: scale(0.92);
    }
    100% {
        opacity: 0;
        transform: scale(0.92);
    }
}

.btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* Grid для карточек */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: rgba(0, 135, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card__image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* Benefits: заголовок слева, превью карточек 3:4 с обрезкой */
#benefits .section-title {
    text-align: left;
}

#benefits .card > img {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.card__title {
    font-size: clamp(1.7rem, 2.1vw, 2rem);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.card__description {
    font-size: 1.13rem;
    line-height: 1.75;
    color: var(--color-white);
}

/* Section titles */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title--accent {
    color: var(--color-accent);
}

.section-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.4;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

@media (max-width: 1366px) {
    :root {
        --container-width: 1120px;
    }
}

@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
}

@media (max-width: 968px) {
    :root {
        --container-padding: 1.5rem;
        --section-padding: 4rem 0;
    }

    .site-header {
        padding: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav__link {
        font-size: 1.5rem;
    }

    .nav__contact-row {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .nav__contact {
        text-align: center;
    }

    .nav__messengers {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
    }

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

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
}

@media (max-width: 768px) {
    .hero__title-line:first-child::before,
    .hero__title-line:last-child::after {
        display: none;
    }

    .btn--hero-metrics {
        padding: 1rem 4rem;
    }

    .btn__frame {
        right: -10px;
        width: clamp(8rem, 40vw, 12rem);
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Expertise — clean landing */
.expertise__grid {
    display: grid;
    /* 40% : 60% по ширине строки с учётом gap (2fr + 3fr) */
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 4rem;
    align-items: stretch;
    min-height: 0;
}

.expertise__photo {
    min-height: 0;
    align-self: stretch;
    display: flex;
}

.expertise__photo-inner {
    flex: 1;
    min-height: 18rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.expertise__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.expertise__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.expertise__body {
    margin-top: 2rem;
    /* Как у .section-title (clamp), на 20% меньше заголовка */
    font-size: calc(clamp(2rem, 4vw, 3rem) * 0.8);
    line-height: 1.6;
    text-align: center;
}

.expertise__companies {
    margin-top: 1.5rem;
    font-size: 1.125em;
    font-weight: 700;
    color: var(--color-secondary);
}

@media (max-width: 480px) {
    .expertise__body {
        font-size: calc(1.8rem * 0.8);
    }
}

.expertise__bg-circle {
    width: 800px;
    height: 800px;
}

.section-divider--download-icon {
    position: relative;
    height: 0;
    z-index: 20;
    width: 100%;
}

.section-divider__frame {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-50%) rotate(180deg);
    width: clamp(12rem, 24vw, 24rem);
}

.section-divider__svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.section-divider__svg path {
    fill: var(--color-secondary);
    opacity: 0.12;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.16);
    transition: opacity 1.3s ease, transform 1.3s ease;
}

.section-divider__svg path.is-active {
    opacity: 0.9;
    transform: scale(1.23);
}

#services .section-title {
    text-align: left;
}

/* Услуги: CTA — только кнопка справа */
.services__cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.services__cta-btn {
    flex-shrink: 0;
}

/* Разделитель между #services и следующей секцией: рамка слева, не перекрывает контент */
.section-divider--between-services {
    z-index: 40;
}

.section-divider--between-services .section-divider__frame {
    left: 0;
    right: auto;
}

@media (max-width: 768px) {
    .services__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .services__cta-btn {
        text-align: center;
    }

    .expertise__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expertise__photo {
        display: none;
    }

    .section-divider__frame {
        width: 10rem;
    }

    .site-footer__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .site-footer__link--button {
        width: auto;
    }
}

/* Metrics — clean landing */
#metrics .section-title {
    text-align: left;
}

.metrics__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    margin-top: 3rem;
}

.metrics__col--data {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.metric-card {
    background: rgba(0, 135, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-secondary);
}

.metric-card__row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.metric-card__icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.metric-card__value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.metric-card__label {
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 0.5rem;
}

.metric-card__desc {
    opacity: 0.9;
    font-size: 0.95rem;
}

.metrics__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
    isolation: isolate;
    overflow: visible;
}

.metrics__frame {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: clamp(10rem, 21vw, 10rem);
    aspect-ratio: 1;
    /* Угол: опора — левый нижний; +20px вправо от точки позиционирования */
    transform-origin: left bottom;
    transform: translate(20px, 35%);
    pointer-events: none;
    z-index: 0;
}

.metrics__frame-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.metrics__frame-svg path {
    fill: var(--color-secondary);
    opacity: 0.12;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.08);
    transition: opacity 1.3s ease, transform 1.3s ease;
}

.metrics__frame-svg path.is-active {
    opacity: 0.9;
    transform: scale(1.18);
}

.metrics__visual-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 18rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.metrics__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.metrics__footnote {
    margin-top: 1.25rem;
    margin-bottom: 0;
    text-align: left;
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.45;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .metrics__layout {
        grid-template-columns: 1fr;
    }

    .metrics__visual {
        display: none;
    }
}

/* Секция услуг (clean landing) */
.service-card {
    background: linear-gradient(135deg, rgba(66, 184, 253, 0.12), rgba(3, 6, 78, 0.35));
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(66, 184, 253, 0.22);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 42px rgba(66, 184, 253, 0.18),
        0 0 0 1px rgba(66, 184, 253, 0.35);
    border-color: var(--color-secondary);
}

.service-card__icon {
    width: 4.75rem;
    height: 4.75rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.125rem;
    background: linear-gradient(145deg, rgba(66, 184, 253, 0.14), rgba(3, 6, 78, 0.5));
    border: 2.8px solid rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.service-card:hover .service-card__icon {
    transform: scale(1.06) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(145deg, rgba(66, 184, 253, 0.22), rgba(3, 6, 78, 0.45));
    box-shadow:
        0 10px 28px rgba(66, 184, 253, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card__icon img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.service-card:hover .service-card__icon img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 14px rgba(66, 184, 253, 0.5));
}

.service-card__title {
    font-size: clamp(1.4rem, 1.6vw, 1.7rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.4;
    transition: color 0.25s ease;
}

.service-card:hover .service-card__title {
    color: rgb(230, 248, 255);
}

/* Footer */
.site-footer {
    background: rgba(3, 6, 78, 0.95);
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.logo--footer {
    margin-bottom: 0.8rem;
}

.site-footer__title {
    color: var(--color-secondary);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.site-footer__link {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.site-footer__link:hover {
    color: var(--color-secondary);
}

.site-footer__link--button {
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.site-footer__meta {
    font-size: 0.9rem;
    opacity: 0.82;
    line-height: 1.5;
}

.site-footer__socials {
    display: flex;
    gap: 0.6rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Hero entrance keyframes */
@keyframes hero-enter-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-line-grow {
    to {
        transform: translateY(-50%) scaleX(1);
    }
}

/* Scroll reveal — initial hidden state (prevents flash before JS) */
[data-reveal],
[data-reveal-stagger] > * {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    [data-reveal-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
    }
    .hero__title-line,
    .hero__cta {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .hero__title-line:first-child::before {
        transform: translateY(-50%) !important;
        animation: none !important;
    }
    .hero__title-line:last-child::after {
        transform: translateY(-50%) !important;
        animation: none !important;
    }
}
