/* ==========================================
   PREMIUM TECHNOLOGICAL MINIMALISM
   F.W.A. - Fav Web Agency
   ========================================== */

:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: #141414;
    --accent-primary: #1E90FF;
    --accent-soft: #4FA8FF;
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(20, 20, 20, 0.4);
    
    --transition-fast: 0.3s ease;
    --transition-normal: 0.6s ease;
    --transition-slow: 1s ease;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ========== HEADER / NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 168, 255, 0.15);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(30, 144, 255, 0.05);
    transition: all 0.3s ease;
}

.header:hover {
    background: rgba(10, 10, 10, 0.7);
    border-bottom-color: rgba(79, 168, 255, 0.25);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-svg {
    display: block;
    height: 28px;
    width: auto;
    transition: opacity 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 0 0px rgba(79, 168, 255, 0));
}

.logo:hover .logo-svg {
    opacity: 0.85;
    filter: drop-shadow(0 0 8px rgba(79, 168, 255, 0.45));
}

.nav-menu {
    flex: 1;
    margin: 0 var(--spacing-xxl);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    padding-bottom: 4px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-soft));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(79, 168, 255, 0.3);
    transition: width 0.4s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: var(--spacing-xs);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 144, 255, 0.2);
    border-radius: 6px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.lang-btn:hover::before,
.lang-btn.active::before {
    transform: scaleX(1);
}

.lang-btn:hover,
.lang-btn.active {
    background: rgba(30, 144, 255, 0.2);
    color: var(--accent-primary);
    box-shadow: inset 0 0 10px rgba(30, 144, 255, 0.2);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .lang-switcher {
        gap: 4px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    transition: background 0.08s ease-out;
}

.hero-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    transition: background 0.15s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 144, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(79, 168, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 10;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-subtitle {
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-soft));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: 2px solid var(--accent-primary);
}

.btn-primary:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(79, 168, 255, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(30, 144, 255, 0.15);
    border-color: var(--accent-soft);
    color: var(--accent-soft);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(30, 144, 255, 0.3);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1rem;
}

.hero-right {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Decorative orbs */
.hero-right::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, rgba(79, 168, 255, 0.15), rgba(30, 144, 255, 0.05));
    border-radius: 50%;
    top: -50px;
    right: -100px;
    filter: blur(40px);
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.hero-right::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at 70% 70%, rgba(30, 144, 255, 0.1), rgba(79, 168, 255, 0.03));
    border-radius: 50%;
    bottom: 0;
    left: 50px;
    filter: blur(50px);
    animation: float 25s ease-in-out infinite reverse;
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-right {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        min-height: auto;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========== METRICS SECTION ========== */
.metrics {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

/* subtle dot-grid background texture */
.metrics::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(79,168,255,0.18) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

.metrics .container {
    position: relative;
    z-index: 1;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

/* ── Card ── */
.metric-card {
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 20px;
    background: linear-gradient(145deg,
        rgba(8, 12, 28, 0.92) 0%,
        rgba(12, 18, 42, 0.88) 100%);
    position: relative;
    overflow: hidden;
    cursor: default;
    will-change: transform;
    transition:
        transform  0.15s ease,
        box-shadow 0.15s ease;
    isolation: isolate;
}

/* gradient border */
.metric-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        145deg,
        rgba(79, 168, 255, 0.5),
        rgba(30, 144, 255, 0.12) 50%,
        rgba(79, 168, 255, 0.4)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.55;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: -1;
}

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

/* top edge flash on hover */
.metric-card::after {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,168,255,0.9), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease-out;
    pointer-events: none;
}

.metric-card:hover::after { transform: scaleX(1); }

/* mouse spotlight (populated by JS) */
.metric-spotlight {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.metric-card:hover .metric-spotlight { opacity: 1; }

/* ── Icon badge ── */
.metric-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg,
        rgba(30,144,255,0.22),
        rgba(79,168,255,0.1)
    );
    border: 1px solid rgba(79,168,255,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
    transition: background 0.15s ease, border-color 0.15s ease,
                box-shadow 0.15s ease, transform 0.15s ease;
}

.metric-icon-accent {
    background: linear-gradient(135deg,
        rgba(30,144,255,0.32),
        rgba(120,200,255,0.12)
    );
    border-color: rgba(120,200,255,0.35);
}

.metric-icon {
    width: 22px;
    height: 22px;
    color: rgba(79,168,255,0.9);
    transition: color 0.12s ease;
}

.metric-icon-accent .metric-icon {
    color: rgba(140,210,255,0.95);
}

.metric-card:hover .metric-icon-wrap {
    background: linear-gradient(135deg,
        rgba(30,144,255,0.4),
        rgba(79,168,255,0.2)
    );
    border-color: rgba(79,168,255,0.65);
    box-shadow: 0 0 18px rgba(30,144,255,0.25);
    transform: scale(1.08) translateY(-1px);
}

.metric-card:hover .metric-icon {
    color: #fff;
}

/* ── Number ── */
.metric-number {
    font-size: clamp(2.4rem, 5.5vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-soft) 60%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.plus {
    margin-left: 2px;
    font-size: 0.7em;
    opacity: 0.85;
}

/* ── Labels ── */
.metric-label {
    color: rgba(255,255,255,0.88);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.metric-sub {
    color: rgba(184,184,184,0.6);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-md);
}

/* ── Progress bar ── */
.metric-progress {
    position: relative;
    z-index: 1;
    height: 2px;
    background: rgba(79,168,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.metric-progress-fill {
    height: 100%;
    width: var(--prog, 70%);
    background: linear-gradient(90deg,
        var(--accent-primary),
        var(--accent-soft) 60%,
        rgba(120,200,255,0.8)
    );
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    /* animated when card is revealed */
    transition: none;
    box-shadow: 0 0 8px rgba(79,168,255,0.4);
}

.metric-card.revealed .metric-progress-fill {
    animation: metricProgress 0.6s ease-out forwards;
}

@keyframes metricProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* stagger per card — tight, snappy */
.metric-card:nth-child(1).revealed .metric-progress-fill { animation-delay: 0.1s; }
.metric-card:nth-child(2).revealed .metric-progress-fill { animation-delay: 0.2s; }
.metric-card:nth-child(3).revealed .metric-progress-fill { animation-delay: 0.3s; }
.metric-card:nth-child(4).revealed .metric-progress-fill { animation-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
    .metric-number {
        font-size: 2rem;
    }
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Canvas sits behind all content */
.about-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;  /* canvas itself blocks no clicks */
    z-index: 0;
    display: block;
}

/* Re-enable pointer events on the content layer */
.about-container {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    cursor: default;
}

/* Re-enable text selection inside about */
.about-container * { cursor: auto; }
.about-container .btn,
.about-container button,
.about-container a { cursor: pointer; }

/* Static CSS corner blobs for depth (below canvas z-index) */
.about::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
        rgba(30, 144, 255, 0.07) 0%,
        rgba(79, 168, 255, 0.03) 40%,
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: aboutBlobPulse 8s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle,
        rgba(79, 168, 255, 0.06) 0%,
        rgba(30, 144, 255, 0.02) 40%,
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: aboutBlobPulse 10s ease-in-out 2s infinite reverse;
}

@keyframes aboutBlobPulse {
    0%, 100% { transform: scale(1);    opacity: 0.8; }
    50%       { transform: scale(1.15); opacity: 1;   }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.section-title {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

/* White title for map section */
.map-section .section-title {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-soft));
    border-radius: 2px;
}

.about-description {
    margin-bottom: var(--spacing-lg);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-left: 3px solid transparent;
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.05), transparent);
    border-radius: 4px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-soft));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.feature-item:hover {
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.12), transparent);
    border-left-color: var(--accent-soft);
    padding-left: var(--spacing-lg);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    color: var(--accent-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-text {
    color: var(--text-primary);
}

.about-visual {
    position: relative;
    height: 460px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.visual-block {
    border-radius: 14px;
    border: 1px solid rgba(79, 168, 255, 0.2);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background: #0a0a0a;
}

.visual-block:hover {
    border-color: rgba(79, 168, 255, 0.55);
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(30, 144, 255, 0.2);
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.visual-block:hover .visual-img {
    transform: scale(1.07);
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 14px 14px;
    background: linear-gradient(to top,
        rgba(4, 8, 20, 0.97) 0%,
        rgba(4, 8, 20, 0.65) 50%,
        transparent 100%);
    display: flex;
    align-items: flex-end;
    gap: 10px;
    transition: padding 0.4s ease;
}

.visual-block:hover .visual-overlay {
    padding-bottom: 18px;
}

.visual-tag-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-soft);
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 0 12px rgba(79, 168, 255, 0.6);
}

.visual-tag-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

.visual-block-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.visual-block-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.visual-block-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

@media (max-width: 768px) {
    .about-visual {
        height: 360px;
    }
}

/* Popup branches (chips) */
.popup-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.popup-branch-chip {
    font-size: 0.76rem;
    color: rgba(79, 168, 255, 0.95);
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(79, 168, 255, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background 0.2s ease;
}

.popup-branch-chip:hover {
    background: rgba(30, 144, 255, 0.2);
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        height: 250px;
    }
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

/* ========== MAP SECTION ========== */
.map-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Animated background elements for map section */
.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(800px at 10% 20%, rgba(30, 144, 255, 0.08), transparent 80%),
        radial-gradient(600px at 90% 80%, rgba(79, 168, 255, 0.06), transparent 80%);
    pointer-events: none;
    z-index: 0;
    animation: auroraFlow 8s ease-in-out infinite;
}

.map-section .container {
    position: relative;
    z-index: 1;
}

.map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(30, 144, 255, 0.1) 100%);
    border: 1.5px solid rgba(79, 168, 255, 0.35);
    padding: var(--spacing-xl) var(--spacing-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        inset 0 1px 4px rgba(255, 255, 255, 0.15),
        inset 0 -1px 4px rgba(0, 0, 0, 0.4),
        0 20px 60px rgba(30, 144, 255, 0.2),
        0 0 60px rgba(79, 168, 255, 0.15);
    transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 620px;
    will-change: box-shadow, border-color;
}

