/* ==============================================================
   ВиТелеком — Modern Stylesheet 2026
   Preserving brand identity, fonts & atmosphere with modern UI/UX
   ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');

:root {
    --brand-primary: #0284c7;
    --brand-primary-dark: #0369a1;
    --brand-primary-light: #e0f2fe;
    
    --accent-blue: #2563eb;
    --accent-blue-gradient: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    --accent-cyan: #0891b2;
    --accent-cyan-gradient: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
    --accent-rose: #e11d48;
    --accent-rose-gradient: linear-gradient(135deg, #be123c 0%, #f43f5e 100%);
    --accent-amber: #d97706;
    --accent-amber-gradient: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
    --accent-emerald: #059669;
    --accent-emerald-gradient: linear-gradient(135deg, #047857 0%, #10b981 100%);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #f8fafc;

    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-muted: #f1f5f9;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
    --shadow-popular: 0 20px 45px -8px rgba(37, 99, 235, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    --font-heading: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-accent: 'Proxima_Nova_Condensed_Black', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==============================================================
   Base Resets & Typography
   ============================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1.25;
}

h1 {
    font-family: var(--font-heading);
}

.title-section h2,
.title-section h3,
.table-price .title-price h4,
.price h2,
.popular-badge {
    font-family: var(--font-accent);
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--brand-primary-dark);
}

/* ==============================================================
   Top Contact Bar
   ============================================================== */
.modern-topbar {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 13.5px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modern-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #cbd5e1;
    font-weight: 500;
}

