/* style.css – сине-серая цветовая гамма */

:root {
    --primary: #1a2b3c;        /* глубокий сине-серый */
    --primary-light: #2c3e50;  /* светлее для градиентов */
    --accent: #3a6ea5;         /* спокойный синий */
    --accent-hover: #2c5a8c;   /* тёмно-синий при наведении */
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light: #e9edf2;          /* светло-серый фон */
    --white: #ffffff;
    --shadow: 0 20px 35px -8px rgba(26, 43, 60, 0.15);
    --shadow-hover: 0 25px 40px -8px rgba(58, 110, 165, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 80px;
    --header-height-mobile: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типографика */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary);
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), #5a8ec9);
    margin: 20px auto 0;
    border-radius: 5px;
}

/* Кнопки */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #5a8ec9);
    color: var(--white);
    padding: 16px 45px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(58, 110, 165, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), #3a6ea5);
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(58, 110, 165, 0.4);
}

.btn-small {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--accent);
    color: var(--white);
}

/* Шапка (фиксированная) */
.header {
    background: rgba(26, 43, 60, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo h1 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #5a8ec9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.header__logo p {
    font-size: 0.85rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

.header__toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.header__toggle span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__list a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 5px;
}

.nav__list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav__list a:hover {
    color: var(--accent);
}

.nav__list a:hover::after {
    width: 100%;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,43,60,0.85), rgba(26,43,60,0.7)), url('https://i.oneme.ru/i?r=BTE2sh_eZW7g8kugOdIm2NotVTikikbOgEgPO-ZPKF_E-X_6iGFBZkI3_NYKGTyfbAM') center/cover fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: calc(var(--header-height) * -1);
    padding-top: var(--header-height);
}

.hero__container {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 500;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero__conditions {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    font-size: 1.3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero__conditions i {
    color: var(--accent);
    margin-right: 10px;
}

.hero__btn {
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Промо-блок */
.promo {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light), var(--white));
}

.promo__banner {
    background: radial-gradient(circle at 0% 30%, var(--primary-light), var(--primary));
    color: white;
    padding: 60px;
    border-radius: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(58, 110, 165, 0.3);
    position: relative;
    overflow: hidden;
}

.promo__banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(58, 110, 165, 0.3), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.promo__tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 8px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.promo__title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.promo__title span {
    color: var(--accent);
}

.promo__text {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.promo__birthday {
    font-size: 1.4rem;
    background: rgba(255,255,255,0.1);
    display: inline-block;
    padding: 15px 40px;
    border-radius: 60px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Каталог автомобилей */
.cars {
    padding: 80px 0;
    background: var(--light);
}

.cars__filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--gray);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.cars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.car-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.car-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.car-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
    text-transform: uppercase;
}

.car-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s;
}

.car-card:hover .car-card__img {
    transform: scale(1.1);
}

.car-card__body {
    padding: 25px;
}

.car-card__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.car-card__specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.95rem;
}

.car-card__specs i {
    color: var(--accent);
    width: 20px;
}

.car-card__price {
    font-weight: 800;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.car-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Прайс-лист */
.price {
    padding: 80px 0;
    background: white;
}

.price__table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.price__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.price__table th {
    background: var(--primary);
    color: white;
    padding: 18px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.price__table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.price__table tr:last-child td {
    border-bottom: none;
}

.price__table tbody tr:hover {
    background: #f8f9fc;
}

.price__table .btn-small {
    padding: 6px 15px;
    font-size: 0.9rem;
}

/* Форма заказа (стилизована) */
.order {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light), var(--white));
}

.order__form {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.form__group {
    margin-bottom: 20px;
}

.form__group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: #fafcfd;
}

.form__group input:focus,
.form__group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(58, 110, 165, 0.1);
}

.form__fieldset {
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 30px;
}

.form__fieldset legend {
    font-weight: 700;
    padding: 0 20px;
    color: var(--primary);
    font-size: 1.2rem;
}

.form__file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form__file-group {
    background: #f8fafc;
    padding: 15px;
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
}

