/*
|--------------------------------------------------------------------------
| RSVP HERO V3
|--------------------------------------------------------------------------
| Premium editorial treatment for Discovery Day.
| Loaded AFTER rsvp-luxury.css so these rules override hero styles.
|--------------------------------------------------------------------------
*/

body.rsvp-luxury-page {
    --hero-navy: #0e2e60;
    --hero-navy-deep: #071f45;
    --hero-magenta: #b81754;
    --hero-magenta-bright: #cf2565;
    --hero-orange: #f2a126;
    --hero-cream: #fff9f3;
    --hero-paper: #fffdf9;
}


/* =========================================================
   HEADER
   ========================================================= */

.rsvp-luxury-page .topbar {
    background: rgba(255, 253, 249, 0.91);
    border-bottom: 1px solid rgba(14, 46, 96, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.rsvp-luxury-page .topbar-inner {
    min-height: 92px;
}

.rsvp-luxury-page .brand {
    gap: 16px;
}

.rsvp-luxury-page .brand-mark {
    width: 60px;
    height: 60px;
    flex-basis: 60px;

    padding: 5px;

    border-radius: 18px;

    background: #fff;

    border:
        1px solid
        rgba(14, 46, 96, 0.06);

    box-shadow:
        0 9px 26px
        rgba(22, 30, 47, 0.07);
}

.rsvp-luxury-page .brand-copy strong {
    color: var(--hero-navy);

    font-size: 19px;
    font-weight: 800;

    letter-spacing: -0.025em;
}

.rsvp-luxury-page .brand-copy small {
    color: #8b8d93;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.025em;
}

.rsvp-luxury-page .topbar-badge {
    padding: 11px 20px;

    color: var(--hero-magenta);

    border:
        1px solid
        rgba(184, 23, 84, 0.11);

    background:
        linear-gradient(
            180deg,
            rgba(255, 248, 248, 0.98),
            rgba(250, 237, 241, 0.92)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.9);

    font-size: 14px;
}


/* =========================================================
   HERO BACKGROUND
   ========================================================= */

.rsvp-luxury-page .lux-hero {
    --mouse-x: 72%;
    --mouse-y: 28%;

    position: relative;

    min-height:
        calc(100vh - 92px);

    padding:
        clamp(66px, 7vw, 105px)
        0
        clamp(70px, 7vw, 100px);

    overflow: hidden;

    isolation: isolate;

    background:
        radial-gradient(
            circle
            at var(--mouse-x) var(--mouse-y),
            rgba(255, 207, 131, 0.28),
            transparent 26%
        ),
        radial-gradient(
            circle at 95% 24%,
            rgba(243, 161, 38, 0.18),
            transparent 23%
        ),
        radial-gradient(
            circle at 5% 92%,
            rgba(184, 23, 84, 0.07),
            transparent 25%
        ),
        linear-gradient(
            115deg,
            #fffdf9 0%,
            #fffaf4 48%,
            #fff3e8 100%
        );
}


/*
|--------------------------------------------------------------------------
| Bottom flowing ribbons
|--------------------------------------------------------------------------
*/

.rsvp-luxury-page .lux-hero::before {
    content: "";

    position: absolute;

    width: 1200px;
    height: 250px;

    right: -280px;
    bottom: -185px;

    z-index: -1;

    border-radius: 50%;

    transform:
        rotate(-8deg);

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(184, 23, 84, 0.09) 20%,
            rgba(184, 23, 84, 0.50) 75%,
            rgba(184, 23, 84, 0.86) 100%
        );

    filter: blur(1px);

    animation:
        heroRibbonMove
        10s
        ease-in-out
        infinite;
}

.rsvp-luxury-page .lux-hero::after {
    content: "";

    position: absolute;

    width: 1000px;
    height: 170px;

    right: -210px;
    bottom: -140px;

    z-index: -1;

    border-radius: 50%;

    transform:
        rotate(-4deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(242, 161, 38, 0.08),
            rgba(184, 23, 84, 0.17)
        );
}


/* Existing ambience */

.rsvp-luxury-page .hero-ambient-one {
    width: 410px;
    height: 410px;

    top: -180px;
    right: -80px;

    opacity: 0.38;

    background:
        rgba(242, 161, 38, 0.22);

    filter: blur(28px);

    animation:
        heroGlowBreath
        8s
        ease-in-out
        infinite;
}

.rsvp-luxury-page .hero-ambient-two {
    width: 310px;
    height: 310px;

    left: -130px;
    bottom: -120px;

    opacity: 0.4;

    background:
        rgba(184, 23, 84, 0.10);

    filter: blur(30px);

    animation:
        heroGlowBreath
        10s
        ease-in-out
        infinite reverse;
}


/* =========================================================
   HERO LAYOUT
   ========================================================= */

.rsvp-luxury-page .hero-shell {
    width:
        min(
            1250px,
            calc(100% - 54px)
        );

    max-width: none;

    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(430px, 0.98fr);

    gap:
        clamp(48px, 6vw, 100px);

    align-items: center;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.rsvp-luxury-page .hero-copy {
    max-width: 720px;
}

.rsvp-luxury-page .hero-kicker {
    gap: 14px;

    margin-bottom: 25px;

    color:
        var(--hero-magenta);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.19em;
}

.rsvp-luxury-page .hero-kicker::before {
    width: 47px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--hero-orange),
            var(--hero-magenta)
        );
}


