:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: rgba(37, 99, 235, 0.08);
    --accent: #7c3aed;
    --accent-light: rgba(124, 58, 237, 0.08);
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --bg-alt: #f5f7fa;
    --border: #e5e7eb;
    --success: #10b981;
    --telegram: #0088cc;
    --whatsapp: #25d366;
    --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.06);
    --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.10);
    --shadow-lg: 0 16px 48px rgba(37, 99, 235, 0.14);
    --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.25);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */

.header {
    border-bottom: 1px solid rgba(99, 102, 241, 0.18);
    position: sticky;
    top: 0;
    z-index: 120;
    backdrop-filter: blur(14px);
    background:
        linear-gradient(120deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.08) 45%, rgba(16, 185, 129, 0.06) 100%),
        rgba(255, 255, 255, 0.93);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.08);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 8px;
    gap: 16px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 6;
}

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

.nav {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    border-top: 1px solid rgba(99, 102, 241, 0.12);
    padding: 6px 0 10px;
}

.nav-link {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.22s ease;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #1d4ed8;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.14), rgba(139, 92, 246, 0.14));
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    display: none;
    margin-top: 0;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.header-contacts {
    display: flex;
    gap: 8px;
}

.header-contact {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.24);
    transition: all 0.2s ease;
}

.header-contact .label {
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
}

.header-contact .value {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.15;
}

.header-contact.telegram .label,
.header-contact.telegram .value {
    color: var(--telegram);
}

.header-contact.email .label,
.header-contact.email .value {
    color: #16a34a;
}

.header-contact:hover .value {
    text-decoration: underline;
}

.header-contact:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.header-btn {
    padding: 12px 20px;
}

.mobile-menu-toggle,
.mobile-menu-overlay {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

/* ===== BUTTONS ===== */

.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    display: inline-block;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.30), 0 0 0 0 rgba(37, 99, 235, 0);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35), 0 0 20px rgba(99, 102, 241, 0.15);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.btn-glow {
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.30), 0 0 0 0 rgba(99, 102, 241, 0); }
    50% { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35), 0 0 28px rgba(99, 102, 241, 0.18); }
}

@keyframes btnBreathe {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25); }
    50% { transform: scale(1.02); box-shadow: 0 12px 32px rgba(255, 255, 255, 0.35); }
}

/* ===== HERO ===== */

.hero {
    padding: 100px 0 90px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 60%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 20px;
    color: rgba(199, 210, 254, 0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}

.hero .btn-primary {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), 0 0 20px rgba(139, 92, 246, 0.2);
}

.hero .btn-primary:hover {
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.5), 0 0 30px rgba(139, 92, 246, 0.3);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(8px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== SECTIONS ===== */

.section {
    padding: 80px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-alt);
}

.section-gradient {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 48px;
}

/* ===== GRID & CARDS ===== */

.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.card:has(.card-img) {
    padding: 0;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.15);
}

.card-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.card-body {
    padding: 32px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-light);
    line-height: 1.6;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    color: var(--primary);
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.features-list {
    list-style: none;
    margin: 24px 0;
}

.features-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

/* ===== PROCESS / TIMELINE ===== */

.process {
    background: var(--bg-alt);
}

.process-steps {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    opacity: 0.2;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
    position: relative;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.process-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.15);
}

.process-icon svg {
    width: 28px;
    height: 28px;
}

.process-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
    position: relative;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.process-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.15);
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-light);
    font-size: 15px;
}

/* ===== CTA SECTION ===== */

.cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #4338ca 40%, #6d28d9 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: btnBreathe 4s ease-in-out infinite;
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    animation: none;
}

/* ===== TRUST SECTION ===== */

.trust-section {
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.trust-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.trust-card .card-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
}

.trust-card h3 {
    transition: color 0.2s ease;
}

.trust-card:hover h3 {
    color: var(--primary);
}

/* ===== FOOTER ===== */

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #1e293b 100%);
    color: white;
    padding: 70px 0 24px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    position: relative;
}

.footer-col + .footer-col::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
}

.footer h3 {
    margin-bottom: 16px;
    font-size: 18px;
    color: white;
}

.footer h3 a {
    color: white;
    text-decoration: none;
}

.footer h3 a:hover {
    color: #93c5fd;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #93c5fd;
}

.footer p {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    line-height: 1.6;
}

.footer-contacts a {
    color: #93c5fd;
    font-weight: 500;
}

.footer-contacts a:hover {
    color: #bfdbfe;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.45);
    font-size: 14px;
}

/* ===== SCROLL ANIMATIONS ===== */

.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ===== MESSENGER BUTTONS ===== */

.messenger-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 50;
}

.messenger-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.messenger-btn svg {
    width: 28px;
    height: 28px;
}

.messenger-btn.telegram {
    background: var(--telegram);
    color: white;
}

.messenger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===== BREADCRUMBS ===== */

.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* ===== SERVICE & PAGE HEROES ===== */

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text);
}

.service-hero {
    padding: 60px 0;
    text-align: center;
}

.service-hero h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.contacts-hero,
.about-hero,
.landing-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 40%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
}

