/* Reset y Variables */
@font-face {
    font-family: 'Parisienne';
    src: url('./fonts/Parisienne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Darker Grotesque';
    src: url('./fonts/DarkerGrotesque-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --watercolor-primary: #D4A574;
    --watercolor-secondary: #D9A404;
    --watercolor-tertiary: #8C8369;
    --watercolor-light: #D9CCC5;
    --text-dark: #0D0C0B;
    --text-light: #8C8369;
    --cream: #D9CCC5;
}

body {
    font-family: 'Darker Grotesque', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    transition: opacity 0.8s ease-in-out;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1),
                box-shadow 0.3s ease,
                visibility 0s linear 0.4s,
                opacity 0.4s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.visible {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1),
                box-shadow 0.3s ease,
                visibility 0s linear 0s,
                opacity 0.4s ease;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-family: 'Parisienne', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-brand:hover {
    color: var(--watercolor-secondary);
}

/* Desktop Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

.navbar-link:hover {
    color: var(--text-dark);
    background: rgba(217, 164, 4, 0.15);
}

/* Dropdown Menu (Desktop) */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem;
    margin: 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    color: var(--text-dark);
    background: rgba(217, 164, 4, 0.15);
}

/* Hamburger Button (Mobile) */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.navbar-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.33, 1, 0.68, 1),
                padding 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.navbar-mobile-menu.active {
    max-height: 700px;
    padding: 1rem 2rem 2rem;
    overflow: visible;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-link {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 1rem 0;
    display: block;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--text-dark);
    padding-left: 0.5rem;
}

/* Mobile Submenu */
.mobile-submenu {
    list-style: none;
    padding: 0 0 0.5rem 1.5rem;
    margin: 0;
}

.mobile-submenu-link {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #333333;
    text-decoration: none;
    padding: 0.6rem 0;
    display: block;
    transition: all 0.3s ease;
}

.mobile-submenu-link:hover {
    color: var(--text-dark);
    padding-left: 0.5rem;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-mobile-menu {
        display: block;
    }
    
    .navbar-container {
        padding: 0.5rem 1.5rem;
        min-height: auto;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Reducir altura del navbar en móvil */
    .navbar {
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    
    /* Asegurar que el menú móvil se muestre correctamente */
    .navbar-mobile-menu {
        z-index: 1001;
    }
}

/* Bloquear scroll cuando una tarjeta está expandida */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* body.page-loading {
    opacity: 0;
}

body.page-loaded {
    opacity: 1;
} */

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: 
        url('./media/fondo_papel_acuarela.png'),
        url('./media/fondo_lino.jpeg');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, scroll;
}

.watercolor-overlay {
    display: none;
}

.hero-background-image {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    max-height: 60vh;
    object-fit: contain;
    z-index: 0;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 0.3s forwards;
}

/* Versión móvil - imagen descentrada a la izquierda */
@media (max-width: 768px) {
    .hero-background-image {
        left: 25%;
        transform: translateX(-25%);
    }
    
    /* Ajustar posición del contenido en móvil */
    .hero-content {
        margin-top: -4rem !important;
        padding-top: 0.5rem !important;
    }
    
    /* Mover nombres y fecha 100px hacia la derecha en móvil */
    .names-container {
        margin-left: 50px;
    }
    
    .wedding-date {
        margin-left: 50px;
        margin-top: 3rem !important;
    }
    
    /* Centrar y reducir más el flipclock en móvil */
    .countdown-container {
        margin: 1.5rem 0 !important;
        position: relative;
        left: 45%;
        transform: translateX(-50%) scale(0.7) !important;
        gap: 0.2rem !important;
        width: fit-content;
        justify-content: center;
    }
    
    /* Centrar el scroll indicator en móvil */
    .scroll-indicator {
        margin: 4rem 0 0 0 !important;
        position: relative;
        left: 45%;
        transform: translateX(-50%) !important;
        width: fit-content;
        align-items: center;
    }
    
    #countdown .flipclock {
        gap: 0.2rem !important;
    }
    
    #countdown .flipclock__piece {
        margin: 0 0.1rem !important;
    }
    
    #countdown .flipclock__card {
        width: clamp(24px, 7vw, 30px) !important;
        height: clamp(32px, 10vw, 40px) !important;
    }
    
    #countdown .flipclock__card-top,
    #countdown .flipclock__card-bottom {
        font-size: clamp(0.8rem, 4vw, 1.2rem) !important;
    }
    
    #countdown .flipclock__slot {
        font-size: clamp(0.3rem, 1.5vw, 0.5rem) !important;
    }
    
    #countdown .flipclock__divider {
        font-size: clamp(1rem, 4vw, 1.4rem) !important;
        margin: 0 0.1rem !important;
    }
}

