/* =========================================================
   JOFAS WRIGHT TECHNOLOGIES LIMITED
   REQUEST A QUOTE PAGE
   ========================================================= */


/* =========================================================
   PAGE VARIABLES
   ========================================================= */

.jw-quote-page {
    --jw-quote-navy: #0b2260;
    --jw-quote-deep: #07183f;
    --jw-quote-orange: #ff5e14;
    --jw-quote-orange-dark: #df4d0c;
    --jw-quote-text: #172033;
    --jw-quote-muted: #687386;
    --jw-quote-border: #e5e9f0;
    --jw-quote-light: #f6f8fb;
    --jw-quote-white: #ffffff;
}


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

.jw-quote-hero {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(7, 24, 63, 0.96) 0%,
            rgba(7, 24, 63, 0.88) 42%,
            rgba(7, 24, 63, 0.70) 100%
        ),
        url("../images/products-hero.jpg") center center / cover no-repeat;

    color: #ffffff;
}


.jw-quote-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(11, 34, 96, 0.25),
            transparent 60%
        );

    pointer-events: none;
}


.jw-quote-hero .container {
    position: relative;
    z-index: 2;

    width: 100%;
}


.jw-quote-hero-content {
    max-width: 850px;

    padding: 90px 0;

    text-align: center;

    margin-left: auto;
    margin-right: auto;
}


.jw-quote-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #ffffff;

    font-size: 0.76rem;
    font-weight: 700;

    letter-spacing: 0.18em;

    margin-bottom: 18px;
}


.jw-quote-eyebrow::before {
    content: "";

    width: 34px;
    height: 2px;

    background: var(--jw-quote-orange);
}


.jw-quote-hero h1 {
    margin: 0;

    font-size: clamp(3rem, 6vw, 5.5rem);

    line-height: 0.98;

    font-weight: 700;

    letter-spacing: -0.045em;

    color: #ffffff;
}


.jw-quote-hero h1 span {
    display: block;

    color: var(--jw-quote-orange);
}


.jw-quote-hero-content > p {
    max-width: 720px;

    margin: 28px auto 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1.05rem;

    line-height: 1.85;
}


.jw-quote-hero-meta {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px 28px;

    margin-top: 30px;
}


.jw-quote-hero-meta span {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.90);

    font-size: 0.82rem;

    font-weight: 500;
}


.jw-quote-hero-meta i {
    color: var(--jw-quote-orange);

    font-size: 1rem;
}


.jw-quote-hero-index {
    position: absolute;

    right: 42px;
    bottom: 38px;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 14px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.7rem;

    letter-spacing: 0.16em;
}


.jw-quote-hero-index strong {
    color: #ffffff;

    font-size: 1.5rem;

    font-weight: 600;

    letter-spacing: 0;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.jw-quote-intro {
    padding: 95px 0 80px;

    background: #ffffff;
}


.jw-quote-intro-grid {
    display: grid;

    grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);

    gap: 90px;

    align-items: start;

    max-width: 1120px;

    margin: 0 auto;
}


.jw-quote-section-label {
    display: inline-block;

    color: var(--jw-quote-orange);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.17em;

    margin-bottom: 16px;
}


.jw-quote-intro-heading h2 {
    margin: 0;

    color: var(--jw-quote-navy);

    font-size: clamp(2.2rem, 4vw, 3.5rem);

    line-height: 1.08;

    letter-spacing: -0.035em;

    font-weight: 700;
}


.jw-quote-intro-heading h2 span {
    display: block;

    color: var(--jw-quote-orange);
}


.jw-quote-intro-copy {
    padding-top: 8px;
}


.jw-quote-intro-copy p {
    margin: 0 0 18px;

    color: var(--jw-quote-muted);

    font-size: 1rem;

    line-height: 1.9;
}


.jw-quote-intro-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MAIN QUOTE SECTION
   ========================================================= */

.jw-quote-form-section {
    padding: 0 0 110px;

    background: #ffffff;
}


.jw-quote-layout {
    display: grid;

    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);

    gap: 36px;

    align-items: start;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.jw-quote-form-card {
    background: #ffffff;

    border: 1px solid var(--jw-quote-border);

    box-shadow:
        0 20px 60px rgba(7, 24, 63, 0.08);

    padding: 48px;
}


.jw-quote-form-header {
    padding-bottom: 38px;

    border-bottom: 1px solid var(--jw-quote-border);
}


.jw-quote-form-header h2 {
    margin: 0;

    color: var(--jw-quote-navy);

    font-size: clamp(2rem, 3vw, 2.8rem);

    line-height: 1.1;

    letter-spacing: -0.03em;
}


