:root {
    --bg: #050508;
    --surface: #0d0d14;
    --surface2: #13131e;
    --border: rgba(255, 255, 255, 0.06);
    --accent: #6c5ce7;
    --accent2: #00cec9;
    --text: #f0f0f8;
    --muted: #6b6b8a;
    --radius: 14px;
    --nav-h: 70px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ── Global text overflow protection ── */
h1, h2, h3, h4, p, li, span, a, button, label, textarea, input {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* NOISE */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    & .icon {
        margin-right: 15px;
    }
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    display: flex;
    background: var(--accent);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
    align-items: center;
    gap: 10px;

    & .icon {
        fill: #fff;
        width: 16px;
        height: 16px;
    }
}

.nav-cta:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    min-width: 36px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(5, 5, 8, 0.99);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 16px 6% 28px;
    flex-direction: column;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    /* display: block; */
}

.mm-cta {
    display: flex;
    margin-top: 16px !important;
    background: var(--accent) !important;
    color: #fff !important;
    padding: 16px !important;
    border-radius: 10px;
    text-align: center;
    font-weight: 700 !important;
    border: none !important;
    font-size: 1rem !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* HERO */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 60px) 6% 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(108, 92, 231, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(0, 206, 201, 0.07) 0%, transparent 55%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    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: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero-inner {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.3);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #a29bfe;
    margin-bottom: 22px;
    width: fit-content;
    animation: fadeUp 0.7s ease both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent2);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
    opacity: 1;
    transform: scale(1);
    }
    50% {
    opacity: 0.5;
    transform: scale(1.4);
    }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    animation: fadeUp 0.8s 0.1s ease both;
}

.hero h1 .line2 {
    color: var(--accent);
}

.hero h1 .line3 {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    color: transparent;
}

.hero-desc {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--muted);
    max-width: 580px;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.75;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-desc strong {
    color: var(--text);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 15px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(108, 92, 231, 0.4);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text);
    padding: 15px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:active {
    transform: scale(0.97);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.4s ease both;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.stat-num span {
    color: var(--accent);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--muted);
}

@keyframes fadeUp {
    from {
    opacity: 0;
    transform: translateY(24px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

/* SECTIONS */
.section {
    padding: 90px 6%;
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 3.8vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.12;
    margin-bottom: 14px;
}

.section-sub {
    color: var(--muted);
    font-size: 1rem;
    max-width: 520px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.service-card {
    background: var(--surface);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.service-card:hover {
    background: var(--surface2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    height: 50px;
    margin-bottom: 22px;
    display: block;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.service-card > p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.service-features {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text);
}

.feature-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent2);
    flex-shrink: 0;
}

/* CASES */
.cases-section {
    background: var(--surface);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.case-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.case-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.case-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(108, 92, 231, 0.12);
    color: #a29bfe;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.case-emoji {
    font-size: 1.4rem;
}

.case-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 9px;
    letter-spacing: -0.1px;
}

.case-card p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.65;
}

.case-metrics {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 7px 11px;
    border-radius: 8px;
}

.metric-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent2);
}

.metric-key {
    font-size: 0.66rem;
    color: var(--muted);
}

/* PROCESS */
.process-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 760px;
}

.process-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 22px;
    align-items: start;
    padding: 26px 28px;
    background: var(--surface);
    transition: background 0.2s;
}

.process-item:hover {
    background: var(--surface2);
}

.process-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: rgba(108, 92, 231, 0.2);
    letter-spacing: -1px;
    line-height: 1;
    padding-top: 4px;
}

.process-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.process-content p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* WHY */
.why-section {
    background: var(--surface);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.why-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(108, 92, 231, 0.2);
}

.why-icon {
    font-size: 1.8rem;
    height: 48px;
    margin-bottom: 12px;
}

.why-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.why-card p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 780px;
}

.faq-item {
    background: var(--bg);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    background: none;
    border: none;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    gap: 16px;
    transition: background 0.2s;
}

.faq-q:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    font-size: 0.9rem;
    color: var(--muted);
    font-style: normal;
}

.faq-item.open .faq-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 26px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 26px 22px;
}

/* REVIEWS */
.reviews-marquee-wrap {
    overflow: hidden;
    position: relative;
    padding-bottom: 80px;
}

.reviews-marquee-wrap::before,
.reviews-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 80px;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.reviews-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.reviews-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.reviews-track {
    display: flex;
    gap: 14px;
    animation: marquee 55s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
    transform: translateX(0);
    }
    to {
    transform: translateX(-50%);
    }
}

.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    width: 275px;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.review-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
}

.review-stars {
    color: #fdcb6e;
    font-size: 0.78rem;
    margin-bottom: 11px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text);
    font-size: 0.87rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.author-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.author-meta {
    font-size: 0.7rem;
    color: var(--muted);
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 110px 6%;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(108, 92, 231, 0.1), transparent 70%);
}

.cta-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.9rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.12;
    margin-bottom: 16px;
    position: relative;
}

.cta-section > p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-big {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.45);
}

.btn-big:active {
    transform: scale(0.97);
}

.tg-icon {
    font-size: 1.2rem;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 34px 6%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-copy {
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
    margin-top: 6px;
}

.footer-contact:hover {
    color: var(--accent);
}

/* ══════════════════════════════════
    REVEAL — ключевой фикс:
    opacity:1 по умолчанию, анимация
    только если JS успел навесить класс
    до рендера. Fallback — всё видно.
══════════════════════════════════ */
.reveal {
    opacity: 1;
    transform: none;
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.4);
    border-radius: 2px;
}

