/* ================================
   RSVP FORM
================================ */
.screen-rsvp {
    position: relative;
    z-index: 1;
    padding: 20px 0 40px;
}

.screen-rsvp .section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rsvp-card {
    background: #fffef8;
    border-radius: 16px;
    padding: 36px 24px 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    border: 1.5px solid rgba(192, 57, 43, 0.12);
}


.rsvp-card::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 20px;
    border: 2px dashed rgba(192, 57, 43, 0.15);
    pointer-events: none;
}

/* Прогресс-точки */
.rsvp-progress {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.rsvp-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ddd4c6;
    transition: background 0.3s ease, transform 0.3s ease;
}

.rsvp-dot.active {
    background: #c0392b;
    transform: scale(1.4);
}

.rsvp-dot.done {
    background: #2a3a6a;
}

/* Шаги */
.rsvp-step {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: stepFadeIn 0.4s ease;
}

.rsvp-step.active {
    display: flex;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.rsvp-step-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.rsvp-step-title {
    font-family: var(--hand);
    font-size: 26px;
    color: var(--ink);
    margin-bottom: 6px;
}

.rsvp-step-sub {
    font-family: var(--body);
    font-size: 14px;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 24px;
}


.rsvp-input {
    width: 100%;
    max-width: 280px;
    padding: 14px 18px;
    border: 1.5px solid #ddd4c6;
    border-radius: 10px;
    font-family: var(--body);
    font-size: 17px;
    color: var(--ink);
    background: transparent;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.rsvp-input:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}

.rsvp-input::placeholder {
    color: #bbb;
    font-style: italic;
    font-family: var(--body);
}

.rsvp-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.rsvp-opt {
    padding: 12px 22px;
    border: 1.5px solid #ddd4c6;
    border-radius: 30px;
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.rsvp-opt:hover {
    border-color: #c0392b;
    background: rgba(192, 57, 43, 0.04);
}

.rsvp-opt.selected {
    border-color: #c0392b;
    background: #c0392b;
    color: #fff;
}

/* Чекбоксы напитков */
.rsvp-drinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.rsvp-drink {
    padding: 10px 16px;
    border: 1.5px solid #ddd4c6;
    border-radius: 22px;
    font-family: var(--body);
    font-size: 14px;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.rsvp-drink:hover {
    border-color: #2a3a6a;
}

.rsvp-drink.selected {
    border-color: #2a3a6a;
    background: #2a3a6a;
    color: #fff;
}

.rsvp-btn {
    margin-top: 24px;
    padding: 13px 44px;
    border: none;
    border-radius: 30px;
    font-family: var(--body);
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: #c0392b;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    width: auto;
    align-self: center;
    letter-spacing: 0.5px;
}

.rsvp-btn:hover {
    background: #a93226;
}

.rsvp-btn:active {
    transform: scale(0.97);
}

.rsvp-btn:disabled {
    background: #ddd4c6;
    cursor: not-allowed;
}


.rsvp-thanks {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: stepFadeIn 0.5s ease;
    padding: 10px 0;
}

.rsvp-thanks.active {
    display: flex;
}

.rsvp-thanks-title {
    font-family: var(--hand);
    font-size: 30px;
    color: var(--ink);
    margin-bottom: 10px;
}

.rsvp-thanks-text {
    font-family: var(--body);
    font-size: 15px;
    color: var(--gray);
    font-style: italic;
    line-height: 1.6;
}

.rsvp-thanks-heart {
    margin-bottom: 16px;
}

.rsvp-sad {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: stepFadeIn 0.5s ease;
    padding: 10px 0;
}

.rsvp-sad.active {
    display: flex;
}


@media (min-width: 768px) {
    .rsvp-card {
        max-width: 460px;
        padding: 45px 36px 50px;
    }
    .rsvp-card::before { inset: -8px; }
    .rsvp-step-icon { font-size: 42px; }
    .rsvp-step-title { font-size: 30px; }
    .rsvp-step-sub { font-size: 16px; }
    .rsvp-input { font-size: 19px; max-width: 320px; padding: 16px 20px; }
    .rsvp-opt { font-size: 17px; padding: 13px 26px; }
    .rsvp-drink { font-size: 16px; padding: 11px 18px; }
    .rsvp-btn { font-size: 18px; padding: 15px 52px; }
    .rsvp-thanks-title { font-size: 34px; }
    .rsvp-progress { gap: 14px; margin-bottom: 32px; }
    .rsvp-dot { width: 12px; height: 12px; }
}

@media (min-width: 1024px) {
    .rsvp-card {
        max-width: 520px;
        padding: 50px 44px 55px;
    }
    .rsvp-card::before { inset: -10px; }
    .rsvp-step-title { font-size: 34px; }
    .rsvp-input { font-size: 20px; max-width: 360px; }
    .rsvp-opt { font-size: 18px; }
    .rsvp-drink { font-size: 17px; }
    .rsvp-btn { font-size: 19px; padding: 16px 56px; }
}