* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   ПЕРВЫЙ ЭКРАН
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 105% 45%,
            rgba(0, 220, 210, 0.35),
            transparent 32%
        ),
        #000;

    padding: 32px 24px 55px;
}


/* HEADER */

.header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.logo img {
    width: 190px;
    height: auto;
    display: block;
}


/* BURGER */

.burger {
    width: 52px;
    height: 48px;
    border: 0;
    background: transparent;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;

    gap: 7px;
    cursor: pointer;
}

.burger span {
    width: 40px;
    height: 4px;
    background: #fff;
    border-radius: 10px;
    display: block;
}


/* HERO CONTENT */

.hero-content {
    margin-top: 90px;
}

.hero h1 {
    display: flex;
    flex-direction: column;

    font-size: clamp(50px, 11vw, 88px);
    font-weight: 900;

    line-height: 0.98;
    letter-spacing: -0.025em;
}

.hero h1 span {
    display: block;
}

.white {
    color: #fff;
}

.turquoise {
    color: #04bdb9;
}

.small-line {
    width: 130px;
    height: 4px;

    margin-top: 45px;
    margin-bottom: 30px;

    background: #04c7c0;
    border-radius: 10px;
}

.description {
    max-width: 620px;

    font-size: 25px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;

    color: #f4f4f4;

    margin-bottom: 55px;
}


/* WHATSAPP */

.whatsapp {
    min-height: 180px;
    width: 100%;

    display: flex;
    align-items: center;

    padding: 30px;

    border-radius: 30px;

    text-decoration: none;
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #05b9b4,
            #10c6bd
        );

    box-shadow:
        0 0 35px rgba(0, 220, 210, 0.30);

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

.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(0, 220, 210, 0.55);
}

.whatsapp-icon {
    width: 110px;
    height: 110px;

    flex-shrink: 0;

    border: 7px solid #fff;
    border-radius: 50%;

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

    margin-right: 28px;
}

.whatsapp-icon img {
    width: 62px;
    height: 62px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.20));
}

.whatsapp-text {
    display: flex;
    flex-direction: column;
}

.whatsapp-text strong {
    font-size: 37px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.whatsapp-text span {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.35;

    margin-top: 10px;
}


/* =========================================================
   АНИМИРОВАННЫЙ ПРИНТЕР НА ПЕРВОМ ЭКРАНЕ
========================================================= */

.hero-printer {
    position: relative;
    isolation: isolate;

    width: min(390px, 76vw);
    margin: 30px auto 0;

    animation: printer-float 4.4s ease-in-out infinite;
    will-change: transform;
}

.hero-printer::before {
    content: "";
    position: absolute;
    z-index: -1;

    left: 8%;
    right: 8%;
    bottom: 2%;
    height: 30%;

    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 235, 225, 0.36) 0%,
        rgba(0, 210, 200, 0.12) 44%,
        transparent 74%
    );

    filter: blur(24px);
    opacity: 0.65;

    animation: printer-glow 3.2s ease-in-out infinite;
}

.hero-printer img {
    display: block;
    width: 100%;
    height: auto;

    filter:
        drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 12px rgba(0, 220, 210, 0.13));
}

@keyframes printer-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes printer-glow {
    0%, 100% {
        opacity: 0.50;
        transform: scale(0.96);
    }

    50% {
        opacity: 0.88;
        transform: scale(1.06);
    }
}


/* SOCIAL */

.social {
    margin-top: 70px;
}

.social-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-title span {
    height: 3px;
    background: #00c2bd;
    flex: 1;
}

.social-title p {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.social-grid {
    margin-top: 45px;

    display: grid;
    grid-template-columns: 1fr 1px 1fr;

    gap: 25px;
    align-items: center;
}

.social-item {
    text-decoration: none;
    color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 11px;
}

.social-icon {
    position: relative;
    overflow: hidden;

    width: 90px;
    height: 90px;

    border: 2px solid #00c8c3;
    border-radius: 22px;

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

    background:
        radial-gradient(circle at 50% 35%, rgba(0, 220, 210, 0.08), transparent 58%),
        linear-gradient(180deg, rgba(8, 14, 14, 0.92), rgba(0, 0, 0, 0.92));

    box-shadow:
        inset 0 0 18px rgba(0, 200, 195, 0.08),
        0 0 18px rgba(0, 200, 195, 0.08);

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

.social-icon::after {
    content: "";
    position: absolute;
    inset: auto 10px 8px 10px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 220, 210, 0.22), transparent 72%);
    filter: blur(8px);
    pointer-events: none;
}

