/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    color: var(--wc-white);
    background: var(--wc-black);
}

.hero-section::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 42px 42px;
}

.hero-section::after {
    position: absolute;
    top: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    content: "";
    pointer-events: none;

    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.12) 0%,
        rgba(37, 99, 235, 0.04) 35%,
        transparent 70%
    );
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: var(--wc-white);
}

.hero-text {
    color: #b8bec7;
}

.hero-label {
    color: #8eb8ff;
}


/*
|--------------------------------------------------------------------------
| Hero Code
|--------------------------------------------------------------------------
*/

.hero-code {
    min-height: 420px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--wc-dark);
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.16);
}

.hero-code-header {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 54px;
    padding: 0 20px;
    border-bottom: 1px solid #30343a;
}

.hero-code-dots {
    display: flex;
    gap: 7px;
}

.hero-code-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555b63;
}

.hero-code-title {
    color: #858c95;
    font-family: monospace;
    font-size: 0.8rem;
}

.hero-code-body {
    position: relative;
    padding: 42px 30px;
    color: #d9dde2;
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.95rem;
    line-height: 2.15;
}

.code-line {
    display: block;
    white-space: nowrap;
}

.code-number {
    display: inline-block;
    width: 35px;
    margin-right: 12px;
    color: #555d67;
    user-select: none;
}

.code-indent {
    padding-left: 32px;
}

.code-indent-2 {
    padding-left: 64px;
}

.code-keyword {
    color: #7db3ff;
}

.code-class {
    color: #ffffff;
}

.code-function {
    color: #8fc7ff;
}

.code-method {
    color: #ffffff;
}

.code-variable {
    color: #aeb7c2;
}

.code-content {
    white-space: pre;
}

.code-cursor {
    display: inline-block;
    width: 7px;
    height: 19px;
    margin-left: 4px;
    vertical-align: middle;
    background: #7db3ff;
    animation: code-cursor-blink 0.8s steps(1) infinite;
}

@keyframes code-cursor-blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }

}


/*
|--------------------------------------------------------------------------
| Directions
|--------------------------------------------------------------------------
*/

.directions-section {
    padding: 105px 0;
    background: var(--wc-white);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--wc-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0 0 20px;
    color: var(--wc-black);
    font-size: 3rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.section-heading p {
    margin: 0;
    color: var(--wc-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px;
    background: var(--wc-white);
    border: 1px solid var(--wc-border);
    border-radius: 12px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    border-color: #cbd9f2;
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 28px;
    flex-shrink: 0;
    color: var(--wc-blue);
    background: var(--wc-blue-light);
    border-radius: 10px;
    font-size: 1.2rem;
}

.service-card h3 {
    margin: 0 0 14px;
    color: var(--wc-black);
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
}

.service-card p {
    margin: 0 0 22px;
    color: var(--wc-muted);
    line-height: 1.6;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: var(--wc-text);
    font-weight: 700;
    transition: color 0.2s ease;
}

.service-card a:hover {
    color: var(--wc-blue);
}

.service-card a i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.service-card a:hover i {
    transform: translateX(4px);
}


/*
|--------------------------------------------------------------------------
| Process
|--------------------------------------------------------------------------
*/

.process-section {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
    color: var(--wc-white);
    background: var(--wc-dark);
}

.process-section::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 50px 50px;
}

.process-section .container {
    position: relative;
    z-index: 1;
}

.process-section .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    max-width: none;
    margin-bottom: 65px;
}

.process-section .section-heading > div:last-child {
    max-width: 520px;
}

.process-section .section-label {
    color: #8eb8ff;
}

.process-section .section-heading h2 {
    margin-bottom: 0;
    color: var(--wc-white);
}

.process-section .section-heading p {
    margin: 0;
    color: #aeb5be;
}

.process-list {
    position: relative;
    border-top: 1px solid #343941;
    border-bottom: 1px solid #343941;
}

.process-item {
    position: relative;
    height: 100%;
    padding: 35px 30px 40px 0;
    border-right: 1px solid #343941;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.process-item:not(:first-child) {
    padding-left: 30px;
}

.process-item:last-child {
    border-right: 0;
}

.process-item:hover {
    background: rgba(37, 99, 235, 0.05);
}

