:root {
    /* 🎨 Paleta principal */
    --fondo: #fcfcfc;
    --fondoSecundario: #eaeaf7;
    --texto: #333333;
    --encabezados: #2c3e50;
    --acento: #3bae9a;
    --acentoHover: #318575;

    /* ⚙️ Extras */
    --blanco: #ffffff;
    --grisClaro: #f7f7f7;

    /* ✍️ Tipografía */
    --fuentePrincipal: "Montserrat", sans-serif;
    --fuenteTitulos: "Poppins", sans-serif;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    background-color: rgb(237, 239, 240);
}
*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background-color: var(--fondo);
    font-size: 1rem;
    line-height: 1.5;
    font-family: var(--fuentePrincipal);
    color: var(--texto);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 85%;
    border-radius: 2rem;
    border: 2px solid var(--grisClaro);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    overflow: auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav {
    margin: 2rem 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4rem;
    padding: 0 1rem;
    background-color: #e7e2f7;
    border-radius: 5rem;
    max-width: 100%;
    max-height: 13rem;
}

.principal {
    display: flex;
    gap: 8rem;
    max-width: 120rem;
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
    flex-direction: row;
}
.principal__nosotros {
    max-width: 120rem;
    display: flex;
    flex-direction: column;
    margin: 2rem auto;
    text-align: left;
    
}


.principal__mision {
    
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 4rem;
    flex: 2;
    text-align: justify;
}

.bienvenida {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1,
h2,
h3 {
    text-align: left;
    color: var(--encabezados);
    font-family: var(--fuenteTitulos);
    margin-bottom: 2rem;
}

h1 {
    font-size: 4rem;
}
h2 {
    font-size: 3.2rem;
}
h3 {
    font-size: 2.4rem;
}

p {
    font-size: 2rem;
    text-align: justify;
}

/* Navegación */

.nav__link {
    font-family: var(--fuentePrincipal);
    text-transform: uppercase;
    font-size: 3rem;
    color: var(--encabezados);
    font-weight: 600;
}

.nav__link:hover {
    color: var(--acento);
}
.nav__logo {
    height: 15rem;
    margin-right: 0.5rem;
    border-radius: 50%;
}

/* Botones */
.boton {
    display: inline-block;
    background-color: var(--acento);
    color: var(--blanco);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.boton:hover {
    background-color: var(--acentoHover);
}

.img_ejemplo {
    background-color: var(--grisClaro);
    margin-top: 4rem;
    height: 80rem;
    width: auto;
    border-radius: 2rem;
}

.footer {
    background-color: #e7e2f7;
    width: 90%;
    text-align: center;
    border-radius: 3rem 3rem 1rem 1rem;
}
.footer__texto {
    font-size: 1.4rem;
    color: var(--texto);
    padding: 2rem 0;
    margin: 0;
}
/* Valores */
.valores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.valor {
    background-color: var(--blanco);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.valor:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2.5rem rgba(59, 174, 154, 0.15);
    border-color: var(--acento);
}

.valor__icono {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.valor__titulo {
    color: var(--encabezados);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--fuenteTitulos);
}

.valor__descripcion {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--texto);
    margin: 0;
}

/* Responsivo para valores */
@media (max-width: 768px) {
    .valores {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .valor {
        padding: 2rem 1.5rem;
    }
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--blanco);
    border-bottom: 1px solid var(--grisClaro);
    font-size: 1.6rem;
    flex-wrap: wrap;
    gap: 4rem;
}
.top-info {
    color: var(--encabezados);
    font-weight: 600;
}
.btn-cita {
    background: var(--acento);
    color: var(--blanco);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn-cita:hover {
    background: var(--acentoHover);
}

.contacto {
    flex: 2;
    background: var(--blanco);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
}

.contacto h2 {
    font-family: var(--fuenteTitulos);
    font-size: 2.8rem;
    color: var(--encabezados);
    margin-bottom: 1.5rem;
}

.contacto p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contacto iframe {
    border-radius: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    height: 30rem;
}

/*  Info contacto */
.info-contacto {
    flex: 1;
    background: var(--fondoSecundario);
    border-radius: 2rem;
    padding: 2.5rem;
    font-size: 1.8rem;
    box-shadow: inset 0 0 0.8rem rgba(0, 0, 0, 0.05);
}

.info-contacto p {
    margin: 1rem 0;
    font-weight: 500;
}

/*  Redes sociales */
.redes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.redes a {
    text-decoration: none;
    font-weight: bold;
    color: var(--encabezados);
    font-size: 1.6rem;
    transition: color 0.3s ease;
}
.redes a:hover {
    color: var(--acento);
}

