/* DHA Phase — Full-viewport hero (responsive) */
:root {
    --dha-gold: #c89b3c;
    --dha-navy: #03101f;
    --dha-ease: 0.3s ease;
    --dha-header-h: 90px;
    --dha-hero-h: calc(100vh - var(--dha-header-h));
}

@supports (height: 100dvh) {
    :root {
        --dha-hero-h: calc(100dvh - var(--dha-header-h));
    }
}

.dha-lux-hero-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    overflow-x: clip;
    font-family: 'Poppins', sans-serif;
    background: var(--dha-navy);
}
.dha-phase-page .dha-lux-hero-wrap,
.dha-phase-page .dha-lux-hero-wrap h1,
.dha-phase-page .dha-lux-hero-wrap p {
    text-align: left !important;
}

.dha-lux-hero {
    position: relative;
    width: 100%;
    min-height: var(--dha-hero-h);
    min-height: calc(100svh - var(--dha-header-h));
    border-radius: 0;
    overflow: hidden;
    background: var(--dha-navy);
}

.dha-lux-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.dha-lux-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(3, 16, 31, 0.98) 0%,
        rgba(3, 16, 31, 0.92) 38%,
        rgba(3, 16, 31, 0.55) 58%,
        rgba(3, 16, 31, 0.15) 72%,
        transparent 100%
    );
    pointer-events: none;
}

.dha-lux-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: var(--dha-hero-h);
    min-height: calc(100svh - var(--dha-header-h));
    padding:
        clamp(24px, 4vh, 48px)
        clamp(20px, 5vw, 88px)
        clamp(28px, 4vh, 48px);
}

.dha-lux-hero__content {
    width: 100%;
    max-width: min(1080px, 100%);
}

.dha-lux-hero__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 clamp(16px, 3vh, 28px);
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    color: rgba(255, 255, 255, 0.75);
}
.dha-lux-hero__crumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--dha-ease);
}
.dha-lux-hero__crumb a:hover { color: var(--dha-gold); }
.dha-lux-hero__crumb span { opacity: 0.6; }

.dha-lux-hero__title {
    margin: 0 0 clamp(12px, 2vh, 20px);
    padding: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 6vw, 4.25rem);
    font-weight: 600;
    line-height: 1.08;
}
.dha-lux-hero__title-gold {
    color: var(--dha-gold);
    margin-right: 0.2em;
}
.dha-lux-hero__title-white {
    color: #fff;
}

.dha-lux-hero__lead {
    margin: 0 0 clamp(20px, 3vh, 32px);
    max-width: 640px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    line-height: 1.7;
}

.dha-lux-hero__stats {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: clamp(8px, 1.2vw, 14px);
    margin-bottom: clamp(20px, 3vh, 32px);
    width: max-content;
    max-width: 100%;
}

.dha-lux-hero__stat {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
    padding: clamp(12px, 2vh, 16px) clamp(14px, 1.8vw, 20px);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background var(--dha-ease), border-color var(--dha-ease);
}
.dha-lux-hero__stat:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(200, 155, 60, 0.25);
}
.dha-lux-hero__stat > div {
    min-width: 0;
}
.dha-lux-hero__stat > i,
.dha-lux-hero__stat > svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--dha-gold);
    stroke: var(--dha-gold);
}
.dha-lux-hero__stat-label {
    display: block;
    font-size: clamp(0.62rem, 1.8vw, 0.7rem);
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: nowrap;
}
.dha-lux-hero__stat-value {
    display: block;
    font-size: clamp(0.78rem, 2vw, 0.95rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
}

.dha-lux-hero__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    width: max-content;
    max-width: 100%;
}

.dha-lux-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 clamp(14px, 1.6vw, 22px);
    border-radius: 10px;
    font-family: inherit;
    font-size: clamp(0.78rem, 1.5vw, 0.9rem);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--dha-ease);
}
.dha-lux-hero__btn svg,
.dha-lux-hero__btn i {
    width: 18px;
    height: 18px;
}
.dha-lux-hero__btn .fa-file-pdf,
.dha-lux-hero__btn .fa-vr-cardboard {
    width: auto;
    height: auto;
    font-size: 1.05em;
    line-height: 1;
}
.dha-lux-hero__btn--primary {
    background: var(--dha-gold);
    border: 1px solid var(--dha-gold);
    color: #fff;
}
.dha-lux-hero__btn--primary:hover {
    background: #d4a84a;
    border-color: #d4a84a;
}
.dha-lux-hero__btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}
.dha-lux-hero__btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

