/* ===================================================================
   AI Web Studio — Premium Dark Tech
   Единый стиль для всех страниц сайта aiweb.kz
   =================================================================== */

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

/* ---- CSS Variables ---- */
:root {
    /* Background */
    --bg: #07070b;
    --bg-1: #0b0b12;
    --bg-2: #11111a;
    --bg-3: #16161f;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.05);
    --surface-3: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    /* Text */
    --text: #e8e8f0;
    --text-soft: #b3b3c2;
    --text-mute: #7a7a8a;

    /* Accents */
    --accent: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #06b6d4;
    --accent-glow: rgba(99, 102, 241, 0.45);
    --accent-glow-2: rgba(139, 92, 246, 0.35);
    --gold: #d4af37;

    /* Gradients */
    --grad-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --grad-2: linear-gradient(135deg, #4f46e5, #9333ea);
    --grad-3: linear-gradient(135deg, #06b6d4, #6366f1);
    --grad-glow: radial-gradient(closest-side, rgba(99, 102, 241, 0.35), transparent);
    --grad-glow-2: radial-gradient(closest-side, rgba(139, 92, 246, 0.3), transparent);

    /* Layout */
    --container: 1240px;
    --container-narrow: 920px;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 12px 60px rgba(99, 102, 241, 0.25);

    /* Header */
    --header-h: 76px;
}

/* ---- Background scene ---- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(800px 500px at 15% -10%, rgba(99, 102, 241, 0.18), transparent 60%),
        radial-gradient(700px 500px at 90% 10%, rgba(139, 92, 246, 0.16), transparent 65%),
        radial-gradient(900px 600px at 50% 110%, rgba(6, 182, 212, 0.12), transparent 60%),
        var(--bg);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: -1px -1px;
    mask-image: radial-gradient(closest-side at 50% 30%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(closest-side at 50% 30%, black, transparent 80%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.65rem, 3.4vw, 2.7rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}

h4 {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

p {
    color: var(--text-soft);
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-soft);
    line-height: 1.6;
}

.gradient-text {
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #c7c8ff;
}

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: clamp(64px, 8vw, 120px) 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-head h2 {
    margin-top: 14px;
}

.section-head p {
    margin-top: 16px;
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    background: rgba(7, 7, 11, 0.7);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
    background: rgba(7, 7, 11, 0.85);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--grad-1);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 26px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 60%);
}

.logo-mark span {
    position: relative;
    z-index: 1;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.main-nav a {
    font-size: 0.92rem;
    color: var(--text-soft);
    font-weight: 500;
    position: relative;
    padding: 8px 12px;
    border-radius: 10px;
    transition: color 0.3s ease;
    z-index: 1;
    white-space: nowrap;
}

/* Рамка — появляется сразу */
.main-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.55), rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.45)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1.2);
    z-index: -1;
    pointer-events: none;
}

/* Заливка — растёт от центра */
.main-nav a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background:
        radial-gradient(closest-side at 50% 50%, rgba(99, 102, 241, 0.22), rgba(139, 92, 246, 0.14) 60%, transparent 90%);
    transform: scale(0.4);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1.2), opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
    box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.4);
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.main-nav a:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Активный пункт — классическое подчёркивание (без рамки/заливки) */
.main-nav a.active {
    color: #fff;
    background-image: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    background-repeat: no-repeat;
    background-size: calc(100% - 32px) 2px;
    background-position: 16px calc(100% - 2px);
}

.main-nav a.active::before,
.main-nav a.active::after {
    display: none;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
    background: var(--surface);
}

.lang-switch a {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-soft);
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lang-switch a.active {
    background: var(--surface-3);
    color: #fff;
}

.lang-switch a:hover {
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: transform 0.3s;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s, top 0.3s;
}

.menu-toggle span::before {
    top: -6px;
}

.menu-toggle span::after {
    top: 6px;
}

body.menu-open .menu-toggle span {
    background: transparent;
}

body.menu-open .menu-toggle span::before {
    top: 0;
    transform: rotate(45deg);
}

body.menu-open .menu-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---- Mobile menu ---- */
.mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(7, 7, 11, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 90;
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.6, 0.05, 0.3, 1);
    overflow-y: auto;
}

body.menu-open .mobile-nav {
    transform: translateX(0);
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid var(--border);
}