/*
|--------------------------------------------------------------------------
| Editorial heading
|--------------------------------------------------------------------------
*/

.rsvp-luxury-page .hero-title {
    margin: 0;

    max-width: 730px;

    color:
        var(--hero-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            78px,
            7vw,
            126px
        );

    font-weight: 500;

    line-height: 0.79;

    letter-spacing: -0.065em;
}

.rsvp-luxury-page
.hero-title
.hero-title-accent {
    display: block;

    width: fit-content;

    padding:
        0
        0.08em
        0.07em
        0;

    color:
        var(--hero-magenta);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-style: normal;
    font-weight: 500;

    background: none;

    -webkit-text-fill-color:
        var(--hero-magenta);
}


/* Body copy */

.rsvp-luxury-page
.hero-description {
    max-width: 690px;

    margin-top: 30px;

    color: #59677d;

    font-size:
        clamp(
            17px,
            1.25vw,
            20px
        );

    line-height: 1.67;

    letter-spacing: -0.01em;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.rsvp-luxury-page
.hero-actions {
    gap: 20px;

    margin-top: 31px;
}

.rsvp-luxury-page
.primary-action {
    position: relative;

    min-height: 58px;

    padding:
        0 29px;

    overflow: hidden;

    border-radius: 13px;

    background:
        linear-gradient(
            105deg,
            #ad124b,
            #d12667
        );

    box-shadow:
        0 16px 34px
        rgba(184, 23, 84, 0.22);

    font-size: 14px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.rsvp-luxury-page
.primary-action::before {
    content: "";

    position: absolute;

    width: 70px;
    height: 150%;

    top: -25%;
    left: -100px;

    transform:
        skewX(-22deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.32),
            transparent
        );

    animation:
        heroButtonShine
        5.5s
        ease-in-out
        infinite;
}

.rsvp-luxury-page
.primary-action:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 21px 41px
        rgba(184, 23, 84, 0.28);
}

.rsvp-luxury-page
.secondary-action {
    position: relative;

    color: var(--hero-navy);

    font-size: 14px;
    font-weight: 800;
}

.rsvp-luxury-page
.secondary-action::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: -5px;

    height: 1px;

    background:
        var(--hero-magenta);

    transition:
        right 0.28s ease;
}

.rsvp-luxury-page
.secondary-action:hover::after {
    right: 0;
}


/* =========================================================
   EVENT CARDS
   ========================================================= */

