/* ========================================
   WINTEAM Landing Page - Design System
   LIGHT THEME (Orange/Gold Accents)
   ======================================== */

/* CSS Custom Properties (Variables) */
:root {
    /* Brand Colors - Orange Accent */
    --primary-orange: #F97316;
    --primary-orange-dark: #EA580C;
    --primary-orange-light: #FB923C;
    --accent-gold: #F59E0B;
    --accent-amber: #FBBF24;

    /* Light Theme Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFF7ED;

    /* Text Colors */
    --text-dark: #111827;
    --text-body: #374151;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    --gradient-orange: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
    --gradient-warm: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-orange: 0 4px 20px rgba(249, 115, 22, 0.3);
    --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.08);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 20px;
}


/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Disable image interaction (dragging, context menu, selection) */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* ========================================
   Custom Scrollbar - Orange Theme
   ======================================== */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #FFF7ED;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FB923C 0%, #F97316 50%, #EA580C 100%);
    border-radius: 10px;
    border: 2px solid #FFF7ED;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #F97316 0%, #EA580C 50%, #C2410C 100%);
}

::-webkit-scrollbar-corner {
    background: #FFF7ED;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #F97316 #FFF7ED;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #D1D5DB;
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
}

.btn-glow {
    animation: pulse-glow 2s infinite;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
    }
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition-normal);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Скрыть мобильную кнопку на десктопе */
.mobile-header-cta {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    color: var(--text-body);
    font-weight: 500;
    padding: 0.5rem;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.nav-cta {
    background: var(--gradient-primary);
    padding: 0.6rem 1.2rem !important;
    border-radius: var(--radius-sm);
    color: white !important;
}

.nav-cta:hover {
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 200px 0 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
}

/* Dark background behind the neon line */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 55%;
    width: 100%;
    height: 200%;
    background: #1a1a1a;
    transform-origin: left center;
    transform: rotate(-15deg);
    z-index: 1;
}

/* Neon Line Separator */
.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: 45%;
    width: 4px;
    height: 120%;
    background: linear-gradient(180deg,
            rgba(249, 115, 22, 0) 0%,
            rgba(249, 115, 22, 0.8) 20%,
            #F97316 50%,
            rgba(249, 115, 22, 0.8) 80%,
            rgba(249, 115, 22, 0) 100%);
    transform: rotate(-15deg);
    box-shadow:
        0 0 20px rgba(249, 115, 22, 0.8),
        0 0 40px rgba(249, 115, 22, 0.6),
        0 0 60px rgba(249, 115, 22, 0.4);
    animation: neon-pulse 2s ease-in-out infinite;
    z-index: 5;
    pointer-events: none;
}

@keyframes neon-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow:
            0 0 20px rgba(249, 115, 22, 0.8),
            0 0 40px rgba(249, 115, 22, 0.6),
            0 0 60px rgba(249, 115, 22, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow:
            0 0 30px rgba(249, 115, 22, 1),
            0 0 60px rgba(249, 115, 22, 0.8),
            0 0 90px rgba(249, 115, 22, 0.6);
    }
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: #FEF3C7;
    top: -200px;
    left: -200px;
    animation: float-slow 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: #FFEDD5;
    bottom: -200px;
    right: -100px;
    animation: float-slow 10s ease-in-out infinite reverse;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 100%;
    width: 100%;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-warm);
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.badge-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.hero-subtitle strong {
    color: var(--primary-orange);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    margin-left: 150px;
    /* Двигает логотип вправо */
}