.jw-quote-form-header p {
    max-width: 720px;

    margin: 16px 0 0;

    color: var(--jw-quote-muted);

    line-height: 1.8;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.jw-quote-form-group {
    padding: 42px 0;

    border-bottom: 1px solid var(--jw-quote-border);
}


.jw-quote-form-group:last-of-type {
    border-bottom: 0;
}


.jw-quote-form-group-heading {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-bottom: 28px;
}


.jw-quote-form-group-heading > span {
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 94, 20, 0.35);

    color: var(--jw-quote-orange);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.05em;
}


.jw-quote-form-group-heading h3 {
    margin: 1px 0 4px;

    color: var(--jw-quote-navy);

    font-size: 1.2rem;

    font-weight: 700;
}


.jw-quote-form-group-heading p {
    margin: 0;

    color: var(--jw-quote-muted);

    font-size: 0.88rem;
}


/* =========================================================
   FIELDS
   ========================================================= */

.jw-quote-fields {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;
}


.jw-quote-field {
    min-width: 0;
}


.jw-quote-field-full {
    grid-column: 1 / -1;
}


.jw-quote-field label {
    display: block;

    margin-bottom: 9px;

    color: var(--jw-quote-text);

    font-size: 0.82rem;

    font-weight: 700;

    letter-spacing: 0.01em;
}


.jw-quote-field label span {
    color: var(--jw-quote-orange);
}


