:root {
    --bg: #0a0d12;
    --bg-page: #050709;
    --bg-soft: #0f131a;
    --panel: #121720;
    --card: #11151d;
    --line: #212833;
    --text: #e7ebf2;
    --muted: #8a93a6;
    --accent: #52f2c4;
    --accent2: #7c8bff;
    --warn: #ff8a5b;
    --radius: 14px;

    --display: 'Special Elite', monospace;
    --body: 'Special Elite', monospace;
    --mono: 'Special Elite', monospace;
}

[data-theme="light"] {
    --bg: #f8f9fc;
    --bg-page: #ffffff;
    --bg-soft: rgb(241 243 249 / 0.17);
    --panel: #ffffff;
    --card: #ffffff;
    --line: #e2e8f0;
    --text: #1a1f2e;
    --muted: #64748b;
    --accent: #14b8a6;
    --accent2: #6d28d9;
    --warn: #f97316;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-page);
    color: var(--text);
    font-family: var(--body);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *:not(.cursor):not(.ticker) {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

::selection {
    background: var(--accent);
    color: #06110d;
}

/* background grid texture */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 75%);
}

/* ---------- фон: частицы ---------- */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ---------- градиентный логотип ---------- */
.logo {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- NAV ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 13, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: background 0.4s ease, border-color 0.4s ease;
}

[data-theme="light"] header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
}

nav.wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.navlinks {
    display: flex;
    gap: 28px;
    align-items: center;
}

.navlinks a {
    font-size: 0.92rem;
    color: var(--muted);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color .2s;
}

.navlinks a:hover {
    color: var(--text);
}

.navlinks a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background: var(--accent);
    transition: width .25s ease;
}

.navlinks a:hover::after {
    width: 100%;
}

.navright {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Language Toggle */
.langtoggle {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--mono);
    font-size: 0.78rem;
}

.langtoggle button {
    background: transparent;
    color: var(--muted);
    border: none;
    padding: 6px 11px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.78rem;
    transition: all .2s;
}

.langtoggle button.active {
    background: var(--accent);
    color: #06110d;
    font-weight: 700;
}

/* CTA Button */
.navcta {
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 500;
    background: var(--accent);
    color: #06110d;
    padding: 9px 16px;
    border-radius: 8px;
    white-space: nowrap;
}

/* ---------- BURGER ---------- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .25s;
}

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;

    background: rgba(10, 13, 18, 0.88);
    backdrop-filter: blur(24px) saturate(200%) contrast(110%);
    -webkit-backdrop-filter: blur(24px) saturate(200%) contrast(110%);

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    padding: 18px 20px 26px;
    z-index: 199;
    flex-direction: column;
    gap: 4px;
}

[data-theme="light"] .mobile-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mobile-nav.open {
    display: flex;
    animation: menuPop 0.3s ease forwards;
}

@keyframes menuPop {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav a {
    font-size: 1.05rem;
    color: var(--muted);
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

[data-theme="light"] .mobile-nav a:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* ---------- light/dark Toggle ---------- */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.35rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
}

.theme-toggle .sun {
    display: none;
}

.theme-toggle .moon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun {
    display: block;
}

[data-theme="light"] .theme-toggle .moon {
    display: none;
}

/* ---------- HERO (основная тема)---------- */
.hero {
    position: relative;
    z-index: 1;
    padding: 140px 0 64px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

h1 .grad {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#h1el {
    text-align: center;
}

.eyebrow {
    font-family: var(--mono);
    font-size: 0.95rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero p.lead {
    font-size: 1rem;
    color: var(--muted);
    max-width: 50ch;
    margin-bottom: 26px;
    line-height: 1.7;
    margin-left: 100px;
}

.herobtns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-left: 180px;
}

.btn {
    font-family: var(--body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 26px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .2s, box-shadow .2s, background .2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: #06110d;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px -8px rgba(82, 242, 196, 0.55);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--text);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* ---------- HUD-рамка в hero ---------- */
.hud-frame {
    position: relative;
    padding-top: 30px;
}

.hud-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--accent);
    opacity: 0.85;
    pointer-events: none;
}

.hud-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.hud-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.status-line {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: fx-pulse 1.6s ease-in-out infinite;
}

@keyframes fx-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}


/* ---------- HERO VISUAL SLOT ---------- */
.hero-visual {
    min-height: 260px;
    position: relative;
    margin-top: 50px;
}

/* ---------- MOBILE: терминал сверху, текст снизу ---------- */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        margin-top: 0;
    }

    .hud-frame {
        order: 2;
    }
}

/* ---------- TICKER ---------- */
.ticker-wrap {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    margin-bottom: 60px;
}

.ticker {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    padding: 14px 0;
    font-size: 0.82rem;
    color: var(--muted);
    animation: scrollx 35s linear infinite;
    width: max-content;
}

.ticker span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticker span::before {
    content: "▹";
    color: var(--accent);
}

@keyframes scrollx {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.ticker-wrap:hover .ticker {
    animation-play-state: paused;
}

/* ---------- SERVICES ---------- */
#services {
    background: rgba(18, 23, 32, 0.55);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] #services {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.15);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.service-card {
    background: var(--bg);
    padding: 34px 28px;
    transition: background .25s;
    position: relative;
    height: 440px;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    border-right: 1px solid var(--line);
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    background: var(--panel);
    border-radius: var(--radius);
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: rgba(82, 242, 196, 0.1);
    border: 1px solid rgba(82, 242, 196, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-card h3 {
    font-family: var(--display);
    font-size: 1.18rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.3em * 2);
}