.social-item:hover .social-icon {
    transform: translateY(-2px);
    border-color: #1ce9e0;
    box-shadow:
        inset 0 0 22px rgba(0, 230, 220, 0.12),
        0 0 25px rgba(0, 230, 220, 0.28);
}

.social-icon img {
    position: relative;
    z-index: 1;

    width: 42px;
    height: 42px;
    display: block;

    filter: drop-shadow(0 0 8px rgba(0, 220, 210, 0.18));

    transition: transform 0.25s ease;
}

.social-item:hover .social-icon img {
    transform: scale(1.05);
}

.social-item strong {
    font-size: 17px;
    font-weight: 800;
}

.social-item p {
    font-size: 20px;
    font-weight: 400;
}

.social-divider {
    width: 1px;
    height: 145px;
    background: #00c8c3;
}


/* CONTACTS */

.contact-info {
    margin-top: 65px;
    padding: 0 20px 50px;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    text-decoration: none;
    color: #19c6c3;

    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.01em;

    margin-bottom: 42px;
}

.phone-symbol {
    position: relative;
    overflow: hidden;

    min-width: 52px;
    height: 38px;

    padding: 0 8px;

    border: 2px solid #19c6c3;
    border-radius: 10px;

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

    background:
        radial-gradient(circle at 50% 35%, rgba(0, 220, 210, 0.09), transparent 62%),
        linear-gradient(180deg, rgba(7, 14, 14, 0.94), rgba(0, 0, 0, 0.94));

    box-shadow:
        inset 0 0 14px rgba(0, 220, 210, 0.08),
        0 0 14px rgba(0, 220, 210, 0.05);
}

.phone-symbol img {
    width: 24px;
    height: 24px;
    display: block;
    filter: drop-shadow(0 0 7px rgba(0, 220, 210, 0.16));
}

.contact-address {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    text-decoration: none;
    color: #fff;
}

.location-icon {
    position: relative;
    overflow: hidden;

    width: 65px;
    height: 46px;

    flex-shrink: 0;

    border: 2px solid #00c8c3;
    border-radius: 12px;

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

    background:
        radial-gradient(circle at 50% 35%, rgba(0, 220, 210, 0.09), transparent 62%),
        linear-gradient(180deg, rgba(7, 14, 14, 0.94), rgba(0, 0, 0, 0.94));

    box-shadow:
        inset 0 0 14px rgba(0, 220, 210, 0.08),
        0 0 14px rgba(0, 220, 210, 0.05);
}

.location-icon img {
    width: 24px;
    height: 24px;
    display: block;
    filter: drop-shadow(0 0 7px rgba(0, 220, 210, 0.16));
}

.address-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 5px;
}

.address-text strong {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.address-text span {
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
}

.address-text small {
    color: #9c9c9c;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;

    margin-top: 4px;
}


/* =========================================================
   ВТОРОЙ ЭКРАН — НЕОНОВЫЕ УСЛУГИ
========================================================= */

.services {
    position: relative;

    padding: 85px 24px 95px;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(0, 225, 215, 0.07),
            transparent 30%
        ),
        #030303;

    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;

    width: 72%;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 240, 230, 0.7),
            transparent
        );

    box-shadow:
        0 0 18px rgba(0, 240, 230, 0.35);
}

.services-heading {
    position: relative;
    z-index: 2;
}

.services-kicker {
    color: #00d5ce;

    font-size: 16px;
    font-weight: 800;

    letter-spacing: 0.24em;

    margin-bottom: 10px;
}

.services h2 {
    color: #fff;

    font-size: clamp(34px, 6vw, 58px);
    font-weight: 900;

    line-height: 1.05;
    letter-spacing: -0.025em;
}

.services-tagline {
    margin-top: 28px;
    margin-bottom: 38px;

    display: grid;
    grid-template-columns: minmax(35px, 1fr) auto minmax(35px, 1fr);

    align-items: center;

    gap: 18px;
}

.services-tagline > span {
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #00d7d0
        );

    box-shadow:
        0 0 10px rgba(0, 230, 220, 0.3);
}

.services-tagline > span:last-child {
    background:
        linear-gradient(
            90deg,
            #00d7d0,
            transparent
        );
}

.services-tagline p {
    color: #d9d9d9;

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

    line-height: 1;
    white-space: nowrap;
}

.services-tagline b {
    color: #00d5ce;
}