.rsvp-luxury-page
.hero-event-grid {
    max-width: 760px;

    gap: 13px;

    margin-top: 40px;
}

.rsvp-luxury-page
.hero-event-card {
    position: relative;

    min-height: 122px;

    padding:
        20px
        19px
        18px;

    overflow: hidden;

    border-radius: 18px;

    border:
        1px solid
        rgba(14, 46, 96, 0.08);

    background:
        rgba(
            255,
            255,
            255,
            0.78
        );

    box-shadow:
        0 15px 35px
        rgba(21, 27, 42, 0.055);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.rsvp-luxury-page
.hero-event-card::before {
    content: "";

    position: absolute;

    width: 64px;
    height: 64px;

    top: -32px;
    right: -27px;

    border-radius: 50%;

    background:
        rgba(184, 23, 84, 0.045);
}

.rsvp-luxury-page
.hero-event-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(184, 23, 84, 0.16);

    box-shadow:
        0 20px 42px
        rgba(21, 27, 42, 0.08);
}

.rsvp-luxury-page
.event-card-index {
    margin-bottom: 11px;

    color:
        var(--hero-magenta);

    font-size: 11px;
    font-weight: 900;
}

.rsvp-luxury-page
.hero-event-card small {
    margin-bottom: 5px;

    color: #8d929c;

    font-size: 12px;
}

.rsvp-luxury-page
.hero-event-card strong {
    color:
        var(--hero-navy);

    font-size: 14px;
    font-weight: 800;

    line-height: 1.45;
}


/* =========================================================
   RIGHT VISUAL
   ========================================================= */

.rsvp-luxury-page
.hero-visual {
    --rx: 0deg;
    --ry: 0deg;

    position: relative;

    min-height: 610px;

    perspective: 1300px;
}


/*
|--------------------------------------------------------------------------
| Big circle
|--------------------------------------------------------------------------
*/

.rsvp-luxury-page
.visual-orbit {
    width: 510px;
    max-width: 92%;

    border:
        1px solid
        rgba(184, 23, 84, 0.09);

    background:
        radial-gradient(
            circle at 48% 45%,
            rgba(184, 23, 84, 0.10),
            rgba(184, 23, 84, 0.035) 44%,
            transparent 68%
        );

    animation:
        heroOrbitBreathe
        8s
        ease-in-out
        infinite;
}

.rsvp-luxury-page
.visual-orbit::before {
    content: "";

    position: absolute;

    width: 315px;
    height: 315px;

    top: 120px;
    left: 115px;

    border-radius:
        48% 52% 49% 51%;

    background:
        linear-gradient(
            145deg,
            #ad124b,
            #c61c5c
        );

    box-shadow:
        0 35px 80px
        rgba(184, 23, 84, 0.17);

    animation:
        heroBlobFloat
        7s
        ease-in-out
        infinite;
}

.rsvp-luxury-page
.visual-orbit::after {
    display: none;
}


/*
|--------------------------------------------------------------------------
| Thin orbit line
|--------------------------------------------------------------------------
*/

.rsvp-luxury-page
.visual-ring {
    width: 500px;
    height: 500px;

    border:
        1px solid
        rgba(184, 23, 84, 0.10);

    border-radius:
        48% 52% 50% 50%;

    animation:
        heroRingSpin
        24s
        linear
        infinite;
}

.rsvp-luxury-page
.visual-ring::after {
    content: "";

    position: absolute;

    width: 205px;
    height: 205px;

    right: -57px;
    bottom: 16px;

    border:
        45px solid
        rgba(242, 161, 38, 0.88);

    border-radius: 50%;

    box-shadow:
        0 19px 45px
        rgba(242, 161, 38, 0.12);

    animation:
        heroOrangeRing
        8s
        ease-in-out
        infinite;
}


/*
|--------------------------------------------------------------------------
| Floating poster container
|--------------------------------------------------------------------------
*/

