@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

html {
    overflow-x: clip;
    max-width: 100%;
    height: 100%;
}
body {
    margin: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #2d3748;
    overflow-x: clip;
    max-width: 100%;
    min-height: 100%;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
}
.header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo img {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}
.nav a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.2s;
}
.nav a:hover {
    color: #ff4f1f;
}
.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.header__contacts .phone {
    color: #ff4f1f;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s;
}
.header__contacts .phone:hover {
    color: #ff7a1f;
}
/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
}
.burger-menu span {
    width: 100%;
    height: 3px;
    background: #2d3748;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.burger-menu.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
/* Адаптивное меню */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    .logo {
        max-width: 180px;
        flex-shrink: 1;
    }
    .logo img {
        height: 44px;
        max-width: 100%;
        width: auto;
    }
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 99;
        padding: 24px 0;
    }
    .nav.active {
        transform: translateX(0);
    }
    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 16px;
    }
    .nav ul li {
        border-bottom: 1px solid #e2e8f0;
    }
    .nav ul li:last-child {
        border-bottom: none;
    }
    .nav a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
    }
    .header__contacts {
        margin-left: auto;
        margin-right: 8px;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
    }
    .header__contacts .phone {
        font-size: 11px;
        white-space: nowrap;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
.banner {
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    color: #ffffff;
    padding: 0;
    margin-top: 72px;
    overflow: hidden;
}
.banner__container {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    min-height: 0;
}
.banner__content {
    flex: 0 1 42%;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 0;
}
.banner__content h1 {
    font-size: clamp(1.6rem, 2.4vw, 2.5rem);
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}
.banner__content p {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    margin: 0;
    color: #ffd6c2;
    font-weight: 400;
    line-height: 1.5;
}
.banner__image {
    flex: 1 1 58%;
    min-width: 0;
    line-height: 0;
    aspect-ratio: 1024 / 768;
    overflow: hidden;
}
.banner__image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 6%, #000 14%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 6%, #000 14%);
}
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
}
.btn-primary {
    background: #ffffff;
    color: #ff4f1f;
}
.btn-primary:hover {
    background: #f7fafc;
    color: #ff7a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-accent {
    display: inline-block;
    background: #ff4f1f;
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(255, 79, 31, 0.35);
    border: none;
    text-decoration: none !important;
}
.btn-accent:hover,
.btn-accent:visited,
.btn-accent:active {
    background: #e6451a;
    background: linear-gradient(135deg, #e6451a 0%, #ff6a1a 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 79, 31, 0.42);
}
.btn-secondary {
    background: #ffffff;
    color: #ff4f1f;
    border: 2px solid #ff4f1f;
}
.btn-secondary:hover {
    background: #ff4f1f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 79, 31, 0.3);
}

/* Главная: лид-форма + цифры */
.home-lead {
    background: #ffffff;
    padding: 56px 0;
}
.home-lead__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}
.home-lead__left h2 {
    margin: 0 0 12px 0;
    color: #2d3748;
    font-weight: 700;
}
.home-lead__subtitle {
    margin: 0 0 24px 0;
    color: #718096;
    line-height: 1.6;
    font-size: 1.05rem;
}
.home-stats {
    margin: 0 0 18px 0;
}
.home-lead__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #2d3748;
    font-weight: 500;
}
.lead-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.lead-card h3 {
    margin: 0 0 8px 0;
    color: #2d3748;
    font-weight: 700;
}
.lead-card p {
    margin: 0 0 16px 0;
    color: #718096;
    line-height: 1.6;
}
.lead-form {
    display: grid;
    gap: 12px;
}
.lead-form label {
    display: grid;
    gap: 6px;
}
.lead-form span {
    color: #2d3748;
    font-weight: 500;
    font-size: 0.9rem;
}
.lead-form input,
.lead-form textarea,
.lead-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    background: #ffffff;
    color: #2d3748;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
    outline: none;
    border-color: #ff4f1f;
    box-shadow: 0 0 0 3px rgba(255, 79, 31, 0.1);
}
.lead-form select {
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.lead-form__checkbox {
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: #2d3748;
    font-size: 0.9rem;
    line-height: 1.5;
}
.lead-form__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #ff4f1f;
}
.lead-form__checkbox span {
    color: #2d3748;
}
.lead-form__note {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 12px;
    text-align: center;
}
.lead-form__note a,
.lead-form__checkbox a {
    color: #ff4f1f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.lead-form__note a:hover,
.lead-form__checkbox a:hover {
    color: #ff7a1f;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .home-lead__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.advantages {
    background: #ffffff;
    padding: 48px 0;
}
.advantages h2 {
    text-align: center;
    margin-bottom: 32px;
    color: #2d3748;
    font-weight: 700;
}
.advantages__list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.advantage {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 32px;
    max-width: 260px;
    flex: 1 1 200px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advantage:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.advantage h3 {
    color: #ff4f1f;
    margin-bottom: 12px;
    font-weight: 600;
}
.advantage p {
    color: #718096;
    font-weight: 400;
    line-height: 1.6;
}
.footer {
    background: #f7fafc;
    color: #2d3748;
    padding: 48px 0 24px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 48px;
}
.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
    align-items: flex-start;
}
.footer__logo {
    margin-bottom: 20px;
}
.footer__logo img {
    height: auto;
    max-height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
.footer__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer__info p {
    margin: 0;
    color: #4a5568;
}
.footer__info strong {
    color: #2d3748;
    font-weight: 600;
}
.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-top: 70px;
}
.footer__nav a {
    color: #2d3748;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer__nav a:hover {
    color: #ff4f1f;
}
.footer__bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #718096;
}
.footer__bottom-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
/* Соцсети и мессенджеры в стиле кругов (светлый фон, тёмно-синяя иконка) */
.footer__social-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer__social-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer__social-title {
    font-size: 18px;
    font-weight: 500;
    color: #6c757d;
    margin: 0;
}
.footer__social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer__social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e8ebf3;
    color: #1e3a5f;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.footer__social-icons a:hover {
    background: #dce0eb;
    color: #0d2137;
}
.footer__social-icons svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.footer__social-icons a[href="#"] {
    cursor: default;
    opacity: 0.7;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}
.footer__social a:hover {
    color: #ff4f1f;
}
.footer__social svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Футер с сеткой колонок (calculator, contacts и др.) */
.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.footer__col h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 12px;
}
.footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer__col ul li {
    margin-bottom: 8px;
}
.footer__col a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer__col a:hover {
    color: #ff4f1f;
}
.footer__col p {
    margin: 0;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}
.footer__col--social .footer__social-wrap {
    margin-top: 0;
}

