        :root {
    --primary: #007BFF;
    --dark: #0056b3;
    --light-accent: #4da8ff;
    --primary-rgb: 0, 123, 255;
    --light-accent-rgb: 77, 168, 255;
    --black: #0F0F0F;
    --dark-gray: #1A1A1A;
    --medium-gray: #2A2A2A;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* Жёлтая тема — Яндекс Еда. Те же переменные, другие значения,
   поэтому вся остальная вёрстка ниже не знает о существовании тем. */
body[data-theme="eda"] {
    --primary: #FFB800;
    --dark: #C98F00;
    --light-accent: #FFD54F;
    --primary-rgb: 255, 184, 0;
    --light-accent-rgb: 255, 213, 79;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--light-gray);
    background-color: var(--black);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Анимированный фон с падающими иконками */
#animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(145deg, #0a0a0a 0%, #111111 50%, #0c0c0c 100%);
}

.floating-icon {
    position: absolute;
    top: -50px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 6px;
    opacity: 0.1;
    animation: floatDown linear infinite;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    font-family: 'Manrope', sans-serif;
}

@keyframes floatDown {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.12;
    }
    90% {
        opacity: 0.12;
    }
    100% {
        transform: translateY(110vh) translateX(20px) rotate(180deg);
        opacity: 0;
    }
}

/* Glass эффекты */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Header */
header {
    padding: 25px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--white);
    font-size: 26px;
    font-family: 'Manrope', sans-serif;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.logo-text .sub {
    font-size: 12px;
    color: var(--light-accent);
    font-weight: 600;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

nav a:hover:after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Manrope', sans-serif;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.income-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.income-badge {
    padding: 15px 25px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 12px;
    min-width: 200px;
}

.income-badge .amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Manrope', sans-serif;
}

.income-badge .type {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Calculator Section */
.calculator {
    padding: 100px 0;
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-form {
    padding: 40px;
    margin-bottom: 40px;
}

.calculator-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--white);
    font-size: 16px;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
    transition: var(--transition);
}

.select-wrapper:hover:after {
    color: var(--white);
}

.styled-select {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.styled-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.styled-select option {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 10px;
}

.slider-container {
    margin-top: 10px;
}

.styled-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--black);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.styled-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--black);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.slider-value {
    margin-top: 10px;
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    padding: 8px 15px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
    display: inline-block;
}

.calculator-result {
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.result-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.result-amount {
    font-size: 72px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Manrope', sans-serif;
    line-height: 1;
}

.result-details {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    margin-bottom: 70px;
    color: var(--white);
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--light-accent) 100%);
    margin: 20px auto 0;
    border-radius: 5px;
}

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

.service-card {
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    height: 100%;
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--light-accent-rgb), 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-accent) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    color: var(--white);
    gap: 15px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Заглушка, если реальное фото ещё не загружено в static/image/photo/ */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--medium-gray);
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Stats Section */
.stats {
    padding: 100px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--light-accent-rgb), 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Manrope', sans-serif;
    line-height: 1;
}

.stat-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
}

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

.benefit-card {
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--light-accent-rgb), 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-accent) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

/* Comparison Section */
.comparison {
    padding: 100px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.comparison-table th {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 20px;
    text-align: left;
    color: var(--white);
    font-weight: 600;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.3);
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.comparison-table tr:hover {
    background: rgba(var(--primary-rgb), 0.05);
}

.yes {
    color: #4CAF50 !important;
    font-weight: 600;
}

.no {
    color: #f44336 !important;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(var(--primary-rgb), 0.1);
}

.faq-question h3 {
    font-size: 20px;
    color: var(--white);
    margin: 0;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer p {
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-question {
    background: rgba(var(--primary-rgb), 0.1);
}

.faq-icon {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 30px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ========== УЛУЧШЕННАЯ МОБИЛЬНАЯ АДАПТАЦИЯ ДЛЯ ЛАВКИ ========== */

/* Базовые мобильные стили */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 52px;
    }
    
    .result-amount {
        font-size: 60px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .service-card h3 {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Header адаптация */
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .logo {
        justify-content: center;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 0 10px;
    }
    
    nav a {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Hero адаптация */
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
        padding: 0 10px;
    }
    
    .income-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .income-badge {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
    }
    
    .income-badge .amount {
        font-size: 24px;
    }
    
    /* Calculator адаптация */
    .calculator-form {
        padding: 25px;
    }
    
    .calculator-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .styled-select {
        padding: 12px 45px 12px 15px;
        font-size: 15px;
    }
    
    .result-amount {
        font-size: 48px;
    }
    
    /* Services адаптация */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-card h3 {
        font-size: 22px;
    }
    
    /* Gallery адаптация */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    /* Stats адаптация */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-text {
        font-size: 16px;
    }
    
    /* Benefits адаптация */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 25px 20px;
    }
    
    /* Comparison адаптация */
    .comparison-table {
        font-size: 14px;
        min-width: 600px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px;
    }
    
    /* FAQ адаптация */
    .faq-question h3 {
        font-size: 18px;
        padding-right: 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer p {
        font-size: 15px;
        padding: 15px 0;
    }
    
    /* Footer адаптация */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column ul li a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .copyright p {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 50px;
    }
    
    .section-title:after {
        width: 60px;
        height: 4px;
        margin-top: 15px;
    }
    
    .calculator-form, .calculator-result {
        padding: 20px;
    }
    
    .result-amount {
        font-size: 40px;
    }
    
    .result-title {
        font-size: 20px;
    }
    
    .result-details {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .copyright p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* Comparison table адаптация для маленьких экранов */
    .comparison-table {
        font-size: 12px;
        min-width: 500px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 400px) {
    .logo-text .main {
        font-size: 20px;
    }
    
    .logo-text .sub {
        font-size: 10px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .income-badge .amount {
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 350px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    nav a {
        font-size: 13px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 14px;
    }
}

/* Горизонтальная ориентация на мобильных */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .income-badges {
        margin-top: 25px;
    }
    
    .income-badge {
        min-width: 180px;
        padding: 10px 15px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
}

/* Эффект появления элементов */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Переключатель города в хедере */
.city-switcher {
    width: auto;
    min-width: 160px;
    margin-right: 10px;
}

.city-switcher .styled-select {
    padding: 10px 38px 10px 16px;
    font-size: 14px;
}

@media (max-width: 900px) {
    .city-switcher {
        display: none;
    }
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
    }
    
    nav {
        display: none;
        width: 100%;
        margin-top: 20px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    nav a {
        display: block;
        padding: 12px;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    
    nav a:hover {
        background: rgba(var(--primary-rgb), 0.1);
    }
    
    /* Стили для скролла таблицы сравнения на мобильных */
    .comparison .glass-effect {
        padding: 15px;
        overflow-x: auto;
    }
}
