        :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-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.hero-copy {
    text-align: left;
}

.hero h1 {
    font-size: 56px;
    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: 20px;
    max-width: 620px;
    margin: 0 0 40px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

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

/* ---------- Hero visual scene (замена видео) ----------
   Лёгкая CSS/SVG-анимация вместо тяжёлого видео: курьер едет по треку,
   вокруг всплывают иконки заказов. Работает в цвете темы через
   var(--primary), одинаковый код для Еды и Лавки. */
.hero-visual {
    position: relative;
    height: 420px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(var(--primary-rgb), 0.14), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.hero-visual-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.35) 0%, rgba(var(--primary-rgb), 0) 70%);
    filter: blur(10px);
    animation: heroGlowPulse 6s ease-in-out infinite;
}

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

.hero-visual-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-visual-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-track {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 22%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.35) 0,
        rgba(255, 255, 255, 0.35) 10px,
        transparent 10px,
        transparent 22px
    );
}

.hero-rider {
    position: absolute;
    bottom: 22%;
    left: 8%;
    animation: heroRiderMove 7s ease-in-out infinite;
}

@keyframes heroRiderMove {
    0%   { left: 8%; }
    45%  { left: 70%; }
    50%  { left: 70%; }
    95%  { left: 8%; }
    100% { left: 8%; }
}

.hero-rider-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--light-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--black);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.5);
    transform: translateY(-50%);
    animation: heroRiderBounce 0.6s ease-in-out infinite alternate;
}

@keyframes heroRiderBounce {
    from { transform: translateY(-50%) translateY(0); }
    to   { transform: translateY(-50%) translateY(-6px); }
}

.hero-rider-shadow {
    width: 44px;
    height: 10px;
    margin: 4px auto 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    filter: blur(3px);
    animation: heroShadowPulse 0.6s ease-in-out infinite alternate;
}

@keyframes heroShadowPulse {
    from { transform: scale(1); opacity: 0.35; }
    to   { transform: scale(0.7); opacity: 0.2; }
}

.hero-float {
    position: absolute;
    font-size: 26px;
    opacity: 0;
    animation: heroFloatUp 6s ease-in infinite;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.hero-float-1 { left: 15%; bottom: 10%; animation-delay: 0s; }
.hero-float-2 { left: 30%; bottom: 8%;  animation-delay: 1s; }
.hero-float-3 { left: 48%; bottom: 12%; animation-delay: 2s; }
.hero-float-4 { left: 63%; bottom: 6%;  animation-delay: 3s; }
.hero-float-5 { left: 78%; bottom: 10%; animation-delay: 4s; }
.hero-float-6 { left: 88%; bottom: 8%;  animation-delay: 5s; }

@keyframes heroFloatUp {
    0%   { opacity: 0; transform: translateY(0) scale(0.7); }
    15%  { opacity: 1; transform: translateY(-20px) scale(1); }
    80%  { opacity: 0.9; transform: translateY(-140px) scale(1); }
    100% { opacity: 0; transform: translateY(-170px) scale(0.8); }
}

.hero-visual-caption {
    position: absolute;
    left: 20px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-visual-caption i {
    color: var(--primary);
}

.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);
}

/* ---------- Новый калькулятор ---------- */
.calc-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
}

.calc-card-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.calc-field {
    margin-bottom: 28px;
}

.calc-field:last-child {
    margin-bottom: 0;
}

.calc-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 600;
    color: var(--white);
    font-size: 15px;
    margin-bottom: 14px;
}

.calc-field-label i {
    color: var(--primary);
    margin-right: 6px;
}

.calc-field-value {
    margin-left: auto;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
}

.calc-type-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
}

.calc-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    text-align: center;
}

.calc-type-btn i {
    font-size: 20px;
}

.calc-type-btn:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
    color: var(--white);
}

.calc-type-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--light-accent));
    border-color: transparent;
    color: var(--black);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
}

.calc-toggle-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.calc-toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.calc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.calc-toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.calc-toggle-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.calc-toggle input:checked + .calc-toggle-slider {
    background: var(--primary);
}

.calc-toggle input:checked + .calc-toggle-slider::before {
    transform: translateX(20px);
}

.calc-toggle-title {
    font-weight: 600;
    color: var(--white);
    font-size: 14px;
}

.calc-toggle-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.calc-result {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.calc-result-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
}

.calc-result-amount {
    font-size: 44px;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    line-height: 1.1;
    word-break: break-word;
}

.calc-result-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.calc-chip {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 6px;
}

.calc-chip-value {
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    word-break: break-word;
}

.calc-chip-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.calc-result-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
    text-align: left;
}

.calc-result-details i {
    color: var(--primary);
    width: 18px;
}

.calc-cta {
    width: 100%;
    justify-content: center;
}

/* 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;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .income-badges {
        justify-content: center;
    }

    .hero-visual {
        height: 320px;
    }

    .calc-card-grid {
        grid-template-columns: 1fr;
    }

    .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;
    }

    .hero-visual {
        height: 240px;
        border-radius: 20px;
    }

    .hero-visual-caption {
        font-size: 11px;
        padding: 6px 10px;
        left: 12px;
        bottom: 12px;
    }

    .hero-rider-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .hero-float {
        font-size: 20px;
    }

    .calc-card {
        padding: 24px 18px;
    }

    .calc-type-buttons {
        grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
        gap: 8px;
    }

    .calc-type-btn {
        padding: 10px 4px;
        font-size: 11px;
    }

    .calc-result-amount {
        font-size: 34px;
    }

    .calc-result-chips {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .calc-chip {
        padding: 8px 4px;
    }

    .calc-chip-value {
        font-size: 12px;
    }
    
    /* 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;
    }

    /* Калькулятор на самых узких экранах */
    .calc-type-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .calc-result-chips {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .calc-chip-value {
        font-size: 11px;
    }

    .calc-chip-label {
        font-size: 10px;
    }

    .calc-result-amount {
        font-size: 30px;
    }

    .hero-visual {
        height: 200px;
    }
}

@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;
    }
}
