@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:wght@400;500;700&family=Lexend:wght@300;400;500;600;700&display=swap');

/*VARIABLES, RESET Y CONFIGURACIONES GENERALES (A todo el sitio)*/

/*VARIABLES*/
:root {
    color-scheme: light;
    /* Colores */
    --color-primario: #5e17eb;
    --color-secundario: #50C878;
    --color-tercero: #eeba2b;
    --color-fondo: #F7F7FB;
    --color-texto: #222222;
    --color-texto-secundario: #555555;
    --color-titulo: #161616;
    --color-borde: #DDDDDD;
    --color-focus: #FFD54A;
    /* Tipografía */
    --fuente-textos: "Atkinson Hyperlegible Next", sans-serif;
    --fuente-titulos: "Lexend", sans-serif;
    /* Espaciados */
    --espacio-xs: .5rem;
    --espacio-sm: 1rem;
    --espacio-md: 1.5rem;
    --espacio-lg: 2rem;
    --espacio-xl: 3rem;
    /* Bordes */
    --radio: 14px;
    /* Sombras */
    --sombra-suave:
        0 4px 18px rgba(0, 0, 0, 0.349);
    --sombra-hover:
        0 12px 30px rgba(0, 0, 0, .15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    font-family: var(--fuente-textos);
    font-size: 1.12em;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/*IMÁGENES*/
figure {
    margin: 0;
}

img {
    border-radius: 6px;
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
.obra-teatro a,
.boton {
    font: inherit;
    cursor: pointer;
    background: none;
}

/*ACCESIBILIDAD*/
a,
button,
input,
textarea,
select,
.obra-teatro a,
.boton {
    min-height: 2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 4px solid var(--color-focus);
    outline-offset: 4px;
    border-radius: 8px;
}

/*TIPOGRAFÍA*/
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--fuente-titulos);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: .7em;
}

h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
}

h2 {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

span {
    font-weight: 600;
}

/*SCROLLBAR*/
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-secundario) transparent;
}

/*TABLAS*/
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th,
td {
    border: 1px solid var(--color-borde);
    padding: 1rem;
    text-align: left;
}

th {
    background: var(--color-primario);
    color: white;
}

/*PREFERENCIAS GLOBALES / MEDIAS GLOBALES*/
@media (prefers-color-scheme: dark) {
    body {
        background: #121212;
        color: #000000;
    }

    header {
        background: #5c18e5;
        margin-bottom: .5em;
    }

    .contenedor-obra,
    .contenedor-pelicula,
    .faq-item,
    .formulario-evento,
    .noticia,
    .informacion-obra {
        background: #1f1f1f;
        color: white;
    }

    input,
    textarea,
    select {
        background: #2d2d2d;
        color: white;
        border: 1px solid #555;
    }
}

/* Personas sensibles al movimiento */
@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* NOTEBOOK GENERAL */
@media (max-width:1200px) {
    body {
        font-size: 17px;
    }

    main,
    .header-contenido {
        width: min(96%, 1200px);
    }
}

/* TABLET GENERAL */
@media (max-width:992px) {
    body {
        font-size: 17px;
    }

    .scroll-horizontal {
        gap: 1.25rem;
    }
}



/*HEADER*/
header {
    position: sticky;
    top: 0;
    z-index: 9000;
    background: var(--color-primario);
    box-shadow: var(--sombra-suave);
}

.header-contenido {
    margin: 0 3em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

#logo {
    display: flex;
    align-items: center;
}

#logo img {
    width: 40%;
}

/*NAVEGACIÓN DESKTOP*/
nav {
    position: relative;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav li {
    display: flex;
}

nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .9rem 1.2rem;
    border-radius: 10px;
    transition: .25s;
    font-weight: 600;
    color: white;
}

nav a:hover {
    background: rgba(255, 255, 255, .12);
}

nav a:active {
    transform: scale(.97);
}

/*BOTÓN HAMBURGUESA*/
.menu-btn {
    display: none;
    width: 3em;
    height: 3em;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: .5em;
    cursor: pointer;
}

