
/* =========================================
   07. FINAL REQUEST A QUOTE
========================================= */

.final-quote-section {
    width: 100%;
    padding: 90px 24px;
    background: var(--nav-colr, #E5E0D5);
    color: var(--text-color, #263D32);
}

.final-quote-container {
    width: 100%;
    max-width: var(--max-width, 1240px);
    margin-inline: auto;
}

/* Heading */

.final-quote-heading {
    max-width: 780px;
    margin: 0 auto 45px;
    text-align: center;
}

.final-quote-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #B87950;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.7;
}

.final-quote-heading h2 {
    margin: 0 0 15px;
    color: #263D32;
    font-size: clamp(31px, 3.7vw, 45px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
}

.final-quote-heading h2 span {
    color: #B87950;
}

.final-quote-heading > p {
    max-width: 680px;
    margin: 0 auto;
    color: #263D32;
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.9;
}

/* Main layout */

.final-quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 35px;
    align-items: stretch;
}

/* Left information panel */

.final-quote-info {
    overflow: hidden;
    background: #F8F6F1;
    border: 1px solid rgba(38, 61, 50, 0.08);
    border-radius: 4px;
}

.final-quote-info-image {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: #D5C7B6;
}

.final-quote-info-image::after {
    content: "";
    position: absolute;
    inset: 25% 0 0;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(20, 34, 27, 0.88)
    );
    pointer-events: none;
}

.final-quote-info-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.final-quote-info-image:hover img {
    transform: scale(1.04);
}

.final-quote-image-overlay {
    position: absolute;
    z-index: 1;
    right: 25px;
    bottom: 24px;
    left: 25px;
}

.final-quote-image-overlay > span {
    display: block;
    margin-bottom: 10px;
    color: #E5B58F;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.7px;
    line-height: 1.6;
}

.final-quote-image-overlay h3 {
    max-width: 400px;
    margin: 0;
    color: #F8F6F1;
    font-size: clamp(22px, 2.3vw, 29px);
    font-weight: 500;
    line-height: 1.4;
}

.final-quote-info-content {
    padding: 28px;
}

.final-quote-info-content > h3 {
    margin: 0 0 10px;
    color: #263D32;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.45;
}

.final-quote-info-content > p {
    margin: 0 0 22px;
    color: #263D32;
    opacity: 0.78;
    font-size: 12px;
    line-height: 1.9;
}

/* Benefits */

.final-quote-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.final-quote-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #263D32;
    font-size: 12px;
    line-height: 1.7;
}

.final-quote-check {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    background: #E5E0D5;
    color: #263D32;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
}

/* Left note */

.final-quote-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 27px;
    padding: 17px;
    background: #E5E0D5;
    border-left: 3px solid #B87950;
}

.final-quote-note-icon {
    color: #B87950;
    font-size: 18px;
    line-height: 1.4;
}

.final-quote-note p {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
}

.final-quote-note strong {
    color: #263D32;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.final-quote-note p span {
    color: #263D32;
    opacity: 0.8;
    font-size: 11px;
    line-height: 1.8;
}

/* Form panel */

.final-quote-form-panel {
    min-width: 0;
    padding: 34px;
    background: #F8F6F1;
    border: 1px solid rgba(38, 61, 50, 0.08);
    border-radius: 4px;
}

.final-quote-form-heading {
    margin-bottom: 27px;
}

.final-quote-form-heading > span {
    display: block;
    margin-bottom: 9px;
    color: #B87950;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.7px;
}

.final-quote-form-heading h3 {
    margin: 0 0 9px;
    color: #263D32;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.35;
}

.final-quote-form-heading p {
    margin: 0;
    color: #263D32;
    opacity: 0.75;
    font-size: 12px;
    line-height: 1.8;
}

/* Form fields */

.final-quote-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.final-quote-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.final-quote-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.final-quote-field label {
    color: #263D32;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.final-quote-field input,
.final-quote-field select,
.final-quote-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    background: #fff;
    color: #263D32;
    border: 1px solid #DED8CE;
    border-radius: 3px;
    outline: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.final-quote-field input,
.final-quote-field select {
    min-height: 46px;
}

.final-quote-field input::placeholder,
.final-quote-field textarea::placeholder {
    color: #777B73;
    opacity: 0.8;
}

.final-quote-field select {
    cursor: pointer;
}

.final-quote-field textarea {
    min-height: 125px;
    resize: vertical;
}

.final-quote-field input:focus,
.final-quote-field select:focus,
.final-quote-field textarea:focus {
    border-color: #B87950;
    box-shadow: 0 0 0 3px rgba(184, 121, 80, 0.12);
}

/* Consent */

.final-quote-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #263D32;
    font-size: 11px;
    line-height: 1.7;
    cursor: pointer;
}

.final-quote-consent input {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin: 2px 0 0;
    accent-color: #263D32;
    cursor: pointer;
}

/* Submit */

.final-quote-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 51px;
    padding: 14px 20px;
    background: #263D32;
    color: #F8F6F1;
    border: 1px solid #263D32;
    border-radius: 3px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.final-quote-submit:hover {
    background: #B87950;
    border-color: #B87950;
}

.final-quote-form-footnote {
    margin: -8px 0 0;
    color: #263D32;
    opacity: 0.65;
    font-size: 10px;
    line-height: 1.7;
    text-align: center;
}

/* Bottom note */

.final-quote-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    margin-top: 32px;
    text-align: center;
}

.final-quote-bottom-line {
    width: 28px;
    height: 1px;
    flex-shrink: 0;
    background: #B87950;
}

.final-quote-bottom p {
    margin: 0;
    color: #263D32;
    font-size: 12px;
    line-height: 1.8;
}

.final-quote-bottom a {
    color: #263D32;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #B87950;
    text-underline-offset: 4px;
}

.final-quote-bottom a:hover {
    color: #B87950;
}

/* Tablet */

@media (max-width: 950px) {
    .final-quote-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .final-quote-info-image,
    .final-quote-info-image img {
        min-height: 350px;
        max-height: 440px;
    }

    .final-quote-info-content {
        padding: 27px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .final-quote-section {
        padding: 60px 16px;
    }

    .final-quote-heading {
        margin-bottom: 28px;
    }

    .final-quote-heading h2 {
        font-size: 31px;
        letter-spacing: -0.5px;
    }

    .final-quote-heading > p {
        font-size: 12px;
    }

    .final-quote-info-image,
    .final-quote-info-image img {
        min-height: 290px;
        max-height: 360px;
    }

    .final-quote-image-overlay {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .final-quote-image-overlay h3 {
        font-size: 24px;
    }

    .final-quote-info-content {
        padding: 22px 19px;
    }

    .final-quote-info-content > h3 {
        font-size: 19px;
    }

    .final-quote-form-panel {
        padding: 23px 17px;
    }

    .final-quote-form-heading h3 {
        font-size: 24px;
    }

    .final-quote-field-row {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .final-quote-form {
        gap: 18px;
    }

    .final-quote-field input,
    .final-quote-field select,
    .final-quote-field textarea {
        font-size: 13px;
    }

    .final-quote-bottom {
        align-items: flex-start;
        gap: 9px;
    }

    .final-quote-bottom p {
        font-size: 11px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .final-quote-info-image img,
    .final-quote-field input,
    .final-quote-field select,
    .final-quote-field textarea,
    .final-quote-submit {
        transition: none;
    }
}