.map-wrapper:hover {
    border-color: rgba(79, 168, 255, 0.6);
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.6) 0%, rgba(30, 144, 255, 0.15) 100%);
    box-shadow: 
        inset 0 1px 4px rgba(255, 255, 255, 0.2),
        inset 0 -1px 4px rgba(0, 0, 0, 0.3),
        0 30px 80px rgba(30, 144, 255, 0.3),
        0 0 70px rgba(79, 168, 255, 0.25);
}

.experience-map {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-height: 540px;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4))
            drop-shadow(0 0 30px rgba(30, 144, 255, 0.15));
    will-change: filter;
    transition: filter 0.3s ease;
}

/* SVG Interactive Elements */
.nodes-group .map-node {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nodes-group .map-node:hover {
    filter: drop-shadow(0 0 15px rgba(79, 168, 255, 0.8));
}

.connection-line {
    transition: all 0.3s ease-out;
}

.map-popup {
    position: fixed;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.99) 0%, rgba(15, 15, 15, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1.5px solid rgba(79, 168, 255, 0.5);
    border-radius: 16px;
    padding: var(--spacing-lg) var(--spacing-xl);
    z-index: 2000;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(30, 144, 255, 0.35),
        inset 0 1px 3px rgba(255, 255, 255, 0.15);
    max-width: 380px;
    min-width: 300px;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

.map-popup.hidden {
    display: none;
}

.map-popup.hiding {
    animation: popupHide 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes popupHide {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.93); }
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    z-index: 10;
}

.popup-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.popup-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(79, 168, 255, 0.9);
    font-weight: 600;
}

.popup-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.popup-content h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: slideInLeft 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.popup-category {
    color: #ffffff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    padding: 6px 12px;
    background: rgba(30, 144, 255, 0.15);
    border-left: 3px solid rgba(79, 168, 255, 0.8);
    padding-left: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.popup-description {
    color: #e8e8e8;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.popup-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.3), rgba(79, 168, 255, 0.2));
    border: 1px solid rgba(79, 168, 255, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-top: var(--spacing-md);
}

.popup-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-soft));
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-link:hover::after {
    width: 100%;
}

.popup-link:hover {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.5), rgba(79, 168, 255, 0.3));
    border: 1px solid rgba(79, 168, 255, 0.8);
    box-shadow: 0 0 15px rgba(30, 144, 255, 0.4);
    transform: translateY(-2px);
}

.popup-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .map-wrapper {
        padding: var(--spacing-lg) var(--spacing-md);
        min-height: 500px;
    }
    
    .experience-map {
        min-height: 400px;
    }
    
    .map-popup {
        max-width: 300px;
        min-width: 250px;
    }
}

/* ========== ITALY EXPANSION ========== */
.italy-expansion {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(10,18,40,0.6) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* ambient orbs */
.italy-expansion::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(30,144,255,0.07) 0%, transparent 65%);
    pointer-events: none;
    animation: float 22s ease-in-out infinite;
}

.italy-expansion::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79,168,255,0.05) 0%, transparent 65%);
    pointer-events: none;
    animation: float 28s ease-in-out infinite reverse;
}

/* ── Two-column layout ── */
.italy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ── Left column ── */
.italy-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.italy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(79,168,255,0.85);
}

.italy-eyebrow-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(30,144,255,0.6);
    animation: breathing 2s ease-in-out infinite;
}

.italy-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.italy-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
    max-width: 520px;
}

/* ── Journey visualization RU → IT ── */
.italy-journey {
    display: flex;
    align-items: center;
    gap: 0;
    margin: var(--spacing-sm) 0;
    flex-wrap: nowrap;
}

.journey-node {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(79,168,255,0.45);
    padding: 4px 9px;
    border: 1px solid rgba(79,168,255,0.18);
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.journey-node-it {
    color: rgba(79,168,255,1);
    border-color: rgba(79,168,255,0.65);
    background: rgba(30,144,255,0.12);
    box-shadow: 0 0 14px rgba(30,144,255,0.25);
    font-size: 0.74rem;
    animation: breathing 2.5s ease-in-out infinite;
}

/* connecting line segment */
.journey-seg {
    flex: 1;
    height: 1px;
    background: rgba(79,168,255,0.18);
    position: relative;
    min-width: 12px;
    overflow: hidden;
}

/* animated traveler dot */
.journey-traveler {
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: rgba(79,168,255,0.9);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(30,144,255,0.8);
    animation: journeyTravel 2.4s linear infinite;
}

@keyframes journeyTravel {
    0%   { left: -6px;     opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { left: calc(100% + 6px); opacity: 0; }
}

/* ── Right column: sectors ── */
.italy-sectors {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sectors-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(79,168,255,0.6);
    margin: 0;
}

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

/* ── Sector card ── */
.sector-card {
    padding: 18px 12px 14px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(8,12,28,0.9), rgba(12,18,42,0.85));
    border: 1px solid rgba(79,168,255,0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: default;
    position: relative;
    overflow: hidden;
    transition:
        transform  0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

/* top flash line on hover */
.sector-card::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,168,255,0.8), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.sector-card:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(79,168,255,0.48); box-shadow: 0 14px 35px rgba(0,0,0,0.4), 0 0 20px rgba(30,144,255,0.14); }
.sector-card:hover::before { transform: scaleX(1); }

.sector-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(30,144,255,0.2), rgba(79,168,255,0.08));
    border: 1px solid rgba(79,168,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sector-icon {
    width: 20px;
    height: 20px;
    color: rgba(79,168,255,0.85);
    transition: color 0.18s ease;
}

.sector-card:hover .sector-icon-wrap {
    background: linear-gradient(135deg, rgba(30,144,255,0.38), rgba(79,168,255,0.16));
    border-color: rgba(79,168,255,0.55);
    box-shadow: 0 0 16px rgba(30,144,255,0.22);
    transform: scale(1.08);
}

.sector-card:hover .sector-icon { color: #fff; }

.sector-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.18s ease;
}

.sector-card:hover .sector-label { color: rgba(255,255,255,0.92); }

/* ── Badge at bottom of right column ── */
.italy-badge-wrap {
    display: flex;
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(30,144,255,0.18), rgba(79,168,255,0.1));
    color: rgba(79,168,255,1);
    border: 1px solid rgba(79,168,255,0.4);
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    animation: breathing 3s ease-in-out infinite;
    box-shadow: 0 0 18px rgba(30,144,255,0.2);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .italy-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    .italy-description { max-width: 100%; }
}

@media (max-width: 480px) {
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .journey-node { font-size: 0.6rem; padding: 3px 6px; }
}

/* ========== CASES SECTION ========== */
.cases {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    z-index: 2;
}

/* ── Section header ── */
.cases-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.cases-header .section-title { margin-bottom: 8px; }

.cases-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.cases-cta-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ── Editorial grid ── */
.cases-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* Featured card: spans 2 columns */
.case-item.case-featured { grid-column: span 2; }
/* Wide card: spans full row */
.case-item.case-wide     { grid-column: 1 / -1; }

/* ── Card base ── */
.case-item {
    border-radius: 16px;
    background: rgba(10,14,28,0.9);
    border: 1px solid rgba(79,168,255,0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform  0.3s cubic-bezier(0.25,0.46,0.45,0.94),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
    will-change: transform;
}

.case-item:hover {
    transform: translateY(-8px);
    border-color: rgba(79,168,255,0.42);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 28px rgba(30,144,255,0.14);
}

/* Wide card is horizontal on desktop */
.case-wide {
    flex-direction: row;
}

.case-wide .case-visual {
    width: 38%;
    height: auto;
    flex-shrink: 0;
}

.case-wide .case-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── Visual / image area ── */
.case-visual {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.case-featured .case-visual { height: 240px; }

/* dot grid overlay */
.case-visual-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

/* bottom fade so body merges cleanly */
.case-visual::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(10,14,28,0.85), transparent);
    pointer-events: none;
}