.topbar-item a {
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-item a:hover {
    color: #38bdf8;
}

.topbar-badge {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topbar-lk-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff !important;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-lk-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
    color: #ffffff !important;
}

/* ==============================================================
   Main Sticky Navbar
   ============================================================== */
.modern-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.modern-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.brand-link:hover .brand-logo {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.nav-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap; /* В одну строчку, если помещается */
}

.nav-link-item a:hover {
    color: var(--brand-primary);
    background: rgba(2, 132, 199, 0.07);
}

.nav-link-item.active a {
    color: var(--brand-primary);
    background: rgba(2, 132, 199, 0.1);
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    background: var(--brand-primary);
    color: #ffffff !important;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
    margin-left: 6px;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Адаптивный перенос в 2 строчки с центрированием, если экран не вмещает в одну */
@media (max-width: 1260px) and (min-width: 993px) {
    .modern-navbar .container {
        padding: 0 10px !important;
    }
    .nav-menu {
        gap: 2px;
    }
    .nav-link-item a {
        padding: 6px 7px;
        font-size: 13px;
        white-space: normal; /* перенос в 2 строки при нехватке места */
        text-align: center;
        max-width: 105px;
        line-height: 1.2;
    }
    .nav-cta-btn {
        padding: 7px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #1e293b;
    cursor: pointer;
    padding: 8px;
}

/* ==============================================================
   Hero Section with Dynamic Clouds & Weather
   ============================================================== */
.hero-wrapper {
    position: relative;
    background: linear-gradient(180deg, #38bdf8 0%, #60a5fa 40%, #93c5fd 85%, #bae6fd 100%);
    overflow: hidden;
    color: #ffffff;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Clouds Animation via GPU */
.hero-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: url('../images/home/cloud.png');
    background-repeat: repeat-x;
    background-position: 0 0;
    z-index: 2;
    pointer-events: none;
    animation: driftClouds 90s linear infinite;
    will-change: transform;
}

@keyframes driftClouds {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.hero-content-area {
    position: relative;
    z-index: 4;
    padding-top: 60px;
    padding-bottom: 20px;
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(15, 23, 42, 0.25);
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 760px;
    margin: 0 auto 30px;
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
    opacity: 0.96;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-hero-primary {
    background: #ffffff;
    color: #0369a1 !important;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
    background: #f8fafc;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

/* Modern Weather Widget (Floating Glassmorphism Card) */
.modern-weather-card {
    position: absolute;
    top: 45px;
    right: 40px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    min-width: 220px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
}

.modern-weather-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
}

.weather-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.weather-city-badge {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.95;
}

.weather-source-link {
    font-size: 11px;
    opacity: 0.8;
}

.weather-main-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.weather-emoji {
    font-size: 42px;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.weather-temp {
    font-family: var(--font-accent);
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.weather-status {
    font-size: 13.5px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
}

.weather-footer-row {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    opacity: 0.9;
    font-weight: 500;
}

/* City Silhouette & Street bottom */
.hero-city-graphic {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    background-image: url('../images/home/city.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: -180px;
}

@media (min-width: 1200px) {
    .hero-city-graphic {
        height: 480px;
        margin-top: -220px;
    }
}

@media (max-width: 992px) {
    .hero-city-graphic {
        height: 280px;
        margin-top: -100px;
    }
}

@media (max-width: 576px) {
    .hero-city-graphic {
        height: 200px;
        margin-top: -55px;
    }
}

.hero-street-line {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 32px;
    background-image: url('../images/home/street.png');
    background-repeat: repeat-x;
    background-position: bottom;
}

/* ==============================================================
   Benefits Strip
   ============================================================== */
.benefits-section {
    padding: 35px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-page);
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    border-color: #e2e8f0;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.benefit-info h4 {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.benefit-info p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* ==============================================================
   Tariffs Sections (Appartments, House, AirMAX)
   ============================================================== */
.section-tariffs {
    padding: 70px 0 85px;
}

.section-tariffs.bg-alt {
    background-color: #f1f5f9;
}

.section-tariffs.bg-white {
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
}

.section-pill-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--brand-primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 17px;
    margin: 0;
}

/* Modern Segmented Switcher */
.pricing-switch-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 45px;
}

.pricing-segmented-switch {
    display: inline-flex;
    background: #e2e8f0;
    padding: 5px;
    border-radius: var(--radius-full);
    position: relative;
    user-select: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.switch-tab {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}

.switch-tab:hover {
    color: #1e293b;
}

.switch-tab.active {
    background: #ffffff;
    color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.switch-discount-tag {
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ==============================================================
   Tariff Cards Layout & Components
   ============================================================== */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .tariffs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.modern-tariff-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-tariff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

/* Special styling for Popular card */
.modern-tariff-card.card-popular {
    border: 2px solid #2563eb;
    box-shadow: var(--shadow-popular);
    transform: scale(1.02);
}

.modern-tariff-card.card-popular:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 60px -8px rgba(37, 99, 235, 0.45);
}

/* Popular Top Badge */
.popular-ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #ffffff;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 6px 20px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.4);
    z-index: 10;
    white-space: nowrap;
}

/* Card Header Colors & Layout */
.card-top {
    padding: 34px 20px 22px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    height: 154px;
    min-height: 154px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.card-top::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.theme-teal .card-top { background: var(--accent-cyan-gradient); }
.theme-coral .card-top { background: var(--accent-rose-gradient); }
.theme-royal .card-top { background: var(--accent-blue-gradient); }
.theme-emerald .card-top { background: var(--accent-emerald-gradient); }

.card-top-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-speed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-align: center;
}

.card-title {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    display: block;
}

/* Price Box */
.card-price-area {
    padding: 24px;
    text-align: center;
    background: var(--bg-page);
    border-bottom: 1px solid #f1f5f9;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price-digits {
    font-family: var(--font-accent);
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    color: var(--text-primary);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
}

.price-digits span {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-muted);
}

.price-digits.changing {
    opacity: 0.2;
    transform: scale(0.9);
}

.old-price-line {
    font-size: 16px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 4px;
    font-weight: 600;
    display: none;
}

.discount-badge-bubble {
    display: none;
    font-size: 11px;
    background: #fecdd3;
    color: #e11d48;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-top: 4px;
}

/* Feature List */
.card-features {
    padding: 24px;
    flex-grow: 1;
    list-style: none;
    margin: 0;
}

.card-features li {
    position: relative;
    padding: 10px 0 10px 32px;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid #f8fafc;
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features li strong {
    color: var(--text-primary);
}

.feature-check-icon {
    position: absolute;
    left: 0;
    top: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
}

.theme-teal .feature-check-icon { background: #0891b2; }
.theme-coral .feature-check-icon { background: #e11d48; }
.theme-royal .feature-check-icon { background: #2563eb; }
.theme-emerald .feature-check-icon { background: #059669; }

/* Card Footer CTA */
.card-bottom {
    padding: 0 24px 28px;
    margin-top: auto;
}

.btn-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.btn-card-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.theme-teal .btn-card-action { background: #0891b2; }
.theme-coral .btn-card-action { background: #e11d48; }
.theme-royal .btn-card-action { background: #2563eb; }
.theme-emerald .btn-card-action { background: #059669; }

/* AirMAX Specific Grid (2 Columns) */
.airmax-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 380px));
    gap: 28px;
    justify-content: center;
}

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

/* ==============================================================
   Services Teaser Cards (TV & Video)
   ============================================================== */
.services-section {
    padding: 70px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

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

.service-banner-card {
    border-radius: var(--radius-lg);
    padding: 36px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-banner-card.tv-banner {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.service-banner-card.video-banner {
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
}

.service-banner-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin: 0 0 10px;
}

.service-banner-card p {
    font-size: 16px;
    opacity: 0.92;
    margin-bottom: 24px;
    max-width: 440px;
}

.btn-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 12px 24px;
    background: #ffffff;
    color: #1e293b !important;
    font-weight: 700;
    border-radius: var(--radius-full);
    font-size: 14.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.btn-banner-link:hover {
    background: #f8fafc;
    transform: translateX(4px);
}

/* ==============================================================
   Contacts & Connect Section
   ============================================================== */
.contacts-section {
    padding: 85px 0;
    background: #f8fafc;
    position: relative;
}

.contacts-container-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    padding: 48px;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Smooth Highlight Pulse when clicking 'Подключить' */
.contacts-container-card.highlight-pulse {
    animation: contactPulseEffect 2.8s cubic-bezier(0.4, 0, 0.2, 1) 2;
}

@keyframes contactPulseEffect {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.6), var(--shadow-lg);
        border-color: #0284c7;
    }
    50% {
        box-shadow: 0 0 0 24px rgba(2, 132, 199, 0), var(--shadow-lg);
        border-color: #0284c7;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0), var(--shadow-lg);
        border-color: #e2e8f0;
    }
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .contacts-container-card {
        padding: 30px 20px;
    }
}

.contacts-block-title {
    font-family: var(--font-accent);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-info-box {
    background: var(--bg-page);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.office-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.office-info-item:last-child {
    margin-bottom: 0;
}

.office-info-icon {
    font-size: 20px;
    color: var(--brand-primary);
    margin-top: 2px;
}

.office-info-text strong {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.office-info-text span {
    font-size: 14.5px;
    color: var(--text-secondary);
}

.btn-yandex-maps {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #e11d48 !important;
    border: 1px solid #fecdd3;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.btn-yandex-maps:hover {
    background: #fff1f2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Legal Box with Copy action */
.legal-info-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-top: 24px;
    font-size: 13.5px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-copy-legal {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-legal:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Fast Call & Messengers Grid */
.fast-call-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-phone-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-phone-tollfree {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.btn-phone-tollfree:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
}

.btn-phone-regular {
    background: var(--bg-page);
    color: var(--text-primary) !important;
    border: 1px solid #e2e8f0;
}

.btn-phone-regular:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.phone-action-subtext {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
}

.messengers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s ease;
}

.btn-messenger.whatsapp {
    background: #25D366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-messenger.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

.btn-messenger.telegram {
    background: #229ED9;
    box-shadow: 0 4px 14px rgba(34, 158, 217, 0.25);
}

.btn-messenger.telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(34, 158, 217, 0.4);
}

.email-contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    font-size: 15px;
}

/* ==============================================================
   Footer
   ============================================================== */
.modern-footer {
    background: #0b1120;
    color: #94a3b8;
    padding: 60px 0 30px;
    font-size: 14.5px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    margin: 14px 0 0;
    line-height: 1.6;
    max-width: 320px;
    color: #cbd5e1;
}

.footer-column h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
}

/* ==============================================================
   Cookie Toast Banner
   ============================================================== */
.modern-cookie-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.modern-cookie-toast.cookie-hidden {
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}

.cookie-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: #e2e8f0;
}

.cookie-text a {
    color: #38bdf8;
    text-decoration: underline;
}

.btn-cookie-agree {
    background: var(--brand-primary);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.btn-cookie-agree:hover {
    background: var(--brand-primary-dark);
}

/* ==============================================================
   Mobile Responsiveness Tweaks
   ============================================================== */
@media (max-width: 1199px) {
    .modern-weather-card {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .hero-content-area {
        padding-top: 40px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        align-items: stretch;
    }

    .nav-menu.mobile-open {
        display: flex;
    }

    .nav-link-item a {
        padding: 12px 16px;
        text-align: center;
        justify-content: center;
        width: 100%;
        white-space: normal;
        font-size: 15.5px;
    }

    .nav-cta-btn {
        margin: 10px 0 0;
        justify-content: center;
    }

    .modern-topbar .container {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 30px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .pricing-segmented-switch {
        width: 100%;
        flex-direction: column;
        border-radius: var(--radius-lg);
    }
    .switch-tab {
        justify-content: center;
        border-radius: var(--radius-md);
    }
    .messengers-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================================
   Subpages Common Elements (Hero, Cards, App Download)
   ============================================================== */
.subpage-hero {
    background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
    color: #ffffff;
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.subpage-hero .hero-tag {
    margin-bottom: 16px;
}

.subpage-hero .subpage-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 14px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.subpage-hero .subpage-desc {
    font-size: 19px;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.92;
    line-height: 1.5;
}

/* Solutions & Cards on Subpages */
.subpage-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .subpage-grid-3 {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.solution-icon-bubble {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.solution-title {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 10px;
    line-height: 1.25;
}

.solution-price {
    font-family: var(--font-accent);
    font-size: 36px;
    font-weight: 900;
    color: var(--brand-primary);
    margin: 10px 0 20px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.solution-price span {
    font-size: 18px;
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-weight: 600;
}

.solution-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-grow: 1;
}

.solution-specs li {
    padding: 10px 0 10px 28px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid #f1f5f9;
}

.solution-specs li:last-child {
    border-bottom: none;
}

.solution-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 9px;
    color: var(--brand-primary);
    font-weight: 900;
    font-size: 16px;
}

/* QR Code Section Cards */
.qr-modern-container {
    padding: 60px 0 80px;
}

.qr-card-modern {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    padding: 36px 32px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.qr-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.qr-card-modern h3 {
    font-family: var(--font-accent);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.qr-card-modern p {
    color: var(--text-secondary);
    font-size: 14.5px;
    margin: 0 0 24px;
}

.qr-input-field {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    margin-bottom: 14px;
    box-sizing: border-box;
}

.qr-input-field:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.btn-generate-qr {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 15.5px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-generate-qr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

.qrcode-display-area {
    display: none;
    margin-top: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    border: 1px dashed #cbd5e1;
}

.qrcode-display-area img, .qrcode-display-area canvas {
    margin: 0 auto;
    display: block;
    max-width: 100%;
    border-radius: 8px;
}

/* TV Channels Showcase */
.tv-package-hero-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid #2563eb;
    overflow: hidden;
    margin-bottom: 50px;
}

.tv-package-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 36px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.tv-package-title-box h3 {
    font-family: var(--font-accent);
    font-size: 34px;
    font-weight: 900;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.tv-package-title-box p {
    margin: 0;
    font-size: 17px;
    opacity: 0.95;
}

.tv-package-price-box {
    text-align: right;
}

.tv-package-price-box .price-big {
    font-family: var(--font-accent);
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.tv-package-price-box .price-old {
    font-size: 18px;
    text-decoration: line-through;
    opacity: 0.75;
}

.tv-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
    padding: 36px 40px;
    max-height: 480px;
    overflow-y: auto;
    background: #f8fafc;
}

.channel-logo-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-logo-item:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-sm);
    border-color: #cbd5e1;
}

.channel-logo-item img {
    max-height: 42px;
    max-width: 90%;
    object-fit: contain;
}

/* TV App Downloads Strip */
.apps-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.app-download-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.app-download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.app-download-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.app-download-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.app-download-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 20px;
    flex-grow: 1;
}

.btn-download-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f1f5f9;
    color: #1e293b !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.btn-download-app:hover {
    background: var(--brand-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}