.form__file-group label {
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.form__file-group input[type="file"] {
    padding: 8px;
    border: none;
    background: transparent;
}

.form__checkbox {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form__checkbox input {
    width: auto;
    margin-right: 10px;
}

.order__submit {
    width: 100%;
    font-size: 1.2rem;
    padding: 18px;
}

/* Преимущества (сетка 3-6) */
.features {
    padding: 80px 0;
    background: var(--primary);
    color: white;
}

.features .section-title {
    color: white;
}

.features .section-title::after {
    background: var(--accent);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-item:hover {
    background: rgba(58, 110, 165, 0.2);
    transform: scale(1.05);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-item p {
    opacity: 0.8;
}

/* Документы */
.docs {
    padding: 80px 0;
    background: var(--light);
}

.docs__content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.docs__list {
    list-style: none;
}

.docs__list li {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
}

.docs__list i {
    color: var(--accent);
    width: 30px;
    font-size: 1.5rem;
}

.docs__note {
    margin-top: 30px;
    font-style: italic;
    color: var(--gray);
    text-align: center;
    font-size: 1.1rem;
}

/* Контакты */
.contacts {
    padding: 80px 0;
    background: white;
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info i {
    color: var(--accent);
    width: 30px;
    font-size: 1.5rem;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--accent);
}

.contact-map iframe {
    border-radius: 30px;
    box-shadow: var(--shadow);
    width: 100%;
    height: 300px;
}

/* Подвал */
.footer {
    background: var(--primary);
    color: #9aaec2;
    padding: 40px 0;
    text-align: center;
}

.footer__nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 30px;
    margin-bottom: 25px;
}

.footer__nav a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.footer__nav a:hover {
    color: var(--accent);
}

.footer__copy {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal__content {
    background: white;
    max-width: 550px;
    width: 90%;
    border-radius: 40px;
    padding: 40px;
    position: relative;
    animation: modalFade 0.4s;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

@keyframes modalFade {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.2s;
}

.modal__close:hover {
    color: var(--primary);
}

.modal__body {
    text-align: center;
}

.modal__body img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 25px;
}

.modal__body h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.modal__body p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.modal__btn {
    margin-top: 25px;
    width: 100%;
}

/* ================================================= */
/* АНИМАЦИИ */
/* ================================================= */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================= */
/* АДАПТИВ (MEDIA QUERIES) */
/* ================================================= */

/* Десктопы (1200px и больше) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero__title {
        font-size: 4.5rem;
    }
}

/* Ноутбуки (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero__title {
        font-size: 4rem;
    }
    
    .cars__grid {
        gap: 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Планшеты (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero__title {
        font-size: 3.2rem;
    }
    
    .hero__subtitle {
        font-size: 1.4rem;
    }
    
    .hero__conditions {
        flex-wrap: wrap;
        gap: 20px;
        font-size: 1.1rem;
    }
    
    .cars__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-map iframe {
        height: 350px;
    }
    
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильные устройства (576px - 767px) */
@media (max-width: 767px) {
    :root {
        --header-height: 70px;
    }
    
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    /* Шапка и бургер */
    .header {
        padding: 10px 0;
    }
    
    .header__logo h1 {
        font-size: 1.5rem;
    }
    
    .header__logo p {
        font-size: 0.7rem;
    }
    
    .header__toggle {
        display: flex;
        z-index: 1000;
    }
    
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--primary);
        padding: 80px 30px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    }
    
    .header__nav.active {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav__list a {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }
    
    /* Hero секция */
    .hero {
        min-height: 100vh;
        background-attachment: scroll;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    .hero__conditions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        font-size: 1rem;
    }
    
    .hero__btn {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    /* Заголовки секций */
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .section-title::after {
        width: 70px;
        height: 4px;
    }
    
    /* Фильтры */
    .cars__filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    /* Карточки авто */
    .cars__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .car-card__img {
        height: 200px;
    }
    
    .car-card__body {
        padding: 20px;
    }
    
    .car-card__title {
        font-size: 1.3rem;
    }
    
    .car-card__footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .car-card__btn {
        width: 100%;
    }
    
    /* Форма заказа */
    .order__form {
        padding: 25px 20px;
        border-radius: 30px;
    }
    
    .form__row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form__fieldset {
        padding: 20px 15px;
    }
    
    .form__file-grid {
        grid-template-columns: 1fr;
    }
    
    .form__group input,
    .form__group select {
        padding: 12px 15px;
    }
    
    /* Преимущества */
    .features__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    /* Документы */
    .docs__content {
        padding: 30px 20px;
    }
    
    .docs__list li {
        font-size: 1rem;
        padding: 12px 0;
    }
    
    /* Подвал */
    .footer__nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Модальное окно */
    .modal__content {
        width: 95%;
        padding: 25px 20px;
        margin: 20px;
    }
    
    .modal__body img {
        max-height: 200px;
    }
}

/* Маленькие телефоны (до 575px) */
@media (max-width: 575px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .hero__conditions span {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .price__table td,
    .price__table th {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .btn-small {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .contact-info p {
        font-size: 1rem;
        gap: 10px;
    }
    
    .form__checkbox {
        flex-wrap: wrap;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .header__logo p {
        display: none;
    }
    
    .hero__title {
        font-size: 1.8rem;
    }
    
    .price__table td:nth-child(3),
    .price__table th:nth-child(3) {
        display: none;
    }
    
    .price__table td:nth-child(5),
    .price__table th:nth-child(5) {
        display: none;
    }
}

/* Альбомная ориентация на мобильных */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
    }
    
    .header__nav {
        padding-top: 60px;
    }
    
    .nav__list {
        gap: 10px;
    }
    
    .hero__conditions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Touch-устройства (убираем hover эффекты) */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .car-card:hover {
        transform: none;
    }
    
    .filter-btn:hover {
        background: transparent;
        border-color: var(--gray);
        color: var(--dark);
    }
    
    .filter-btn.active {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--white);
    }
}

/* Индикатор загрузки и сообщение об отсутствии машин */
.loading {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: var(--gray);
    grid-column: 1 / -1;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 3px solid var(--gray);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.no-cars {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: var(--gray);
    grid-column: 1 / -1;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Блокировка скролла при открытом меню */
body.menu-open {
    overflow: hidden;
}

.imgs{
    padding-right: 20px;
    width: 195px;
}

/* Блок Трансфер */
.transfer {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white), var(--light));
}

.transfer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.transfer__card {
    background: white;
    border-radius: 30px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(58, 110, 165, 0.1);
}

.transfer__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.transfer__card--popular {
    border: 2px solid var(--accent);
    transform: scale(1.02);
}

.transfer__card--popular:hover {
    transform: scale(1.02) translateY(-10px);
}

.transfer__badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    width: 120px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.transfer__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #5a8ec9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(58, 110, 165, 0.3);
}

.transfer__title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

.transfer__list {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 10px;
}

.transfer__list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.transfer__list i {
    color: var(--accent);
    font-size: 1rem;
    width: 20px;
}

.transfer__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 15px;
}

.transfer__btn {
    width: 100%;
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.transfer__btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.transfer__info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: white;
    padding: 25px 40px;
    border-radius: 60px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.transfer__info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--dark);
}

.transfer__info-item i {
    color: var(--accent);
    font-size: 1.5rem;
    width: 30px;
}

/* Адаптив для трансфера */
@media (max-width: 1199px) {
    .transfer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .transfer__grid {
        grid-template-columns: 1fr;
    }
    
    .transfer__card--popular {
        transform: scale(1);
    }
    
    .transfer__card--popular:hover {
        transform: translateY(-10px);
    }
    
    .transfer__info {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-radius: 30px;
        gap: 20px;
    }
    
    .transfer__info-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .transfer__badge {
        font-size: 0.7rem;
        padding: 3px 20px;
        width: 100px;
    }
}

/* ================================================= */
/* СТИЛИ ДЛЯ TELEGRAM-БОТА */
/* ================================================= */

/* Контейнер для результата отправки */
#result {
    margin-top: 30px;
    padding: 15px 25px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    background: white;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

/* Успешная отправка */
#result[style*="color: green"] {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724 !important;
    border-color: #28a745;
}

/* Ошибка */
#result[style*="color: red"] {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24 !important;
    border-color: #dc3545;
}

/* Отправка */
#result[style*="color: blue"] {
    background: linear-gradient(135deg, #cce5ff, #b8daff);
    color: #004085 !important;
    border-color: #007bff;
}

/* Скрываем старый результат если он пустой */
#result:empty {
    display: none;
}

/* Кнопка отправки - состояние загрузки */
.order__submit.loading {
    position: relative;
    color: transparent;
}

.order__submit.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -12px;
    border: 3px solid white;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Адаптив */
@media (max-width: 767px) {
    #result {
        margin-top: 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}
/* ================================================= */
/* СТИЛИ ДЛЯ ФОРМЫ ТРАНСФЕРА */
/* ================================================= */

.transfer-result {
    margin-top: 30px;
    padding: 15px 25px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    background: white;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    display: none;
}

.transfer-result.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-color: #28a745;
    display: block;
}

.transfer-result.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-color: #dc3545;
    display: block;
}

.transfer-result.loading {
    background: linear-gradient(135deg, #cce5ff, #b8daff);
    color: #004085;
    border-color: #007bff;
    display: block;
}
/* Стили для логотипа в шапке */
.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.header__logo-img:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Адаптив для мобильных */
@media (max-width: 767px) {
    .header__logo-img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .header__logo-img {
        height: 38px;
    }
}