/* card number */
.case-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.25);
    font-variant-numeric: tabular-nums;
}

/* floating industry icon */
.case-vis-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    width: 52px;
    height: 52px;
    opacity: 0.55;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-featured .case-vis-icon { width: 64px; height: 64px; }

.case-item:hover .case-vis-icon {
    opacity: 0.85;
    transform: translate(-50%, -65%);
}

/* stat block over visual */
.case-stat-block {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.case-stat-val {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--ca, rgba(79,168,255,0.9));
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 20px var(--ca, rgba(79,168,255,0.5));
}

.case-featured .case-stat-val { font-size: 3rem; }

.case-stat-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.case-stat-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.case-stat-period {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

/* ── Content body ── */
.case-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.case-tags {
    display: flex;
    align-items: center;
    gap: 7px;
}

.case-cat {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(79,168,255,0.75);
}

.case-pkg {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(30,144,255,0.1);
    border: 1px solid rgba(79,168,255,0.22);
    color: var(--ca, rgba(79,168,255,0.8));
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.case-item:hover .case-pkg {
    background: rgba(30,144,255,0.2);
    border-color: rgba(79,168,255,0.45);
}

.case-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    line-height: 1.3;
    letter-spacing: 0.01em;
    margin: 0;
}

.case-featured .case-title { font-size: 1.15rem; }

.case-desc {
    font-size: 0.8rem;
    color: rgba(184,184,184,0.65);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.case-featured .case-desc,
.case-wide .case-desc {
    -webkit-line-clamp: 3;
}

/* CTA button */
.case-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(30,144,255,0.1);
    border: 1px solid rgba(79,168,255,0.22);
    border-radius: 8px;
    color: rgba(79,168,255,0.85);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: 4px;
}

.case-cta:hover {
    background: rgba(30,144,255,0.22);
    border-color: rgba(79,168,255,0.5);
    color: #fff;
    transform: translateX(3px);
}

/* ── Stagger reveal ── */
.case-item:nth-child(1) { transition-delay: 0s;    }
.case-item:nth-child(2) { transition-delay: 0.07s; }
.case-item:nth-child(3) { transition-delay: 0.14s; }
.case-item:nth-child(4) { transition-delay: 0.07s; }
.case-item:nth-child(5) { transition-delay: 0.14s; }
.case-item:nth-child(6) { transition-delay: 0.21s; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .cases-board {
        grid-template-columns: repeat(2, 1fr);
    }
    .case-item.case-featured { grid-column: span 2; }
    .case-item.case-wide     { grid-column: span 2; flex-direction: column; }
    .case-wide .case-visual  { width: 100%; height: 180px; }
}

@media (max-width: 600px) {
    .cases-board     { grid-template-columns: 1fr; }
    .case-item.case-featured,
    .case-item.case-wide { grid-column: span 1; }
    .cases-header    { flex-direction: column; align-items: flex-start; }
    .cases-cta-btn   { width: 100%; }
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Section-level ambient orbs */
.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,144,255,0.09) 0%, transparent 68%);
    pointer-events: none;
    animation: float 22s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79,168,255,0.07) 0%, transparent 68%);
    pointer-events: none;
    animation: float 28s ease-in-out infinite reverse;
}

/* ── Main card ── */
.cta-content {
    max-width: 740px;
    margin: 0 auto;
    padding: 56px 48px;
    border-radius: 24px;
    background: linear-gradient(145deg,
        rgba(8,12,28,0.96) 0%,
        rgba(12,18,42,0.92) 100%);
    border: 1px solid rgba(79,168,255,0.22);
    position: relative;
    z-index: 2;
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(79,168,255,0.06),
        0 20px 60px rgba(0,0,0,0.55),
        0 0 80px rgba(30,144,255,0.1);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    isolation: isolate;
}

.cta-content:hover {
    border-color: rgba(79,168,255,0.42);
    box-shadow:
        0 0 0 1px rgba(79,168,255,0.1),
        0 30px 80px rgba(0,0,0,0.6),
        0 0 100px rgba(30,144,255,0.18);
}

/* dot grid inside card */
.cta-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(79,168,255,0.14) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    opacity: 0.5;
}

/* decorative glow rings */
.cta-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    border: 1px solid rgba(79,168,255,0.1);
}

.cta-ring-1 {
    width: 480px;
    height: 480px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ctaRingPulse 5s ease-in-out infinite;
}

.cta-ring-2 {
    width: 340px;
    height: 340px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(79,168,255,0.14);
    animation: ctaRingPulse 5s ease-in-out 1.5s infinite;
}

@keyframes ctaRingPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1);   }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.04); }
}

/* Top edge glow line */
.cta-content::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,168,255,0.7), transparent);
    pointer-events: none;
    z-index: 1;
}

/* ── Status badge ── */
.cta-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(0,200,80,0.1);
    border: 1px solid rgba(0,200,80,0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(80,220,120,0.9);
    margin-bottom: var(--spacing-md);
}

.cta-badge-dot {
    width: 7px;
    height: 7px;
    background: rgba(60,220,100,1);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(60,220,100,0.7);
    animation: breathing 2s ease-in-out infinite;
}

