/* ========== CSS VARIABLES ========== */
:root {
    --color-bg: #EEF2F7;
    --color-text-primary: #1E293B;
    --color-text-muted: #67768E;
    --color-white: #FFFFFF;
    --color-dark: #1E293B;
    --color-accent: #2563EB;
    --color-accent-hover: #1D4ED8;
    --color-success: #10B981;
    --color-error: #EF4444;
    --button-radius: 8px;
    --container-max: 1200px;
    --shadow-card: 0 4px 16px rgba(26, 26, 46, 0.08);
    --shadow-hover: 0 20px 35px -15px rgba(0, 0, 0, 0.15);
}

html {
    overflow-x: hidden !important;
    width: 100%;
}

body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}



/* ========== ЛОГОТИП ========== */
.logo {
    display: flex;
    align-items: center;
    /* убираем белый фон и рамку */
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.logo img {
    display: block;
    height: 40px;
    width: auto;
    transition: opacity 0.2s, transform 0.3s ease;
}

.logo img:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .logo img {
        height: 32px;
    }
}


@media (max-width: 768px) {
    .logo {
        padding: 4px 12px;
    }
    
    .logo img {
        height: 32px;
    }
}



/* ==========================================
   HEADER
========================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    height: 32px;
    width: auto;
}

/* ==========================================
   DESKTOP NAVIGATION
========================================== */

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav__link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;

    transition: opacity 0.2s ease;
}

.site-nav__link:hover {
    opacity: 0.8;
}

/* ==========================================
   BURGER BUTTON
========================================== */

.burger {
    display: none;

    width: 44px;
    height: 44px;

    border: none;
    background: transparent;

    cursor: pointer;
    position: relative;
}

.burger span {
    position: absolute;
    left: 10px;

    width: 24px;
    height: 2px;

    background: #ffffff;

    transition: all 0.3s ease;
}

.burger span:nth-child(1) {
    top: 14px;
}

.burger span:nth-child(2) {
    top: 21px;
}

.burger span:nth-child(3) {
    top: 28px;
}

.burger.is-active span:nth-child(1) {
    transform: rotate(45deg);
    top: 21px;
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
}

.burger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .burger {
        display: block;
    }

    .site-nav {
        position: fixed;

        top: 72px;
        left: 0;

        width: 100%;
        height: calc(100vh - 72px);

        background: #0f172a;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 32px;

        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav__link {
        font-size: 24px;
    }
}



/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
}

.hero-animated-bg {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #0F172A, #1E293B, #0F172A, #1E293B);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Дополнительные плавающие элементы (опционально) */
.hero-animated-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-animated-bg::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1), transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.7) 100%);
    z-index: 1;
}

/* Контент поверх фона */
.hero__inner {
    position: relative;
    z-index: 2;
}

.typed-text {
    color: #60A5FA;
}

.typed-cursor {
    color: #60A5FA;
    animation: blink 0.8s infinite;
    display: inline-block;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}





.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.9) 100%);
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.15;
    color: white;
    margin-bottom: 20px;
}

