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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.spot-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #1a237e, transparent);
    top: -200px;
    left: -100px;
    animation-duration: 18s;
    animation-delay: 0s;
}

.spot-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #0d47a1, transparent);
    top: 50%;
    right: -100px;
    animation-duration: 22s;
    animation-delay: -4s;
}

.spot-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #1565c0, transparent);
    bottom: -300px;
    left: 30%;
    animation-duration: 26s;
    animation-delay: -9s;
}

.spot-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #1976d2, transparent);
    top: 20%;
    left: 40%;
    animation-duration: 19s;
    animation-delay: -14s;
}

.spot-5 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #1e88e5, transparent);
    bottom: 20%;
    right: 30%;
    animation-duration: 24s;
    animation-delay: -6s;
}

.spot-6 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #42a5f5, transparent);
    top: 60%;
    left: 10%;
    animation-duration: 21s;
    animation-delay: -11s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.65;
    }
    25% {
        transform: translate(50px, 50px) scale(1.1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-30px, 80px) scale(0.9);
        opacity: 0.55;
    }
    75% {
        transform: translate(70px, -40px) scale(1.05);
        opacity: 0.65;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.header-container {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 95%;
    max-width: 1400px;
}

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

.logo-container {
    flex-shrink: 0;
}

.logo-img {
    width: 100px;
    height: 80px;
    display: block;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
    margin: -10px 0;
}

.logo-img:hover {
    transform: scale(1.08);
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4a7bc8, #6a9ae8, #4a7bc8);
    transition: left 0.45s cubic-bezier(0.76,0,0.24,1);
    z-index: -1;
}

.nav a:hover::before,
.nav a.active::before {
    left: 0;
}

.nav a:hover,
.nav a.active {
    color: white;
    box-shadow: 0 5px 15px rgba(74, 123, 200, 0.4);
}

.nav a:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.contact-info {
    text-align: right;
}

.phone-link, .address-link {
    text-decoration: none;
    color: white;
    transition: color 0.25s ease, transform 0.4s cubic-bezier(0.4,0,0.2,1);
    display: block;
}

.phone-link:hover, .address-link:hover {
    color: #6a9ae8;
}

.phone {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.address {
    font-size: 14px;
    opacity: 0.9;
}

.language-section {
    position: relative;
}

/* Кнопки WhatsApp и Telegram в шапке — фирменные цвета, чёткие SVG-логотипы */
.header-wa-btn, .header-tg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff !important;
    margin-right: 0.55rem;
    transition: transform 0.2s;
}
.header-wa-btn:hover, .header-tg-btn:hover { transform: scale(1.08); }
.header-wa-btn { background: #25D366; }
.header-tg-btn { background: #229ED9; }
.header-wa-btn svg, .header-tg-btn svg { width: 19px; height: 19px; display: block; }

.nav-lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), color 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    min-width: 80px;
    justify-content: space-between;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4a7bc8, #6a9ae8, #4a7bc8);
    transition: left 0.45s cubic-bezier(0.76,0,0.24,1);
    z-index: -1;
}

.nav-lang-btn:hover::before {
    left: 0;
}

.nav-lang-btn:hover {
    color: white;
    box-shadow: 0 5px 15px rgba(74, 123, 200, 0.4);
}

.nav-lang-btn:active {
    transform: scale(0.97) !important;
    transition: transform 0.12s ease;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0.3s ease;
    min-width: 150px;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, padding-left 0.3s cubic-bezier(0.4,0,0.2,1), color 0.2s ease;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-option:hover {
    background: rgba(74, 123, 200, 0.3);
    padding-left: 1.5rem;
    color: #a0c4ff;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 80px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, #6a9ae8, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4a7bc8, #6a9ae8);
    z-index: -1;
    transition: filter 0.3s ease;
}

.hero-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.7s cubic-bezier(0.4,0,0.2,1);
    z-index: -1;
}

.hero-btn i {
    display: inline-block;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.hero-btn:hover i {
    transform: translateX(6px);
}

.hero-btn:hover::after {
    left: 100%;
}

.catalog-btn::before {
    background: linear-gradient(90deg, #4a7bc8, #6a9ae8);
}

.conditions-btn::before {
    background: linear-gradient(90deg, #6a9ae8, #4a7bc8);
}

.hero-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 25px rgba(74, 123, 200, 0.4);
}

.hero-btn:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
}

.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.hero-image-card {
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-gradient {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.gradient-1 {
    background: linear-gradient(135deg, rgba(74, 123, 200, 0.3), rgba(106, 154, 232, 0.3));
}

.gradient-2 {
    background: linear-gradient(135deg, rgba(106, 154, 232, 0.3), rgba(74, 123, 200, 0.3));
}

.car-silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(10% 0%, 90% 0%, 100% 20%, 100% 80%, 90% 100%, 10% 100%, 0% 80%, 0% 20%);
    border-radius: 10px;
}

/* Improved Scrolling Text */
.scrolling-text-container {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scrolling-track {
    display: flex;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.scrolling-content {
    display: flex;
    gap: 3rem;
    padding: 0 2rem;
}

.scrolling-item {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), background 0.3s ease, box-shadow 0.3s ease;
}

.scrolling-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(74, 123, 200, 0.3);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Premium Cars Section */
.premium-cars {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #6a9ae8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.premium-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.premium-car-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), box-shadow 0.45s cubic-bezier(0.4,0,0.2,1), border-color 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.premium-car-card .car-header {
    flex-shrink: 0;
}

.premium-car-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(74, 123, 200, 0.3);
    border-color: rgba(74, 123, 200, 0.5);
}

.car-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.3);
    flex-wrap: nowrap;
    min-height: 110px;
}

.car-header h3 {
    font-size: 1.3rem;
    color: white;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.car-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.car-badge.premium {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
}

.car-badge.business {
    background: linear-gradient(135deg, #4a7bc8, #6a9ae8);
    color: white;
}

.car-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.car-image.mercedes {
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a);
}

.car-image.bmw {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.car-image.audi {
    background: linear-gradient(135deg, #1a1a1a, #3a3a3a);
}

.car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1);
}

.premium-car-card:hover .car-overlay {
    opacity: 1;
}

.car-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.car-rent-btn {
    background: linear-gradient(135deg, #4a7bc8, #6a9ae8);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), filter 0.25s ease;
}

.car-rent-btn:hover {
    transform: scale(1.07);
    filter: brightness(1.1);
}

.car-rent-btn:active {
    transform: scale(0.96);
    transition: transform 0.12s ease;
}

.car-features {
    padding: 1.5rem;
    display: flex;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.2);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature i {
    color: #6a9ae8;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(15px);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: white;
}

.footer-description {
    margin-top: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-stats {
    display: flex;
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #6a9ae8;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav-btn {
    color: white;
    text-decoration: none;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), color 0.25s ease, box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.footer-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4a7bc8, #6a9ae8);
    transition: left 0.45s cubic-bezier(0.76,0,0.24,1);
    z-index: -1;
}

.footer-nav-btn:hover::before {
    left: 0;
}

.footer-nav-btn:hover {
    color: white;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(74, 123, 200, 0.3);
}

.footer-nav-btn:active {
    transform: scale(0.98);
    transition: transform 0.12s ease;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), color 0.25s ease;
    padding: 0.5rem 0;
}

.contact-link:hover {
    color: #6a9ae8;
}

.contact-link i {
    display: inline-block;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), color 0.25s ease;
}
.contact-link:hover i {
    transform: scale(1.2) rotate(-5deg);
    color: #6a9ae8;
}

.contact-link p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0;
}