.btn-linea {
    width: 1.5em;
    height: 1.5em;
    background: #fff;
    border-radius: 999px;
    transition: .3s;
}

/*LAYOUT*/
main {
    width: 95%;
    margin: auto;
    padding: .51em;
}

section {
    margin-bottom: 4rem;
}

/*BOTONES GENERALES*/
.obra-teatro a,
.boton,
button,
input[type="submit"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .9rem 1.4rem;
    border-radius: 999px;
    background: var(--color-primario);
    color: white;
    font-weight: 700;
    transition: .25s;
}


.boton,
button:hover,
input[type="submit"]:hover {
    background: var(--color-secundario);
}

.boton,
button:active,
input[type="submit"]:active {
    transform: scale(.97);
}

/*MENÚ RESPONSIVE Y MEDIA DE LOGO GENERAL*/
/* Desktop */
.menu-fondo {
    display: flex;
}

@media (max-width:992px) {
    #logo img {
        width: 40%;
    }
}

/*CELULAR EN ESTRUCTURA DE NAVEGACIÓN Y HEADER*/
@media (max-width:768px) {
    header {
        padding: 0;
    }

    .header-contenido {
        padding: 1rem;
        margin: 0;
        width: 100%;

    }

    /*Botón hamburguesa-*/
    .menu-btn {
        display: flex;
        position: relative;
        z-index: 9002;
    }

    /*Menú lateral*/
    .menu-fondo {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--color-primario);

        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem;
        transform: translateX(100%);
        transition: .35s;
        z-index: 9000;
    }

    .menuVisible .menu-fondo {
        transform: translateX(0);
    }

    /*Links*/
    nav ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .8rem;
    }

    nav li {
        width: 100%;
    }

    nav a {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem;
        border-radius: 10px;
        font-size: 1rem;
    }
}

/*FOOTER*/
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background: #000000;
    color: white;
    padding: 1rem 2rem;
    margin-top: 4rem;
    text-align: center;
    font-size: .95rem;
}

footer p {
    max-width: 95%;
}

/* 1. INDEX */

.introduccion {
    background-color: #ffffff;
    padding: 3rem 2rem;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);

    display: block;
    margin: 4rem auto;
    width: 90%;
    max-width: 1200px;
}

.introduccion p {
    font-size: 1.4rem;
}

.intro,
.span-introduccion {
    color: var(--color-primario);
    font-weight: 700;
}

/*scroll horizontal*/
.scroll-horizontal {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

#obras-destacadas,
#recitales-destacados {
    background-color: var(--color-primario);
    padding: 2rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    color: var(--color-fondo);
}

.tema-contenedor {
    position: sticky;
    top: 0;
    z-index: 6000;
    padding: 1em 1em 0em 1em;
    margin-bottom: .7em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/*tarjetas*/
.contenedor-obra,
.contenedor-pelicula {
    flex: 0 0 340px;
    min-width: 25em;
    background: var(--color-superficie);
    border-radius: var(--radio);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition:
        transform .30s ease,
        box-shadow .30s ease;
    scroll-snap-align: start;
}

.contenedor-obra:hover,
.contenedor-pelicula:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-hover);
}

.tarjeta {
    position: relative;
    overflow: hidden;
}

.tarjeta figure {
    overflow: hidden;
}

.tarjeta img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    transition: transform .45s ease;
}

.tarjeta:hover img,
.tarjeta:focus-within img {
    transform: scale(1.08);
}

/*info hover*/
.info-hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .6rem;
    padding: 1.5rem;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .93),
            rgba(0, 0, 0, .60),
            rgba(0, 0, 0, .15));
    color: white;
    opacity: 0;
    transition: opacity .35s;
}

.tarjeta:hover .info-hover,
.tarjeta:focus-within .info-hover {
    opacity: 1;
}

.info-hover h3 {
    color: white;
    margin: 0;
}

.info-hover h4 {
    color: #f1f1f1;
}

.info-hover p {
    margin: 0;
}