.hero h1 em {
    color: #60A5FA;
    font-style: normal;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero__btns {
    display: flex;
    gap: 16px;
}

.hero__card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ========== ИСПРАВЛЕНИЕ БЕЛОГО БЛОКА НА МОБИЛКЕ ========== */
@media (max-width: 768px) {
    /* Убираем белый фон у карточки на мобилке */
    .hero__card {
        background: rgba(255, 255, 255, 0.08) !important; /* Прозрачный с оттенком */
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    
    /* Убедиться, что текст читаемый */
    .hero__card .benefit-text strong {
        color: #FFFFFF !important;
    }
    
    .hero__card .benefit-text span {
        color: #CBD5E1 !important;
    }
    
    /* Заголовок в карточке, если есть */
    .hero__card .benefits-eyebrow {
        color: rgba(255, 255, 255, 0.6) !important;
    }
}


/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--button-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-outline {
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-accent);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ========== SECTIONS ========== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(37, 99, 235, 0.1);
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 20px;
}

.section-label.light {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.section-header h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 em {
    color: var(--color-accent);
    font-style: normal;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 17px;
}

/* ========== SERVICES ========== */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.services .section-header h2 {
    color: white;
}

.services .section-header h2 em {
    color: #60A5FA;
}

.services .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.services .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

/* ========== SERVICES GRID ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;

    display: flex;
    gap: 20px;
}

.service-content {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card.featured {
    border: 2px solid #60A5FA;
    background: rgba(255, 255, 255, 0.1);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: #60A5FA;
    color: #0F172A;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 40px;
}


.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.service-desc-short {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

.service-desc-full {
    color: rgba(255,255,255,.6);
    font-size:13px;
    line-height:1.55;

    margin-bottom:0;

   /* flex:1;*/
}

.service-link {

    display:flex;
    align-items:center;
    justify-content:center;

    width:fit-content;

    min-width:130px;
    height:44px;

    margin:24px auto 0;

    padding:0 28px;

    border-radius:999px;

    border:1px solid rgba(96,165,250,.8);

    color:#60A5FA;

    background:
    linear-gradient(
        135deg,
        rgba(96,165,250,.08),
        rgba(37,99,235,.05)
    );

    text-decoration:none;

    font-size:14px;
    font-weight:600;

    letter-spacing:.2px;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;

    position:relative;
    overflow:hidden;
}


.service-link:hover {

    transform:translateY(-3px);

    background:#60A5FA;

    color:#0F172A;

    box-shadow:
    0 10px 25px rgba(96,165,250,.35);
}



.service-card.featured .service-link {

    min-width:150px;

}

.service-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(59, 130, 246, 0.15));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(59, 130, 246, 0.25));
    transform: scale(1.02);
    border-color: rgba(59, 130, 246, 0.5);
}