.rsvp-luxury-page
.poster-float {
    position: relative;

    z-index: 7;

    animation:
        heroPosterFloat
        6.5s
        ease-in-out
        infinite;
}


/*
|--------------------------------------------------------------------------
| Poster layers
|--------------------------------------------------------------------------
*/

.rsvp-luxury-page
.poster-card {
    position: relative;

    width:
        min(
            365px,
            74vw
        );

    min-height: 485px;

    padding:
        31px
        31px
        27px;

    overflow: visible;

    border-radius: 25px;

    border:
        1px solid
        rgba(255, 255, 255, 0.90);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(255,249,244,0.96)
        );

    box-shadow:
        0 42px 80px
        rgba(47, 31, 38, 0.17),
        0 10px 26px
        rgba(47, 31, 38, 0.07);

    transform:
        rotate(-3deg)
        rotateX(var(--rx))
        rotateY(var(--ry));

    transform-style:
        preserve-3d;

    transition:
        transform
        0.18s
        ease-out;
}


/*
|--------------------------------------------------------------------------
| Extra sheet behind poster
|--------------------------------------------------------------------------
*/

.rsvp-luxury-page
.poster-card::before {
    content: "";

    position: absolute;

    inset:
        -14px
        -12px
        13px
        13px;

    z-index: -2;

    border-radius: 25px;

    border:
        1px solid
        rgba(255, 255, 255, 0.75);

    background:
        rgba(
            255,
            251,
            246,
            0.72
        );

    transform:
        rotate(3deg);

    box-shadow:
        0 19px 55px
        rgba(36, 29, 38, 0.08);
}


/*
|--------------------------------------------------------------------------
| Light sweep
|--------------------------------------------------------------------------
*/

.rsvp-luxury-page
.poster-card::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

    border-radius:
        inherit;

    background:
        linear-gradient(
            118deg,
            transparent 22%,
            rgba(255,255,255,0.52) 43%,
            transparent 59%
        );

    background-size:
        230% 100%;

    animation:
        heroPosterLight
        8s
        ease-in-out
        infinite;
}


/* Logo inside poster */

.rsvp-luxury-page
.poster-logo {
    position: relative;

    z-index: 3;

    width: 82px;
    height: 82px;

    margin-bottom: 70px;

    padding: 9px;

    border-radius: 21px;

    background:
        rgba(
            255,
            255,
            255,
            0.92
        );

    box-shadow:
        0 10px 23px
        rgba(25, 30, 44, 0.07);
}


/* Poster text */

.rsvp-luxury-page
.poster-words {
    position: relative;

    z-index: 3;
}

.rsvp-luxury-page
.poster-words span {
    color:
        var(--hero-navy);

    font-size: 37px;
    font-weight: 300;

    line-height: 1.07;

    letter-spacing:
        -0.055em;
}

.rsvp-luxury-page
.poster-words strong {
    color:
        var(--hero-orange);

    font-size: 53px;

    line-height: 1.04;

    letter-spacing:
        -0.055em;
}

.rsvp-luxury-page
.poster-date {
    position: relative;

    z-index: 3;

    margin-top: 58px;

    padding-top: 19px;

    color: #778092;

    border-top:
        1px solid
        rgba(14, 46, 96, 0.09);

    font-size: 11px;
}


/*
|--------------------------------------------------------------------------
| Remove AI-looking floating pills
|--------------------------------------------------------------------------
*/

.rsvp-luxury-page
.floating-chip {
    display: none !important;
}


/* =========================================================
   ENTRANCE ANIMATION
   ========================================================= */

.rsvp-luxury-page
.hero-kicker {
    animation:
        heroFadeUp
        0.7s
        0.04s
        both;
}

.rsvp-luxury-page
.hero-title {
    animation:
        heroFadeUp
        0.8s
        0.12s
        both;
}

.rsvp-luxury-page
.hero-description {
    animation:
        heroFadeUp
        0.8s
        0.22s
        both;
}