.offerta-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.offerta-btn:hover {
    background: rgba(74, 123, 200, 0.25);
    border-color: rgba(106, 154, 232, 0.5);
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(74, 123, 200, 0.3);
}

.offerta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s cubic-bezier(0.4,0,0.2,1);
}
.offerta-btn:hover::after {
    left: 100%;
}
.offerta-btn:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: filter 0.3s ease;
    z-index: -1;
}

.social-btn.instagram::before {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.whatsapp::before {
    background: #25D366;
}

.social-btn.telegram::before {
    background: #0088cc;
}

.social-btn:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 14px 30px rgba(0,0,0,0.5);
}

.social-btn:hover::before {
    filter: brightness(1.2);
}

.social-btn:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .premium-cars-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}
/* Стили для каталога */
.catalog-hero {
    padding: 180px 0 110px;
    position: relative;
    z-index: 10;
}

.catalog-hero h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #fff, #6a9ae8, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 3s infinite linear;
}

/* Стили для фильтров */
.filters-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.custom-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: space-between;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
}

.dropdown-toggle:hover {
    background: rgba(106, 154, 232, 0.15);
    border-color: rgba(106, 154, 232, 0.4);
    box-shadow: 0 4px 16px rgba(106, 154, 232, 0.15);
}

.dropdown-toggle:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
}

.dropdown-toggle .fa-chevron-down {
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.dropdown-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: rgba(12, 16, 35, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255,255,255,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top center;
    transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1),
                transform 0.3s cubic-bezier(0.34,1.2,0.64,1),
                visibility 0s linear 0.3s;
    z-index: 2000;
    border: 1px solid rgba(106, 154, 232, 0.2);
    overflow: hidden;
    padding: 4px 0;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1),
                transform 0.3s cubic-bezier(0.34,1.2,0.64,1),
                visibility 0s linear 0s;
}

.dropdown-menu.show .dropdown-item {
    animation: dropdown-item-in 0.3s cubic-bezier(0.4,0,0.2,1) both;
}
.dropdown-menu.show .dropdown-item:nth-child(1) { animation-delay: 0.04s; }
.dropdown-menu.show .dropdown-item:nth-child(2) { animation-delay: 0.09s; }
.dropdown-menu.show .dropdown-item:nth-child(3) { animation-delay: 0.14s; }
.dropdown-menu.show .dropdown-item:nth-child(4) { animation-delay: 0.19s; }
.dropdown-menu.show .dropdown-item:nth-child(5) { animation-delay: 0.24s; }

@keyframes dropdown-item-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1.2rem;
    border: none;
    background: none;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, padding-left 0.3s cubic-bezier(0.4,0,0.2,1), color 0.2s ease;
    position: relative;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(106, 154, 232, 0.15);
    color: #a0c4ff;
    padding-left: 1.6rem;
}

.dropdown-item.active {
    background: rgba(106, 154, 232, 0.12);
    color: #6a9ae8;
    font-weight: 600;
}

.reset-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.4s ease, color 0.25s ease;
}

.reset-btn:hover {
    background: rgba(255, 80, 80, 0.2);
    border-color: rgba(255, 100, 100, 0.5);
    box-shadow: 0 5px 15px rgba(200, 50, 50, 0.2);
    color: #ff9090;
}

