* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #EAE5DF;
}

/* ------------ TIPOGRAFÍA ------------ */
a {
    cursor: pointer;
    cursor: pointer;
}

h1 {
    font-size: 80px;
    line-height: 140%;
    color: white;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
}

h2 {
    font-size: 40px;
    line-height: 140%;
    color: black;
    font-family: 'Libre Baskerville', serif;
}

h3 {
    font-size: 18px;
    line-height: 170%;
    color: black;
}

p,
a,
li,
span {
    font-size: 18px;
    line-height: 170%;
    color: black;
    font-family: 'Quicksand', sans-serif;
}

/* ------------ FINAL PREGUNTAS FRECUENTES ------------ */
/* ------------ SECCIÓN Y CONTENEDOR  ------------ */
section {
    margin-top: 100px;
    display: flex;
    justify-content: center;
}

.contenedor-seccion {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

/* ------------ FINAL SECCIÓN Y CONTENEDOR ------------ */
/* ------------ NAVEGACIÓN ------------ */
nav {
    width: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    margin-top: 40px;
    z-index: 2;
}

nav ul {
    display: flex;
    flex-direction: row;
    gap: 40px;
    background-color: white;
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.25);
}

ul li {
    list-style: none;
}

nav a {
    text-decoration: none;
}

/* ------------ FINAL NAVEGACIÓN ------------ */
/* ------------ CABECERO ------------ */
header {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    background-image: url('../fondoheader.jpg');
}

header p {
    color: white;
    margin-bottom: 50px;
    margin-top: 16px;
    font-size: 32px;
}

header button {
    background-color: #BDD7F8;
    border-radius: 20px;
    padding: 15px 40px;
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 24px;
}

/* ------------ FINAL CABECERO ------------ */
/* ------------ CARACTERÍSTICAS ------------ */
.columnas-caracteristicas {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.columna {
    display: flex;
    gap: 50px;
}

.columna img {
    width: 35%;
    object-fit: cover;
    aspect-ratio: 4/5;
    border-radius: 25px;
}

.texto-caracteristica {
    width: 100%;
    display: flex;
    gap: 25px;
    align-items: center;
}

.contenedor-caracteristicas {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.p1-caracteristica {
    font-family: 'Quicksand', sans-serif;
    font-size: 24px;
    font-weight: 500;
}

.contenedor-textocaracteristicas {
    width: 100%;
}

.texto-caracteristica svg,
.texto-caracteristica img {
    max-width: 55px;
    object-fit: contain;
}

/* ------------ FINAL CARACTERÍSTICAS ------------ */
/* ------------ UBICACIÓN ------------ */
.seccion-ubicacion .contenedor-seccion {
    height: 470px;
}

.seccion-ubicacion iframe {
    border: none;
    border-radius: 25px;
}

iframe {
    width: 100%;
    height: 100%;
}

/* ------------ FINAL UBICACIÓN ------------ */
/* ------------ GALERÍA ------------ */
.imgprincipal-galeria {
    width: 100%;
    aspect-ratio: 3/1.2;
}

.seccion-galeria img {
    border-radius: 25px;
    object-fit: cover;
}

.galeria-deslizable {
    width: 100%;
    overflow: scroll;
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.galeria-deslizable img {
    width: 100%;
    display: block;
    height: auto;
}

.galeria-deslizable::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* ------------ FINAL GALERÍA ------------ */
/* ------------ OPINIONES ------------ */
.contenedor-opiniones {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6%;
    row-gap: 50px;
}

.opinion {
    padding: 30px;
    border-radius: 25px;
    border: 1px solid #000000;
    width: 41%;
}

.opinion .nombreyfecha-opinion {
    font-weight: 700;
}

/* ------------ FINAL OPINIONES ------------ */
/* ------------ PREGUNTAS FRECUENTES ------------ */
.accordion {
    width: 100%;
    font-family: 'Quicksand', sans-serif;
}

.accordion-item {
    background-color: #fff;
    color: #111;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

.accordion-item-header {
    padding: 20px;
    line-height: 1.25rem;
    font-weight: bold;
    display: flex;
    position: relative;
    cursor: pointer;
    align-items: center;
}

.accordion-item-header::after {
    font-size: 2rem;
    position: absolute;
    right: 1rem;
}

.accordion-item-header.active::after {
}

.accordion-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
    padding: 1rem;
    line-height: 1.5rem;
}

.contenedor-preguntas {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ------------ FINAL PREGUNTAS FRECUENTES ------------ */
/* ------------ FORMULARIO ------------ */
.contenedor-formulario {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ------------ FINAL FORMULARIO ------------ */
/* ------------ PIE DE PÁGINA ------------ */
footer {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #242424;
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

footer .contenedor-seccion {
    gap: 25px;
}

footer h2,
footer p,
footer a {
    color: white;
    text-decoration: none;
}

footer ul {
    display: flex;
    gap: 40px;
}

/* ------------ FINAL PIE DE PÁGINA ------------ */
/* ------------ PG SOBRE NOSOTROS - TEXTO ------------ */
.texto-sobrenosotros .contenedor-seccion {
    align-items: flex-start;
}

/* ------------ FINAL PG SOBRE NOSOTROS - TEXTO ------------ */
/* ------------------------ VISTA MÓVIL ------------------------ */

@media screen and (max-width:764px) {
    h1 {
        font-size: 48px;
        width: 90%;
        text-align: center;
    }

    header p {
        font-size: 24px;
    }

    nav a {
        font-size: 15px;
    }

    nav ul {
        padding: 10px 20px;
    }

    .contenedor-seccion {
        width: 90%;
        gap: 25px;
    }

    h2 {
        font-size: 30px;
    }

    .p1-caracteristica {
        font-size: 18px;
    }

    .columna img {
        width: 100%;
    }

    .galeria-deslizable {
        gap: 25px;
    }

    footer ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}

/* ------------------------ VISTA MÓVIL Y TABLET ------------------------ */
@media screen and (max-width:1023px) {
    header p {
        width: 90%;
        text-align: center;
    }

    .columna {
        flex-direction: column;
        gap: 25px;
    }

    .imgprincipal-galeria {
        aspect-ratio: 3/2;
    }

    .opinion {
        width: 100%;
    }

    .columnas-caracteristicas {
        gap: 40px;
    }

    #columnainversa {
        flex-direction: column-reverse;
    }
}

/* ------------------------ TABLET ------------------------ */
/* ------------------------ VISTA ORDENADOR ------------------------ */
@media screen and (min-width:1024px) {
    #columnainversa {
        flex-direction: row-reverse;
    }
}

.seccion-caracteristicas-izq {
    margin-top: 80px;
}

@media screen and (max-width:1023px) {
    .seccion-caracteristicas-izq {
        margin-top: 40px;
    }
}

.fotoindividual {
    flex: 0 0 30%;
}

@media screen and (min-width:765px) and (max-width:1023px) {
    .fotoindividual {
        flex: 0 0 45%;
    }
}

@media screen and (max-width:764px) {
    .fotoindividual {
        flex: 0 0 70%;
    }
}

