/* Importar fuentes elegantes */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500&display=swap');

/* Variables de colores inspirados en la invitación */
:root {
    --color-beige: #D9D4B8;
    --color-beige-dark: #C5BFA3;
    --color-green: #8B9B7A;
    --color-green-dark: #6B7A5A;
    --color-coral: #E89B8F;
    --color-coral-dark: #D47B6F;
    --color-text-dark: #4A5240;
    --color-text-light: #6B7355;
    --color-white: #FEFDFB;
    --color-gold: #B8A870;
    --color-olive: #A5AA8E;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #8B9B7A;
    color: var(--color-text-dark);
    min-height: 100vh;
    min-height: 100dvh;
    padding: 20px 10px;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* Header */
.header {
    background-image: url('img/cabecera.jpg');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 0;
    text-align: center;
    position: relative;
    width: 100%;
    margin-bottom: 0;
    aspect-ratio: 1382 / 537;
}

.passport-badge {
    margin-bottom: 15px;
}

.circle-border {
    width: 90px;
    height: 90px;
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.circle-border::before {
    content: '✈';
    position: absolute;
    bottom: -5px;
    font-size: 18px;
    color: var(--color-gold);
}

.initials {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-dark);
}

.names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-dark);
    margin: 10px 0 5px;
    line-height: 1.2;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

/* Información principal */
.main-info {
    padding: 10px 30px 8px;
    text-align: center;
    background: var(--color-white);
    margin-top: 50px;
}

.info-card {
    background: linear-gradient(135deg, #F5F3ED 0%, #EFEEE8 100%);
    padding: 18px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: none;
    position: relative;
    overflow: visible;
}

.info-card::before,
.info-card::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background-image: url('img/flores.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    bottom: -5px;
    z-index: 1;
}

.info-card::before {
    left: 0;
    border-bottom-left-radius: 15px;
}

.info-card::after {
    right: 0;
    transform: scaleX(-1);
    border-bottom-left-radius: 15px;
}

.day-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 300;
    color: var(--color-text-dark);
    margin: 0;
    letter-spacing: 6px;
    line-height: 1;
}

.year {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--color-text-light);
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.time {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-dark);
    letter-spacing: 2px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.location {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 5px;
    margin-top: 6px;
}

.address {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: var(--color-text-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Botones de acción */
.actions {
    padding: 8px 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

/* Llama animada */
.llama-container {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 50px;
    overflow: visible;
    pointer-events: none;
    z-index: 100;
}

.llama-walking {
    position: absolute;
    height: 50px;
    width: auto;
    bottom: 0;
    animation: walkLeft 15s linear infinite;
}

@keyframes walkLeft {
    0% {
        right: -80px;
    }
    100% {
        right: 100%;
    }
}

.btn-full {
    width: 100%;
}

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

.btn {
    font-family: 'Montserrat', sans-sans-serif;
    padding: 13px 25px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.btn-icon {
    font-size: 18px;
}

.btn-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    vertical-align: middle;
}

.btn-primary {
    background: var(--color-coral);
    color: white;
    box-shadow: 0 5px 15px rgba(232, 155, 143, 0.3);
}

.btn-primary:hover {
    background: var(--color-coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 155, 143, 0.4);
}

.btn-with-flame {
    position: relative;
}

.flame-icon {
    position: absolute;
    top: -15px;
    left: 20%;
    font-size: 16px;
    animation: walkFlame 4s linear infinite;
}

@keyframes walkFlame {
    0% {
        left: 10%;
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-3px);
    }
    50% {
        left: 50%;
        transform: translateY(0px);
    }
    75% {
        transform: translateY(-3px);
    }
    100% {
        left: 90%;
        transform: translateY(0px);
    }
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-text-dark);
    border: 2px solid var(--color-beige-dark);
}

.btn-secondary:hover {
    background: var(--color-beige);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #C5BFA3 0%, #D9D4B8 100%);
    padding: 12px 30px;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-size: contain;
    opacity: 0.3;
    top: -40px;
}

.decoration {
    font-size: 32px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.love-message {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--color-text-dark);
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(90, 74, 58, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-large {
    max-width: 600px;
}

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

.close {
    position: sticky;
    top: 0;
    right: 0;
    float: right;
    font-size: 32px;
    font-weight: 300;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 15px 20px;
    background: var(--color-white);
    z-index: 10;
    line-height: 1;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--color-coral);
}

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--color-text-dark);
    text-align: center;
    padding: 10px 30px 10px;
    border-bottom: 2px solid var(--color-beige);
}