/* ══════════════════════════════════
    MOBILE-FIRST — ≤ 768px
══════════════════════════════════ */
@media (max-width: 768px) {
    :root {
    --nav-h: 62px;
    }

    nav {
    padding: 0 5%;
    }

    .nav-links,
    .nav-cta {
    display: none;
    }

    .burger {
    display: flex;
    }

    .hero {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 40px) 5% 50px;
    }

    .hero h1 {
    font-size: clamp(2rem, 9.5vw, 3.2rem);
    letter-spacing: -0.8px;
    line-height: 1.12;
    }

    .hero h1 .line3 {
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.3);
    }

    .hero-desc {
    font-size: 0.93rem;
    margin-bottom: 24px;
    max-width: 100%;
    line-height: 1.7;
    }

    .hero-actions {
    flex-direction: column;
    gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 17px 20px;
    font-size: 1rem;
    }

    .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 36px;
    }

    .stat {
    min-width: 0;
    }

    .stat-num {
    font-size: 1.45rem;
    letter-spacing: -0.3px;
    white-space: nowrap;
    }

    .stat-label {
    font-size: 0.73rem;
    line-height: 1.4;
    }

    .section {
    padding: 52px 5%;
    }

    .section-title {
    letter-spacing: -0.3px;
    line-height: 1.14;
    }

    .section-sub {
    margin-bottom: 26px;
    font-size: 0.93rem;
    }

    .services-grid {
    grid-template-columns: 1fr;
    gap: 1px;
    }

    .service-card {
    padding: 26px 20px;
    }

    .service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    }

    .service-card h3 {
    font-size: 1.2rem;
    }

    .feature-item {
    font-size: 0.84rem;
    }

    .cases-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    }

    .case-card {
    padding: 20px 16px;
    }

    .case-card:hover {
    transform: none;
    box-shadow: none;
    }

    .case-card h3 {
    font-size: 0.95rem;
    line-height: 1.4;
    }

    .case-metrics {
    gap: 8px;
    }

    .metric {
    padding: 6px 9px;
    }

    .metric-val {
    font-size: 0.82rem;
    }

    .metric-key {
    font-size: 0.62rem;
    }

    .process-list {
    max-width: 100%;
    }

    .process-item {
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 18px 16px;
    }

    .process-num {
    font-size: 1.6rem;
    }

    .process-content h4 {
    font-size: 0.98rem;
    }

    .process-content p {
    font-size: 0.86rem;
    }

    .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    }

    .why-card {
    padding: 16px 13px;
    }

    .why-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    }

    .why-card h4 {
    font-size: 0.88rem;
    }

    .why-card p {
    font-size: 0.8rem;
    line-height: 1.55;
    }

    .faq-list {
    max-width: 100%;
    }

    .faq-q {
    padding: 17px 16px;
    font-size: 0.9rem;
    gap: 12px;
    }

    .faq-a {
    padding: 0 16px;
    font-size: 0.87rem;
    line-height: 1.65;
    }

    .faq-item.open .faq-a {
    padding: 0 16px 16px;
    }

    .review-card {
    width: 248px;
    }

    .reviews-marquee-wrap::before,
    .reviews-marquee-wrap::after {
    width: 30px;
    }

    .cta-section {
    padding: 60px 5%;
    }

    .cta-section h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    letter-spacing: -0.6px;
    line-height: 1.14;
    }

    .cta-section > p {
    font-size: 0.93rem;
    }

    .btn-big {
    width: 100%;
    justify-content: center;
    padding: 17px 20px;
    font-size: 0.97rem;
    }

    footer {
    flex-direction: column;
    padding: 24px 5%;
    gap: 14px;
    }

    .footer-links {
    gap: 14px;
    }
}

/* ── Узкие телефоны ≤ 480px ── */
@media (max-width: 480px) {
    .hero h1 {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
    letter-spacing: -0.5px;
    line-height: 1.14;
    }

    .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    }

    .stat-num {
    font-size: 1.3rem;
    }

    .stat-label {
    font-size: 0.7rem;
    }

    .section-title {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
    }

    .why-grid {
    grid-template-columns: 1fr 1fr;
    }

    .why-card {
    padding: 14px 11px;
    }

    .case-metrics {
    flex-wrap: wrap;
    }
}

/* ── Очень узкие ≤ 380px ── */
@media (max-width: 380px) {
    .hero h1 {
    font-size: clamp(1.7rem, 11vw, 2.4rem);
    line-height: 1.16;
    letter-spacing: -0.3px;
    }

    .hero-stats {
    gap: 8px;
    }

    .stat-num {
    font-size: 1.2rem;
    }

    .why-grid {
    grid-template-columns: 1fr;
    }

    .section-title {
    font-size: clamp(1.45rem, 9vw, 2rem);
    }

    .faq-q {
    font-size: 0.85rem;
    padding: 15px 14px;
    }

    .faq-a {
    font-size: 0.83rem;
    }

    .faq-item.open .faq-a {
    padding: 0 14px 14px;
    }

    .process-item {
    padding: 15px 13px;
    }

    .process-num {
    font-size: 1.4rem;
    }
}