.info-hover a {
    color: white;
    display: block;
    width: 100%;
    height: 100%;
}

/*director*/
.director {
    font-size: 1.5rem;
    font-style: italic;
    color: #DDDDDD;
}

.ultima-funcion {
    display: inline-flex;
    align-items: center;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: var(--color-secundario);
    color: #111;
    font-weight: 700;
    font-size: 1rem;
}

/*iconos accesibilidad*/
.accesibilidad-presente {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .8rem;
}

.accesibilidad-presente figure {
    width: 8em;
    height: 8em;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .35rem;
}

.accesibilidad-presente img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .accesibilidad-presente figure {
        width: 3.5rem;
        height: 3.5rem;
        padding: .4rem;
    }

    .accesibilidad-presente {
        gap: .4rem;
    }
}

.iconos-acceso {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.iconos-acceso img {
    width: 6rem;
}

/*boton ver todos*/
section>div:last-child {
    margin-top: 1.4rem;
}

section>div:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primario);
    color: white;
    padding: .9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    transition: .25s;
}

section>div:last-child a:hover {
    background: #4813ba;
    transform: translateY(-2px);
}

section>div:last-child a:active {
    transform: scale(.98);
}

/*noticias*/
.noticias {
    gap: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.contenedor-novedades {
    display: flex;
    flex-direction: column;
}

.contenedor-noticia {
    background: var(--color-fondo);
    border-radius: var(--radio);
    padding: 2rem;
    box-shadow: var(--sombra-suave);
    border-left: 8px solid var(--color-primario);
    transition: .30s;
    margin-bottom: 1em;
}

.contenedor-noticia:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-hover);
}

.contenedor-noticia h2 {
    margin-bottom: 1rem;
}

.contenedor-noticia p {
    color: var(--color-texto-secundario);
}

.contenedor-noticia a {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--color-primario);
    font-weight: 700;
}

.contenedor-noticia a:hover {
    text-decoration: underline;
}

.contenedor-noticia h4 {
    margin-top: .5em;
    font-size: smaller;
}

.contenedor-noticia img {
    width: 10em;

}

@media (max-width:992px) {

    .contenedor-obra,
    .contenedor-pelicula {
        min-width: 300px;
        flex-basis: 300px;
    }
}

/* 2.TEATRO*/

.calendario-funciones {
    background: white;
    padding: 2rem;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
    margin: 2rem 0;
}

.dias-calendario {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.dia {
    background: #f7f7fb;
    border: 2px solid var(--color-borde);
    border-radius: var(--radio);
    padding: 1rem;
    text-align: center;
}

.dia .numero {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    background: var(--color-tercero);
    color: white;
    font-weight: bold;
    margin-bottom: .8rem;
}

.dia.destacado {
    border-color: var(--color-secundario);
    background: #eefcf3;
}

.cartelera {
    margin-top: 1em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 90%
}

.obra-teatro {
    background: #ffffff;
    border-radius: var(--radio);
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--sombra-suave);
}

.obra-teatro figure {
    margin: -.7rem;
}

.obra-teatro figure img {
    width: 100%;
    height: auto;
    display: block;
}

.obra-teatro h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111111;
    margin-top: .6em;

}

.obra-teatro h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #292929;
    line-height: 1.3;
    margin-top: -.2em;
}

.obra-teatro>span {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-secundario);
    margin-bottom: 0.4rem;
}

.obra-teatro .accesibilidad-presente {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 0.4rem;
    padding-top: 0.8rem;
    border-top: 1px solid #eeeeee;

}

.obra-teatro .accesibilidad-presente figure {
    margin: 0;
    padding: 0;
    width: auto !important;
    height: auto !important;
    background: transparent;
    display: flex;
    align-items: center;
    overflow: visible;
}

.obra-teatro .accesibilidad-presente img {
    height: 8rem;
    object-fit: contain;
    display: block;
}

.obra-teatro img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.ver-mas {
    align-items: center;
    background-color: var(--color-fondo);
    border: 2px solid #000;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
}