.mobile-nav .btn {
    margin-top: 28px;
    width: 100%;
    justify-content: center;
}

.mobile-nav-langs {
    display: flex;
    gap: 8px;
    margin-top: 28px;
}

.mobile-nav-langs a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-soft);
}

.mobile-nav-langs a.active {
    background: var(--surface-3);
    color: #fff;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.005em;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    border: 1px solid transparent;
    will-change: transform;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-1);
    color: #fff;
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 50%);
    opacity: 0;
    transition: opacity 0.25s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--surface);
    color: #fff;
    border-color: var(--border-strong);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--surface-2);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--text-soft);
    padding: 10px 18px;
}

.btn-ghost:hover {
    color: #fff;
}

.btn-lg {
    padding: 18px 32px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-wa {
    background: #25D366;
    color: #03260c;
}

.btn-wa:hover {
    background: #28e171;
    transform: translateY(-2px);
}

/* Animated CTA pulse */
.btn-pulse {
    position: relative;
}

.btn-pulse::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: var(--grad-1);
    z-index: -1;
    opacity: 0;
    filter: blur(14px);
    animation: pulseGlow 2.6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.04); }
}

/* ---- Hero ---- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 80px) 0 100px;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.55;
    z-index: 0;
}

.hero-orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(closest-side, #6366f1, transparent 70%);
    top: -120px;
    left: -150px;
    animation: floatA 18s ease-in-out infinite;
}

.hero-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(closest-side, #8b5cf6, transparent 70%);
    bottom: -200px;
    right: -180px;
    animation: floatB 22s ease-in-out infinite;
}

.hero-orb-3 {
    width: 420px;
    height: 420px;
    background: radial-gradient(closest-side, #06b6d4, transparent 70%);
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.35;
    animation: floatC 24s ease-in-out infinite;
}

@keyframes floatA {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}

@keyframes floatB {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -30px); }
}

@keyframes floatC {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 40px); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text .eyebrow {
    margin-bottom: 22px;
}

.hero h1 {
    margin-bottom: 22px;
}

.hero h1 .gradient-text {
    display: inline;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--text-soft);
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-offer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.25);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-offer-badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--grad-1);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.35);
}

.hero-offer-text {
    flex: 1;
}

.hero-offer-text strong {
    color: #fff;
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
}

.hero-offer-text span {
    font-size: 0.86rem;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-trust-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.hero-trust-num .gradient-text {
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-trust-label {
    font-size: 0.82rem;
    color: var(--text-mute);
}

/* Hero visual */
.hero-visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 520px;
    margin: 0 auto;
}

/* AI neural network */
.hero-neural {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-neural svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.neu-line {
    stroke-width: 1;
    opacity: 0.45;
    stroke-dasharray: 3 5;
    animation: neuDash 22s linear infinite;
}

@keyframes neuDash {
    to { stroke-dashoffset: -160; }
}

.neu-pulse {
    transform-origin: center;
    transform-box: fill-box;
    animation: neuPulse 3.8s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes neuPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.78); }
    50%      { opacity: 0.95; transform: scale(1.25); }
}

.neu-core {
    transform-origin: center;
    transform-box: fill-box;
    animation: neuCore 3.8s ease-in-out infinite;
    animation-delay: var(--d, 0s);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.55));
}

@keyframes neuCore {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.18); }
}