.hero-arcade-img {
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    pointer-events: none;
    /* Отключает взаимодействие с картинкой */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   Advantages Section
   ======================================== */
.advantages {
    padding: var(--space-2xl) 0;
    background: var(--bg-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.advantage-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: var(--shadow-orange);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.advantage-icon img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.advantage-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ========================================
   Segments Section (For Whom)
   ======================================== */
.segments {
    padding: var(--space-2xl) 0;
    position: relative;
    background-image: url('images/decorative/locations-bg.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.segments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.segments .container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding-left: 100px;
    padding-right: 100px;
}

.segments .section-title {
    color: white !important;
}

.segments .section-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
}

.segments .text-gradient {
    background: linear-gradient(135deg, var(--accent-amber) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.segments-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    justify-content: space-between;
}

.segment-card {
    flex: 1 1 0;
    min-width: 0;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: var(--radius-md);
    padding: 16px 14px;
    text-align: center;
    transition: var(--transition-normal);
    color: white !important;
    cursor: pointer;
}

.segment-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--accent-amber) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.segment-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.segment-icon img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.segment-card h3 {
    font-size: 0.75rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 4px;
}

.segment-card p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 6px;
    line-height: 1.2;
}

.segment-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.segment-card li {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.75) !important;
    padding-left: 10px;
    position: relative;
    margin-bottom: 2px;
}

.segment-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-amber);
    font-size: 0.55rem;
}

/* ========================================
   Catalog Section
   ======================================== */
.catalog {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FED7AA 100%);
    position: relative;
    overflow: hidden;
}

.catalog-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.catalog .container {
    position: relative;
    z-index: 2;
}

.catalog-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    box-shadow: var(--shadow-card);
    height: 500px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-orange);
    border-color: var(--primary-orange);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.bestseller {
    background: linear-gradient(135deg, #FF6B00, #FFD700);
    color: white;
}

.product-badge.new {
    background: linear-gradient(135deg, #1E90FF, #00CED1);
    color: white;
}

.product-badge.badge-orange {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: white;
}

.product-badge.badge-blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
}

.product-badge.badge-white {
    background: white;
    color: #374151;
    border: 2px solid #F97316;
    font-weight: 700;
}

.product-badge.badge-green {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.product-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    z-index: 2;
}

.product-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    -webkit-mask-image: linear-gradient(to top, black 0%, black 70%, transparent 100%);
    mask-image: linear-gradient(to top, black 0%, black 70%, transparent 100%);
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    color: #FFFFFF;
}

.product-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.product-specs span {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: #FFFFFF;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.product-price {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.product-price span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
}

/* ========================================
   Calculator Section
   ======================================== */
.calculator {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FED7AA 100%);
    position: relative;
    overflow: hidden;
}

.calculator-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.calculator .container {
    position: relative;
    z-index: 2;
}

.calculator-wrapper {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.calculator-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.calculator-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.calculator-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--text-body);
}

.input-group input[type="range"] {
    width: 100%;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: var(--transition-fast);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.range-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.result-card {
    background: var(--bg-gray);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.result-card.highlight {
    background: linear-gradient(135deg, #FEF3C7, #FFEDD5);
    border-color: rgba(249, 115, 22, 0.3);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.result-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-cta {
    margin-top: var(--space-xl);
    text-align: center;
}

.calculator-cta p {
    color: var(--text-gray);
    margin-bottom: var(--space-md);
}

/* ========================================
   Locations Section
   ======================================== */
.locations {
    padding: var(--space-2xl) 0;
    position: relative;
    background: url('images/decorative/locations-bg.png') center center / cover no-repeat;
    overflow: hidden;
}

.locations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.locations .container {
    position: relative;
    z-index: 2;
}

.locations .section-title {
    color: white;
}

.locations .text-gradient {
    background: linear-gradient(135deg, var(--accent-amber) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
}

.location-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-normal);
    color: white;
}

.location-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-amber);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.location-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.location-item span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
}

/* ========================================
   Locations Gallery Section
   ======================================== */
.locations-gallery {
    padding: var(--space-2xl) 0;
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: white;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    color: white;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    padding: var(--space-2xl) 0;
    background: var(--bg-gray);
}

.steps-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: var(--space-lg);
    position: relative;
}

.step-number {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: var(--bg-white);
    border: 2px solid var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-card);
}

.step-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.step-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-amber));
    margin-top: 60px;
    flex-shrink: 0;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--space-2xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: var(--space-lg);
}

.about-founder {
    margin-bottom: var(--space-lg);
}