/* ── Title — NO slideRight bug ── */
.cta-title {
    position: relative;
    z-index: 2;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg,
        #ffffff 0%,
        rgba(79,168,255,0.95) 55%,
        rgba(30,144,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Subtitle ── */
.cta-subtitle {
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
    color: rgba(184,184,184,0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Trust signals ── */
.cta-trust {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--spacing-xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.trust-check {
    width: 14px;
    height: 14px;
    color: rgba(80,220,120,0.9);
    flex-shrink: 0;
}

.trust-sep {
    display: block;
    width: 1px;
    height: 14px;
    background: rgba(79,168,255,0.2);
}

/* ── Buttons row ── */
.cta-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.cta-btn-main {
    min-width: 220px;
}

/* WhatsApp button */
.cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(37,211,102,0.1);
    border: 1.5px solid rgba(37,211,102,0.35);
    border-radius: 8px;
    color: rgba(60,220,100,0.9);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: inherit;
    transition: all 0.25s ease;
    cursor: pointer;
}

.cta-wa:hover {
    background: rgba(37,211,102,0.2);
    border-color: rgba(37,211,102,0.6);
    color: rgba(100,240,130,1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.2);
}

@media (max-width: 600px) {
    .cta-content { padding: 36px 24px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-btn-main, .cta-wa { width: 100%; max-width: 280px; justify-content: center; }
    .trust-sep { display: none; }
    .cta-trust { flex-direction: column; gap: 8px; }
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid rgba(79, 168, 255, 0.2);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    border-bottom: 1px solid rgba(79, 168, 255, 0.15);
    position: relative;
    z-index: 2;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-soft));
    transition: width 0.4s ease;
}

.footer-section:hover .footer-title::after {
    width: 100%;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-soft));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-copyright,
.footer-made {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-copyright {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom:hover .footer-copyright,
.footer-bottom:hover .footer-made {
    color: var(--accent-soft);
}

/* ========== SCROLL PROGRESS BAR ========== */
:root {
    --scroll-progress: 0%;
}

::before {
    --scroll-progress: 0%;
}

/* ========== ADVANCED SHADOWS & LIGHTS ========== */

.premium-shadow {
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 20px 40px rgba(30, 144, 255, 0.1);
}

.premium-glow {
    box-shadow: 
        0 0 10px rgba(30, 144, 255, 0.3),
        0 0 20px rgba(79, 168, 255, 0.2),
        inset 0 0 10px rgba(30, 144, 255, 0.1);
}

.premium-light {
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* ========== BLUR AND DEPTH EFFECTS ========== */

.blur-sm {
    backdrop-filter: blur(4px);
}

.blur-md {
    backdrop-filter: blur(10px);
}

.blur-lg {
    backdrop-filter: blur(20px);
}

.depth-effect {
    perspective: 1000px;
}

.depth-effect:hover {
    transform: translateZ(10px);
}

.hidden {
    display: none !important;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    :root {
        --spacing-xxl: 3rem;
        --spacing-xl: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* ========== SERVICES CONSTELLATION ========== */

.svc-subtitle {
    margin-top: -0.5rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
}

/* ── Constellation container ── */
.services-constellation {
    position: relative;
    height: 730px;
    margin-top: var(--spacing-xl);
    overflow: visible;
}

/* ── SVG background ── */
.const-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ── Node wrapper (absolute positioned) ── */
.svc-node {
    position: absolute;
    left: var(--nx);
    top:  var(--ny);
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

/* ── Animation wrapper (entry fly-in) ── */
.svc-card-anim {
    opacity: 0;
    transition:
        opacity 0.65s ease,
        transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Per-node entry directions */
.svc-node[data-idx="0"] .svc-card-anim { transform: translate(-22px, -22px); transition-delay: 0s;    }
.svc-node[data-idx="1"] .svc-card-anim { transform: translate(0,     28px);  transition-delay: 0.18s; }
.svc-node[data-idx="2"] .svc-card-anim { transform: translate(22px, -22px);  transition-delay: 0.08s; }
.svc-node[data-idx="3"] .svc-card-anim { transform: translate(-22px, 22px);  transition-delay: 0.28s; }
.svc-node[data-idx="4"] .svc-card-anim { transform: translate(22px,  22px);  transition-delay: 0.36s; }

/* Revealed state */
.svc-node.svc-visible .svc-card-anim {
    opacity: 1;
    transform: translate(0, 0);
}

/* ── Card base ── */
.svc-card {
    width: 212px;
    background: linear-gradient(145deg,
        rgba(8, 12, 28, 0.94) 0%,
        rgba(12, 18, 40, 0.9) 100%);
    border-radius: 18px;
    padding: 22px 20px 18px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        transform  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s ease,
        background 0.4s ease;

    /* Gradient border via pseudo element */
    isolation: isolate;
}

/* Gradient border (mask technique) */
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(79, 168, 255, 0.55),
        rgba(30, 144, 255, 0.15) 50%,
        rgba(79, 168, 255, 0.45)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.65;
    transition: opacity 0.4s ease, background 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

/* Top edge glow line */
.svc-card::after {
    content: '';
    position: absolute;
    top: 0; left: 5%; right: 5%; height: 1px;
    background: linear-gradient(
        90deg, transparent, rgba(79,168,255,0.7), transparent
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

/* Shine sweep on hover */
.svc-card .svc-shine {
    position: absolute;
    top: -60%;
    left: -60%;
    width: 45%;
    height: 220%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255,255,255,0.045) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.75s ease;
    pointer-events: none;
}

.svc-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.55),
        0 0  35px rgba(30,  144, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    background: linear-gradient(145deg,
        rgba(10, 16, 38, 0.97) 0%,
        rgba(15, 24, 52, 0.94) 100%);
}

.svc-card:hover::before {
    opacity: 1;
    background: linear-gradient(
        135deg,
        rgba(79,168,255,0.9),
        rgba(30,144,255,0.35) 50%,
        rgba(79,168,255,0.8)
    );
}

.svc-card:hover::after {
    transform: scaleX(1);
}

.svc-card:hover .svc-shine {
    left: 130%;
}

/* ── Hub card (central SEO node) ── */
.svc-card-hub {
    width: 240px;
    background: linear-gradient(145deg,
        rgba(10, 20, 50, 0.96) 0%,
        rgba(15, 28, 65, 0.92) 100%);
    box-shadow:
        0 0 0 1px rgba(79,168,255,0.25),
        0 15px 45px rgba(0,0,0,0.5),
        0 0 50px rgba(30,144,255,0.1);
}

.svc-card-hub::before {
    opacity: 0.85;
    background: linear-gradient(
        135deg,
        rgba(79,168,255,0.8),
        rgba(30,144,255,0.3) 50%,
        rgba(79,168,255,0.7)
    );
}

.svc-card-hub:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow:
        0 35px 80px rgba(0,0,0,0.6),
        0 0 60px rgba(30,144,255,0.3);
}

/* ── Icon wrapper ── */
.svc-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg,
        rgba(30,144,255,0.22),
        rgba(79,168,255,0.1)
    );
    border: 1px solid rgba(79,168,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.svc-icon-hub {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg,
        rgba(30,144,255,0.35),
        rgba(79,168,255,0.18)
    );
    border-color: rgba(79,168,255,0.5);
    box-shadow: 0 0 20px rgba(30,144,255,0.2);
}

.svc-icon {
    width: 22px;
    height: 22px;
    color: rgba(79,168,255,0.9);
    transition: color 0.3s ease, transform 0.3s ease;
}

.svc-card:hover .svc-icon-wrap {
    background: linear-gradient(135deg,
        rgba(30,144,255,0.38),
        rgba(79,168,255,0.2)
    );
    border-color: rgba(79,168,255,0.65);
    box-shadow: 0 0 22px rgba(30,144,255,0.3);
    transform: scale(1.08);
}

.svc-card:hover .svc-icon {
    color: #ffffff;
    transform: scale(1.1);
}

/* ── Tag line (tag + price) ── */
.svc-tag-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.svc-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(79,168,255,0.75);
    padding: 3px 8px;
    background: rgba(30,144,255,0.1);
    border: 1px solid rgba(79,168,255,0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.svc-tag-hub {
    color: rgba(79,168,255,1);
    background: rgba(30,144,255,0.18);
    border-color: rgba(79,168,255,0.4);
}

.svc-card:hover .svc-tag {
    background: rgba(30,144,255,0.2);
    border-color: rgba(79,168,255,0.45);
    color: rgba(79,168,255,1);
}

.svc-price {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.svc-card:hover .svc-price {
    color: rgba(255,255,255,0.6);
}

.svc-price-old {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(184,184,184,0.35);
    text-decoration: line-through;
    text-decoration-color: rgba(255,80,80,0.5);
    text-decoration-thickness: 1.5px;
}

.svc-price-new {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,185,0,0.85);
    letter-spacing: 0.03em;
}

.svc-card:hover .svc-price-new {
    color: rgba(255,210,60,1);
}

/* ── Title ── */
.svc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.svc-card-hub .svc-title {
    font-size: 1.05rem;
    color: #ffffff;
}

/* ── Description ── */
.svc-desc {
    font-size: 0.79rem;
    color: rgba(184,184,184,0.7);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.svc-card:hover .svc-desc {
    color: rgba(200,200,220,0.85);
}

/* ── CTA button ── */
.svc-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(30,144,255,0.12);
    border: 1px solid rgba(79,168,255,0.28);
    border-radius: 8px;
    color: rgba(79,168,255,0.85);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.svc-cta:hover,
.svc-card:hover .svc-cta {
    background: rgba(30,144,255,0.25);
    border-color: rgba(79,168,255,0.6);
    color: #ffffff;
    transform: translateX(3px);
    box-shadow: 0 0 16px rgba(30,144,255,0.25);
}

.svc-cta-hub {
    background: rgba(30,144,255,0.2);
    border-color: rgba(79,168,255,0.45);
    color: rgba(79,168,255,1);
}

/* ── Responsive: mobile grid ── */
@media (max-width: 900px) {
    .services-constellation {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        padding: var(--spacing-md) 0;
    }

    .const-svg { display: none; }

    .svc-node {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        opacity: 1 !important;
        filter: none !important;
    }

    .svc-card-anim {
        opacity: 1 !important;
        transform: none !important;
    }

    .svc-card,
    .svc-card-hub {
        width: 100%;
    }

    .svc-node-hub {
        grid-column: 1 / -1;
    }

    .svc-card-hub {
        display: flex;
        gap: var(--spacing-lg);
        align-items: center;
    }

    .svc-card-hub .svc-icon-wrap {
        flex-shrink: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 540px) {
    .services-constellation {
        grid-template-columns: 1fr;
    }
    .svc-card-hub {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== PRICING SECTION ========== */
.pricing {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(600px at 20% 50%, rgba(30, 144, 255, 0.06), transparent 70%),
        radial-gradient(500px at 80% 30%, rgba(79, 168, 255, 0.04), transparent 70%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    padding: var(--spacing-xl);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(30, 30, 30, 0.5));
    border: 1px solid rgba(79, 168, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(79, 168, 255, 0.4), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    border-color: rgba(79, 168, 255, 0.45);
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(30, 144, 255, 0.18);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.08), rgba(79, 168, 255, 0.04));
}

.pricing-card.featured {
    border-color: rgba(79, 168, 255, 0.45);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(79, 168, 255, 0.06));
    box-shadow: 0 10px 40px rgba(30, 144, 255, 0.15);
}

.pricing-card.featured::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-soft));
    height: 3px;
}

.pricing-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-soft));
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px 6px;
    border-radius: 0 0 8px 8px;
}

.pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pricing-amount {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-soft);
}

.pricing-maintenance {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: -10px;
}

.pricing-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 168, 255, 0.2), transparent);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.pricing-btn {
    margin-top: auto;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
}

.pricing-btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1.5px solid rgba(79, 168, 255, 0.4);
}

.pricing-btn-outline:hover {
    background: rgba(30, 144, 255, 0.12);
    border-color: var(--accent-soft);
    transform: translateY(-2px);
}

.pricing-btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-soft));
    color: var(--bg-primary);
    border: none;
}

