:root {
    /* Colors */
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --green: #22c55e;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --bg-dark: #0b1c3a;
}

/* ===== FONT FALLBACK & NO FOIT ===== */
html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    color: var(--text-main);
    background: #ffffff;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 50px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1002;
    background: var(--bg-dark);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    max-width: 1120px;
    margin: 0 auto;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.2px;
    font-size: 1.05rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 32px;
    /* размер логотипа */
    width: auto;
    display: block;
}

@media (max-width: 640px) {
    .logo img {
        height: 26px;
        /* меньше на мобильных */
    }

    .logo span {
        font-size: 0.85rem;
    }
}

.nav a {
    position: relative;
    color: rgba(203, 213, 245, 0.85);
    text-decoration: none;
    margin-left: 18px;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--bg-light), #ffffff);
}

.hero h1 {
    font-size: 2.4rem;
    line-height: 1.25;
}

.hero p {
    max-width: 720px;
    color: #334155;
}

/* ===== HERO USP ===== */

.hero-usp {
    margin-top: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    max-width: 760px;
}

.hero-location {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 6px;
    max-width: 720px;
}

/* Mobile */
@media (max-width: 640px) {
    .hero-usp {
        font-size: 0.95rem;
    }
}

.hero-subusp {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ===== HERO BENEFITS ===== */

.hero-benefits {
    margin-top: 22px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    max-width: 520px;
}

.hero-benefits li {
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.4;
}

/* галочка */
.hero-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 700;
}

/* Mobile */
@media (max-width: 640px) {
    .hero-benefits {
        margin-top: 18px;
    }

    .hero-benefits li {
        font-size: 0.9rem;
    }
}

/* Buttons */
.buttons {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.btn {
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn.primary {
    background: var(--blue);
    color: #fff;
}

.btn.outline {
    border: 2px solid var(--blue-dark);
    color: var(--blue-dark);
}

.btn.whatsapp {
    background: var(--green);
    color: #fff;
}

/* Sections */
.section {
    scroll-margin-top: 72px;
    min-height: 100svh;
    display: flex;
    align-items: center;

    position: relative;
}

.section>.container {
    width: 100%;
}

.section.gray {
    background: var(--bg-light);
    color: var(--text-main);
}

.section.dark {
    background: var(--bg-dark);
    color: #fff;
}

.section h2 {
    font-size: 1.9rem;
    margin-bottom: 40px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    display: flex;
    gap: 16px;
    align-items: center;
    font-weight: 600;
}

.service svg {
    width: 28px;
    height: 28px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.6;
}

.service-text small {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.service-cta {
    background: #f5f7fa;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-cta-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-cta-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.service-cta-btn {
    align-self: center;
}

/* мобильная версия */
@media (max-width: 768px) {
    .service-cta {
        padding: 32px 20px;
    }

    .service-cta-title {
        font-size: 16px;
    }
}

/* Advantages */
/* .advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.adv {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
} */

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.adv {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.45;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* hover — как у услуг */
.adv:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.35);
}

.adv strong {
    font-size: 1.15rem;
    color: #ffffff;
}

.adv span {
    font-size: 0.95rem;
    color: #c7d2fe;
}

/* Numbers — общее выравнивание строк */

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-template-rows: auto auto auto;
    /* цифры / заголовок / описание */
    gap: 40px;
    text-align: center;
}

.num {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    justify-items: center;
}

/* ===== СИНЯЯ СТРОКА ===== */
.num strong {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;

    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;

    /* 🔑 КЛЮЧЕВОЕ */
    align-self: center;
    /* центрируется в общей строке */
}

/* ===== ЧЁРНАЯ СТРОКА ===== */
.num span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);

    align-self: center;
}

/* ===== СЕРАЯ СТРОКА ===== */
.num small {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;

    align-self: center;
}

/* убираем лишний воздух внутри numbers */

.num {
    gap: 0;
    /* ← как было раньше */
}