.founder-quote {
    background: var(--bg-gray);
    border-left: 4px solid var(--primary-orange);
    padding: var(--space-lg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.founder-quote p {
    font-style: italic;
    color: var(--text-body);
    margin-bottom: var(--space-md);
}

.founder-info {
    display: flex;
    flex-direction: column;
}

.founder-info strong {
    color: var(--text-dark);
}

.founder-info span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.fact {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-gray);
    border-radius: var(--radius-md);
}

.fact-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fact-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.about-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   Sales Map Section
   ======================================== */
.sales-map {
    padding: var(--space-2xl) 0;
    background: var(--bg-white);
}

.map-container {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    margin-top: var(--space-xl);
}

.map-wrapper {
    flex: 1;
    min-width: 0;
}

.russia-map {
    width: 100%;
    height: auto;
    max-height: 500px;
}

.map-legend {
    flex-shrink: 0;
    width: 200px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.legend-title {
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
}

.legend-color {
    width: 24px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-stats {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.map-stat {
    margin-bottom: var(--space-md);
}

.map-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.map-stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* SVG Map Styles */
.russia-map .region {
    fill: #f5f5f5;
    stroke: #fff;
    stroke-width: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.russia-map .region:hover {
    fill-opacity: 0.8;
    filter: brightness(1.1);
}

.russia-map .region-label {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    fill: #333;
    pointer-events: none;
}

.russia-map .region-count {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    fill: #333;
    pointer-events: none;
}

/* Map Tooltip */
.map-tooltip {
    position: absolute;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
    z-index: 100;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.map-tooltip.active {
    opacity: 1;
}

.map-tooltip strong {
    display: block;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .map-container {
        flex-direction: column;
    }

    .map-legend {
        width: 100%;
    }

    .legend-items {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .map-stats {
        display: flex;
        gap: var(--space-xl);
    }
}

/* ========================================
   Reviews Section
   ======================================== */
.reviews {
    padding: var(--space-2xl) 0;
    background: var(--bg-gray);
    overflow: hidden;
}

.reviews-slider {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
}

.reviews-track {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: var(--space-md) 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 500px;
    display: flex;
    gap: var(--space-lg);
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    scroll-snap-align: start;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-card);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.3);
}

.review-card.featured {
    border-color: var(--primary-orange);
    background: linear-gradient(180deg, #FFF7ED 0%, var(--bg-white) 50%);
}

/* Left side - text content */
.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: #E5E7EB;
    color: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-meta {
    display: flex;
    flex-direction: column;
}

.review-meta strong {
    font-size: 1rem;
}

.review-meta span {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

/* Right side - vertical image */
.review-image {
    flex: 0 0 160px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    align-self: stretch;
}

.review-image img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
}

/* Cards without images */
.review-card:not(:has(.review-image)) {
    flex: 0 0 350px;
}

.review-card:not(:has(.review-image)) .review-content {
    flex: 1;
}

.reviews-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.review-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-card);
}

.review-btn:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

/* ========================================
   Guarantees Section
   ======================================== */
.guarantees {
    padding: var(--space-2xl) 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-card);
}

.guarantee-item:hover {
    border-color: var(--primary-orange);
    transform: translateX(5px);
}

.guarantee-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.guarantee-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.guarantee-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.guarantee-text span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--space-2xl) 0;
    background: var(--bg-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-info {
    padding-right: var(--space-lg);
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-card);
}

.contact-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.contact-address {
    color: var(--text-gray);
}

.contact-address p {
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.contact-form {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-gray);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-md);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--text-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-sm);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-logo {
    height: 120px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-amber);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-gray);
}

.footer-bottom a:hover {
    color: var(--accent-amber);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--text-gray);
}

.footer-legal-links a:hover {
    color: var(--accent-amber);
}

/* ========================================
   Modal
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-xl);
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #374151;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #1f2937;
}

.modal-body {
    padding: var(--space-xl);
}

/* Modal Product Content */
.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.modal-main-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-gray);
}

.modal-main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: var(--bg-gray);
}

