/* DRA First World Global Promotional Modal (Scoped CSS) */
html.dra-fw-modal-open,
body.dra-fw-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.dra-fw-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dra-fw-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 20px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: rgba(9, 24, 40, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    box-sizing: border-box;
    font-family: Arial, 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #15283d;
}

.dra-fw-overlay *,
.dra-fw-overlay *::before,
.dra-fw-overlay *::after {
    box-sizing: border-box;
}

.dra-fw-overlay.dra-fw-is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dra-fw-dialog {
    position: relative;
    width: min(860px, 100%);
    max-width: 100%;
    margin: auto;
    background: #fffdf8;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(25, 41, 61, 0.36);
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
    outline: none;
}

.dra-fw-overlay.dra-fw-is-open .dra-fw-dialog {
    transform: none;
    opacity: 1;
}

.dra-fw-scroll {
    width: 100%;
    overflow: visible;
}

.dra-fw-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 100%;
}

.dra-fw-close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 20;
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #14283d;
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 1;
    float: none;
    text-shadow: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.dra-fw-close:hover {
    background: #f5f0e4;
    color: #10243b;
    transform: scale(1.06);
}

.dra-fw-close:focus-visible {
    outline: 2px solid #c6a15b;
    outline-offset: 2px;
}

/* Left Section – Project Promotion */
.dra-fw-visual {
    position: relative;
    min-height: 455px;
    display: flex;
    align-items: flex-end;
    background: #14283d;
    overflow: hidden;
    touch-action: pan-y;
}

.dra-fw-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% center;
    display: block;
    margin: 0;
    border: 0;
}

.dra-fw-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9, 24, 40, 0.98) 0%, rgba(9, 24, 40, 0.57) 29%, transparent 65%);
    pointer-events: none;
}

.dra-fw-image-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    touch-action: pan-y;
}

.dra-fw-copy {
    position: relative;
    z-index: 3;
    color: #ffffff;
    padding: 22px 26px;
    width: 100%;
    pointer-events: none;
}

.dra-fw-eyebrow {
    font-family: Arial, 'Roboto', sans-serif;
    font-size: 10px;
    letter-spacing: 1.8px;
    color: #f3d18b;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.dra-fw-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.06;
    margin: 8px 0;
    color: #ffffff;
    text-align: left;
}

.dra-fw-hero-desc {
    font-family: Arial, 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
    color: #ffffff;
}

.dra-fw-features {
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.33);
    margin-top: 14px;
    padding-top: 10px;
    font-size: 11px;
    line-height: 1.35;
    color: #ffffff;
}

.dra-fw-features span {
    flex: 1;
}

.dra-fw-features b {
    display: block;
    color: #f3d18b;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

/* Right Section – Enquiry Form */
.dra-fw-panel {
    padding: 18px 26px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fffdf8;
    color: #15283d;
}

.dra-fw-logo {
    width: 175px;
    max-width: 72%;
    height: auto;
    align-self: center;
    mix-blend-mode: multiply;
    margin: 0 0 8px;
    display: block;
}

.dra-fw-panel-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.2;
    margin: 0 0 4px;
    color: #15283d;
    text-align: left;
}

.dra-fw-panel-desc {
    font-family: Arial, 'Roboto', sans-serif;
    font-size: 12px;
    color: #596474;
    line-height: 1.4;
    margin: 0 0 10px;
}

.dra-fw-form {
    margin: 0;
    padding: 0;
}

.dra-fw-field {
    display: block;
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #d5d4ce;
    background: #ffffff;
    border-radius: 5px;
    margin: 0 0 7px;
    font-family: Arial, 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    color: #15283d;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dra-fw-field::placeholder {
    color: #6b7280;
}

.dra-fw-field:focus {
    outline: none;
    border-color: #c6a15b;
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.22);
}

.dra-fw-field.dra-fw-field-invalid {
    border-color: #c53030;
    box-shadow: 0 0 0 2px rgba(197, 48, 48, 0.15);
}

.dra-fw-consent {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-family: Arial, 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #596474;
    line-height: 1.35;
    margin: 1px 0 9px;
    cursor: pointer;
}

.dra-fw-consent input[type="checkbox"] {
    margin: 2px 0 0;
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    accent-color: #14283d;
    cursor: pointer;
}

.dra-fw-consent input[type="checkbox"]:focus-visible {
    outline: 2px solid #c6a15b;
    outline-offset: 2px;
}

.dra-fw-status {
    display: none;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 11.5px;
    line-height: 1.35;
    margin: 0 0 8px;
}

.dra-fw-status.dra-fw-status-error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.dra-fw-status.dra-fw-status-success {
    display: block;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-weight: 600;
}

.dra-fw-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background: #c6a15b;
    color: #10243b !important;
    border: 0;
    border-radius: 5px;
    padding: 10px 14px;
    font-family: Arial, 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    width: 100%;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.dra-fw-cta:hover {
    background: #b89149;
}