/* слегка поджимаем строки */
.num strong {
    margin: 0;
}

.num span {
    margin: 0;
}

.num small {
    margin: 20px 0 40px;
}

.numbers-note {
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    padding: 50px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review {
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.review p {
    font-style: italic;
}

.review span {
    display: block;
    margin-top: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Form */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-box {
    max-width: 520px;
    background: #fff;
    padding: 44px;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form button {
    padding: 14px;
    font-size: 1rem;
}

.contact-form button {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.form-alt-contacts {
    margin-top: 24px;
    text-align: center;
}

.form-alt-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.form-alt-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.alt-contact {
    padding: 10px 16px;
    border-radius: 999px;
    /* pill-style */
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

/* WhatsApp */
.alt-contact.whatsapp {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.alt-contact.whatsapp:hover {
    background: rgba(34, 197, 94, 0.18);
    transform: translateY(-1px);
}

/* Phone */
.alt-contact.phone {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
}

.alt-contact.phone:hover {
    background: rgba(37, 99, 235, 0.18);
    transform: translateY(-1px);
}

.faq {
    display: grid;
    gap: 20px;
    max-width: 900px;
}

.faq-accordion {
    max-width: 820px;
}

.faq-item {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
    padding: 6px 0;
}

.faq-item:not(:last-child) {
    margin-bottom: 20px;
    /* ← визуальный воздух между вкладками */
}

.faq-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
    color: var(--text-main);
}

.faq-item p {
    margin: 0;
    color: var(--text-muted);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-main);
    transition: color 0.2s ease;
    gap: 16px;
}

/* hover — весь вопрос */
.faq-item:hover .faq-question,
.faq-item:hover .faq-question h3 {
    color: var(--blue-dark);
}

/* активное состояние */
.faq-item.active .faq-question,
.faq-item.active .faq-question h3 {
    color: var(--blue-dark);
}

/* плюс */
.faq-item:hover .faq-icon,
.faq-item.active .faq-icon {
    color: var(--blue);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    transition: transform 0.25s ease;
    margin-left: 12px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 20px 22px 20px;
    color: var(--text-muted);
}

/* active state */
.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    /* плюс превращается в крест */
}

.faq-question h3 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.experience-line {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 32px;
}

.experience-line strong {
    color: var(--bg-dark);
}

.alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.alt-card {
    background: #ffffff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    font-size: 1rem;
    color: var(--text-main);
}

.alt-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--bg-dark);
}


/* Mobile */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .container {
        padding: 0 24px 50px;
    }
}

.service,
.alt-card,
.review {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service:hover,
.alt-card:hover,
.review:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
}

.btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}



