*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #fff;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.5s;
}

h1,
h2,
h3,
h4 {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #c5a059;
}

.logo {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 25px;
    color: #fff;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pagina {
    margin-top: 40px;
    margin-bottom: 40px;
    display: grid;
    gap: 40px;
}

header {
    padding: 20px 0;
    width: 100%;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

header nav .logo {
    font-size: 30px;
}

header nav .menu {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

header nav .menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

header nav .menu a {
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}

header nav .menu a:hover {
    color: #c5a059;
}

footer {
    padding: 20px 0;
    width: 100%;
    text-align: center;
}

footer .logo {
    display: block;
    margin-bottom: 10px;
}

.informacion {
    text-align: center;
    display: grid;
    gap: 20px;
}

.columnas {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    /* align-items: start; */
}

.ruta ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

.ruta a {
    color: #c5a059;
}

.seleccion article {
    display: grid;
    gap: 20px;
}

.seleccion article h1 {
    text-align: center;
}

.seleccion article .descripcion {
    text-align: center;
}

.seleccion article img {
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
}

.seleccion article .actividades {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #c5a059;
    font-weight: bold;
}

.seleccion article ul {
    padding-left: 20px;
}

.seleccion aside .formulario {
    position: sticky;
    top: 20px;
}

.formulario {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.formulario h2 {
    text-align: center;
    margin-bottom: 20px;
}

.formulario form {
    display: grid;
    gap: 20px;
}

form .campo label {
    display: block;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
    color: #c5a059;
}

form .campo span {
    margin-top: 5px;
    display: block;
    font-family: 'Segoe UI', Arial, sans-serif;
}

form .campo input,
form .campo .input,
form .campo select,
form .campo textarea {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    width: 100%;
    padding: 10px;
    border: 1px solid #c5a059;
    border-radius: 10px;
    background-color: #000;
    color: #fff;
}

form .campo textarea {
    min-height: 120px;
    resize: vertical;
}

form p {
    text-align: center;
}

form p a {
    color: #c5a059;
}

form .boton {
    width: 100%;
}

.boton {
    font-family: 'Segoe UI', Arial, sans-serif;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-color: #c5a059;
    color: #000;
    font-weight: bold;
    text-align: center;
}

.catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.catalogo .imagen {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.catalogo .imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalogo .contenido {
    margin-top: 20px;
    text-align: center;
    display: grid;
    gap: 20px;
}

.firma {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #c5a059;
    font-size: 22px;
}

.biografia {
    max-width: 800px;
    margin: auto;
    text-align: center;
    display: grid;
    gap: 20px;
}

.biografia img {
    width: 100px;
    margin: auto;
}

.legal {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.legal ul {
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.video {
    max-width: 500px;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.inicio {
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        var(--imagenFondo);
    overflow: hidden;
}

body.inicio header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

body.inicio footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

body.inicio main .contenedor {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.portada {
    /* margin-top: 10%; */
    width: 50%;
}

.portada h1 {
    font-size: 44px;
    color: #fff;
}

.portada h2 {
    font-size: 68px;
    color: #c5a059;
}

body.otro {
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        var(--imagenFondo);
}

/* --- CALENDARIO DINÁMICO SESIONES --- */
.calendario-ui {
    /* background: var(--color-fondo-blanco, #ffffff); */
    border: 1px solid #c5a059;
    border-radius: 10px;
    padding: 10px;
}

.calendario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: capitalize;
}

.calendario-header button {
    background: none;
    border: 1px solid #c5a059;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    color: #fff;
}

.calendario-header button:hover {
    border-color: #fff;
}

.calendario-dias-semana {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.dia-item {
    padding: 10px 0;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: 0.2s;
}

.dia-item.activo {
    cursor: pointer;
    background: none;
    border: 1px solid #c5a059;
}

.dia-item.activo:hover {
    border-color: #fff;
}

.dia-item.seleccionado {
    background: #c5a059;
    color: #fff !important;
}

.dia-item.bloqueado {
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}

/* --- HORAS DISPONIBLES --- */
.horas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
}

.hora-item {
    border: 1px solid #c5a059;
    padding: 10px 5px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

.hora-item:hover {
    border-color: #fff;
}

.hora-item.seleccionada {
    background: #c5a059;
    color: #fff;
}

.mensaje-empty {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    font-style: italic;
    padding: 10px;
}