
/* Rifa Landing 2.1.0 — mobile-first, full-bleed */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

body.rifa-page-active {
    overflow-x: hidden !important;
}

body.rifa-page-active .entry-title,
body.rifa-page-active .page-title,
body.rifa-page-active .wp-block-post-title,
body.rifa-page-active .wp-block-post-title__block,
body.rifa-page-active .elementor-page-title,
body.rifa-page-active .elementor-widget-theme-post-title {
    display: none !important;
}

body.rifa-page-active .site-content,
body.rifa-page-active .content-area,
body.rifa-page-active .site-main,
body.rifa-page-active .wp-site-blocks,
body.rifa-page-active .wp-block-group,
body.rifa-page-active .entry-content,
body.rifa-page-active .elementor,
body.rifa-page-active .elementor-section-wrap {
    margin-top: 0 !important;
}

.rifa-page {
    --rifa-gold: #e6b85c;
    --rifa-gold-light: #ffd982;
    --rifa-brown: #3a1c0f;
    --rifa-brown-dark: #1d0d08;

    position: relative;
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    left: 50%;
    right: auto;
    margin-left: -50vw;
    margin-right: 0;
    overflow: hidden;
    box-sizing: border-box;
    background:
        linear-gradient(180deg, rgba(3, 26, 16, .72), rgba(1, 23, 14, .94)),
        var(--rifa-bg),
        radial-gradient(circle at 50% 20%, #21452c 0%, #092419 42%, #03150d 100%);
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.rifa-page *,
.rifa-page *::before,
.rifa-page *::after {
    box-sizing: border-box;
}

.rifa-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0,0,0,.25), transparent 45%, rgba(0,0,0,.22)),
        linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.32));
}

.rifa-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 24px 16px 32px;
}

.rifa-profile {
    text-align: center;
    margin: 0 auto 24px;
}

.rifa-avatar {
    display: block;
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--rifa-gold);
    margin: 0 auto 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.rifa-instagram {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    border: 1px solid var(--rifa-gold);
    border-radius: 999px;
    padding: 7px 16px;
    background: rgba(18, 10, 6, .42);
}

.rifa-name {
    margin-top: 9px;
    font-size: 16px;
    color: #f2c982;
}

.rifa-intro {
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.rifa-action-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    min-height: 285px;
    overflow: hidden;
    border: 1px solid var(--rifa-gold);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(50, 23, 12, .97), rgba(24, 12, 7, .96));
    box-shadow: 0 16px 42px rgba(0,0,0,.28);
}

.rifa-action-copy {
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rifa-eyebrow {
    color: var(--rifa-gold);
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 12px;
}

.rifa-action-card h1 {
    margin: 0 0 20px;
    color: #fff8eb;
    font-size: clamp(34px, 6vw, 54px);
    line-height: .98;
    letter-spacing: -1.3px;
    font-weight: 900;
    text-transform: uppercase;
}

.rifa-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 14px 18px;
    border-radius: 18px;
    background: linear-gradient(90deg, #ffe19a, #e7b85d);
    color: #160d08 !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.rifa-cta span {
    font-size: 22px;
}

.rifa-action-note {
    margin-top: 14px;
    color: #f1ddbd;
    font-size: 13px;
    line-height: 1.35;
}

.rifa-action-media {
    min-height: 100%;
}

.rifa-action-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 285px;
    object-fit: cover;
}

.rifa-social-proof {
    margin-top: 34px;
    text-align: center;
}

.rifa-social-proof h2 {
    margin: 0 0 20px;
    color: #ffe09b;
    font-size: clamp(25px, 5vw, 38px);
    line-height: 1.02;
    font-weight: 900;
}

.rifa-carousel {
    position: relative;
    border: 1px solid var(--rifa-gold);
    border-radius: 22px;
    padding: 18px 18px 14px;
    background: linear-gradient(145deg, rgba(63, 35, 23, .96), rgba(38, 19, 12, .96));
}

.rifa-slide {
    display: none;
}

.rifa-slide.is-active {
    display: block;
}

.rifa-city {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 16px;
    margin: 0 auto 14px;
    border: 1px solid var(--rifa-gold);
    border-radius: 999px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.rifa-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #080503;
    border: 1px solid rgba(255,255,255,.6);
}

.rifa-video-placeholder,
.rifa-video-placeholder img {
    width: 100%;
    height: 100%;
}

.rifa-video-placeholder {
    display: block;
    position: relative;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #080503;
}

.rifa-video-placeholder img {
    display: block;
    object-fit: cover;
}

.rifa-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 68px;
    height: 68px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(0,0,0,.48);
    color: #fff;
    font-size: 25px;
    padding-left: 4px;
}

.rifa-video-empty {
    height: 100%;
    display: grid;
    place-items: center;
    padding: 20px;
    color: #e7c990;
    font-size: 17px;
}

.rifa-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.rifa-slide p {
    margin: 14px 4px 0;
    color: #f5e4cc;
    font-size: 15px;
    line-height: 1.35;
}

.rifa-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 1px solid var(--rifa-gold);
    border-radius: 50%;
    background: #1a0d08;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.rifa-prev { left: -22px; }
.rifa-next { right: -22px; }

.rifa-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 16px;
}

.rifa-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #76582f;
    cursor: pointer;
}

.rifa-dot.is-active {
    background: #ffd36e;
}

.rifa-cta-bottom {
    margin-top: 24px;
    width: 100%;
}

.rifa-security {
    margin-top: 14px;
    text-align: center;
    color: #f3e4cf;
    font-size: 13px;
}

/* Mobile: the page itself is the viewport. No white gutters. */
@media (max-width: 767px) {
    .rifa-page {
        width: 100vw;
        max-width: none;
        margin-left: -50vw;
        min-height: 100svh;
    }

    .rifa-shell {
        width: 100%;
        max-width: 100%;
        padding: 18px 12px 28px;
    }

    .rifa-profile {
        margin-bottom: 20px;
    }

    .rifa-avatar {
        width: 104px;
        height: 104px;
    }

    .rifa-instagram {
        font-size: 17px;
    }

    .rifa-intro {
        margin-top: 22px;
        font-size: 16px;
    }

    .rifa-action-card {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .rifa-action-copy {
        padding: 24px 20px 18px;
    }

    .rifa-action-card h1 {
        font-size: clamp(34px, 10vw, 48px);
        line-height: .98;
    }

    .rifa-action-media {
        min-height: 230px;
        max-height: 330px;
    }

    .rifa-action-media img {
        min-height: 230px;
        max-height: 330px;
        height: 100%;
    }

    .rifa-social-proof {
        margin-top: 28px;
    }

    .rifa-social-proof h2 {
        font-size: 25px;
    }

    .rifa-carousel {
        padding: 14px 12px 13px;
        border-radius: 20px;
    }

    .rifa-nav {
        width: 44px;
        height: 44px;
        font-size: 29px;
    }

    .rifa-prev { left: -14px; }
    .rifa-next { right: -14px; }

    .rifa-cta {
        min-height: 56px;
        font-size: 17px;
    }
}

@media (min-width: 768px) {
    .rifa-page {
        padding-bottom: 36px;
    }
}
