/* =========================================
   SINGLE-LANDING.CSS — стили для страницы лендинга (Desktop first)
   ========================================= */

/* ---------- Общие стили для секций ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

section {
    padding: 120px 0;
}

h2 {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    text-align: center;
    color: var(--color-white);
    margin-bottom: 48px;
}

/* ---------- БЛОК 1: HERO ---------- */
.hero {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-black);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1296px;
    margin: 0 auto;
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}

.hero-image {
    flex: 1;
    text-align: right;
    margin-top: -280px;
    margin-right: -320px;
}

.hero-image img {
    max-width: 100%;
    z-index: 1;
    height: auto;
    display: block;
    margin-left: auto;
}

.hero-image-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    background: transparent;
    opacity: 0;
}

.hero-glow {
    position: absolute;
    width: 3258px;
    height: 1543px;
    top: -56px;
    left: 537px;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(240, 80, 12, 1), rgba(20, 20, 20, 0) 70%);
    opacity: 0.35;
    filter: blur(90px);
    border-radius: 50%;
}

.hero h1 {
    font-size: 44px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    max-width: 1058px;
    margin-bottom: 48px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-white);
    max-width: 1000px;
    margin-bottom: 48px;
    opacity: 0.9;
    line-height: 1.5;
}

/* ---------- Блок преимуществ под кнопкой (2 колонки) ---------- */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: -120px;
    position: relative;
    z-index: 0;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    max-width: 350px;
}

.hero-feature:first-child {
    flex: 0.8;
    max-width: 260px;
}

.hero-feature:last-child {
    flex: 1.2;
    max-width: 400px;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.feature-text p {
    font-size: 16px;
    color: var(--color-white-70);
    line-height: 1.4;
}

/* ---------- БЛОК2 : ПОЧЕМУ ИМЕННО K5 ИЛИ SONATA? ---------- */
.advantages {
    padding: 80px 0;
    background: var(--color-black);
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--color-white-70);
    margin-bottom: 48px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1296px;
    margin: 0 auto;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-card);
    padding: 30px 24px;
    border: 1px solid var(--color-white-10);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-white-20);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    position: relative;
    margin-bottom: 20px;
}

.card-icon img {
    width: 40px;
    height: 40px;
    display: block;
}

.advantage-card h5 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 20px;
    padding-right: 50px;
}

.advantage-card p {
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    color: var(--color-white-70);
    line-height: 1.5;
    margin: 0;
}

/* ---------- БЛОК: ОБРАТНАЯ СВЯЗЬ ---------- */
.callback-section {
    padding: 80px 0;
    background: var(--color-black);
}

.callback-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    border: 1px solid var(--color-white-10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    overflow: hidden;
    position: relative;
}