@media (max-width:768px) {
    .cartelera {
        grid-template-columns: 1fr;
    }
}

/*3.CINE*/

.contenedor-cine {
    background: white;
    border-radius: var(--radio);
    padding: 2rem;
    box-shadow: var(--sombra-suave);
}

.funciones-hoy {
    background: white;
    padding: 2rem;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
    margin: 2rem 0;
}

.funciones-hoy h2 {
    margin-bottom: .5rem;
}

.funciones-hoy p {
    margin-bottom: 2rem;
    color: var(--color-texto-secundario);
}

.horarios {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.funcion {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #f8f8fc;
    padding: 1rem 1.5rem;
    border-left: 6px solid var(--color-primario);
    border-radius: 10px;
    transition: .25s;
}

.funcion:hover {
    transform: translateX(6px);
    box-shadow: var(--sombra-suave);
}

.hora {
    min-width: 2.3em;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primario);
}

.detalle-funcion {
    flex: 1;
}

.detalle-funcion h3 {
    margin-bottom: .2rem;
    font-size: 1.2rem;
}

.detalle-funcion p {
    margin: 0;
    color: var(--color-texto-secundario);
}

.tipo-acceso {
    background: var(--color-tercero);
    color: #111;
    padding: .45rem .9rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
    width: 4em;
}

/*4.RECITALES*/
.agenda-recitales {
    background: white;
    padding: 2rem;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
    margin: 2rem 0;
}

.agenda-recitales h2 {
    margin-bottom: .5rem;
}

.agenda-recitales p {
    margin-bottom: 2rem;
    color: var(--color-texto-secundario);
}

.agenda-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-borde);
    transition: .25s;
}

.calendario-funciones {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: var(--sombra-suave);
    margin: 2rem 0;
}