/* Универсальная CTA-кнопка */
.cta-btn,
.nav-btn {
    background: rgba(37, 99, 235, 0.9);
    color: #ffffff !important;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

/* Hover — одинаковый для всех CTA */
.cta-btn:hover,
.nav-btn:hover {
    background: rgba(37, 99, 235, 1);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.icon-whatsapp,
.icon-phone {
    width: 18px;
    height: 18px;
    fill: currentColor;
    margin-right: 8px;
}

.icon-operator {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    margin-right: 8px;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .buttons .btn {
        width: 88%;
        /* ← ключевой момент */
        justify-content: center;
    }

    /* порядок кнопок */
    .buttons .btn.primary {
        order: 1;
    }

    .buttons .btn.whatsapp {
        order: 2;
    }

    .buttons .phone-btn {
        order: 3;
    }
}

/* Бургер — только мобильный */
.burger {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    margin: 5px 0;
    transition: 0.25s ease;
}

/* Мобильная версия */
@media (max-width: 640px) {

    /* Навигация скрыта по умолчанию */
    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 16px;
        display: none;
        flex-direction: column;
        gap: 14px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
        z-index: 1000;

        transform: translateY(-6px);
        opacity: 0;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .mobile-menu a {
        color: var(--text-main);
        font-size: 1rem;
        margin: 0;
    }

    .mobile-menu .nav-btn {
        margin-top: 8px;
        width: 100%;
    }

    /* Активное состояние */
    .mobile-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {

    /* ===== ХЕДЕР (компактный) ===== */
    .header-inner {
        padding: 8px 16px;
        /* меньше высота */
    }

    .logo {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    /* ===== БУРГЕР ===== */
    .burger {
        display: block;
        background: none;
        border: none;
        padding: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
        margin: 5px 0;
        transition: 0.25s ease;
    }

    /* Бургер → крестик */
    .burger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ===== ЗАТЕМНЕНИЕ ===== */
    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

}

/* Кнопка "Прокрутить вниз" */

/* ===== SMART SCROLL ARROW ===== */
.scroll-next {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(37, 99, 235, 0.12);
    color: var(--blue);
    font-size: 24px;
    cursor: pointer;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollHint 1.6s infinite;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* стрелка на тёмных секциях */
.scroll-next.dark {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.scroll-next.dark:hover {
    background: rgba(255, 255, 255, 0.28);
}

.scroll-next:hover {
    background: rgba(37, 99, 235, 0.2);
}

/* скрыта */
.scroll-next.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes scrollHint {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}

/* можно скрыть на мобильных, если решишь */
@media (max-width: 640px) {
    .scroll-next {
        bottom: 20px;
    }
}

/* ------------------------------------ */
/* хлебные крошки */
.section-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.section-dots a {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5f5;
    display: block;
    transition: background 0.2s ease, transform 0.2s ease;
}

.section-dots a.active {
    background: var(--blue);
    transform: scale(1.4);
}

.section-dots a:hover {
    background: var(--blue);
    transform: scale(1.2);
}

/* скрываем на мобильных */
@media (max-width: 640px) {
    .section-dots {
        display: none;
    }
}

/* ===== Contacts ===== */

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.contacts-item {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 18px;
}

.contacts-item a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.contacts-item a:hover {
    text-decoration: underline;
}

.contacts-note {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

.contacts-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 640px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contacts-buttons {
        justify-content: center;
    }
}

.contacts-seo {
    font-size: 0.95rem;
    color: var(--text-muted);
    width: 100%;
    max-width: 820px;
}

/* ------------------------------------ */
/* политика конфиденциальности */
.form-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.form-note a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ------------------------------------ */

/* ===== Privacy Policy ===== */

.privacy {
    background: var(--bg-light);
}

.privacy-card {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    padding: 56px;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.privacy-card h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--bg-dark);
}

.privacy-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.privacy-card h2 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--bg-dark);
}

.privacy-card p,
.privacy-card li {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #334155;
}

.privacy-card ul {
    padding-left: 20px;
    margin-top: 12px;
}

.privacy-card li {
    margin-bottom: 6px;
}

.privacy-back {
    margin-top: 48px;
    text-align: center;
}

/* Mobile */
@media (max-width: 640px) {
    .privacy-card {
        padding: 32px 22px;
        border-radius: 16px;
    }

    .privacy-card h1 {
        font-size: 1.6rem;
    }
}

/* ------------------------------------ */
/* Footer */
.footer {
    background: var(--text-main);
    color: #c7d2fe;
    text-align: center;
    padding: 28px 0;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer a {
    color: #c7d2fe;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 8px;
    }

    .footer-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .footer-right span {
        display: none;
    }
}

/* ------------------------------------ */
/* ===== Language switch ===== */
.lang-switch {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.lang-switch a {
    color: #fff;
    text-decoration: none;
    opacity: 0.6;
}

.lang-switch a.active {
    opacity: 1;
}

.lang-switch span {
    opacity: 0.4;
}

@media (max-width: 768px) {
    .lang-switch {
        right: 56px;
        /* чтобы не налезал на бургер */
        font-size: 13px;
    }
}

/* ------------------------------------ */

/* .header {
    background: rgba(11, 28, 58, 0.92);
    backdrop-filter: blur(6px);
} */



/* ------------------------------------ */

/* ===== AUTO SHIMMER FOR BLUE BUTTONS ===== */

.btn.primary,
.cta-btn,
.nav-btn {
    position: relative;
    overflow: hidden;
}

/* блик */
.btn.primary::before,
.cta-btn::before,
.nav-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent);
    transform: skewX(-20deg);
    pointer-events: none;

    /* 🔑 периодический блеск */
    animation: shimmerAuto 7.5s ease-in-out infinite;
}

/* при наведении — сразу */
.btn.primary:hover::before,
.cta-btn:hover::before,
.nav-btn:hover::before {
    animation: shimmerHover 0.9s ease;
}

@keyframes shimmerAuto {
    0% {
        left: -130%;
        opacity: 0;
    }

    60% {
        left: -130%;
        opacity: 0;
    }

    65% {
        opacity: 1;
    }

    85% {
        left: 160%;
        opacity: 1;
    }

    100% {
        left: 160%;
        opacity: 0;
    }
}

@keyframes shimmerHover {
    from {
        left: -130%;
    }

    to {
        left: 160%;
    }
}

.last-section {
    scroll-margin-top: 0;
}

/* ===== SEO TEXT SECTION ===== */

.seo-section {
    background: var(--bg-light);
}

.seo-content {
    max-width: 880px;
}

.seo-section h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--bg-dark);
}

