/* 
   ==========================================================================
   ESTILOS DE LA INVITACIÓN TROPICAL DE MIRANDA
   ==========================================================================
*/

:root {
    /* Paleta de Colores Tropical (Inspirada en Moana) */
    --primary: #2ac6da;           /* Azul Turquesa Océano */
    --primary-dark: #0097a7;
    --primary-light: #e0f7fa;
    --accent-coral: #ff758f;      /* Rosa Hibisco */
    --accent-coral-dark: #ff4d6d;
    --accent-gold: #f3c623;       /* Dorado Arena/Sol */
    --accent-gold-dark: #d99816;
    --bg-sand: #fefcf3;           /* Crema Playa */
    --forest-green: #2bb26b;      /* Verde Palmera */
    --forest-green-dark: #1a5f35; /* Verde Selva */
    --text-dark: #4e3629;         /* Cacao/Madera (más cálido que negro) */
    --text-muted: #7d6b60;
    --text-light: #ffffff;
    
    /* Efectos Especiales */
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.5);
    --card-shadow: 0 15px 35px rgba(78, 54, 41, 0.1);
    --hover-shadow: 0 25px 45px rgba(78, 54, 41, 0.18);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* Tipografías */
    --font-title: 'Fredoka', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Reset de Estilos */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-sand);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fuentes */
.font-title {
    font-family: var(--font-title);
    font-weight: 600;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-sand);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 3px solid var(--bg-sand);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 
   ==========================================================================
   REPRODUCTOR DE MÚSICA FLOTANTE
   ==========================================================================
*/
.music-player-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.music-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 3px solid var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.music-toggle-btn:hover {
    transform: scale(1.08);
    border-color: var(--accent-coral);
}

.music-disc {
    position: absolute;
    width: 44px;
    height: 44px;
    color: var(--accent-coral);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.music-toggle-btn.playing .music-disc {
    animation: spin 3s linear infinite;
    color: var(--primary);
}

.music-status-icon {
    position: absolute;
    z-index: 2;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none !important;
}

.music-tooltip {
    position: absolute;
    right: 75px;
    background: var(--text-dark);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(15px);
    transition: var(--transition-smooth);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 500;
}

.music-player-container:hover .music-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* 
   ==========================================================================
   MAPA DEL SITIO / NAVEGACIÓN FLOTANTE (SCROLLSPY)
   ==========================================================================
*/
.site-map-nav {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: var(--glass-bg);
    padding: 20px 12px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.nav-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.nav-progress-bar {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% - 12px);
    background: rgba(42, 198, 218, 0.2);
    z-index: 1;
}

.nav-node {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2;
}

.node-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    border: 2px solid var(--glass-bg);
    transition: var(--transition-smooth);
}

.node-label {
    position: absolute;
    right: 28px;
    background: var(--text-dark);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
    white-space: nowrap;
}

/* Estados Hover e Activo */
.nav-node:hover .node-dot {
    background: var(--accent-coral);
    transform: scale(1.3);
}

.nav-node:hover .node-label {
    opacity: 1;
    transform: translateX(0);
}

.nav-node.active .node-dot {
    background: var(--primary);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(42, 198, 218, 0.6);
}

/* 
   ==========================================================================
   HERO / INICIO
   ==========================================================================
*/
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 140px 20px;
    background: url('assets/tropical_bg.jpg') no-repeat center center;
    background-size: cover;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 54, 41, 0.3) 0%, rgba(26, 95, 53, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tropical-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-logo-container {
    margin: 20px 0;
    position: relative;
}

/* El Número 4 e Título */
.age-badge-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--accent-gold);
    overflow: hidden;
}

.age-badge-number {
    font-family: var(--font-title);
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    z-index: 2;
    position: relative;
    line-height: 1;
    text-shadow: 2px 2px 0px var(--accent-gold);
}