.reset-btn:hover i {
    animation: spin-once 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes spin-once {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

.reset-btn:active {
    transform: scale(0.96);
    transition: transform 0.12s ease;
}

.filter-results {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Сетка автомобилей */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.car-card-detailed {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), box-shadow 0.45s cubic-bezier(0.4,0,0.2,1), border-color 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    animation: card-appear 0.55s cubic-bezier(0.4,0,0.2,1) both;
}

.car-card-detailed:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(74, 123, 200, 0.35);
    border-color: rgba(106, 154, 232, 0.6);
}

.car-image-detailed {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    user-select: none;
    -webkit-user-select: none;
}

.car-image-detailed img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}

.car-card-detailed:hover .car-image-detailed img {
    transform: scale(1.07);
}

.car-card-detailed .car-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4a7bc8, #6a9ae8);
    color: white;
}

.city-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    backdrop-filter: blur(10px);
}

.car-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.car-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.car-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.car-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-item i {
    color: #6a9ae8;
    width: 16px;
}

.detail-label {
    color: rgba(255, 255, 255, 0.6);
    min-width: 50px;
}

.detail-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.price-with-deposit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.6rem;
}

.price-main {
    font-size: 1.3rem;
    font-weight: bold;
    color: #6a9ae8;
}

.deposit-small {
    font-size: 0.85rem;
    color: #6a9ae8;
    margin-top: 0.2rem;
}

.price-details {
    margin-top: 0.5rem;
}

.price-period {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.period-label {
    color: rgba(255, 255, 255, 0.7);
}

.period-price {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.period-price.discount {
    color: #6a9ae8;
}

.rent-btn {
    width: 100%;
    background: linear-gradient(135deg, #4a7bc8, #6a9ae8);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    margin-top: auto;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}

.rent-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(74, 123, 200, 0.4);
}

.rent-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4,0,0.2,1);
}
.rent-btn:hover::after {
    left: 100%;
}
.rent-btn:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(30, 30, 30, 0.95);
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 920px;
    height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), background 0.25s ease;
}