@media (max-width: 768px) {
    .footer__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer__social {
        align-self: flex-start;
    }
    .footer__social-wrap {
        gap: 20px;
    }
    .footer__social-title {
        font-size: 16px;
    }
    .footer__social-icons a {
        width: 44px;
        height: 44px;
    }
    .footer__social-icons svg {
        width: 22px;
        height: 22px;
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}
/* Каталог */
.catalog-header {
    background: #f7fafc;
    padding: 48px 0;
    text-align: center;
    margin-top: 72px;
}
.catalog-header h1 {
    color: #2d3748;
    margin-bottom: 16px;
    font-weight: 700;
}
.catalog-header p {
    color: #718096;
    font-size: 1.2rem;
    font-weight: 400;
}
.filters {
    background: #ffffff;
    padding: 32px 0;
    border-bottom: 1px solid #e2e8f0;
}
.filters__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    align-items: end;
}
.filter-group label {
    display: block;
    margin-bottom: 6px;
    color: #2d3748;
    font-weight: 500;
    font-size: 0.9rem;
}
.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background: #ffffff;
    color: #2d3748;
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}
.filter-group select {
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #ff4f1f;
    box-shadow: 0 0 0 3px rgba(255, 79, 31, 0.1);
}
.btn-filter {
    width: 100%;
    padding: 14px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #ff4f1f;
    color: #ffffff;
    border: 2px solid #ff4f1f;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 79, 31, 0.3);
}
.btn-filter:hover {
    background: #e94e1b;
    border-color: #e94e1b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 79, 31, 0.4);
}
.btn-filter:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 79, 31, 0.3);
}
.filters-form {
    width: 100%;
}
.catalog {
    padding: 48px 0;
    background: #ffffff;
}
.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}
.car-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}
.car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.car-card__image {
    position: relative;
    height: 240px;
    background: #f7fafc;
    overflow: hidden;
}
.car-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.car-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff4f1f;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}
.car-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.car-card__content h3 {
    margin: 0 0 12px 0;
    color: #2d3748;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}
.car-card__specs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.car-card__specs span {
    background: #f7fafc;
    color: #718096;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 400;
    white-space: nowrap;
}
.car-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff4f1f;
    margin-bottom: 8px;
    line-height: 1.2;
}
.car-card__location {
    color: #718096;
    margin-bottom: 16px;
    font-size: 0.875rem;
    font-weight: 400;
}
.car-card__content .btn {
    margin-top: auto;
    text-align: center;
    width: 100%;
}
.catalog__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.pagination__pages {
    display: flex;
    gap: 8px;
}
.pagination__pages a,
.pagination__prev,
.pagination__next {
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #718096;
    background: #ffffff;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}
.pagination__pages a:hover,
.pagination__prev:hover,
.pagination__next:hover {
    background: #ff4f1f;
    color: #ffffff;
    transform: translateY(-2px);
}
.pagination__pages a.active {
    background: #ff4f1f;
    color: #ffffff;
}
/* Карточка автомобиля */
.car-detail {
    padding: 48px 0;
    background: #ffffff;
    margin-top: 72px;
}
.car-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.car-gallery {
    width: 100%;
}
.car-gallery__main {
    position: relative;
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #f7fafc;
    max-height: 400px;
    height: auto;
    width: 100%;
}
.car-gallery__main img {
    width: 100%;
    max-width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    display: block;
    background: #f7fafc;
}
.car-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 90, 31, 0.9);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}
.car-gallery:hover .car-gallery__nav {
    opacity: 1;
}
.car-gallery__nav:hover {
    background: rgba(255, 90, 31, 1);
    transform: translateY(-50%) scale(1.1);
}
.car-gallery__nav--prev {
    left: 16px;
}
.car-gallery__nav--next {
    right: 16px;
}
.car-gallery__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.car-gallery__thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #ff5a1f #f7fafc;
    -webkit-overflow-scrolling: touch;
}
.car-gallery__thumbs::-webkit-scrollbar {
    height: 6px;
}
.car-gallery__thumbs::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}
.car-gallery__thumbs::-webkit-scrollbar-thumb {
    background: #ff5a1f;
    border-radius: 3px;
}
.car-gallery__thumbs .thumb {
    flex-shrink: 0;
    width: 100px;
    min-width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 100px;
}
.car-gallery__thumbs .thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}
.car-gallery__thumbs .thumb.active {
    opacity: 1;
    border-color: #ff5a1f;
    box-shadow: 0 0 0 2px rgba(255, 90, 31, 0.2);
}
.car-info__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}
.car-info__header h1 {
    margin: 0;
    color: #2d3748;
    font-size: 2rem;
    font-weight: 700;
}
.car-info__badge {
    background: #ff4f1f;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}
.car-info__price {
    font-size: 2rem;
    font-weight: 700;
    color: #ff4f1f;
    margin-bottom: 8px;
}
.car-info__location {
    color: #718096;
    margin-bottom: 24px;
    font-size: 1rem;
    font-weight: 400;
}
.car-info__specs {
    margin-bottom: 32px;
}
.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}
.spec-label {
    color: #718096;
    font-weight: 400;
}
.spec-value {
    color: #2d3748;
    font-weight: 500;
}
.car-info__description {
    margin-bottom: 32px;
}
.car-info__description h3 {
    color: #ff4f1f;
    margin-bottom: 16px;
    font-weight: 600;
}
.car-info__description p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 400;
}
.car-info__actions {
    display: flex;
    gap: 16px;
}
.car-features {
    background: #f7fafc;
    padding: 48px 0;
}
.car-features h2 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 32px;
    font-weight: 700;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.feature-category {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.feature-category h3 {
    color: #ff4f1f;
    margin-bottom: 16px;
    font-weight: 600;
}
.feature-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-category li {
    color: #718096;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 400;
}
.feature-category li:last-child {
    border-bottom: none;
}
/* Услуги */
.services-header {
    background: #f7fafc;
    padding: 48px 0;
    text-align: left;
    margin-top: 72px;
}
.services-header h1 {
    color: #2d3748;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 2rem;
}
.services-header p {
    color: #4a5568;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 12px;
}
.services {
    padding: 48px 0;
    background: #ffffff;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}
.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e2e8f0;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.service-card__icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #ff4f1f;
}
.service-card h3 {
    color: #ff4f1f;
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 600;
}
.service-card p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
}
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.service-card li {
    color: #718096;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 20px;
    font-weight: 400;
}
.service-card li:before {
    content: "✓";
    color: #ff4f1f;
    position: absolute;
    left: 0;
    font-weight: bold;
}
.service-card li:last-child {
    border-bottom: none;
}
.service-card__price {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #ff4f1f;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}
.service-process {
    background: #f7fafc;
    padding: 48px 0;
}
.service-process h2 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 48px;
    font-weight: 700;
}
.process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-step__number {
    width: 60px;
    height: 60px;
    background: #ff4f1f;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.process-step h3 {
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 600;
}
.process-step p {
    color: #718096;
    line-height: 1.6;
    font-weight: 400;
}
.service-process__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}
.service-process__actions .btn-accent {
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 79, 31, 0.35);
}
@media (max-width: 768px) {
    .service-process__actions {
        flex-direction: column;
        align-items: stretch;
        padding: 0 8px;
    }
    .service-process__actions .btn {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        text-align: center;
    }
}
.service-cta {
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    padding: 48px 0;
    text-align: center;
}
.cta__content h2 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 2rem;
    font-weight: 700;
}
.cta__content p {
    color: #ffd6c2;
    font-size: 1.2rem;
    margin-bottom: 32px;
    font-weight: 400;
}
.cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
/* О компании */
.about-hero {
    margin-top: 72px;
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    color: #ffffff;
    padding: 56px 0;
}
.about-hero__inner {
    max-width: 820px;
}
.about-hero__eyebrow {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
}
.about-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}
.about-hero__lead {
    margin: 0 0 24px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffe8dc;
}
.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.about-hero__btn-light {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}
.about-hero__btn-light:hover {
    background: #ffffff;
    color: #ff4f1f;
    border-color: #ffffff;
}
.about-hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}
.about-hero__links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}
.about-hero__links a:hover {
    border-bottom-color: #ffffff;
}
.about-section {
    padding: 56px 0;
    background: #ffffff;
}
.about-section--light {
    background: #f7fafc;
}
.about-section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.about-section__head h2 {
    margin: 0 0 12px;
    color: #2d3748;
    font-weight: 700;
}
.about-section__head p {
    margin: 0;
    color: #718096;
    line-height: 1.6;
}
.about-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.about-benefit {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-section--light .about-benefit {
    background: #ffffff;
}
.about-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.about-benefit__icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
    line-height: 1;
}
.about-benefit h3 {
    margin: 0 0 10px;
    color: #2d3748;
    font-size: 1.05rem;
    font-weight: 700;
}
.about-benefit p {
    margin: 0;
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
}
.about-markets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.about-market {
    display: block;
    text-decoration: none;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.about-market:hover {
    transform: translateY(-4px);
    border-color: #ffb899;
    box-shadow: 0 10px 28px rgba(255, 79, 31, 0.1);
}
.about-market__flag {
    display: block;
    margin-bottom: 12px;
    border-radius: 3px;
}
.about-market h3 {
    margin: 0 0 8px;
    color: #2d3748;
    font-weight: 700;
}
.about-market p {
    margin: 0;
    color: #718096;
    line-height: 1.55;
    font-size: 0.92rem;
}
.about-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.about-step {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.about-section--light .about-step {
    background: #ffffff;
}
.about-step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ff4f1f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 14px;
}
.about-step h3 {
    margin: 0 0 8px;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.05rem;
}
.about-step p {
    margin: 0;
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
}
.about-stats-bar {
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    padding: 40px 0;
}
.about-stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
}
.about-stats-bar__value {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
.about-stats-bar__label {
    color: #ffe8dc;
    font-size: 0.95rem;
    line-height: 1.4;
}
.about-story-block {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}
.about-story-block__content h2 {
    margin: 0 0 16px;
    color: #2d3748;
    font-weight: 700;
}
.about-story-block__content p {
    margin: 0 0 14px;
    color: #718096;
    line-height: 1.65;
}
.about-story-block__content .btn {
    margin-top: 8px;
}
.about-story-block__content .btn-primary {
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 79, 31, 0.35);
}
.about-story-block__content .btn-primary:hover {
    background: linear-gradient(135deg, #ff6229 0%, #ff8a35 100%);
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(255, 79, 31, 0.42);
}
.about-story-block__image img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.about-faq {
    background: #f7fafc;
}
.about-faq .faq__list {
    max-width: 860px;
    margin: 0 auto;
}
.about-faq__cta {
    margin-top: 32px;
    text-align: center;
}
.about-faq__cta p {
    margin: 0 0 16px;
    color: #2d3748;
    font-weight: 600;
    font-size: 1.1rem;
}
.about-faq__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.about-faq__actions .btn-primary {
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 79, 31, 0.35);
}
.about-faq__actions .btn-primary:hover {
    background: linear-gradient(135deg, #ff6229 0%, #ff8a35 100%);
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(255, 79, 31, 0.42);
}
.about-faq__actions .btn-secondary {
    background: #ffffff;
    color: #ff4f1f;
    border: 2px solid #ff4f1f;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.about-faq__actions .btn-secondary:hover {
    background: #ff4f1f;
    color: #ffffff;
    border-color: #ff4f1f;
}
.about-faq .faq-answer a {
    color: #ff4f1f;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.stat-item {
    text-align: center;
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-4px);
}
.stat-item__number {
    font-size: 3rem;
    font-weight: 800;
    color: #ff4f1f;
    margin-bottom: 8px;
}
.stat-item__label {
    color: #718096;
    font-size: 1rem;
    font-weight: 400;
}
.about-reviews {
    padding: 56px 0;
    background: #ffffff;
}
.reviews-widget {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
.reviews-widget iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 16px;
    display: block;
    margin: 0;
}
.about-cta {
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    padding: 56px 0;
    text-align: center;
}
.about-cta .cta__content h2,
.about-cta .cta__content p {
    color: #ffffff;
}
.about-cta .cta__content p {
    opacity: 0.92;
}
@media (max-width: 1024px) {
    .about-benefits,
    .about-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-markets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-stats-bar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-story-block {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .about-hero {
        padding: 40px 0;
    }
    .about-benefits,
    .about-steps,
    .about-markets,
    .about-stats-bar__grid {
        grid-template-columns: 1fr;
    }
    .about-hero__actions,
    .about-faq__actions {
        flex-direction: column;
        align-items: stretch;
    }
}
/* Контакты */
.contacts-header {
    background: #f7fafc;
    padding: 48px 0;
    text-align: center;
    margin-top: 72px;
}
.contacts-header h1 {
    color: #2d3748;
    margin-bottom: 16px;
    font-weight: 700;
}
.contacts-header p {
    color: #718096;
    font-size: 1.2rem;
    font-weight: 400;
}
.contacts-main {
    padding: 48px 0;
    background: #ffffff;
}
.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contacts-info h2 {
    color: #ff4f1f;
    margin-bottom: 32px;
    font-weight: 700;
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: flex-start;
}
.contact-item__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 12px;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.6),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    color: #718096;
    padding: 0;
}
.contact-item__icon svg {
    width: 24px;
    height: 24px;
    stroke: #718096;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}
.messenger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 32px;
    height: 32px;
    vertical-align: middle;
    flex-shrink: 0;
}
.messenger-icon svg {
    width: 100%;
    height: 100%;
}
.messenger-icon--telegram {
    color: #0088cc;
}
.messenger-icon--whatsapp {
    color: #25d366;
}
.messenger-icon--viber {
    color: #665cac;
}
.contact-item__content h3 {
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 600;
}
.contact-item__content p {
    color: #718096;
    margin-bottom: 8px;
    font-weight: 400;
}
.contact-item__content a {
    color: #ff4f1f;
    text-decoration: none;
}
.contact-item__content a:hover {
    text-decoration: underline;
}
.contacts-form h2 {
    color: #ff4f1f;
    margin-bottom: 32px;
    font-weight: 700;
}
.contact-form-full .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form-full .form-group {
    margin-bottom: 20px;
}
.contact-form-full label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
}
.contact-form-full input,
.contact-form-full textarea,
.contact-form-full select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background: #ffffff;
    color: #2d3748;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}