.process-number {
    margin-bottom: 35px;
    color: #8eb8ff;
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.85rem;
    font-weight: 700;
}

.process-item h3 {
    margin: 0 0 15px;
    color: var(--wc-white);
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
}

.process-item p {
    max-width: 270px;
    margin: 0;
    color: #969da7;
    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| Portfolio
|--------------------------------------------------------------------------
*/

.portfolio-preview-section {
    padding: 105px 0;
    background: var(--wc-white);
}

.portfolio-preview-section .section-heading {
    margin-bottom: 55px;
}

.portfolio-preview-section .section-heading h2 {
    color: var(--wc-black);
}

.portfolio-preview-section .section-heading p {
    color: var(--wc-muted);
}

.portfolio-preview-section .section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: var(--wc-text);
    font-weight: 700;
    transition: color 0.2s ease;
}

.portfolio-preview-section .section-link:hover {
    color: var(--wc-blue);
}

.portfolio-preview-section .section-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.portfolio-preview-section .section-link:hover i {
    transform: translateX(4px);
}

.portfolio-card {
    position: relative;
    display: block;
    min-height: 330px;
    overflow: hidden;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #15171a 0%,
            #292e35 100%
        );

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

.portfolio-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.portfolio-card-large {
    min-height: 430px;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
}

.portfolio-card::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.35;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}

.portfolio-card::after {
    position: absolute;
    inset: 0;
    content: "";

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.35) 55%,
            rgba(0, 0, 0, 0.05) 100%
        );
}

.portfolio-card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 24px;
    color: var(--wc-white);
}

.pc-icon {
    font-size: 72px;
    line-height: 1;
    color: var(--wc-white);
}

.portfolio-card-content span {
    display: block;
    margin-bottom: 10px;
    color: #8eb8ff;
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.portfolio-card-content h3 {
    max-width: 650px;
    margin: 0;
    color: var(--wc-white);
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.portfolio-card-content::after {
    display: block;
    width: 0;
    height: 2px;
    margin-top: 20px;
    content: "";
    background: var(--wc-blue);
    transition: width 0.3s ease;
}

.portfolio-card:hover .portfolio-card-content::after {
    width: 55px;
}


/*
|--------------------------------------------------------------------------
| Products
|--------------------------------------------------------------------------
*/

.products-section {
    padding: 105px 0;
    color: var(--wc-white);
    background: var(--wc-dark);
}

.products-section .section-heading {
    max-width: 760px;
    margin-bottom: 50px;
}

.products-section .section-label {
    color: #8eb8ff;
}

.products-section .section-heading h2 {
    color: var(--wc-white);
}

.products-section .section-heading p {
    color: #aeb5be;
}

.product-list {
    border-top: 1px solid #343941;
}

.product-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    color: #d9dde2;
    border-bottom: 1px solid #343941;
    font-weight: 700;
    transition:
        color 0.2s ease,
        padding-left 0.25s ease;
}

.product-item:hover {
    padding-left: 10px;
    color: var(--wc-white);
}

.product-item > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    color: #8eb8ff;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(142, 184, 255, 0.15);
    border-radius: 9px;
    font-size: 1rem;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.product-item:hover > div {
    color: var(--wc-white);
    background: var(--wc-blue);
    border-color: var(--wc-blue);
}

.product-item > span {
    flex: 1;
}

.product-item > i {
    flex-shrink: 0;
    color: #68717c;
    font-size: 0.8rem;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.product-item:hover > i {
    color: #8eb8ff;
    transform: translateX(5px);
}


/*
|--------------------------------------------------------------------------
| CTA
|--------------------------------------------------------------------------
*/

.cta-section {
    padding: 105px 0;
    background: var(--wc-white);
}

.cta-block {
    position: relative;
    overflow: hidden;
    padding: 75px 60px;
    border: 1px solid var(--wc-border);
    border-radius: 14px;
    background: var(--wc-white);
    text-align: center;
}

.cta-block::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 90px;
    height: 3px;
    content: "";
    background: var(--wc-blue);
    transform: translateX(-50%);
}

.cta-block::after {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 70px;
    height: 70px;
    content: "";
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    border-right: 1px solid rgba(37, 99, 235, 0.15);
}

.cta-block .section-label {
    margin-bottom: 20px;
    color: var(--wc-blue);
}

.cta-block h2 {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--wc-black);
    font-size: 3rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.cta-block p {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--wc-muted);
    line-height: 1.7;
}

