body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 16px;
    margin: 0;
    padding: 20px;
    background-color: #ffeabf;
}

.botom {
    grid-column: 1 / -1;
    height: 180px;
}

.portada {
    position: relative;
    grid-column: 1 / -1;
    min-height: calc(100svh - 40px);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    color: white;
    text-align: center;
    animation: portadaEntrada 1s ease-out both;
}

.portada::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(0 0 0 / 15%), rgb(0 0 0 / 58%));
}

.portada__imagen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: portadaImagen 1.8s ease-out both;
}

.portada__contenido {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: calc(100svh - 40px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    text-shadow: 0 2px 14px rgb(0 0 0 / 55%);
    animation: portadaContenido 1s ease-out 0.35s both;
}

.portada h1 {
    margin: 15rem 0 0.5em;
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 0.95;
}

.portada p {
    max-width: 960px;
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    line-height: 1.6;
}

.portada p span {
    display: block;
    margin-top: 1.2em;
}

.section {
    background-color: #c98b8b;
    border-radius: 14px;
    overflow: hidden;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40% ;
}

.section__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: scale(1.015);
}

.section--wide {
    grid-column: span 2;
}

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

.fechas {
    position: relative;
    grid-column: 1 / -1;
    min-height: 360px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(40px, 8vw, 100px) 24px;
    background: url('assets/Fechas.jpg') center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.fechas::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgb(27 17 13 / 58%), rgb(27 17 13 / 78%));
}

.fechas > * {
    position: relative;
    z-index: 1;
}

