/* ==========================================================================
   Общие стили
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==========================================================================
   Хедер
   ========================================================================== */
.header {
    background-color: #F2F2F2;
    color: #333;
    width: 100%;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-bottom: 5px;
}

.header-content {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo img {
    height: 80px;
}

.header-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-center span {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.stars {
    color: #ffd700 !important;
    font-size: 40px !important;
    line-height: 36px;
}

.phone-button a {
    background-color: #dc3545;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.phone-button a:hover {
    background-color: #c82333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.phone-button a i {
    margin-right: 8px;
}

/* ==========================================================================
   Секция формы (quote-section)
   ========================================================================== */
.quote-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quote-content {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.quote-section h2 {
    font-size: 76px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

.quote-section h3 {
    font-size: 36px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.quote-section p:not(.error-message):not(.price) {
    font-size: 32px;
    font-weight: 700;
    color: #666;
    margin: 0 0 40px 0;
    font-family: 'Playfair Display', serif;
}

.quote-section span:not(.error-message):not(.highlight) {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.quote-section .highlight {
    display: inline-block !important;
    text-shadow: 0 0 8px rgba(220, 53, 69, 0.5) !important;
    color: #dc3545 !important;
    padding: 2px 8px !important;
    border-radius: 5px !important;
    transition: text-shadow 0.3s ease !important;
    font-family: 'Playfair Display', serif !important;
}
.quote-section .highlight:hover {
    text-shadow: 0 0 12px rgba(220, 53, 69, 0.7) !important;
}

/* Убираем старый стиль дуги */
.quote-section .highlight .arc,
.quote-section .highlight .arc::after,
.quote-section .highlight .arc::before {
    content: none !important;
    display: none !important;
}

.quote-form {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
}

.progress-bar::after {
    content: none;
}

.progress {
    width: 0;
    height: 100%;
    background-color: #dc3545;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.form-steps {
    position: relative;
}

.step {
    display: none;
}

.step.active {
    display: block;
    width: 100%;
}

.step h4 {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
    position: relative;
    padding-left: 30px;
}

.step[data-step="1"] h4:before {
    content: "1. " !important;
    position: absolute;
    left: 0;
    color: #dc3545 !important;
    font-weight: 700;
}

.step[data-step="2"] h4:before {
    content: "2. " !important;
    position: absolute;
    left: 0;
    color: #dc3545 !important;
    font-weight: 700;
}

.step[data-step="3"] h4:before {
    content: "3. " !important;
    position: absolute;
    left: 0;
    color: #dc3545 !important;
    font-weight: 700;
}

.step[data-step="4"] h4:before {
    content: "4. " !important;
    position: absolute;
    left: 0;
    color: #dc3545 !important;
    font-weight: 700;
}

.step[data-step="5"] h4:before {
    content: "5. " !important;
    position: absolute;
    left: 0;
    color: #dc3545 !important;
    font-weight: 700;
}

.step[data-step="6"] h4:before {
    content: "6. " !important;
    position: absolute;
    left: 0;
    color: #dc3545 !important;
    font-weight: 700;
}

.step[data-step="7"] h4:before {
    content: "7. " !important;
    position: absolute;
    left: 0;
    color: #dc3545 !important;
    font-weight: 700;
}

.step[data-step="8"] h4:before {
    content: "8. " !important;
    position: absolute;
    left: 0;
    color: #dc3545 !important;
    font-weight: 700;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
    display: block;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input#zip-code,
.form-group input#email,
.form-group input#name,
.form-group input#phone {
    width: 100%;
    max-width: 400px;
    height: 40px;
    font-size: 16px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
    color: #333 !important;
    background-color: #fff !important;
}

.form-group input#zip-code::placeholder,
.form-group input#email::placeholder,
.form-group input#name::placeholder,
.form-group input#phone::placeholder,
.form-group input#zip-code::-webkit-input-placeholder,
.form-group input#email::-webkit-input-placeholder,
.form-group input#name::-webkit-input-placeholder,
.form-group input#phone::-webkit-input-placeholder,
.form-group input#zip-code::-moz-placeholder,
.form-group input#email::-moz-placeholder,
.form-group input#name::-moz-placeholder,
.form-group input#phone::-moz-placeholder,
.form-group input#zip-code:-ms-input-placeholder,
.form-group input#email:-ms-input-placeholder,
.form-group input#name:-ms-input-placeholder,
.form-group input#phone:-ms-input-placeholder {
    color: #ccc !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    font-style: normal !important;
    letter-spacing: normal !important;
}

.form-group input#zip-code:-webkit-autofill,
.form-group input#email:-webkit-autofill,
.form-group input#name:-webkit-autofill,
.form-group input#phone:-webkit-autofill,
.form-group input#zip-code:-webkit-autofill:hover,
.form-group input#email:-webkit-autofill:hover,
.form-group input#name:-webkit-autofill:hover,
.form-group input#phone:-webkit-autofill:hover,
.form-group input#zip-code:-webkit-autofill:focus,
.form-group input#email:-webkit-autofill:focus,
.form-group input#name:-webkit-autofill:focus,
.form-group input#phone:-webkit-autofill:focus {
    -webkit-text-fill-color: #333 !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
}

.form-description {
    display: block;
    font-size: 16px;
    color: #666;
    font-weight: 400;
    margin: 5px 0 10px 0 !important;
    line-height: 1.5;
    max-width: 450px;
}

.form-group select,
.form-group input:not(#zip-code):not(#email):not(#name):not(#phone) {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    height: 40px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.nav-btn {
    background-color: #dc3545;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #c82333;
}

.nav-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.image-options {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.image-option {
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 10px;
    transition: border-color 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
    flex: 0 0 auto;
    width: 200px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-option:hover {
    border-color: #dc3545;
    background-color: rgba(248, 215, 218, 0.5);
    transform: scale(1.02);
}

.option-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.option-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-top: 10px;
    word-break: break-word;
    text-align: center;
}

.image-option.selected {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.radio-options {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
}

.quote-form .form-steps .radio-item {
    cursor: pointer;
    text-align: left;
    border: 2px solid transparent !important;
    border-radius: 5px;
    padding: 0px;
    transition: border-color 0.3s ease, transform 0.2s ease, background-color 0.3s ease !important;
    background-color: transparent !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 400px;
    max-width: 100%;
    margin: 0 !important;
    box-sizing: border-box;
}

.quote-form .form-steps .radio-item:hover {
    transform: scale(1.02) !important;
}

.quote-form .form-steps .radio-item:has(input[type="radio"]:checked) {
    border: 2px solid #dc3545 !important;
    background-color: #f8d7da !important;
    box-shadow: none !important;
}

.quote-form .form-steps .radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.quote-form .form-steps .radio-item input[type="radio"]:checked + .radio-label {
    border: none !important;
    background-color: transparent !important;
    border-radius: 5px;
    color: #333 !important;
    box-shadow: none !important;
}

.quote-form .form-steps .radio-item .radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333 !important;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 8px 8px 8px 30px;
    border: none !important;
    background-color: transparent !important;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease !important;
}

.quote-form .form-steps .radio-item .radio-label::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #f8d7da !important;
    border-radius: 50%;
    background-color: transparent !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

.quote-form .form-steps .radio-item input[type="radio"]:checked + .radio-label::before {
    border: 2px solid #dc3545 !important;
    background-color: #dc3545 !important;
}

.quote-form .form-steps .radio-item input[type="radio"]:checked + .radio-label::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff !important;
}

.quote-form .step .error-message {
    display: block !important;
    color: #dc3545 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-top: 5px !important;
    min-height: 20px !important;
    text-align: left !important;
    max-width: 500px !important;
    font-family: 'Playfair Display', serif !important;
}

/* ==========================================================================
   Секция доверия (trust-section)
   ========================================================================== */
.trust-section {
    padding: 60px 0;
    text-align: center;
    background-color: #F2F2F2;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trust-content {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 10px;
}

.trust-section h2 {
    font-size: 22px;
    color: #333;
    font-weight: 400;
    margin-bottom: 0;
    text-transform: uppercase;
}

.trust-section h3 {
    font-size: 40px;
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 43px;
}

.trust-columns {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.review-column {
    flex: 1;
    max-width: 45%;
}

.review-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-author-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.review-stars {
    color: #ffd700;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    font-style: italic;
    color: #444;
    font-weight: 400;
    line-height: 2;
    margin: 0;
}

.logos-column {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center; /* Центрируем содержимое */
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100%;
    width: 100%;
    justify-content: center; /* Центрируем колонки сетки */
    justify-items: center; /* Центрируем изображения внутри ячеек */
}

.logos-grid img {
    height: 220px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   Секция шагов (steps-section)
   ========================================================================== */
.steps-section {
    padding: 50px 0;
    text-align: center;
    background-color: #f8f9fa;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.steps-content {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0;
}

.steps-section h2 {
    font-size: 22px;
    color: #333;
    font-weight: 400;
    margin-bottom: 0;
    text-transform: uppercase;
}

.steps-section h3 {
    font-size: 40px;
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 43px;
}

.steps-section p {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    margin-bottom: 20px;
}

.divider {
    display: none;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.step-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 31%;
    min-width: 250px;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 20px;
    display: block;
}

.step-item i {
    font-size: 30px;
    color: #fff;
    margin-bottom: 10px;
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #dc3545;
    border-radius: 50%;
    line-height: 60px;
    text-align: center;
}

.step-item h3 {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 16px;
    color: #444;
    font-weight: 400;
    line-height: 1.5;
}

.image-section {
    text-align: center;
    margin-top: 20px;
}

.image-section img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Секция результатов (results-section)
   ========================================================================== */
.results-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.results-content {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 30px;
}

.results-section h2 {
    font-size: 40px;
    color: #333;
    font-weight: 700;
    margin-bottom: 40px;
}

.results-section p:not(.error-message):not(.price) {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    margin-bottom: 30px;
}

.results-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.result-option {
    background-color: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 30%;
    min-width: 250px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
}

.result-option:hover {
    transform: scale(1.05);
    border-color: #dc3545;
    background-color: #f8d7da;
}

.option-image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.option-details h3 {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.option-details p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 5px 0;
    font-family: 'Playfair Display', serif;
}

.option-details p strong {
    font-weight: 700;
    color: #333;
}

.option-details p.price {
    font-size: 24px;
    font-weight: 700;
    color: #dc3545;
    margin: 10px 0 5px 0;
}

.results-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.back-btn, .phone-btn {
    background-color: #dc3545;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
}

.phone-btn i {
    margin-right: 8px;
}

.back-btn:hover, .phone-btn:hover {
    background-color: #c82333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* ==========================================================================
   Футер
   ========================================================================== */
.footer {
    background-color: #F2F2F2;
    padding: 20px 0;
    text-align: center;
    color: #333;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
    font-weight: 500;
}

.footer a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Медиа-запросы
   ========================================================================== */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header-content {
        flex-direction: column;
        padding: 0 15px;
        gap: 10px;
    }

    .logo img {
        height: 60px;
    }

    .header-center span {
        font-size: 16px;
    }

    .stars {
        font-size: 30px !important;
    }

    .phone-button a {
        padding: 10px 20px;
        font-size: 14px;
    }

    .quote-section {
        padding: 30px 0;
    }

    .quote-section h2 {
        font-size: 36px;
    }

    .quote-section h3 {
        font-size: 24px;
    }

    .quote-section p:not(.error-message):not(.price) {
        font-size: 20px;
    }

    .quote-section .highlight {
        padding: 2px 6px !important;
        border-radius: 4px !important;
    }

    .quote-form {
        padding: 15px;
    }

    .step h4 {
        font-size: 18px;
        padding-left: 25px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input#zip-code,
    .form-group input#email,
    .form-group input#name,
    .form-group input#phone {
        font-size: 14px;
        height: 36px;
        padding: 6px;
        max-width: 100%;
    }

    .form-group input#zip-code::placeholder,
    .form-group input#email::placeholder,
    .form-group input#name::placeholder,
    .form-group input#phone::placeholder,
    .form-group input#zip-code::-webkit-input-placeholder,
    .form-group input#email::-webkit-input-placeholder,
    .form-group input#name::-webkit-input-placeholder,
    .form-group input#phone::-webkit-input-placeholder,
    .form-group input#zip-code::-moz-placeholder,
    .form-group input#email::-moz-placeholder,
    .form-group input#name::-moz-placeholder,
    .form-group input#phone::-moz-placeholder,
    .form-group input#zip-code:-ms-input-placeholder,
    .form-group input#email:-ms-input-placeholder,
    .form-group input#name:-ms-input-placeholder,
    .form-group input#phone:-ms-input-placeholder {
        font-size: 14px !important;
        font-family: 'Playfair Display', serif !important;
    }

    .form-description {
        font-size: 13px;
        max-width: 100%;
        margin-bottom: 10px !important;
    }

    .nav-btn {
        padding: 8px 15px;
        font-size: 16px;
    }

    .image-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        align-items: stretch;
        justify-items: start;
    }

    .image-option {
        width: 100%;
        max-width: 150px;
        padding: 8px;
    }

    .option-image {
        max-height: 150px;
    }

    .option-label {
        font-size: 14px;
    }

    .radio-options {
        gap: 6px;
    }

    .quote-form .form-steps .radio-item {
        padding: 6px;
        width: 350px;
    }

    .quote-form .form-steps .radio-item .radio-label {
        padding: 6px 6px 6px 28px;
        font-size: 13px;
    }

    .quote-form .form-steps .radio-item .radio-label::before {
        width: 14px;
        height: 14px;
        left: 6px;
    }

    .quote-form .form-steps .radio-item input[type="radio"]:checked + .radio-label::after {
        left: 9px;
        width: 6px;
        height: 6px;
    }

    .trust-section {
        padding: 30px 0;
    }

    .trust-section h2 {
        font-size: 18px;
    }

    .trust-section h3 {
        font-size: 28px;
    }

    .trust-columns {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Увеличиваем отступ между колонками */
    }

    .review-column,
    .logos-column {
        max-width: 100%;
        width: 100%;
    }

    .review-card {
        padding: 15px;
    }

    .review-author-img {
        width: 40px;
        height: 40px;
    }

    .review-text {
        font-size: 12px;
    }

    .logos-column {
        display: flex;
        justify-content: center; /* Центрируем содержимое */
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        justify-content: center; /* Центрируем колонки */
        justify-items: center; /* Центрируем изображения */
        width: 100%;
        max-width: 400px; /* Ограничиваем ширину для аккуратного отображения */
        margin: 0 auto; /* Центрируем весь блок */
    }

    .logos-grid img {
        height: 180px;
        width: auto;
        max-width: 100%; /* Убедись, что изображения не выходят за границы */
    }

    .steps-section {
        padding: 30px 0;
    }

    .steps-section h2 {
        font-size: 18px;
    }

    .steps-section h3 {
        font-size: 28px;
    }

    .steps-section p {
        font-size: 14px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }

    .step-item i {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
    }

    .step-item h3 {
        font-size: 18px;
    }

    .step-item p {
        font-size: 14px;
    }

    .results-section {
        padding: 30px 0;
    }

    .results-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .results-section p:not(.error-message):not(.price) {
        font-size: 16px;
    }

    .results-options {
        flex-direction: column;
        align-items: center;
    }

    .result-option {
        width: 100%;
        max-width: 300px;
    }

    .option-image {
        max-height: 150px;
    }

    .option-details h3 {
        font-size: 18px;
    }

    .option-details p {
        font-size: 14px;
    }

    .option-details p.price {
        font-size: 20px;
    }

    .results-navigation {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .back-btn, .phone-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .quote-form .step .error-message {
        font-size: 12px !important;
        margin-top: 4px !important;
        min-height: 18px !important;
        max-width: 100% !important;
        font-family: 'Playfair Display', serif !important;
    }
}

@media (max-width: 480px) {
    
    .header-center{
        margin-top: -20px;    
    }
    
    .header-content {
        padding: 0 10px;
    }

    .logo img {
        height: 80px;
    }

    .header-center span {
        font-size: 14px;
    }

    .stars {
        font-size: 24px !important;
    }

    .phone-button a {
        padding: 8px 15px;
        font-size: 14px;
    }

    .quote-section {
        padding: 20px 0;
    }

    .quote-section h2 {
        font-size: 22px;
    }

    .quote-section h3 {
        font-size: 18px;
        line-height: 25px;
    }

    .quote-section p:not(.error-message):not(.price) {
        font-size: 16px;
    }

    .quote-section .highlight {
        padding: 1px 4px !important;
        border-radius: 3px !important;
    }

    .quote-form {
        padding: 10px;
    }

    .step h4 {
        font-size: 16px;
        padding-left: 20px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input#zip-code,
    .form-group input#email,
    .form-group input#name,
    .form-group input#phone {
        font-size: 14px;
        height: 36px;
        padding: 6px;
        max-width: 100%;
    }

    .form-group input#zip-code::placeholder,
    .form-group input#email::placeholder,
    .form-group input#name::placeholder,
    .form-group input#phone::placeholder,
    .form-group input#zip-code::-webkit-input-placeholder,
    .form-group input#email::-webkit-input-placeholder,
    .form-group input#name::-webkit-input-placeholder,
    .form-group input#phone::-webkit-input-placeholder,
    .form-group input#zip-code::-moz-placeholder,
    .form-group input#email::-moz-placeholder,
    .form-group input#name::-moz-placeholder,
    .form-group input#phone::-moz-placeholder,
    .form-group input#zip-code:-ms-input-placeholder,
    .form-group input#email:-ms-input-placeholder,
    .form-group input#name:-ms-input-placeholder,
    .form-group input#phone:-ms-input-placeholder {
        font-size: 14px !important;
        font-family: 'Playfair Display', serif !important;
    }

    .form-description {
        font-size: 12px;
        max-width: 100%;
        margin-bottom: 10px !important;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 14px;
    }

    .image-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .image-option {
        max-width: 150px;
        padding: 6px;
    }

    .option-image {
        max-height: 100px;
    }

    .option-label {
        font-size: 12px;
        line-height: 1.2;
    }

    .radio-options {
        gap: 5px;
    }

    .quote-form .form-steps .radio-item {
        padding: 5px;
        width: 300px;
    }

    .quote-form .form-steps .radio-item .radio-label {
        padding: 5px 5px 5px 25px;
        font-size: 12px;
    }

    .quote-form .form-steps .radio-item .radio-label::before {
        width: 12px;
        height: 12px;
        left: 5px;
    }

    .quote-form .form-steps .radio-item input[type="radio"]:checked + .radio-label::after {
        left: 8px;
        width: 4px;
        height: 4px;
    }

    .trust-section {
        padding: 20px 0;
    }

    .trust-section h2 {
        font-size: 16px;
    }

    .trust-section h3 {
        font-size: 22px;
        line-height: 25px;
    }

    .logos-column {
        display: flex;
        justify-content: center;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        justify-content: center;
        justify-items: center;
        width: 100%;
        max-width: 300px; /* Ещё меньше для маленьких экранов */
        margin: 0 auto;
    }

    .logos-grid img {
        height: 100px; /* Уменьшаем размер изображений */
        width: auto;
        max-width: 100%;
    }

    .steps-section {
        padding: 20px 0;
    }

    .steps-section h2 {
        font-size: 16px;
    }

    .steps-section h3 {
        font-size: 22px;
        line-height: 25px;
    }

    .steps-section p {
        font-size: 12px;
    }

    .results-section {
        padding: 20px 0;
    }

    .results-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .results-section p:not(.error-message):not(.price) {
        font-size: 14px;
    }

    .result-option {
        padding: 15px;
    }

    .option-details h3 {
        font-size: 16px;
    }

    .option-details p {
        font-size: 12px;
    }

    .option-details p.price {
        font-size: 18px;
    }

    .results-navigation {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .back-btn, .phone-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .quote-form .step .error-message {
        font-size: 11px !important;
        margin-top: 3px !important;
        min-height: 16px !important;
        max-width: 100% !important;
       font-family: 'Playfair Display', serif !important;
    }
}