.cta-block .btn {
    position: relative;
    z-index: 1;
}


/*
|--------------------------------------------------------------------------
| Animations (scroll reveal + hero intro)
|--------------------------------------------------------------------------
*/

[data-animate] {
    opacity: 0;
    will-change: transform, opacity;
}

[data-animate].is-visible {
    opacity: 1;
    animation: wc-reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-animate="up"] {
    transform: translateY(28px);
}

[data-animate="fade"] {
    transform: none;
}

[data-animate="left"] {
    transform: translateX(-32px);
}

[data-animate="right"] {
    transform: translateX(32px);
}

[data-animate="scale"] {
    transform: scale(0.94);
}

[data-animate="up"].is-visible,
[data-animate="fade"].is-visible,
[data-animate="left"].is-visible,
[data-animate="right"].is-visible,
[data-animate="scale"].is-visible {
    animation-name: wc-reveal;
}

@keyframes wc-reveal {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
    }

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

/* Готовность страницы: снимаем анимацию-заглушку с hero */
html.wc-ready .hero-section [data-stagger],
html.wc-ready .hero-section .hero-code {
    animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}


/*
|--------------------------------------------------------------------------
| Home Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {

    .hero-section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-code {
        min-height: 350px;
    }

    .directions-section {
        padding: 80px 0;
    }

    .section-heading h2 {
        font-size: 2.5rem;
    }

    .process-section {
        padding: 80px 0;
    }

    .process-section .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 50px;
    }

    .process-section .section-heading > div:last-child {
        max-width: 650px;
    }

    .process-list {
        border-bottom: 0;
    }

    .process-item,
    .process-item:not(:first-child) {
        padding: 30px 0;
        border-right: 0;
        border-bottom: 1px solid #343941;
    }

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

    .process-item p {
        max-width: 600px;
    }

    .portfolio-preview-section {
        padding: 80px 0;
    }

    .portfolio-card,
    .portfolio-card-large {
        min-height: 350px;
    }

    .portfolio-card-content h3 {
        font-size: 1.8rem;
    }

    .products-section {
        padding: 80px 0;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-block {
        padding: 65px 40px;
    }

    .cta-block h2 {
        font-size: 2.5rem;
    }

}


@media (max-width: 575.98px) {

    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-code {
        min-height: 300px;
    }

    .hero-code-body {
        padding: 30px 18px;
        font-size: 0.75rem;
        line-height: 2;
        overflow-x: auto;
    }

    .code-indent {
        padding-left: 20px;
    }

    .code-indent-2 {
        padding-left: 40px;
    }

    .code-number {
        width: 25px;
        margin-right: 7px;
    }

    .directions-section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 2.2rem;
    }

    .section-heading p {
        font-size: 1rem;
    }

    .service-card {
        padding: 26px;
    }

    .service-card p {
        min-height: 0;
    }

    .process-section {
        padding: 70px 0;
    }

    .process-section::before {
        background-size: 35px 35px;
    }

    .process-section .section-heading {
        margin-bottom: 40px;
    }

    .process-item,
    .process-item:not(:first-child) {
        padding: 26px 0;
    }

    .process-number {
        margin-bottom: 22px;
    }

    .portfolio-preview-section {
        padding: 70px 0;
    }

    .portfolio-card,
    .portfolio-card-large {
        min-height: 300px;
    }

.portfolio-card-content h3 {
        font-size: 1.55rem;
    }

    .products-section {
        padding: 70px 0;
    }

    .products-section .section-heading {
        margin-bottom: 40px;
    }

    .product-item {
        gap: 16px;
        padding: 20px 0;
    }

    .product-item:hover {
        padding-left: 5px;
    }

    .product-item > div {
        width: 44px;
        height: 44px;
    }

    .product-item > span {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-block {
        padding: 55px 25px;
    }

    .cta-block h2 {
        font-size: 2.2rem;
    }

    .cta-block::after {
        top: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
    }

}


/*
|--------------------------------------------------------------------------
| Projects Slider
|--------------------------------------------------------------------------
*/

