.rsvp-section{
    position:relative;
    width:100%;
    padding:90px 24px;
    font-family:var(--body);
    color:#fff;
    overflow:hidden;
    isolation:isolate;
}

.rsvp-header{
    position:relative;
    z-index:2;
    width:100%;
    max-width:900px;
    margin:0 auto 55px;
    text-align:center;
}

.rsvp-title{
    position:relative;
    display:inline-block;
}

.rsvp-title h2{
    margin:0;
    font-family:var(--heading);
    font-size:4.5rem;
    font-weight:600;
    line-height:.9;
    letter-spacing:1px;
    text-shadow:
        0 4px 18px rgba(0,0,0,.25);
}

.rsvp-title span{
    position:absolute;
    left:50%;
    top:72%;
    transform:translateX(-50%);
    width:max-content;
    font-family:var(--heading);
    font-size:2.25rem;
    font-weight:500;
    font-style:italic;
    line-height:1;
    color:rgba(255,255,255,.92);
    white-space:nowrap;
}

.rsvp-header p{
    margin:58px 0 0;
    font-size: 1.3rem;
    line-height:1.7;
    letter-spacing:.5px;
    color:rgba(255,255,255,.86);
}

/* ========================================
   RSVP CARD
======================================== */
.rsvp-card{
    position:relative;
    z-index:2;
    width:100%;
    max-width:760px;
    margin:0 auto;
    padding:0;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.22);
    border-radius:28px;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:
        0 20px 50px rgba(0,0,0,.18);
    overflow:hidden;
}

/* ========================================
   COMMENT COUNT
======================================== */
.rsvp-comment-title{
    margin:38px 20px 30px;
    text-align:center;
    font-family:var(--body);
    font-size:1rem;
    font-weight:500;
    letter-spacing:1px;
    color:rgba(255,255,255,.88);
}

.rsvp-comment-title span{
    font-weight:700;
    color:#fff;
}

/* ========================================
   STATISTICS
======================================== */
.rsvp-stats{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    padding:0 28px 32px;
}

.rsvp-stat{
    min-width:0;
    padding:18px 12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.18);
    border-radius:18px;
    transition:var(--transition);
}

.rsvp-stat:hover{
    background:rgba(255,255,255,.16);
    transform:translateY(-2px);
}

.rsvp-stat h5{
    margin:0 0 7px;
    font-family:var(--heading);
    font-size:2rem;
    font-weight:600;
    line-height:1;
    color:#fff;
}

.rsvp-stat span{
    font-size:.72rem;
    font-weight:500;
    letter-spacing:1px;
    color:rgba(255,255,255,.82);
}

/* ========================================
   DIVIDER
======================================== */
.rsvp-divider{
    width:100%;
    height:1px;
    background:rgba(255,255,255,.20);
}

/* ========================================
   DESKTOP
======================================== */
@media (min-width:1025px){
    .rsvp-section{
        padding:95px 32px;
    }

    .rsvp-header{
        max-width:900px;
        margin-bottom:58px;
    }

    .rsvp-title h2{
        font-size:4.6rem;
    }

    .rsvp-card{
        max-width:760px;
    }
}

/* ========================================
   LARGE DESKTOP
======================================== */
@media (min-width:1200px){
    .rsvp-section{
        padding:105px 40px;
    }

    .rsvp-card{
        max-width:780px;
    }

    .rsvp-title h2{
        font-size:4.8rem;
    }
}

/* ========================================
   VERY LARGE SCREEN
======================================== */
@media (min-width:1600px){
    .rsvp-section{
        padding-top:120px;
        padding-bottom:120px;
    }

    .rsvp-card{
        max-width:820px;
    }
}

/* ========================================
   LAPTOP / TABLET
======================================== */
@media (max-width:1199px){
    .rsvp-section{
        padding:85px 28px;
    }

    .rsvp-card{
        max-width:720px;
    }
}

/* ========================================
   TABLET
======================================== */
@media (max-width:992px){
    .rsvp-section{
        padding:75px 24px;
    }

    .rsvp-title h2{
        font-size:4rem;
    }

    .rsvp-title span{
        font-size:2rem;
    }

    .rsvp-header p{
        margin-top:54px;
    }

    .rsvp-card{
        max-width:680px;
    }

    .rsvp-stats{
        padding-left:24px;
        padding-right:24px;
    }
}

/* ========================================
   RSVP FORM
======================================== */