.callback-left {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.callback-image {
    position: absolute;
    top: 0;
    left: -37px;
    transform: rotate(-14deg);
    width: 100%;
    height: 100%;
}

.callback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.callback-pdf {
    position: absolute;
    top: 50%;
    left: 90%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

/* PDF ссылка — */
.pdf-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
}

.pdf-link:hover {
    transform: scale(1.05);
}

.pdf-link img {
    width: 160px;
    height: 160px;
    display: block;
}

.pdf-link span {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
}

.callback-right {
    flex: 1;
    padding: 48px 40px;
}

.callback-right h2 {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-align: left;
    margin-bottom: 12px;
}

.callback-subtitle {
    font-size: 16px;
    color: var(--color-white-70);
    margin-bottom: 32px;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input {
    width: 508px;
    padding: 24px 18px;
    background: rgba(255, 255, 255, 0.0);
    border: 1px solid var(--color-white-10);
    border-radius: 12px;
    color: var(--color-white);
    font-family: var(--font-weight-bold);
    line-height: 24px;
    letter-spacing: normal;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.01);
    color: var(--color-white);
}

.form-group input::placeholder {
    color: var(--color-white-70);
}

.phone-mask {
    letter-spacing: 0.5px;
    color: var(--color-white-70);
}

.phone-mask::placeholder {
    color: var(--color-white-70);
    opacity: 0.6;
}



.callback-form .btn-primary {
    width: 257px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.checkbox-label span {
    font-size: 12px;
    color: var(--color-white-70);
}





/* Стили для поля телефона с маской */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-prefix {
    position: absolute;
    left: 16px;
    color: var(--color-white);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.phone-input-wrapper input {
    padding-left: 45px !important;
}

/* Убираем стрелки для input type="tel" */
input[type="tel"]::-webkit-inner-spin-button,
input[type="tel"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="tel"] {
    -moz-appearance: textfield;
    appearance: textfield;
}






















/* ---------- БЛОК 3: О КОМПАНИИ ---------- */
.about {
    padding: 80px 0;
    background: var(--color-black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.about-left h2 {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

.about-right p {
    color: var(--color-white-70);
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-right p:last-child {
    margin-bottom: 0;
}

.about-right strong {
    color: var(--color-white);
}

.about-stats-bg {
    position: relative;
    padding: 200px 0;
    background-size: 120% auto;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 20px;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.1);
    z-index: 1;
}

.stats-cards {
    position: relative;
    z-index: 2;
    bottom: -120px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 60px 40px;
}

.stat-card {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.stat-number {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-white);
    line-height: 1.4;
}

/* ---------- БЛОК: КАРУСЕЛЬ ФОТОГРАФИЙ ---------- */
.fullwidth-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--color-black);
    padding: 60px 0;
}

.carousel-container {
    width: 120%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: carouselScroll 100s linear infinite;
    width: fit-content;
}



.carousel-slide {
    flex-shrink: 0;
    width: 450px;
}

.carousel-slide:nth-child(even) {
    height: 500px;
}

.carousel-slide:nth-child(odd) {
    height: 600px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.carousel-slide:hover img {
    transform: scale(1.02);
}

@keyframes carouselScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.fullwidth-carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* ---------- БЛОК: ГАЛЕРЕЯ ИЗОБРАЖЕНИЙ (MASONRY) ---------- */

/* PNG картинка под галереей — только для мобильных */
.gallery-mobile-image {
    display: none;
}

@media (max-width: 768px) {
    .gallery-mobile-image {
        display: block !important;
        text-align: center;
        margin: 20px auto;
        padding: 0 20px;
    }
    
    .gallery-mobile-image img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }
}




.image-gallery {
    padding: 60px 0;
    background: var(--color-black);
}




.gallery-title {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-align: center;
    margin-bottom: 16px;
}

.gallery-description {
    font-size: 18px;
    color: var(--color-white-70);
    text-align: center;
    margin-bottom: 48px;
}

.gallery-grid {
    column-count: 4;
    column-gap: 20px;
    width: var(--container-width);
    margin: 0% auto;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.gallery-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #1a1a1a;
    border-radius: 12px;
    line-height: 0;
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-image-link:hover .gallery-image img {
    transform: scale(1.02);
}

.gallery-caption {
    margin-top: 12px;
    font-size: 16px;
    color: var(--color-white);
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    padding-bottom: 5px;
}



/* ---------- БЛОК: РЕЙТИНГИ И СТАТИСТИКА ---------- */
.ratings-stats {
    padding: 20px 0;
    background: var(--color-black);
}

.ratings-subtitle {
    font-size: 18px;
    font-style: italic;
    color: var(--color-white-70);
    text-align: center;
    margin-bottom: 60px;
}

.ratings-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.rating-card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
    color: inherit;
}

.rating-card-link:hover {
    transform: translateY(-5px);
}

.rating-card {
    background: var(--color-white-04);
    border-radius: var(--border-radius-card);
    padding: 20px 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-white-20);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 300px;
}

.rating-card-link:hover .rating-card {
    border-color: var(--color-white-20);
    box-shadow: var(--shadow-lg);
}

.rating-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: 8px;
}

.rating-icon img {
    height: 32px;
    width: auto;
}

.rating-number {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
}

.rating-stars {
    font-size: 16px;
    color: var(--color-stars);
    letter-spacing: 2px;
}

.rating-text {
    font-size: var(--font-size-xs);
    color: var(--color-white-70);
    text-align: center;
    line-height: 1.4;
}

/* ---------- БЛОК: FAQ ---------- */
.faq-section {
    position: relative;
    padding: 80px 0;
    background: var(--color-black);
}

.hero-glow2 {
    position: absolute;
    width: 3258px;
    height: 1543px;
    top: -400px;
    left: -2000px;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(240, 80, 12, 1), rgba(20, 20, 20, 0) 70%);
    opacity: 0.35;
    filter: blur(90px);
    border-radius: 50%;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.faq-left h2 {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 20px;
    text-align: left;
}

.faq-description {
    font-size: 16px;
    color: var(--color-white-70);
    line-height: 1.5;
    margin-bottom: 30px;
}

.faq-left .btn-primary {
    min-width: 200px;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--color-white-10);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-white-20);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family-accent);
    color: var(--color-white);
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.faq-icon .faq-icon-open {
    display: none;
}