/* ========== mobile ========== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        padding: 24px;
        position: relative;
    }
    
    .service-icon {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    
    .service-content {
        width: 100%;
        padding-right: 60px; 
    }
    
    
    .service-desc-full {
        width: 100%;
    }
    
    .service-link {
        min-width: 120px;
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .service-card.featured .service-link {
        min-width: 130px;
        padding: 8px 28px;
    }
}




/* ========== PORTFOLIO ========== */
.portfolio {
    padding: 80px 0;
    background: var(--color-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.portfolio-trust {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-top: 8px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .portfolio-trust {
        font-size: 14px;
    }
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    box-shadow: var(--shadow-card);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* Изображение */
.portfolio-img {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #1E293B;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
}

/* Оверлей при наведении */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-text {
    font-size: 16px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.overlay-arrow {
    font-size: 20px;
    color: white;
    transition: transform 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover .overlay-arrow {
    transform: translateX(6px);
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

/* Информация */
.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.view-link {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.portfolio-item:hover .view-link {
    gap: 8px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 48px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio {
        padding: 50px 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-img {
        height: 200px;
    }
    
    .overlay-text {
        font-size: 14px;
    }
}

/* Trust badge CTA */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    padding: 16px 32px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.trust-badge:hover {
    transform: scale(1.02);
    gap: 32px;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.25);
}

.trust-stats {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.trust-number {
    font-size: 20px;
    font-weight: 800;
    color: #60A5FA;
}

.trust-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.trust-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

.trust-arrow {
    font-size: 18px;
    color: white;
    transition: transform 0.3s ease;
}

.trust-badge:hover .trust-arrow {
    transform: translateX(6px);
}

/* ========== PRICING ========== */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.price-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.price-card.featured {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-accent);
    position: relative;
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    padding: 4px 20px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.price {
    font-size: 16px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.price strong {
    font-size: 42px;
    font-weight: 700;
    color: white;
}

.price-card ul {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.price-card li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.price-card .btn {
    margin-top: auto;
    align-self: center;
}

/* ========== STATS SECTION ========== */
.stats {
    padding: 60px 0;
    background: var(--color-bg);
    color: var(--color-text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 24px;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Адаптив для планшетов */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* ========== PRINCIPLES SECTION ========== */
.principles {
    padding: 80px 0;
    background: var(--color-bg);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.principle-card {
    text-align: center;
    padding: 24px;
}

.principle-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.principle-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.principle-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ========== COMPARISON SECTION ========== */
.comparison {
    padding: 80px 0;
    background: var(--color-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid rgba(26, 26, 46, 0.1);
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
}

.comparison-table th {
    background: #F8FAFE;
    font-weight: 600;
    color: var(--color-text-primary);
}

.th-cl {
    background: #1E293B !important;
    color: white !important;
}

.cl-col {
    background: rgba(37, 99, 235, 0.05);
    font-weight: 500;
}

/* ========== CONTACT SECTION (тёмная версия) ========== */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: white;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 17px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.12);
}

.contact-item .emoji {
    font-size: 24px;
}

.contact-item a,
.contact-item span {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.contact-item a:hover {
    color: white;
}

/* Form styles */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    background-repeat: no-repeat;
}

.contact-form select option {
    background: #1E293B;
    color: white;
}
.contact-form select:focus {
    outline: none;
    border-color: #60A5FA;
    background: rgba(255, 255, 255, 0.15);
}


.contact-form input:not([type="checkbox"])::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #60A5FA;
    background: rgba(255, 255, 255, 0.15);
}

.contact-form input.valid,
.contact-form textarea.valid,
.contact-form select.valid {
    border-color: var(--color-success);
}

.contact-form input.error,
.contact-form textarea.error,
.contact-form select.error {
    border-color: var(--color-error);
}

.error-message {
    color: var(--color-error);
    font-size: 11px;
    margin-top: 6px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-consent {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.form-consent input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.form-consent label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.form-consent a {
    color: #60A5FA;
    text-decoration: none;
}

.form-consent a:hover {
    color: white;
}

/* Адаптив */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    
    .contact-form {
        padding: 24px;
    }
}

/* Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup-overlay.show {
    display: flex;
}

.popup {
    background: white;
    border-radius: 24px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: popupFadeIn 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup.success .popup-icon {
    font-size: 64px;
    color: var(--color-success);
}

.popup.error .popup-icon {
    font-size: 64px;
    color: var(--color-error);
}

.popup h3 {
    font-size: 24px;
    margin: 16px 0 8px;
}

.popup p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.popup button {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================
   FOOTER
========================================== */

.site-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 320px 180px 260px;
    justify-content: center;
    gap: 80px;

    max-width: 950px;
    margin: 0 auto 50px;
}

.footer-about h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-about p {
    line-height: 1.7;
    color: #94A3B8;
}

.footer-col {
    text-align: center;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 18px;
}

/* Navigation */

.footer-nav {
    list-style: none;
}

.footer-nav li:not(:last-child) {
    margin-bottom: 14px;
}

.footer-nav a {
    position: relative;
    display: inline-block;

    color: #94A3B8;
    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-nav a:hover {
    color: #60A5FA;
}

.footer-nav a::after {
    content: '';

    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    background: #60A5FA;
    transition: width 0.25s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

/* Contact */

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    color: #94A3B8;
    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-contact-link:hover {
    color: #60A5FA;
}

.footer-email{
    font-size:14px;
}

.footer-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-contact-link span {
    word-break: normal;
}

/* Bottom */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #94A3B8;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 992px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

    .footer-grid{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:36px;
    }

    .footer-about{
        max-width:320px;
    }

    .footer-nav{
        display:flex;
        flex-direction:column;
        gap:14px;
    }

    .footer-contact-link{
        justify-content:center;
    }

}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .portfolio-item, .price-card, .contact-item, .principle-card, .stat-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero__inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid,
    .portfolio-grid,
    .pricing-grid,
    .principles-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== PROCESS SECTION ========== */
.process {
    padding: 80px 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bg);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 26, 46, 0.06);
    
    /* Простая анимация появления (без ступенек) */
    opacity: 0;
    transform: translateY(20px);
    animation: processFadeIn 0.5s ease forwards;
}

/* Все шаги появляются одновременно (без задержек) */
.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.1s; }
.process-step:nth-child(3) { animation-delay: 0.1s; }
.process-step:nth-child(4) { animation-delay: 0.1s; }

@keyframes processFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.step-number {
    display: inline-block;
    font-size: 48px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 16px;
    font-family: monospace;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.05);
    opacity: 1;
    color: #60A5FA;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.process-step p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* Адаптив */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .process {
        padding: 60px 0;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .process-step {
        padding: 24px 20px;
    }
    
    .step-number {
        font-size: 36px;
    }
}

/* ========== CONTACT DARK VERSION ========== */
.contact-dark {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.contact-dark .contact-info h2 {
    color: white;
}

.contact-dark .contact-info > p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-dark .contact-item {
    background: rgba(255, 255, 255, 0.08);
}

.contact-dark .contact-item a,
.contact-dark .contact-item span {
    color: rgba(255, 255, 255, 0.85);
}

.contact-dark .contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.contact-dark .contact-item a:hover {
    color: white;
}

.contact-dark .contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-dark .contact-form input:not([type="checkbox"]),
.contact-dark .contact-form textarea,
.contact-dark .contact-form select {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.contact-dark .contact-form input:not([type="checkbox"])::placeholder,
.contact-dark .contact-form textarea::placeholder,
.contact-dark .contact-form select::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-dark .contact-form input:not([type="checkbox"]):focus,
.contact-dark .contact-form textarea:focus,
.contact-dark .contact-form select:focus {
    border-color: #60A5FA;
    background: rgba(255, 255, 255, 0.15);
}

.contact-dark .form-consent label {
    color: rgba(255, 255, 255, 0.7);
}

.contact-dark .form-consent a {
    color: #60A5FA;
} 
 

 /* Стиль для выпадающего списка стран */
#countryCode {
    width: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 14px 10px;
    color: white;
    cursor: pointer;
}

#countryCode option {
    background: #1E293B;
    color: white;
}

/* Убираем стандартную стрелку в некоторых браузерах (опционально) */
#countryCode {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* ========== INTL-TEL-INPUT ТЁМНАЯ ТЕМА (только убираем белое) ========== */
.iti {
    width: 100%;
}

.iti__flag-container {
    border-radius: 12px 0 0 12px;
}

.iti__selected-flag {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px 0 0 12px !important;
}

/* Выпадающий список — убираем белый фон */
.iti__country-list {
    background: #1E293B !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
}

/* Убираем белый блок (поиск) — скрываем его совсем */
/* ========== INTL-TEL-INPUT ТЁМНАЯ ТЕМА ========== */
.iti {
    width: 100%;
}

.iti__flag-container {
    border-radius: 12px 0 0 12px;
}

.iti__selected-flag {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px 0 0 12px !important;
}

/* Выпадающий список с тёмным скроллом */
.iti__country-list {
    background: #1E293B !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    scrollbar-width: auto !important;
    scrollbar-color: #60A5FA #1E293B !important;
}

/* Скролл-бар для Chrome, Edge, Safari — увеличенный */
.iti__country-list::-webkit-scrollbar {
    width: 8px !important;  /* было 6px — теперь 8px */
}

.iti__country-list::-webkit-scrollbar-track {
    background: #1E293B !important;
    border-radius: 10px !important;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: #60A5FA !important;
    border-radius: 10px !important;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: #2563EB !important;
}

/* Скрываем поле поиска */
.iti__search-container {
    display: none !important;
}

.iti__search-input {
    display: none !important;
}

/* Отдельная страна */
.iti__country {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px 12px !important;
}

.iti__country:hover {
    background: rgba(37, 99, 235, 0.2) !important;
}

/* Стрелка */
.iti__arrow {
    border-top-color: rgba(255, 255, 255, 0.6) !important;
}

/* Префикс кода */
.iti__selected-dial-code {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Убираем белую обводку */
.iti__dropdown-content {
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Разделитель */
.iti__divider {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* Убираем белые края у контейнера */
.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Length hints */
.length-hint {
    font-size: 10px;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.5);
}

.length-hint.error {
    color: var(--color-error);
}

.length-hint.warning {
    color: #F59E0B;
}

/* File upload styles */
.file-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.file-label {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.file-label:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #60A5FA;
}

.file-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
}
    
    /* ГЕРОЙ */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero__card {
        padding: 24px;
    }
    
    .hero__btns {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero__btns .btn {
        width: 100%;
        text-align: center;
    }
    
    /* УСЛУГИ */
    .services {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    /* ПРИНЦИПЫ */
    .principles {
        padding: 50px 0;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* СТАТИСТИКА */
    .stats {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* ПОРТФОЛИО */
    .portfolio {
        padding: 50px 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-number {
        font-size: 16px;
    }
    
    .trust-label {
        font-size: 10px;
    }
    
    .trust-divider {
        display: none;
    }
    
    /* ПРАЙСИНГ */
    .pricing {
        padding: 50px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .price-card {
        padding: 24px;
    }
    
    .price strong {
        font-size: 32px;
    }
    
    /* ПРОЦЕСС */
    .process {
        padding: 50px 0;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .process-step {
        padding: 20px;
    }
    
    .step-number {
        font-size: 32px;
    }
    
    .process-step h3 {
        font-size: 18px;
    }
    
    /* КОНТАКТЫ */
    .contact {
        padding: 50px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    
    .form-row .form-group {
        margin-bottom: 16px;
    }
    
    .file-upload {
        flex-direction: column;
        align-items: stretch;
    }
    
    .file-label {
        justify-content: center;
    }
    
    
    
    /* ЗАГОЛОВКИ СЕКЦИЙ */
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 15px;
    }


/* ========== TRUST BADGE mobile ========== */

.trust-arrow {
    font-size: 16px;
    color: white;
    transition: transform 0.3s ease;
}

.trust-badge:hover .trust-arrow {
    transform: translateX(4px);
}

/* Адаптив для мобилки — просто делаем меньше */
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    padding: 14px 28px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-wrap: wrap;  /* ← разрешаем перенос, это нормально */
}

.trust-stats {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.trust-number {
    font-size: 16px;
    font-weight: 800;
    color: #60A5FA;
}

.trust-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.trust-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.trust-arrow {
    font-size: 16px;
    color: white;
    transition: transform 0.3s ease;
}

/* ========== ДЕСКТОПНАЯ ВЕРСИЯ ФУТЕРА (3 колонки) ========== */
@media (min-width: 769px) {
    .footer-grid {
        display: grid !important;
        grid-template-columns: 2fr 1fr 1fr !important;
        gap: 40px;
        margin-bottom: 40px;
        text-align: left;
    }
    
    .desktop-only {
        display: block !important;
    }
    
    .mobile-only {
        display: none !important;
    }
}

/* ========== МОБИЛЬНАЯ ВЕРСИЯ ========== */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}
@media (min-width: 769px) {
    .desktop-only {
        display: grid !important;
    }

    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/* ========== HERO CARD ========== */
.hero__card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.benefits-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 24px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8);
    animation: iconPopIn 0.5s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

/* Задержки для каждой иконки */
.benefits-list li:nth-child(1) .benefit-icon { animation-delay: 0.3s; }
.benefits-list li:nth-child(2) .benefit-icon { animation-delay: 0.5s; }
.benefits-list li:nth-child(3) .benefit-icon { animation-delay: 0.7s; }
.benefits-list li:nth-child(4) .benefit-icon { animation-delay: 0.9s; }

@keyframes iconPopIn {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Анимация иконки при наведении на строку */
.benefits-list li:hover .benefit-icon {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.3);
}

/* Для разных цветов иконок — своё свечение */
.benefits-list li:hover .benefit-icon--blue {
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

.benefits-list li:hover .benefit-icon--amber {
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.benefits-list li:hover .benefit-icon--emerald {
    box-shadow: 0 6px 20px rgba(52, 211, 153, 0.4);
}

.benefits-list li:hover .benefit-icon--violet {
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    padding-left: 8px;
}

.benefit-text strong {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;  /* ← чисто белый, не прозрачный */
    line-height: 1.3;
}

.benefit-text span {
    font-size: 13px;
    color: #CBD5E1;  /* ← светлый серо-голубой, хорошо читается */
    line-height: 1.3;
}

/* Дополнительная анимация для картинок внутри иконок */
.benefit-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.benefits-list li:hover .benefit-icon img {
    transform: scale(1.05);
}

/* Мобильная версия — чуть быстрее */
@media (max-width: 768px) {
    .benefits-list li:nth-child(1) .benefit-icon { animation-delay: 0.2s; }
    .benefits-list li:nth-child(2) .benefit-icon { animation-delay: 0.35s; }
    .benefits-list li:nth-child(3) .benefit-icon { animation-delay: 0.5s; }
    .benefits-list li:nth-child(4) .benefit-icon { animation-delay: 0.65s; }
    
    .benefits-list li:hover .benefit-icon {
        transform: scale(1.05);
    }
}
/* ========== ANIMATIONS FOR BENEFITS ONLY ========== */
.benefits-list li {
    opacity: 0;
    transform: translateX(-20px);
    animation: benefitFadeIn 0.6s ease forwards;
}

.benefits-list li:nth-child(1) { animation-delay: 0.3s; }
.benefits-list li:nth-child(2) { animation-delay: 0.5s; }
.benefits-list li:nth-child(3) { animation-delay: 0.7s; }
.benefits-list li:nth-child(4) { animation-delay: 0.9s; }

@keyframes benefitFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.benefits-list li {
    transition: transform 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(8px);
}

/* ========== ЕДИНЫЙ МЕДИА-ЗАПРОС ДЛЯ МОБИЛОК ========== */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero__card {
        padding: 24px;
    }
    
    .hero__btns {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero__btns .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Services */
    .services {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    /* Principles */
    .principles {
        padding: 50px 0;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Stats */
    .stats {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Portfolio */
    .portfolio {
        padding: 50px 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-img {
        height: 200px;
    }
    
    .overlay-text {
        font-size: 14px;
    }
    
    .trust-number {
        font-size: 16px;
    }
    
    .trust-label {
        font-size: 10px;
    }
    
    .trust-divider {
        display: none;
    }
    
    /* Pricing */
    .pricing {
        padding: 50px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .price-card {
        padding: 24px;
    }
    
    .price strong {
        font-size: 32px;
    }
    
    /* Process */
    .process {
        padding: 50px 0;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .process-step {
        padding: 20px;
    }
    
    .step-number {
        font-size: 32px;
    }
    
    .process-step h3 {
        font-size: 18px;
    }
    
    /* Contact */
    .contact {
        padding: 50px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 16px;
    }
    
    .file-upload {
        flex-direction: column;
        align-items: stretch;
    }
    
    .file-label {
        justify-content: center;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .trust-badge {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 24px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    /* Benefits animation delays - mobile */
    .benefits-list li:nth-child(1) { animation-delay: 0.2s; }
    .benefits-list li:nth-child(2) { animation-delay: 0.35s; }
    .benefits-list li:nth-child(3) { animation-delay: 0.5s; }
    .benefits-list li:nth-child(4) { animation-delay: 0.65s; }
}

/* ========== ДЕСКТОП ========== */
@media (min-width: 769px) {
    .hero__inner {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .principles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        text-align: left;
    }
}

/* Accessibility - reduce motion */
@media (prefers-reduced-motion: reduce) {
    .benefits-list li {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 20%, rgba(37,99,235,.15), transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(96,165,250,.1), transparent 50%),
        #0f172a;

    z-index: 0;
}
.hero__inner,
.hero__card,
.hero__content {
    position: relative;
    z-index: 2;
}

/* Принудительно 2 колонки на десктопе */
@media (min-width: 769px) {
    .form-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
}

/* ========== PORTFOLIO DECORATIVE BACKGROUND ========== */
.portfolio {
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы — круги разного размера */
.portfolio .decor-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(30, 41, 59, 0.2));
    pointer-events: none;
    z-index: 0;
}

/* Большой блок */
.portfolio .decor-circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    animation: floatDecor1 25s ease-in-out infinite;
}

/* Средний блок */
.portfolio .decor-circle-2 {
    width: 250px;
    height: 250px;
    bottom: 50px;
    left: -80px;
    animation: floatDecor2 20s ease-in-out infinite;
}

/* Маленький блок */
.portfolio .decor-circle-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    animation: floatDecor3 18s ease-in-out infinite;
}

@keyframes floatDecor1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.05); }
}

@keyframes floatDecor2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -20px) scale(1.08); }
}

@keyframes floatDecor3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, 15px) rotate(5deg); }
}

/* На мобилке скрываем или уменьшаем */
@media (max-width: 768px) {
    .portfolio .decor-circle-1 {
        width: 200px;
        height: 200px;
        top: -80px;
        right: -60px;
    }
    
    .portfolio .decor-circle-2 {
        width: 150px;
        height: 150px;
        bottom: 30px;
        left: -50px;
    }
    
    .portfolio .decor-circle-3 {
        display: none;
    }
}
/* ========== PROCESS DECORATIVE CIRCLES ========== */
.process {
    position: relative;
    overflow: hidden;
}

/* Декоративные круги — тёмно-синие оттенки */
.process .process-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Большой тёмно-синий круг */
.process .process-circle-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
    top: -150px;
    right: -100px;
    animation: floatProcess1 25s ease-in-out infinite;
}

/* Средний круг */
.process .process-circle-2 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.03));
    bottom: 30px;
    left: -80px;
    animation: floatProcess2 20s ease-in-out infinite;
}

/* Маленький круг */
.process .process-circle-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.05));
    top: 25%;
    left: 15%;
    animation: floatProcess3 18s ease-in-out infinite;
}

/* Очень тёмный полупрозрачный круг */
.process .process-circle-4 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.05));
    bottom: -80px;
    right: 15%;
    animation: floatProcess4 22s ease-in-out infinite;
}

/* Анимации */
@keyframes floatProcess1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, 20px) scale(1.05); }
}