.age-badge-waves {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-top: 15px;
    color: var(--text-light);
    letter-spacing: 3px;
    line-height: 1;
    text-shadow: 4px 4px 0px var(--text-dark), 0 0 20px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 2.2rem;
    color: var(--accent-gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px var(--text-dark);
}

.hero-phrase {
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 600px;
    margin: 10px 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Cuenta Regresiva */
.countdown-container {
    background: rgba(78, 54, 41, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 16px 28px;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.countdown-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.countdown-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
}

.countdown-val {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-gold);
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.scroll-down-arrow {
    margin-top: 30px;
    animation: bounce 2s infinite;
}

.scroll-down-arrow a {
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.scroll-down-arrow a:hover {
    color: var(--text-light);
}

/* Separadores de Olas */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.wave-path {
    fill: var(--bg-sand);
}

.wave-divider-alt {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
    transform: rotate(180deg);
}

.wave-divider-alt .wave-path {
    fill: var(--primary-light);
}

/* 
   ==========================================================================
   ESTILOS GENERALES DE SECCIÓN
   ==========================================================================
*/
.scroll-section {
    padding: 100px 24px;
    position: relative;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
}

.section-badge {
    color: var(--accent-coral);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 10px;
}

.section-divider {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent-coral));
    border-radius: 10px;
    margin-bottom: 50px;
}

/* 
   ==========================================================================
   NUESTRA AVENTURA (TARJETAS)
   ==========================================================================
*/
.details-section {
    background-color: var(--bg-sand);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.detail-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
}

#card-when::before {
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
}
#card-where::before {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-coral));
}
#card-clothes::before {
    background: linear-gradient(90deg, var(--accent-coral), var(--forest-green));
}

.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.card-icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.detail-card:hover .card-icon-container {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-coral);
    color: var(--text-light);
}

.card-icon-container svg {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.card-highlight {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.card-text {
    font-size: 1rem;
    color: var(--text-muted);
}

.card-btn-action {
    margin-top: auto;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    background: var(--primary);
    color: var(--text-light);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(42, 198, 218, 0.3);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.card-btn-action:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(0, 151, 167, 0.4);
}

.card-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-top: auto;
}

/* 
   ==========================================================================
   UBICACIÓN / MAPA
   ==========================================================================
*/
.location-section {
    background-color: var(--primary-light);
    padding-bottom: 150px;
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    width: 100%;
    align-items: center;
}

.location-info {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.address-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.address-title {
    font-size: 1.6rem;
    color: var(--text-dark);
}

.address-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.location-tips {
    background: rgba(243, 198, 35, 0.15);
    border-left: 4px solid var(--accent-gold);
    padding: 12px 18px;
    border-radius: 0 12px 12px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.maps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    background: var(--accent-coral);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 117, 143, 0.3);
    transition: var(--transition-smooth);
}

.maps-button:hover {
    background: var(--accent-coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 109, 0.4);
}

/* El Mapa Premium Mockup */
.map-wrapper {
    width: 100%;
}

.mock-map {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #f7edd4; /* Fondo de mapa pergamino */
    border: 8px solid var(--text-light);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    cursor: pointer;
}

.mock-map-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}

/* Rejilla de mapa del tesoro */
.mock-map-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(78, 54, 41, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(78, 54, 41, 0.05) 1px, transparent 1px);
    z-index: 2;
}

.map-island {
    position: absolute;
    border-radius: 50% 60% 40% 70% / 50% 60% 30% 60%;
    background: #e2f3d6;
    border: 2px dashed rgba(78, 54, 41, 0.15);
    z-index: 3;
}

.island-1 {
    width: 140px;
    height: 100px;
    top: 20%;
    left: 15%;
}

.island-2 {
    width: 180px;
    height: 130px;
    bottom: 15%;
    right: 10%;
    border-radius: 60% 40% 70% 50% / 50% 30% 60% 50%;
}

.map-route {
    position: absolute;
    width: 60%;
    height: 50%;
    top: 30%;
    left: 20%;
    border: 3px dashed var(--accent-coral);
    border-radius: 50%;
    z-index: 4;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 80%);
}