#rsvp-form{
    width:100%;
    padding:38px 32px;
    display:flex;
    flex-direction:column;
    gap:22px;
}

/* ========================================
   FORM FIELD
======================================== */
.rsvp-field{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:9px;
}

.rsvp-field label{
    font-size:.78rem;
    font-weight:500;
    letter-spacing:1px;
    color:rgba(255,255,255,.86);
}

/* ========================================
   INPUT & TEXTAREA
======================================== */
#rsvp-form input,
#rsvp-form textarea{
    width:100%;
    border:1px solid rgba(255,255,255,.25);
    border-radius:16px;
    outline:none;
    background:rgba(255,255,255,.12);
    color:#fff;
    font-family:var(--body);
    font-size:.9rem;
    line-height:1.5;
    transition:var(--transition);
}

#rsvp-form input{
    height:54px;
    padding:0 18px;
}

#rsvp-form textarea{
    min-height:150px;
    padding:16px 18px;
    resize:none;
}

#rsvp-form input::placeholder,
#rsvp-form textarea::placeholder{
    color:rgba(255,255,255,.58);
}

#rsvp-form input:focus,
#rsvp-form textarea:focus{
    border-color:rgba(255,255,255,.55);
    background:rgba(255,255,255,.16);
    box-shadow:
        0 0 0 3px rgba(255,255,255,.06);
}

/* ========================================
   STATUS INPUT
======================================== */
.rsvp-status-input-wrap{
    position:relative;
    width:100%;
}
#rsvp-status{
    cursor:pointer;
    padding:0 48px 0 18px;
}
.rsvp-status-input-wrap i{
    position:absolute;
    top:50%;
    right:18px;
    transform:translateY(-50%);
    color:rgba(255,255,255,.75);
    font-size:.9rem;
    pointer-events:none;
    transition:var(--transition);
}
.rsvp-status-input-wrap:hover i{
    color:#fff;
}

/* ========================================
   SUBMIT BUTTON
======================================== */
.rsvp-submit-button{
    width:100%;
    min-height:54px;
    margin-top:2px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    background:rgba(255,255,255,.16);
    color:#fff;
    font-family:var(--body);
    font-size:.88rem;
    font-weight:600;
    letter-spacing:1px;
    cursor:pointer;
    transition:var(--transition);
}
.rsvp-submit-button:hover{
    background:rgba(255,255,255,.24);
    transform:translateY(-2px);
}
.rsvp-submit-button:active{
    transform:translateY(0);
}
.rsvp-submit-button i{
    font-size:.82rem;
}

/* ========================================
   TABLET
======================================== */
@media (max-width:992px){
    #rsvp-form{
        padding:34px 28px;
        gap:20px;
    }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width:768px){
    #rsvp-form{
        padding:30px 22px;
        gap:19px;
    }
    #rsvp-form input{
        height:52px;
    }
    #rsvp-form textarea{
        min-height:140px;
    }
}

/* ========================================
   SMALL MOBILE
======================================== */
@media (max-width:480px){
    #rsvp-form{
        padding:28px 18px;
    }
    #rsvp-form input{
        height:50px;
        padding-left:16px;
        padding-right:16px;
        font-size:.85rem;
    }
    #rsvp-form textarea{
        min-height:130px;
        padding:14px 16px;
        font-size:.85rem;
    }
    .rsvp-submit-button{
        min-height:50px;
        font-size:.82rem;
    }
}

/* ========================================
   VERY SMALL MOBILE
======================================== */
@media (max-width:360px){
    #rsvp-form{
        padding:24px 15px;
    }
    .rsvp-field label{
        font-size:.72rem;
    }
    #rsvp-form input,
    #rsvp-form textarea{
        font-size:.82rem;
    }
}

/* ========================================
   COMMENT / WISHES LIST
======================================== */
.rsvp-comment-list{
    width:100%;
    max-height:390px;
    padding:30px 32px;
    overflow-y:auto;
    scroll-behavior:smooth;
}

/* ========================================
   COMMENT ITEM
======================================== */
.rsvp-comment{
    display:flex;
    align-items:flex-start;
    gap:15px;
    margin-bottom:28px;
}
.rsvp-comment:last-child{
    margin-bottom:0;
}

/* ========================================
   AVATAR
======================================== */
.rsvp-avatar{
    width:48px;
    height:48px;
    flex:0 0 48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.20);
    border-radius:50%;
    background:rgba(255,255,255,.16);
    color:#fff;
    font-family:var(--heading);
    font-size:1.25rem;
    font-weight:600;
}