.pricing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.4);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Promo banner ── */
.pricing-promo-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: var(--spacing-lg) 0 var(--spacing-xl);
    padding: 13px 24px;
    background: linear-gradient(135deg, rgba(255,160,0,0.07), rgba(255,120,0,0.04));
    border: 1px solid rgba(255,170,0,0.28);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,200,60,0.95);
    letter-spacing: 0.01em;
}

.promo-pulse-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,185,0,1);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255,180,0,0.7);
    animation: breathing 2s ease-in-out infinite;
}

@media (max-width: 600px) {
    .pricing-promo-banner {
        font-size: 0.8rem;
        padding: 11px 16px;
        text-align: center;
    }
}

/* ── Discount tag on card ── */
.pricing-discount-tag {
    position: absolute;
    top: -1px;
    left: 16px;
    background: linear-gradient(135deg, rgba(255,150,0,0.95), rgba(255,200,0,0.85));
    color: #000;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 4px 10px 5px;
    border-radius: 0 0 8px 8px;
    line-height: 1;
    white-space: nowrap;
}

/* For featured card: badge is on the right, discount on the left — already default */
.pricing-discount-tag-left {
    left: 16px;
}

/* ── Old (struck-through) price ── */
.pricing-old {
    display: flex;
    align-items: baseline;
    gap: 1px;
    margin-bottom: 4px;
}

.pricing-currency-old,
.pricing-amount-old {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(184,184,184,0.45);
    text-decoration: line-through;
    text-decoration-color: rgba(255,100,100,0.6);
    text-decoration-thickness: 2px;
}

/* ── New (discounted) price ── */
.pricing-new {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.pricing-from {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,185,0,0.85);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

/* ========== CONTACT MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    animation: fadeIn 0.2s ease;
}

.modal-overlay.hidden {
    display: none;
}

.modal {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98), rgba(20, 20, 20, 0.96));
    border: 1.5px solid rgba(79, 168, 255, 0.35);
    border-radius: 20px;
    padding: var(--spacing-xl);
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(30, 144, 255, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(79, 168, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: rgba(79, 168, 255, 0.6);
    background: rgba(30, 144, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234FA8FF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-select option {
    background: #141414;
    color: var(--text-primary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .modal {
        padding: var(--spacing-lg);
    }
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-soft));
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: var(--spacing-md);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(30, 144, 255, 0.4);
}

.form-success {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.form-success-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.form-success-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-soft);
    margin-bottom: var(--spacing-sm);
}

.form-success-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ========== ACTIVE NAV LINK ========== */
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::before {
    width: 100%;
}

/* ========== MOBILE MAP POPUP ========== */
@media (max-width: 600px) {
    .map-popup {
        position: fixed;
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        top: auto !important;
        max-width: none;
        min-width: 0;
        width: auto;
    }
}

/* ================================================================
   MOBILE NAVIGATION HAMBURGER
   ================================================================ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.nav-hamburger:hover { background: rgba(79,168,255,0.1); }

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent-soft); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent-soft); }

/* Mobile nav dropdown */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(8,8,8,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(79,168,255,0.2);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
    z-index: 998;
    flex-direction: column;
    gap: var(--spacing-md);
}

.mobile-nav.open {
    display: flex;
    animation: mobileNavIn 0.22s ease;
}

@keyframes mobileNavIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-list a {
    display: block;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:active {
    color: var(--accent-primary);
    background: rgba(30,144,255,0.08);
    border-color: rgba(79,168,255,0.15);
}

.mobile-nav-lang {
    display: flex;
    gap: 8px;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(79,168,255,0.12);
}

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-menu      { display: none; }
    .lang-switcher { display: none; }
}

/* ================================================================
   HERO — мобильная оптимизация
   ================================================================ */
@media (max-width: 768px) {
    .hero-right { display: none; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 var(--spacing-md);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }
}

/* ================================================================
   METRICS — маленькие экраны
   ================================================================ */
@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .metric-card {
        padding: var(--spacing-md);
    }
}

/* ================================================================
   ABOUT VISUAL — маленькие экраны
   ================================================================ */
@media (max-width: 640px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-visual {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 160px 140px 140px;
        gap: 10px;
    }

    .visual-block-1,
    .visual-block-2,
    .visual-block-3 {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

/* ================================================================
   MAP SECTION — мобильная оптимизация
   ================================================================ */
@media (max-width: 768px) {
    .map-wrapper {
        min-height: 0;
        padding: var(--spacing-md) var(--spacing-sm);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .experience-map {
        min-height: 0;
        min-width: 700px; /* позволяет горизонтальный скролл вместо сжатия */
        height: auto;
    }
}

@media (max-width: 480px) {
    .map-wrapper {
        border-radius: 14px;
    }
}

/* ================================================================
   CONTACT MODAL — скролл на маленьких телефонах
   ================================================================ */
@media (max-width: 600px) {
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal {
        border-radius: 20px 20px 0 0;
        max-height: 92dvh;
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: var(--spacing-lg) var(--spacing-md);
        width: 100%;
        max-width: 100%;
        animation: modalSlideUp 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    @keyframes modalSlideUp {
        from { transform: translateY(100%); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
    }

    .modal-title { font-size: 1.35rem; }
}

/* ================================================================
   CTA SECTION — маленькие экраны
   ================================================================ */
@media (max-width: 480px) {
    .cta-content {
        padding: 32px 20px;
        border-radius: 18px;
    }

    .cta-ring-1 { width: 300px; height: 300px; }
    .cta-ring-2 { width: 200px; height: 200px; }
}

/* ================================================================
   PRICING — маленькие экраны
   ================================================================ */
@media (max-width: 480px) {
    .pricing-grid {
        gap: var(--spacing-md);
    }

    .pricing-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }
}

/* ================================================================
   ITALY / WHY US — сетка секторов на маленьких экранах
   ================================================================ */
@media (max-width: 360px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================================
   FOOTER — маленькие экраны
   ================================================================ */
@media (max-width: 480px) {
    .footer-content {
        gap: var(--spacing-lg);
    }
}

/* ================================================================
   ОБЩИЕ ПРАВКИ ДЛЯ МОБИЛЬНЫХ
   ================================================================ */
@media (max-width: 768px) {
    /* Убираем hover-эффекты tilt на тач-устройствах */
    .metric-card:hover {
        transform: none;
    }

    /* Кнопки — достаточно крупные для тапа */
    .btn {
        min-height: 48px;
    }

    .svc-cta,
    .case-cta,
    .pricing-btn {
        min-height: 44px;
    }

    /* Секции — меньше вертикального отступа */
    .services,
    .about,
    .map-section,
    .italy-expansion,
    .cta-section,
    .pricing {
        padding: var(--spacing-xl) 0;
    }

    /* Заголовки секций */
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: var(--spacing-md);
    }

    /* Подзаголовок services */
    .svc-subtitle {
        font-size: 0.9rem;
    }
}

/* Предотвращаем горизонтальный скролл на всех экранах */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ================================================================
   MOBILE FIXES — новые секции
   ================================================================ */

/* Добавляем новые секции к глобальному уменьшению padding на мобиле */
@media (max-width: 768px) {
    .transform-section,
    .process-section,
    .ios-section,
    .ai-section {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }

    /* Process */
    .process-num   { font-size: 2.4rem; }
    .process-card  { padding: 22px 16px 18px; }

    /* iOS — полная ширина кнопки */
    .ios-price-row   { flex-direction: column; align-items: flex-start; gap: var(--spacing-md); }
    .ios-price-row .btn { width: 100%; text-align: center; }
    .ios-title       { font-size: clamp(1.6rem, 7vw, 2.4rem); }

    /* AI — полная ширина кнопки, меньше отступов */
    .ai-cta          { width: 100%; justify-content: center; }
    .ai-inner        { padding: 0 4px; }
    .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-desc         { font-size: 0.95rem; }
}

@media (max-width: 540px) {
    /* Process — 1 колонка уже есть в основном CSS */
    .process-subtitle { font-size: 0.88rem; }

    /* iOS visual — прячем телефон на маленьких экранах */
    .ios-visual    { display: none; }
    .ios-features li { font-size: 0.85rem; }

    /* AI features — 2 колонки сохраняем, уменьшаем шрифт */
    .ai-feature    { padding: 12px 8px; font-size: 0.7rem; gap: 7px; }
    .ai-feature-icon { width: 32px; height: 32px; }
    .ai-price-label { font-size: 1rem; }
    .ai-price-block { padding: 16px; }

}

/* ================================================================
   TRANSFORM / BEFORE-AFTER SECTION
   ================================================================ */
.transform-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.transform-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 8%;
    width: 420px;
    height: 520px;
    background: radial-gradient(ellipse, rgba(255,55,55,0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.transform-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 8%;
    width: 420px;
    height: 520px;
    background: radial-gradient(ellipse, rgba(30,144,255,0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.transform-section .container { position: relative; z-index: 1; }

/* ── Eyebrow ── */
.transform-eyebrow {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(79,168,255,0.45);
    margin-bottom: var(--spacing-xl);
}

/* ── Hero stat (68%) ── */
.transform-hero-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-bottom: var(--spacing-xxl);
    padding: 40px 52px;
    border-radius: 24px;
    background: linear-gradient(135deg,
        rgba(255,55,55,0.04) 0%,
        rgba(12,16,40,0.6) 45%,
        rgba(30,144,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.transform-hero-num {
    font-size: clamp(4.5rem, 11vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    flex-shrink: 0;
    background: linear-gradient(135deg, #FF5F5F 0%, #FF9555 55%, #FFCC44 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(255,75,75,0.25));
}

.transform-hero-text { max-width: 340px; }

.transform-hero-main {
    font-size: clamp(1.05rem, 2.5vw, 1.45rem);
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    line-height: 1.35;
    margin-bottom: 10px;
}

.transform-hero-sub {
    font-size: 0.9rem;
    color: rgba(184,184,184,0.55);
    line-height: 1.55;
    font-weight: 400;
    margin: 0;
}

/* ── Before / After grid ── */
.transform-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: var(--spacing-xxl);
}

.transform-before,
.transform-after {
    flex: 1 1 0%;
    min-width: 0;
    box-sizing: border-box;
}

.transform-col {
    padding: 36px 32px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.transform-before {
    background: rgba(255, 50, 50, 0.04);
    border: 1px solid rgba(255, 80, 80, 0.12);
}

.transform-after {
    background: rgba(30, 144, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.15);
}

.transform-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.transform-col-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.before-dot {
    background: #FF5555;
    box-shadow: 0 0 10px rgba(255,85,85,0.6);
}

.after-dot {
    background: #1E90FF;
    box-shadow: 0 0 10px rgba(30,144,255,0.6);
}

.transform-col-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.transform-before .transform-col-label { color: rgba(255,120,120,0.65); }
.transform-after  .transform-col-label { color: rgba(79,168,255,0.65); }

.transform-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.transform-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.transform-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    margin-top: 2px;
    line-height: 1;
}

.transform-icon-bad {
    background: rgba(255, 55, 55, 0.1);
    color: #FF6666;
    border: 1px solid rgba(255,85,85,0.2);
}

.transform-icon-good {
    background: rgba(30, 144, 255, 0.1);
    color: #4FA8FF;
    border: 1px solid rgba(30,144,255,0.2);
}

.transform-item-bad span:not(.transform-icon) {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.52);
    line-height: 1.45;
}

.transform-item-good span:not(.transform-icon) {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.45;
    font-weight: 500;
}

/* ── Divider arrow ── */
.transform-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 54px;
}

.transform-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,85,85,0.07), rgba(30,144,255,0.1));
    border: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.32);
}

/* ── Footer CTA ── */
.transform-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.transform-footer-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.38);
    font-style: italic;
    max-width: 460px;
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .transform-hero-stat {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
        gap: 16px;
    }
    .transform-hero-text { max-width: none; text-align: center; }
    .transform-hero-sub  { display: none; }
}

@media (max-width: 768px) {
    .transform-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    .transform-divider { display: none; }
    .transform-col { padding: 26px 20px; }
    .transform-footer-text { font-size: 0.82rem; }
}

/* ================================================================
   PROCESS SECTION — 4 cards
   ================================================================ */
.process-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    z-index: 2;
}

.process-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: -0.5rem;
    margin-bottom: 0;
    max-width: 500px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    position: relative;
}

/* Connector line */
.process-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(79,168,255,0.35) 15%,
        rgba(79,168,255,0.35) 85%,
        transparent);
    z-index: 0;
    pointer-events: none;
}