/* GRID */

.services-grid {
    position: relative;
    z-index: 2;

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

    gap: 18px;
}


/* CARD */

.service-card {
    --card-image: none;

    position: relative;
    isolation: isolate;

    min-height: 185px;

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

    padding: 24px 22px;

    border: 1px solid rgba(0, 215, 205, 0.58);
    border-radius: 25px;

    overflow: hidden;

    text-decoration: none;
    color: #fff;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.87) 44%,
            rgba(0, 0, 0, 0.50) 73%,
            rgba(0, 0, 0, 0.78) 100%
        ),
        var(--card-image);

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    box-shadow:
        inset 0 0 22px rgba(0, 220, 210, 0.03),
        0 0 16px rgba(0, 220, 210, 0.07);

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


/* ФОТО ДЛЯ КАРТОЧЕК
   Если этих JPG пока нет, карточки всё равно будут работать.
   Потом загрузите изображения в папку images с этими именами. */

.service-01 {
    --card-image: url("images/service-01.jpg");
}

.service-02 {
    --card-image: url("images/service-02.jpg");
}

.service-03 {
    --card-image: url("images/service-03.jpg");
}

.service-04 {
    --card-image: url("images/service-04.jpg");
}

.service-05 {
    --card-image: url("images/service-05.jpg");
}

.service-06 {
    --card-image: url("images/service-06.jpg");
}

.service-07 {
    --card-image: url("images/service-07.jpg");
}

.service-08 {
    --card-image: url("images/service-08.jpg");
}


/* БЕГУЩИЙ НЕОНОВЫЙ СВЕТ */

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

    position: absolute;
    inset: -2px;

    border-radius: inherit;

    padding: 2px;

    background:
        conic-gradient(
            from var(--neon-angle),
            transparent 0deg,
            transparent 258deg,
            rgba(0, 255, 244, 0.05) 282deg,
            rgba(0, 255, 244, 0.85) 310deg,
            #bffffa 326deg,
            rgba(0, 255, 244, 0.35) 342deg,
            transparent 360deg
        );

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;

    animation: neon-border-run 4.8s linear infinite;

    z-index: 3;
}

.service-card:nth-child(2n)::before {
    animation-delay: -1.2s;
}

.service-card:nth-child(3n)::before {
    animation-delay: -2.4s;
}

.service-card::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        radial-gradient(
            circle at 86% 30%,
            rgba(0, 250, 238, 0.10),
            transparent 34%
        );

    pointer-events: none;

    z-index: -1;
}

@property --neon-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes neon-border-run {
    to {
        --neon-angle: 360deg;
    }
}

.service-card:hover {
    transform: translateY(-4px);

    border-color: rgba(0, 255, 244, 0.9);

    box-shadow:
        0 0 18px rgba(0, 245, 235, 0.18),
        0 0 36px rgba(0, 245, 235, 0.08);
}


/* TEXT IN CARD */

.service-number {
    position: relative;
    z-index: 2;

    color: #00e1d8;

    font-size: 18px;
    font-weight: 800;

    line-height: 1;
}

.service-card h3 {
    position: relative;
    z-index: 2;

    max-width: 78%;

    margin-top: 23px;

    color: #fff;

    font-size: clamp(19px, 3vw, 27px);
    font-weight: 900;

    line-height: 1.06;
    letter-spacing: -0.025em;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.85);
}