.contact-form-full input:focus,
.contact-form-full textarea:focus,
.contact-form-full select:focus {
    outline: none;
    border-color: #ff4f1f;
    box-shadow: 0 0 0 3px rgba(255, 79, 31, 0.1);
}
.contact-form-full select {
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    font-weight: normal !important;
}
.contact-form-full .btn-primary {
    width: 100%;
    background: #ff4f1f;
    color: #ffffff;
    border: 2px solid #ff4f1f;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 79, 31, 0.25);
}
.contact-form-full .btn-primary:hover {
    background: #e94e1b;
    border-color: #e94e1b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 79, 31, 0.35);
}
.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}
.checkbox-label a {
    color: #ff4f1f;
    text-decoration: none;
}
.checkbox-label a:hover {
    text-decoration: underline;
}
.contacts-offices {
    background: #f7fafc;
    padding: 48px 0;
}
.contacts-offices h2 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 48px;
    font-weight: 700;
}
.offices__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}
.office-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}
.office-card:hover {
    transform: translateY(-4px);
}
.office-card__image {
    height: 200px;
    background: #f7fafc;
    overflow: hidden;
}
.office-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.office-card__content {
    padding: 24px;
}
.office-card__content h3 {
    color: #e53e3e;
    margin-bottom: 16px;
    font-weight: 600;
}
.office-card__address {
    margin-bottom: 16px;
}
.office-card__address p {
    color: #718096;
    margin-bottom: 4px;
    font-weight: 400;
}
.office-card__contacts {
    margin-bottom: 16px;
}
.office-card__contacts p {
    color: #718096;
    margin-bottom: 4px;
    font-weight: 400;
}
.office-card__contacts a {
    color: #e53e3e;
    text-decoration: none;
}
.office-card__contacts a:hover {
    text-decoration: underline;
}
.office-card__hours p {
    color: #718096;
    margin-bottom: 4px;
    font-weight: 400;
}
.office-card__hours strong {
    color: #2d3748;
    font-weight: 600;
}
.btn-hours {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #2d3748;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}
.btn-hours:hover {
    background: #f7fafc;
    border-color: #ff4f1f;
    color: #ff4f1f;
}

/* Модальное окно с расписанием */
.schedule-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}
.schedule-modal.active {
    display: flex;
}
.schedule-modal__content {
    background-color: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    position: relative;
}
.schedule-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
}
.schedule-modal__header h2 {
    margin: 0;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.5rem;
}
.schedule-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7fafc;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    transition: all 0.3s ease;
    padding: 0;
}
.schedule-modal__close:hover {
    background: #e2e8f0;
    color: #2d3748;
}
.schedule-modal__close svg {
    width: 18px;
    height: 18px;
}
.schedule-modal__body {
    padding: 24px;
}
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}
.schedule-item:last-child {
    border-bottom: none;
}
.schedule-day {
    color: #2d3748;
    font-weight: 500;
    font-size: 1rem;
}
.schedule-time {
    color: #2d3748;
    font-weight: 400;
    font-size: 1rem;
}
.contacts-map {
    padding: 48px 0;
    background: #ffffff;
}
.contacts-map h2 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 32px;
    font-weight: 700;
}
.map-container {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}
.map-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}
@media (max-width: 768px) {
    .map-container iframe {
        height: 500px;
    }
}
.contacts-faq {
    background: #f7fafc;
    padding: 48px 0;
}
.contacts-faq h2 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 48px;
    font-weight: 700;
}
.faq__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}
.faq-item {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}
.faq-item:hover {
    transform: translateY(-4px);
}
.faq-item h3 {
    color: #e53e3e;
    margin-bottom: 16px;
    font-weight: 600;
}
.faq-item p {
    color: #718096;
    line-height: 1.6;
    font-weight: 400;
}
/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal__content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 32px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.modal__close {
    color: #718096;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 24px;
    top: 16px;
    transition: color 0.3s ease;
}
.modal__close:hover {
    color: #ff4f1f;
}
.modal__content h2 {
    color: #ff4f1f;
    margin-bottom: 24px;
    font-weight: 700;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background: #ffffff;
    color: #2d3748;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #ff4f1f;
    box-shadow: 0 0 0 3px rgba(255, 79, 31, 0.1);
}
.contact-form select {
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.contact-form .btn-primary,
.modal .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #ff4f1f 0%, #ff7a1f 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(255, 79, 31, 0.35);
}
.contact-form .btn-primary:hover,
.modal .btn-primary:hover {
    background: linear-gradient(135deg, #ff6229 0%, #ff8a35 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 79, 31, 0.42);
}
/* --- Блок выполненных заказов --- */
.completed-orders {
    background: #f7fafc;
    padding: 56px 0 56px 0;
}
.completed-orders__note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.75rem;
    color: #a0aec0;
    line-height: 1.5;
}
.orders__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.order-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.order-card__header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
}
.order-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
    margin-right: 0;
    display: block;
    background: #edf2f7;
}
.order-card__info {
    padding: 20px 24px 0;
}
.order-card__info h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
}
.order-card__info p {
    margin: 4px 0 0 0;
    color: #718096;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.order-card__description {
    padding: 12px 24px 0;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.95rem;
}
.order-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px 24px;
    margin-top: auto;
}
.order-flag {
    width: 18px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.order-card__price {
    color: #ff4f1f;
    font-weight: 600;
    font-size: 1.1rem;
}
.order-card__status {
    color: #718096;
    font-size: 0.9rem;
}

/* --- Блок аукционов --- */
.auctions {
    background: #fff;
    padding: 56px 0 40px 0;
}
.auctions__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 60px;
    align-items: center;
}
.auctions__logos img {
    height: 48px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(0.2) contrast(1.1);
    transition: filter 0.2s, transform 0.2s;
}
.auctions__logos img:hover {
    filter: none;
    transform: scale(1.07);
}