button.dha-lux-hero__btn {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
}

/* Agent contact modal */
html.dha-agent-modal-open,
html.dha-agent-modal-open body {
    overflow: hidden;
}

.dha-agent-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.dha-agent-modal[hidden] {
    display: none !important;
}

.dha-agent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 16, 31, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: dha-agent-fade-in 0.28s ease;
}

.dha-agent-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: clamp(28px, 5vw, 40px) clamp(24px, 4vw, 36px) clamp(24px, 4vw, 36px);
    border-radius: 20px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 40%, transparent 70%),
        linear-gradient(180deg, #0a1a2e 0%, #03101f 100%);
    border: 1px solid rgba(200, 155, 60, 0.35);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    animation: dha-agent-panel-in 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.dha-agent-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.dha-agent-modal__close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.dha-agent-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200, 155, 60, 0.15);
    border: 1px solid rgba(200, 155, 60, 0.45);
    color: var(--dha-gold);
}

.dha-agent-modal__icon svg,
.dha-agent-modal__icon i {
    width: 28px;
    height: 28px;
}

.dha-agent-modal__title {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
}

.dha-agent-modal__lead {
    margin: 0 0 22px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
}

.dha-agent-modal__number {
    display: block;
    margin: 0 0 22px;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--dha-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dha-agent-modal__number:hover {
    color: #e0b85a;
}

.dha-agent-modal__call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--dha-gold);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dha-agent-modal__call-btn:hover {
    background: #d4a84a;
    transform: translateY(-1px);
}

@keyframes dha-agent-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes dha-agent-panel-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Large tablets / small laptops — keep one row, slightly tighter */
@media (max-width: 1200px) {
    .dha-lux-hero__content {
        max-width: min(980px, 100%);
    }

    .dha-lux-hero__stat {
        padding: 12px 14px;
    }

    .dha-lux-hero__btn {
        min-height: 44px;
        padding: 0 14px;
        font-size: 0.8rem;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .dha-lux-hero__shade {
        background: linear-gradient(
            105deg,
            rgba(3, 16, 31, 0.97) 0%,
            rgba(3, 16, 31, 0.88) 50%,
            rgba(3, 16, 31, 0.45) 75%,
            transparent 100%
        );
    }
    .dha-lux-hero__bg {
        object-position: 75% center;
    }

    .dha-lux-hero__stats,
    .dha-lux-hero__actions {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .dha-lux-hero__stats::-webkit-scrollbar,
    .dha-lux-hero__actions::-webkit-scrollbar {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .dha-lux-hero__inner {
        align-items: center;
        justify-content: flex-start;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-bottom: max(clamp(28px, 4vh, 48px), env(safe-area-inset-bottom));
    }

    .dha-lux-hero__shade {
        background: linear-gradient(
            180deg,
            rgba(3, 16, 31, 0.94) 0%,
            rgba(3, 16, 31, 0.9) 45%,
            rgba(3, 16, 31, 0.75) 100%
        );
    }

    .dha-lux-hero__bg {
        object-position: center center;
    }

    .dha-lux-hero__content {
        max-width: 100%;
    }

    .dha-lux-hero__lead {
        max-width: 100%;
    }

    .dha-lux-hero__stat {
        padding: 12px 14px;
    }

    .dha-lux-hero__btn {
        min-height: 44px;
        width: auto;
    }
}

/* Short landscape screens */
@media (max-height: 520px) and (orientation: landscape) {
    .dha-lux-hero__inner {
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .dha-lux-hero__crumb {
        margin-bottom: 12px;
    }

    .dha-lux-hero__title {
        font-size: clamp(1.75rem, 8vh, 2.5rem);
        margin-bottom: 10px;
    }

    .dha-lux-hero__lead {
        margin-bottom: 16px;
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .dha-lux-hero__stats {
        margin-bottom: 16px;
    }

    .dha-lux-hero__stat {
        padding: 10px 12px;
    }
}