.modal-body {
    padding: 10px 30px 30px;
}

.modal-body p {
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.modal-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--color-text-dark);
    margin: 25px 0 15px;
}

.modal-body h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-dark);
    margin: 20px 0 10px;
}

/* Estilos para modal de Confirmar Asistencia */
.confirmation-intro {
    text-align: center;
    font-size: 15px;
    margin-bottom: 25px;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.confirmation-instructions {
    background: var(--color-beige);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0 25px;
}

.confirmation-instructions p {
    margin-bottom: 12px;
    font-size: 15px;
}

.confirmation-instructions ul {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.confirmation-instructions li {
    margin-bottom: 8px;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.thanks-message {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-style: italic;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
    color: var(--color-text-dark);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-green);
    color: white;
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 155, 122, 0.3);
    width: 100%;
    font-size: 15px;
}

.btn-whatsapp:hover {
    background: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 155, 122, 0.4);
}

.whatsapp-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.whatsapp-label {
    font-weight: 500;
}

.whatsapp-number {
    font-weight: 600;
    font-size: 14px;
}

/* Estilos para modal de Regalos */
.gift-intro {
    text-align: center;
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}

.gift-info {
    background: var(--color-beige);
    padding: 12px 20px;
    border-radius: 12px;
    margin: 8px 0;
}

.gift-info:first-of-type {
    margin-top: 0;
}

.gift-info:last-of-type {
    margin-bottom: 8px;
}

.gift-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--color-text-dark);
    margin-bottom: 12px;
    text-align: left;
}

.gift-info p {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.account-number {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

@media (max-width: 400px) {
    .gift-info p {
        font-size: 12px;
        gap: 4px;
    }

    .account-number {
        font-size: 11px;
    }
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    transition: all 0.2s ease;
    opacity: 0.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.copy-btn:hover {
    opacity: 0.8;
    transform: scale(1.15);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.copied {
    opacity: 1;
}

.cash-note {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-dark);
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 400;
}

.gift-note {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--color-coral);
    margin-top: 20px;
}

.btn-paypal {
    display: inline-block;
    background: linear-gradient(135deg, #0070BA 0%, #1546A0 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 112, 186, 0.3);
    width: 100%;
    font-size: 15px;
    margin-top: 10px;
}

.btn-paypal:hover {
    background: linear-gradient(135deg, #005A92 0%, #103A7A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 112, 186, 0.4);
}

.gift-info-button,
.gift-info-paypal {
    width: 100%;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.gift-info-button:hover,
.gift-info-paypal:hover {
    background: var(--color-beige-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.gift-info-button h3,
.gift-info-paypal h3 {
    color: var(--color-text-dark);
    margin: 0;
}

.paypal-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

/* Badge de deadline en botón */
.btn-with-badge {
    position: relative;
}

.deadline-badge-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(139, 155, 122, 0.5);
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

/* Popup personalizado de seguridad */
.security-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.security-popup.active {
    display: flex;
}

.security-popup-content {
    background: var(--color-white);
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.security-popup-content p {
    font-size: 16px;
    color: var(--color-text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.security-popup-btn {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
    color: var(--color-white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.security-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 155, 122, 0.4);
}

/* Estilos para modal de Habitación */
.hotel-intro {
    text-align: center;
    font-size: 15px;
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

.special-rates-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--color-text-dark);
    text-align: center;
    margin: 15px 0 12px;
    font-weight: 400;
}

.room-rates {
    background: var(--color-beige);
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.rate-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rate-name {
    font-size: 14px;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rate-supplement {
    font-size: 11px;
    color: #666;
    font-weight: 400;
}

.rate-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-green-dark);
}

.rates-note {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-light);
    font-style: italic;
    margin: 10px 0 20px;
}

.reservation-instructions {
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%);
    border-left: 4px solid var(--color-gold);
    padding: 2px 15px 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.reservation-instructions h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.reservation-instructions p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.travel-recommendation {
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%);
    border-left: 4px solid var(--color-gold);
    padding: 2px 15px 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.travel-recommendation h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.travel-recommendation p {
    margin: 0 0 5px 0;
    font-size: 13px;
    line-height: 1.5;
}

.travel-recommendation p:last-child {
    margin-bottom: 0;
}

.btn-email {
    display: inline-block;
    background: var(--color-green);
    color: white;
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 155, 122, 0.3);
    width: 100%;
}

.btn-email:hover {
    background: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 155, 122, 0.4);
}

/* Estilos para modal de Cómo Llegar */
.location-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 15px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    position: relative;
    padding: 30px 20px;
    border-radius: 12px;
    overflow: hidden;
}

.location-link::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background-image: url('img/casona.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
    mask-image:
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}

.location-link:hover {
    opacity: 0.95;
}

.location-title {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 1),
        0 0 12px rgba(255, 255, 255, 1),
        0 0 18px rgba(255, 255, 255, 1),
        0 0 25px rgba(255, 255, 255, 0.95),
        0 0 35px rgba(255, 255, 255, 0.9),
        0 0 45px rgba(255, 255, 255, 0.8),
        0 2px 6px rgba(255, 255, 255, 1);
}

.maps-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    filter:
        drop-shadow(0 0 3px rgba(255, 255, 255, 1))
        drop-shadow(0 0 6px rgba(255, 255, 255, 1))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.95))
        drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
}

.location-subtitle {
    text-align: center;
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    font-weight: 500;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 1),
        0 0 12px rgba(255, 255, 255, 1),
        0 0 18px rgba(255, 255, 255, 1),
        0 0 25px rgba(255, 255, 255, 0.95),
        0 0 35px rgba(255, 255, 255, 0.9),
        0 0 45px rgba(255, 255, 255, 0.8),
        0 2px 6px rgba(255, 255, 255, 1);
}