.fechas__etiqueta {
    margin-bottom: 14px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.fechas h2 {
    margin: 0;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    text-shadow: 0 2px 14px rgb(0 0 0 / 55%);
}

.fechas p {
    max-width: 720px;
    margin: 28px 0 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.contadores {
    width: min(100%, 1000px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 46px;
}

.contador {
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 14px;
    background: rgb(24 15 12 / 58%);
    backdrop-filter: blur(5px);
}

.contador h3 {
    margin: 0;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 400;
}

.contador time {
    display: block;
    margin-top: 6px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.9rem;
}

.contador__tiempo {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: clamp(0.55rem, 1.3vw, 0.75rem);
    text-transform: uppercase;
}

.contador__tiempo span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contador__tiempo strong {
    font-size: clamp(1.35rem, 4vw, 2.4rem);
    font-weight: 500;
}

.seccion-imagen,
.ubicacion,
.hospedaje,
.confirmacion,
.regalo {
    grid-column: 1 / -1;
}

.seccion-imagen {
    position: relative;
    min-height: min(760px, 88svh);
    display: grid;
    place-items: end center;
    color: #fff;
}

.seccion-imagen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, rgb(18 11 9 / 78%));
}

.seccion-imagen > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seccion-imagen__contenido {
    position: relative;
    z-index: 1;
    padding: clamp(36px, 7vw, 80px) 24px;
    text-align: center;
    text-shadow: 0 2px 14px rgb(0 0 0 / 55%);
}

.seccion-imagen__contenido span,
.seccion-encabezado > span {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.seccion-imagen h2,
.seccion-encabezado h2 {
    margin: 12px 0 0;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 400;
    line-height: 1;
}

.dress-code__boton {
    display: inline-block;
    margin-top: 28px;
    padding: 13px 22px;
    border: 1px solid rgb(255 255 255 / 75%);
    border-radius: 999px;
    background: rgb(255 255 255 / 14%);
    color: #fff;
    font: 500 0.85rem/1.2 'Inter', Arial, sans-serif;
    letter-spacing: 0.04em;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.dress-code__boton:hover {
    background: #fff;
    color: #563e38;
    transform: translateY(-3px);
}

.ubicacion,
.hospedaje,
.confirmacion,
.regalo {
    box-sizing: border-box;
    padding: clamp(50px, 8vw, 100px) clamp(20px, 5vw, 70px);
    font-family: 'Inter', Arial, sans-serif;
    text-align: center;
}

.ubicacion {
    position: relative;
    background: linear-gradient(rgb(27 17 13 / 65%), rgb(27 17 13 / 78%)), url('assets/ubicacion.jpg') center / cover no-repeat;
    color: #fff;
}

.mapas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: min(100%, 940px);
    margin: 46px auto 0;
}

.mapa {
    display: flex;
    min-height: 210px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    border: 1px solid rgb(255 255 255 / 42%);
    border-radius: 14px;
    background: rgb(20 13 11 / 58%);
    color: inherit;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: transform 180ms ease, background 180ms ease;
}

.mapa:hover {
    transform: translateY(-4px);
    background: rgb(20 13 11 / 74%);
}

.mapa strong {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 400;
}

.mapa span {
    font-size: 0.9rem;
}

.mapa b {
    margin-top: 14px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hospedaje {
    background: linear-gradient(rgb(25 16 13 / 58%), rgb(25 16 13 / 78%)), url('assets/hospedaje.jpg') center / cover no-repeat;
    color: #fff;
    text-shadow: 0 2px 12px rgb(0 0 0 / 55%);
}

.regalo {
    min-height: min(760px, 88svh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(rgb(24 15 12 / 48%), rgb(24 15 12 / 76%)), url('assets/IMG_0517.jpg') center / cover no-repeat;
    color: #fff;
    text-shadow: 0 2px 14px rgb(0 0 0 / 55%);
}

.seccion-intro {
    max-width: 660px;
    margin: 24px auto 0;
    line-height: 1.7;
}

.hoteles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 38px;
}

.hotel-boton,
.confirmacion__opciones button,
.boton-enlace {
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: 500 0.88rem/1.2 'Inter', Arial, sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hotel-boton {
    padding: 12px 16px;
    background: rgb(20 13 11 / 52%);
    backdrop-filter: blur(5px);
}

.hotel-boton__rating {
    margin-left: 8px;
    opacity: 0.72;
}

.hotel-boton:hover,
.confirmacion__opciones button:hover,
.confirmacion__opciones button.is-selected,
.boton-enlace:hover {
    background: #563e38;
    color: #fff;
    transform: translateY(-2px);
}

.hotel-modal {
    width: min(90vw, 560px);
    box-sizing: border-box;
    padding: clamp(28px, 5vw, 48px);
    border: 0;
    border-radius: 18px;
    background: #fffaf7;
    color: #563e38;
    font-family: 'Inter', Arial, sans-serif;
}

.hotel-modal::backdrop {
    background: rgb(14 9 7 / 72%);
    backdrop-filter: blur(4px);
}

.hotel-modal__cerrar {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 2rem;
    cursor: pointer;
}

.hotel-modal__tipo {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hotel-modal h2 {
    margin: 10px 0 0;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
}

.hotel-modal__rating {
    margin: 10px 0 24px;
}

.hotel-modal__detalles {
    padding-left: 20px;
    line-height: 1.7;
}

.hotel-modal__telefono {
    display: inline-block;
    margin-top: 10px;
    color: inherit;
    font-weight: 500;
}

.hotel-modal__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.boton-enlace {
    padding: 11px 18px;
}

.confirmacion {
    min-height: min(700px, 85svh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(rgb(24 15 12 / 52%), rgb(24 15 12 / 78%)), url('assets/confirmacion.jpg') center / cover no-repeat;
    color: #fff;
    text-shadow: 0 2px 12px rgb(0 0 0 / 60%);
}

.confirmacion__opciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 38px;
}

.confirmacion__opciones button {
    padding: 14px 20px;
    background: rgb(20 13 11 / 50%);
    backdrop-filter: blur(5px);
}

.confirmacion__opciones button:hover,
.confirmacion__opciones button.is-selected {
    background: #fff;
    color: #7b5650;
}

.confirmacion__mensaje {
    min-height: 1.5em;
    margin: 24px 0 0;
}

.regalo p {
    max-width: 700px;
    margin: 30px auto 0;
    font: 400 clamp(1rem, 2vw, 1.25rem)/1.8 'Inter', Arial, sans-serif;
}

.regalo p span {
    display: block;
    margin-top: 1.2em;
}

.regalo__tarjeta {
    width: min(100%, 460px);
    box-sizing: border-box;
    margin: 36px auto 0;
    padding: 24px;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 16px;
    background: rgb(20 13 11 / 55%);
    font-family: 'Inter', Arial, sans-serif;
    backdrop-filter: blur(6px);
}

.regalo__tarjeta > span,
.regalo__tarjeta small {
    display: block;
    font-size: 0.75rem;
}

.footer {
    grid-column: 1 / -1;
    margin: 0 -20px -20px;
    padding: 26px 16px;
    background: #563e38;
    color: #fff !important;
    font: 400 0.8rem/1.5 'Inter', Arial, sans-serif;
    text-align: center;
}

.footer a {
    color: inherit;
    font-weight: 500;
    text-underline-offset: 3px;
}

.regalo__tarjeta strong {
    display: block;
    margin: 12px 0 20px;
    font-size: clamp(1.15rem, 4vw, 1.55rem);
    letter-spacing: 0.08em;
}

.regalo__tarjeta button {
    padding: 11px 19px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #563e38;
    font: 500 0.85rem/1.2 'Inter', Arial, sans-serif;
    cursor: pointer;
}

.regalo__tarjeta small {
    min-height: 1em;
    margin-top: 12px;
}

@media (max-width: 650px) {
    body {
        grid-template-columns: minmax(0, 1fr);
        padding: 10px;
        gap: 10px;
    }

    .footer {
        margin: 0 -10px -10px;
    }

    .portada {
        min-height: calc(100svh - 20px);
    }

    .portada__contenido {
        min-height: calc(100svh - 20px);
        padding: 22px;
    }

    .section--wide {
        grid-column: span 1;
    }

    .section--full {
        grid-column: span 1;
    }

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

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

    .seccion-imagen {
        min-height: 72svh;
    }

    .hoteles,
    .confirmacion__opciones {
        flex-direction: column;
    }

    .hotel-boton,
    .confirmacion__opciones button {
        width: 100%;
    }
}
@keyframes appear {
    0% {
        clip-path: inset(50% 50% 0% 0%);
        opacity: 0;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes portadaEntrada {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes portadaImagen {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

@keyframes portadaContenido {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .portada,
    .portada__imagen,
    .portada__contenido {
        animation: none;
    }
}
