/* ==================================================
   REQUEST A QUOTE PAGE
================================================== */


/* ==================================================
   HERO
================================================== */

.quote-hero-section {
    position: relative;
    padding: 105px 0 115px;
    background:
        linear-gradient(
            110deg,
            #f7faf8 0%,
            #ffffff 58%,
            #f0f6f1 100%
        );
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.quote-hero-section::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -170px;
    width: 690px;
    height: 690px;
    border: 1px solid rgba(46, 125, 50, 0.11);
    border-radius: 50%;
}

.quote-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 90px;
}

.quote-hero-content h1 {
    max-width: 800px;
    font-size: clamp(3rem, 5vw, 4.7rem);
}

.quote-hero-description {
    max-width: 700px;
    margin-top: 27px;
    font-size: 1.08rem;
    line-height: 1.85;
}

.quote-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 38px;
}

.quote-hero-point {
    min-width: 170px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    background: var(--white);
    border: 1px solid var(--border);
}

.quote-hero-point span {
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
}

.quote-hero-point p {
    color: var(--dark);
    font-size: 0.73rem;
    font-weight: 600;
}


/* ==================================================
   HERO VISUAL
================================================== */

.quote-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-visual-panel {
    width: min(100%, 520px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.quote-visual-header {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 22px;
    color: #849087;
    background: #f4f7f5;
    border-bottom: 1px solid var(--border);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-visual-status {
    padding: 5px 9px;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 100px;
}

.quote-visual-content {
    padding: 34px;
}

.quote-visual-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 33px;
    background: var(--off-white);
    border: 1px solid var(--border);
    text-align: center;
}

.quote-visual-title span {
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.quote-visual-title strong {
    margin-top: 9px;
    color: var(--dark);
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
}

.quote-visual-title small {
    margin-top: 7px;
    color: var(--text);
    font-size: 0.7rem;
}

.quote-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 18px;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.quote-visual-item {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quote-visual-item span {
    color: var(--primary);
    font-size: 0.64rem;
    font-weight: 700;
}

.quote-visual-item strong {
    margin-top: 5px;
    color: var(--dark);
    font-size: 0.76rem;
}


/* ==================================================
   FORM SECTION
================================================== */

.quote-form-section {
    padding: 115px 0;
    background: var(--white);
}

.quote-form-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
    gap: 90px;
}

.quote-form-introduction h2 {
    max-width: 570px;
}

.quote-form-introduction > p {
    max-width: 520px;
    margin-top: 22px;
    line-height: 1.85;
}

.quote-contact-summary {
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

.quote-contact-item {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
}

.quote-contact-item span {
    color: #87918b;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-contact-item a,
.quote-contact-item strong {
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.quote-contact-item a:hover {
    color: var(--primary);
}


/* ==================================================
   FORM CONTAINER
================================================== */

.quote-form-container {
    background: var(--off-white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-small);
}

.quote-form-header {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 23px 30px;
    background: #18211c;
}

.quote-form-header span:not(.quote-form-step) {
    color: #65b869;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.quote-form-header h3 {
    margin-top: 5px;
    color: var(--white);
    font-size: 1.12rem;
}

.quote-form-step {
    color: #9da9a1;
    font-size: 0.7rem;
    font-weight: 700;
}

.quote-form {
    padding: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    margin-bottom: 9px;
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 600;
}

.form-field label span {
    color: var(--primary);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    color: var(--dark);
    background: var(--white);
    border: 1px solid #ced7d1;
    border-radius: 4px;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.form-field input,
.form-field select {
    height: 54px;
    padding: 0 15px;
}

.form-field textarea {
    min-height: 190px;
    padding: 15px;
    line-height: 1.7;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.10);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9aa49e;
}

.form-field small {
    display: block;
    margin-top: 8px;
    color: #87918b;
    font-size: 0.69rem;
    line-height: 1.6;
}

.quote-submit-button {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    color: var(--white);
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.quote-submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.quote-submit-button span {
    font-size: 1rem;
}

.quote-form-note {
    margin-top: 15px;
    color: #87918b;
    font-size: 0.68rem;
    line-height: 1.6;
    text-align: center;
}

.form-message {
    display: none;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 0.76rem;
    line-height: 1.6;
}

.form-message-error {
    display: block;
    color: #8f2d2d;
    background: #fbeaea;
    border: 1px solid #efcaca;
}

.form-message-success {
    display: block;
    color: var(--primary-dark);
    background: var(--primary-light);
    border: 1px solid #c7dfc9;
}


/* ==================================================
   COMMON HEADINGS
================================================== */

.quote-section-heading {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 58px;
}

.quote-section-heading h2 {
    max-width: 720px;
}

.quote-section-heading > p {
    max-width: 510px;
    line-height: 1.85;
}

.centered-quote-heading {
    max-width: 790px;
    margin: 0 auto 58px;
    text-align: center;
}

.centered-quote-heading > p:last-child {
    max-width: 650px;
    margin: 20px auto 0;
    line-height: 1.85;
}


/* ==================================================
   QUOTE TYPES
================================================== */

.quote-types-section {
    padding: 115px 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.quote-type-card {
    position: relative;
    min-height: 460px;
    padding: 42px;
    background: var(--white);
    border: 1px solid var(--border);
}

.quote-type-card-dark {
    background: #18211c;
    border-color: #18211c;
}

.quote-type-number {
    position: absolute;
    top: 34px;
    right: 38px;
    color: #a7b1ab;
    font-size: 0.72rem;
    font-weight: 700;
}

.quote-type-label {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.quote-type-card h3 {
    margin-top: 20px;
    font-size: 1.55rem;
}

.quote-type-card ul {
    margin-top: 34px;
}

.quote-type-card li {
    position: relative;
    padding: 14px 0 14px 22px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    font-size: 0.87rem;
}

.quote-type-card li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.quote-type-card-dark h3 {
    color: var(--white);
}

.quote-type-card-dark .quote-type-label {
    color: #65b869;
}

.quote-type-card-dark li {
    color: #b4c0b8;
    border-bottom-color: rgba(255, 255, 255, 0.11);
}

.quote-type-card-dark li::before {
    background: #65b869;
}


/* ==================================================
   PROCESS
================================================== */

.quote-process-section {
    padding: 115px 0;
    background: var(--white);
}

.quote-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.quote-process-card {
    min-height: 280px;
    padding: 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quote-process-card span {
    display: block;
    margin-bottom: 38px;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
}

.quote-process-card h3 {
    margin-bottom: 14px;
    font-size: 1.07rem;
}

.quote-process-card p {
    font-size: 0.85rem;
    line-height: 1.8;
}


/* ==================================================
   CTA
================================================== */

.quote-cta-section {
    padding: 100px 0;
    background: #edf3ef;
}

.quote-cta-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 70px;
}

.quote-cta-layout h2 {
    max-width: 760px;
}

.quote-cta-layout p:last-child {
    max-width: 650px;
    margin-top: 20px;
    line-height: 1.8;
}

.quote-cta-actions {
    min-width: 245px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1050px) {

    .quote-hero-grid {
        grid-template-columns: 1fr 0.85fr;
        gap: 50px;
    }

    .quote-form-layout {
        gap: 55px;
    }

}


@media (max-width: 900px) {

    .quote-hero-section {
        padding: 80px 0;
    }

    .quote-hero-grid,
    .quote-form-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .quote-section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quote-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-cta-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .quote-cta-actions {
        min-width: 0;
        max-width: 330px;
    }

}


@media (max-width: 620px) {

    .quote-hero-section,
    .quote-form-section,
    .quote-types-section,
    .quote-process-section,
    .quote-cta-section {
        padding: 75px 0;
    }

    .quote-hero-content h1 {
        font-size: clamp(2.45rem, 11vw, 3.5rem);
    }

    .quote-hero-visual {
        display: none;
    }

    .quote-hero-points {
        flex-direction: column;
    }

    .quote-hero-point {
        width: 100%;
    }

    .form-row,
    .quote-types-grid,
    .quote-process-grid {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 25px;
    }

    .quote-form-header {
        padding: 21px 24px;
    }

    .quote-contact-item {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 15px 0;
    }

    .quote-type-card {
        min-height: auto;
        padding: 35px 27px;
    }

    .quote-process-card {
        min-height: 230px;
    }

    .quote-cta-actions {
        max-width: none;
    }

}