.map-link-top {
    text-align: center;
    margin-bottom: 30px;
}

.directions {
    margin-top: 20px;
}

.direction-section {
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: none;
}

.direction-section:first-child {
    padding-top: 5px;
    border-top: 2px solid var(--color-beige);
}

.direction-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    padding-top: 5px;
    border-top: 2px solid var(--color-beige);
}

.direction-main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-green-dark);
    margin-bottom: 15px;
    text-align: left;
}

.direction-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 15px;
}

.contact-box {
    background: var(--color-beige);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.contact-box p {
    margin-bottom: 10px;
}

.transport-button-container {
    text-align: center;
    margin-top: 20px;
}

.btn-whatsapp-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-green);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 155, 122, 0.3);
    width: 100%;
}

.btn-whatsapp-small:hover {
    background: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 155, 122, 0.4);
}

.btn-icon-img-small {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.route-steps {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.route-steps li {
    margin-bottom: 10px;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.transport-option {
    background: var(--color-beige);
    padding: 15px;
    border-radius: 10px;
    margin: 12px 0;
}

.transport-option p {
    margin: 0;
    font-size: 14px;
}

.travel-tip {
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%);
    border-left: 4px solid var(--color-gold);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
}

.travel-tip p {
    margin: 0;
    font-size: 14px;
}

.map-link {
    color: var(--color-coral);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: var(--color-coral-dark);
    text-decoration: underline;
}

.tip-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--color-beige);
}

.tip-section:last-child {
    border-bottom: none;
}

.tip-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.tip-section p {
    text-align: justify;
}

.tip-section ul {
    margin-left: 20px;
    margin-top: 10px;
}

.tip-section li {
    margin-bottom: 8px;
    color: var(--color-text-dark);
    line-height: 1.6;
    text-align: justify;
}