.faq-icon .faq-icon-closed {
    display: block;
}

.faq-item.active .faq-icon .faq-icon-closed {
    display: none;
}

.faq-item.active .faq-icon .faq-icon-open {
    display: block;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--color-white-70);
    font-size: 16px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 20px 24px 20px 24px;
    max-height: 500px;
}

/* ---------- БЛОК: АКЦИЯ (ГАРАНТИЯ) ---------- */
.promotion-section {
    width: 100%;
    position: relative;
    padding: 0;
}

.promotion-container {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    border-radius: var(--border-radius-card);
    overflow: hidden;
}

.promotion-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.promotion-container .promotion-wrapper {
    position: relative;
    z-index: 5;
}

.promotion-container {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.promotion-wrapper {
    width: 100%;
    margin-bottom: 60px;
}

.promotion-left {
    max-width: 600px;
    text-align: left;
}

.promotion-title {
    padding-top: 160px;
    font-size: 42px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    font-family: var(--font-family-accent);
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: left;
}

.promotion-subtitle {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 30px;
}

.promotion-features {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.promotion-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promotion-feature img {
    width: 48px;
    height: 48px;
    display: block;
}

.promotion-feature span {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-white-70);
}

/* ---------- НОВАЯ СЕКЦИЯ: ТАЙМЕР ---------- */
.timer-section {
    padding: 0px 0;
    background: var(--color-black);
}

.timer-block {
    text-align: center;
    width: 100%;
}

.timer-wrapper {
    position: relative;
    display: inline-block;
}

.promotion-timer {
    font-size: 180px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    font-family: var(--font-family-accent);
    letter-spacing: 4px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    font-variant-numeric: tabular-nums;
}

.timer-shadow-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) 20%, rgba(20, 20, 20, 0.4) 50%, #141414 76.88%);
    z-index: 2;
    pointer-events: none;
}

.timer-label {
    font-size: 14px;
    color: var(--color-white-70);
    font-style: italic;
    margin-top: 10px;
}



/* Кнопка под таймером */
.timer-btn {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Адаптив */
@media (max-width: 768px) {
    .timer-btn {
        width: 100%;
        max-width: 280px;
        margin-top: 20px;
    }
}

/* ---------- БЛОК: КАК ПРОХОДИТ РАБОТА ---------- */
.work-steps {
    padding: 80px 0 60px;
    background: var(--color-black);
}

.work-steps-title {
    font-size: 40px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-align: center;
    margin-bottom: 16px;
}

.work-steps-subtitle {
    font-size: 18px;
    color: var(--color-white-70);
    text-align: center;
    margin-bottom: 60px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: left;
    border: 1px solid var(--color-white-10);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-white-20);
    box-shadow: var(--shadow-lg);
}

.step-card-wide {
    grid-column: span 2;
    background: var(--color-accent);
}

.step-icon {
    margin-bottom: 20px;
}

.step-icon img {
    width: 48px;
    height: 48px;
    display: block;
}

.step-title {
    font-size: 20px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 16px;
    font-style: italic;
    color: var(--color-white-70);
    margin-top: auto;
}

/* ---------- БЛОК: РЕЙТИНГ И ПРИЗЫВ ---------- */
.rating-cta {
    padding: 20px 0;
    background: var(--color-black);
}

