/* ========================================
   ESTILOS UNIFICADOS PARA RUNEM WEB
   Combina estilos generales y específicos de reservas
   ======================================== */

/* ========================================
   RESET Y ESTILOS BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* ========================================
   ESTILOS GENERALES DEL BODY
   ======================================== */
body {
    background-image: url('../img/bg-cs.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* Fondo específico para reservas */
body.pagina-reservas {
    background-image: url('../img/bg-rsv2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

/* ========================================
   LAYOUT PRINCIPAL (INDEX.HTML)
   ======================================== */
.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
}

.left-side, .right-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.left-side {
    align-items: flex-end;
    padding-right: 5rem;
}

.right-side {
    align-items: flex-start;
    padding-left: 8rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    max-width: 350px;
    margin-bottom: 2.5rem;
}

.tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   CONTENIDO PRINCIPAL (INDEX.HTML)
   ======================================== */
.content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E5B639, transparent);
    animation: loading 8s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

/* ========================================
   TÍTULOS Y TEXTO
   ======================================== */
h1 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    color: #E5B639;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #E5B639;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease;
}

.content:hover h1::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

/* ========================================
   FORMULARIOS GENERALES
   ======================================== */
.email-form {
    display: flex;
    flex-direction: column;
    position: relative;
}

input, button {
    padding: 1.2rem;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

input[type="email"] {
    margin-bottom: 1.2rem;
    border-radius: 5px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(229, 182, 57, 0.5);
    transform: translateY(-2px);
}

button {
    background-color: #E5B639;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

button:hover {
    background-color: #c99c28;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

button:hover::before {
    left: 100%;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ========================================
   ESTADOS Y MENSAJES
   ======================================== */
.form-status {
    height: 20px;
    margin-top: 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-status.success {
    color: #2ecc71;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   POLÍTICA DE PRIVACIDAD
   ======================================== */
.privacy-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.privacy-check input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    padding: 0;
}

.privacy-check label {
    cursor: pointer;
}

.privacy-check a {
    color: #E5B639;
    text-decoration: none;
    border-bottom: 1px dotted #E5B639;
    transition: all 0.3s ease;
}

.privacy-check a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ========================================
   ENLACE DE RESERVAS
   ======================================== */
.reserva-link {
    margin-top: 2rem;
    text-align: center;
}

.reserva-button {
    display: inline-block;
    background-color: rgba(229, 182, 57, 0.2);
    color: #E5B639;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    border: 2px solid #E5B639;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.reserva-button:hover {
    background-color: #E5B639;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   CONTENEDOR DE RESERVAS
   ======================================== */
.reserva-container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    max-width: 900px;
    margin: 50px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reserva-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.reserva-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E5B639, transparent);
    animation: loading 8s infinite;
}

.reserva-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Dancing Script', cursive;
    font-size: 3em;
    color: #E5B639;
    position: relative;
    display: inline-block;
}

.reserva-container h1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #E5B639;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease;
}

.reserva-container:hover h1::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ========================================
   AVISO PARA REVISAR LA CARTA
   ======================================== */
.aviso-carta {
    background-color: rgba(229, 182, 57, 0.1);
    border: 1px solid rgba(229, 182, 57, 0.3);
    border-left: 4px solid #E5B639;
    padding: 15px 20px;
    margin: 0 auto 20px;
    border-radius: 8px;
    max-width: 100%;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.aviso-carta p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.6;
    color: #f0f0f0;
}

.aviso-carta p a {
    color: #E5B639;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.aviso-carta p a:hover {
    color: #fff;
    border-bottom-color: #E5B639;
    background-color: rgba(229, 182, 57, 0.2);
    padding: 2px 4px;
    border-radius: 4px;
}

.btn-ver-carta {
    display: inline-block;
    background-color: #E5B639;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: 1px solid #c99c28;
}

.btn-ver-carta:hover {
    background-color: #c99c28;
    color: white !important; /* Asegurar que el color del texto no cambie */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-bottom-color: #c99c28 !important; /* Sobrescribir otros hovers de 'a' */
}


/* ========================================
   LAYOUT DEL FORMULARIO DE RESERVAS
   ======================================== */
.reserva-form-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.calendario-horas-selector {
    flex: 1;
    min-width: 300px;
}

.reserva-form-container {
    flex: 1;
    min-width: 300px;
}

/* ========================================
   CALENDARIO
   ======================================== */
.calendario-container {
    margin-bottom: 20px;
}

.calendario {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calendario-cabecera {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #E5B639;
}

.calendario-cabecera button {
    background: rgba(229, 182, 57, 0.2);
    border: 1px solid #E5B639;
    color: #E5B639;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.calendario-cabecera button:hover:not(:disabled) {
    background-color: #E5B639;
    color: #000;
    transform: translateY(-2px);
}

.calendario-cabecera button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #666;
    color: #666;
}

.calendario-dia-semana {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 10px;
}

.calendario-dia-semana div {
    font-weight: bold;
    text-align: center;
    padding: 10px 5px;
    font-size: 0.9em;
    color: #E5B639;
    border-bottom: 1px solid rgba(229, 182, 57, 0.3);
}

.calendario-dias {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.calendario-dia {
    text-align: center;
    padding: 12px 8px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.95em;
    font-weight: 500;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendario-dia.disponible {
    background-color: rgba(229, 182, 57, 0.2);
    color: #E5B639;
    cursor: pointer;
    border: 1px solid rgba(229, 182, 57, 0.3);
}

.calendario-dia.disponible:hover {
    background-color: rgba(229, 182, 57, 0.4);
    border-color: #E5B639;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(229, 182, 57, 0.3);
}

.calendario-dia.ocupado {
    background-color: rgba(100, 100, 100, 0.3);
    color: #666;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.5;
}

.calendario-dia.selected {
    background-color: #E5B639;
    border-color: #c99c28;
    font-weight: bold;
    color: #000;
    box-shadow: 0 4px 12px rgba(229, 182, 57, 0.4);
    transform: scale(1.05);
}

.calendario-dia.other-month {
    color: #444;
    opacity: 0.5;
    cursor: not-allowed;
}

.calendario-dia.pasada {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    cursor: not-allowed;
    border: 1px solid rgba(231, 76, 60, 0.3);
    opacity: 0.6;
    text-decoration: line-through;
}

/* ========================================
   SELECCIÓN DE HORAS
   ======================================== */
.horas-container {
    margin-bottom: 20px;
}

.horas-container h3 {
    margin-bottom: 15px;
    font-weight: normal;
    color: #E5B639;
    border-bottom: 1px solid rgba(229, 182, 57, 0.3);
    padding-bottom: 8px;
    font-size: 1.1em;
}

.horas-disponibles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.horas-disponibles button {
    padding: 10px 18px;
    cursor: pointer;
    background-color: rgba(229, 182, 57, 0.2);
    border: 1px solid rgba(229, 182, 57, 0.4);
    color: #E5B639;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95em;
}

.horas-disponibles button:hover {
    background-color: rgba(229, 182, 57, 0.4);
    border-color: #E5B639;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(229, 182, 57, 0.3);
}

.horas-disponibles button.selected {
    background-color: #E5B639;
    border-color: #c99c28;
    color: #000;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(229, 182, 57, 0.4);
    transform: scale(1.05);
}

/* ========================================
   FORMULARIO DE RESERVAS
   ======================================== */
.reserva-form h3 {
    margin-bottom: 20px;
    color: #E5B639;
    font-weight: normal;
    font-size: 1.2em;
    border-bottom: 1px solid rgba(229, 182, 57, 0.3);
    padding-bottom: 8px;
}

.form-grupo {
    margin-bottom: 18px;
}

.form-grupo label {
    display: block;
    margin-bottom: 8px;
    color: #E5B639;
    font-size: 0.95em;
    font-weight: 500;
}

.form-grupo input[type="text"],
.form-grupo input[type="email"],
.form-grupo input[type="tel"],
.form-grupo select,
.form-grupo textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(229, 182, 57, 0.3);
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-grupo input[type="text"]:focus,
.form-grupo input[type="email"]:focus,
.form-grupo input[type="tel"]:focus,
.form-grupo select:focus,
.form-grupo textarea:focus {
    outline: none;
    border-color: #E5B639;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 0 2px rgba(229, 182, 57, 0.2);
}

.form-grupo select {
    cursor: pointer;
}

.form-grupo textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Arial', sans-serif;
}

.contacto-info {
    color: #E5B639;
    font-size: 0.85em;
    font-style: italic;
    margin-top: 5px;
    text-align: center;
}

.reserva-form button[type="submit"] {
    padding: 12px 25px;
    background-color: #E5B639;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: block;
    width: 100%;
    margin-top: 10px;
    font-weight: bold;
}

.reserva-form button[type="submit"]:hover {
    background-color: #c99c28;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   INFORMACIÓN DE SELECCIÓN
   ======================================== */
.reserva-info-seleccion {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.reserva-info-seleccion p {
    margin-bottom: 8px;
    font-size: 1em;
    color: #ddd;
}

.reserva-info-seleccion span {
    font-weight: bold;
    color: #E5B639;
}

#reserva-status {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* ========================================
   MODALES
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-contenido {
    background-color: #2f2f2f;
    color: #fff;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: fadeInModal 0.4s ease-out;
}

.cerrar-modal {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.cerrar-modal:hover,
.cerrar-modal:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.modal-contenido h2 {
    color: #E5B639;
    margin-top: 0;
    margin-bottom: 15px;
}

.modal-contenido p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.btn-modal {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-left: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primario {
    background-color: #E5B639;
    color: white;
}

.btn-primario:hover {
    background-color: #c99c28;
    transform: translateY(-2px);
}

.btn-secundario {
    background-color: #6c757d;
    color: white;
}

.btn-secundario:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.cerrar-modal-previo {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.cerrar-modal-previo:hover,
.cerrar-modal-previo:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

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

/* ========================================
   POLÍTICA DE PRIVACIDAD EN RESERVAS
   ======================================== */
.privacy-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(229, 182, 57, 0.2);
}

.privacy-check input[type="checkbox"] {
    margin-right: 12px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    padding: 0;
    accent-color: #E5B639;
}

.privacy-check label {
    cursor: pointer;
    color: #E5B639;
    font-weight: 500;
}

.privacy-check a {
    color: #E5B639;
    text-decoration: none;
    border-bottom: 1px dotted #E5B639;
    transition: all 0.3s ease;
    font-weight: bold;
}

.privacy-check a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ========================================
   ENLACES Y CONTACTO
   ======================================== */
.modal-contenido a,
.contacto-info-modal a,
#contacto-grupos-grandes a {
    color: #E5B639;
    text-decoration: none;
    border-bottom: 1px dotted #E5B639;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 2px 0;
}

.modal-contenido a:hover,
.contacto-info-modal a:hover,
#contacto-grupos-grandes a:hover {
    color: #fff;
    border-bottom-color: #fff;
    background-color: rgba(229, 182, 57, 0.1);
    border-radius: 3px;
    padding: 2px 4px;
}

.contacto-info-modal {
    background-color: rgba(229, 182, 57, 0.05);
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    border-left: 3px solid #E5B639;
}

.contacto-info-modal p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contacto-info-modal strong {
    color: #E5B639;
    min-width: 80px;
}

.grupos-grandes-info {
    line-height: 1.6;
}

.grupos-grandes-info p {
    margin-bottom: 15px;
}

.reserva-info-seleccion a {
    color: #E5B639;
    text-decoration: none;
    border-bottom: 1px dotted #E5B639;
    transition: all 0.3s ease;
    font-weight: 500;
}

.reserva-info-seleccion a:hover {
    color: #fff;
    border-bottom-color: #fff;
    background-color: rgba(229, 182, 57, 0.1);
    border-radius: 3px;
    padding: 2px 4px;
}

/* ========================================
   SECCIÓN DE MOTIVACIÓN Y UBICACIÓN
   ======================================== */
.motivacion-ubicacion {
    margin: 2.5rem 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.motivacion-texto {
    text-align: center;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(229,182,57,0.12);
}

.motivacion-texto h2 {
    color: #E5B639;
    margin-bottom: 0.7em;
    font-size: 2em;
    font-family: 'Dancing Script', cursive;
}

.motivacion-texto p {
    color: #fff;
    font-size: 1.15em;
    margin-bottom: 0.7em;
}

.mapa-container {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 1.2rem 1.5rem 1.5rem 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(229,182,57,0.12);
}

.mapa-container h3 {
    color: #E5B639;
    text-align: center;
    margin-bottom: 0.5em;
    font-size: 1.2em;
}

.mapa-frame {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    margin-bottom: 0.7em;
}

.direcciones-info {
    color: #fff;
    text-align: center;
    font-size: 1em;
}

.direcciones-info p {
    margin-bottom: 0.3em;
}

.direcciones-info a {
    color: #E5B639;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}

.direcciones-info a:hover {
    color: #fff;
}

/* ========================================
   RESPONSIVIDAD
   ======================================== */

/* Responsive para index.html */
@media (max-width: 900px) {
    .container {
        flex-direction: column-reverse;
    }
    
    .left-side, .right-side {
        padding: 2rem;
        align-items: center;
    }
    
    .right-side {
        flex: 0.4;
        padding-bottom: 0;
    }
    
    .left-side {
        flex: 0.6;
        padding-top: 0;
    }
    
    .logo {
        max-width: 250px;
        margin-bottom: 2rem;
    }
    
    .tagline {
        font-size: 2.5rem;
    }
    
    .content {
        padding: 2rem;
        max-width: 450px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1.8rem;
    }
}

/* Responsive para reservas */
@media (max-width: 768px) {
    .reserva-form-layout {
        flex-direction: column;
    }

    .reserva-container {
        margin: 20px;
        padding: 20px;
    }

    .reserva-container h1 {
        font-size: 2.5em;
    }

    .calendario-dia,
    .calendario-dia-semana {
        font-size: 0.85em;
        padding: 8px 2px;
    }

    .horas-disponibles button {
        padding: 6px 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .reserva-container h1 {
        font-size: 2em;
    }

    .calendario-cabecera {
        font-size: 1.1em;
    }
    
    .calendario-cabecera button {
        padding: 3px 6px;
    }

    .calendario {
        gap: 3px;
        padding: 10px;
    }

    .form-grupo input[type="text"],
    .form-grupo input[type="email"],
    .form-grupo input[type="tel"] {
        padding: 8px;
    }

    .reserva-form button[type="submit"] {
        padding: 10px 20px;
        font-size: 1em;
    }
    
    .contacto-info-modal p {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .contacto-info-modal strong {
        min-width: auto;
    }
    
    .modal-contenido a,
    .contacto-info-modal a,
    #contacto-grupos-grandes a {
        padding: 4px 6px;
        font-size: 0.95em;
    }
}

@media (max-width: 700px) {
    .motivacion-texto, .mapa-container {
        padding: 1rem 0.5rem;
        max-width: 98vw;
    }
    
    .motivacion-texto h2 {
        font-size: 1.3em;
    }
}

/* ========================================
   ESTILOS DEL FOOTER (CARTA)
   ======================================== */

/* Variables de colores para el footer */
:root {
    --pizarra-black: #1a1a1a;
    --chalk-white: #f8f8f8;
    --gold-accent: #E5B639;
    --gold-dark: #d4a429;
    --chalk-gray: #e0e0e0;
    --shadow-color: rgba(229, 182, 57, 0.3);
}

/* Footer principal */
.carta-footer {
    background: rgba(229, 182, 57, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 2rem 1rem 1rem 1rem;
    border: 1px solid rgba(229, 182, 57, 0.3);
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Texto de motivación */
.motivation-text {
    text-align: center;
    margin-bottom: 2rem;
}

.motivation-text h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--gold-accent);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.motivation-text p {
    font-size: 1.1rem;
    color: var(--chalk-gray);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Secciones del footer */
.footer-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    background: rgba(229, 182, 57, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(229, 182, 57, 0.2);
    backdrop-filter: blur(10px);
}

.footer-section-title {
    color: var(--gold-accent);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Kalam', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 0.5rem;
}

.location-info {
    margin-bottom: 0;
}

.location-info h4 {
    font-family: 'Kalam', cursive;
    color: var(--gold-accent);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    font-size: 1.2rem;
}

.location-info p {
    font-family: 'Open Sans', sans-serif;
    color: var(--chalk-gray);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-info p {
    font-family: 'Open Sans', sans-serif;
    color: var(--chalk-gray);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Enlaces útiles */
.useful-links {
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    color: var(--gold-accent);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px dotted var(--gold-accent);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(229, 182, 57, 0.1);
    display: inline-block;
    min-width: 200px;
}

.footer-link:hover {
    background: rgba(229, 182, 57, 0.2);
    color: var(--gold-dark);
    transform: translateY(-2px);
}

/* Enlaces de mapas */
.maps-link {
    color: var(--gold-accent);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px dotted var(--gold-accent);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0;
}

.maps-link:hover {
    color: var(--gold-dark);
    border-bottom-color: var(--gold-dark);
    transform: translateY(-1px);
}

/* Iconos de WhatsApp */
.whatsapp-icon {
    vertical-align: middle;
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
}

.whatsapp-link {
    color: var(--gold-accent);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px dotted var(--gold-accent);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.whatsapp-link:hover {
    color: var(--gold-dark);
    border-bottom-color: var(--gold-dark);
    transform: translateY(-1px);
}

/* Logo de RUNEM */
.footer-logo {
    padding-top: 2rem;
    border-top: 1px solid rgba(229, 182, 57, 0.3);
    text-align: center;
}

.footer-logo p {
    font-size: 0.8rem;
    color: var(--chalk-gray);
    margin-bottom: 0.5rem;
}

.runem-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.runem-link:hover {
    transform: scale(1.05);
}

.runem-logo {
    width: 80px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.runem-logo:hover {
    opacity: 1;
}

/* Responsive para el footer */
@media (max-width: 768px) {
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-section {
        padding: 1rem;
    }
    
    .motivation-text h3 {
        font-size: 2rem;
    }
    
    .footer-section-title {
        font-size: 1.1rem;
    }
} 