.modal-thumbnails {
    display: flex;
    gap: var(--space-xs);
}

.modal-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.modal-thumb:hover,
.modal-thumb.active {
    opacity: 1;
    border-color: var(--primary-orange);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.modal-price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-description {
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.modal-specs {
    margin-bottom: var(--space-lg);
}

.modal-specs h4 {
    margin-bottom: var(--space-sm);
}

.modal-specs ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-specs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.modal-specs li::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: bold;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-image {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-height: 300px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .modal-product {
        grid-template-columns: 1fr;
    }

    .segments-grid {
        flex-wrap: wrap !important;
    }

    .segment-card {
        flex: 0 0 calc(33.333% - 10px);
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 3rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: var(--space-lg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .calculator-body {
        grid-template-columns: 1fr;
    }

    .step-connector {
        display: none;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .review-card {
        flex: 0 0 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .segments-grid {
        flex-wrap: wrap !important;
    }

    .segment-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats {
        gap: var(--space-sm);
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guarantees-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Animations on Scroll
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Floating Contact Button
   ======================================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
}

.floating-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.whatsapp:hover {
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

.floating-btn.telegram {
    background: linear-gradient(135deg, #0088CC, #229ED9);
}

.floating-btn.telegram:hover {
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.5);
}

.floating-btn.phone {
    background: var(--gradient-primary);
}

.floating-btn.phone:hover {
    box-shadow: var(--shadow-orange);
}

/* ========================================
   Segments Section (Target Audience)
   ======================================== */
.segments {
    padding: var(--space-2xl) 0;
    background: var(--bg-white);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.segment-card {
    background: var(--bg-white);
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.segment-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-orange);
}

.segment-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.segment-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
}

.segment-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.segment-card ul {
    text-align: left;
    margin-top: var(--space-md);
}

.segment-card li {
    color: var(--text-light);
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.segment-card li::before {
    content: '?';
    color: var(--primary-gold);
    margin-right: 0.5rem;
}

/* ========================================
   Real Locations Gallery
   ======================================== */
.locations-gallery {
    padding: var(--space-2xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .segments-grid {
        grid-template-columns: 1fr;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ========================================
   How It Works Section - Soft Orange Background
   ======================================== */
.how-it-works {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FED7AA 100%);
    position: relative;
}

/* ========================================
   Reviews Section - Soft Orange Background  
   ======================================== */
.reviews {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 50%, #FDBA74 100%);
    position: relative;
}

/* ========================================
   Step Number Circles - Light Gray
   ======================================== */
.step-card {
    position: relative;
}

.step-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-number {
    position: absolute;
    top: -5px;
    left: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.step-connector {
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    margin: 0 var(--space-md);
    align-self: center;
}

/* ========================================
   Text Light Gray
   ======================================== */
.text-light-gray {
    color: #FFFFFF;
}

/* ========================================
   Scroll Animations - Fast Fade In
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Cookie Consent Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: #E5E7EB;
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

.cookie-content a {
    color: #F97316;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.cookie-accept {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: white;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.cookie-decline {
    background: transparent;
    color: #9CA3AF;
    border: 1px solid #4B5563;
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #E5E7EB;
}

/* ========================================
   Privacy Checkbox in Forms
   ======================================== */
.form-checkbox {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #D1D5DB;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    border-color: #F97316;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-text {
    color: #4B5563;
}

.checkbox-text a {
    color: #F97316;
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: #EA580C;
}

/* Responsive cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

/* ========================================
   MOBILE DEVICES (max-width: 767px)
   ======================================== */
@media (max-width: 767px) {

    /* === GLOBAL === */

    body {
        font-size: 14px;
    }

    .container {
        padding: 0 20px;
    }

    /* === HEADER & NAVIGATION === */

    .header {
        padding: 15px 0;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid #f3f4f6;
    }

    /* Hamburger menu button */
    .mobile-menu-toggle {
        display: block;
        position: relative;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--primary-orange);
        border-radius: 3px;
        transition: all 0.3s;
    }

    .mobile-menu-toggle span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-toggle span:nth-child(2) {
        top: 10px;
    }

    .mobile-menu-toggle span:nth-child(3) {
        top: 20px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        top: 10px;
        transform: rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        top: 10px;
        transform: rotate(-45deg);
    }

    /* Logo */
    .logo {
        height: 35px;
    }

    /* === HERO SECTION === */

    .hero {
        padding: 60px 0 80px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin: 20px 0;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    /* === SECTIONS === */

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    /* === ADVANTAGES GRID === */

    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .advantage-card {
        padding: 15px 10px;
    }

    .advantage-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 8px;
    }

    .advantage-card h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .advantage-card p {
        font-size: 11px;
        line-height: 1.4;
    }

    /* === CATALOG / PRODUCTS === */

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        max-width: 100%;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 12px 10px;
    }

    .product-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .product-price {
        font-size: 18px;
    }

    .product-features {
        font-size: 13px;
        gap: 8px;
    }

    /* === REVIEWS === */

    .review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        flex-direction: column;
        flex-basis: 100%;
        max-width: 100%;
    }

    .review-card:not(:has(.review-image)) {
        width: 100%;
    }

    .review-content {
        width: 100%;
        padding: 20px;
    }

    .review-image {
        width: 100%;
        min-height: 200px;
        max-height: 250px;
    }

    .reviewer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
    }

    .reviewer-name {
        font-size: 16px;
    }

    .reviewer-date {
        font-size: 12px;
    }

    .review-text {
        font-size: 14px;
    }

    /* === TARGET AUDIENCE === */

    .target-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .target-card {
        padding: 15px 10px;
    }

    .target-icon {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .target-card h3 {
        font-size: 13px;
    }

    .target-card p {
        font-size: 11px;
    }

    /* === CONSULTATION FORM === */

    .consultation-container {
        flex-direction: column;
        padding: 30px 20px;
    }

    .consultation-content,
    .consultation-form-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .consultation-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .consultation h2 {
        font-size: 26px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .input-field,
    .select-field {
        padding: 14px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 16px;
        font-size: 16px;
    }

    /* === STATS === */

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* === SALES MAP === */

    .sales-map-container {
        padding: 30px 20px;
    }

    .sales-legend {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .legend-item {
        font-size: 12px;
    }

    /* === FOOTER === */

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section {
        align-items: center;
    }

    .footer-logo {
        height: 35px;
    }

    .footer h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-link {
        font-size: 14px;
    }

    .contact-item {
        justify-content: center;
        font-size: 14px;
    }

    .social-icons {
        justify-content: center;
        gap: 12px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    /* === FLOATING BUTTONS === */

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
    }

    .floating-telegram {
        right: 15px;
        bottom: 80px;
    }

    /* === MODAL === */

    .modal-content {
        width: 90%;
        max-width: 90%;
        padding: 25px 20px;
        margin: 20px;
    }

    .modal h2 {
        font-size: 22px;
    }
}

/* ========================================
   TABLET DEVICES (768px - 1023px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 40px;
    }

    .logo {
        height: 40px;
    }

    .nav-link {
        font-size: 15px;
        padding: 8px 16px;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .review-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .target-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* ========================================
   DESKTOP (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }
}

/* ========================================
   MOBILE OVERRIDE - ADDED FOR REAL HTML CLASSES
   ======================================== */
@media (max-width: 767px) {

    /* Advantages section - 2 columns compact */
    .advantages-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .advantages-grid .advantage-card,
    .advantages-grid>div {
        padding: 15px 10px !important;
    }

    /* Catalog section - 2 columns */
    .catalog-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .catalog-grid>* {
        max-width: 100% !important;
    }

    .catalog-grid .product-image,
    .catalog-grid img {
        height: 150px !important;
        object-fit: cover !important;
    }

    /* Gallery - 2 columns */
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .gallery-item {
        height: 150px !important;
    }

    /* Guarantees - 2 columns */
    .guarantees-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .guarantees-grid>* {
        padding: 15px 10px !important;
        font-size: 13px !important;
    }

    /* Locations - 2 columns */
    .locations-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Steps/How to start - 2 columns */
    .steps-grid,
    .how-grid,
    .process-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* About stats - 3 columns */
    .about-stats,
    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    /* Reduce section padding on mobile */
    section {
        padding: 40px 0 !important;
    }

    .container {
        padding: 0 15px !important;
    }

    /* Smaller section titles */
    .section-title,
    h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .section-subtitle {
        font-size: 14px !important;
    }

    /* Reduce card padding everywhere */
    [class*='-card'],
    [class*='-item'] {
        padding: 12px !important;
    }

    /* Smaller icons */
    [class*='-icon'] img {
        width: 40px !important;
        height: 40px !important;
    }

    /* Reduce text sizes */
    [class*='-card'] h3,
    [class*='-item'] h3 {
        font-size: 14px !important;
    }

    [class*='-card'] p,
    [class*='-item'] p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
}

/* ========================================
   MOBILE FIX 2 - Additional overrides
   ======================================== */
@media (max-width: 767px) {

    /* Hide step connectors on mobile */
    .step-connector {
        display: none !important;
    }

    /* Location/audience cards - force 2 columns */
    .locations-section .container>div,
    section[class*='location'] .container>div,
    section[class*='audience'] .container>div,
    section[class*='business'] .container>div {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Any card with background image - make smaller */
    [style*='background-image'] {
        min-height: 180px !important;
    }

    /* Fix catalog product cards */
    .catalog-grid>div,
    .product-card,
    [class*='product-card'] {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: unset !important;
    }

    /* Product card images */
    .product-card img,
    .catalog-grid img,
    [class*='product'] img {
        height: 140px !important;
        object-fit: cover !important;
    }

    /* Smaller product buttons */
    .product-card .btn,
    .catalog-grid .btn,
    [class*='product'] .btn {
        padding: 8px 12px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    /* Product price smaller */
    .product-price,
    [class*='price'] {
        font-size: 16px !important;
    }

    /* Product info smaller */
    .product-info,
    [class*='product-info'] {
        padding: 10px 8px !important;
    }

    .product-title,
    [class*='product-title'] {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
    }

    .product-description,
    [class*='product-desc'] {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    /* Features badges smaller */
    .product-features,
    [class*='feature'] {
        gap: 4px !important;
    }

    .product-features span,
    [class*='feature-badge'] {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }

    /* Hero section adjustments */
    .hero-content .hero-stats {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .hero-stats .stat-item {
        flex: 0 0 30% !important;
        text-align: center !important;
    }

    .stat-number {
        font-size: 24px !important;
    }

    .stat-label {
        font-size: 10px !important;
    }

    /* CTA buttons smaller */
    .cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .cta-buttons .btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

/* ========================================
   HERO SECTION MOBILE FIX
   ======================================== */
@media (max-width: 767px) {

    /* Header - always visible */
    .header {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: white !important;
        padding: 10px 15px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .header .nav,
    .header nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* Logo visible */
    .header .logo,
    .logo,
    .logo-img {
        display: block !important;
        height: 30px !important;
        width: auto !important;
    }

    /* Mobile nav links hidden by default */
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        flex-direction: column !important;
        padding: 20px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        list-style: none !important;
        margin: 0 !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid #eee !important;
    }

    .nav-links a {
        color: #333 !important;
        font-size: 16px !important;
        text-decoration: none !important;
    }

    /* Mobile menu toggle visible */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 25px !important;
        height: 18px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
    }

    .mobile-menu-toggle span {
        display: block !important;
        height: 2px !important;
        background: #F97316 !important;
        border-radius: 2px !important;
    }

    /* Hero section - add top padding for fixed header */
    .hero {
        padding-top: 80px !important;
        min-height: auto !important;
    }

    /* Hero text - WHITE on dark background */
    .hero h1,
    .hero-title,
    .hero .hero-content h1 {
        color: white !important;
        font-size: 26px !important;
        line-height: 1.2 !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
    }

    .hero h1 span,
    .hero-title span {
        color: #F97316 !important;
    }

    .hero-subtitle,
    .hero p,
    .hero .hero-content p {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 14px !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    }

    /* Hero badge - smaller and closer */
    .hero-badge {
        font-size: 11px !important;
        padding: 6px 12px !important;
        margin-bottom: 10px !important;
    }

    /* Buttons smaller */
    .hero .btn,
    .hero .cta-buttons .btn,
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px !important;
        font-size: 14px !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 5px auto !important;
    }

    .cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }

    /* Hero stats - smaller */
    .hero-stats {
        margin-top: 25px !important;
        gap: 15px !important;
    }

    .hero-stats .stat-number {
        font-size: 22px !important;
        color: white !important;
    }

    .hero-stats .stat-label {
        font-size: 10px !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .stat-divider {
        display: none !important;
    }
}

/* =============================================
   ФИНАЛЬНЫЕ МОБИЛЬНЫЕ ИСПРАВЛЕНИЯ
   ============================================= */
@media (max-width: 767px) {

    /* HERO градиент от чёрного к белому */
    .hero {
        background: linear-gradient(to bottom, #0a0a0a 0%, #1a1a1a 15%, #ffffff 40%, #ffffff 100%) !important;
        background-color: transparent !important;
    }

    .hero::before,
    .hero::after,
    .hero-glow,
    .hero-glow-1,
    .hero-glow-2 {
        display: none !important;
        opacity: 0 !important;
    }

    /* Подзаголовок - ТЁМНЫЙ, БЕЗ ТЕНИ */
    .hero-subtitle {
        color: #444444 !important;
        text-shadow: none !important;
        -webkit-text-fill-color: #444444 !important;
        filter: none !important;
    }

    /* Плашка - НИЖЕ от лого */
    .hero-badge {
        margin-top: 10px !important;
    }

    /* stat-label - СЕРЫЙ на белом фоне */
    .hero-stats .stat-label,
    .stat-label {
        color: #666666 !important;
        -webkit-text-fill-color: #666666 !important;
    }

    /* ADVANTAGES - иконки и плашки */
    .advantage-icon {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .advantage-icon img {
        width: 120px !important;
        height: 120px !important;
        display: block !important;
    }

    .advantage-card {
        padding: 5px 3px !important;
    }

    .advantage-card h3 {
        font-size: 12px !important;
    }

    .advantage-card p {
        font-size: 10px !important;
    }

    /* FOOTER Mobile */
    footer.footer .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        text-align: left !important;
        padding: 0 20px !important;
    }

    footer.footer .footer-brand {
        grid-column: 1 / -1 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        margin-bottom: 15px !important;
    }

    footer.footer .footer-logo,
    footer.footer .footer-brand img {
        height: 100px !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    footer.footer .footer-brand p {
        font-size: 14px !important;
        margin: 0 !important;
        text-align: left !important;
    }

    footer.footer .footer-links {
        display: block !important;
        text-align: left !important;
    }

    footer.footer .footer-links h4 {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        text-align: left !important;
    }

    footer.footer .footer-links a {
        display: block !important;
        font-size: 11px !important;
        margin-bottom: 5px !important;
        text-align: left !important;
    }
}

/* ========================================
   Medium Screens (MacBook / Small Laptops)
   ======================================== */
@media (max-width: 1440px) {

    /* Segments Section - Prevent squeezing */
    .segments .container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .segments-grid {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 20px;
    }

    .segment-card {
        flex: 0 0 calc(33.333% - 20px);
        /* 3 cards per row */
        margin-bottom: 10px;
    }
}

/* ========================================
   Mobile Fixes - Always Show Overlays
   ======================================== */
@media (max-width: 1024px) {

    /* Always show gallery text overlay on mobile/tablet */
    .gallery-overlay {
        transform: translateY(0) !important;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
        /* Darker bg for readability */
    }

    /* Optional: make locations bg slightly visible by default too */
    .location-item {
        background: rgba(255, 255, 255, 0.2);
    }
}