@keyframes watercolorFlow {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.25;
        transform: scale(1.1) rotate(5deg);
    }
}

.hero-content {
    text-align: left;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1.5s ease-out;
    margin-left: 2rem;
}

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

/* Names */
.names-container {
    margin-bottom: 2rem;
}

.bride-name,
.groom-name,
.ampersand {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.bride-name,
.groom-name {
    font-family: 'Parisienne', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.ampersand {
    display: block;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #333333;
    margin: 1rem 0;
    font-style: italic;
}

.wedding-date {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #333333;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Countdown Timer con FlipClock.js */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    flex-wrap: wrap;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Personalizar FlipClock.js con tema acuarela */
#countdown .flipclock__piece {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#countdown .flipclock__card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 8px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(212, 165, 116, 0.15);
}

#countdown .flipclock__card-top,
#countdown .flipclock__card-bottom {
     line-height: 1;
     font-family: 'Darker Grotesque', sans-serif;
     font-weight: 700;
     color: var(--text-dark);
}

#countdown .flipclock__card-bottom {
    background: linear-gradient(145deg, #f0f0f0, #e8e8e8);
}

#countdown .flipclock__slot {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(0.6rem, 2vw, 0.9rem) !important;
    letter-spacing: 2px;
    color: #333333;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 0.3rem;
}

#countdown .flipclock__divider {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(2rem, 6vw, 3rem) !important;
    color: #333333;
    font-weight: 400;
}

.countdown-separator {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(2rem, 6vw, 3rem);
    color: #333333;
    margin: 0 0.3rem;
    align-self: flex-start;
    margin-top: clamp(15px, 4vw, 25px);
}


/* Scroll Indicator */
.scroll-indicator {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1);
    transition-delay: 1s;
}

body.page-loaded .scroll-indicator {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator span {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    color: #333333;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-dark);
    border-radius: 25px;
    position: relative;
    transition: border-color 0.3s ease;
}

.scroll-arrow:hover {
    border-color: var(--text-dark);
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-dark);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: background-color 0.3s ease;
}

.scroll-arrow:hover::before {
    background: var(--text-dark);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0.3;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 2rem;
    background: url('./media/fondo_lino.jpeg');
    background-size: 100%, 100%;
    background-position: center;
    background-repeat: repeat;
    background-attachment: scroll;
    position: relative;
    width: 100%;
}

.gallery-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: 'Parisienne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 2rem;
    perspective: 1000px;
    perspective-origin: -150% 50%;
}

.section-title .char {
    display: inline-block;
    opacity: 0;
    transform: rotateX(-90deg) translateY(150%);
    transform-origin: 0 100%;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1),
                opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.section-title .char.animate {
    opacity: 1;
    transform: rotateX(0) translateY(0);
}

.watercolor-divider {
    width: 150px;
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--watercolor-primary), var(--watercolor-secondary), var(--watercolor-tertiary), transparent);
    opacity: 0;
    transform: scaleX(0);
    transition: all 1s ease-out 0.3s;
}