.rating-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    flex-wrap: wrap;
}

.rating-cta-left {
    flex: 1;
    max-width: 500px;
}

.rating-cta-left .yandex-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-card);
    padding: 10px 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-white-20);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-bottom: 30px;
}

.rating-cta-left .yandex-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.rating-cta-left .yandex-icon img {
    height: var(--spacing-xl);
    width: auto;
}

.rating-cta-left .rating-number {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
}

.rating-cta-left .rating-stars {
    font-size: var(--font-size-md);
    color: var(--color-stars);
    letter-spacing: 2px;
}

.rating-cta-left .rating-text {
    font-size: var(--font-size-xs);
    color: var(--color-white-70);
    margin-top: 5px;
    text-align: center;
}

.cta-title {
    font-size: 40px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 16px;
    text-align: left;
}

.cta-description {
    font-size: 20px;
    color: var(--color-white-70);
    line-height: 1.5;
    margin-bottom: 30px;
}

.rating-cta-left .btn-primary {
    min-width: 200px;
}

.rating-cta-right {
    flex: 1;
    text-align: center;
}

.rating-cta-right img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ---------- БЛОК: ПРИМЕРЫ АВТО (СЛАЙДЕР) ---------- */
.cars-slider-section {
    padding: 60px 0;
    background: var(--color-black);
    overflow: hidden;
}

.cars-slider-title {
    font-size: 40px;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-accent);
    color: var(--color-white);
    text-align: center;
    margin-bottom: 48px;
}

.cars-slider-wrapper {
    position: relative;
    max-width: 1296px;
    margin: 0 auto;
    padding: 0;
}

.cars-slider-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cars-slider-container::-webkit-scrollbar {
    display: none;
}

.cars-slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0;
}

.cars-slider-card {
    width: calc(33.333% - 60px);
    min-width: calc(33.333% - 60px);
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cars-slider-card:hover {
    transform: translateY(-5px);
}

.cars-card-link {
    text-decoration: none;
    display: block;
}

.cars-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
}

.cars-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cars-slider-card:hover .cars-card-image img {
    transform: scale(1.05);
}

.cars-card-content {
    padding: 20px 0 0 0;
}

.cars-card-title {
    font-size: 20px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin-bottom: 16px;
}

.cars-card-specs-list {
    margin-bottom: 20px;
}

.spec-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
    font-size: 14px;
}

.spec-label {
    color: var(--color-white-70);
    white-space: nowrap;
}

.spec-dots {
    flex: 1;
    border-bottom: 1px dashed var(--color-white-10);
    margin: 0 8px;
    height: 1px;
}

.spec-value {
    color: var(--color-white);
    white-space: nowrap;
}

.cars-card-prices {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    padding-top: 10px;
    border-top: 1px solid var(--color-white-10);
}

.price-block {
    flex: 1;
}

.price-block:last-child {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 12px;
    color: var(--color-white-70);
    margin-bottom: 4px;
}

.price-value {
    display: block;
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-accent);
    color: var(--color-white);
}

.cars-card-saving {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 12px;
    border-top: 1px solid var(--color-white-10);
    font-size: 16px;
}

.cars-card-saving span:first-child {
    color: var(--color-white-70);
}

.saving-value {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
}

.cars-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-white-20);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.cars-slider-btn img {
    width: 60px;
    height: 60px;
    display: block;
}

.cars-slider-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: -90px;
    right: auto;
}

.next-btn {
    right: -90px;
    left: auto;
}

/* ---------- БЛОК: МЫ В СОЦСЕТЯХ ---------- */
.social-showcase {
    position: relative;
    padding: 80px 0;
    background: var(--color-black);
}

.hero-glow3 {
    position: absolute;
    width: 3258px;
    height: 1543px;
    top: -860px;
    left: 850px;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(240, 80, 12, 1), rgba(20, 20, 20, 0) 70%);
    opacity: 0.35;
    filter: blur(90px);
    border-radius: 50%;
}

/* Контейнер с ограничением ширины */
.social-showcase .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.social-showcase-title {
    font-size: 40px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-align: center;
    margin-bottom: 48px;
}