.seo-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 16px;
}

/* Mobile */
@media (max-width: 640px) {
    .seo-section h2 {
        font-size: 1.3rem;
    }
}

/* ===== LOCAL SEO: ALMATY ===== */

.almaty-seo {
    background: #ffffff;
}

.almaty-seo-content {
    max-width: 880px;
}

.almaty-seo h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--bg-dark);
}

.almaty-seo p {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 16px;
}

.almaty-seo strong {
    color: var(--bg-dark);
}

.almaty-seo-note {
    margin-top: 24px;
    font-weight: 600;
    color: var(--bg-dark);
}

/* Mobile */
@media (max-width: 640px) {
    .almaty-seo h2 {
        font-size: 1.3rem;
    }
}

/* ===== TRUST SECTION ===== */

.trust-section {
    background: #ffffff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.trust-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.06);
}


.trust-item strong {
    font-size: 1.1rem;
    color: var(--bg-dark);
}

.trust-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* hover — как у услуг */
.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
}

.form-trust {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

/* ===== HOW WE WORK ===== */

.work-steps {
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.step {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 10px;
}

.step strong {
    font-size: 1.05rem;
    color: var(--bg-dark);
}

.step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* hover — аккуратно */
.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
}

/* ===== WORK STEPS CTA ===== */

.work-cta {
    margin-top: 48px;
    text-align: center;
}

.work-cta-text {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 20px;
}

.work-cta-btn {
    padding: 16px 28px;
    font-size: 1rem;
}

/* Mobile */
@media (max-width: 640px) {
    .work-cta {
        margin-top: 36px;
    }

    .work-cta-text {
        font-size: 0.95rem;
    }
}


.adv {
    padding: 32px;
}

.adv strong {
    font-size: 1.2rem;
    letter-spacing: 0.2px;
}

.adv span {
    font-size: 0.98rem;
    line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* ===== Neutral focus for inputs ===== */








/* ===== PREMIUM FORM INPUTS ===== */

.contact-form input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;

    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.contact-form input:focus,
.contact-form input:focus-visible {
    outline: none;
    border-color: #e5e7eb;
    /* не меняется */
    background-color: #ffffff;
    box-shadow: none;
}

.contact-form input:not(:placeholder-shown) {
    background-color: #fcfcfd;
}

.contact-form input:hover {
    border-color: #d1d5db;
}

.contact-form input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.contact-form button {
    margin-top: 6px;
    border-radius: 12px;
}

.form-trust {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
}


body {
    opacity: 0;
    transition: opacity .25s ease;
}

body.ready {
    opacity: 1;
}