.process-card {
    background: linear-gradient(145deg, rgba(8,12,28,0.92), rgba(12,18,42,0.88));
    border: 1px solid rgba(79,168,255,0.14);
    border-radius: 20px;
    padding: 28px 22px 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,168,255,0.6), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 1px;
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: rgba(79,168,255,0.45);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 30px rgba(30,144,255,0.12);
}

.process-card:hover::before { transform: scaleX(1); }

.process-num {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg,
        rgba(30,144,255,0.9) 0%,
        rgba(79,168,255,0.25) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(30,144,255,0.2), rgba(79,168,255,0.08));
    border: 1px solid rgba(79,168,255,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.process-icon {
    width: 22px;
    height: 22px;
    color: rgba(79,168,255,0.9);
    transition: color 0.25s ease;
}

.process-card:hover .process-icon-wrap {
    background: linear-gradient(135deg, rgba(30,144,255,0.38), rgba(79,168,255,0.18));
    border-color: rgba(79,168,255,0.6);
    box-shadow: 0 0 20px rgba(30,144,255,0.2);
}

.process-card:hover .process-icon { color: #fff; }

.process-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.process-desc {
    font-size: 0.82rem;
    color: rgba(184,184,184,0.68);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.process-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.process-chip {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(79,168,255,0.85);
    background: rgba(30,144,255,0.08);
    border: 1px solid rgba(79,168,255,0.2);
    padding: 3px 9px;
    border-radius: 20px;
}

.process-duration {
    font-size: 0.72rem;
    color: rgba(79,168,255,0.55);
    font-weight: 600;
    margin: 0;
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid::before { display: none; }
}

@media (max-width: 540px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   iOS SECTION
   ================================================================ */
.ios-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.ios-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,122,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.ios-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.ios-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0,160,255,0.85);
    margin-bottom: var(--spacing-md);
}

.ios-eyebrow-dot {
    width: 7px;
    height: 7px;
    background: rgba(0,122,255,1);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0,122,255,0.7);
    animation: breathing 2s ease-in-out infinite;
}

.ios-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
}

.ios-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.ios-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--spacing-xl);
}

.ios-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
}

.ios-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,122,255,0.3), rgba(0,160,255,0.15));
    border: 1px solid rgba(0,122,255,0.45);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%230096FF' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.ios-price-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.ios-price-badge {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ios-price-from {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ios-price-num {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #007AFF, #00C6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Phone mockup */
.ios-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0,122,255,0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
}

.phone-mockup {
    width: 220px;
    background: linear-gradient(145deg, rgba(15,15,25,0.98), rgba(20,20,35,0.96));
    border-radius: 36px;
    border: 1.5px solid rgba(0,122,255,0.3);
    padding: 20px 16px 28px;
    position: relative;
    box-shadow:
        0 0 0 4px rgba(0,0,0,0.6),
        0 0 0 5px rgba(0,122,255,0.15),
        0 30px 70px rgba(0,0,0,0.6),
        0 0 50px rgba(0,122,255,0.12);
    animation: float 6s ease-in-out infinite;
}

.phone-notch {
    width: 70px;
    height: 10px;
    background: rgba(0,0,0,0.8);
    border-radius: 0 0 12px 12px;
    margin: 0 auto 16px;
    border: 1px solid rgba(255,255,255,0.06);
}

.phone-screen {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(0,122,255,0.5), rgba(0,196,255,0.3));
}

.phone-bar-1 { width: 70%; }
.phone-bar-2 { width: 45%; background: rgba(255,255,255,0.08); }

.phone-card-mock {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0,122,255,0.5), rgba(0,196,255,0.3));
    flex-shrink: 0;
}

.phone-card-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-card-line {
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
}

.phone-card-line-lg { width: 80%; }
.phone-card-line-sm { width: 50%; background: rgba(0,122,255,0.2); }

.phone-btn-mock {
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,122,255,0.6), rgba(0,196,255,0.4));
    margin-top: 4px;
}

@media (max-width: 900px) {
    .ios-layout {
        grid-template-columns: 1fr;
    }
    .ios-visual { order: -1; }
    .phone-mockup { width: 180px; }
}

@media (max-width: 480px) {
    .ios-visual { display: none; }
    .ios-price-row { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   AI SECTION
   ================================================================ */
.ai-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg,
        var(--bg-primary) 0%,
        rgba(40,10,80,0.25) 50%,
        var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(120,40,255,0.08) 0%, transparent 65%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.ai-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(80,20,200,0.06) 0%, transparent 65%);
    pointer-events: none;
    animation: float 26s ease-in-out infinite reverse;
}

.ai-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ai-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(180,100,255,0.9);
    margin-bottom: var(--spacing-lg);
}

.ai-eyebrow-dot {
    width: 7px;
    height: 7px;
    background: rgba(150,60,255,1);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(150,60,255,0.8);
    animation: breathing 2s ease-in-out infinite;
}