.service-arrow {
    position: absolute;
    right: 18px;
    bottom: 17px;
    z-index: 2;

    width: 48px;
    height: 48px;

    border: 2px solid rgba(0, 230, 220, 0.65);
    border-radius: 50%;

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

    color: #fff;

    font-size: 28px;
    font-weight: 400;

    line-height: 1;

    background: rgba(0, 0, 0, 0.30);

    box-shadow:
        0 0 14px rgba(0, 230, 220, 0.06);

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

.service-card:hover .service-arrow {
    transform: translateX(3px);

    border-color: #00f0e5;

    box-shadow:
        0 0 18px rgba(0, 240, 230, 0.22);
}


/* WHATSAPP AFTER SERVICES */

.services-whatsapp {
    position: relative;
    z-index: 2;

    width: fit-content;

    margin-top: 38px;

    display: inline-flex;
    align-items: center;

    gap: 18px;

    text-decoration: none;

    color: #fff;
}

.services-wa-icon {
    width: 62px;
    height: 62px;

    border: 2px solid #00d8d0;
    border-radius: 17px;

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

    color: #00d8d0;

    font-size: 20px;
    font-weight: 900;

    box-shadow:
        0 0 20px rgba(0, 220, 210, 0.08);
}

.services-wa-icon img {
    width: 34px;
    height: 34px;
    display: block;
    filter: drop-shadow(0 0 7px rgba(0, 220, 210, 0.22));
}

.services-wa-text {
    display: flex;
    flex-direction: column;
}

.services-wa-text strong {
    color: #00d8d0;

    font-size: 19px;
    font-weight: 800;
}

.services-wa-text small {
    margin-top: 4px;

    color: #ddd;

    font-size: 15px;
}


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

@media (max-width: 600px) {

    .hero {
        padding: 25px 20px 45px;
    }

    .hero-printer {
        width: min(320px, 78vw);
        margin-top: 24px;
    }

    .logo img {
        width: 155px;
    }

    .burger span {
        width: 34px;
    }

    .hero-content {
        margin-top: 75px;
    }

    .hero h1 {
        font-size: 14vw;
        line-height: 0.99;
        letter-spacing: -0.02em;
    }

    .description {
        font-size: 19px;
        line-height: 1.5;

        margin-bottom: 45px;
    }

    .whatsapp {
        min-height: 130px;

        padding: 20px;

        border-radius: 23px;
    }

    .whatsapp-icon {
        width: 76px;
        height: 76px;

        border-width: 5px;

        margin-right: 18px;
    }

    .whatsapp-icon img {
        width: 46px;
        height: 46px;
    }

    .whatsapp-text strong {
        font-size: 25px;
        line-height: 1.08;
    }

    .whatsapp-text span {
        font-size: 18px;
    }

    .social {
        margin-top: 65px;
    }

    .social-title {
        gap: 12px;
    }

    .social-title p {
        font-size: 15px;
    }

    .social-grid {
        gap: 15px;
    }

    .social-icon {
        width: 76px;
        height: 76px;

        border-radius: 20px;
    }

    .social-icon img {
        width: 34px;
        height: 34px;
    }

    .social-item strong {
        font-size: 15px;
    }

    .social-item p {
        font-size: 15px;
    }

    .social-divider {
        height: 140px;
    }

    .contact-info {
        margin-top: 55px;

        padding-left: 0;
        padding-right: 0;
    }

    .contact-phone {
        font-size: 21px;

        gap: 10px;

        margin-bottom: 38px;
    }

    .phone-symbol {
        min-width: 46px;
        height: 34px;
    }

    .phone-symbol img {
        width: 20px;
        height: 20px;
    }

    .contact-address {
        gap: 13px;
        align-items: center;
    }

    .location-icon {
        width: 54px;
        height: 42px;
    }

    .location-icon img {
        width: 22px;
        height: 22px;
    }

    .address-text strong {
        font-size: 16px;
    }

    .address-text span {
        font-size: 16px;
    }

    .address-text small {
        font-size: 13px;
    }


    /* SERVICES MOBILE */

    .services {
        padding: 72px 17px 80px;
    }

    .services-kicker {
        font-size: 13px;
        letter-spacing: 0.23em;
    }

    .services h2 {
        font-size: 10vw;
        line-height: 1.02;
    }

    .services-tagline {
        margin-top: 24px;
        margin-bottom: 28px;

        gap: 10px;
    }

    .services-tagline p {
        font-size: 12px;
    }

    .services-grid {
        gap: 12px;
    }

    .service-card {
        min-height: 168px;

        padding: 18px 16px;

        border-radius: 21px;
    }

    .service-number {
        font-size: 15px;
    }

    .service-card h3 {
        max-width: 84%;

        margin-top: 18px;

        font-size: clamp(16px, 4.25vw, 20px);

        line-height: 1.06;
    }

    .service-arrow {
        right: 12px;
        bottom: 12px;

        width: 42px;
        height: 42px;

        font-size: 24px;
    }

    .services-whatsapp {
        margin-top: 30px;

        gap: 14px;
    }

    .services-wa-icon {
        width: 56px;
        height: 56px;

        border-radius: 15px;

        font-size: 18px;
    }

    .services-wa-icon img {
        width: 30px;
        height: 30px;
    }

    .services-wa-text strong {
        font-size: 16px;
    }

    .services-wa-text small {
        font-size: 14px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .whatsapp-text strong {
        font-size: 21px;
    }

    .whatsapp-text span {
        font-size: 16px;
    }

    .social-title p {
        font-size: 13px;
    }

    .contact-phone {
        font-size: 18px;
    }

    .address-text strong,
    .address-text span {
        font-size: 14px;
    }

    .services h2 {
        font-size: 9.4vw;
    }

    .services-tagline p {
        font-size: 10.5px;
    }

    .service-card {
        min-height: 154px;
        padding: 16px 13px;
    }

    .service-card h3 {
        font-size: 15px;
    }

    .service-arrow {
        width: 38px;
        height: 38px;
    }
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 900px) {

    .hero,
    .services {
        max-width: 900px;

        margin-left: auto;
        margin-right: auto;
    }

    .services {
        padding-left: 32px;
        padding-right: 32px;
    }

    .service-card {
        min-height: 205px;
    }
}


/* =========================================================
   ACCESSIBILITY — МЕНЬШЕ АНИМАЦИИ
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

    .service-card::before {
        animation: none;
    }

    .service-card,
    .service-arrow,
    .whatsapp,
    .social-icon,
    .social-icon img {
        transition: none;
    }

    .hero-printer,
    .hero-printer::before {
        animation: none;
    }
}

/* =========================================================
   РАБОЧЕЕ БУРГЕР-МЕНЮ
========================================================= */

body.menu-open {
    overflow: hidden;
}

.header {
    position: relative;
    z-index: 120;
}

.burger {
    position: relative;
    z-index: 121;
}

.burger span {
    transform-origin: center;
    transition:
        transform 0.28s ease,
        opacity 0.22s ease,
        width 0.28s ease;
}

.burger.is-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

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

.burger.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;

    visibility: hidden;
    opacity: 0;

    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        opacity 0.32s ease,
        visibility 0.32s ease;
}

.menu-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

.menu-panel {
    position: absolute;
    top: 0;
    right: 0;

    width: min(88vw, 430px);
    height: 100%;

    padding: 32px 26px 34px;

    display: flex;
    flex-direction: column;

    background:
        radial-gradient(
            circle at 100% 18%,
            rgba(0, 220, 210, 0.18),
            transparent 30%
        ),
        linear-gradient(180deg, #070b0b 0%, #020303 100%);

    border-left: 1px solid rgba(0, 220, 210, 0.35);

    box-shadow:
        -25px 0 70px rgba(0, 0, 0, 0.65),
        -2px 0 22px rgba(0, 230, 220, 0.08);

    transform: translateX(105%);

    transition: transform 0.38s cubic-bezier(.22,.8,.26,1);
}

.menu-overlay.is-open .menu-panel {
    transform: translateX(0);
}

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

    padding-bottom: 22px;

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

.menu-brand {
    color: #00d8d0;

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 0.22em;
}

.menu-close {
    position: relative;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(0, 220, 210, 0.55);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.35);

    cursor: pointer;
}

.menu-close span {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 22px;
    height: 2px;

    background: #fff;

    border-radius: 10px;
}

.menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-links {
    margin-top: 34px;

    display: flex;
    flex-direction: column;
}

.menu-link {
    min-height: 78px;

    display: grid;
    grid-template-columns: 42px 1fr;

    align-items: center;

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

    text-decoration: none;
    color: #fff;

    transition:
        padding-left 0.25s ease,
        color 0.25s ease,
        background 0.25s ease;
}

.menu-link span {
    color: #00d8d0;

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

.menu-link strong {
    font-size: 24px;
    font-weight: 900;

    letter-spacing: -0.02em;
}

.menu-link:hover {
    padding-left: 8px;

    color: #00e8df;

    background:
        linear-gradient(
            90deg,
            rgba(0, 220, 210, 0.08),
            transparent
        );
}

.menu-social {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.menu-social a {
    padding: 10px 13px;

    border: 1px solid rgba(0, 220, 210, 0.4);
    border-radius: 12px;

    color: #dffefd;

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

    text-decoration: none;

    background: rgba(0, 220, 210, 0.04);
}

.menu-contact {
    margin-top: auto;

    padding-top: 24px;

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

.menu-contact a {
    color: #00d8d0;

    font-size: 20px;
    font-weight: 900;

    text-decoration: none;
}

.menu-contact p {
    margin-top: 8px;

    color: #9faaaa;

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


/* MOBILE MENU */

@media (max-width: 600px) {

    .menu-panel {
        width: 92vw;

        padding:
            max(24px, env(safe-area-inset-top))
            22px
            max(28px, env(safe-area-inset-bottom));
    }

    .menu-link {
        min-height: 72px;
    }

    .menu-link strong {
        font-size: 22px;
    }

    .menu-brand {
        font-size: 12px;
    }

    .menu-contact a {
        font-size: 18px;
    }
}


/* REDUCED MOTION */

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

    .menu-overlay,
    .menu-panel,
    .burger span,
    .menu-link {
        transition: none;
    }
}


/* =========================================================
   DESKTOP V1 — 1100px+
   Мобильные стили выше не меняются.
========================================================= */
@media (min-width: 1100px) {
    .hero {
        max-width: none;
        width: 100%;
        min-height: auto;
        margin: 0;
        padding: 38px max(48px, calc((100vw - 1400px) / 2)) 76px;
        background:
            radial-gradient(circle at 78% 38%, rgba(0, 220, 210, 0.18), transparent 28%),
            radial-gradient(circle at 94% 65%, rgba(0, 125, 120, 0.12), transparent 24%),
            #000;
    }

    .header {
        max-width: 1400px;
        margin: 0 auto;
        align-items: center;
    }

    .logo img { width: 190px; }

    .hero-content {
        max-width: 1400px;
        margin: 64px auto 0;
        display: grid;
        grid-template-columns: minmax(520px, 0.94fr) minmax(500px, 1.06fr);
        grid-template-rows: auto auto auto auto;
        column-gap: 72px;
        align-items: center;
    }

    .hero h1 {
        grid-column: 1;
        grid-row: 1;
        font-size: clamp(64px, 5.1vw, 88px);
        max-width: 720px;
    }

    .small-line {
        grid-column: 1;
        grid-row: 2;
        width: 110px;
        margin: 30px 0 24px;
    }

    .description {
        grid-column: 1;
        grid-row: 3;
        max-width: 610px;
        margin: 0 0 32px;
        font-size: 20px;
        line-height: 1.55;
    }

    .whatsapp {
        grid-column: 1;
        grid-row: 4;
        max-width: 620px;
        min-height: 112px;
        padding: 20px 24px;
        border-radius: 22px;
    }

    .whatsapp-icon {
        width: 72px;
        height: 72px;
        border-width: 4px;
        margin-right: 20px;
    }

    .whatsapp-icon img { width: 38px; height: 38px; }
    .whatsapp-text strong { font-size: 29px; }
    .whatsapp-text span { margin-top: 5px; font-size: 18px; }

    .hero-printer {
        grid-column: 2;
        grid-row: 1 / 5;
        width: min(742px, 108%);
        margin: 0;
        justify-self: end;
        align-self: center;
    }

    .social {
        max-width: 1400px;
        margin: 46px auto 0;
        display: grid;
        grid-template-columns: minmax(520px, 0.92fr) minmax(520px, 1.08fr);
        column-gap: 90px;
        row-gap: 34px;
        align-items: center;
    }

    .social-title {
        grid-column: 1 / -1;
        gap: 28px;
    }

    .social-title p { font-size: 18px; }

    .social-grid {
        grid-column: 1;
        margin-top: 0;
        max-width: 620px;
        width: 100%;
    }

    .social-icon { width: 82px; height: 82px; }
    .social-icon img { width: 38px; height: 38px; }
    .social-item strong { font-size: 16px; }
    .social-item p { font-size: 17px; }
    .social-divider { height: 125px; }

    .contact-info {
        grid-column: 2;
        margin-top: 0;
        padding: 0;
        display: grid;
        gap: 26px;
        align-self: center;
    }

    .contact-phone {
        justify-content: flex-start;
        margin: 0;
        font-size: 24px;
    }

    .contact-address { justify-content: flex-start; }
    .address-text strong, .address-text span { font-size: 16px; }
    .address-text small { font-size: 13px; }

    .services {
        max-width: 1480px;
        width: calc(100% - 80px);
        margin: 0 auto;
        padding: 96px 0 116px;
    }

    .services-heading { max-width: 900px; }
    .services-kicker { font-size: 16px; }
    .services h2 { font-size: 68px; }
    .services-tagline { max-width: 860px; margin: 28px 0 42px; }

    .services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .service-card {
        min-height: 246px;
        padding: 26px 24px;
        border-radius: 22px;
    }

    .service-card h3 {
        max-width: 76%;
        margin-top: 22px;
        font-size: 25px;
    }

    .service-number { font-size: 17px; }
    .service-arrow { width: 46px; height: 46px; }

    .services-whatsapp { margin-top: 34px; }

    .menu-panel {
        width: min(38vw, 520px);
        padding: 38px 34px 38px;
    }

    .menu-link { min-height: 86px; }
    .menu-link strong { font-size: 26px; }
}

@media (min-width: 1500px) {
    .hero-content { column-gap: 96px; }
    .hero-printer { width: min(780px, 110%); }
    .service-card { min-height: 258px; }
}

/* =========================================================
   PRINTER MOTION V2 — печать / движение головки / подача баннера
   Работает поверх существующего hero-printer без изменения макета.
========================================================= */

.hero-printer-printing {
    overflow: visible;
}

.hero-printer-printing .printer-stage {
    position: relative;
    width: 100%;
    isolation: isolate;
    overflow: visible;
}

.hero-printer-printing .printer-base {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    height: auto;
    filter:
        drop-shadow(0 14px 20px rgba(0, 0, 0, 0.58))
        drop-shadow(0 0 14px rgba(0, 220, 210, 0.16));
}

/* Цветной край баннера появляется из-под уже напечатанной части. */
.printer-paper-extension {
    position: absolute;
    z-index: 1;

    left: 34.5%;
    top: 78.5%;
    width: 59%;
    height: 15%;

    opacity: 0;
    transform-origin: 50% 0%;
    transform: translateY(-12%) scaleY(0.28);

    clip-path: polygon(2% 0%, 99% 0%, 94% 100%, 8% 100%);

    background:
        linear-gradient(180deg, rgba(255,255,255,0.92) 0 4%, transparent 4.5%),
        linear-gradient(
            105deg,
            #64218f 0%,
            #ec168f 16%,
            #ff8d00 31%,
            #ffd000 38%,
            #00cfc7 55%,
            #057f8f 73%,
            #063e49 100%
        );

    box-shadow:
        0 18px 28px rgba(0, 0, 0, 0.36),
        0 0 20px rgba(0, 220, 210, 0.08);

    filter: saturate(1.18) brightness(0.92);
    animation: printer-paper-feed 7.4s cubic-bezier(.45,0,.2,1) infinite;
    will-change: transform, opacity;
}

/* Приближённая форма видимой поверхности баннера. */
.printer-print-zone {
    position: absolute;
    z-index: 4;

    left: 25.7%;
    top: 31.5%;
    width: 69.3%;
    height: 58%;

    overflow: hidden;
    pointer-events: none;
    clip-path: polygon(0% 0%, 90% 8%, 100% 73%, 9% 100%);

    opacity: 0.82;
    mix-blend-mode: screen;
}

.printer-raster-lines {
    position: absolute;
    inset: 0;

    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0 7px,
            rgba(255,255,255,0.055) 8px,
            transparent 9px 14px
        );

    opacity: 0.34;
    animation: printer-raster-pulse 7.4s linear infinite;
}

/* Цветной проход, который повторяет движение печатающей головки. */
.printer-ink-pass {
    position: absolute;
    top: -8%;
    bottom: -8%;
    left: -22%;
    width: 24%;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 220, 210, 0.05) 18%,
        rgba(0, 255, 245, 0.30) 44%,
        rgba(255, 45, 205, 0.22) 62%,
        transparent 100%
    );

    filter: blur(5px);
    opacity: 0;
    animation: printer-ink-scan 7.4s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Тонкая линия, будто печать постепенно проходит вниз по материалу. */
.printer-feed-line {
    position: absolute;
    left: 5%;
    right: 4%;
    top: 7%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.85) 18%,
        #00e2d8 48%,
        rgba(255,70,210,0.85) 72%,
        transparent
    );

    box-shadow:
        0 0 7px rgba(0, 230, 220, 0.65),
        0 0 13px rgba(255, 30, 190, 0.18);

    opacity: 0;
    animation: printer-feed-line 7.4s linear infinite;
}

