@font-face {
    font-family: 'Garet';
    src: url('/fonts/garet.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Стили для прелоадера */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 120px;
    height: 120px;
    position: relative;
    animation: rotate 2s linear infinite;
}

.loader-circle {
    width: 100%;
    height: 100%;
    border: 10px solid transparent;
    border-top-color: #e74c3c;
    border-radius: 50%;
    position: absolute;
    animation: rotate 1.5s linear infinite;
}

.loader-circle:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: #ffffff;
    animation-duration: 2s;
}

.loader-circle:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: #e74c3c;
    animation-duration: 2.5s;
}

.loader-text {
    position: absolute;
    bottom: -40px;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Скрываем основной контент до загрузки */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    font-family: 'Garet', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    font-size: var(--base-font-size);
}

body.loaded {
    opacity: 1;
}

:root {
    --background-color: #f5f5f5;
    --header-color: #222222;
    --text-color: #2c3e50;
    --primary-color: #009aff;
    --dropdown-bg: #2c3e50;
    --base-font-size: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Garet', sans-serif;
    font-weight: normal;
}

h1 {
    font-size: 2.0rem;
}

h2 {
    font-size: 2.0rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.0rem;
}

h6 {
    font-size: 1.1rem;
}

.header {
    background-color: #000000;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    height: 235px; /* Фиксированная высота для десктопа */
}

.header-top {
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 180px;
    margin-right: 0;
}

.contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.phones {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.phone-number {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.0rem;
}

.address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.0rem;
}

.nav-menu {
    padding: 0.2rem 0;
}

.nav-list {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dropdown-bg);
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    transform: translateX(0);
    font-size: 1.2rem;
}

.dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .contact-info {
        display: none;
    }

    .nav-list {
        display: none;
    }

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

    .nav-menu.active .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--header-color);
        padding: 1rem;
        animation: slideDown 0.3s ease;
    }

    .dropdown-content {
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding-left: 1rem;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: all 0.3s ease;
    }

    .nav-item:hover .dropdown-content {
        opacity: 1;
        max-height: 500px;
        transform: none;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }

    .logo img {
        height: 96px;
    }

    .header-top {
        padding: 0.12rem 0;
    }

    .nav-menu {
        padding: 0.12rem 0;
    }
}

/* Стили для слайдера */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-wrapper {
    display: flex;
    gap: 16px;
    padding: 0 16px;
    transform: translateX(calc(-100% - 16px));
    transition: transform 0.3s ease-out;
}

.slider-item {
    flex: 0 0 auto;
    width: calc(100% - 32px);
    min-width: calc(100% - 32px);
}

/* Стили для кнопок */
.action-buttons {
    display: flex;
    gap: 1rem;
}

