﻿/*==================================================
  INVITADOS
==================================================*/

.guests-section {
    padding: 40px 0;
    text-align: center;
}

.guests-grid {
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(330px,420px));
    justify-content: center;
    gap: 30px;
}
/*==================================================
  TARJETA
==================================================*/

.guest-card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    padding: 34px 28px;
    border: 1px solid rgba(212,175,55,.18);
    box-shadow: 0 15px 35px rgba(0,0,0,.08), 0 0 0 1px rgba(255,255,255,.6) inset;
    transition: .35s ease;
    border-top: 5px solid #d4af37;
}

    .guest-card::before {
        content: "";
        position: absolute;
        top: -80px;
        right: -80px;
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(212,175,55,.18), transparent 70%);
    }

    .guest-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 55px rgba(212,175,55,.20), 0 10px 25px rgba(0,0,0,.10);
    }


/*==================================================
  AVATAR
==================================================*/

.guest-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: auto;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg,#fff,#faf4ec);
    border: 2px solid #e7c87d;
    box-shadow: 0 0 25px rgba(212,175,55,.25);
    font-size: 40px;
}

.guest-name {
    color: #7b5b38;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin: 15px 0 20px;
}

/*==================================================
  ESTADO
==================================================*/
.guest-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 40px;
    background: #edf9ef;
    color: #2f8d46;
    font-weight: 600;
}

    .guest-status.confirmed {
        background: rgba(76,175,80,.12);
        color: #2e7d32;
    }

    .guest-status.declined {
        background: rgba(244,67,54,.10);
        color: #c62828;
    }


/*==================================================
  PERSONAS
==================================================*/
.guest-total {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 18px;
    border-radius: 40px;
    background: #fff9ef;
    color: #a87c2f;
    font-weight: 600;
}


/*==================================================
  ANIMACIÓN
==================================================*/

.guest-card {
    animation: guestFade .8s ease both;
}

@keyframes guestFade {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*==================================================
  MOBILE
==================================================*/

@media (max-width:768px) {

    .guests-section {
        padding: 35px 18px;
    }

    .guests-grid {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }

    .guest-card {
        width: 100%;
        max-width: 360px;
        padding: 30px 24px;
        border-radius: 24px;
    }

    .guest-avatar {
        width: 80px;
        height: 80px;
        font-size: 34px;
        margin-bottom: 18px;
    }

    .guest-name {
        font-size: 1.35rem;
        line-height: 1.4;
        margin: 12px 0 18px;
    }

    .guest-status,
    .guest-total {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
        font-size: .92rem;
    }
}