* {
    box-sizing: border-box;
}

:root {
    --green: #0d6b61;
    --green-dark: #063e38;
    --green-light: #e8f4f1;
    --gold: #c6a15b;
    --cream: #fbfaf6;
    --text: #18302d;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f7f8f5, #e7f1ee);
    color: var(--text);
}

.page {
    min-height: 100vh;
}

.hero {
    min-height: 360px;
    background:
        linear-gradient(120deg, rgba(3,47,42,.94), rgba(13,107,97,.78)),
        radial-gradient(circle at 75% 30%, rgba(198,161,91,.45), transparent 35%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 55px 20px;
}

.hero-overlay {
    max-width: 850px;
}

.brand {
    letter-spacing: 2.5px;
    font-size: 13px;
    opacity: .9;
    margin-bottom: 24px;
}

.sunset {
    font-size: clamp(62px, 12vw, 125px);
    line-height: .8;
    font-weight: 800;
    letter-spacing: -5px;
    background: linear-gradient(180deg, #fff8df, #d9bd78);
    -webkit-background-clip: text;
    color: transparent;
}

.hero h1 {
    font-size: clamp(23px, 4vw, 38px);
    letter-spacing: 5px;
    margin: 22px 0 15px;
}

.event-date,
.event-place {
    font-weight: bold;
    letter-spacing: 2px;
}

.event-place {
    margin-top: 8px;
    color: #e8ce94;
}

.hero p {
    max-width: 650px;
    margin: 25px auto 0;
    font-size: 16px;
    line-height: 1.7;
    opacity: .95;
}

.card {
    width: min(900px, calc(100% - 30px));
    margin: -35px auto 50px;
    position: relative;
    background: white;
    border-radius: 22px;
    padding: 42px;
    box-shadow: 0 18px 50px rgba(0, 60, 50, .13);
}

.intro {
    text-align: center;
    margin-bottom: 30px;
}

.eyebrow {
    display: block;
    color: var(--green);
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 9px;
}

.intro h2 {
    margin: 0;
    font-size: 31px;
    color: var(--green-dark);
}

.intro p {
    color: #64736f;
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
}

input,
select {
    width: 100%;
    border: 1px solid #d4dfdc;
    border-radius: 11px;
    padding: 14px 15px;
    font-size: 15px;
    outline: none;
    background: #fcfdfd;
    transition: .2s;
}

input:focus,
select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(13,107,97,.10);
}

input[type=file] {
    padding: 11px;
}

small {
    margin-top: 7px;
    color: #71807d;
}

.hidden {
    display: none !important;
}

.info-box {
    margin: 27px 0;
    padding: 17px 19px;
    border-radius: 12px;
    background: var(--green-light);
    border-left: 4px solid var(--green);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 16px 20px;
    background: var(--green);
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: .2s;
}

.btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.alert {
    background: #fff0ef;
    color: #a22e25;
    border: 1px solid #f2c5c1;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 22px;
}

footer {
    text-align: center;
    padding: 0 20px 35px;
    color: #64736f;
    font-size: 13px;
}

.confirmation-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background:
        radial-gradient(circle at top right, rgba(198,161,91,.25), transparent 35%),
        linear-gradient(135deg, #e9f3f0, #f9f8f3);
}

.confirmation-card {
    width: min(620px, 100%);
    background: white;
    border-radius: 24px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,60,50,.14);
}

.check {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green-light);
    color: var(--green);
    font-size: 36px;
    font-weight: bold;
}

.confirmation-card h1 {
    color: var(--green-dark);
    margin: 8px 0 12px;
}

.lead {
    color: #61716d;
    line-height: 1.6;
}

.registro {
    margin: 28px 0;
    padding: 22px;
    border: 2px dashed #c8aa69;
    border-radius: 15px;
    background: #fffcf4;
}

.registro span {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: #806d43;
    margin-bottom: 7px;
}

.registro strong {
    display: block;
    color: var(--green-dark);
    font-size: 29px;
    letter-spacing: 2px;
}

.details {
    display: grid;
    gap: 1px;
    background: #e2e9e7;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    margin-bottom: 22px;
}

.details div {
    background: #fff;
    padding: 13px 15px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.details span {
    color: #71807d;
}

.details strong {
    text-align: right;
}

.event-mini {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 17px;
    border-radius: 12px;
    background: var(--green-light);
}

.note {
    color: var(--green);
    font-weight: bold;
}

.save-number {
    font-size: 13px;
    color: #71807d;
}

.secondary {
    margin-top: 20px;
    background: #e8f0ee;
    color: var(--green-dark);
}

@media (max-width: 650px) {
    .hero {
        min-height: 330px;
        padding: 40px 18px;
    }

    .hero h1 {
        letter-spacing: 2px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .card,
    .confirmation-card {
        padding: 28px 20px;
    }

    .details div {
        flex-direction: column;
        gap: 4px;
    }

    .details strong {
        text-align: left;
    }
}


/* ================================
   DATOS DE TRANSFERENCIA
================================ */

.transfer-info {
    background: #f0f8f5;
    border: 1px solid #b8dcd0;
    border-radius: 14px;
    padding: 20px;
    margin-top: 5px;
}

.transfer-title {
    font-size: 14px;
    font-weight: 700;
    color: #0d6b61;
    margin-bottom: 15px;
    letter-spacing: .5px;
}

.alias-box {
    background: #ffffff;
    border: 2px solid #0d6b61;
    border-radius: 10px;
    padding: 15px 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.alias-label {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
}

.alias-box strong {
    font-size: 20px;
    color: #014527;
    letter-spacing: .5px;
    word-break: break-word;
}

.transfer-amount {
    margin-top: 15px;
    font-size: 15px;
    color: #333;
}

.transfer-amount strong {
    color: #0d6b61;
    font-size: 17px;
}

.transfer-note {
    margin: 12px 0 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.hidden {
    display: none !important;
}