.action-button {
    display: inline-block;
    min-width: 180px; /* Фиксированная ширина для обеих кнопок */
    padding: 10px 20px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.call-button {
    background-color: #e74c3c;
    color: white;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
}

.hero-text {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    /* Убираем тень */
    text-shadow: none;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

    .action-button {
        width: 100%;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
    text-transform: uppercase;
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tab-button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    background: #e9ecef;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.time-left {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-bid, .btn-notify {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-bid {
    background: var(--primary-color);
    color: white;
}

.btn-notify {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.btn-bid:hover {
    background: #2980b9;
}

.btn-notify:hover {
    background: #e9ecef;
}

/* Стили для секции преимуществ */
.advantages-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: white;
    position: relative;
    overflow: visible;
}

.advantages-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3.5rem;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.advantage-item {
    text-align: left;
    padding: 2.0rem;
    background: #1a1a1a;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: left;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: #222222;
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-item h3 {
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    position: relative;
}

.advantage-item p {
    font-size: 1.2rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.advantage-address {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: #cccccc;
}

.advantage-address i {
    color: #e74c3c;
    margin-right: 0.5rem;
}

@media (max-width: 1200px) {
    .advantages-section h2 {
        font-size: 2.5rem;
    }

    .advantage-item h3 {
        font-size: 1.6rem;
    }

    .advantage-item p {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .advantages-section {
        padding: 4rem 0;
    }

    .advantage-item {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .advantage-item {
        min-height: 300px;
    }
}

/* Стили для секции схемы покупки */
.purchase-scheme-section {
    padding: 6rem 0;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.purchase-scheme-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(231, 76, 60, 0.1) 0%, rgba(41, 128, 185, 0.1) 100%);
    pointer-events: none;
}

.purchase-scheme-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: white;
    font-weight: 700;
    position: relative;
}

.scheme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.scheme-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.scheme-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.scheme-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.scheme-icon {
    font-size: 2rem;
    color: white;
}

.scheme-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #e74c3c;
}

.scheme-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.scheme-description {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .purchase-scheme-section {
        padding: 4rem 0;
    }

    .scheme-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .purchase-scheme-section h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
}

.button-group {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .hero-header-title {
        font-size: 3.5rem;
    }

    .hero-header-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .button-group {
        justify-content: center;
    }

    .hero-right {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 120px; /* Уменьшенная высота для мобильных */
    }

    .hero-form {
        background: #fff;
        border-radius: 20px;
        padding: 25px 20px;
        margin: 0 15px 40px 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-form h2 {
        color: #000;
        font-size: 22px;
        font-weight: 600;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 35px;
        background: none;
        box-shadow: none;
        padding: 0 15px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 20px;
        margin-top: 70px; /* Увеличиваем верхний отступ */
    }

    .hero-buttons {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        margin-top: 30px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .hero-buttons .btn-whatsapp {
        width: 88%;
        padding: 15px 20px;
        font-size: 16px;
        margin-top: 15px;
    }

    .hero-header-title {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }

    .hero-header-subtitle {
        font-size: 1.3rem;
    }

    .button-group {
        flex-direction: column;
    }

    /* Добавляем затемняющий оверлей */
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.7) 100%
        );
        z-index: 1;
    }

    .hero-section {
        background-image: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.7) 100%
        ), url('/images/fullhd_mob.webp');
        background-position: center -100px;
        background-size: 150% auto; /* Увеличиваем размер для мобильных устройств */
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .header {
        height: 100px; /* Еще меньше для самых маленьких экранов */
    }

    .hero-section {
        background-size: 200% auto; /* Увеличиваем масштаб фона */
        background-position: center 60px;
    }

    .hero-header-title {
        font-size: 1.8rem;
    }

    .hero-header-subtitle {
        font-size: 1.1rem;
    }

    .hero-content {
        margin-top: 50px; /* Корректируем отступ для маленьких экранов */
        padding: 15px;
    }

    .hero-buttons {
        gap: 12px;
    }
}

/* Стили для страницы контактов */
.contacts-section {
    padding: 10% 0 5% 0;
    background: #1a1a1a; /* Темный фон */
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    background: #e74c3c; /* Красный цвет */
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header i {
    font-size: 1.8rem;
}

.card-header h2 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.card-content {
    padding: 8%;
    background: #ffffff;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item i {
    font-size: 1.8rem;
    color: #e74c3c; /* Красный цвет */
    width: 24px;
    text-align: center;
}

.info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 600;
}

.info-text p, .info-text a {
    font-size: 1.2rem;
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.info-text a:hover {
    color: #e74c3c; /* Красный цвет при наведении */
}

.whatsapp-link {
    color: #25D366 !important;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.requisites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.requisite-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.requisite-item:hover {
    background: #e9ecef;
}

.requisite-item .label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.requisite-item .value {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
}

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

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

@media (max-width: 768px) {
    .contacts-section {
        padding: 30% 0;
    }

    .contacts-section .container {
        padding: 0 15px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .contact-info-card {
        padding: 20px;
        border-radius: 15px;
    }

    .contact-info-card .card-header h2 {
        font-size: 20px;
    }

    .contact-info-card .card-header i {
        font-size: 24px;
        margin-right: 10px;
    }

    .info-item {
        margin-bottom: 15px;
        padding: 10px;
    }

    .info-item i {
        font-size: 20px;
        min-width: 30px;
    }

    .info-text h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .info-text p,
    .info-text a {
        font-size: 15px;
    }

    .requisites-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .requisite-item {
        padding: 12px;
    }

    .requisite-item .label {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .requisite-item .value {
        font-size: 15px;
    }

    .map-container {
        margin-top: 30px;
    }

    .map-container h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .map-wrapper {
        height: 300px;
        border-radius: 15px;
        overflow: hidden;
    }

    .map-wrapper iframe {
        height: 100% !important;
    }

    .contact-info-card.full-width {
        grid-column: 1;
    }

    .whatsapp-link {
        padding: 10px 15px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .info-item {
        padding: 8px;
    }

    .requisite-item {
        padding: 10px;
    }

    .map-wrapper {
        height: 250px;
    }

    .contact-info-card .card-header h2 {
        font-size: 18px;
    }

    .info-text h3 {
        font-size: 15px;
    }

    .info-text p,
    .info-text a {
        font-size: 14px;
    }
}

/* Стили для футера */
.footer {
    background: #1a1a1a; /* Темный фон */
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #e74c3c; /* Темно-красный цвет */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-contacts i {
    color: #e74c3c; /* Темно-красный цвет */
    font-size: 1.1rem;
}

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

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #e74c3c; /* Темно-красный цвет */
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #e74c3c; /* Темно-красный цвет при наведении */
}

.footer-nav a:hover::before {
    transform: translateY(-50%) scale(1.5);
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.2);
}

/* Специфичные цвета для каждой соцсети при наведении */
.social-link:hover .fa-whatsapp {
    color: #25D366;
}

.social-link:hover .fa-telegram {
    color: #0088cc;
}

.social-link:hover .fa-vk {
    color: #4C75A3;
}

.social-link:hover .fa-youtube {
    color: #FF0000;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(231, 76, 60, 0.2); /* Полупрозрачный темно-красный бордер */
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
}

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

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

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-contacts li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Стили для страницы авто под пошлину */
.customs-hero {
    padding: 400px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/images/fullhd.webp');
    background-size: cover;
    background-position: center;
    color: white;
}

.customs-hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.customs-info h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #e74c3c;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

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

.benefit-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.customs-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(121, 121, 121, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-form-title {
    color: #000000;
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 25px;
    font-weight: 800;
    width: 100%;
}

.customs-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 5px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    color: #000;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #e74c3c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-control::placeholder {
    color: #666;
    font-weight: 400;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 18px 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.submit-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

@media (max-width: 768px) {
    .customs-form-section {
        padding: 20px 15px;
        background: transparent;
    }

    .form-wrapper {
        margin: 0;
        padding: 20px;
        background: #fff;
        border-radius: 20px;
        box-shadow: none;
    }

    .form-wrapper h2 {
        position: static;
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #000;
        background: none;
        box-shadow: none;
        padding: 0;
        width: 100%;
    }

    .customs-form {
        gap: 15px;
    }

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

    .form-group label {
        display: none;
    }

    .form-control {
        padding: 15px;
        font-size: 1.2rem;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        width: 100%;
        margin-bottom: 10px;
    }

    .form-control::placeholder {
        color: #666;
        font-size: 1.2rem;
    }

    textarea.form-control {
        min-height: 100px;
        resize: none;
    }

    .submit-btn {
        background: #FF0A0A;
        color: #fff;
        padding: 15px;
        font-size: 1.2rem;
        border-radius: 8px;
        width: 100%;
        margin-top: 25px;
        font-weight: 500;
    }

    .privacy-notice {
        font-size: 12px;
        color: #666;
        text-align: center;
        margin-top: 10px;
    }

    .privacy-notice a {
        color: #666;
        text-decoration: underline;
    }
}

@media (max-width: 480px) {
    .customs-form-section {
        padding: 15px 10px;
    }

    .form-wrapper {
        padding: 15px;
    }

    .form-wrapper h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
}

/* Стили для галереи привезенных автомобилей */
.delivered-cars-section {
    padding: 6rem 0;
    background: #1a1a1a;
}

.delivered-cars-section .section-title {
    color: white;
    margin-bottom: 3rem;
}

.cars-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    background: #ffffff;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    padding: 1.5rem;
    background: white;
    text-align: center;
}

.gallery-caption h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 600;
}

/* Адаптивность для галереи */
@media (max-width: 992px) {
    .cars-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cars-gallery {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .delivered-cars-section {
        padding: 4rem 0;
    }

    .gallery-image {
        height: 200px;
    }
}

/* Базовые стили для предотвращения горизонтальной прокрутки */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Обновляем стили контейнера */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Обновляем стили сеток */
.contacts-grid,
.cars-gallery,
.advantages-grid,
.benefits-grid {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Обновляем стили для форм */
.form-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .contacts-grid,
    .cars-gallery,
    .advantages-grid,
    .benefits-grid {
        padding: 0 0.5rem;
    }

    .benefits-grid {
        grid-template-columns: auto;
    }

    .form-wrapper {
        padding: 1.5rem;
    }
}

/* Стили для секции команды */
.team-section {
    padding: 6rem 0;
    background: #1a1a1a;
    position: relative;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-member {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 15px;
}

.member-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-photo img.loaded {
    opacity: 1;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.member-photo img.loaded + .image-placeholder {
    display: none;
}

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

.lazy-image {
    will-change: opacity;
}

@media (max-width: 768px) {
    .member-photo {
        padding-bottom: 100%;
        margin-bottom: 10px;
    }
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-info .position {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-phone {
    padding-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    margin-right: 1rem;
}

.member-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.member-whatsapp:hover {
    color: #128C7E;
}

.member-whatsapp i {
    font-size: 1rem;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .team-section {
        padding: 4rem 0;
    }

    .member-photo {
        height: 250px;
    }

    .member-info {
        padding: 1.5rem;
    }
}

.catalog-section {
    padding: 6rem 0;
    background: #f5f5f5;
}

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

.market-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.cars-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.car-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: calc(33.333% - 2rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car-item:hover {
    transform: translateY(-10px);
}

.car-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.car-info {
    padding: 1rem;
    text-align: center;
}

.car-info h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 600;
}

.car-info p, .car-info span {
    color: #666;
    margin: 0.5rem 0;
}

.want-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.want-button:hover {
    background-color: #c0392b;
}

@media (max-width: 992px) {
    .car-item {
        width: calc(50% - 2rem);
    }
}

@media (max-width: 576px) {
    .car-item {
        width: 100%;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 80%;
    max-width: 600px;
    position: relative;
    color: white;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

.close-modal:hover {
    color: #e74c3c;
}

.download-contract {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.download-contract:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

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

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.2rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #e74c3c;
    outline: none;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.2);
}

.submit-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.2rem;
    width: 100%;
    font-weight: bold;
}

.submit-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

label {
    font-weight: bold;
    color: #555;
    margin-bottom: 0.5rem;
    display: block;
}

/* Стили для карты */
.map-container {
    margin-top: 4rem;
    padding: 0 2rem;
}

.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.map-wrapper iframe {
    display: block;
    border: none;
    border-radius: 12px;
}

.map-container h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .map-container {
        margin-top: 3rem;
        padding: 0 1rem;
    }

    .map-wrapper iframe {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .map-wrapper iframe {
        height: 300px;
    }
}

.advantage-stats {
    color: white; /* Белый текст */
    font-size: 28px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1); /* Полупрозрачный фон */
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e74c3c; /* Красный цвет для цифр */
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.2rem;
    color: white; /* Белый цвет для текста */
    line-height: 1.4;
}

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

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

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }
}

.auction-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auction-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.auction-button i {
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .contact-info {
        display: none;
    }
}

/* Стили для мобильной кнопки аукционов */
.mobile-only {
    display: none !important; /* Добавляем !important для гарантированного скрытия на ПК */
}

.auction-mobile-link {
    background-color: #e74c3c;
    border-radius: 6px;
    margin: 0.5rem 0;
}

.auction-mobile-link:hover {
    background-color: #c0392b;
}

@media (max-width: 1024px) {
    .mobile-only {
        display: block !important; /* Показываем только на мобильных */
    }

    .nav-menu.active .nav-list {
        padding: 1rem;
    }

    .auction-mobile-link {
        justify-content: center;
        padding: 0.8rem;
        margin: 1rem 0;
    }

    .auction-mobile-link i {
        margin-right: 0.5rem;
    }
}

/* Стили для главного экрана */
.hero-section {
    position: relative;
    min-height: 100vh;
    margin-top: 0;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: visible;
    background-image: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    ), url('/images/fullhd.webp');
    background-size: cover;
    background-position: center -150px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-section {
        background-image: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.7) 100%
        ), url('/images/fullhd_mob.webp');
        background-position: center 55px;
        background-size: 150% auto; /* Увеличиваем размер для мобильных устройств */
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 20% auto 0; /* Увеличиваем отступ с 240px до 300px */
    padding: 0 2rem;
    gap: 4rem;
}

@media (max-width: 768px) {
    .hero-content {
        margin: 180px auto 0;
    }
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-right {
    flex: 1;
    max-width: 450px;
}

.hero-header {
    margin-bottom: 2rem;
}

.hero-header-title {
    font-size: 3.6rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero-header-subtitle {
    font-size: 2rem;
    color: #00d400;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .hero-header-title {
        font-size: 2.8rem;
    }
}

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

@media (max-width: 768px) {
    .hero-header-title {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-header-title {
        font-size: 1.8rem;
    }
}

/* Стили для формы */
.hero-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 1.5rem 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Стили для кнопок */
.button-group {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: #e74c3c;
}

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

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.nav-link, .dropdown-item, .phone-number, .address span {
    font-family: 'Garet', sans-serif;
}

.hero-header-title, .hero-form-title, .section-title {
    font-family: 'Garet', sans-serif;
    font-weight: normal;
}

.btn, .submit-btn, .want-button {
    font-family: 'Garet', sans-serif;
}

.advantage-item h3, .advantage-item p, .scheme-title {
    font-family: 'Garet', sans-serif;
}

.member-info h3, .member-info p, .member-phone, .member-whatsapp {
    font-family: 'Garet', sans-serif;
}

.form-control, .form-label {
    font-family: 'Garet', sans-serif;
}

.footer-content, .footer-nav a, .footer-contacts li {
    font-family: 'Garet', sans-serif;
}

.contract-content {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contract-content iframe {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.delivery-info {
    margin-top: 20px;
    line-height: 1.6;
}

.delivery-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #cccccc;
}

.delivery-info p:last-child {
    margin-bottom: 0;
}

.modal-content h2 {
    color: white;
    font-size: 2.1rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Стили для таблицы с ценами на доставку */
.delivery-prices {
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.delivery-prices h3 {
    color: #e74c3c;
    margin-bottom: 20px;
    text-align: center;
}

.price-table {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    min-width: 1200px;
    color: #000;
}

.price-table th {
    background-color: #e74c3c;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 1;
}

.price-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #eee;
    color: #000;
}

.price-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.price-table tr:hover {
    background-color: #f5f5f5;
}

.price-table td:first-child {
    background-color: #f8f8f8;
    font-weight: 500;
    text-align: left;
    position: sticky;
    left: 0;
    z-index: 1;
    color: #000;
}

.price-table td:nth-child(2) {
    text-align: left;
    min-width: 300px;
    color: #000;
}

.price-table td:last-child {
    font-weight: 500;
    color: #000;
}

.price-note {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .delivery-prices {
        position: relative;
        padding: 15px;
        margin: 10px 0;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .price-table {
        margin: 10px 0;
        border-radius: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #e74c3c #f1f1f1;
        position: relative;
    }

    .price-table::-webkit-scrollbar {
        height: 6px;
    }

    .price-table::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .price-table::-webkit-scrollbar-thumb {
        background: #e74c3c;
        border-radius: 3px;
    }
    
    .price-table table {
        min-width: 1000px;
        font-size: 14px;
    }
    
    .price-table th {
        padding: 10px 8px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .price-table td {
        padding: 10px 8px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .price-table td:first-child {
        min-width: 120px;
        position: sticky;
        left: 0;
        background-color: #fff;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 2;
    }
    
    .price-table td:nth-child(2) {
        min-width: 200px;
        max-width: 200px;
        white-space: normal;
        word-wrap: break-word;
    }

    .price-table tr:nth-child(even) {
        background-color: #f8f8f8;
    }

    .price-table tr:hover {
        background-color: #f0f0f0;
    }

    .price-note {
        margin-top: 15px;
        font-size: 12px;
        padding: 0 10px;
        color: #666;
    }
}

@media (max-width: 480px) {
    .delivery-prices {
        padding: 10px;
    }

    .price-table table {
        min-width: 900px;
        font-size: 12px;
    }

    .price-table th,
    .price-table td {
        padding: 8px 6px;
        font-size: 12px;
    }

    .price-table td:first-child {
        min-width: 100px;
    }

    .price-table td:nth-child(2) {
        min-width: 180px;
        max-width: 180px;
    }
}

@keyframes scrollHint {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-30px) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.scroll-hint {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #e74c3c;
    font-size: 36px;
    animation: scrollHint 1.5s infinite;
    opacity: 1;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
}

@media (max-width: 768px) {
    .scroll-hint {
        font-size: 32px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .scroll-hint {
        font-size: 28px;
        right: 10px;
    }
}