.watercolor-divider.animate {
    opacity: 1;
    transform: scaleX(1);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.gallery-item {
    position: relative;
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    transition: transform 0.65s cubic-bezier(0.57, 0.56, 0, 0.97),
                opacity 0.65s cubic-bezier(0.57, 0.56, 0, 0.97);
    border-radius: 16px;
    overflow: hidden;
}

/* Estado inicial - no observado */
.gallery-item.unobserved {
    opacity: 0;
    transform: translateY(25vh) rotate(10deg);
}

/* Animación cuando entra en vista */
.gallery-item.animate {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Variaciones de rotación para diferentes items */
.gallery-item:nth-child(2n).unobserved {
    transform: translateY(25vh) rotate(-10deg);
}

.gallery-item:nth-child(3n).unobserved {
    transform: translateY(30vh) rotate(15deg);
}

.gallery-item.full-width {
    grid-column: 1 / -1;
}

.gallery-item.full-width.unobserved {
    transform: translateY(20vh) scale(0.9);
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    border-radius: 16px;
}

.gallery-item.full-width .image-wrapper {
    aspect-ratio: 16/9;
}

.image-wrapper:hover {
    transform: translateY(-10px) rotate(2deg);
}

/* Animación de entrada para las imágenes */
.gallery-item.unobserved .image-wrapper {
    transform: scale(0.85);
}

.gallery-item.animate .image-wrapper {
    transform: scale(1);
}

.watercolor-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: 
        radial-gradient(circle at 10% 10%, var(--watercolor-primary) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, var(--watercolor-secondary) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, var(--watercolor-tertiary) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
    transition: opacity 0.5s ease;
}

.image-wrapper:hover .watercolor-frame {
    opacity: 0.5;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: #D9CCC5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.placeholder-image[src] {
    background: none;
    object-fit: cover;
}

.placeholder-image::before {
    display: none;
}

.placeholder-text {
    font-family: 'Parisienne', sans-serif;
    font-size: 1.3rem;
    color: #333333;
    font-style: italic;
    z-index: 1;
    text-align: center;
    padding: 1rem;
}

/* Posicionar el nombre en la parte superior izquierda */
.gallery-item.expandable .placeholder-text {
    position: absolute;
    top: 0px;
    left: 20px;
    transform: none;
    width: auto;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--text-dark);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4), 
                 0 0 20px rgba(212, 165, 116, 0.3);
    font-weight: 400;
}

/* Estilos específicos para la tarjeta del mapa */
.mapa-background {
    position: relative;
    overflow: hidden;
    background: url('./media/fondo_papel_acuarela.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mapa-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.placeholder-text-mapa {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto !important;
    width: auto !important;
    text-align: right !important;
    z-index: 2;
    font-family: 'Parisienne', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--text-dark);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6), 
                 0 0 20px rgba(212, 165, 116, 0.4);
    font-weight: 400;
    padding: 0 !important;
}

/* Estilos para la información del mapa expandida */
.card-info-mapa {
    background: rgba(255, 255, 255, 0.95);
}