@keyframes floatProcess2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -25px) scale(1.08); }
}

@keyframes floatProcess3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, 15px) scale(1.1); }
}

@keyframes floatProcess4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -15px) scale(1.03); }
}

/* На мобилке уменьшаем круги */
@media (max-width: 768px) {
    .process .process-circle-1 {
        width: 200px;
        height: 200px;
        top: -80px;
        right: -60px;
    }
    
    .process .process-circle-2 {
        width: 150px;
        height: 150px;
        bottom: 20px;
        left: -50px;
    }
    
    .process .process-circle-3,
    .process .process-circle-4 {
        display: none;
    }
}

/* ========== FAQ SECTION ========== */
.faq {
    padding: 80px 0;
    background: var(--color-white);
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.faq-item {
    background: var(--color-bg);
    padding: 24px 28px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(26,26,46,0.06);
}
.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}
.faq-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .faq-item {
        padding: 20px 24px;
    }
    .faq-item h3 {
        font-size: 16px;
    }
}

/* ========== ПОЛНОЕ ИСПРАВЛЕНИЕ БЕЛОГО БЛОКА ========== */
/* Принудительно делаем hero тёмным на всех устройствах */
.hero {
    background: transparent !important;
}

.hero-animated-bg {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #0F172A, #1E293B, #0F172A, #1E293B);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.9) 100%);
    z-index: 1;
}

/* Убираем любой белый фон у карточки на всех устройствах */
.hero__card {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Мобильная версия — ещё плотнее */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px !important;
    }
    
    .hero__card {
        background: rgba(15, 23, 42, 0.75) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        margin: 0 16px;
        padding: 28px 20px !important;
    }
    
    .hero__inner {
        gap: 32px !important;
    }
    
    .hero h1 {
        font-size: 32px !important;
    }
}