

/* Start:/local/templates/jam_auto/styles.css?178516829730887*/
:root {
    --primary: #1e3a8a;
    --primary-dark: #172554;
    --accent: #3b82f6;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: 0.3s;
}

/* Десктоп: меню строго по центру */
@media (min-width: 1025px) {
    .nav-wrapper {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    
    .logo { 
        grid-column: 1; 
        justify-self: start; 
    }
    
    nav { 
        grid-column: 2; 
    }
    
    .mobile-toggle { 
        grid-column: 3; 
        justify-self: end; 
        display: none; 
    }
}

/* Мобильные и планшеты: возвращаем стандартный flex */
@media (max-width: 1024px) {
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.logo span { color: var(--accent); }

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list a:hover { color: var(--accent); }

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://cdn-ru.bitrix24.ru/b29375394/landing/d25/d258f68cf9918c18df28bb9f4017731a/a7d399483dbfdabac17e918a4a616968_1x.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5);
}

.hero-content {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
}

.hero-text-block {
    max-width: 600px;
    text-align: right;
    color: var(--white);
    padding: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    border: 2px solid var(--primary);
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: transparent;
    color: var(--white);
}

/* --- Countries Section --- */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.country-card {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.country-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.country-card:hover img {
    transform: scale(1.1);
}

.country-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    transition: 0.3s;
}

.country-title {
    font-size: 28px;
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.country-text {
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

.country-link {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    color: var(--accent);
}

.country-link i { margin-left: 5px; transition: 0.3s; }
.country-card:hover .country-link i { margin-left: 10px; }

/* --- Features Section --- */
.features {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-gray);
}

/* --- Steps Section --- */
.steps {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.steps::before {
    display: none;
}

.steps-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-gray);
}

/* --- Form Section --- */
.calc-section {
    padding: 100px 0;
    background-image: url('/local/templates/jam_auto/images/bg/calc_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.calc-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.calc-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.calc-text {
    flex: 1;
    min-width: 300px;
    color: var(--white);
}

.calc-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.calc-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.calc-form-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: var(--white);
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* --- Reviews Section --- */
.reviews {
    background: var(--bg-light);
}

/* --- FAQ Section --- */
.faq {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('/local/templates/jam_auto/images/bg/faq_bg.jpeg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.accordion-item {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    background: var(--white);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: var(--text-dark);
}

.accordion-header:hover {
    background: #f9f9f9;
}

.accordion-header.active {
    background: var(--primary);
    color: var(--white);
}

.accordion-icon {
    transition: 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
    padding: 0 20px;
}

.accordion-body p {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* --- Footer --- */
footer {
    background: #111827;
    color: #9ca3af;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #9ca3af;
}

.footer-col ul li a {
    color: #9ca3af;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    font-size: 0.9rem;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (СОВРЕМЕННЫЕ УСТРОЙСТВА)
   ========================================================================== */

/* Большие планшеты и маленькие ноутбуки (до 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .calc-text h2 {
        font-size: 2.5rem;
    }
    
    .countries-grid,
    .features-grid,
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Планшеты (до 834px - iPad Air/Pro) */
@media (max-width: 834px) {
    .hero-text-block {
        text-align: center;
        padding: 20px;
    }
    
    .hero-content {
        justify-content: center;
    }
    
    .calc-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .calc-text {
        text-align: center;
    }
    
    .calc-form-wrapper {
        max-width: 100%;
    }
}

/* Большие смартфоны (до 480px - Samsung S24 Ultra, iPhone Pro Max) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 26px;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    /* Header */
    .site-header {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.95);
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .mobile-toggle {
    display: block;
    margin-left: auto;
}
    
    /* Hero */
    .hero {
        min-height: 500px;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* Countries */
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .country-card {
        height: 300px;
    }
    
    .country-title {
        font-size: 24px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    /* Steps */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .step-card {
        flex-direction: row;
        text-align: left;
    }
    
    .step-number {
        font-size: 32px;
    }
    
    /* Form */
    .calc-section {
        padding: 60px 0;
    }
    
    .calc-text h2 {
        font-size: 28px;
    }
    
    .calc-form-wrapper {
        padding: 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-control {
        padding: 12px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    /* FAQ */
    .accordion-header {
        padding: 15px;
        font-size: 15px;
    }
    
    .accordion-body p {
        padding: 15px 0;
        font-size: 14px;
    }
    
    /* Footer */
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
}

/* Маленькие смартфоны (до 375px - iPhone SE, старые Android) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .country-card {
        height: 250px;
    }
    
    .calc-text h2 {
        font-size: 24px;
    }
    
    .calc-form-wrapper {
        padding: 20px;
    }
}

/* ===== СТИЛИ ДЛЯ КОНТЕНТА FAQ ===== */

.accordion-body p {
    padding: 15px 0 !important;
    font-size: 14px !important;
    color: var(--text-gray) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* Списки в FAQ */
.accordion-body ul,
.accordion-body ol {
    margin: 15px 0 !important;
    padding-left: 25px !important;
}

.accordion-body ul {
    list-style-type: disc !important;
}

.accordion-body ol {
    list-style-type: decimal !important;
}

.accordion-body li {
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
    color: var(--text-gray) !important;
}

.accordion-body li:last-child {
    margin-bottom: 0 !important;
}

/* Жирный текст */
.accordion-body strong,
.accordion-body b {
    color: var(--text-dark) !important;
    font-weight: 600 !important;
}

/* Переносы строк */
.accordion-body br {
    margin-bottom: 10px !important;
}

/* Ссылки внутри FAQ */
.accordion-body a {
    color: var(--accent) !important;
    text-decoration: underline !important;
}

.accordion-body a:hover {
    color: var(--primary) !important;
}

/* Меню в футере */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--white);
}

.footer-menu a.active {
    color: var(--accent);
}

/* ===== СТРАНИЦА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ ===== */
.policy-container {
    max-width: 900px;
    margin: 100px auto 60px;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.policy-container h1 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.policy-date {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 40px;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.policy-section p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.policy-section ul,
.policy-section ol {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-section li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.policy-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .policy-container {
        margin: 80px auto 40px;
        padding: 25px 15px;
    }

    .policy-container h1 {
        font-size: 26px;
    }

    .policy-section h2 {
        font-size: 18px;
    }

    .policy-section p,
    .policy-section li {
        font-size: 14px;
    }
}

/* ===== БАННЕР COOKIES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.97);
    backdrop-filter: blur(10px);
    color: var(--white);
    z-index: 9999;
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #d1d5db;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: var(--white);
}

.cookie-btn {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    padding: 8px 24px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn:hover {
    background: transparent;
    border-color: var(--accent);
    color: var(--white);
}

/* На мобильных */
@media (max-width: 640px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .cookie-btn {
        width: 100%;
        padding: 10px;
    }
}
.privacy-link {
    color: #9ca3af;
    text-decoration: underline;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--white);
}

/* ===== СТИЛИЗАЦИЯ CRM-ФОРМЫ БИТРИКС24 ===== */

/* Контейнер формы */
.b24-form-wrapper {
    background: #ffffff !important;
    padding: 35px !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
    min-height: 450px !important;
}

/* Основной контейнер формы Битрикс24 */
.b24-form-wrapper .bx-crma-form-wrap {
    background: transparent !important;
    box-shadow: none !important;
}

/* Поля ввода */
.b24-form-wrapper input[type="text"],
.b24-form-wrapper input[type="tel"],
.b24-form-wrapper input[type="email"],
.b24-form-wrapper textarea {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    /*padding: 12px 15px !important;*/
    font-size: 15px !important;
    font-family: 'Inter', sans-serif !important;
    color: #1f2937 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

/* Поля при фокусе */
.b24-form-wrapper input[type="text"]:focus,
.b24-form-wrapper input[type="tel"]:focus,
.b24-form-wrapper input[type="email"]:focus,
.b24-form-wrapper textarea:focus {
    background: #ffffff !important;
    border-color: #1e3a8a !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1) !important;
}

/* Placeholder (подсказки в полях) */
.b24-form-wrapper input::placeholder,
.b24-form-wrapper textarea::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

/* Лейблы (подписи полей) */
.b24-form-wrapper label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    font-family: 'Inter', sans-serif !important;
    display: block !important;
}

/* Кнопка отправки формы */
.b24-form-wrapper button[type="submit"],
.b24-form-wrapper .bx-crma-form-submit {
    background: #1e3a8a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
}

/* Кнопка при наведении */
.b24-form-wrapper button[type="submit"]:hover,
.b24-form-wrapper .bx-crma-form-submit:hover {
    background: #172554 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
}

/* Кнопка при нажатии */
.b24-form-wrapper button[type="submit"]:active,
.b24-form-wrapper .bx-crma-form-submit:active {
    transform: translateY(0) !important;
}

/* Текст под кнопкой (политика конфиденциальности) */
.b24-form-wrapper .bx-crma-form-consent,
.b24-form-wrapper .b24-form-consent {
    font-size: 12px !important;
    color: #9ca3af !important;
    text-align: center !important;
    margin-top: 15px !important;
    line-height: 1.4 !important;
}

.b24-form-wrapper .bx-crma-form-consent a,
.b24-form-wrapper .b24-form-consent a {
    color: #1e3a8a !important;
    text-decoration: underline !important;
}

.b24-form-wrapper .bx-crma-form-consent a:hover,
.b24-form-wrapper .b24-form-consent a:hover {
    color: #3b82f6 !important;
}

/* Чекбоксы (согласие на обработку данных) */
.b24-form-wrapper input[type="checkbox"] {
    border: 1px solid #d1d5db !important;
    border-radius: 3px !important;
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ФОРМЫ ===== */
@media (max-width: 768px) {
    /* Контейнер формы */
    .b24-form-wrapper {
        padding: 25px 20px !important;
    }

    /* Все поля ввода - увеличенные для мобильных */
    .b24-form-wrapper input[type="text"],
    .b24-form-wrapper input[type="tel"],
    .b24-form-wrapper input[type="email"],
    .b24-form-wrapper input[type="number"],
    .b24-form-wrapper textarea {
        padding: 16px 15px !important; /* Увеличили padding */
        min-height: 52px !important; /* Увеличили высоту */
        font-size: 16px !important; /* Предотвращает зум на iOS */
        line-height: 1.5 !important;
    }

    /* Выпадающие списки */
    .b24-form-wrapper select {
        padding: 16px 40px 16px 15px !important; /* Увеличили padding */
        min-height: 52px !important; /* Увеличили высоту */
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    /* Лейблы */
    .b24-form-wrapper label {
        font-size: 14px !important;
        margin-bottom: 10px !important; /* Увеличили отступ от лейбла до поля */
    }

    /* Кнопка */
    .b24-form-wrapper button[type="submit"],
    .b24-form-wrapper .bx-crma-form-submit {
        padding: 16px 24px !important;
        font-size: 16px !important;
        min-height: 52px !important;
    }

    /* Чекбокс */
    .b24-form-wrapper input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
    }

    /* Текст согласия */
    .b24-form-wrapper .b24-form-consent,
    .b24-form-wrapper .bx-crma-form-consent {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    /* ===== ИСПРАВЛЕНИЕ ЦЕНТРИРОВАНИЯ ТЕКСТА В ТЕЛЕФОНЕ И SELECT ===== */

    /* Задаем жесткий верхний отступ и сбиваем центрирование через line-height */
    .b24-form-wrapper .b24-form-control-phone input,
    .b24-form-wrapper select,
    .b24-form-wrapper .b24-form-control-select {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        line-height: 1.4 !important;
        display: block !important; /* Убираем flex-центрирование */
    }

    /* Убираем центрирование у внутренних элементов (сам текст внутри селекта) */
    .b24-form-wrapper .b24-form-control-select-pretty,
    .b24-form-wrapper .b24-form-control-select-value,
    .b24-form-wrapper .b24-form-control-select span {
        display: block !important;
        line-height: 1.4 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        align-items: flex-start !important;
    }
}

/* Убираем лишние отступы и рамки у iframe (если форма загружается через iframe) */
.b24-form-wrapper iframe {
    border: none !important;
    width: 100% !important;
    min-height: 430px !important;
}

/* ===== ФУТЕР (СВЕТЛЫЙ) ===== */
.site-footer {
    background: var(--bg-light);
    color: var(--text-gray);
    padding: 50px 0 25px;
    border-top: 1px solid #e2e8f0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

/* Левая часть */
.footer-left {
    justify-self: start;
}

.footer-copy {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-style: italic;
}

.footer-policy {
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: underline;
    transition: color 0.3s ease;
}
.footer-policy:hover {
    color: var(--primary);
}

/* Центр */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    text-decoration: none;
}
.footer-logo span {
    color: var(--accent);
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.footer-social-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Правая часть */
.footer-right {
    justify-self: end;
    text-align: right;
}

.footer-requisites {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-gray);
}

.footer-org-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.footer-org-inn,
.footer-org-kpp,
.footer-org-ogrn,
.footer-org-address {
    margin-bottom: 2px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-left,
    .footer-right {
        justify-self: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    .footer-logo {
        font-size: 26px;
    }
    .footer-copy,
    .footer-policy {
        font-size: 13px;
    }
    .footer-requisites {
        font-size: 12px;
    }
}
/* End */
/* /local/templates/jam_auto/styles.css?178516829730887 */