.rsvp-luxury-page
.hero-actions {
    animation:
        heroFadeUp
        0.8s
        0.32s
        both;
}

.rsvp-luxury-page
.hero-event-grid {
    animation:
        heroFadeUp
        0.8s
        0.42s
        both;
}

.rsvp-luxury-page
.hero-visual {
    animation:
        heroVisualEnter
        1s
        0.16s
        both;
}


/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform:
            translateY(22px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


@keyframes heroVisualEnter {
    from {
        opacity: 0;

        transform:
            translateX(35px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateX(0)
            scale(1);
    }
}


@keyframes heroPosterFloat {
    0%,
    100% {
        transform:
            translate3d(
                0,
                0,
                0
            );
    }

    50% {
        transform:
            translate3d(
                0,
                -14px,
                0
            );
    }
}


@keyframes heroPosterLight {
    0%,
    58% {
        background-position:
            190% 0;
    }

    100% {
        background-position:
            -90% 0;
    }
}


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


@keyframes heroOrangeRing {
    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-13px)
            rotate(5deg);
    }
}


@keyframes heroBlobFloat {
    0%,
    100% {
        transform:
            translate3d(
                0,
                0,
                0
            )
            rotate(0deg);
    }

    50% {
        transform:
            translate3d(
                9px,
                -15px,
                0
            )
            rotate(3deg);
    }
}


@keyframes heroOrbitBreathe {
    0%,
    100% {
        transform:
            scale(1);
    }

    50% {
        transform:
            scale(1.025);
    }
}


@keyframes heroGlowBreath {
    0%,
    100% {
        transform:
            scale(1)
            translate3d(0,0,0);
    }

    50% {
        transform:
            scale(1.14)
            translate3d(
                -18px,
                12px,
                0
            );
    }
}


@keyframes heroRibbonMove {
    0%,
    100% {
        transform:
            rotate(-8deg)
            translateX(0);
    }

    50% {
        transform:
            rotate(-7deg)
            translateX(-35px);
    }
}