.neu-packet {
    filter: drop-shadow(0 0 7px #ffffff);
    opacity: 0.9;
}

.hero-card {
    position: absolute;
    background: rgba(15, 15, 22, 0.6);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-card-1 {
    top: 0;
    left: 0;
    width: 62%;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-card-2 {
    bottom: 0;
    right: 0;
    width: 60%;
    animation: floatCard 7s ease-in-out infinite reverse;
}

.hero-card-3 {
    top: 35%;
    right: 5%;
    width: 50%;
    animation: floatCard 8s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hero-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--grad-1);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}

.hero-card-icon-2 {
    background: var(--grad-3);
    box-shadow: 0 6px 18px rgba(6, 182, 212, 0.4);
}

.hero-card-icon-3 {
    background: var(--grad-2);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.4);
}

.hero-card-label {
    font-size: 0.82rem;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-card-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.hero-card-bar {
    height: 6px;
    background: var(--surface-3);
    border-radius: 999px;
    margin-top: 10px;
    overflow: hidden;
}

.hero-card-bar > span {
    display: block;
    height: 100%;
    width: 72%;
    background: var(--grad-1);
    border-radius: 999px;
    animation: barGrow 2.6s ease-out 0.2s both;
}

@keyframes barGrow {
    from { width: 0; }
}

.hero-card-mini {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.hero-card-mini > div {
    flex: 1;
    height: 38px;
    background: var(--surface-2);
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* ---- Founding offer banner ---- */
.founding {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 7vw, 100px) 0;
}

.founding-wrap {
    position: relative;
    border-radius: 28px;
    padding: clamp(36px, 5vw, 70px);
    background:
        radial-gradient(800px 400px at 0% 0%, rgba(99, 102, 241, 0.2), transparent 60%),
        radial-gradient(700px 400px at 100% 100%, rgba(139, 92, 246, 0.2), transparent 60%),
        linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(15, 15, 22, 0.9));
    border: 1px solid var(--border-strong);
    overflow: hidden;
}

.founding-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.18), transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.15), transparent 25%);
    pointer-events: none;
}

.founding-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.founding-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-strong);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 18px;
}

.founding-eyebrow-dot {
    width: 14px;
    height: 14px;
    background: var(--grad-1);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.8);
}

.founding-grid h2 {
    margin-bottom: 18px;
}

.founding-price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin: 22px 0;
}

.founding-price-now {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 700;
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    letter-spacing: -0.03em;
}

.founding-price-old {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: var(--text-mute);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.founding-discount {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #c7c8ff;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
}

.founding-fine {
    font-size: 0.86rem;
    color: var(--text-mute);
    margin-top: 22px;
    max-width: 540px;
}

.founding-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* Counter card */
.counter-card {
    background: rgba(7, 7, 11, 0.5);
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    padding: 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(closest-side at 50% 0%, rgba(99, 102, 241, 0.18), transparent 60%);
    pointer-events: none;
}

.counter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    position: relative;
}

.counter-title span:first-child {
    font-size: 0.84rem;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.counter-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #10d975;
    font-weight: 600;
}

.counter-live::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #10d975;
    border-radius: 50%;
    box-shadow: 0 0 10px #10d975;
    animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.counter-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
    position: relative;
}

.counter-num .of {
    font-size: 0.45em;
    color: var(--text-mute);
    font-weight: 500;
    margin-left: 6px;
}

.counter-label {
    color: var(--text-soft);
    font-size: 0.94rem;
    margin-top: 8px;
    position: relative;
}

.counter-bar {
    margin-top: 22px;
    height: 10px;
    background: var(--surface-2);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.counter-bar > span {
    display: block;
    height: 100%;
    background: var(--grad-1);
    border-radius: 999px;
    transition: width 1.4s cubic-bezier(0.6, 0.05, 0.3, 1);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
    width: 0;
}

.counter-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.84rem;
    color: var(--text-mute);
    position: relative;
}

.counter-meta strong {
    color: #fff;
    font-weight: 600;
}

/* ---- Cards / Grid ---- */
.grid {
    display: grid;
    gap: 22px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(99, 102, 241, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--surface-2);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #c7c8ff;
    font-size: 1.3rem;
}

.card h3 {
    margin-bottom: 10px;
    color: #fff;
}

.card p {
    font-size: 0.96rem;
    color: var(--text-soft);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #c7c8ff;
    font-weight: 600;
    font-size: 0.92rem;
}

.card-link:hover {
    color: #fff;
    gap: 12px;
}

/* ---- Feature value cards (Не просто сайт) ---- */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.value-card {
    text-align: center;
    padding: 32px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(closest-side at 50% 0%, rgba(99, 102, 241, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

.value-num {
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 12px;
}

.value-card h3 {
    position: relative;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-card p {
    position: relative;
    font-size: 0.9rem;
}

/* ---- Includes list (Что входит) ---- */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.include-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform 0.3s, border-color 0.3s;
}

.include-item:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.3);
}

.include-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #c7c8ff;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.include-text strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.include-text span {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ---- Why 24 hours ---- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.why-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 22px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

.why-item:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.3);
}

.why-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.86rem;
    color: var(--text-mute);
    margin-bottom: 14px;
    display: block;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.why-item h4 {
    font-size: 1.02rem;
    margin-bottom: 8px;
}