.jw-quote-field input,
.jw-quote-field select,
.jw-quote-field textarea {
    display: block;

    width: 100%;

    border: 1px solid #dce1e9;

    border-radius: 0;

    background: #ffffff;

    color: var(--jw-quote-text);

    font-family: inherit;

    font-size: 0.92rem;

    line-height: 1.5;

    padding: 14px 16px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.jw-quote-field input,
.jw-quote-field select {
    height: 52px;
}


.jw-quote-field textarea {
    min-height: 130px;

    resize: vertical;
}


.jw-quote-field input::placeholder,
.jw-quote-field textarea::placeholder {
    color: #a2aab8;
}


.jw-quote-field input:focus,
.jw-quote-field select:focus,
.jw-quote-field textarea:focus {
    border-color: var(--jw-quote-orange);

    box-shadow:
        0 0 0 3px rgba(255, 94, 20, 0.08);

    background: #fff;
}


.jw-quote-field select {
    cursor: pointer;
}


/* =========================================================
   FILE UPLOAD
   ========================================================= */

.jw-quote-upload-box {
    position: relative;

    display: flex;

    align-items: center;

    gap: 20px;

    width: 100%;

    padding: 24px;

    border: 1px dashed #cbd2de;

    background: var(--jw-quote-light);

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.jw-quote-upload-box:hover {
    border-color: var(--jw-quote-orange);

    background: #fff9f6;

    transform: translateY(-2px);
}


.jw-quote-upload-box input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


.jw-quote-upload-icon {
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    background: var(--jw-quote-navy);

    color: #ffffff;

    font-size: 1.25rem;
}


.jw-quote-upload-content {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.jw-quote-upload-content strong {
    color: var(--jw-quote-navy);

    font-size: 0.95rem;
}


.jw-quote-upload-content small {
    margin-top: 3px;

    color: var(--jw-quote-muted);

    font-size: 0.78rem;
}


.jw-quote-upload-content em {
    margin-top: 5px;

    color: #929baa;

    font-size: 0.7rem;

    font-style: normal;
}


.jw-quote-upload-action {
    margin-left: auto;

    flex: 0 0 auto;

    padding: 10px 16px;

    background: #ffffff;

    border: 1px solid #d9dee7;

    color: var(--jw-quote-navy);

    font-size: 0.78rem;

    font-weight: 700;
}


/* =========================================================
   SUBMIT AREA
   ========================================================= */

.jw-quote-submit-area {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding-top: 32px;
}


.jw-quote-submit-note {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    max-width: 350px;
}


.jw-quote-submit-note i {
    flex: 0 0 auto;

    margin-top: 2px;

    color: var(--jw-quote-orange);

    font-size: 1rem;
}


.jw-quote-submit-note p {
    margin: 0;

    color: var(--jw-quote-muted);

    font-size: 0.76rem;

    line-height: 1.6;
}


.jw-quote-submit-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 56px;

    padding: 0 27px;

    border: 0;

    background: var(--jw-quote-orange);

    color: #ffffff;

    font-family: inherit;

    font-size: 0.82rem;

    font-weight: 700;

    letter-spacing: 0.01em;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.jw-quote-submit-btn i {
    font-size: 1rem;

    transition: transform 0.25s ease;
}


.jw-quote-submit-btn:hover {
    background: var(--jw-quote-orange-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(255, 94, 20, 0.20);
}


.jw-quote-submit-btn:hover i {
    transform: translateX(4px);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.jw-quote-sidebar {
    display: flex;

    flex-direction: column;

    gap: 24px;

    position: sticky;

    top: 110px;
}


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

.jw-quote-process-card {
    padding: 38px 34px;

    background: var(--jw-quote-navy);

    color: #ffffff;
}


.jw-quote-process-card .jw-quote-section-label {
    color: var(--jw-quote-orange);
}


.jw-quote-process-card h2 {
    margin: 0 0 30px;

    color: #ffffff;

    font-size: 1.8rem;

    line-height: 1.15;

    letter-spacing: -0.025em;
}


.jw-quote-process-list {
    display: flex;

    flex-direction: column;
}


.jw-quote-process-item {
    display: grid;

    grid-template-columns: 42px 1fr;

    gap: 15px;

    padding: 21px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.jw-quote-process-item:first-child {
    padding-top: 0;

    border-top: 0;
}


.jw-quote-process-number {
    color: var(--jw-quote-orange);

    font-size: 0.72rem;

    font-weight: 700;

    padding-top: 3px;
}


.jw-quote-process-item h3 {
    margin: 0 0 6px;

    color: #ffffff;

    font-size: 0.93rem;

    font-weight: 700;
}


.jw-quote-process-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.78rem;

    line-height: 1.7;
}


/* =========================================================
   CONTACT CARD
   ========================================================= */

.jw-quote-contact-card {
    padding: 36px 34px;

    border: 1px solid var(--jw-quote-border);

    background: #ffffff;
}


.jw-quote-contact-label {
    display: block;

    margin-bottom: 12px;

    color: var(--jw-quote-orange);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.15em;
}


.jw-quote-contact-card h2 {
    margin: 0;

    color: var(--jw-quote-navy);

    font-size: 1.55rem;

    line-height: 1.2;

    letter-spacing: -0.02em;
}


.jw-quote-contact-card > p {
    margin: 15px 0 25px;

    color: var(--jw-quote-muted);

    font-size: 0.82rem;

    line-height: 1.75;
}


.jw-quote-contact-links {
    display: flex;

    flex-direction: column;
}


.jw-quote-contact-links a {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 15px 0;

    border-top: 1px solid var(--jw-quote-border);

    color: inherit;

    text-decoration: none;
}


.jw-quote-contact-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    background: var(--jw-quote-light);

    color: var(--jw-quote-orange);

    font-size: 0.9rem;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.jw-quote-contact-links a:hover .jw-quote-contact-icon {
    background: var(--jw-quote-orange);

    color: #ffffff;
}


.jw-quote-contact-links a > span:last-child {
    display: flex;

    flex-direction: column;
}


.jw-quote-contact-links small {
    color: #8b94a4;

    font-size: 0.61rem;

    font-weight: 700;

    letter-spacing: 0.12em;
}


.jw-quote-contact-links strong {
    margin-top: 2px;

    color: var(--jw-quote-navy);

    font-size: 0.78rem;

    font-weight: 600;

    word-break: break-word;
}


/* =========================================================
   STATEMENT
   ========================================================= */

.jw-quote-statement {
    padding: 100px 0;

    background: var(--jw-quote-light);
}


.jw-quote-statement-inner {
    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}


.jw-quote-statement-inner h2 {
    margin: 0;

    color: var(--jw-quote-navy);

    font-size: clamp(2.3rem, 4vw, 4rem);

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.jw-quote-statement-inner h2 span {
    color: var(--jw-quote-orange);
}


.jw-quote-statement-inner p {
    max-width: 760px;

    margin: 22px auto 0;

    color: var(--jw-quote-muted);

    font-size: 0.95rem;

    line-height: 1.9;
}


/* =========================================================
   RESPONSIVE — 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .jw-quote-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);

        gap: 25px;
    }

    .jw-quote-form-card {
        padding: 40px;
    }

    .jw-quote-process-card,
    .jw-quote-contact-card {
        padding-left: 28px;
        padding-right: 28px;
    }

}


/* =========================================================
   RESPONSIVE — 900px
   ========================================================= */

@media (max-width: 900px) {

    .jw-quote-intro-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .jw-quote-layout {
        grid-template-columns: 1fr;
    }


    .jw-quote-sidebar {
        position: static;

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE — 767px
   ========================================================= */

@media (max-width: 767px) {

    .jw-quote-hero {
        min-height: 470px;
    }


    .jw-quote-hero-content {
        padding: 75px 0;
    }


    .jw-quote-hero h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }


    .jw-quote-hero-content > p {
        font-size: 0.92rem;

        line-height: 1.75;
    }


    .jw-quote-hero-meta {
        gap: 9px 18px;
    }


    .jw-quote-hero-meta span {
        font-size: 0.72rem;
    }


    .jw-quote-hero-index {
        right: 20px;

        bottom: 20px;
    }


    .jw-quote-intro {
        padding: 70px 0 60px;
    }


    .jw-quote-form-section {
        padding-bottom: 75px;
    }


    .jw-quote-form-card {
        padding: 30px 22px;
    }


    .jw-quote-form-group {
        padding: 34px 0;
    }


    .jw-quote-fields {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .jw-quote-field-full {
        grid-column: auto;
    }


    .jw-quote-submit-area {
        flex-direction: column;

        align-items: stretch;
    }


    .jw-quote-submit-note {
        max-width: none;
    }


    .jw-quote-submit-btn {
        width: 100%;
    }


    .jw-quote-sidebar {
        grid-template-columns: 1fr;
    }


    .jw-quote-statement {
        padding: 75px 0;
    }

}


/* =========================================================
   RESPONSIVE — 575px
   ========================================================= */

@media (max-width: 575px) {

    .jw-quote-hero {
        min-height: 440px;
    }


    .jw-quote-eyebrow {
        font-size: 0.65rem;

        letter-spacing: 0.13em;
    }


    .jw-quote-hero-meta {
        flex-direction: column;

        align-items: center;

        gap: 8px;
    }


    .jw-quote-intro-grid {
        gap: 20px;
    }


    .jw-quote-form-card {
        padding: 25px 17px;
    }


    .jw-quote-form-header {
        padding-bottom: 30px;
    }


    .jw-quote-form-group-heading {
        gap: 12px;
    }


    .jw-quote-form-group-heading > span {
        width: 36px;
        height: 36px;

        font-size: 0.68rem;
    }


    .jw-quote-upload-box {
        flex-wrap: wrap;

        padding: 20px;
    }


    .jw-quote-upload-content {
        flex: 1 1 calc(100% - 75px);
    }


    .jw-quote-upload-action {
        margin-left: 0;

        width: 100%;

        text-align: center;
    }


    .jw-quote-process-card,
    .jw-quote-contact-card {
        padding: 30px 22px;
    }

}


/* =========================================================
   QUOTE FORM VERIFICATION
   ========================================================= */

.jw-quote-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   QUOTE FORM RESPONSE
   ========================================================= */
/* =========================================================
   QUOTE FORM RESPONSE
   ========================================================= */

.jw-quote-response {
    position: relative;

    width: 100%;

    margin: 0 0 32px;

    padding: 20px 22px;

    border: 1px solid transparent;

    font-size: 0.88rem;

    line-height: 1.7;

    overflow: hidden;

    animation:
        jwQuoteResponseIn 0.45s ease both;
}


/* =========================================================
   RESPONSE — SUCCESS
   ========================================================= */

.jw-quote-response-success {
    color: #164e63;

    background:
        linear-gradient(
            135deg,
            #f0fdfa 0%,
            #ecfeff 100%
        );

    border-color: #a5f3fc;

    box-shadow:
        0 12px 30px rgba(7, 24, 63, 0.06);
}


/* =========================================================
   RESPONSE — WARNING
   ========================================================= */

.jw-quote-response-warning {
    color: #854d0e;

    background: #fefce8;

    border-color: #fde68a;
}


/* =========================================================
   RESPONSE — ERROR
   ========================================================= */

.jw-quote-response-error {
    color: #991b1b;

    background: #fef2f2;

    border-color: #fecaca;
}


/* =========================================================
   SUBMIT BUTTON — DISABLED
   ========================================================= */

.jw-quote-submit-btn:disabled {
    cursor: not-allowed;

    opacity: 0.65;

    transform: none;

    box-shadow: none;
}


.jw-quote-submit-btn:disabled:hover {
    background: var(--jw-quote-orange);

    transform: none;

    box-shadow: none;
}


.jw-quote-submit-btn:disabled:hover i {
    transform: none;
}


/* =========================================================
   SUBMIT BUTTON — LOADING
   ========================================================= */

.jw-quote-submit-btn.is-loading {
    cursor: wait;

    background: var(--jw-quote-orange-dark);
}


.jw-quote-submit-btn.is-loading i {
    animation:
        jwQuoteSpinner 0.9s linear infinite;
}


/* =========================================================
   RESPONSE ANIMATION
   ========================================================= */

@keyframes jwQuoteResponseIn {

    from {
        opacity: 0;

        transform:
            translateY(10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   BUTTON ICON SPINNER
   ========================================================= */

@keyframes jwQuoteSpinner {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .jw-quote-response {
        animation: none;
    }

    .jw-quote-submit-btn.is-loading i {
        animation: none;
    }

}