/* Трек головки расположен в зоне реальной направляющей на изображении. */
.printer-head-track {
    position: absolute;
    z-index: 5;

    left: 28.6%;
    top: 27.1%;
    width: 42.5%;
    height: 10%;

    overflow: hidden;
    pointer-events: none;
}

.printer-head {
    position: absolute;
    left: 0;
    top: 18%;

    width: 16%;
    height: 55%;
    border-radius: 7px 7px 11px 11px;

    background:
        linear-gradient(180deg, rgba(5,10,12,0.82), rgba(2,4,6,0.95)),
        #020405;

    border-bottom: 3px solid rgba(0, 224, 214, 0.92);

    box-shadow:
        0 4px 7px rgba(0,0,0,0.68),
        0 6px 12px rgba(0, 230, 220, 0.32),
        inset 0 -5px 10px rgba(0, 220, 210, 0.13);

    opacity: 0.08;
    animation: printer-head-move 7.4s cubic-bezier(.42,0,.35,1) infinite;
    will-change: transform, opacity;
}

.printer-head::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -4px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00dcd2, #fff 48%, #ff48d5);
    filter: blur(1px);
    box-shadow: 0 0 8px rgba(0,220,210,0.62);
}

/* Три очень маленьких индикатора, как режим PRINTING. */
.printer-working-light {
    position: absolute;
    z-index: 6;
    right: 7.3%;
    top: 34.5%;
    display: flex;
    gap: 4px;
    opacity: 0.46;
}