/* ========================================
   COMMENT CONTENT
======================================== */
.rsvp-content{
    flex:1;
    min-width:0;
}
.rsvp-name{
    margin-bottom:5px;
    color:#fff;
    font-size:.95rem;
    font-weight:600;
    line-height:1.4;
}
.rsvp-message{
    margin-bottom:9px;
    color:rgba(255,255,255,.86);
    font-size:.85rem;
    line-height:1.7;
    overflow-wrap:anywhere;
}
.rsvp-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    color:rgba(255,255,255,.58);
    font-size:.7rem;
}
.rsvp-status{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:3px 10px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    background:rgba(255,255,255,.12);
    color:rgba(255,255,255,.88);
}

/* ========================================
   SCROLLBAR
======================================== */
.rsvp-comment-list::-webkit-scrollbar{
    width:6px;
}
.rsvp-comment-list::-webkit-scrollbar-track{
    background:rgba(255,255,255,.06);
    border-radius:20px;
}
.rsvp-comment-list::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.30);
    border-radius:20px;
}
.rsvp-comment-list::-webkit-scrollbar-thumb:hover{
    background:rgba(255,255,255,.48);
}

/* ========================================
   TOAST
======================================== */
.rsvp-toast{
    position:fixed;
    left:50%;
    top:50%;
    z-index:9999;
    width:max-content;
    max-width:calc(100% - 40px);
    display:flex;
    align-items:center;
    gap:12px;
    padding:15px 22px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:16px;
    background:rgba(255,255,255,.92);
    color:#40372f;
    font-family:var(--body);
    font-size:.82rem;
    line-height:1.5;
    box-shadow:0 18px 45px rgba(0,0,0,.20);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translate(-50%,-50%) scale(.92);
    transition:.35s ease;
}
.rsvp-toast.show{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,-50%) scale(1);
}
.rsvp-toast i{
    flex-shrink:0;
    font-size:1.25rem;
    color:#6f9b72;
}