.social-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.social-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-feature img {
    width: 24px;
    height: 24px;
    display: block;
}

.social-feature span {
    font-size: 18px;
    color: var(--color-white-70);
    white-space: nowrap;
}

.social-gallery {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-left,
.gallery-item-right {
    flex: 1;
    aspect-ratio: 3 / 4;
}

.gallery-item-center {
    flex: 1.4;
    aspect-ratio: 4 / 5;
}

.social-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--color-white);
    font-family: var(--font-family-accent);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
}

.social-gallery-caption img {
    width: 24px;
    height: 24px;
}

/* ---------- БЛОК: ЯНДЕКС КАРТА ---------- */
.yandex-map-section {
    padding: 30px 0;
    background: var(--color-black);
}

.yandex-map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 24px;
}

.yandex-map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- БЛОК: КОНТАКТЫ ---------- */
.contacts-info {
    padding: 0px 0;
    background: var(--color-black);
}

.contacts-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-block {
    flex: 1;
    min-width: 150px;
}

.contact-address {
    flex: 1.3;
    min-width: 200px;
}

.contact-title {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--color-white-70);
    margin-bottom: 8px;
}

.contact-text {
    font-size: 20px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    line-height: 1.4;
    margin: 0;
}

.contact-phone {
    font-size: 20px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.contact-phone:hover {
    color: var(--color-accent);
}

.social-icons-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon-wrapper {
    position: relative;
    display: inline-block;
}

.star-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 14px;
    color: var(--color-white-70);
    font-weight: bold;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 48px;
    height: 48px;
    display: block;
}

.social-icon:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.contact-callback-block {
    flex: 0 0 auto;
}

.contact-callback-btn {
    width: 271px;
    height: 60px;
    gap: 10px;
    border-radius: 8px;
    padding: 18px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    white-space: nowrap;
}

.contact-callback-btn:hover {
    background: #E24300;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-callback-btn .btn-icon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    min-width: 358px;
    height: 60px;
    gap: 10px;
    border-radius: 8px;
    padding: 18px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary:hover {
    background: #E24300;
    transform: translateY(0px);
    box-shadow: var(--shadow-md);
}

.btn-primary .btn-icon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-outline {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}



/* =========================================
   ПОПАП УСПЕШНОЙ ОТПРАВКИ (единый стиль с модальным окном)
   ========================================= */

/* Оверлей попапа */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Контейнер попапа */
.popup-container {
    max-width: 450px;
    width: 90%;
    margin: 20px;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Контент попапа */
.popup-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--color-white-20);
    border-radius: 24px;
    padding: 40px 35px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Кнопка закрытия попапа (крестик) */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-white-20);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.popup-close:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

.popup-close svg {
    width: 20px;
    height: 20px;
}

/* Иконка попапа */
.popup-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.popup-icon svg {
    width: 70px;
    height: 70px;
}

/* Заголовок попапа */
.popup-title {
    font-size: 28px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 16px;
    text-align: center;
}

/* Сообщение попапа */
.popup-message {
    font-size: 16px;
    color: var(--color-white-70);
    line-height: 1.5;
    margin-bottom: 32px;
    text-align: center;
}

/* Кнопка "Хорошо" */
.popup-btn {
    width: 100%;
    min-width: auto;
    padding: 16px 32px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.popup-btn:hover {
    background: #E24300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 80, 12, 0.3);
}

/* Адаптив для попапа */
@media (max-width: 768px) {
    .popup-content {
        padding: 30px 20px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-message {
        font-size: 14px;
    }
    
    .popup-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
    }
    
    .popup-icon svg {
        width: 55px;
        height: 55px;
    }
    
    .popup-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}







/* =========================================
   МОДАЛЬНОЕ ОКНО С ФОРМОЙ
   ========================================= */

/* Оверлей (полупрозрачный фон) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Контейнер модального окна */
.modal-container {
    max-width: 560px;
    width: 90%;
    margin: 20px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Контент модального окна */
.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--color-white-20);
    border-radius: 24px;
    padding: 40px 35px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Кнопка закрытия */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-white-20);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.modal-close:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