.why-item p {
    font-size: 0.88rem;
}

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

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--surface-2);
}

.price-card.featured {
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08)),
        rgba(15, 15, 22, 0.6);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.18);
}

.price-card.featured::before {
    content: attr(data-badge);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-1);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

.price-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 8px;
}

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin: 18px 0 10px;
}

.price-amount .from {
    font-size: 0.5em;
    color: var(--text-mute);
    font-weight: 500;
    margin-right: 6px;
}

.price-amount.old {
    font-size: 1rem;
    color: var(--text-mute);
    text-decoration: line-through;
    margin: 0;
}

.price-features {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
    color: var(--text-soft);
}

.price-features li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-top: 2px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c7c8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center / 12px no-repeat,
        rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.price-card .btn {
    width: 100%;
    margin-top: 24px;
}

/* Price table */
.price-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.price-table-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.price-table-row:last-child {
    border-bottom: none;
}

.price-table-row:hover {
    background: var(--surface-2);
}

.price-table-row.head {
    background: rgba(99, 102, 241, 0.08);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--text-mute);
    font-weight: 600;
}

.price-table-row strong {
    color: #fff;
    font-weight: 600;
}

.price-table-row em {
    font-style: normal;
    color: var(--text-soft);
}

.price-table-row.featured {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
    border-left: 3px solid var(--accent);
}

/* ---- Cases ---- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
}

.case-thumb {
    aspect-ratio: 16/10;
    background: var(--bg-3);
    position: relative;
    overflow: hidden;
    /* HOWTO: замените CSS-фон на реальный скриншот: background-image: url('../img/cases/название.jpg'); */
}

.case-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(closest-side at 30% 30%, rgba(99, 102, 241, 0.4), transparent 60%),
        radial-gradient(closest-side at 70% 70%, rgba(139, 92, 246, 0.4), transparent 60%),
        linear-gradient(135deg, #11111a, #1a1a2a);
}

.case-thumb::after {
    content: attr(data-letter);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.04em;
}

.case-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-niche {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mute);
    margin-bottom: 8px;
}

.case-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.case-card p {
    font-size: 0.92rem;
    flex: 1;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.case-tags span {
    font-size: 0.78rem;
    padding: 4px 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-soft);
}

/* ---- Trust block ---- */
.trust {
    position: relative;
    background:
        radial-gradient(800px 400px at 50% 0%, rgba(99, 102, 241, 0.1), transparent 60%);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust-text h2 {
    margin-bottom: 22px;
}

.trust-text p {
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.trust-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.trust-stat {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
}

.trust-stat:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.3);
}

.trust-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.trust-stat-label {
    font-size: 0.92rem;
    color: var(--text-soft);
}

/* ---- Final CTA ---- */
.final-cta {
    padding: clamp(70px, 9vw, 130px) 0;
    position: relative;
    overflow: hidden;
}

.final-cta-wrap {
    text-align: center;
    background:
        radial-gradient(800px 500px at 50% 0%, rgba(99, 102, 241, 0.18), transparent 65%),
        linear-gradient(135deg, rgba(15, 15, 22, 0.9), rgba(20, 20, 30, 0.8));
    border: 1px solid var(--border-strong);
    border-radius: 28px;
    padding: clamp(50px, 7vw, 90px) clamp(24px, 5vw, 60px);
    position: relative;
    overflow: hidden;
}

.final-cta-wrap::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(99, 102, 241, 0.1) 60deg, transparent 120deg, rgba(139, 92, 246, 0.1) 200deg, transparent 280deg);
    animation: rotate 20s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.final-cta-wrap > * {
    position: relative;
}

.final-cta h2 {
    margin: 18px 0 16px;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Footer ---- */
.site-footer {
    background: rgba(7, 7, 11, 0.6);
    border-top: 1px solid var(--border);
    padding: 70px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 14px;
    font-size: 0.94rem;
}

.footer-col h4 {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mute);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col ul {
    display: grid;
    gap: 12px;
}

.footer-col a {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #fff;
}

.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-mute);
    font-size: 0.86rem;
}

/* ---- Sticky WhatsApp ---- */
.wa-sticky {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.45);
    z-index: 80;
    transition: transform 0.25s ease;
    color: #fff;
}

.wa-sticky::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.45);
    animation: ripple 1.8s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.85);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.wa-sticky:hover {
    transform: scale(1.08);
}