/* ========================================
   STATUS MODAL
======================================== */
.rsvp-status-modal{
    position:fixed;
    inset:0;
    width:100vw;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
    z-index:99999;
}
.rsvp-status-modal.show{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

/* ========================================
   STATUS BOX
======================================== */
.rsvp-status-box{
    position:relative;
    width:100%;
    max-width:360px;
    padding:38px 26px 28px;
    border:1px solid rgba(255,255,255,.20);
    border-radius:24px;
    background:rgba(255,255,255,.94);
    box-shadow:0 20px 50px rgba(0,0,0,.25);
    text-align:center;
    animation:rsvpPopup .25s ease;
}
@keyframes rsvpPopup{
    from{
        opacity:0;
        transform:scale(.92);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}
.rsvp-status-box h3{
    margin:0 0 22px;
    color:#40372f;
    font-family:var(--heading);
    font-size:1.8rem;
    font-weight:600;
}

/* ========================================
   STATUS OPTIONS
======================================== */
.rsvp-status-options{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.rsvp-status-box button[data-status]{
    width:100%;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    border:1px solid rgba(139,107,74,.25);
    border-radius:14px;
    background:#f8f6f3;
    color:#4b4036;
    font-family:var(--body);
    font-size:.82rem;
    font-weight:600;
    cursor:pointer;
    transition:var(--transition);
}
.rsvp-status-box button[data-status]:hover{
    background:#8b6b4a;
    color:#fff;
    transform:translateY(-1px);
}
.rsvp-status-box button[data-status] i{
    font-size:.95rem;
}

/* ========================================
   CLOSE BUTTON
======================================== */
.rsvp-status-close{
    position:absolute;
    top:13px;
    right:15px;
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:none;
    background:transparent;
    color:#786a5d;
    font-size:1.6rem;
    line-height:1;
    cursor:pointer;
    transition:var(--transition);
}
.rsvp-status-close:hover{
    color:#40372f;
    transform:rotate(90deg);
}

/* ========================================
   MOBILE COMMENTS
======================================== */
@media (max-width:768px){
    .rsvp-comment-list{
        max-height:350px;
        padding:26px 22px;
    }
    .rsvp-comment{
        gap:12px;
        margin-bottom:24px;
    }
    .rsvp-avatar{
        width:44px;
        height:44px;
        flex-basis:44px;
        font-size:1.1rem;
    }
}

/* ========================================
   SMALL MOBILE
======================================== */
@media (max-width:480px){
    .rsvp-comment-list{
        max-height:330px;
        padding:24px 18px;
    }
    .rsvp-name{
        font-size:.88rem;
    }
    .rsvp-message{
        font-size:.8rem;
    }
    .rsvp-status-box{
        max-width:330px;
        padding:36px 20px 24px;
    }
    .rsvp-status-box h3{
        font-size:1.6rem;
    }
    .rsvp-toast{
        padding:13px 17px;
        font-size:.76rem;
    }
}

/* ========================================
   VERY SMALL MOBILE
======================================== */
@media (max-width:360px){
    .rsvp-comment-list{
        max-height:300px;
        padding:22px 15px;
    }
    .rsvp-avatar{
        width:40px;
        height:40px;
        flex-basis:40px;
        font-size:1rem;
    }
    .rsvp-meta{
        font-size:.65rem;
    }
    .rsvp-status-box{
        padding-left:17px;
        padding-right:17px;
    }
}

/* ========================================
   DESKTOP
======================================== */
@media (min-width:1025px){
    .rsvp-comment-list{
        max-height:400px;
    }
}

/* ========================================
   LAPTOP
======================================== */
@media (max-width:1199px){
    .rsvp-header{
        max-width:820px;
    }
    .rsvp-card{
        max-width:720px;
    }
}

/* ========================================
   TABLET
======================================== */
@media (max-width:992px){
    .rsvp-section{
        padding-left:24px;
        padding-right:24px;
    }
    .rsvp-card{
        max-width:680px;
    }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width:768px){
    .rsvp-section{
        padding:65px 20px;
    }
    .rsvp-header{
        margin-bottom:42px;
    }
    .rsvp-title h2{
        font-size:3.4rem;
    }
    .rsvp-title span{
        font-size:1.75rem;
    }
    .rsvp-header p{
        margin-top:50px;
        font-size:1.2rem;
    }
    .rsvp-card{
        border-radius:22px;
    }
    .rsvp-comment-title{
        margin-top:30px;
        margin-bottom:25px;
    }
    .rsvp-stats{
        gap:10px;
        padding-left:18px;
        padding-right:18px;
        padding-bottom:26px;
    }
    .rsvp-stat{
        padding:15px 8px;
        border-radius:15px;
    }
    .rsvp-stat h5{
        font-size:1.7rem;
    }
    .rsvp-stat span{
        font-size:.65rem;
        letter-spacing:.6px;
    }
}

/* ========================================
   SMALL MOBILE
======================================== */
@media (max-width:480px){
    .rsvp-section{
        padding:58px 16px;
    }
    .rsvp-title h2{
        font-size:3rem;
    }
    .rsvp-title span{
        font-size:1.55rem;
    }
    .rsvp-header p{
        margin-top:45px;
        font-size:1.1rem;
    }
    .rsvp-comment-title{
        font-size:.9rem;
    }
    .rsvp-stats{
        gap:8px;
        padding-left:14px;
        padding-right:14px;
    }
    .rsvp-stat{
        padding:14px 5px;
    }
    .rsvp-stat h5{
        font-size:1.5rem;
    }
}

/* ========================================
   EXTRA SMALL
======================================== */
@media (max-width:420px){
    .rsvp-section{
        padding-left:14px;
        padding-right:14px;
    }
    .rsvp-title h2{
        font-size:2.8rem;
    }
    .rsvp-title span{
        font-size:1.4rem;
    }
    .rsvp-stats{
        grid-template-columns:1fr;
        max-width:250px;
        margin:0 auto;
    }
}

/* ========================================
   VERY SMALL
======================================== */
@media (max-width:360px){
    .rsvp-section{
        padding-left:12px;
        padding-right:12px;
    }
    .rsvp-title h2{
        font-size:2.5rem;
    }
    .rsvp-title span{
        font-size:1.25rem;
    }
    .rsvp-header p{
        font-size:1rem;
    }
}

/* ========================================
   RSVP ANIMATION
======================================== */
.rsvp-header,
.rsvp-card{
    opacity:0;
    transform:translateY(35px);
    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
}
.rsvp-section.is-visible .rsvp-header{
    opacity:1;
    transform:translateY(0);
    transition-delay:.2s;
}
.rsvp-section.is-visible .rsvp-card{
    opacity:1;
    transform:translateY(0);
    transition-delay:.5s;
}