/* --- FAQ (аккордеон) --- */
.faq {
    background: #f7fafc;
    padding: 56px 0 56px 0;
}
.faq__list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    /*transition: box-shadow 0.2s;*/
}
.faq-item.open {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 20px 24px;
    cursor: pointer;
    color: #2d3748;
    transition: background 0.2s;
    position: relative;
    border-bottom: 1px solid transparent;
}
.faq-item.open .faq-question {
    border-bottom: 1px solid #e2e8f0;
}
.faq-question:after {
    content: '\25BC';
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 0.9em;
    color: #2d3748;
    transition: transform 0.2s;
}
.faq-item.open .faq-question:after {
    transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: #718096;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 24px;
    transition: max-height 0.3s, padding 0.3s;
}
.faq-item.open .faq-answer {
    padding: 16px 24px 20px 24px;
    max-height: 200px;
}
@media (max-width: 900px) {
    .banner {
        width: 100%;
        max-width: 100%;
    }
    .banner__container {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-width: 100%;
    }
    .banner__content {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        padding: 32px 0 20px;
    }
    .banner__image {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        aspect-ratio: 1024 / 768;
    }
    .banner__image img {
        -webkit-mask-image: none;
        mask-image: none;
        width: 100%;
        max-width: 100%;
    }
    .advantages__list {
        flex-direction: column;
        align-items: center;
    }
    .footer__container {
        flex-direction: column;
        align-items: flex-start;
    }
    .filters__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .catalog__grid {
        grid-template-columns: 1fr;
    }
    .car-detail__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .car-gallery__main {
        max-height: 280px;
    }
    .car-gallery__main img {
        max-height: 280px;
    }
    .car-gallery__nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
        opacity: 1;
    }
    .car-gallery__nav--prev {
        left: 8px;
    }
    .car-gallery__nav--next {
        right: 8px;
    }
    .car-gallery__thumbs .thumb {
        width: 80px;
        height: 60px;
    }
    .car-info__actions {
        flex-direction: column;
    }
    .features__grid {
        grid-template-columns: 1fr;
    }
    .services__grid {
        grid-template-columns: 1fr;
    }
    .process__steps {
        grid-template-columns: 1fr;
    }
    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
    .story__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .mission__grid {
        grid-template-columns: 1fr;
    }
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team__grid {
        grid-template-columns: 1fr;
    }
    .reviews-widget iframe {
        height: 500px;
    }
    .reviews__grid {
        grid-template-columns: 1fr;
    }
    .certificates__grid {
        grid-template-columns: 1fr;
    }
    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-form-full .form-row {
        grid-template-columns: 1fr;
    }
    .offices__grid {
        grid-template-columns: 1fr;
    }
    .faq__grid {
        grid-template-columns: 1fr;
    }
    .auctions__logos {
        gap: 24px 20px;
    }
    .faq__list {
        max-width: 100%;
        padding: 0 8px;
    }
    .faq-question {
        font-size: 1rem;
        padding: 16px 20px;
    }
    .faq-answer {
        font-size: 0.9rem;
        padding: 0 20px;
    }
    .faq-item.open .faq-answer {
        padding: 12px 20px 16px 20px;
    }
    .banner__content h1 {
        font-size: 2rem;
    }
    .banner__content p {
        font-size: 1rem;
    }
    .orders__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .order-card__image {
        height: 200px;
    }
    .auctions__logos {
        grid-template-columns: repeat(2, 1fr);
    }
    .auctions__logos img {
        max-width: 120px;
        height: 40px;
    }
    .home-lead__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .lead-card {
        padding: 20px;
    }
    .banner {
        padding: 30px 0 20px 0;
    }
    .advantages {
        padding: 40px 0;
    }
    .completed-orders {
        padding: 40px 0;
    }
    .faq {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .banner__content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    .banner__content p {
        font-size: 0.95rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .advantage {
        padding: 20px;
    }
    .advantage h3 {
        font-size: 1.1rem;
    }
    .advantage p {
        font-size: 0.9rem;
    }
    .order-card__image {
        height: 180px;
    }
    .order-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .auctions__logos {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .auctions__logos img {
        max-width: 140px;
        height: 44px;
    }
    .faq-question {
        font-size: 0.95rem;
        padding: 14px 16px;
    }
    .faq-answer {
        font-size: 0.85rem;
        padding: 0 16px;
    }
    .faq-item.open .faq-answer {
        padding: 10px 16px 14px 16px;
    }
    h2 {
        font-size: 1.75rem;
    }
    .header__container {
        height: 64px;
    }
    .logo {
        max-width: 140px;
        flex-shrink: 1;
    }
    .logo img {
        height: 40px;
        max-width: 100%;
        width: auto;
    }
    .nav {
        top: 64px;
    }
} 

/* Главная: бейджи и CTA в первом экране */
.home-lead{
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(255,138,84,.20), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(72,135,255,.14), transparent 55%),
              #ffffff;
}
.home-lead::before{
  content:"";
  position:absolute;
  inset:-2px;
  background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity:.35;
  pointer-events:none;
}
.home-lead > .container{ position: relative; z-index: 1; }

.home-lead__badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 14px 0 12px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding:6px 10px;
  border-radius: 999px;
  font-size: .9rem;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
}
.badge-flag {
  width: 18px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.home-lead__cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin: 10px 0 18px;
}

