/* ========================================
   Women's Program Section & Promo Modals
   ======================================== */

/* --- Inline Homepage Section --- */
.women-program {
    background: var(--color-cream);
    padding: 80px 0;
}

.women-program .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.women-program__badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.women-program__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.women-program__heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.women-program__lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.women-program__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.women-program__features li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-text);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.women-program__features li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.women-program__closing {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 20px;
}

.women-program__cta {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-primary);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.women-program__cta:hover {
    background: var(--color-primary-dark);
}

/* --- Video Thumbnail --- */
.women-program__video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-beige);
}

.women-program__video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.women-program__video-thumb:hover img {
    transform: scale(1.03);
}

.women-program__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.women-program__play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--color-white);
    margin-left: 3px;
}

.women-program__video-thumb:hover .women-program__play-btn {
    background: var(--color-primary-dark);
    transform: translate(-50%, -50%) scale(1.08);
}

/* --- Video Modal (full-screen lightbox) --- */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.video-modal.is-active {
    display: flex;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.3s ease;
}

.video-modal__content {
    position: relative;
    width: 90vw;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    z-index: 1;
    animation: modalScaleIn 0.4s ease;
}

.video-modal__content iframe,
.video-modal__content video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    z-index: 2;
    transition: opacity 0.2s;
}

.video-modal__close:hover {
    opacity: 0.7;
}

/* --- Promo Popup Modal --- */
.promo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.promo-modal.is-active {
    display: flex;
}

.promo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    animation: fadeIn 0.3s ease;
}

.promo-modal__card {
    position: relative;
    background: var(--color-white);
    border-radius: 16px;
    max-width: 560px;
    width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 32px;
    z-index: 1;
    animation: modalScaleIn 0.4s ease;
    text-align: center;
}

.promo-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.promo-modal__close:hover {
    color: var(--color-dark);
}

.promo-modal__video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-beige);
    margin-bottom: 24px;
}

.promo-modal__video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-modal__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.promo-modal__play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent var(--color-white);
    margin-left: 2px;
}

.promo-modal__heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.promo-modal__text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.promo-modal__cta {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-primary);
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.promo-modal__cta:hover {
    background: var(--color-primary-dark);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .women-program {
        padding: 48px 0;
    }

    .women-program__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .women-program__heading {
        font-size: 1.7rem;
    }

    .women-program__text-col {
        order: 1;
    }

    .women-program__video-col {
        order: 2;
    }

    .video-modal__content {
        width: 95vw;
    }

    .video-modal__close {
        top: -36px;
    }

    .promo-modal__card {
        width: 95vw;
        padding: 28px 20px;
    }
}