/* Agencias de viaje */
.agencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.agency-button {
    background: linear-gradient(135deg, #405DE6 0%, #5851DB 25%, #833AB4 50%, #C13584 75%, #E1306C 85%, #FD1D1D 95%, #F56040 100%);
    text-decoration: none;
    padding: 2px;
    border-radius: 14px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.agency-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.agency-inner {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
}

.agency-name {
    font-weight: 600;
    font-size: 16px;
    flex: 1;
}

.agency-ig-icon {
    width: 28px;
    height: 28px;
}

/* Restaurantes */
.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.restaurant-button {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 50%, #FBBC04 75%, #EA4335 100%);
    text-decoration: none;
    padding: 2px;
    border-radius: 14px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.restaurant-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.restaurant-inner {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    height: 100%;
    box-sizing: border-box;
}

.restaurant-name {
    font-weight: 600;
    font-size: 16px;
    flex: 1;
}

.restaurant-maps-icon {
    width: 28px;
    height: 28px;
}

/* Responsive */
@media (min-width: 769px) {
    .main-info {
        margin-top: -50px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header {
        margin-bottom: 0;
    }

    .modal.active {
        padding: 0;
    }

    .modal-content {
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .deadline-badge-btn {
        font-size: 9px;
        padding: 3px 8px;
    }

    .circle-border {
        width: 100px;
        height: 100px;
    }

    .circle-border::before {
        font-size: 16px;
        bottom: -3px;
    }

    .initials {
        font-size: 28px;
    }

    .names {
        font-size: 36px;
    }

    .main-info {
        padding: 30px 20px;
    }

    .info-card {
        padding: 35px 20px;
    }

    .info-card::before,
    .info-card::after {
        font-size: 30px;
    }

    .info-card::before {
        left: -5px;
    }

    .info-card::after {
        right: -5px;
    }

    .date {
        font-size: 56px;
        letter-spacing: 6px;
    }

    .location {
        font-size: 22px;
    }

    .actions {
        padding: 15px 20px 30px;
    }

    .btn {
        font-size: 14px;
        padding: 14px 25px;
    }

    .modal.active {
        padding: 0;
    }

    .modal-content {
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .modal-title {
        font-size: 26px;
        padding: 8px 18px 12px;
    }

    .modal-body {
        padding: 15px 18px 20px;
    }

    .close {
        padding: 12px 18px;
        font-size: 30px;
    }

    .tip-section h3 {
        font-size: 20px;
    }

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

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

@media (max-width: 480px) {
    .header {
        margin-bottom: 0;
    }

    .deadline-badge-btn {
        font-size: 8px;
        padding: 3px 7px;
        top: -6px;
        right: -6px;
    }

    .names {
        font-size: 32px;
    }

    .info-card::before,
    .info-card::after {
        font-size: 24px;
    }

    .date {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .location {
        font-size: 20px;
    }

    .actions {
        padding: 15px 20px 30px;
    }

    .modal-title {
        font-size: 24px;
        padding: 8px 15px 10px;
    }

    .modal-body {
        padding: 15px;
    }

    .modal.active {
        padding: 0;
    }

    .modal-content {
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .close {
        padding: 10px 15px;
        font-size: 28px;
    }
}


/* Scrollbar personalizado para modales */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--color-beige);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--color-coral);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-coral-dark);
}

/* Responsive para móviles pequeños */
@media (max-width: 400px) {
    body {
        padding: 5px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .container {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .main-info {
        padding: 0 15px 8px;
        margin-bottom: 0;
    }

    .info-card {
        padding: 20px 15px;
    }

    .actions {
        padding: 8px 15px 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 40px;
    }

    .modal.active {
        padding: 0;
    }

    .modal-content {
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 15px;
    }

    .modal-title {
        font-size: 22px;
        padding: 6px 12px 8px;
    }

    .modal-body {
        padding: 12px;
    }

    .close {
        padding: 8px 12px;
        font-size: 26px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .btn-grid {
        gap: 10px;
    }

    .date {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .footer {
        padding: 12px 15px;
        margin-top: auto;
    }

    .love-message {
        font-size: 16px;
    }
}

/* Responsive para pantallas medianas (iPhone 13, etc) */
@media (min-width: 401px) and (max-width: 844px) {
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .container {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .main-info {
        margin-top: 20px;
        padding: 0 25px 0px;
        margin-bottom: -30px;
    }

    .info-card {
        padding: 15px 20px;
    }

    .actions {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0px 25px 20px;
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .btn-grid {
        gap: 10px;
    }

    .footer {
        margin-top: auto;
        padding: 12px 25px;
    }

    .love-message {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* Confeti */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 9999;
    animation: confetti-fall linear forwards;
    opacity: 0.8;
}

@keyframes confetti-fall {
    0% {
        top: -10px;
        transform: translateX(0) rotateZ(0deg);
        opacity: 1;
    }
    100% {
        top: 100vh;
        transform: translateX(100px) rotateZ(720deg);
        opacity: 0;
    }
}

/* Selector de idioma */
.language-selector {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    background: white;
    border-radius: 50px;
    padding: 4px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    gap: 4px;
    align-items: center;
    transition: all 0.3s ease;
}

.language-selector:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.flag {
    font-size: 16px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.flag.active {
    opacity: 1;
}

/* Ocultar selector en modales */
.modal.active ~ .language-selector {
    display: none;
}

/* Responsive para pantallas grandes (escritorio) */
@media (min-width: 845px) {
    body {
        display: block;
        padding: 30px 10px;
    }

    .container {
        display: block;
        overflow: hidden;
        border-radius: 20px;
    }

    .header {
        margin-bottom: 20px;
    }

    .main-info {
        margin-top: 0;
    }

    .actions {
        display: flex;
        margin-bottom: 30px;
    }
}