.printer-working-light span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00e0d6;
    box-shadow: 0 0 7px rgba(0, 224, 214, 0.75);
    animation: printer-dot 1.05s ease-in-out infinite;
}

.printer-working-light span:nth-child(2) { animation-delay: .16s; }
.printer-working-light span:nth-child(3) { animation-delay: .32s; }

@keyframes printer-head-move {
    0%, 4%   { transform: translateX(0%); opacity: 0.10; }
    7%       { opacity: 0.86; }
    18%      { transform: translateX(520%); opacity: 0.92; }
    31%      { transform: translateX(18%); opacity: 0.94; }
    43%      { transform: translateX(520%); opacity: 0.92; }
    55%      { transform: translateX(12%); opacity: 0.90; }
    61%      { transform: translateX(12%); opacity: 0.18; }
    100%     { transform: translateX(0%); opacity: 0.10; }
}

@keyframes printer-ink-scan {
    0%, 5%   { transform: translateX(0%); opacity: 0; }
    8%       { opacity: 0.72; }
    18%      { transform: translateX(520%); opacity: 0.78; }
    31%      { transform: translateX(18%); opacity: 0.70; }
    43%      { transform: translateX(520%); opacity: 0.72; }
    56%      { transform: translateX(10%); opacity: 0.62; }
    62%,100% { transform: translateX(10%); opacity: 0; }
}