.service-card p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: calc(1.5em * 3);
}

.service-card ul {
    list-style: none;
    font-size: 0.86rem;
    color: #aab3c4;
}

.service-card li {
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.4em * 2);
}

.service-card li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent2);
}

/* ---------- SECTION GENERIC ---------- */
section {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    border-top: 1px solid var(--line);
}

.section-head {
    width: 100%;
    margin-bottom: 16px;
}

.section-tag {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--accent2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    display: block;
}

h2 {
    font-family: var(--display);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: calc(1.3em * 1);
}

.section-head p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.6em * 1.2);
}

/* ---------- PRICING ---------- */
#pricing {
    background: rgba(18, 23, 32, 0.55);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] #pricing {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.15);
}

.price-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    border: 1px solid var(--line);
    width: fit-content;
    border-radius: 9px;
    overflow: hidden;
    font-family: var(--mono);
}

.price-tabs button {
    background: transparent;
    border: none;
    color: var(--muted);
    padding: 10px 18px;
    font-size: 0.84rem;
    cursor: pointer;
    font-family: var(--mono);
    transition: all .2s;
}

.price-tabs button.active {
    background: var(--accent);
    color: #06110d;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.price-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    transition: transform .25s, border-color .25s;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent2);
}

.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(82, 242, 196, 0.06), transparent 40%);
}

.price-card .tag-feat {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.price-card h3 {
    font-family: var(--display);
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.price-card .desc {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.price-amount {
    font-family: var(--display);
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.price-amount span {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 400;
    font-family: var(--body);
}

.price-card hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 20px 0;
}

.price-card ul {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}

.price-card li {
    padding: 6px 0;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #c7cedb;
    display: flex;
    gap: 9px;
}

.price-card li span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.price-card li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

.price-card .btn {
    justify-content: center;
    width: 100%;
}

/* ---------- PROCESS ---------- */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.proc-step {
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    position: relative;
    height: 260px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.proc-num {
    font-family: var(--mono);
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 14px;
    display: block;
}

.proc-step h3 {
    font-family: var(--display);
    font-size: 1.04rem;
    line-height: 1.3;
    margin-bottom: 8px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.proc-step p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
}

/* ---------- STATS ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat {
    background: var(--bg);
    padding: 30px 24px;
    text-align: center;
}

.stat b {
    display: block;
    font-family: var(--display);
    font-size: 2.1rem;
    color: var(--accent);
    font-weight: 700;
}

.stat span {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.3em * 2);
}

/* ---------- FAQ ---------- */
#faq {
    background: rgba(18, 23, 32, 0.55);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] #faq {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.15);
}

/* ---------- CONTACT ---------- */
#contact {
    background: rgba(18, 23, 32, 0.55);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] #contact {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.15);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact-info p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 42ch;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: calc(1.6em * 3);
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    font-family: var(--mono);
    font-size: 0.9rem;
}

.contact-item span:not(.ic) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-item .ic {
    color: var(--accent);
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

form input, form textarea {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 13px 15px;
    color: var(--text);
    font-family: var(--body);
    font-size: 0.92rem;
    outline: none;
    transition: border-color .2s;
}

form input:focus, form textarea:focus {
    border-color: var(--accent);
}

form textarea {
    resize: vertical;
    min-height: 110px;
}

form .btn {
    align-self: flex-start;
    border: none;
}

/* ---------- FOOTER ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 30px 0 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
    background: var(--bg);
}

.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.fmuted {
    color: var(--muted);
    font-size: 0.84rem;
    font-family: var(--mono);
}

[data-i18n] {
    transition: opacity .15s;
}

/* ---------- MOBILE ---------- */

/* Главный мобильный блок — 980px и меньше */
@media (max-width: 980px) {

    /* Hero */
    .hero {
        padding: 96px 0 40px;
        gap: 24px;
    }

    h1 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .hero p.lead {
        font-size: 1rem;
        max-width: 100%;
    }

    .terminal {
        width: 100% !important;
    }

    .term-body {
        min-height: 160px !important;
        font-size: 0.75rem !important;
    }

    /* Остальные стили */
    .navlinks,
    .navcta {
        display: none !important;
    }

    .burger {
        display: flex !important;
    }

    .herobtns {
        gap: 10px;
        /* margin-left не трогаем — остаётся как на десктопе (180px) */
    }

    .herobtns .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    section {
        padding: 44px 0;
    }

    .section-head {
        margin-bottom: 28px;
    }

    .services-grid,
    .pricing-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

/* Очень маленькие экраны */
@media (max-width: 520px) {
    .hero {
        padding: 96px 0 36px;
        gap: 20px;
    }

    .hero p.lead {
        margin-left: 40px;
    }

    .herobtns {
        margin-left: 40px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .eyebrow {
        justify-content: center;
        text-align: center;
    }

    .herobtns .btn {
        padding: 9px 14px;
        font-size: 0.8rem;
    }

    .term-body {
        min-height: 150px;
        font-size: 0.73rem;
    }

    section {
        padding: 36px 0;
    }

    .section-head {
        margin-bottom: 24px;
    }

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