/* Доп. варианты кнопок */
.btn.btn-ghost{
  background: transparent;
  border: 1px solid rgba(0,0,0,.12);
  color:#111;
}
.btn.btn-ghost:hover{ background: rgba(0,0,0,.04); }
.btn.btn-link{
  background: transparent;
  border: none;
  color:#2d6cdf;
  padding-left: 0;
  padding-right: 0;
}
.btn.btn-link:hover{ text-decoration: underline; }

.btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #24A1DE;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(36, 161, 222, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-telegram:hover {
  background: #1c92cb;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(36, 161, 222, 0.45);
}

.btn-telegram__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Калькулятор */
.home-calc{
  padding: 54px 0;
  background: #0b0f19;
  color:#fff;
}
.home-calc .muted{ color: rgba(255,255,255,.75); }
.home-calc__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: start;
}
.calc-form{
  margin-top: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px;
}
.calc-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.calc-form label span{
  display:block;
  font-size:.9rem;
  margin-bottom: 6px;
  color: rgba(255,255,255,.80);
}
.calc-form input,
.calc-form select{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color:#fff;
  outline:none;
}
.calc-form input::placeholder{ color: rgba(255,255,255,.55); }
.input-with-suffix{
  display:flex;
  align-items:center;
  gap:10px;
}
.input-with-suffix .suffix{
  opacity:.75;
  font-weight:600;
}
.calc-form .btn{ margin-top: 6px; }