.modal-close:hover {
    background: rgba(200, 50, 50, 0.75);
    transform: rotate(90deg) scale(1.15);
}
.modal-close:active {
    transform: rotate(90deg) scale(0.9);
    transition: transform 0.12s ease;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.modal-gallery {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.main-image {
    height: 300px;
    min-height: 300px;
    overflow: hidden;
}

.modal-car-image {
    width: 100%;
    height: 100%;
}

.modal-car-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.image-thumbnails {
    display: flex;
    padding: 0.5rem;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
    flex-shrink: 0;
}

.thumbnail {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), border-color 0.25s ease, box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}

.thumbnail.active {
    border-color: #6a9ae8;
}

.thumbnail:hover {
    border-color: rgba(106, 154, 232, 0.7);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(74, 123, 200, 0.4);
}
.thumbnail:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.modal-info {
    padding: 1.4rem 1.6rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-info h2 {
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
    color: white;
}

.modal-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.9rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.modal-specs {
    margin-bottom: 1rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    transition: background 0.25s ease;
    border-radius: 8px;
    padding: 0.3rem 0.5rem;
}

.spec-item i {
    color: #6a9ae8;
    font-size: 0.85rem;
    display: inline-block;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), color 0.25s ease;
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.spec-item:hover i {
    transform: scale(1.3) rotate(-10deg);
}

.modal-price-section {
    margin-bottom: 1rem;
}

.additional-hours {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.additional-hours i {
    color: #6a9ae8;
    font-size: 1.1rem;
}

.additional-hours-label {
    color: rgba(255, 255, 255, 0.7);
    flex-grow: 1;
    font-size: 0.9rem;
}

.additional-hours-value {
    color: #6a9ae8;
    font-weight: bold;
    font-size: 1rem;
}

.discounts-block {
    margin-bottom: 0.7rem;
}

.discounts-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.4s ease;
}

.discounts-toggle:hover {
    background: rgba(74, 123, 200, 0.2);
    border-color: rgba(106, 154, 232, 0.5);
    box-shadow: 0 3px 10px rgba(74, 123, 200, 0.2);
}

.discounts-toggle:active {
    transform: scale(0.98);
    transition: transform 0.12s ease;
}
.discounts-toggle .fa-chevron-down {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.discounts-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.discounts-content {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.discounts-content.show {
    max-height: 600px;
    opacity: 1;
    margin-top: 1rem;
}

.discounts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.periods-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.periods-header {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.period-header, .price-header {
    flex: 1;
    font-weight: bold;
    color: white;
    text-align: center;
}

.period-header {
    text-align: left;
}

.period-row {
    display: flex;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background 0.25s ease, padding-left 0.3s cubic-bezier(0.4,0,0.2,1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.period-row:last-child {
    border-bottom: none;
}

.period-row:hover, .period-row.active {
    background: rgba(74, 123, 200, 0.1);
    border-left: 3px solid #6a9ae8;
}

.period-cell, .price-cell {
    flex: 1;
    padding: 0.3rem 0;
}

.period-cell {
    color: rgba(255, 255, 255, 0.9);
}

.price-cell {
    color: #6a9ae8;
    font-weight: bold;
    text-align: center;
}

.modal-features {
    margin-bottom: 1rem;
}

.modal-features h3 {
    color: white;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.modal-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 0.5rem;
}

.modal-features li {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.83rem;
}

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

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-rent-btn,
.modal-contact-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), filter 0.25s ease;
    font-size: 1rem;
}

.modal-rent-btn {
    background: linear-gradient(135deg, #4a7bc8, #6a9ae8);
    color: white;
}

.modal-contact-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-rent-btn:hover {
    transform: scale(1.04);
    filter: brightness(1.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.modal-contact-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.modal-rent-btn:active,
.modal-contact-btn:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
}

/* Сообщение об отсутствии результатов */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.3);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

/* Адаптивность для каталога */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-gallery {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .main-image {
        height: 195px;
        flex-shrink: 0;
    }

    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-actions {
        flex-direction: column;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .dropdown-toggle {
        min-width: auto;
    }

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

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

    .periods-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .period-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* Hero Sections для разных страниц */
.conditions-hero, .contacts-hero, .documents-hero {
    padding: 180px 0 80px;
    position: relative;
    text-align: center;
}

.conditions-hero h1, .contacts-hero h1, .documents-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #6a9ae8, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 3s infinite linear;
}

.conditions-hero p, .contacts-hero p, .documents-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Стили для условий */
.conditions {
    padding: 4rem 0;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.condition-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), box-shadow 0.45s cubic-bezier(0.4,0,0.2,1), border-color 0.35s ease;
    text-align: center;
}

.condition-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(74, 123, 200, 0.3);
    border-color: rgba(74, 123, 200, 0.5);
}

.condition-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #6a9ae8;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), color 0.3s ease;
}

.condition-card:hover .condition-icon {
    transform: scale(1.25) rotate(-8deg);
    color: #a0c4ff;
}

.condition-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.condition-card ul {
    list-style: none;
    text-align: left;
}

.condition-card li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.condition-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6a9ae8;
    font-weight: bold;
}

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

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.faq-item.active {
    border-color: rgba(106, 154, 232, 0.4);
    background: rgba(106, 154, 232, 0.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease, transform 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    border-radius: 12px;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #6a9ae8, #4a7bc8);
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    transform-origin: top;
}

.faq-item.active .faq-question::before {
    transform: scaleY(1);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.07);
}

.faq-item.active .faq-question {
    color: #6a9ae8;
    background: rgba(74, 123, 200, 0.1);
}

.faq-question i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
                background 0.3s ease,
                color 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: rgba(106, 154, 232, 0.2);
    color: #6a9ae8;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 1.5rem;
    padding-bottom: 0;
    transition: grid-template-rows 0.45s cubic-bezier(0.4,0,0.2,1),
                padding-bottom 0.45s cubic-bezier(0.4,0,0.2,1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    overflow: hidden;
    min-height: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.38s cubic-bezier(0.4,0,0.2,1) 0.08s,
                transform 0.38s cubic-bezier(0.4,0,0.2,1) 0.08s;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для контактов */
.contacts {
    padding: 4rem 0;
}

.team-section {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), box-shadow 0.45s cubic-bezier(0.4,0,0.2,1), border-color 0.35s ease;
    text-align: center;
}

.team-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(74, 123, 200, 0.3);
    border-color: rgba(74, 123, 200, 0.5);
}

.team-card:hover .photo-placeholder {
    border-color: rgba(106, 154, 232, 0.6);
    box-shadow: 0 0 20px rgba(74, 123, 200, 0.3);
    transform: scale(1.05);
}

.team-photo {
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.35s ease, box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

.team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.team-position {
    color: #6a9ae8;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Контактные карточки */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), box-shadow 0.45s cubic-bezier(0.4,0,0.2,1), border-color 0.35s ease;
}

.contact-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(74, 123, 200, 0.3);
    border-color: rgba(74, 123, 200, 0.5);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card .contact-icon {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), color 0.3s ease;
}
.contact-card:hover .contact-icon {
    transform: scale(1.3) translateY(-4px);
    color: #a0c4ff;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-card p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Градиенты для карточек */
.gradient-1 {
    background: linear-gradient(135deg, rgba(74, 123, 200, 0.1), rgba(106, 154, 232, 0.1));
}

.gradient-2 {
    background: linear-gradient(135deg, rgba(106, 154, 232, 0.1), rgba(74, 123, 200, 0.1));
}

.gradient-3 {
    background: linear-gradient(135deg, rgba(74, 200, 123, 0.1), rgba(106, 232, 154, 0.1));
}

.gradient-4 {
    background: linear-gradient(135deg, rgba(200, 74, 123, 0.1), rgba(232, 106, 154, 0.1));
}

/* Форма обратной связи */
.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

.form-container p {
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4a7bc8, #6a9ae8);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), filter 0.25s ease;
    font-size: 1rem;
}

.submit-btn:hover {
    transform: scale(1.04);
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(74, 123, 200, 0.4);
}

.submit-btn:active {
    transform: scale(0.97);
    transition: transform 0.12s ease;
}

/* Карта */
.map-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.map-placeholder {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
}

.map-info {
    padding: 1.5rem 0 0;
    text-align: center;
}

.map-info i {
    font-size: 2rem;
    color: #6a9ae8;
    margin-bottom: 1rem;
}

.map-info p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.map-info span {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: block;
}

.office-hours {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.office-hours h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.office-hours p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* Стили для документации */
.document-content {
    padding: 4rem 0;
}

.document-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.document-section {
    margin-bottom: 3rem;
}

.document-section:last-child {
    margin-bottom: 0;
}

.document-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
    border-bottom: 2px solid rgba(106, 154, 232, 0.5);
    padding-bottom: 0.5rem;
}

.document-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.document-section ul {
    list-style: none;
    margin: 1rem 0;
}

.document-section li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.document-section li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6a9ae8;
    font-weight: bold;
}

.company-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-details p {
    margin-bottom: 0.5rem;
}

.document-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.document-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .conditions-hero h1, .contacts-hero h1, .documents-hero h1 {
        font-size: 2.5rem;
    }

    .conditions-grid, .team-grid, .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        grid-template-columns: 1fr;
    }

    .faq-section, .document-container {
        padding: 2rem 1.5rem;
    }

    .document-section h2 {
        font-size: 1.5rem;
    }

    .team-card, .contact-card, .form-container, .map-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .conditions-hero, .contacts-hero, .documents-hero {
        padding: 150px 0 60px;
    }

    .conditions-hero h1, .contacts-hero h1, .documents-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
/* Стили для контейнера цен и долгосрочной аренды */
.pricing-container {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.periods-table-container {
    flex: 1;
    min-width: 0;
}

.long-term-container {
    flex: 1;
    min-width: 0;
}

.long-term-card {
    background: rgba(74, 123, 200, 0.1);
    border: 1px solid rgba(74, 123, 200, 0.3);
    border-radius: 12px;
    padding: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.long-term-icon {
    font-size: 2rem;
    color: #6a9ae8;
    margin-bottom: 15px;
    text-align: center;
}

.long-term-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 12px;
    text-align: center;
}

.long-term-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.long-term-card .modal-contact-btn {
    width: 100%;
    background: linear-gradient(135deg, #4a7bc8, #6a9ae8);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.long-term-card .modal-contact-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(74, 123, 200, 0.4);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        gap: 15px;
    }

    .periods-table-container,
    .long-term-container {
        width: 100%;
    }

    .long-term-card {
        padding: 15px;
    }

    .long-term-card h3 {
        font-size: 1.2rem;
    }

    .long-term-description {
        font-size: 0.9rem;
    }
}

/* =============================================
   НЕДОСТАЮЩИЕ КЛАССЫ МАКЕТА КАТАЛОГА
   ============================================= */

.compact-filters {
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
}

.filters-top-row {
    margin-bottom: 1rem;
}

.search-box.compact {
    margin-bottom: 0;
    width: 100%;
}

.search-box.left-aligned {
    margin-left: 0;
    margin-right: auto;
}

.filter-buttons.full-width {
    width: 100%;
    flex-wrap: wrap;
}

.filter-results.compact {
    margin-top: 0.8rem;
    text-align: left;
}

.reset-btn.compact {
    padding: 0.8rem 1rem;
}

/* Input focus styles */
.search-box input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(106, 154, 232, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(74, 123, 200, 0.15);
    transition: all 0.3s ease;
}

.search-box input {
    transition: all 0.3s ease;
}

/* Results count */
#resultsCount {
    font-weight: 600;
    color: #6a9ae8;
}

/* Card appear animation */
@keyframes card-appear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Section CTA button */
.section-cta-btn {
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.4s cubic-bezier(0.4,0,0.2,1),
                border-color 0.25s ease;
}
.section-cta-btn::before { transition: left 0.5s cubic-bezier(0.76,0,0.24,1); }
.section-cta-btn:hover   { transform: scale(1.04); }
.section-cta-btn:active  { transform: scale(0.97); transition: transform 0.12s ease; }
.section-cta-btn i {
    display: inline-block;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.section-cta-btn:hover i { transform: translateX(7px); }

/* CTA buttons */
.cta-btn {
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.4s cubic-bezier(0.4,0,0.2,1),
                filter 0.25s ease;
}
.cta-btn:active { transform: scale(0.96) !important; transition: transform 0.12s ease; }


/* Advantage cards */
.advantage-card {
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.45s cubic-bezier(0.4,0,0.2,1),
                border-color 0.35s ease,
                background 0.35s ease;
}
.advantage-card:hover { transform: scale(1.03); }
.advantage-icon-wrap {
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1),
                background 0.3s ease,
                box-shadow 0.3s ease;
}
.advantage-card:hover .advantage-icon-wrap { transform: scale(1.15) rotate(-8deg); }

/* Step cards */
.step {
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.45s cubic-bezier(0.4,0,0.2,1),
                border-color 0.35s ease;
}
.step:hover { transform: scale(1.03); }
.step-icon-wrap {
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1),
                background 0.3s ease,
                box-shadow 0.3s ease;
}
.step:hover .step-icon-wrap { transform: scale(1.15) rotate(8deg); }

