/* DHA main page — luxury phases section (scoped, merged with hero) */
.dha-main-page .dha-phases-lux-section {
    position: relative;
    width: 100%;
    padding: 0 0 clamp(20px, 3vh, 32px);
    background: var(--dha-main-dark, #060d18);
    overflow-x: clip;
}

.dha-main-page .dha-phases-lux-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        radial-gradient(circle at 85% 20%, rgba(200, 155, 60, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 10% 80%, rgba(200, 155, 60, 0.06) 0%, transparent 38%);
}

.dha-main-page .dha-phases-lux-section__body {
    position: relative;
    z-index: 2;
    padding-top: clamp(24px, 3.5vh, 36px);
    padding-bottom: 0;
}

.dha-main-page .dha-phases-lux-head {
    margin-bottom: clamp(22px, 3vh, 32px);
}

.dha-main-page .dha-phases-lux-head__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dha-main-page .dha-phases-lux-head__eyebrow {
    margin: 0 0 10px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.68rem, 1.5vw, 0.78rem);
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--dha-main-gold, #c89b3c);
}

.dha-main-page .dha-phases-lux-head__title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.5vw, 24px);
}

.dha-main-page .dha-phases-lux-head__line {
    flex: 1 1 auto;
    max-width: min(220px, 18vw);
    height: 1px;
    position: relative;
}

.dha-main-page .dha-phases-lux-head__line--left {
    background: linear-gradient(90deg, transparent 0%, rgba(200, 155, 60, 0.15) 35%, rgba(200, 155, 60, 0.55) 100%);
}

.dha-main-page .dha-phases-lux-head__line--right {
    background: linear-gradient(270deg, transparent 0%, rgba(200, 155, 60, 0.15) 35%, rgba(200, 155, 60, 0.55) 100%);
}

.dha-main-page .dha-phases-lux-head__line--left::after,
.dha-main-page .dha-phases-lux-head__line--right::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    background: var(--dha-main-gold, #c89b3c);
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 0 1px rgba(200, 155, 60, 0.35);
}

.dha-main-page .dha-phases-lux-head__line--left::after { right: 0; }
.dha-main-page .dha-phases-lux-head__line--right::before { left: 0; }

.dha-main-page .dha-phases-lux-head__title {
    margin: 0;
    flex-shrink: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.dha-main-page .dha-phases-lux-head__title-gold {
    color: var(--dha-main-gold, #c89b3c);
    margin-right: 0.22em;
}

.dha-main-page .dha-phases-lux-head__title-white {
    color: #fff;
}

/* Phase cards — 4 per row, full section width under heading */
.dha-main-page .dha-phase-lux-grid-wrap {
    width: 100%;
}

.dha-main-page .dha-phase-lux-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: clamp(12px, 1.4vw, 16px);
    width: 100%;
    margin: 0;
}

.dha-main-page .dha-phase-lux-card {
    flex: 0 1 calc(25% - 12px);
    width: calc(25% - 12px);
    max-width: none;
    min-width: 0;
}

.dha-main-page .dha-phase-lux-card__link {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid rgba(200, 155, 60, 0.42);
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.dha-main-page .dha-phase-lux-card__link:hover {
    border-color: rgba(200, 155, 60, 0.72);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
}

.dha-main-page .dha-phase-lux-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0a1018;
}

.dha-main-page .dha-phase-lux-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.55s ease;
}

.dha-main-page .dha-phase-lux-card__link:hover .dha-phase-lux-card__img {
    transform: scale(1.06);
}

.dha-main-page .dha-phase-lux-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 50%;
    background: rgba(8, 12, 20, 0.72);
    border: 1px solid rgba(200, 155, 60, 0.65);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.dha-main-page .dha-phase-lux-card__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.72) 28%,
        rgba(0, 0, 0, 0.28) 52%,
        rgba(0, 0, 0, 0.05) 72%,
        transparent 100%
    );
    pointer-events: none;
}

.dha-main-page .dha-phase-lux-card__foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.dha-main-page .dha-phase-lux-card__title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.dha-main-page .dha-phase-lux-card__title-gold {
    color: var(--dha-main-gold, #c89b3c);
    margin-right: 0.18em;
}

.dha-main-page .dha-phase-lux-card__title-white {
    color: #fff;
}

.dha-main-page .dha-phase-lux-card__explore {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 7px;
    border: 1px solid rgba(200, 155, 60, 0.55);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.dha-main-page .dha-phase-lux-card__explore svg,
.dha-main-page .dha-phase-lux-card__explore i {
    width: 13px;
    height: 13px;
    color: var(--dha-main-gold, #c89b3c);
    stroke: var(--dha-main-gold, #c89b3c);
}

.dha-main-page .dha-phase-lux-card__link:hover .dha-phase-lux-card__explore {
    background: rgba(200, 155, 60, 0.12);
    border-color: var(--dha-main-gold, #c89b3c);
}

.dha-main-page .dha-phase-lux-card__dots {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    width: 52px;
    height: 52px;
    pointer-events: none;
    opacity: 0.32;
    background-image: radial-gradient(circle, rgba(200, 155, 60, 0.9) 1.2px, transparent 1.2px);
    background-size: 7px 7px;
    mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 72%);
}

@media (max-width: 1100px) {
    .dha-main-page .dha-phase-lux-card {
        flex: 0 1 calc(50% - 8px);
        width: calc(50% - 8px);
    }
}

@media (max-width: 640px) {
    .dha-main-page .dha-phase-lux-card {
        flex: 0 1 100%;
        width: 100%;
        max-width: 380px;
    }

    .dha-main-page .dha-phases-lux-head__line {
        max-width: 36px;
    }
}