.calc-result{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px;
}
.calc-result__top{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.calc-result__title{ opacity:.8; font-size:.95rem; }
.calc-result__price{ font-size: 2.0rem; font-weight: 800; margin-top: 4px; }
.calc-result__range{ opacity:.8; margin-top: 2px; }
.calc-result__badge{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
}
.calc-breakdown{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}
.break-item{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.break-item span{ opacity:.9; }
.calc-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.fineprint{ margin-top: 10px; font-size: .85rem; opacity: .75; }

/* Пакеты — равная сетка */
.home-packages{
  padding: 54px 0;
  background: #f7fafc;
}
.section-head{
  display:flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.section-head h2{
  margin: 0;
  color: #2d3748;
  font-weight: 700;
  font-size: 2rem;
}
.section-head .muted{ 
  color:#666; 
  max-width: 680px;
  margin: 0;
}

.packages-carousel{
  position: relative;
  width: 100%;
  max-width: 100%;
}
.packages-carousel__wrapper{
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.packages-carousel__track{
  display: flex;
  align-items: stretch;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.package-card{
  /* Ширину выставляет JS — все карточки всегда одинаковые */
  flex: 0 0 auto;
  min-width: 0;
  min-height: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
.package-card__header{
  padding: 24px;
  min-height: 150px;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-radius: 16px 16px 0 0;
  width: 100%;
  box-sizing: border-box;
}
.package-card__header h3{
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.package-card__price{
  font-size: 1.75rem;
  font-weight: 800;
  white-space: nowrap;
  flex: 0 0 auto;
}
.package-card__prices{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
}
.package-card__price-old{
  position: relative;
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}
.package-card__price-old::after{
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform: rotate(-12deg);
}
.package-card__price-new{
  display: inline-block;
  background: #ffd600;
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.2;
  padding: 4px 12px;
  border-radius: 8px;
}
.package-card--auction .package-card__header{
  background: #4a5568;
}
.package-card--dealer .package-card__header{
  background: #553c9a;
}
.package-card--korea .package-card__header{
  background: #10b981;
}
.package-card--china-used .package-card__header{
  background: #f59e0b;
}
.package-card--china-new .package-card__header{
  background: #ef4444;
}

/* Страница услуг - пакеты */
.services-packages {
  padding: 60px 0;
  background: #ffffff;
}

/* Секция консультации */
.services-consultation {
  padding: 60px 0;
  background: #f7fafc;
}
.services-consultation__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.services-consultation__content h2 {
  color: #2d3748;
  margin-bottom: 16px;
  font-size: 2rem;
  font-weight: 700;
}
.services-consultation__content > p {
  color: #4a5568;
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.lead-form--simple .lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .lead-form--simple .lead-form__row {
    grid-template-columns: 1fr;
  }
}


.package-card__body{
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
.package-card__list{
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
  width: 100%;
}
.package-card__list li{
  padding: 10px 0 10px 28px;
  position: relative;
  color: #2d3748;
  font-size: 0.95rem;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
}
.package-card__list li:before{
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff4f1f;
  font-weight: bold;
  font-size: 1.1rem;
}
.btn-package{
  width: 100%;
  padding: 12px 32px;
  border: none;
  background: #ff4f1f;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-sizing: border-box;
  margin-top: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}
.btn-package:hover{
  background: #ff7a1f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 79, 31, 0.3);
}

.packages-carousel__controls{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  min-height: 60px;
  padding: 10px 0;
}
.packages-carousel__controls[hidden]{
  display: none !important;
}
.packages-carousel__dots{
  display: flex;
  gap: 12px;
  align-items: center;
}
.packages-carousel__dots .dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.packages-carousel__dots .dot.active{
  background: #ff4f1f;
  width: 32px;
  border-radius: 16px;
}
.packages-carousel__arrow{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ff4f1f;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 10px 30px rgba(255, 79, 31, 0.35);
}
.packages-carousel__arrow:hover{
  background: #e94e1b;
  transform: scale(1.1);
}
.packages-carousel__arrow svg{
  stroke: #fff;
  width: 24px;
  height: 24px;
}
.packages-carousel__arrow--prev{
  transform: rotate(180deg);
}
.packages-carousel__arrow--prev:hover{
  transform: rotate(180deg) scale(1.1);
}

@media (max-width: 980px){
  .package-card{
    min-height: 0;
  }
  .package-card__header{
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    gap: 12px;
  }
  .package-card__prices{
    align-items: flex-start;
  }
}

/* Sticky контакты */
.sticky-actions{
  position: fixed;
  right: 12px;
  bottom: 12px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}
.sticky-actions__btn{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #ff4f1f;
  color:#fff;
  text-decoration:none;
  box-shadow: 0 8px 20px rgba(255, 79, 31, 0.35);
  border: none;
}
.sticky-actions__btn:hover{ transform: translateY(-1px); }
.sticky-actions__btn .icon{ font-size: 20px; line-height: 1; }
.sticky-actions__btn svg{ 
  width: 26px; 
  height: 26px; 
  display: block;
}
.sticky-actions__btn[href*="t.me"],
.sticky-actions__btn[title*="Telegram"] {
  background: #24A1DE;
  box-shadow: 0 8px 20px rgba(36, 161, 222, 0.35);
}
.sticky-actions__btn[href*="wa.me"],
.sticky-actions__btn[title*="WhatsApp"] {
  background: #25D366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* Адаптив */
@media (max-width: 1200px){
  .filters__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 980px){
  .home-calc__grid{ grid-template-columns: 1fr; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .section-head h2{ font-size: 1.75rem; }
  .package-card__price{
    font-size: 1.5rem;
  }
  .package-card__price-old{
    font-size: 1.1rem;
  }
  .package-card__price-new{
    font-size: 1.25rem;
  }
  .filters__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px){
  .calc-row{ grid-template-columns: 1fr; }
  .sticky-actions{ right: 12px; bottom: 12px; }
  .package-card__header{
    padding: 20px;
  }
  .package-card__header h3{
    font-size: 1rem;
  }
  .package-card__price{
    font-size: 1.25rem;
  }
  .package-card__price-old{
    font-size: 1rem;
  }
  .package-card__price-new{
    font-size: 1.1rem;
    padding: 3px 10px;
  }
  .services-packages__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
  .filters__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px){
  .calc-row{ grid-template-columns: 1fr; }
  .sticky-actions{ right: 12px; bottom: 12px; }
  .services-header h1 {
    font-size: 1.5rem;
  }
  .services-header p {
    font-size: 0.95rem;
  }
  .services-packages__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-consultation__content h2 {
    font-size: 1.5rem;
  }
}

/* Страницы информации о покупке авто */
.info-header {
    background: #f7fafc;
    padding: 48px 0;
    text-align: center;
    margin-top: 72px;
}
.info-header h1 {
    color: #2d3748;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 2.5rem;
}
.info-header p {
    color: #718096;
    font-size: 1.2rem;
    font-weight: 400;
}
.info-content {
    padding: 48px 0;
    background: #ffffff;
}
.info-article {
    max-width: 900px;
    margin: 0 auto;
}
.info-article h2 {
    color: #2d3748;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 2rem;
}
.info-article h3 {
    color: #ff4f1f;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.5rem;
}
.info-article p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 1.05rem;
}
.info-article ul,
.info-article ol {
    margin-bottom: 24px;
    padding-left: 24px;
}
.info-article ul li,
.info-article ol li {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 1.05rem;
}
.info-article ul {
    list-style-type: disc;
}
.info-article ol {
    list-style-type: decimal;
}
.info-consultation {
    padding: 64px 0;
    background: #f7fafc;
}
.info-consultation__content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.info-consultation__content h2 {
    color: #2d3748;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 2rem;
}
.info-consultation__content p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 32px;
}
.info-offices {
    padding: 48px 0;
    background: #ffffff;
}

/* Форма подбора авто */
.car-selection {
    padding: 40px 0;
    background: #0b0f19;
    color: #ffffff;
}
.car-selection__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
    align-items: start;
}
.car-selection__title-block h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}
.car-selection__title-block p {
    font-size: 0.95rem;
    color: #a0aec0;
    margin: 0;
    line-height: 1.5;
}
.car-selection__subtitle {
    font-size: 0.95rem;
    color: #a0aec0;
    margin: 0;
}
.car-selection__description {
    font-size: 0.9rem;
    color: #cbd5e0;
    line-height: 1.5;
}
.car-selection-form {
    background: #1a202c;
    border-radius: 12px;
    padding: 24px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.car-selection__params {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 16px;
    margin-bottom: 24px;
    align-items: start;
}
.car-selection__right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    height: 100%;
}
.car-selection__left-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.car-selection__right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.car-selection__param-group {
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.car-selection__param-group:last-child {
    margin-bottom: 0;
}
.car-selection__param-group h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}
.car-selection__subtitle {
    font-size: 0.85rem;
    color: #a0aec0;
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.car-selection__param-note {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-bottom: 10px;
}
.fuel-options,
.budget-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
    align-items: stretch;
    align-content: start;
    grid-auto-rows: minmax(70px, auto);
}
.vehicle-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    width: 100%;
    aspect-ratio: 1;
    min-height: 0;
    max-height: 70px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 4px 2px;
    background: #2d3748;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.vehicle-option:hover {
    background: #374151;
}
.vehicle-option:has(input[type="radio"]:checked) {
    background: #374151;
}
.vehicle-option .inp-radio label {
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 1.2;
    padding: 0 4px;
}
.car-selection__button-wrapper {
    margin-top: auto;
    padding-top: 20px;
}
.car-selection__button-wrapper .btn {
    width: 100%;
    text-align: center;
}
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
.radio-group--budget {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
.radio-group--vehicles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #2d3748;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.radio-option:hover {
    background: #374151;
    border-color: #ff5a1f;
}
.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #ff5a1f;
    flex-shrink: 0;
}
.radio-option input[type="radio"]:checked + span {
    color: #ff5a1f;
    font-weight: 600;
}
.radio-option input[type="radio"]:checked ~ .vehicle-icon {
    filter: brightness(1.2);
}
.radio-option span {
    color: #e2e8f0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.radio-option--vehicle {
    flex-direction: column;
    text-align: center;
    padding: 10px 8px;
    gap: 6px;
}
.vehicle-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.vehicle-icon svg {
    width: 100%;
    height: auto;
    max-width: 40px;
    max-height: 18px;
    transition: all 0.3s ease;
}
.radio-option:hover .vehicle-icon svg path {
    fill: #ff5a1f;
}
.radio-option input[type="radio"]:checked ~ .vehicle-icon svg path {
    fill: #ff5a1f;
}
.car-selection__footer {
    text-align: center;
    margin-top: 20px;
}
.car-selection__footer .btn {
    margin-bottom: 12px;
    padding: 12px 32px;
    font-size: 1rem;
}
.car-selection__agreement {
    font-size: 0.8rem;
    color: #a0aec0;
    margin: 0;
}
.car-selection__agreement a {
    color: #ff5a1f;
    text-decoration: none;
}
.car-selection__agreement a:hover {
    text-decoration: underline;
}

/* Модальное окно подбора */
.modal__content--selection {
    max-width: 500px;
}
.selection-modal-form .form-group {
    margin-bottom: 20px;
}
.selection-modal-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
}
.selection-modal-form .form-group input,
.selection-modal-form .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}
.selection-modal-form .form-group--readonly {
    margin-top: 24px;
}
.selection-modal-form .form-group--readonly label {
    margin-bottom: 12px;
}
.selected-params {
    background: #f7fafc;
    padding: 16px;
    border-radius: 8px;
    margin-top: 8px;
}
.selected-params p {
    margin: 8px 0;
    color: #2d3748;
    font-size: 0.95rem;
}
.selected-params span {
    font-weight: 600;
    color: #ff5a1f;
}
.form-agreement {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 16px;
    text-align: center;
    line-height: 1.5;
}
.form-agreement a {
    color: #ff5a1f;
    text-decoration: none;
}
.form-agreement a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .car-selection__params {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .car-selection__left-column,
    .car-selection__right-column {
        width: 100%;
    }
    .car-selection__header {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .car-selection {
        padding: 32px 0;
    }
    .car-selection-form {
        padding: 20px;
    }
    .car-selection__title-block h3 {
        font-size: 1.5rem;
    }
    .car-selection__subtitle {
        font-size: 0.85rem;
    }
    .car-selection__description {
        font-size: 0.85rem;
    }
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    .fuel-options,
    .budget-options {
        gap: 6px;
    }
    .radio-group--budget,
    .radio-group--vehicles {
        grid-template-columns: 1fr;
    }
    .radio-option {
        padding: 8px 10px;
    }
    .radio-option--vehicle {
        padding: 8px;
    }
    .vehicle-icon {
        font-size: 1.25rem;
    }
}
@media (max-width: 768px) {
    .info-header h1 {
        font-size: 2rem;
    }
    .info-header p {
        font-size: 1rem;
    }
    .info-article h2 {
        font-size: 1.75rem;
    }
    .info-article h3 {
        font-size: 1.25rem;
    }
    .info-article p,
    .info-article ul li,
    .info-article ol li {
        font-size: 1rem;
    }
    .info-consultation__content h2 {
        font-size: 1.75rem;
    }
}

/* Новые стили для структуры формы подбора авто */
.car-selection .form-contaner {
    background-color: #1a202c;
    border-radius: 12px;
}

.car-selection .form-item {
    margin-bottom: 1.5rem;
}

.car-selection .label-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.car-selection .label-title small {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: #a0aec0;
    margin-top: 4px;
}

.car-selection .inp-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
}

.car-selection .inp-image:hover {
    border-color: #ff5a1f;
    background: #374151;
}

.car-selection .inp-image label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%;
}

.car-selection .inp-image .vehicle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.car-selection .inp-image svg {
    width: 100%;
    height: auto;
    max-width: 45px;
    max-height: 20px;
    transition: all 0.3s ease;
    display: block;
}
.vehicle-option .inp-image svg {
    max-width: 32px;
    max-height: 16px;
    width: 100%;
    height: auto;
}

.car-selection .inp-image svg path {
    fill: #F5F5F5;
    transition: fill 0.3s ease;
}

.car-selection .inp-image:hover svg path {
    fill: #ff5a1f;
}

.car-selection .vehicle-option:has(input[type="radio"]:checked) .inp-image svg path,
.car-selection .inp-image.checked svg path {
    fill: #ff5a1f !important;
}

.car-selection .vehicle-option:has(input[type="radio"]:checked) .inp-image {
    background: transparent;
}

.car-selection .inp-image.checked {
    background: transparent;
}

.car-selection .inp-radio {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    background: #2d3748;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    min-height: 36px;
    justify-content: flex-start;
}
.vehicle-option .inp-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    width: 100%;
    margin: 0;
    pointer-events: none;
    flex-shrink: 0;
    min-height: auto;
    height: auto;
    gap: 0;
}
.vehicle-option .inp-radio input,
.vehicle-option .inp-radio label {
    pointer-events: auto;
    cursor: pointer;
}
.vehicle-option .inp-image {
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
}
.vehicle-option .inp-radio label {
    margin: 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.7rem;
    line-height: 1.1;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-selection .inp-radio:hover {
    background: #374151;
}

.car-selection .inp-radio input[type="radio"] {
    width: 14px;
    height: 14px;
    margin: 0;
    margin-right: 6px;
    cursor: pointer;
    accent-color: #ff5a1f;
    flex-shrink: 0;
}
.vehicle-option .inp-radio input[type="radio"] {
    width: 10px;
    height: 10px;
    margin: 0 4px 0 0;
    flex-shrink: 0;
    align-self: center;
}

.car-selection .inp-radio input[type="radio"]:checked {
    border-color: #ff5a1f;
}

.car-selection .inp-radio input[type="radio"]:checked + label,
.car-selection .inp-radio:has(input[type="radio"]:checked) {
    background: #374151;
}

.car-selection .inp-radio label {
    color: #e2e8f0;
    font-size: 0.8rem;
    cursor: pointer;
    margin: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.car-selection .inp-radio input[type="radio"]:checked + label {
    color: #ff5a1f;
    font-weight: 600;
}

.car-selection .inp-radio:has(input[type="radio"]:checked) label {
    color: #ff5a1f;
    font-weight: 600;
}

/* Bootstrap-подобные утилиты */
.car-selection .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}

.car-selection .row > * {
    padding-left: 8px;
    padding-right: 8px;
}

.car-selection .row.flex-row-reverse {
    flex-direction: row-reverse;
}

.car-selection .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.car-selection .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.car-selection .col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.car-selection .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.car-selection .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.car-selection .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.car-selection .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.car-selection .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.car-selection .text-center {
    text-align: center;
}

.car-selection .text-start {
    text-align: left;
}

.car-selection .text-md-start {
    text-align: left;
}

.car-selection .align-items-center {
    align-items: center;
}

.car-selection .fw-500 {
    font-weight: 500;
}

.car-selection .p-3 {
    padding: 1rem;
}

.car-selection .p-md-5 {
    padding: 3rem;
}

.car-selection .mt-2 {
    margin-top: 0.5rem;
}

.car-selection .mt-4 {
    margin-top: 1.5rem;
}

.car-selection .mt-5 {
    margin-top: 3rem;
}

.car-selection .mb-2 {
    margin-bottom: 0.5rem;
}

.car-selection .mb-3 {
    margin-bottom: 1rem;
}

.car-selection .my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.car-selection .d-block {
    display: block;
}

.car-selection .d-md-inline-block {
    display: inline-block;
}

.car-selection .text-nowrap {
    white-space: nowrap;
}

.car-selection .btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.car-selection .btn-warning {
    background: #ff5a1f;
    color: #ffffff;
}

.car-selection .btn-warning:hover {
    background: #e94e1b;
    color: #ffffff;
}

/* Адаптивные стили для новой структуры */
@media (max-width: 1024px) {
    .car-selection .col-md-4,
    .car-selection .col-md-5,
    .car-selection .col-md-6,
    .car-selection .col-md-7,
    .car-selection .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .car-selection .row.flex-row-reverse {
        flex-direction: column;
    }
    
    .car-selection .p-md-5 {
        padding: 1.5rem;
    }
    
    .car-selection .d-md-inline-block {
        display: block;
        width: 100%;
    }
    
    .car-selection .text-md-start {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .car-selection .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .car-selection .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .car-selection .p-3 {
        padding: 0.75rem;
    }
    
    .car-selection .p-md-5 {
        padding: 1rem;
    }
    
    .car-selection .inp-image {
        padding: 8px;
    }
    
    .car-selection .inp-image .vehicle-icon svg {
        width: 50px;
        max-height: 20px;
    }
    
    .car-selection .inp-radio {
        padding: 8px 10px;
    }
    
    .car-selection .inp-radio label {
        font-size: 0.85rem;
    }
    
    .car-selection .btn {
        width: 100%;
        padding: 12px 24px;
    }
    
    .car-selection__params {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .car-selection__left-column,
    .car-selection__right-column {
        max-width: 100%;
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .vehicle-option {
        padding: 6px;
    }
    
    .vehicle-option .inp-image svg {
        max-width: 35px;
        max-height: 16px;
    }
    
    .vehicle-option .inp-radio label {
        font-size: 0.7rem;
    }
    
    .car-selection-form {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .car-selection .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .car-selection .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Калькулятор растаможки */
.customs-calculator {
    padding: 56px 0;
    background: #f7fafc;
    margin-top: 72px;
}

.calc-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.calc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.calc-card h3 {
    font-size: 18px;
    margin: 0 0 16px;
    color: #2d3748;
    font-weight: 600;
}

.calc-row,
.calc-row3 {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

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

.calc-row3 {
    grid-template-columns: repeat(3, 1fr);
}

.calc-row3--two-cols {
    grid-template-columns: 1fr 1fr;
}

.calc-field {
    min-width: 0;
}

.calc-field label {
    display: block;
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 8px;
    font-weight: 500;
}

.calc-field input,
.calc-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 12px;
    font-size: 14px;
    background: #fff;
    color: #2d3748;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.calc-field input:focus,
.calc-field select:focus {
    outline: none;
    border-color: #ff4f1f;
    box-shadow: 0 0 0 3px rgba(255, 79, 31, 0.1);
}

.calc-field input[type="checkbox"] {
    width: auto;
    transform: translateY(2px);
}

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #718096;
}

.calc-hint {
    font-size: 12px;
    color: #718096;
    line-height: 1.4;
    margin-top: 6px;
}

.calc-hint strong {
    color: #2d3748;
}

.calc-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.calc-status {
    margin-top: 12px;
    font-size: 12px;
    color: #718096;
    min-height: 20px;
}

.calc-status.warn {
    color: #b45309;
}

.calc-status.ok {
    color: #047857;
}

.calc-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.calc-results-table td {
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    vertical-align: top;
    font-size: 14px;
}

.calc-results-table td:last-child {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: #2d3748;
}

.calc-results-table tr.calc-manager-only {
    display: none;
}

body.calc-manager-view .calc-results-table tr.calc-manager-only {
    display: table-row;
}

@media (max-width: 768px) {
    body.calc-manager-view .calc-results-table tr.calc-manager-only {
        display: block;
    }
}

.calc-kpi-box {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    background: #fafbff;
    margin: 16px 0;
}

.calc-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.calc-kpi {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.calc-kpi-title {
    font-size: 12px;
    color: #4a5568;
    margin-bottom: 6px;
}

.calc-kpi-value {
    font-size: 18px;
    font-weight: 800;
    color: #2d3748;
    font-variant-numeric: tabular-nums;
}

.calc-kpi-sub {
    font-size: 12px;
    color: #718096;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

.calc-total-box {
    background: #0b3b91;
    color: #fff;
    border-radius: 14px;
    padding: 20px;
    margin-top: 16px;
}

.calc-total-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.calc-total-value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.calc-total-sub {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

.calc-note {
    margin-top: 12px;
    font-size: 12px;
    color: #718096;
    line-height: 1.5;
}

.calc-note .mono {
    font-variant-numeric: tabular-nums;
}

/* Пресеты калькулятора */
.calc-presets {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.calc-presets__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
}

.calc-presets__buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.calc-preset-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.calc-preset-btn:hover {
    border-color: #ff4f1f;
    background: #fff7f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 79, 31, 0.15);
}

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

.calc-preset-btn__title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.calc-preset-btn__info {
    font-size: 12px;
    color: #718096;
}

.calc-preset-btn.active {
    border-color: #ff4f1f;
    background: #fff7f5;
}

/* Tooltip стили */
.calc-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    cursor: help;
}

.calc-tooltip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #e2e8f0;
    color: #4a5568;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.2s;
}

.calc-tooltip:hover .calc-tooltip__icon {
    background: #ff4f1f;
    color: #fff;
}

.calc-tooltip__text {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    width: 240px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.calc-tooltip__text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2d3748;
}

.calc-tooltip:hover .calc-tooltip__text {
    opacity: 1;
    visibility: visible;
}

/* Диаграмма расходов */
.calc-chart-container {
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.calc-chart-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
    text-align: center;
}

.calc-chart {
    display: flex;
    align-items: center;
    gap: 24px;
}

.calc-chart__donut {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.calc-chart__donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.calc-chart__donut circle {
    fill: none;
    stroke-width: 20;
    stroke-linecap: round;
}

.calc-chart__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.calc-chart__center-value {
    font-size: 14px;
    font-weight: 700;
    color: #2d3748;
}

.calc-chart__center-label {
    font-size: 10px;
    color: #718096;
}

.calc-chart__legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-chart__legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.calc-chart__legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.calc-chart__legend-label {
    color: #4a5568;
    flex: 1;
}

.calc-chart__legend-value {
    font-weight: 600;
    color: #2d3748;
    font-variant-numeric: tabular-nums;
}

/* Кнопки действий */
.calc-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.calc-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s;
}

.calc-action-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
}

.calc-action-btn svg {
    width: 16px;
    height: 16px;
}

.calc-action-btn--copied {
    background: #c6f6d5;
    border-color: #9ae6b4;
    color: #22543d;
}

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

    .calc-row,
    .calc-row3,
    .calc-row3--two-cols {
        grid-template-columns: 1fr;
    }
    
    .calc-kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-presets__buttons {
        grid-template-columns: 1fr 1fr;
    }
    
    .calc-chart {
        flex-direction: column;
    }
    
    .calc-tooltip__text {
        left: auto;
        right: -10px;
        transform: none;
        max-width: min(260px, calc(100vw - 48px));
    }
    
    .calc-tooltip__text::after {
        left: auto;
        right: 16px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .calc-presets__buttons {
        grid-template-columns: 1fr;
    }
    
    .calc-presets {
        padding: 16px;
    }
}

/* Мобильные улучшения калькулятора */
@media (max-width: 768px) {
    .customs-calculator {
        padding: 40px 0 56px;
        overflow-x: hidden;
    }

    .customs-calculator .container {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100%;
    }

    .calc-wrapper {
        max-width: 100%;
        overflow: hidden;
    }

    .calc-card {
        padding: 16px;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .calc-card h3 {
        font-size: 16px;
    }

    .calc-row,
    .calc-row3,
    .calc-row3--two-cols {
        grid-template-columns: 1fr;
    }
    
    /* Увеличенные поля ввода на мобильных */
    .calc-field input,
    .calc-field select {
        padding: 14px;
        font-size: 16px; /* Предотвращает zoom на iOS */
        max-width: 100%;
    }
    
    /* Увеличенные кнопки */
    .calc-buttons {
        flex-direction: column;
    }
    
    .calc-buttons .btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 15px;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Результаты: стек label → value, без обрезания */
    .calc-results-table {
        display: block;
        width: 100%;
    }

    .calc-results-table tbody {
        display: block;
        width: 100%;
    }

    .calc-results-table tr {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px dashed #e2e8f0;
        box-sizing: border-box;
    }

    .calc-results-table td {
        display: block;
        width: 100%;
        padding: 0;
        border: none;
        box-sizing: border-box;
    }

    .calc-results-table td:first-child {
        color: #718096;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .calc-results-table td:last-child {
        text-align: left;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.45;
    }

    .calc-note {
        word-break: break-word;
        overflow-wrap: anywhere;
        font-size: 12px;
    }
    
    /* Sticky-итог отключён — оставлял футер недоступным на iPhone */
    .calc-total-box--sticky {
        position: static;
        box-shadow: none;
        border-radius: 16px;
        animation: none;
        padding: 20px;
    }
    
    /* Анимация появления результатов */
    .calc-results-table tr {
        animation: fadeInRow 0.3s ease forwards;
        opacity: 0;
    }
    
    .calc-results-table tr:nth-child(1) { animation-delay: 0.05s; }
    .calc-results-table tr:nth-child(2) { animation-delay: 0.1s; }
    .calc-results-table tr:nth-child(3) { animation-delay: 0.15s; }
    .calc-results-table tr:nth-child(4) { animation-delay: 0.2s; }
    .calc-results-table tr:nth-child(5) { animation-delay: 0.25s; }
    .calc-results-table tr:nth-child(6) { animation-delay: 0.3s; }
    .calc-results-table tr:nth-child(7) { animation-delay: 0.35s; }
    .calc-results-table tr:nth-child(8) { animation-delay: 0.4s; }
    .calc-results-table tr:nth-child(9) { animation-delay: 0.45s; }
    
    @keyframes fadeInRow {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* KPI блоки в столбик */
    .calc-kpi-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .calc-kpi {
        padding: 10px 12px;
    }
    
    /* Диаграмма на мобильных */
    .calc-chart-container {
        padding: 12px;
    }
    
    .calc-chart__donut {
        width: 100px;
        height: 100px;
    }
    
    .calc-chart__legend-item {
        font-size: 12px;
    }
    
    /* Пресеты на мобильных */
    .calc-preset-btn {
        padding: 12px 14px;
    }
    
    .calc-preset-btn__title {
        font-size: 13px;
    }
    
    .calc-preset-btn__info {
        font-size: 11px;
    }
}

/* Калькулятор доставки из США */
.usa-delivery-calculator {
    margin-top: 72px;
}

.usa-calc__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.9fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.usa-calc__panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.usa-calc__panel h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #2d3748;
}

.usa-calc__load-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.usa-calc__load-type {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 13px;
}

.usa-calc__load-type:has(input:checked) {
    border-color: #ff4f1f;
    background: #fff7f3;
}

.usa-calc__load-type input {
    accent-color: #ff4f1f;
}

.usa-calc__load-info {
    margin: 16px 0 0;
    font-size: 13px;
    color: #718096;
}

.usa-calc__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 14px;
    cursor: pointer;
}

.usa-calc__engines {
    border: none;
    padding: 0;
    margin: 12px 0 16px;
}

.usa-calc__engines legend {
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 8px;
}

.usa-calc__engines label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    cursor: pointer;
}

.usa-calc__results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.usa-calc__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #4a5568;
}

.usa-calc__row strong {
    color: #2d3748;
    white-space: nowrap;
}

.usa-calc__row--subtotal {
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    font-weight: 600;
}

.usa-calc__row--total {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 2px solid #2d3748;
    font-size: 16px;
    font-weight: 700;
}

.usa-calc__note {
    margin: 16px 0;
    font-size: 12px;
    color: #718096;
    line-height: 1.5;
}

.usa-calc__submit,
.usa-calc__contact {
    width: 100%;
    margin-top: 8px;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 980px) {
    .usa-calc__grid {
        grid-template-columns: 1fr;
    }

    .usa-calc__panel--results {
        order: 3;
    }
}

@media (max-width: 640px) {
    .usa-calc__load-types {
        grid-template-columns: 1fr;
    }
}