.ai-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, rgba(180,120,255,0.95) 60%, rgba(120,60,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-desc {
    font-size: 1.05rem;
    color: rgba(184,184,184,0.8);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: var(--spacing-xl);
}

.ai-feature {
    background: linear-gradient(145deg, rgba(80,20,180,0.1), rgba(120,40,255,0.06));
    border: 1px solid rgba(150,60,255,0.18);
    border-radius: 14px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
    cursor: default;
}

.ai-feature:hover {
    border-color: rgba(150,60,255,0.42);
    background: linear-gradient(145deg, rgba(80,20,180,0.18), rgba(120,40,255,0.1));
    transform: translateY(-4px);
}

.ai-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(120,40,255,0.15);
    border: 1px solid rgba(150,60,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-feature-icon svg {
    width: 18px;
    height: 18px;
    color: rgba(180,120,255,0.9);
}

.ai-price-block {
    background: linear-gradient(145deg, rgba(80,20,180,0.1), rgba(120,40,255,0.06));
    border: 1px solid rgba(150,60,255,0.25);
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: var(--spacing-lg);
}

.ai-price-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(200,150,255,0.95);
    margin-bottom: 6px;
}

.ai-price-sub {
    font-size: 0.88rem;
    color: rgba(184,184,184,0.65);
    margin: 0;
}

.ai-cta {
    background: linear-gradient(135deg, rgba(120,40,255,0.9), rgba(80,20,200,0.85));
    border-color: rgba(150,60,255,0.6);
}

.ai-cta:hover {
    background: linear-gradient(135deg, rgba(150,70,255,1), rgba(100,40,220,1));
    border-color: rgba(180,100,255,0.8);
    box-shadow: 0 12px 30px rgba(120,40,255,0.4);
}

@media (max-width: 768px) {
    .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-price-block { padding: 18px 20px; }
}

@media (max-width: 480px) {
    .ai-features-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ai-feature { padding: 14px 10px; font-size: 0.72rem; }
}

/* ================================================================
   MOBILE DEEP FIX — полный аудит всех секций
   ================================================================ */

/* ── Tap highlight — убираем синюю вспышку на iOS/Android ── */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ── Scroll padding с учётом fixed header ── */
@media (max-width: 768px) {
    html { scroll-padding-top: 88px; }
}

/* ── Очень маленькие экраны: сужаем container ── */
@media (max-width: 380px) {
    .container { padding: 0 1rem; }
    .hero-container { padding: 0 1rem; }
}

/* ── btn-large на мобиле — меньше padding ── */
@media (max-width: 768px) {
    .btn-large { padding: 15px 28px; font-size: 0.93rem; }
}
@media (max-width: 380px) {
    .btn-large { padding: 14px 22px; font-size: 0.88rem; }
    .btn       { padding: 12px 22px; font-size: 0.88rem; }
}

/* ── Hero: более компактный на маленьких экранах ── */
@media (max-width: 480px) {
    .hero { padding-bottom: var(--spacing-lg); }
    .hero-title    { font-size: clamp(1.8rem, 9vw, 2.5rem); margin-bottom: var(--spacing-md); }
    .hero-subtitle { font-size: 0.95rem; line-height: 1.65; margin-bottom: var(--spacing-md); }
    .hero-buttons  { gap: 10px; }
}

/* ── Metrics: 2 колонки даже на 480px ── */
@media (max-width: 540px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .metric-card   { padding: 18px 12px 16px; }
    .metric-label  { font-size: 0.82rem; }
    .metric-sub    { display: none; }
    .metric-icon-wrap { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 10px; }
    .metric-icon   { width: 18px; height: 18px; }
}

/* ── About visual: скрыть пустые блоки на маленьких экранах ── */
@media (max-width: 540px) {
    .about-visual { display: none; }
    .about-content { grid-template-columns: 1fr; }
    .about-description { font-size: 0.95rem; }
    .feature-item { padding: 12px 14px; }
}

/* Отключить hover-трансформации на about при касании */
@media (max-width: 900px) {
    .feature-item:hover { padding-left: var(--spacing-md); background: linear-gradient(90deg, rgba(30,144,255,0.05), transparent); }
    .visual-block:hover { transform: none; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
}

/* ── Services constellation: карточки компактнее ── */
@media (max-width: 420px) {
    .services-constellation { gap: 10px; }
    .svc-card { padding: 16px 14px 14px; }
    .svc-title { font-size: 0.88rem; }
    .svc-desc  { font-size: 0.74rem; }
    .svc-icon-wrap { width: 38px; height: 38px; }
}

/* ── Pricing: компактнее на маленьких телефонах ── */
@media (max-width: 420px) {
    .pricing-card { padding: 22px 16px; }
    .pricing-amount { font-size: 2.4rem; }
    .pricing-promo-banner { font-size: 0.78rem; padding: 10px 14px; gap: 8px; text-align: center; }
}

/* ── Process: убрать connector line визуально ── */
@media (max-width: 900px) {
    .process-grid::before { display: none; }
    .process-subtitle { max-width: 100%; }
}
@media (max-width: 540px) {
    .process-card  { padding: 20px 16px 18px; }
    .process-num   { font-size: 2.2rem; margin-bottom: 10px; }
    .process-title { font-size: 0.95rem; }
    .process-desc  { font-size: 0.8rem; }
}

/* ── Italy / Why Us: секторы на мобиле ── */
@media (max-width: 640px) {
    .italy-layout { gap: var(--spacing-xl); }
    .italy-title  { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .italy-description { font-size: 0.93rem; }
    .sectors-grid { gap: 8px; }
    .sector-card  { padding: 14px 8px 12px; }
    .sector-icon-wrap { width: 36px; height: 36px; border-radius: 9px; }
    .sector-icon  { width: 17px; height: 17px; }
    .sector-label { font-size: 0.62rem; }
}
@media (max-width: 400px) {
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── iOS section: тайтл и описание ── */
@media (max-width: 420px) {
    .ios-title { font-size: 1.55rem; }
    .ios-desc  { font-size: 0.9rem; }
    .ios-price-num { font-size: 2rem; }
    .ios-features li { font-size: 0.87rem; }
}

/* ── AI section: 1 колонка на очень маленьких телефонах ── */
@media (max-width: 380px) {
    .ai-features-grid { grid-template-columns: 1fr; gap: 8px; }
    .ai-feature { flex-direction: row; padding: 12px 14px; font-size: 0.76rem; text-align: left; }
    .ai-feature-icon { width: 28px; height: 28px; flex-shrink: 0; }
    .ai-title { font-size: 1.6rem; }
    .ai-desc  { font-size: 0.9rem; }
}

/* ── Transform section: компактнее ── */
@media (max-width: 480px) {
    .transform-hero-stat  { padding: 24px 18px; gap: 14px; margin-bottom: var(--spacing-xl); }
    .transform-hero-main  { font-size: 1rem; }
    .transform-footer-text { font-size: 0.8rem; }
    .transform-footer     { gap: var(--spacing-md); }
}
@media (max-width: 380px) {
    .transform-hero-num { font-size: 3.8rem; }
    .transform-col      { padding: 20px 14px; }
    .transform-item     { gap: 10px; }
    .transform-item-bad span:not(.transform-icon),
    .transform-item-good span:not(.transform-icon) { font-size: 0.85rem; }
}

/* ================================================================
   TRANSFORM — полноценная мобильная версия
   ================================================================ */

/* ── 768px: базовая переработка ── */
@media (max-width: 768px) {

    /* Hero-число — чуть меньше, чтобы не занимало полэкрана */
    .transform-hero-num {
        font-size: clamp(3.6rem, 18vw, 5rem);
    }

    .transform-hero-stat {
        padding: 26px 20px;
        gap: 12px;
        border-radius: 16px;
        margin-bottom: var(--spacing-xl);
    }

    /* Колонки: side-by-side, равная высота */
    .transform-grid {
        display: flex;
        align-items: stretch;
        gap: 0;
    }

    .transform-before {
        border-radius: 16px 0 0 16px;
        background: rgba(255, 50, 50, 0.07);
        border-color: rgba(255, 85, 85, 0.2);
        border-right: none;
    }

    .transform-after {
        border-radius: 0 16px 16px 0;
        background: rgba(30, 144, 255, 0.09);
        border-color: rgba(30, 144, 255, 0.22);
        border-left: none;
    }

    .transform-col {
        padding: 20px 14px;
    }

    /* Разделитель: вертикальная полоска с иконкой по центру */
    .transform-divider {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 0;
        width: 36px;
        flex-shrink: 0;
        position: relative;
        background: transparent;
        border-left: none;
        border-right: none;
    }

    .transform-divider::before,
    .transform-divider::after {
        content: '';
        flex: 1;
        width: 1px;
    }
    .transform-divider::before {
        background: linear-gradient(180deg, transparent, rgba(255,85,85,0.25));
    }
    .transform-divider::after {
        background: linear-gradient(180deg, rgba(30,144,255,0.25), transparent);
    }

    /* Стрелка: горизонтальная → */
    .transform-arrow {
        -webkit-transform: none;
        transform: none;
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        background: rgba(8,8,18,1);
        border-color: rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.28);
        z-index: 1;
    }

    /* Footer: кнопка на всю ширину */
    .transform-footer {
        gap: var(--spacing-md);
    }

    .transform-footer .btn,
    .transform-footer .btn-large {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .transform-footer-text {
        font-size: 0.8rem;
        text-align: center;
        max-width: 100%;
    }

    /* Секция: убираем огромные фоновые глоу на мобиле */
    .transform-section::before {
        width: 200px; height: 250px;
        top: 5%; left: -5%;
    }
    .transform-section::after {
        width: 200px; height: 250px;
        top: 40%; right: -5%;
    }
}

/* ── 480px: дополнительное уплотнение ── */
@media (max-width: 480px) {

    .transform-hero-stat {
        padding: 20px 16px;
        gap: 10px;
        margin-bottom: var(--spacing-lg);
    }

    .transform-hero-num {
        font-size: clamp(3rem, 17vw, 4rem);
    }

    .transform-hero-main {
        font-size: 0.97rem;
        line-height: 1.4;
    }

    .transform-arrow {
        width: 26px;
        height: 26px;
    }

    .transform-col {
        padding: 18px 12px;
    }

    .transform-col-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .transform-list {
        gap: 10px;
    }

    .transform-item-bad  span:not(.transform-icon),
    .transform-item-good span:not(.transform-icon) {
        font-size: 0.87rem;
        line-height: 1.4;
    }

    .transform-icon {
        width: 18px;
        height: 18px;
        font-size: 0.55rem;
    }
}

/* ── 360px: минимальный экран ── */
@media (max-width: 360px) {
    .transform-hero-num {
        font-size: 2.8rem;
    }
    .transform-hero-main {
        font-size: 0.9rem;
    }
    .transform-col {
        padding: 16px 12px;
    }
    .transform-item-bad  span:not(.transform-icon),
    .transform-item-good span:not(.transform-icon) {
        font-size: 0.82rem;
    }
    .transform-col-label {
        font-size: 0.62rem;
    }
}

/* ── CTA section ── */
@media (max-width: 420px) {
    .cta-content  { padding: 30px 18px; }
    .cta-wa       { padding: 12px 18px; font-size: 0.82rem; }
}

/* ── Footer: уменьшаем gap при 768px ── */
@media (max-width: 768px) {
    .footer-content { gap: var(--spacing-lg); padding-bottom: var(--spacing-xl); margin-bottom: var(--spacing-xl); }
    .footer         { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-md); }
}

/* ── Mobile nav: крупнее зоны тапа ── */
@media (max-width: 768px) {
    .mobile-nav-list a { padding: 15px 16px; font-size: 1.05rem; }
    .nav-hamburger     { padding: 10px; }
}

/* ── Disable hover transforms on touch devices ── */
@media (hover: none) and (pointer: coarse) {
    .metric-card:hover,
    .sector-card:hover,
    .pricing-card:hover,
    .process-card:hover,
    .svc-card:hover,
    .case-item:hover,
    .visual-block:hover {
        transform: none;
        box-shadow: none;
    }

    /* Active feedback на тап */
    .btn:active                    { transform: scale(0.97); opacity: 0.9; }
    .pricing-btn:active            { transform: scale(0.98); }
    .svc-cta:active, .case-cta:active { transform: scale(0.97); }
    .nav-hamburger:active          { background: rgba(79,168,255,0.12); }
}

/* ── Section titles: меньше отступ снизу ── */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: var(--spacing-md);
    }
    .section-title::after {
        bottom: -8px;
        width: 40px;
        height: 2px;
    }
}

/* ================================================================
   SAFARI iOS — ГЛАВНЫЙ ФИХ новых секций
   Проблема: Safari не ограничивает grid/flex items без min-width:0.
   SVG без HTML-атрибутов растягивается на весь экран.
   backdrop-filter в сочетании с flex иногда ломает layout.
   ================================================================ */

/* ── Убираем backdrop-filter в новых блоках — он ломает layout в Safari ── */
.transform-hero-stat {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: linear-gradient(135deg,
        rgba(40,8,8,0.55) 0%,
        rgba(8,10,24,0.82) 45%,
        rgba(8,20,50,0.55) 100%) !important;
}
.transform-col {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
.transform-before {
    background: rgba(255,40,40,0.08) !important;
}
.transform-after {
    background: rgba(20,100,255,0.1) !important;
}

/* ── min-width: 0 — даём Safari понять что grid-items не должны расти ── */
.ai-feature          { min-width: 0; min-height: 0; width: 100%; box-sizing: border-box; }
.process-card        { min-width: 0; min-height: 0; }
.transform-col       { min-width: 0; min-height: 0; }
.ios-content         { min-width: 0; min-height: 0; }
.ios-visual          { min-width: 0; }

/* ── ai-features-grid: явная ширина контейнера ── */
.ai-inner            { width: 100%; box-sizing: border-box; }
.ai-features-grid    { width: 100%; box-sizing: border-box; }

/* ── Иконки: тройная защита для Safari ── */
.ai-feature-icon {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    overflow: hidden;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}
.ai-feature-icon svg {
    display: block;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.process-icon-wrap {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    overflow: hidden;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}
.process-icon {
    display: block;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

/* ── Phone mockup: явные размеры ── */
.phone-mockup {
    width: 220px !important;
    max-width: 220px !important;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .phone-mockup { width: 180px !important; max-width: 180px !important; }
}

/* ── Transform hero num: без filter в Safari (может ломать layout) ── */
.transform-hero-num {
    filter: none;
    -webkit-filter: none;
}

/* ── iOS section: grid стекается корректно ── */
.ios-layout {
    width: 100%;
    box-sizing: border-box;
}

/* ── Process grid: корректная работа на всех экранах ── */
.process-grid {
    width: 100%;
    box-sizing: border-box;
}

/* ================================================================
   SAFARI iOS — SVG sizing fix
   Safari игнорирует CSS width/height на SVG без HTML-атрибутов.
   Фикс: явные размеры + overflow:hidden на враппере.
   ================================================================ */

/* AI features */
.ai-feature-icon {
    overflow: hidden;
    flex-shrink: 0;
}
.ai-feature-icon svg {
    display: block;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
}

/* Process icons */
.process-icon-wrap {
    overflow: hidden;
    flex-shrink: 0;
}
.process-icon {
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
}

/* Глобальная страховка: все SVG-иконки в картах не вылезают */
.svc-icon-wrap,
.metric-icon-wrap,
.sector-icon-wrap {
    overflow: hidden;
    flex-shrink: 0;
}
.svc-icon, .metric-icon, .sector-icon {
    display: block;
    flex-shrink: 0;
}

/* ================================================================
   DESIGN & BRANDING SECTION
   ================================================================ */
.design-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg,
        var(--bg-primary) 0%,
        rgba(30,8,60,0.3) 50%,
        var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.design-section::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(150,60,255,0.08) 0%, transparent 65%);
    pointer-events: none;
    animation: float 22s ease-in-out infinite;
}

.design-section::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(100,30,200,0.06) 0%, transparent 65%);
    pointer-events: none;
    animation: float 28s ease-in-out infinite reverse;
}