/* Заголовок модального окна - ВЫРОВНЯН ПО ЛЕВОМУ КРАЮ */
.modal-header {
    text-align: left;
    margin-bottom: 30px;
    padding-right: 30px;
}

.modal-title {
    font-size: 32px;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 12px;
    text-align: left;
}

.modal-subtitle {
    font-size: 16px;
    color: var(--color-white-70);
    line-height: 1.5;
    text-align: left;
}

/* Стили формы в модальном окне */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.modal-form .form-group {
    width: 100%;
}

.modal-form .form-group input {
    width: 100%;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-white-10);
    border-radius: 12px;
    color: var(--color-white);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modal-form .form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.modal-form .form-group input::placeholder {
    color: var(--color-white-50);
}

/* Поле телефона в модальном окне */
.modal-form .phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.modal-form .phone-prefix {
    position: absolute;
    left: 18px;
    color: var(--color-white-70);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.modal-form .phone-input-wrapper input {
    padding-left: 45px !important;
    width: 100%;
}

/* Кнопка отправки в модальном окне - РАСТЯНУТА НА ВСЮ ШИРИНУ */
.modal-form .modal-submit-btn {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
}

/* Переопределяем глобальные стили .btn-primary внутри модального окна */
.modal-content .btn-primary,
.modal-form .btn-primary {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Ссылка на политику */
.policy-link {
    color: var(--color-accent);
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
}

/* Чекбокс в модальном окне */
.modal-form .checkbox-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-top: 5px;
}

.modal-form .checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-accent);
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.modal-form .checkbox-label span {
    font-size: 12px;
    color: var(--color-white-70);
    line-height: 1.4;
}

.modal-form .checkbox-label span a {
    color: var(--color-accent);
    text-decoration: none;
}

.modal-form .checkbox-label span a:hover {
    text-decoration: underline;
}
/* Адаптив для модального окна */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
    }
    
    .modal-header {
        padding-right: 25px;
    }
}



.block-2-item__thumb img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block-2-item__thumb{
    padding-bottom: 65%;
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 32px;
    position: relative;
}
.block-2-item__text{
    font-size: 16px;
    color: #fff;
}
.block-2-item__title{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #fff;
}
.section-2{
    padding-top: 30px;
    padding-bottom: 30px;
}
.slider-2__bgimg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-2__bgimg{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}
.slider-2__item{
    position: relative;
    z-index: 1;
    color: #fff;
    min-height: 880px;
    height: 100%;
    padding: 80px 0;
}
.slider-2__text strong{
    font-size: 20px;
    font-weight: normal;
}
.slider-2__text p{
    margin-bottom: 20px;
}
.slider-2__text{
    font-size: 16px;
}
.slider-2__title{
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 12px;
}
.slider-2__bgimg:before {
    content: '';
    position: absolute;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0%) 0%, #000000 100%);
    left: 0;
    right: 0;
    height: 50%;
    bottom: 0;
}







@media (max-width: 1199px){
    .slider-2__item{
        min-height: 650px;
    }
}
@media (max-width: 991px){
    .is-horizontal.is-ltr .f-button.is-arrow.is-prev,
    .is-horizontal.is-ltr .f-button.is-arrow.is-next{
        display: none;
    }
}
@media (max-width: 575px){
    .block-2-item__thumb{
        margin-bottom: 24px;
    }
    .block-2-item__text{
        font-size: 14px;
    }
    .block-2-item__title{
        font-size: 16px;
    }
    .slider-2__bgimg img{
        position: absolute;
        left: 0;
        top: 0;
    }
    .slider-2__bgimg{
        position: relative;
        padding-bottom: 70%;
        overflow: hidden;
        border-radius: 24px;
        z-index: 1;
        margin-bottom: 24px;
    }
    .slider-2__bgimg:before {
        display: none;
    }
    .slider-2__text strong{
        font-size: 16px;
    }
    .slider-2__text{
        font-size: 14px;
    }
    .slider-2__wrap{
        padding: 0 var(--spacing-xl);
    }
    .slider-2__title{
        font-size: 22px;
    }
    .slider-2__item{
        padding: 0;
    }
}