.contacts-hero::before,
.about-hero::before,
.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(99, 102, 241, 0.06) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
}

.contacts-hero::after,
.about-hero::after,
.landing-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contacts-hero h1,
.about-hero h1,
.landing-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.contacts-hero__subtitle,
.about-hero .subtitle,
.landing-hero .subtitle {
    font-size: 19px;
    color: var(--text-light);
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

/* ===== ERROR PAGES ===== */

.error-page {
    padding: 80px 0 120px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.error-code {
    display: block;
    font-size: 140px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
    margin-bottom: -20px;
}

.error-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.error-text {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PROBLEMS ===== */

.problems {
    background: var(--bg-light);
}

.problems-grid {
    display: grid;
    gap: 14px;
}

.problem-item {
    background: var(--bg);
    padding: 18px 22px 18px 52px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.problem-item::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.8;
}

.problem-item:hover {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
}

.problem-item strong {
    color: var(--text);
}

.service-content .features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.service-content .features-list li {
    padding: 16px 20px 16px 52px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.service-content .features-list li::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    font-weight: 700;
    font-size: 13px;
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
}

.service-content .features-list li:hover {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
}

/* ===== CONTACTS PAGE ===== */

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: flex-start;
}

.contacts-column h2 {
    margin-bottom: 20px;
}

.contacts-channels {
    display: grid;
    gap: 20px;
    margin: 28px 0;
}

.contacts-channel__label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contacts-channel__value {
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.contacts-channel__value[href^="https://t.me"] {
    color: var(--telegram);
}

.contacts-channel__value[href^="mailto"] {
    color: var(--text);
}

.contacts-channel__value:hover {
    text-decoration: underline;
}

.contacts-info-card {
    padding: 24px 22px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 24px;
}

.contacts-info-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.contacts-info-card p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-form {
    margin-top: 20px;
}

.contacts-form-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
}

.contacts-form-card h2 {
    margin-bottom: 16px;
}

.form-field {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
}

.form-checkbox input {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.contact-form__submit {
    width: 100%;
    margin-top: 4px;
}

.form-error-message {
    margin-top: 14px;
    display: none;
    font-size: 14px;
}

.contacts-geo {
    background: var(--bg-light);
}

.contacts-geo__text {
    font-size: 18px;
    text-align: center;
    margin: 24px auto 0;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .contacts-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ===== ARTICLE ===== */

.article {
    padding-bottom: 80px;
}

.article-header {
    padding: 48px 0 32px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
}

.article-date {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.article-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    max-width: 800px;
}

.article-body {
    padding-top: 40px;
}

.article-content {
    line-height: 1.75;
    color: var(--text);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 48px 0 28px;
    color: var(--text);
}

.article-content h2 + p,
.article-content h3 + p {
    margin-top: 0;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 20px;
    color: var(--text);
}

.article-content ul,
.article-content ol {
    margin: 20px 0 24px;
    padding-left: 32px;
    margin-left: 20px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content li::marker {
    color: var(--primary);
}

.article-content pre {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--bg-light);
    color: var(--text);
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid var(--border);
    user-select: none;
}

.article-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    color: inherit;
}

.article-content code {
    background: var(--bg-light);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.9em;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    color: var(--primary);
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-cta {
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 36px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

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

.article-cta .btn {
    margin-top: 12px;
}

/* ===== ABOUT PAGE ===== */

.about-intro {
    font-size: 18px;
    line-height: 1.8;
    margin: 24px 0;
}

.about-subtitle {
    margin-top: 40px;
    margin-bottom: 16px;
}

.about-blog-block {
    text-align: center;
}

.about-blog-block .about-intro {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 28px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 18px;
    }
}

/* ===== FAQ ===== */

.faq {
    background: var(--bg-light);
}

.faq-item {
    background: white;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.contacts-faq {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.contacts-faq__header {
    text-align: center;
    margin-bottom: 32px;
}

.contacts-faq__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.contacts-faq__header h2 {
    margin-bottom: 0;
}

.contacts-faq__list {
    display: grid;
    gap: 16px;
}

.contacts-faq__item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 22px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.contacts-faq__item:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contacts-faq__num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 2px;
}

.contacts-faq__content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.contacts-faq__content p {
    margin: 0;
    color: var(--text-light);
}

/* ===== PRICING ===== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    border: 2px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg);
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.25);
}

.pricing-card--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-card__badge {
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    text-align: center;
}

.pricing-card__header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border);
}

.pricing-card--featured .pricing-card__header {
    border-bottom-color: rgba(37, 99, 235, 0.15);
}

.pricing-card__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.pricing-card__price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.pricing-card__price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 4px;
}

.pricing-card__body {
    padding: 24px 28px 28px;
}

.pricing-card__desc {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.pricing-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-card__list li {
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    color: var(--text);
}

.pricing-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.pricing-card__btn {
    width: 100%;
    justify-content: center;
}

/* ===== SERVICES GRID ===== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
}

.service-card h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
}

.service-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 4px;
}

.service-card:hover .service-card__link {
    text-decoration: underline;
}

/* ===== BLOG PAGE ===== */

.blog-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 40%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(99, 102, 241, 0.06) 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
}

.blog-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.blog-hero__subtitle {
    font-size: 19px;
    color: var(--text-light);
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.blog-filter {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.blog-filter:hover {
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
}

.blog-filter.is-active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.12);
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.blog-card__meta time {
    font-size: 13px;
    color: var(--text-light);
}

.blog-card__category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 999px;
}

.blog-card__title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--text);
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card__title {
    color: var(--primary);
}

.blog-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    flex: 1;
    margin-bottom: 16px;
}

.blog-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.blog-card__tag {
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg-alt);
    padding: 3px 8px;
    border-radius: 6px;
}

.blog-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
}

