﻿* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--mv-beige, #f5f0e9);
    color: #2f3d47;
    font-family: "Segoe UI", Arial, sans-serif;
}

.mv-page-shell {
    min-height: 100vh;
    background: var(--mv-beige, #f5f0e9);
}

.mv-rsvp-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 24px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.mv-rsvp-copy {
    padding-right: 10px;
}

.mv-rsvp-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(95, 127, 149, 0.10);
    color: var(--mv-blue-dark, #5f7f95);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mv-rsvp-title {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 1.08;
    color: #1f2d38;
}

.mv-rsvp-text {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.8;
    color: #667787;
    max-width: 560px;
}

.mv-rsvp-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.mv-rsvp-btn {
    display: inline-block;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
}

.mv-rsvp-btn-primary {
    background: var(--mv-blue-dark, #5f7f95);
    color: #fff;
    box-shadow: 0 12px 28px rgba(95, 127, 149, 0.22);
}

    .mv-rsvp-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 34px rgba(95, 127, 149, 0.28);
    }

.mv-rsvp-btn-secondary {
    background: #fff;
    color: var(--mv-blue-dark, #5f7f95);
    border: 1px solid rgba(95, 127, 149, 0.18);
}

    .mv-rsvp-btn-secondary:hover {
        background: #faf8f5;
    }

.mv-rsvp-photo-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--mv-shadow, 0 18px 40px rgba(0,0,0,.08));
}

.mv-rsvp-photo {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.mv-rsvp-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 70px;
}

.mv-rsvp-form-shell {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--mv-shadow, 0 18px 40px rgba(0,0,0,.08));
    border: 1px solid rgba(77, 102, 120, 0.10);
    padding: 38px;
}

.mv-rsvp-section-title {
    text-align: center;
    margin-bottom: 28px;
}

    .mv-rsvp-section-title h2 {
        margin: 0 0 8px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 38px;
        color: #667787;
    }

    .mv-rsvp-section-title p {
        margin: 0;
        color: #6c7b88;
        font-size: 16px;
        line-height: 1.7;
    }

.mv-alert-success {
    background: #edf9f0;
    color: #25613a;
    border: 1px solid #ccebd3;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 22px;
}

.mv-validation-summary {
    background: #fff4f4;
    color: #a33a3a;
    border: 1px solid #f1caca;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 22px;
}

    .mv-validation-summary ul {
        margin: 0;
        padding-left: 18px;
    }

.mv-step-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 0 30px;
    width: 100%;
}

.mv-step-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    padding: 14px 16px;
    width: 100%;
    text-align: center;
    border-radius: 999px;
    background: #f1f2f4;
    color: #7f8b97;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(77, 102, 120, 0.10);
    transition: all .2s ease;
}

    .mv-step-pill.active {
        background: var(--mv-blue-dark, #5f7f95);
        color: #fff;
        box-shadow: 0 10px 22px rgba(95, 127, 149, 0.18);
    }

.mv-step-panel {
    display: none;
}

    .mv-step-panel.active {
        display: block;
    }

.mv-form-grid {
    display: grid;
    gap: 20px;
}

.mv-form-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.mv-form-grid-3 {
    grid-template-columns: 1.3fr 1fr 1fr;
}

.mv-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 600;
    color: #445867;
}

.mv-field input,
.mv-field select,
.mv-field textarea {
    width: 100%;
    border: 1px solid rgba(77, 102, 120, 0.16);
    background: #fcfbf9;
    border-radius: 14px;
    padding: 15px 16px;
    font-size: 15px;
    color: #22313d;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .mv-field input:focus,
    .mv-field select:focus,
    .mv-field textarea:focus {
        border-color: var(--mv-blue-dark, #5f7f95);
        box-shadow: 0 0 0 4px rgba(95, 127, 149, 0.10);
        background: #fff;
    }

.mv-field textarea {
    min-height: 140px;
    resize: vertical;
}

.text-danger {
    display: block;
    margin-top: 8px;
    color: #c0392b;
    font-size: 13px;
}

.mv-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.mv-step-actions-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
}

.mv-footer-note {
    text-align: center;
    color: #7c8994;
    font-size: 14px;
    margin-top: 18px;
}

.mv-rsvp-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 44px;
    text-align: center;
    color: #7d8993;
    font-size: 14px;
}

.field-validation-error {
    display: block;
}

@media (max-width: 991px) {
    .mv-rsvp-hero {
        grid-template-columns: 1fr;
        padding-top: 28px;
    }

    .mv-rsvp-copy {
        padding-right: 0;
    }

    .mv-rsvp-title {
        font-size: 38px;
    }

    .mv-form-grid-2,
    .mv-form-grid-3,
    .mv-step-progress {
        grid-template-columns: 1fr;
    }

    .mv-rsvp-photo {
        min-height: 320px;
    }

    .mv-rsvp-form-shell {
        padding: 28px 22px;
    }
}

@media (max-width: 575px) {
    .mv-rsvp-hero,
    .mv-rsvp-section,
    .mv-rsvp-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mv-rsvp-title {
        font-size: 32px;
    }

    .mv-rsvp-text {
        font-size: 16px;
    }

    .mv-rsvp-form-shell {
        border-radius: 16px;
        padding: 22px 16px;
    }

    .mv-rsvp-section-title h2 {
        font-size: 30px;
    }

    .mv-rsvp-actions,
    .mv-step-actions,
    .mv-step-actions-right {
        flex-direction: column;
    }

    .mv-rsvp-btn {
        width: 100%;
        text-align: center;
    }
}