/* ── Two-column layout ── */
.design-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Left: text ── */
.design-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.design-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(200,150,255,0.85);
}

.design-eyebrow-dot {
    width: 7px; height: 7px;
    background: rgba(180,100,255,1);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(180,100,255,0.8);
    animation: breathing 2s ease-in-out infinite;
}

.design-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.design-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}

.design-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.design-price-from {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(200,150,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.design-price-num {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, #C080FF, #9940FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Right: 2×2 cards ── */
.design-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.design-card {
    background: linear-gradient(145deg,
        rgba(80,20,140,0.1),
        rgba(8,8,22,0.9));
    border: 1px solid rgba(180,100,255,0.14);
    border-radius: 18px;
    padding: 24px 20px 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.design-card::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180,100,255,0.5), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.design-card:hover {
    transform: translateY(-6px);
    border-color: rgba(180,100,255,0.4);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4),
                0 0 22px rgba(150,60,255,0.12);
}

.design-card:hover::before { transform: scaleX(1); }

.design-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    margin: 0 0 6px;
    letter-spacing: 0.01em;
}

.design-card-desc {
    font-size: 0.78rem;
    color: rgba(184,184,184,0.65);
    line-height: 1.6;
    margin: 0 0 12px;
}

.design-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.design-chip {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(200,150,255,0.85);
    background: rgba(150,60,255,0.08);
    border: 1px solid rgba(180,100,255,0.2);
    padding: 3px 8px;
    border-radius: 20px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .design-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    .design-desc { max-width: 100%; }
}

@media (max-width: 600px) {
    .design-section { padding: var(--spacing-xl) 0; }
    .design-card { padding: 18px 14px 16px; }
    .design-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .design-desc { font-size: 0.93rem; }
    .design-price-row .btn { width: 100%; text-align: center; }
}

@media (max-width: 420px) {
    .design-services {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