.blog-card:hover .blog-card__link {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 50px 0 40px;
    }

    .blog-hero h1 {
        font-size: 30px;
    }

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

    .blog-filters {
        gap: 8px;
    }

    .blog-filter {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ===== SERVICES PAGE ===== */

.services-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 40%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 75%);
}

.services-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.services-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.services-hero__subtitle {
    font-size: 19px;
    color: var(--text-light);
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

.services-main-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

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

.service-featured-card {
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text);
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px 4px 0 0;
}

.service-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.15);
}

.service-featured-card__icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.service-featured-card__icon svg {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
}

.service-featured-card__content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-featured-card__content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.65;
    flex: 1;
}

.service-featured-card__link {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.2s ease;
}

.service-featured-card:hover .service-featured-card__link {
    text-decoration: underline;
}

.services-process {
    background: var(--bg-alt);
}

@media (max-width: 992px) {
    .services-featured {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-featured-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        padding: 28px 24px;
    }

    .service-featured-card__icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 50px 0 40px;
    }

    .services-hero h1 {
        font-size: 30px;
    }

    .service-featured-card {
        flex-direction: column;
    }

    .service-featured-card__icon {
        width: 52px;
        height: 52px;
        margin-bottom: 16px;
    }

    .service-featured-card__icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ===== CASES PAGE ===== */

.cases-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 40%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
}

.cases-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(99, 102, 241, 0.06) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
}

.cases-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cases-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.cases-hero__subtitle {
    font-size: 19px;
    color: var(--text-light);
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

.cases-stats-section {
    padding: 0;
    margin-top: -32px;
    position: relative;
    z-index: 3;
}

.cases-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.cases-stat {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cases-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cases-stat__number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 6px;
}

.cases-stat__label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.cases-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.cases-filter {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cases-filter:hover {
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
}

.cases-filter.is-active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.case-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

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

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.12);
}

.case-card__image {
    position: relative;
    overflow: hidden;
}

.case-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover .case-card__image img {
    transform: scale(1.05);
}

.case-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.08) 100%);
    transition: opacity 0.3s ease;
}

.case-card:hover .case-card__image::after {
    opacity: 0.6;
}

.case-card__body {
    padding: 28px;
}

.case-card__body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text);
}

.case-card__detail {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.case-card__detail:last-child {
    margin-bottom: 0;
}

.case-card__detail svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.case-card__detail p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.case-card__detail p strong {
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 768px) {
    .cases-hero {
        padding: 50px 0 40px;
    }

    .cases-hero h1 {
        font-size: 30px;
    }

    .cases-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cases-stat {
        padding: 20px 14px;
    }

    .cases-stat__number {
        font-size: 26px;
    }

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

    .cases-filters {
        gap: 8px;
    }

    .cases-filter {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ===== MODAL (general fix) ===== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
    .header-top {
        gap: 12px;
    }

    .logo-img {
        width: 178px;
    }

    .header-contact .value {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 992px) {
    .header-top {
        position: relative;
        padding: 10px 0;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(99, 102, 241, 0.26);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.86);
        cursor: pointer;
        padding: 0 11px;
        position: relative;
        z-index: 6;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #1e3a8a;
        border-radius: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 88vw);
        height: 100vh;
        background: linear-gradient(150deg, #eff6ff 0%, #ffffff 45%, #eef2ff 100%);
        box-shadow: -12px 0 28px rgba(15, 23, 42, 0.18);
        padding: 90px 20px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        transform: translateX(102%);
        transition: transform 0.24s ease;
        z-index: 5;
        overflow-y: auto;
        border-top: none;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 4;
    }

    .mobile-menu-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 11px 14px;
        font-size: 15px;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        position: static;
        margin-top: 8px;
        box-shadow: none;
        border-color: rgba(99, 102, 241, 0.26);
        background: rgba(255, 255, 255, 0.76);
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .process-steps::before {
        display: none;
    }

    .footer-col + .footer-col::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo-img {
        width: 160px;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: min(100%, 320px);
        text-align: center;
    }

    .error-code {
        font-size: 100px;
    }

    .error-content h1 {
        font-size: 28px;
    }

    .error-text {
        font-size: 16px;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: min(100%, 280px);
        text-align: center;
    }

    .messenger-buttons {
        bottom: 16px;
        right: 16px;
    }

    .contacts-faq__item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px;
    }

    .contacts-faq__num {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .contacts-faq__content h3 {
        font-size: 18px;
    }
}