/* Reveal animations */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
                transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal-item.visible { opacity: 1; transform: translateY(0); }

/* Hero animations */
.hero-animate-left  { animation: slide-in-left  0.9s cubic-bezier(0.4,0,0.2,1) 0.15s forwards; }
.hero-animate-right { animation: slide-in-right 0.9s cubic-bezier(0.4,0,0.2,1) 0.35s forwards; }

/* =============================================
   ГЛАВНАЯ СТРАНИЦА — НОВЫЕ СТИЛИ
   ============================================= */

/* --- Hero eyebrow label --- */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6a9ae8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: #6a9ae8;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(106, 154, 232, 0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(106, 154, 232, 0); }
}

/* --- Hero stats --- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.hero-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: inline-block;
}

.hero-stat-suffix {
    font-size: 1.8rem;
    font-weight: 800;
    color: #6a9ae8;
    display: inline-block;
    margin-top: -2.5rem;
    margin-left: 0;
    align-self: flex-start;
    position: relative;
    top: 0;
}

/* reflow suffix as part of the number row */
.hero-stat {
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0;
}

.hero-stat-num,
.hero-stat-suffix {
    line-height: 1;
    margin: 0;
}

.hero-stat-suffix {
    font-size: 1.8rem;
    color: #6a9ae8;
    margin-bottom: 0.05rem;
    margin-left: 2px;
}