@keyframes printer-feed-line {
    0%, 7%   { top: 7%; opacity: 0; }
    10%      { opacity: 0.65; }
    24%      { top: 31%; opacity: 0.74; }
    39%      { top: 55%; opacity: 0.65; }
    55%      { top: 82%; opacity: 0.52; }
    61%,100% { top: 88%; opacity: 0; }
}

@keyframes printer-paper-feed {
    0%, 57% {
        opacity: 0;
        transform: translateY(-12%) scaleY(0.28);
    }

    61% {
        opacity: 0.72;
        transform: translateY(-2%) scaleY(0.48);
    }

    72% {
        opacity: 0.92;
        transform: translateY(20%) scaleY(0.78);
    }

    82% {
        opacity: 0.96;
        transform: translateY(34%) scaleY(1);
    }

    90% {
        opacity: 0.82;
        transform: translateY(38%) scaleY(1);
    }

    96% {
        opacity: 0;
        transform: translateY(38%) scaleY(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-12%) scaleY(0.28);
    }
}

@keyframes printer-raster-pulse {
    0%, 6%, 63%, 100% { opacity: 0.10; }
    12%, 54% { opacity: 0.38; }
}

@keyframes printer-dot {
    0%, 100% { opacity: 0.18; transform: scale(0.72); }
    50%      { opacity: 1; transform: scale(1); }
}

/* На телефоне эффект остаётся, но делаем его легче и спокойнее. */
@media (max-width: 1099px) {
    .printer-head-track {
        left: 28%;
        top: 27%;
        width: 43%;
    }

    .printer-working-light { display: none; }
    .printer-raster-lines { opacity: 0.20; }
    .printer-paper-extension { height: 12%; }
}

/* Доступность: если пользователь отключил анимации — оставляем статичный принтер. */
@media (prefers-reduced-motion: reduce) {
    .printer-paper-extension,
    .printer-ink-pass,
    .printer-feed-line,
    .printer-head,
    .printer-working-light span,
    .printer-raster-lines {
        animation: none !important;
    }

    .printer-paper-extension,
    .printer-ink-pass,
    .printer-feed-line,
    .printer-working-light {
        display: none !important;
    }

    .printer-head { opacity: 0 !important; }
}