.dra-fw-cta:focus-visible {
    outline: 2px solid #14283d;
    outline-offset: 2px;
}

.dra-fw-cta:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.dra-fw-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(16, 36, 59, 0.25);
    border-top-color: #10243b;
    border-radius: 50%;
    animation: draFwSpin 0.75s linear infinite;
}

.dra-fw-cta.dra-fw-is-loading .dra-fw-spinner {
    display: inline-block;
}

@keyframes draFwSpin {
    to {
        transform: rotate(360deg);
    }
}

.dra-fw-mobile-cta {
    display: none;
    background: #148447;
    color: #ffffff !important;
}

.dra-fw-mobile-cta:hover {
    background: #0f6e3b;
    color: #ffffff !important;
}

.dra-fw-explore {
    display: block;
    text-align: center;
    color: #14283d !important;
    font-family: Arial, 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 0 0;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.dra-fw-explore:hover {
    color: #9e7b3b !important;
}

.dra-fw-explore:focus-visible {
    outline: 2px solid #c6a15b;
    outline-offset: 3px;
}

.dra-fw-contact {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e0d9ca;
    text-align: center;
    font-family: Arial, 'Roboto', sans-serif;
    font-size: 11.5px;
    line-height: 1.55;
}

.dra-fw-contact a {
    color: #14283d !important;
    text-decoration: none !important;
}

.dra-fw-contact a:hover {
    text-decoration: underline !important;
}

.dra-fw-contact a:focus-visible {
    outline: 2px solid #c6a15b;
    outline-offset: 2px;
}

.dra-fw-fine {
    font-family: Arial, 'Roboto', sans-serif;
    font-size: 10px;
    text-align: center;
    color: #68717a;
    margin-top: 4px;
}

/* Tablet Adjustments */
@media (max-width: 900px) and (min-width: 651px) {
    .dra-fw-visual {
        min-height: 430px;
    }

    .dra-fw-copy {
        padding: 20px;
    }

    .dra-fw-hero-title {
        font-size: 28px;
    }

    .dra-fw-features {
        gap: 10px;
        font-size: 10.5px;
    }

    .dra-fw-features b {
        font-size: 13px;
    }

    .dra-fw-panel {
        padding: 16px 20px 14px;
    }

    .dra-fw-logo {
        width: 155px;
    }

    .dra-fw-panel-title {
        font-size: 19px;
    }
}

/* Compact Desktop Viewport Safety (<= 540px height) */
@media (min-width: 651px) and (max-height: 540px) {
    .dra-fw-overlay {
        padding: 8px 16px;
    }

    .dra-fw-visual {
        min-height: 410px;
    }

    .dra-fw-hero-title {
        font-size: 28px;
        margin: 6px 0;
    }

    .dra-fw-panel {
        padding: 12px 22px;
    }

    .dra-fw-logo {
        width: 145px;
        margin-bottom: 6px;
    }

    .dra-fw-panel-title {
        font-size: 19px;
    }

    .dra-fw-panel-desc {
        font-size: 11.5px;
        margin-bottom: 8px;
    }

    .dra-fw-field {
        padding: 7px 10px;
        font-size: 12.5px;
        margin-bottom: 6px;
    }

    .dra-fw-consent {
        margin-bottom: 7px;
    }

    .dra-fw-cta {
        padding: 9px 12px;
    }

    .dra-fw-explore {
        padding-top: 7px;
    }

    .dra-fw-contact {
        margin-top: 7px;
        padding-top: 6px;
    }
}

/* Mobile Responsive Design */
@media (max-width: 650px) {
    .dra-fw-overlay {
        padding: 12px;
        align-items: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .dra-fw-dialog {
        display: flex;
        flex-direction: column;
        width: min(360px, 100%);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        margin: auto;
        overflow: hidden;
    }

    .dra-fw-scroll {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .dra-fw-grid {
        display: block;
    }

    .dra-fw-visual {
        min-height: 280px;
    }

    .dra-fw-copy {
        padding: 17px;
    }

    .dra-fw-hero-title {
        font-size: 29px;
    }

    .dra-fw-hero-desc {
        font-size: 12px;
    }

    .dra-fw-features {
        display: none;
    }

    .dra-fw-panel {
        padding: 14px 20px 18px;
    }

    .dra-fw-logo {
        width: 140px;
        margin: 0 auto 10px;
    }

    .dra-fw-form,
    .dra-fw-panel-title,
    .dra-fw-panel-desc {
        display: none;
    }

    .dra-fw-mobile-cta {
        display: flex;
    }

    .dra-fw-contact {
        margin-top: 10px;
        padding-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dra-fw-overlay,
    .dra-fw-dialog,
    .dra-fw-close,
    .dra-fw-field,
    .dra-fw-cta {
        transition: none !important;
    }
}