.hero-stat-label {
    width: 100%;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.25rem;
    letter-spacing: 0.03em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* --- Hero outline button --- */
.hero-btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.hero-btn-outline::before {
    background: rgba(255,255,255,0.08) !important;
}

.hero-btn-outline:hover {
    border-color: rgba(106, 154, 232, 0.6);
    box-shadow: 0 10px 25px rgba(74, 123, 200, 0.2) !important;
}

/* --- Hero Showcase card --- */
.hero-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-card {
    position: relative;
    width: 420px;
    height: 420px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    overflow: visible;
}

/* Rotating rings */
.showcase-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(106, 154, 232, 0.15);
    pointer-events: none;
}

.ring-1 {
    width: 340px;
    height: 340px;
    animation: ring-rotate 20s linear infinite;
    border-style: dashed;
    border-color: rgba(106, 154, 232, 0.2);
}

.ring-2 {
    width: 480px;
    height: 480px;
    animation: ring-rotate 30s linear infinite reverse;
    border-color: rgba(106, 154, 232, 0.1);
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Big car icon */
.showcase-car-icon {
    font-size: 7rem;
    color: rgba(106, 154, 232, 0.7);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 30px rgba(74, 123, 200, 0.5));
    animation: car-float 4s ease-in-out infinite;
}

@keyframes car-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

.showcase-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    text-align: center;
    padding: 0 2rem;
}

/* Floating badges */
.showcase-badge {
    position: absolute;
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(106, 154, 232, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.showcase-badge i {
    color: #6a9ae8;
}

.badge-top-left {
    top: 28px;
    left: -20px;
    animation: badge-float 3.5s ease-in-out infinite;
}

.badge-top-right {
    top: 28px;
    right: -20px;
    animation: badge-float 4s ease-in-out infinite 0.5s;
}

.badge-bottom {
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    animation: badge-float 3s ease-in-out infinite 1s;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0) translateX(var(--tx, 0)); }
    50%       { transform: translateY(-6px) translateX(var(--tx, 0)); }
}

.badge-bottom {
    --tx: -50%;
}

/* --- Hero entrance animations --- */
.hero-animate-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: slide-in-left 0.9s ease 0.2s forwards;
}

.hero-animate-right {
    opacity: 0;
    transform: translateX(40px);
    animation: slide-in-right 0.9s ease 0.4s forwards;
}

@keyframes slide-in-left {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
    to { opacity: 1; transform: translateX(0); }
}

/* --- Scroll reveal system --- */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Advantages Section --- */
.advantages {
    padding: 5rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.advantage-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a7bc8, #6a9ae8, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.advantage-card:hover {
    transform: scale(1.03);
    border-color: rgba(74, 123, 200, 0.4);
    box-shadow: 0 20px 50px rgba(74, 123, 200, 0.2);
    background: rgba(255,255,255,0.07);
}

.advantage-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(74, 123, 200, 0.15);
    border: 1px solid rgba(74, 123, 200, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #6a9ae8;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon-wrap {
    background: rgba(74, 123, 200, 0.25);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(74, 123, 200, 0.3);
}

.advantage-card h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.8rem;
}

.advantage-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- How it works Section --- */
.how-it-works {
    padding: 5rem 0;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
    position: relative;
}

.step:hover {
    transform: scale(1.03);
    border-color: rgba(74, 123, 200, 0.4);
    box-shadow: 0 20px 50px rgba(74, 123, 200, 0.2);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(74, 123, 200, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: Arial, sans-serif;
    letter-spacing: -0.02em;
}

.step-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(74, 123, 200, 0.15);
    border: 1px solid rgba(74, 123, 200, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: #6a9ae8;
    transition: all 0.3s ease;
}

.step:hover .step-icon-wrap {
    background: rgba(74, 123, 200, 0.25);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 123, 200, 0.3);
}

.step h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.8rem;
}

.step p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    padding-top: 3.5rem;
    flex-shrink: 0;
}

.connector-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(74, 123, 200, 0.3), rgba(106, 154, 232, 0.6), rgba(74, 123, 200, 0.3));
}

.connector-arrow {
    color: #6a9ae8;
    font-size: 0.9rem;
    margin-left: 4px;
    opacity: 0.7;
}

/* --- Section CTA button --- */
.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.section-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4a7bc8, #6a9ae8);
    transition: left 0.4s ease;
    z-index: -1;
}

.section-cta-btn:hover::before {
    left: 0;
}

.section-cta-btn:hover {
    border-color: transparent;
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(74, 123, 200, 0.4);
}

.section-cta-btn i {
    transition: transform 0.3s ease;
}

.section-cta-btn:hover i {
    transform: translateX(5px);
}

/* --- Car image icon (placeholder) --- */
.car-image {
    position: relative;
}

.car-image-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255,255,255,0.12);
    transition: all 0.3s ease;
    pointer-events: none;
}

.premium-car-card:hover .car-image-icon {
    color: rgba(106, 154, 232, 0.25);
    transform: translate(-50%, -55%) scale(1.1);
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 123, 200, 0.12), rgba(106, 154, 232, 0.08), rgba(74, 123, 200, 0.12));
    border-top: 1px solid rgba(74, 123, 200, 0.2);
    border-bottom: 1px solid rgba(74, 123, 200, 0.2);
}

.cta-content {
    position: relative;
    text-align: center;
}

.cta-icon {
    font-size: 3.5rem;
    color: #6a9ae8;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(74, 123, 200, 0.5));
    animation: car-float 4s ease-in-out infinite;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #4a7bc8, #6a9ae8);
    color: white;
    box-shadow: 0 8px 25px rgba(74, 123, 200, 0.4);
}