@keyframes heroButtonShine {
    0%,
    70% {
        left: -100px;
    }

    100% {
        left: calc(100% + 100px);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media
(max-width: 1050px) {

    .rsvp-luxury-page
    .hero-shell {
        width:
            min(
                940px,
                calc(100% - 42px)
            );

        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, 0.78fr);

        gap: 25px;
    }

    .rsvp-luxury-page
    .hero-title {
        font-size:
            clamp(
                72px,
                8vw,
                95px
            );
    }

    .rsvp-luxury-page
    .hero-visual {
        min-height: 520px;
    }

    .rsvp-luxury-page
    .visual-orbit,
    .rsvp-luxury-page
    .visual-ring {
        width: 420px;
        height: 420px;
    }

    .rsvp-luxury-page
    .visual-orbit::before {
        width: 280px;
        height: 280px;

        top: 85px;
        left: 85px;
    }
}


/* =========================================================
   MOBILE / TABLET STACK
   ========================================================= */

@media
(max-width: 860px) {

    .rsvp-luxury-page
    .lux-hero {
        min-height: auto;

        padding:
            55px
            0
            70px;
    }

    .rsvp-luxury-page
    .hero-shell {
        width:
            min(
                720px,
                calc(100% - 34px)
            );

        grid-template-columns:
            1fr;

        gap: 44px;
    }

    .rsvp-luxury-page
    .hero-copy {
        max-width:
            680px;
    }

    .rsvp-luxury-page
    .hero-title {
        max-width:
            650px;

        font-size:
            clamp(
                75px,
                13vw,
                108px
            );
    }

    .rsvp-luxury-page
    .hero-description {
        max-width:
            650px;
    }

    .rsvp-luxury-page
    .hero-visual {
        min-height:
            540px;
    }

    .rsvp-luxury-page
    .poster-card {
        width: 340px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(max-width: 640px) {

    .rsvp-luxury-page
    .topbar-inner {
        min-height: 72px;
    }

    .rsvp-luxury-page
    .brand-mark {
        width: 46px;
        height: 46px;

        flex-basis:
            46px;

        border-radius:
            14px;
    }

    .rsvp-luxury-page
    .brand-copy strong {
        font-size:
            14px;
    }

    .rsvp-luxury-page
    .brand-copy small {
        font-size:
            10px;
    }

    .rsvp-luxury-page
    .topbar-badge {
        display: none;
    }


    .rsvp-luxury-page
    .lux-hero {
        padding:
            44px
            0
            58px;
    }


    .rsvp-luxury-page
    .hero-shell {
        width:
            min(
                100% - 28px,
                570px
            );

        gap: 32px;
    }


    .rsvp-luxury-page
    .hero-kicker {
        margin-bottom:
            18px;

        font-size:
            9px;

        letter-spacing:
            0.16em;
    }

    .rsvp-luxury-page
    .hero-kicker::before {
        width: 31px;
    }


    .rsvp-luxury-page
    .hero-title {
        font-size:
            clamp(
                61px,
                19vw,
                86px
            );

        line-height:
            0.82;

        letter-spacing:
            -0.055em;
    }


    .rsvp-luxury-page
    .hero-description {
        margin-top:
            24px;

        font-size:
            16px;

        line-height:
            1.65;
    }


    .rsvp-luxury-page
    .hero-actions {
        display: grid;

        grid-template-columns:
            1fr;

        gap: 15px;

        margin-top: 28px;
    }


    .rsvp-luxury-page
    .primary-action {
        width: 100%;

        min-height: 55px;

        justify-content:
            center;
    }


    .rsvp-luxury-page
    .secondary-action {
        width: fit-content;

        margin-left:
            4px;
    }


    .rsvp-luxury-page
    .hero-event-grid {
        grid-template-columns:
            1fr;

        gap: 9px;

        margin-top:
            29px;
    }


    .rsvp-luxury-page
    .hero-event-card {
        min-height: auto;

        padding:
            17px 18px;

        border-radius:
            15px;
    }


    .rsvp-luxury-page
    .hero-visual {
        min-height:
            430px;

        margin-top:
            2px;
    }


    .rsvp-luxury-page
    .visual-orbit {
        width: 340px;
        height: 340px;

        max-width:
            94vw;
    }


    .rsvp-luxury-page
    .visual-ring {
        width: 325px;
        height: 325px;
    }


    .rsvp-luxury-page
    .visual-orbit::before {
        width: 230px;
        height: 230px;

        top: 61px;
        left: 62px;
    }


    .rsvp-luxury-page
    .visual-ring::after {
        width: 135px;
        height: 135px;

        right: -25px;
        bottom: 14px;

        border-width:
            29px;
    }


    .rsvp-luxury-page
    .poster-card {
        width:
            min(
                260px,
                72vw
            );

        min-height:
            350px;

        padding:
            22px;

        border-radius:
            21px;

        transform:
            rotate(-2deg);
    }


    .rsvp-luxury-page
    .poster-card::before {
        inset:
            -9px
            -8px
            8px
            8px;

        border-radius:
            21px;
    }


    .rsvp-luxury-page
    .poster-logo {
        width: 62px;
        height: 62px;

        margin-bottom:
            42px;

        border-radius:
            17px;
    }


    .rsvp-luxury-page
    .poster-words span {
        font-size: 29px;
    }


    .rsvp-luxury-page
    .poster-words strong {
        font-size: 40px;
    }


    .rsvp-luxury-page
    .poster-date {
        margin-top:
            34px;

        font-size:
            9px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media
(max-width: 390px) {

    .rsvp-luxury-page
    .brand-copy strong {
        font-size:
            13px;
    }

    .rsvp-luxury-page
    .hero-title {
        font-size:
            59px;
    }

    .rsvp-luxury-page
    .hero-description {
        font-size:
            15px;
    }

    .rsvp-luxury-page
    .hero-visual {
        min-height:
            390px;
    }

    .rsvp-luxury-page
    .visual-orbit {
        width: 300px;
        height: 300px;
    }

    .rsvp-luxury-page
    .visual-ring {
        width: 290px;
        height: 290px;
    }

    .rsvp-luxury-page
    .poster-card {
        width: 230px;

        min-height:
            318px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .rsvp-luxury-page
    .poster-float,

    .rsvp-luxury-page
    .poster-card::after,

    .rsvp-luxury-page
    .visual-ring,

    .rsvp-luxury-page
    .visual-orbit,

    .rsvp-luxury-page
    .visual-orbit::before,

    .rsvp-luxury-page
    .visual-ring::after,

    .rsvp-luxury-page
    .hero-ambient,

    .rsvp-luxury-page
    .lux-hero::before,

    .rsvp-luxury-page
    .primary-action::before {
        animation:
            none !important;
    }
}


/* =========================================================
   REFERRAL SECTION FIX
   =========================================================
   Hard reset untuk menghindari bentrok dengan style lama
   .choice-card span dari app.css.
   ========================================================= */

.rsvp-luxury-page
.form-section[data-step="3"]
.choice-grid {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 13px !important;

    width: 100%;
}


/* ---------------------------------------------------------
   Reset outer label
   --------------------------------------------------------- */

.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card {
    position: relative !important;

    display: block !important;

    width: 100% !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    overflow: visible !important;

    cursor: pointer;
}


/* ---------------------------------------------------------
   Hide actual radio
   --------------------------------------------------------- */

.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card
> input[type="radio"] {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 0 !important;

    pointer-events: none !important;

    overflow: hidden !important;
}


/* ---------------------------------------------------------
   Main referral option
   --------------------------------------------------------- */

.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card
> .choice-content {
    position: relative !important;

    display: flex !important;

    align-items: center !important;

    gap: 13px !important;

    width: 100% !important;

    min-height: 68px !important;

    margin: 0 !important;

    padding:
        0
        18px !important;

    border:
        1px solid
        #e8e0da !important;

    border-radius:
        16px !important;

    color:
        #344562 !important;

    background:
        #fffdfb !important;

    box-shadow:
        0 2px 4px
        rgba(23, 32, 52, 0.015) !important;

    transform:
        translateY(0);

    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease !important;
}


/* ---------------------------------------------------------
   IMPORTANT:
   Reset style lama yang mengenai semua span
   --------------------------------------------------------- */

.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card
> .choice-content
> span {
    width: auto !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}


/* ---------------------------------------------------------
   Custom radio dot
   --------------------------------------------------------- */

.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card
> .choice-content
> .choice-dot {
    display: block !important;

    width: 20px !important;
    height: 20px !important;

    min-width: 20px !important;
    min-height: 20px !important;

    flex:
        0 0 20px !important;

    border:
        2px solid
        #d9d2d3 !important;

    border-radius:
        50% !important;

    background:
        #ffffff !important;

    box-shadow:
        inset
        0 0 0 4px
        #ffffff !important;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease !important;
}


/* ---------------------------------------------------------
   Referral label
   --------------------------------------------------------- */

.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card
> .choice-content
> span:last-child {
    display: block !important;

    flex: 1 1 auto !important;

    color:
        #344562 !important;

    font-size:
        14px !important;

    font-weight:
        750 !important;

    line-height:
        1.35 !important;

    letter-spacing:
        -0.01em !important;
}


/* ---------------------------------------------------------
   Hover
   --------------------------------------------------------- */

@media (hover: hover) {

    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-card:hover
    > .choice-content {
        transform:
            translateY(-2px);

        border-color:
            rgba(
                184,
                23,
                84,
                0.22
            ) !important;

        background:
            #fffaf9 !important;

        box-shadow:
            0 10px 24px
            rgba(
                25,
                31,
                48,
                0.055
            ) !important;
    }

}


/* ---------------------------------------------------------
   Checked state
   --------------------------------------------------------- */

.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card
> input[type="radio"]:checked
+ .choice-content {
    border-color:
        rgba(
            184,
            23,
            84,
            0.38
        ) !important;

    color:
        var(--hero-magenta) !important;

    background:
        linear-gradient(
            135deg,
            #fff9fb,
            #fff4f7
        ) !important;

    box-shadow:
        0 8px 24px
        rgba(
            184,
            23,
            84,
            0.075
        ) !important;
}


.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card
> input[type="radio"]:checked
+ .choice-content
> .choice-dot {
    border-color:
        var(--hero-magenta) !important;

    background:
        var(--hero-magenta) !important;

    box-shadow:
        inset
        0 0 0 4px
        #ffffff !important;
}


.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card
> input[type="radio"]:checked
+ .choice-content
> span:last-child {
    color:
        var(--hero-magenta) !important;
}


/* ---------------------------------------------------------
   Keyboard focus
   --------------------------------------------------------- */

.rsvp-luxury-page
.form-section[data-step="3"]
.choice-card
> input[type="radio"]:focus-visible
+ .choice-content {
    outline:
        3px solid
        rgba(
            184,
            23,
            84,
            0.12
        );

    outline-offset:
        2px;
}


/* =========================================================
   REFERRAL "OTHER"
   ========================================================= */

.rsvp-luxury-page
.form-section[data-step="3"]
#referral-other-wrapper {
    width: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
(max-width: 768px) {

    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-grid {
        gap:
            11px !important;
    }


    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-card
    > .choice-content {
        min-height:
            64px !important;

        padding:
            0
            15px !important;

        gap:
            11px !important;

        border-radius:
            15px !important;
    }


    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-card
    > .choice-content
    > .choice-dot {
        width:
            19px !important;

        height:
            19px !important;

        min-width:
            19px !important;

        min-height:
            19px !important;

        flex-basis:
            19px !important;
    }


    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-card
    > .choice-content
    > span:last-child {
        font-size:
            13px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(max-width: 640px) {

    /*
    |--------------------------------------------------------
    | Tetap 2 kolom di HP.
    | Lebih ringkas daripada 10 kartu vertikal.
    |--------------------------------------------------------
    */

    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;

        gap:
            9px !important;
    }


    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-card
    > .choice-content {
        min-height:
            60px !important;

        padding:
            0
            12px !important;

        gap:
            9px !important;

        border-radius:
            14px !important;
    }


    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-card
    > .choice-content
    > .choice-dot {
        width:
            17px !important;

        height:
            17px !important;

        min-width:
            17px !important;

        min-height:
            17px !important;

        flex-basis:
            17px !important;

        border-width:
            2px !important;

        box-shadow:
            inset
            0 0 0 3px
            #ffffff !important;
    }


    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-card
    > .choice-content
    > span:last-child {
        font-size:
            12px !important;

        line-height:
            1.25 !important;

        overflow-wrap:
            anywhere;
    }

}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media
(max-width: 350px) {

    .rsvp-luxury-page
    .form-section[data-step="3"]
    .choice-grid {
        grid-template-columns:
            1fr !important;
    }

}

/* =========================================================
   MOBILE EVENT LOCATION CENTER
   ========================================================= */

@media (max-width: 768px) {

    .rsvp-hero-v3 .rsvp-hero-location,
    .rsvp-hero-v3 .hero-location,
    .rsvp-hero-v3 a[href*="maps"],
    .rsvp-hero-v3 a[href*="google.com/maps"] {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        margin-left: auto;
        margin-right: auto;

        text-align: center;
    }

}



/* =========================================================
   MOBILE HERO LOCATION CENTER V2
   ========================================================= */

@media (max-width: 768px) {

    .hero-location-link {
        display: flex !important;

        align-items: center;
        justify-content: center;

        width: 100% !important;

        margin:
            16px
            auto
            0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        text-align: center !important;
    }

}