.mapa-locations {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.location-item {
    padding: 1.5rem;
    background: rgba(212, 165, 116, 0.1);
    border-left: 4px solid #D4A574;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.2);
}

.location-item h3 {
    font-family: 'Parisienne', sans-serif;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.location-item p {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    color: #333333;
    margin-bottom: 1rem;
}

/* Aumentar tamaño de letra en escritorio para textos del mapa */
@media (min-width: 769px) {
    .location-item p {
        font-size: 1.2rem;
    }
}

.map-link {
    display: inline-block;
    background: var(--watercolor-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-link:hover {
    background: var(--watercolor-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 164, 4, 0.3);
}

/* Estilos específicos para la descripción del BUS */
.bus-description {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 0.9rem;
    color: #333333;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Aumentar tamaño de letra en escritorio para descripción del bus */
@media (min-width: 769px) {
    .bus-description {
        font-size: 1.1rem;
    }
}

/* Estilos para la tarjeta de Confirmación de Asistencia */
.card-info-confirmacion {
    background: rgba(255, 255, 255, 0.95);
}

.gallery-item.expandable.expanded[data-person="confirmacion"] {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
}

.gallery-item.expandable.expanded[data-person="confirmacion"] .card-info {
    max-height: 100%;
    height: 100%;
    padding: 3rem 2rem 2rem 2rem;
    border-radius: 0;
    overflow: hidden;
}

.gallery-item.expandable.expanded[data-person="confirmacion"] .placeholder-text-confirmacion {
    display: none;
}

.gallery-item.expandable.expanded[data-person="confirmacion"] .image-wrapper {
    display: none;
}

/* Estilos para la tarjeta de Contactos */
.card-info-contactos {
    background: rgba(255, 255, 255, 0.95);
}

.gallery-item.expandable.expanded[data-person="contactos"] .placeholder-text-contactos {
    display: none;
}

.contactos-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.contacto-item {
    padding: 1.5rem;
    background: rgba(212, 165, 116, 0.1);
    border-left: 4px solid #D4A574;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.2);
}

.contacto-item h3 {
    font-family: 'Parisienne', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.contacto-detalle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
}

.contacto-detalle:last-child {
    margin-bottom: 0;
}

.contacto-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contacto-link {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

/* Aumentar tamaño de letra en escritorio para enlaces de contacto */
@media (min-width: 769px) {
    .contacto-link {
        font-size: 1.2rem;
    }
}

.contacto-link[href^="tel:"] {
	font-size: 1.3rem;
}

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

/* Estilos para la tarjeta de Hoteles */
.card-info-hoteles {
    background: rgba(255, 255, 255, 0.95);
}

/* Icono de aviso importante sobre la tarjeta de hoteles */
.gallery-item[data-person="hoteles"] .hotel-important-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 200px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
    pointer-events: none;
}

@media (max-width: 768px) {
    .gallery-item[data-person="hoteles"] .hotel-important-icon {
        width: 210px;
        bottom: 8px;
        right: 8px;
    }
}

.gallery-item.expandable.expanded[data-person="hoteles"] .placeholder-text-hoteles {
    display: none;
}

.hoteles-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
    max-height: calc(90vh - 150px);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.hotel-item {
    padding: 1.5rem;
    background: rgba(212, 165, 116, 0.1);
    border-left: 4px solid #D4A574;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.2);
}

.hotel-item h3 {
    font-family: 'Parisienne', sans-serif;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: left;
}

.hotel-nota-importante {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 0.95rem;
    color: var(--watercolor-secondary);
    background: rgba(217, 164, 4, 0.15);
    padding: 0.8rem 1rem;
    border-left: 3px solid var(--watercolor-secondary);
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Aumentar tamaño de letra en escritorio para nota importante */
@media (min-width: 769px) {
    .hotel-nota-importante {
        font-size: 1.1rem;
        padding: 1rem 1.2rem;
    }
}

.hotel-detalle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
}

.hotel-detalle:last-of-type {
    margin-bottom: 1rem;
}

.hotel-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.hotel-link {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

/* Aumentar tamaño de letra en escritorio para enlaces de hotel */
@media (min-width: 769px) {
    .hotel-link {
        font-size: 1.2rem;
    }
    
    .hotel-item h3 {
        font-size: 1.6rem;
    }
}

.hotel-link[href^="tel:"] {
    font-size: 1.3rem;
}

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

.hotel-item .map-link {
    margin-top: 0.5rem;
    display: inline-block;
}

/* Personalizar scrollbar para el contenedor de hoteles */
.hoteles-container::-webkit-scrollbar {
    width: 8px;
}

.hoteles-container::-webkit-scrollbar-track {
    background: rgba(217, 204, 197, 0.3);
    border-radius: 4px;
}

.hoteles-container::-webkit-scrollbar-thumb {
    background: #D4A574;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.hoteles-container::-webkit-scrollbar-thumb:hover {
    background: #C9A961;
}

.form-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-container iframe {
    width: 100%;
    height: 100%;
    min-height: 1200px;
    border: none;
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Ajustes específicos para el formulario en pantalla completa */
.gallery-item.expandable.expanded[data-person="confirmacion"] .info-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.gallery-item.expandable.expanded[data-person="confirmacion"] .info-content h2 {
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.gallery-item.expandable.expanded[data-person="confirmacion"] .form-container {
    flex: 1;
    height: 100%;
    min-height: 0;
    margin-top: 0.5rem;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-item.expandable.expanded[data-person="confirmacion"] .form-container iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
    display: block;
    flex: 1;
}

/* Different color variations for images */
.image-1 {
    background: #f5d6e0;
}

.image-2 {
    background: #f9edc8;
}

.image-3 {
    background: #e5ddd7;
}

.image-4 {
    background: #f2ebe6;
}

/* Sobrescribir el fondo para la tarjeta del mapa */
.mapa-background.image-4 {
    background: url('./media/fondo_papel_acuarela.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.image-5 {
    background: #f5d6e0;
}

.image-6 {
    background: #ffffff;
}

.image-7 {
    background: #f9edc8;
}

.image-8 {
    background: #f2ebe6;
}

.image-9 {
    background: #f9edc8;
}

.image-10 {
    background: #e5ddd7;
}

/* Eliminar el marco de acuarela para la tarjeta de Contactos */
.gallery-item[data-person="contactos"] .watercolor-frame {
    display: none;
}

/* Estilos para la tarjeta de Autobuses */
.card-info-autobuses {
    background: rgba(255, 255, 255, 0.95);
}

.gallery-item.expandable.expanded[data-person="autobuses"] .placeholder-text-autobuses {
    display: none;
}

.card-info-autobuses .info-content h2 {
    margin-bottom: 1rem;
}

.card-info-autobuses .info-section {
    margin-top: 1.5rem;
}

.card-info-autobuses .info-section h3 {
    font-family: 'Parisienne', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Estilos para la tarjeta de Regalo */
.card-info-regalo {
    background: rgba(255, 255, 255, 0.95);
}

.gallery-item.expandable.expanded[data-person="regalo"] .placeholder-text-regalo {
    display: none;
}

.regalo-mensaje {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
    padding: 0 1rem;
}

/* Aumentar tamaño de letra en escritorio para mensaje de regalo */
@media (min-width: 769px) {
    .regalo-mensaje {
        font-size: 1.3rem;
    }
}

/* Estilos para la tarjeta de Acertijo */
.card-info-acertijo {
    background: rgba(255, 255, 255, 0.95);
}

.gallery-item.expandable.expanded[data-person="acertijo"] .placeholder-text-acertijo {
    display: none;
}

.acertijo-mensaje {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
    padding: 0 1rem;
}

@media (min-width: 769px) {
    .acertijo-mensaje {
        font-size: 1.3rem;
    }
}

.numero-cuenta {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 2px;
    margin: 1.5rem 0;
    word-break: break-all;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
}

.numero-cuenta:hover {
    color: var(--watercolor-secondary);
}

.numero-cuenta.copiado {
    color: var(--watercolor-secondary);
    animation: copiadoPulse 0.5s ease;
}

.numero-cuenta-texto {
    display: inline;
}

.copiar-indicador {
    font-size: 1.2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.numero-cuenta:hover .copiar-indicador {
    opacity: 1;
    transform: scale(1.2);
}

.numero-cuenta.copiado .copiar-indicador {
    opacity: 1;
}

.numero-cuenta.copiado .copiar-indicador::after {
    content: ' ✓';
}

@keyframes copiadoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .gallery-section {
        padding: 4rem 1rem;
    }

    /* Animaciones más suaves en móvil */
    .gallery-item.unobserved {
        transform: translateY(15vh) rotate(5deg);
    }

    .gallery-item:nth-child(2n).unobserved {
        transform: translateY(15vh) rotate(-5deg);
    }

    .gallery-item:nth-child(3n).unobserved {
        transform: translateY(18vh) rotate(8deg);
    }

    .gallery-item.full-width.unobserved {
        transform: translateY(12vh) scale(0.95);
    }

    /* Burbujas decorativas más pequeñas en móvil */
    .gallery-item:nth-child(3)::after {
        width: 120px;
        height: 120px;
        bottom: -30px;
        right: -30px;
    }

    .gallery-item:nth-child(5)::before {
        width: 150px;
        height: 150px;
        top: -50px;
        left: -50px;
    }

    /* Ajustar tamaño de la frase "Acompañanos en este viaje" en móvil */
    .train-text {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    }
}

/* Posicionamiento de burbujas decorativas */
.gallery-item:nth-child(3) {
    position: relative;
}

.gallery-item:nth-child(3)::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--watercolor-secondary) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1) 0.5s;
    z-index: -1;
}

.gallery-item:nth-child(3).animate::after {
    opacity: 0.3;
    transform: scale(1);
}

.gallery-item:nth-child(5)::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--watercolor-tertiary) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1) 0.6s;
    z-index: -1;
}

.gallery-item:nth-child(5).animate::before {
    opacity: 0.25;
    transform: scale(1);
}

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

/* Animación de pulsación sutil para burbujas */
@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.gallery-item.animate::after,
.gallery-item.animate::before {
    animation: subtlePulse 8s ease-in-out infinite;
}

/* Tarjetas Expandibles */
.gallery-item.expandable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item.expandable:hover {
    transform: scale(1.05);
}

.gallery-item.expandable .image-wrapper {
    transition: all 0.3s ease;
}

.gallery-item.expandable:hover .image-wrapper {
    box-shadow: 0 20px 40px rgba(212, 165, 116, 0.3);
}

/* Estado expandido de la tarjeta */
.gallery-item.expandable.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 800px;
    height: 90vh;
    max-height: 600px;
    z-index: 999;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
}

/* Tarjetas expandidas 50% más grandes en escritorio */
@media (min-width: 769px) {
    .gallery-item.expandable.expanded {
        max-width: 1200px;
        max-height: 900px;
    }
}

.gallery-item.expandable.expanded .image-wrapper {
    height: 100%;
}

.gallery-item.expandable.expanded .placeholder-text-sofia {
    display: none;
}

.gallery-item.expandable.expanded .placeholder-text {
    display: none;
}

/* Ajustar posición de la imagen de Sofía cuando se expande */
.gallery-item.expandable.expanded[data-person="sofia"] .image-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.gallery-item.expandable.expanded[data-person="sofia"] .placeholder-image {
    object-position: center 20%;
    transform: translateY(-275px);
}

/* Ajustar posición de las imágenes de Raúl y Sofía cuando se expanden en móvil */
@media (max-width: 768px) {
    .gallery-item.expandable.expanded[data-person="raul"] .image-wrapper {
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    
    .gallery-item.expandable.expanded[data-person="raul"] .placeholder-image {
        object-position: center top;
        transform: translateY(-100px);
    }
    
    .gallery-item.expandable.expanded[data-person="sofia"] .image-wrapper {
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    
    .gallery-item.expandable.expanded[data-person="sofia"] .placeholder-image {
        object-position: center top;
        transform: translateY(50px);
    }
}

/* Ajustar la imagen del mapa cuando se expande */
.gallery-item.expandable.expanded[data-person="mapa"] .mapa-image {
    width: 100%;
    height: auto;
    max-height: 60%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
}

/* Información dentro de la tarjeta expandida */
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(10px);
}

.gallery-item.expandable.expanded .card-info {
    max-height: 70%;
    opacity: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling en iOS */
}

/* Estilos de scroll suave para las tarjetas de Raul y Sofia */
.gallery-item.expandable.expanded[data-person="raul"] .card-info,
.gallery-item.expandable.expanded[data-person="sofia"] .card-info {
    overflow-y: auto;
    overscroll-behavior: contain; /* Prevenir scroll chaining */
}

/* Personalizar scrollbar para las tarjetas */
.card-info::-webkit-scrollbar {
    width: 8px;
}

.card-info::-webkit-scrollbar-track {
    background: rgba(217, 204, 197, 0.3);
    border-radius: 4px;
}

.card-info::-webkit-scrollbar-thumb {
    background: #D4A574;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.card-info::-webkit-scrollbar-thumb:hover {
    background: #C9A961;
}

/* Eliminar scroll del contenedor para la tarjeta de confirmación */
.gallery-item.expandable.expanded[data-person="confirmacion"] .card-info {
    overflow: hidden !important;
}

.info-content {
    width: 100%;
}

.info-content h2 {
    font-family: 'Parisienne', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.info-content > p {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Aumentar tamaño de letra para las tarjetas de Raul y Sofia */
.gallery-item.expandable.expanded[data-person="raul"] .info-content > p,
.gallery-item.expandable.expanded[data-person="sofia"] .info-content > p {
    font-size: 1.15rem;
}

.gallery-item.expandable.expanded[data-person="raul"] .info-section p,
.gallery-item.expandable.expanded[data-person="sofia"] .info-section p {
    font-size: 1.15rem;
}

/* Aumentar tamaño de letra en escritorio para textos explicativos */
@media (min-width: 769px) {
    .info-content > p {
        font-size: 1.2rem;
    }
    
    .gallery-item.expandable.expanded[data-person="raul"] .info-content > p,
    .gallery-item.expandable.expanded[data-person="sofia"] .info-content > p {
        font-size: 1.35rem;
    }
    
    .gallery-item.expandable.expanded[data-person="raul"] .info-section p,
    .gallery-item.expandable.expanded[data-person="sofia"] .info-section p {
        font-size: 1.35rem;
    }
}

/* Overlay para tarjeta expandida */
.expanded-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    animation: fadeIn 0.3s ease;
}

.expanded-overlay.active {
    display: block;
}

/* Botón de cierre para tarjetas expandidas */
.close-card-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #D4A574;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.close-card-button:hover {
    background: #C9A961;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.close-card-button.active {
    display: flex;
}

.close-card-button::before,
.close-card-button::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.close-card-button::before {
    transform: rotate(45deg);
}

.close-card-button::after {
    transform: rotate(-45deg);
}

/* Estilos específicos para el botón de cierre en modo pantalla completa */
.gallery-item.expandable.expanded[data-person="confirmacion"] ~ .close-card-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.info-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(212, 165, 116, 0.1);
    border-left: 4px solid #D4A574;
    border-radius: 8px;
}

.info-section strong {
    font-family: 'Parisienne', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.8rem;
}

.info-section p {
    margin: 0;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
}

/* Aumentar tamaño de letra en escritorio para textos de info-section */
@media (min-width: 769px) {
    .info-section p {
        font-size: 1.2rem;
    }
}

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

/* Train Parallax Section */
.train-parallax-section {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    padding: 0;
    gap: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

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

.train-parallax-section.unobserved {
    opacity: 0;
    transform: translateY(0);
}

.train-parallax-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.train-parallax-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

/* Wrapper para que el tren y el botón se muevan juntos */
.train-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    transform: translateX(-150%);
    transition: transform 0.1s linear;
    z-index: 5;
}

.train-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.train-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.train-text {
    font-family: 'Parisienne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--text-dark);
    font-weight: 400;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.33, 1, 0.68, 1);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.train-text.show {
    opacity: 1;
    transform: translateY(0);
}

/* Firma de la Web */
.web-signature {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.95) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.signature-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.signature-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.signature-name {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.signature-year {
    color: #888;
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Responsive para la firma */
@media (max-width: 768px) {
    .web-signature {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .signature-content p {
        font-size: 0.8rem;
    }
    
    .signature-name {
        font-size: 0.85rem;
    }
    
    .signature-year {
        font-size: 0.75rem;
    }
}

/* Pop-up de aviso importante para hoteles */
.hoteles-warning-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.hoteles-warning-modal.active {
    display: flex;
}

.hoteles-warning-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hoteles-warning-content {
    position: relative;
    max-width: 640px;
    width: 90%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    padding: 2rem 2.2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 1;
    text-align: left;
}

.hoteles-warning-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.hoteles-warning-icon {
    width: 64px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.hoteles-warning-title {
    font-family: 'Parisienne', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.hoteles-warning-text {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

.hoteles-warning-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hoteles-warning-button {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hoteles-warning-close {
    background: transparent;
    color: #555555;
    border-color: rgba(0, 0, 0, 0.1);
}

.hoteles-warning-close:hover {
    background: rgba(0, 0, 0, 0.03);
}

.hoteles-warning-continue {
    background: var(--watercolor-primary);
    color: #ffffff;
    border-color: var(--watercolor-primary);
    box-shadow: 0 6px 18px rgba(212, 165, 116, 0.45);
}

.hoteles-warning-continue:hover {
    background: var(--watercolor-secondary);
    border-color: var(--watercolor-secondary);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(217, 164, 4, 0.55);
}

@media (max-width: 768px) {
    .hoteles-warning-content {
        padding: 1.6rem 1.4rem;
        width: 92%;
    }

    .hoteles-warning-title {
        font-size: 1.5rem;
    }

    .hoteles-warning-text {
        font-size: 1rem;
    }

    .hoteles-warning-actions {
        justify-content: center;
    }
}

.rails-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.rails-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