.cta-btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 40px rgba(74, 123, 200, 0.5);
}

.cta-btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.cta-btn-whatsapp:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    filter: brightness(1.1);
}

.cta-btn-telegram {
    background: #0088cc;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.cta-btn-telegram:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.4);
    filter: brightness(1.1);
}

/* --- Responsive for new sections --- */
@media (max-width: 900px) {
    .showcase-card {
        width: 320px;
        height: 320px;
    }

    .showcase-car-icon {
        font-size: 5rem;
    }

    .ring-2 {
        width: 380px;
        height: 380px;
    }

    .step-connector {
        display: none;
    }

    .steps-container {
        gap: 1.2rem;
    }
}

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

    .hero-showcase {
        display: none;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-num {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

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

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

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn {
        justify-content: center;
    }
}

/* =============================================
   КАСТОМНЫЙ СКРОЛЛБАР
   ============================================= */

/* Глобальный скроллбар страницы */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 14, 30, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3a6bc0, #2a4fa0);
    border-radius: 4px;
    border: 1px solid rgba(106, 154, 232, 0.15);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4a7bc8, #3a6bc0);
}

::-webkit-scrollbar-corner {
    background: rgba(10, 14, 30, 0.8);
}

/* Скроллбар внутри модального окна */
.modal-info::-webkit-scrollbar {
    width: 5px;
}

.modal-info::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 16px 16px 0;
}

.modal-info::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4a7bc8, #2a4fa0);
    border-radius: 3px;
}

.modal-info::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6a9ae8, #4a7bc8);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #3a6bc0 rgba(10, 14, 30, 0.8);
}

.modal-info {
    scrollbar-width: thin;
    scrollbar-color: #4a7bc8 rgba(255, 255, 255, 0.03);
}

/* =============================================
   ГАМБУРГЕР + ФОРМ-КЛАССЫ (глобально)
   ============================================= */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    z-index: 1100;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Phone link — только внутри мобильного меню */
.nav-mobile-phone { display: none; }

/* Partnership form rows */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* =============================================
   ДОБАВЛЕНО v1.5: галерея, кнопки, отзывы 2GIS
   ============================================= */

/* Стрелки галереи в карточке машины */
.main-image { position: relative; }
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 16, 35, 0.55);
    color: #fff;
    font-size: 1rem;
    transition: background 0.2s;
}
.gallery-arrow:hover { background: rgba(12, 16, 35, 0.85); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* Кнопки в карточке машины */
.modal-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: stretch; }
.modal-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    border: 1px solid rgba(106, 154, 232, 0.5);
    color: #6a9ae8;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.modal-call-btn:hover { background: rgba(106, 154, 232, 0.12); }
.modal-tg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 158, 217, 0.5);
    color: #229ED9;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.modal-tg-btn:hover { background: rgba(34, 158, 217, 0.12); }

/* Плавная лента фото в галерее (v1.6) */
.modal-car-image { overflow: hidden; }
.modal-car-image .gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s ease;
}
.modal-car-image .gallery-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    display: block;
}

/* Даты аренды и «Итого» в карточке (v1.6) */
.rental-dates {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.9rem 0;
}
.rental-dates label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}
.rental-dates input[type="date"] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(106, 154, 232, 0.35);
    border-radius: 10px;
    padding: 0.5rem 0.7rem;
    color: #fff;
    font-family: inherit;
    color-scheme: dark;
}
.rental-total {
    width: 100%;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}