/* ---- Reveal on scroll ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal-stagger.in > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.54s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 0.61s; }
.reveal-stagger.in > *:nth-child(10) { transition-delay: 0.68s; }

/* ---- Blog ---- */
.article-hero {
    padding: calc(var(--header-h) + 50px) 0 50px;
}

.article-hero h1 {
    max-width: 880px;
}

.article-meta {
    display: flex;
    gap: 18px;
    font-size: 0.88rem;
    color: var(--text-mute);
    margin-top: 22px;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.article-body h2 {
    font-size: 1.7rem;
    margin: 44px 0 18px;
}

.article-body h3 {
    font-size: 1.25rem;
    margin: 30px 0 12px;
}

.article-body p,
.article-body li {
    color: var(--text-soft);
    font-size: 1.04rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 22px 0;
    padding-left: 22px;
}

.article-body ul li {
    list-style: disc;
    margin-left: 6px;
}

.article-body ol li {
    list-style: decimal;
    margin-left: 6px;
}

.article-body strong {
    color: #fff;
}

.article-body blockquote {
    margin: 28px 0;
    padding: 22px 28px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
    border-radius: 0 14px 14px 0;
    color: var(--text);
}

.article-cta {
    margin: 40px auto;
    padding: 30px;
    background:
        radial-gradient(closest-side at 0% 0%, rgba(99, 102, 241, 0.18), transparent 60%),
        var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    text-align: center;
}

.article-cta h3 {
    margin-bottom: 10px;
}

.article-cta p {
    margin-bottom: 18px;
}

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

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
}

.blog-card-tag {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c7c8ff;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 0.94rem;
    flex: 1;
}

.blog-card .card-link {
    margin-top: 18px;
}

/* ---- Contacts ---- */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.contact-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform 0.3s, border-color 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
}

.contact-card .card-icon {
    margin: 0 auto 18px;
}

.contact-card h4 {
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.contact-card a {
    display: block;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 4px;
}

/* ---- Service detail ---- */
.service-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px;
    margin-bottom: 22px;
}

.service-detail-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.service-detail-head .card-icon {
    margin: 0;
    flex-shrink: 0;
}

.service-detail-head h3 {
    margin: 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 22px;
}

.service-detail-grid h4 {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-mute);
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.service-detail-grid ul {
    display: grid;
    gap: 8px;
}

.service-detail-grid ul li {
    padding-left: 22px;
    position: relative;
    font-size: 0.94rem;
    color: var(--text-soft);
}

.service-detail-grid ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* ---- Responsive ---- */
@media (max-width: 1180px) {
    /* Header не помещается с большой CTA-кнопкой — прячем её на промежуточных размерах,
       оставляем меню + языки. Кнопка доступна в первом экране и других местах. */
    .header-cta .btn { display: none; }
    .main-nav a { padding: 7px 10px; font-size: 0.88rem; }
    .main-nav { gap: 0; }
}

@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 420px; }
    .trust-grid { grid-template-columns: 1fr; gap: 30px; }
    .founding-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 880px) {
    .main-nav,
    .header-cta .lang-switch,
    .header-cta .btn { display: none; }
    .menu-toggle { display: flex; }
    .header-cta { gap: 8px; }

    .grid-3,
    .price-grid,
    .cases-grid,
    .blog-grid,
    .includes-grid {
        grid-template-columns: 1fr;
    }

    .why-grid { grid-template-columns: 1fr; }
    .service-detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

    .price-table-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 22px;
    }

    .price-table-row.head { display: none; }

    .article-body { padding: 0 20px 50px; }
}

@media (max-width: 560px) {
    .container { padding: 0 18px; }

    .value-grid,
    .contacts-grid,
    .grid-2,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero { padding: calc(var(--header-h) + 50px) 0 60px; }

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

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

    .founding-actions .btn,
    .final-cta-actions .btn { width: 100%; }

    .founding-wrap { padding: 32px 22px; }
    .counter-card { padding: 26px 22px; }

    .wa-sticky { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 14px; }
.mb-2 { margin-bottom: 14px; }
.mt-4 { margin-top: 28px; }
.mb-4 { margin-bottom: 28px; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .hero-orb-1,
    .hero-orb-2,
    .hero-orb-3 { animation: none; }
}