.dias-calendario {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.dia {
    background: #f7f7fb;
    border: 2px solid var(--color-borde);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.dia .numero {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    background: var(--color-tercero);
    color: white;
    font-weight: bold;
    margin-bottom: .8rem;
}

.dia.destacado {
    border-color: var(--color-secundario);
    background: #eefcf3;
}

.agenda-item:hover {
    transform: translateX(8px);
}

.fecha {
    width: 4em;
    min-width: auto;
    height: 4em;
    background: var(--color-tercero);
    color: white;
    border-radius: var(--radio);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mes {
    font-size: .85rem;
    letter-spacing: 1px;
}

.evento {
    flex: 1;
}

.evento h3 {
    margin-bottom: .2rem;
    font-size: 1.2rem;
}

.evento p {
    margin: 0;
    color: var(--color-texto-secundario);
}

/*5.LAS HIJAS*/
.banner-obra {
    padding: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    margin-top: 1em;
    margin-bottom: -1em;
}

.banner-obra img {
    width: 100%;
    height: auto;
    max-height: 15rem;
    object-fit: cover;
    border-radius: var(--radio);
}

.informacion-obra {
    background: white;
    border-radius: var(--radio);
    padding: 2rem;
    box-shadow: var(--sombra-suave);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.botones-atajo {
    display: flex;
    gap: var(--espacio-sm);
    flex-wrap: wrap;
    margin-top: var(--espacio-sm);
}

.audioguia-demo {
    background: var(--color-fondo);
    padding: var(--espacio-md);
    border-radius: var(--radio);
    margin-top: var(--espacio-md);
    border-left: 6px solid var(--color-primario);
}

.audioguia-demo h3 {
    margin-bottom: var(--espacio-xs);
}

.audioguia-demo audio {
    width: 100%;
    margin-top: var(--espacio-xs);
}

.galeria-red {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.galeria-red figure {
    overflow: hidden;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
    background: white;
}

.galeria-red img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.galeria-red figcaption {
    padding: 1rem;
    text-align: center;
}

.pasos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pasos article {
    background: white;
    padding: 2rem;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
}

.pasos h3 {
    color: var(--color-primario);
}

.audiodescripcion,
.subtitulos,
.acceso {
    background: white;
    padding: 2rem;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
}

.audiodescripcion ul,
.subtitulos ul,
.acceso ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.audiodescripcion li,
.subtitulos li,
.acceso li {
    margin-bottom: .7rem;
}

.opinion {
    min-width: 320px;
    background: white;
    padding: 2rem;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
}

@media (max-width:900px) {
    .banner-obra {
        grid-template-columns: 1fr;
    }

    .ficha-obra {
        padding: 1.5rem;
    }
}

@media (max-width:768px) {

    .cards-servicios,
    .pasos,
    .info-transporte {
        grid-template-columns: 1fr;
    }
}

/*6.LUMBRE*/
.banner-pelicula {
    width: 100%;
    margin-bottom: 2rem;
}

.banner-pelicula iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
}

@media (max-width:768px) {
    .banner-pelicula {
        margin-bottom: 1.5rem;
    }

    .banner-pelicula iframe {
        border-radius: 12px;
    }
}

/*7.VISITAS GUIADAS*/
.info-noticia,
.contenido-noticia {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.info-noticia {
    background: white;
    border-radius: var(--radio);
    box-shadow: var(--sombra-suave);
    margin-top: 2rem;
}

.emision {
    display: inline-block;
    color: var(--color-tercero);
    background: #f3efff;
    border-left: 4px solid var(--color-tercero);
    padding: .4rem .8rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1rem;
}

.info-noticia>p:nth-child(2) {
    color: var(--color-primario);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08rem;
    margin-bottom: 1rem;
}

.info-noticia h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.info-noticia>p:nth-of-type(3) {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.info-noticia figure,
.contenido-noticia figure {
margin: 2rem 0;
}

.info-noticia img,
.contenido-noticia img {
width: 100%;
display: block;
border-radius: var(--radio);
box-shadow: var(--sombra-suave);
}

.pie-foto {
    display: block;
    margin-top: .5rem;
    font-size: .9rem;
    color: #777;
    font-style: italic;
}

.contenido-noticia p {
line-height: 1.9;
margin-bottom: 1.6rem;
font-size: 1.05rem;
}

.cursiva {
    font-style: italic;
}

figure {
    overflow: hidden;
}

figure img {
    transition: .4s;
}

figure:hover img {
    transform: scale(1.02);
}

@media(max-width:768px) {

    .info-noticia,
    .contenido-noticia,
    main section:not(.header-contenido) {
        padding: 1.2rem;
    }

    .info-noticia h1 {
        font-size: 2rem;
    }

    .info-noticia>p:nth-of-type(3) {
        font-size: 1.05rem;
    }

    main section h3 {
        font-size: 1.5rem;
    }
}

/*8.PREGUNTAS*/

.faq-item {
    margin-bottom: 1rem;
    overflow: hidden;
    border-left: 6px solid var(--color-primario);
    border-radius: 15px;
}

.faq-pregunta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: rgb(229, 229, 250);
    border-radius: var(--radio);
    font-weight: 700;
    color: var(--color-titulo);
    text-align: left;
    border: none;
}

.faq-pregunta:hover {
    background: rgba(94, 23, 235, .06);
}

.faq-pregunta:focus-visible {
    outline: none;
}

.faq-respuesta {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-respuesta {
    display: block;
}

.icon {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform .3s ease;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/*9.SUGERENCIAS*/

.formulario-evento {
    width: 90%;
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.formulario-evento h2 {
    margin: 1.5em 0 .8em;
    color: var(--color-secundario);
}

.formulario-evento form {

    display: flex;
    flex-direction: column;
    gap: 1em;

}

.formulario-evento label {

    font-weight: bold;

}

.formulario-evento input,
.formulario-evento select,
.formulario-evento textarea {

    width: 100%;
    padding: .9em;

    border: 1px solid #ccc;

    border-radius: 8px;

    font-size: 1em;

    font-family: inherit;

}

.formulario-evento textarea {

    resize: vertical;

}

.importante {
    margin-top: 1.2em;
}