* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

.section_wrapper {
    padding: 80px 0;
}

/* Header */
.header {
    background: white;
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6%;
}

.logo_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

/* Hero Section */
.hero {
    background: #EA4927;
    padding: 60px 0 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    margin: 0 0 20px 0;
}

.hero-description {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-title {
    text-align: center;
    color: #6B7280;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 15px;
    background: #FAFAFA;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #F97316;
    background: white;
}

.form-input::placeholder {
    color: #9CA3AF;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    margin-top: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    background: #FCD34D;
    color: #000;
    border: none;
    padding: 15px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #FBBF24;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: scale(0.98);
}

.field-info {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.checkbox-center {
    justify-content: center;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Переходы для форм */
.application-form {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Features Section */
.features-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
}

.car_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.car_img {
    max-width: 95%;
    height: auto;
}

.features-list {
    padding-left: 40px;
}

.feature-item {
    margin-bottom: 35px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.feature-description {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.5;
}

/* Steps Section */
.steps {
    background: #fafafa;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: #1F2937;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: #EF4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-text {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #FAFAFA;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: #ececec;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #d1d1d1;
}

.faq-icon {
    font-size: 24px;
    color: #9CA3AF;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.active {
    padding: 0 24px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    padding-top: 15px;
}

/* CTA Section */
.cta {
    background: #EA4927;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.cta-text {
    color: white;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-icon::after {
    content: "✓";
    color: #F97316;
    font-weight: bold;
}

.benefit-text {
    flex: 1;
}

.benefit-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.benefit-description {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #1F2937;
    color: #9CA3AF;
    padding: 40px 0;
    font-size: 12px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px 0;
}

.footer_link {
    color: #cecece;
}

.footer_link:hover {
    color: white;
}

.footer_text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-link {
    text-decoration: underline;
}

.cookie-accept-btn {
    margin: 0;
    white-space: nowrap;
    cursor: pointer;
}

/* Politika and Cookies */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
}

.policy-heading {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.policy-text {
    margin-bottom: 15px;
    color: #555;
}

.policy-list {
    margin-bottom: 15px;
    padding-left: 30px;
    color: #555;
}

.policy-list-item {
    margin-bottom: 10px;
}

/* 404 */
.error-section {
    background: #EA4927;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.error-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.error-number {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.error-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
}

.error-btn {
    display: inline-block;
    background: #FCD34D;
    color: #000;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.error-btn:hover {
    background: #FBBF24;
}

/* ============================
   Сообщения об успехе и ошибке
   ============================ */

.success-message,
.error-message {
    display: none;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.9);
    margin-top: 25px;
}

.success-message {
    background: linear-gradient(135deg, #00bc6d 0%, #00a85f 100%);
    padding: 35px 30px;
}

.error-message {
    background: linear-gradient(135deg, #e10616 0%, #c4050f 100%);
    padding: 18px 20px;
}

/* Когда показываем сообщения */
.success-message[style*="display: block"],
.error-message[style*="display: block"] {
    opacity: 1;
    transform: scale(1);
}

/* Обёртки для иконок */
.checkmark-wrapper-success {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.checkmark-wrapper-error {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

/* SVG иконки */
.checkmark {
    width: 80px;
    height: 80px;
    display: block;
    stroke-width: 3;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.errormark {
    width: 50px;
    height: 50px;
    display: block;
    stroke-width: 3;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.checkmark-circle,
.errormark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: #fff;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #fff;
    stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.errormark-cross {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #fff;
    stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

/* Текст сообщений */
.message-text h3 {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.success-message .message-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.error-message .message-text h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.message-text p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    margin: 0;
}

.success-message .message-text p {
    font-size: 16px;
}

.error-message .message-text p {
    font-size: 14px;
}

/* Анимация пульсации для успеха */
.checkmark-wrapper-success {
    animation: pulse 0.8s ease-in-out;
}

/* Анимация тряски для ошибки */
.checkmark-wrapper-error {
    animation: shake 0.5s ease-in-out;
}

/* ============================
   Анимации
   ============================ */

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-8px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(8px);
    }
}

/* Анимация появления формы/сообщений */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content,
    .features-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 24px;
        text-align: center;
    }

    .hero-description {
        font-size: 18px;
        text-align: center;
    }

    .feature-title {
        text-align: center;
    }

    .feature-description {
        text-align: center;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .features-list {
        padding-left: 0;
    }

    .cta-title {
        font-size: 28px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .benefit-icon {
        width: 48px;
        height: 48px;
    }

    .benefit-title {
        text-align: center;
    }

    .benefit-description {
        text-align: center;
    }

    .logo_wrapper {
        justify-content: center;
    }

    .error-number {
        font-size: 80px;
    }

    .error-title {
        font-size: 24px;
    }

    .error-description {
        font-size: 16px;
    }

    /* Адаптивные стили для сообщений */
    .checkmark,
    .errormark {
        width: 60px;
        height: 60px;
    }

    .message-text h3 {
        font-size: 20px;
    }

    .message-text p {
        font-size: 14px;
    }
}

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

    .section-title {
        font-size: 22px;
    }

    .cta-title {
        font-size: 22px;
    }

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

    .cookie-content {
        justify-content: center;
    }

    .cookie-text {
        text-align: center;
    }

    /* Адаптивные стили для сообщений на маленьких экранах */
    .checkmark,
    .errormark {
        width: 50px;
        height: 50px;
    }

    .message-text h3 {
        font-size: 18px;
    }

    .message-text p {
        font-size: 13px;
    }

    .success-message,
    .error-message {
        padding: 25px 20px;
    }
}