.rental-total b { color: #6a9ae8; font-size: 1.15rem; }

/* Плашки-преимущества под заголовком hero (v1.5.1) */
.hero-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0.4rem;
    padding: 0;
    list-style: none;
}
.hero-perks li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(106, 154, 232, 0.25);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
}
.hero-perks li i { color: #6a9ae8; }

/* Строка с ценой в hero */
.hero-price-note {
    margin-top: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}
.hero-price-note i { color: #6a9ae8; margin-right: 0.4rem; }

/* Блок отзывов 2GIS */
.reviews-cta { padding: 2rem 0 3rem; }
.reviews-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: rgba(30, 34, 60, 0.55);
    border: 1px solid rgba(106, 154, 232, 0.25);
    backdrop-filter: blur(12px);
}
.reviews-stars {
    color: #ffc93c;
    font-size: 1.6rem;
    letter-spacing: 0.35rem;
    margin-bottom: 0.8rem;
}
.reviews-card h2 { margin-bottom: 0.5rem; }
.reviews-card p { color: rgba(255, 255, 255, 0.75); margin-bottom: 1.4rem; }
.reviews-card .reviews-btn { display: inline-flex; }

/* Кнопка 2GIS в подвале */
.social-btn.twogis { background: #2e9e44; }

/* =============================================
   АДАПТИВКА — ПЛАНШЕТЫ И МОБИЛЬНЫЕ (≤768px)
   ============================================= */
@media (max-width: 768px) {

    /* --- Hamburger visible --- */
    .hamburger { display: flex; }

    /* --- Header --- */
    .header { top: 8px; }
    .header-container { padding: 0.65rem 1rem; width: 96%; border-radius: 12px; }
    .header-content { flex-direction: row; justify-content: space-between; align-items: center; gap: 0; flex-wrap: nowrap; }
    .logo-img { width: 72px; height: 56px; margin: -6px 0; }
    /* На мобильном прячем только телефон/адрес, переключатель языка оставляем */
    .contact-info { display: none; }
    .header-content { justify-content: flex-start; }
    .logo-container { order: 1; margin-right: auto; }
    .header-right { order: 2; display: flex; align-items: center; }
    .hamburger { order: 3; margin-left: 0.75rem; }
    .header-wa-btn, .header-tg-btn {
        width: 38px;
        height: 38px;
        margin-right: 0.5rem;
    }
    .header-wa-btn svg, .header-tg-btn svg { width: 20px; height: 20px; }

    /* --- Nav — мобильное выпадающее меню --- */
    .header-container { position: relative; }
    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        background: rgba(12, 16, 35, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 14px;
        border: 1px solid rgba(106, 154, 232, 0.25);
        flex-direction: column;
        gap: 0;
        padding: 6px;
        box-shadow: 0 16px 48px rgba(0,0,0,0.55);
        z-index: 1050;
        animation: none;
    }
    .nav.open { display: flex; }
    .nav a {
        padding: 0.85rem 1.2rem;
        border-radius: 10px;
        font-size: 1rem;
        text-align: left;
        white-space: normal;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav a:last-child { border-bottom: none; }
    .nav a::before { display: none; } /* убираем hover-фон слайдер на мобиле */

    /* Phone в мобильном меню */
    .nav-mobile-phone {
        display: flex !important;
        align-items: center;
        gap: 0.6rem;
        color: #6a9ae8 !important;
        font-weight: 600;
        border-top: 1px solid rgba(106,154,232,0.2) !important;
        margin-top: 4px;
        padding-top: 0.9rem !important;
    }

    /* --- Hero sections --- */
    .conditions-hero, .contacts-hero, .documents-hero {
        padding: 100px 0 40px;
    }
    .conditions-hero h1, .contacts-hero h1, .documents-hero h1 {
        font-size: 1.9rem;
    }
    .catalog-hero { padding: 100px 0 130px; }
    .catalog-hero h1 { font-size: 1.9rem; margin-bottom: 1.2rem; }

    /* --- Filters --- */
    .filters-section { padding: 1.2rem; margin-bottom: 1.5rem; }
    .filters-section.compact-filters { padding: 1rem; }
    .filter-buttons { flex-direction: column; gap: 0.5rem; }
    .dropdown-toggle { width: 100%; min-width: unset; }
    .reset-btn { width: 100%; justify-content: center; }
    .search-box input { font-size: 0.95rem; }

    /* --- Catalog grid --- */
    .catalog-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* --- Modal — почти полный экран --- */
    .modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        margin: 2.5vh auto 0;
        border-radius: 16px 16px 0 0;
    }
    .modal-body { grid-template-columns: 1fr; height: auto; overflow: visible; }
    .modal-gallery {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .main-image { height: 195px; flex-shrink: 0; }
    .image-thumbnails {
        flex-shrink: 0;
        padding: 0.5rem 0.7rem;
        gap: 0.4rem;
        background: rgba(0,0,0,0.5);
    }
    .thumbnail { width: 46px; height: 46px; }
    .modal-info { padding: 1rem 1.1rem; }
    .modal-info h2 { font-size: 1.3rem; }
    .modal-info > p { font-size: 0.85rem; }
    .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 0.35rem; }
    .spec-item { font-size: 0.8rem; }
    .modal-features ul { grid-template-columns: 1fr; }
    .pricing-container { flex-direction: column; gap: 10px; }
    .modal-actions { flex-direction: column; gap: 0.6rem; }

    /* --- Partnership form --- */
    .form-row-2 { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }

    /* --- Conditions/Contacts grids --- */
    .conditions-grid { grid-template-columns: 1fr; }
    .contact-form-section { grid-template-columns: 1fr; }

    /* --- Advantages (index) --- */
    .advantages-grid { grid-template-columns: 1fr; }
    .steps-container { gap: 1rem; }
    .step-connector { display: none; }

    /* --- Footer --- */
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-nav { flex-direction: column; gap: 0.4rem; }
    .footer-description { font-size: 0.9rem; }
    .footer-stats { gap: 1rem; }

    /* --- Scrolling banner --- */
    .scrolling-item { font-size: 0.9rem; padding: 0.5rem 1rem; }

    /* --- Sections общее --- */
    .section-header h2 { font-size: 1.7rem; }
    .container { padding: 0 1rem; }
}

/* =============================================
   АДАПТИВКА — МАЛЕНЬКИЕ ТЕЛЕФОНЫ (≤480px)
   ============================================= */
@media (max-width: 480px) {

    .header-container { border-radius: 10px; }
    .logo-img { width: 60px; height: 46px; }

    /* Hero */
    .conditions-hero, .contacts-hero, .documents-hero { padding: 90px 0 30px; }
    .conditions-hero h1, .contacts-hero h1, .documents-hero h1 { font-size: 1.6rem; }
    .catalog-hero { padding: 90px 0 115px; }
    .catalog-hero h1 { font-size: 1.5rem; }
    .hero-title { font-size: 1.9rem !important; }
    .hero-eyebrow { font-size: 0.75rem; }

    /* Modal */
    .main-image { height: 160px; }
    .spec-grid { grid-template-columns: 1fr; }
    .modal-info { padding: 0.8rem 0.9rem; }

    /* Cards */
    .condition-card, .contact-card, .team-card { padding: 1.2rem; }
    .advantage-card { padding: 1.2rem; }

    /* Sections */
    .section-header h2 { font-size: 1.5rem; }
    .faq-question { padding: 1.1rem; font-size: 0.95rem; }

    /* Pricing in modal */
    .price-main { font-size: 1.2rem; }

    /* Document section */
    .document-container { padding: 1.5rem 1rem; }
}