.map-pin {
    position: absolute;
    top: 45%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pin-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 117, 143, 0.3);
    position: absolute;
    animation: ping 1.5s infinite;
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-coral);
    border: 3px solid var(--text-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.pin-label {
    background: var(--text-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 12px;
    margin-top: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.map-compass {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 2.2rem;
    z-index: 5;
    opacity: 0.8;
}

/* 
   ==========================================================================
   GALERÍA DE RECUERDOS (POLAROIDS)
   ==========================================================================
*/
.gallery-section {
    background-color: var(--bg-sand);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    width: 100%;
}

.polaroid-card {
    background: var(--text-light);
    padding: 16px 16px 28px 16px;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(78, 54, 41, 0.08);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.03);
}

/* Rotación desordenada clásica de fotos Polaroid */
.gallery-item:nth-child(odd) {
    transform: rotate(-2deg);
}

.gallery-item:nth-child(even) {
    transform: rotate(3deg);
}

.gallery-item:nth-child(3n) {
    transform: rotate(1.5deg);
}

.polaroid-card:hover {
    transform: scale(1.06) rotate(0deg) !important;
    box-shadow: var(--hover-shadow);
    z-index: 10;
}

.polaroid-img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #f7f5ee;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    border-bottom: 4px solid var(--accent-color);
    overflow: hidden;
}

.polaroid-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.03) 100%);
}

.polaroid-img-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    color: var(--text-muted);
}

.polaroid-caption {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-top: 16px;
    text-align: center;
}

/* 
   ==========================================================================
   RSVP / CONFIRMACIÓN
   ==========================================================================
*/
.rsvp-section {
    background: linear-gradient(180deg, var(--bg-sand) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.rsvp-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.rsvp-decor-flower {
    position: absolute;
    font-size: 3.5rem;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

.flower-top {
    top: -30px;
    left: -40px;
}

.flower-bottom {
    bottom: -30px;
    right: -40px;
    animation-delay: 2s;
}

.rsvp-card {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: var(--card-shadow);
}

.rsvp-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 2px solid rgba(78, 54, 41, 0.15);
    background: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--text-light);
    box-shadow: 0 0 0 4px rgba(42, 198, 218, 0.15);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(78, 54, 41, 0.3);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: var(--transition-smooth);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary);
    background: var(--primary);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rsvp-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    border-radius: 30px;
    border: none;
    background: var(--forest-green);
    color: var(--text-light);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(43, 178, 107, 0.3);
    transition: var(--transition-smooth);
}

.rsvp-submit-btn:hover {
    background: var(--forest-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 95, 53, 0.4);
}

/* 
   ==========================================================================
   FOOTER
   ==========================================================================
*/
.site-footer {
    position: relative;
    background-color: var(--forest-green-dark);
    color: var(--text-light);
    padding: 60px 20px 40px 20px;
    text-align: center;
    overflow: hidden;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    line-height: 0;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-text {
    font-size: 1.6rem;
    font-weight: 600;
}

.footer-subtext {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 
   ==========================================================================
   ANIMACIONES (INTERSECTION OBSERVER Y CSS KEYFRAMES)
   ==========================================================================
*/

/* Animaciones al hacer scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin 10s linear infinite;
    display: inline-block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes ping {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(8deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* 
   ==========================================================================
   ADAPTACIÓN RESPONSIVA (MEDIA QUERIES)
   ==========================================================================
*/

@media (max-width: 900px) {
    .location-layout {
        grid-template-columns: 1fr;
    }
    .main-title {
        font-size: 3.5rem;
    }
    .subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .site-map-nav {
        right: 12px;
        padding: 12px 6px;
    }
    .node-label {
        display: none; /* Oculta etiquetas en pantallas pequeñas */
    }
    .nav-track {
        gap: 20px;
    }
    .node-dot {
        width: 10px;
        height: 10px;
    }
    .hero-phrase {
        font-size: 1.15rem;
    }
    .rsvp-card {
        padding: 35px 20px;
    }
    .flower-top {
        left: -10px;
        font-size: 2.5rem;
    }
    .flower-bottom {
        right: -10px;
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.8rem;
    }
    .subtitle {
        font-size: 1.4rem;
    }
    .countdown-grid {
        gap: 8px;
    }
    .countdown-item {
        min-width: 55px;
    }
    .countdown-val {
        font-size: 1.5rem;
    }
    .music-player-container {
        bottom: 16px;
        right: 16px;
    }
    .music-toggle-btn {
        width: 50px;
        height: 50px;
    }
    .music-disc {
        width: 36px;
        height: 36px;
    }
}