.projects-slider {
    position: relative;
    overflow: hidden;
    margin: 0 -20px;
    padding: 6px 20px 20px;
}

/* Трек: JS управляет движением (бегущая строка) */
.projects-slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
    transition: none;
}

/* Слайд: шире, чтобы текст в карточках умещался */
.projects-slide {
    flex: 0 0 460px;
    width: 460px;
}

/* Ссылка внутри слайда занимает всю карточку */
.portfolio-card-block {
    display: block;
    position: absolute;
    inset: 0;
}

/* Карточка в слайдере: не растягивается по высоте трека */
.projects-slide.portfolio-card {
    min-height: 330px;
}

/* Заголовок карточки: перенос, чтобы не вылезал за рамки */
.projects-slide .portfolio-card-content h3 {
    font-size: 1.55rem;
    word-break: break-word;
    hyphens: auto;
    padding: 0 10px;
}

/* Запрет выделения текста при перетаскивании */
.projects-slider {
    user-select: none;
    -webkit-user-select: none;
}

.projects-slider.dragging {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.projects-slider.dragging .projects-slider-track {
    transition: none;
}

.projects-slide {
    cursor: grab;
    cursor: -webkit-grab;
}

@media (max-width: 1199.98px) {
    .projects-slide {
        flex-basis: 420px;
        width: 420px;
    }
}

@media (max-width: 991.98px) {
    .projects-slide {
        flex-basis: 380px;
        width: 380px;
    }
}

@media (max-width: 575.98px) {
    .projects-slide {
        flex-basis: 300px;
        width: 300px;
    }
}

/*
|--------------------------------------------------------------------------
| Новогодний баннер-акция
|--------------------------------------------------------------------------
*/
.ny-banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(115deg, #1a2f5e 0%, #2563eb 52%, #7c3aed 100%);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.35);
    color: #ffffff;
    width: calc(100% - 80px);
    max-width: 1320px;
    margin: 100px auto 20px;
}

.ny-banner .container {
    position: relative;
    z-index: 2;
    padding: 44px 40px;
}

.ny-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* падающие снежинки */
.ny-banner .snow {
    position: absolute;
    top: -40px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    animation: ny-fall linear infinite;
    pointer-events: none;
}

@keyframes ny-fall {
    0% { transform: translateY(-40px) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.9; }
    100% { transform: translateY(620px) translateX(30px) rotate(360deg); opacity: 0.1; }
}

/* блики на фоне */
.ny-banner .glow {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    filter: blur(2px);
    animation: ny-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ny-pulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.25); }
}

.ny-banner__text {
    position: relative;
    z-index: 3;
    max-width: 560px;
}

.ny-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ny-banner__badge i {
    color: #ffd470;
    font-size: 0.9rem;
}

.ny-banner__title {
    font-size: 2.05rem;
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.ny-banner__title em {
    font-style: normal;
    color: #ffd470;
}

.ny-banner__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 22px;
    line-height: 1.5;
}

/* кнопка с периодическим блеском */
.ny-banner__cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f6c453, #e8a020);
    color: #15171a !important;
    font-weight: 900;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
}

.ny-banner__cta:hover {
    transform: translateY(-2px);
    color: #15171a !important;
}

.ny-banner__cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    transform: skewX(-20deg);
    animation: ny-shine 2.6s ease-in-out infinite;
}

@keyframes ny-shine {
    0%, 60% { left: -120%; }
    100% { left: 160%; }
}

/* плашка с промокодом */
.ny-banner__code {
    position: relative;
    z-index: 3;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    border: 3px dashed rgba(255, 200, 60, 0.7);
    border-radius: 24px;
    padding: 30px 48px;
    animation: ny-float 4s ease-in-out infinite;
}

@keyframes ny-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.ny-banner__code span {
    display: block;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
}

.ny-banner__code b {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #ffd470;
    margin: 6px 0;
}

@media (max-width: 767.98px) {
    .ny-banner {
        width: calc(100% - 32px);
        margin: 60px auto 16px;
    }
    .ny-banner .container {
        padding: 28px 20px;
    }
    .ny-banner__title {
        font-size: 1.6rem;
    }
}