
/* Estilos generales de la página */

html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 110px;
}
body {
    background-color: #F7F6F2;
    color: #30343B;
    font-family: Arial, sans-serif;
}
header {
    background-color: #14253B;
    color: white;
    padding: 20px 35px;

    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
header h1 {
    text-align: center;
}

nav {
    text-align: center;
}

nav a {
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;

    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 3px;

    transition: all 0.3s ease;
}
nav a:hover {
    border-color: #D5BD91;
    color: #D5BD91;
}
main {
    margin: 30px;
    padding: 20px;
    border: 1px solid #D5BD91;
}
nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
#inicio {
    background:
        linear-gradient(
            rgba(20, 37, 59, 0.65),
            rgba(20, 37, 59, 0.65)
        ),
        url("../assets/images/fachada-estudio.jpg");

    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;

    color: white;
    min-height: 75vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 40px 20px;
    gap: 20px;
}
#inicio p:first-child {
    color: #D5BD91;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: bold;
}

#inicio h2 {
    font-family: 'Lato', sans-serif;
    font-size: 38px;
    font-weight: 500;

    text-decoration: underline;
    text-decoration-color: #D5BD91;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

#inicio p:last-child {
    font-size: 18px;
    color: #E0E3E8;
    max-width: 600px;
    line-height: 1.6;
}
.identidad {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo {
    border: 1px solid #D5BD91;
    color: #D5BD91;
    padding: 12px;
    font-size: 22px;
    font-weight: bold;
}

.nombre-estudio h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0;
    text-align: center;
}

.nombre-estudio p {
    color: #D5BD91;
    font-size: 14px;
    letter-spacing: 6px;
    text-align: center;
    margin: 8px 0 0;
}
.nombre-estudio p::before,
.nombre-estudio p::after {
    content: "";
    display: inline-block;
    width: 35px;
    height: 1px;
    background-color: #D5BD91;
    vertical-align: middle;
    margin: 0 12px;
}
.botones-inicio {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.botones-inicio a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 13px 24px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.boton-principal {
    background-color: #D5BD91;
    color: #14253B;
    border: 1px solid #D5BD91;
}

.boton-principal:hover {
    background-color: transparent;
    color: #D5BD91;
}

.boton-secundario {
    background-color: transparent;
    color: white;
    border: 1px solid #D5BD91;
}

.boton-secundario:hover {
    background-color: #D5BD91;
    color: #14253B;
}
#inicio .subtitulo-inicio {
    color: #D5BD91;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}
/* SECCIÓN NOSOTROS */


#nosotros {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 40px;
    background-color: #F7F6F2;
    padding: 100px 5%;
}

/* DISTRIBUCIÓN DE LAS TRES IMÁGENES */
.nosotros-imagenes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 235px);
    gap: 18px;
    align-items: center;
}

.nosotros-imagenes img {
    width: 100%;
    height: 235px;
    box-sizing: border-box;
    object-fit: cover;
    display: block;

    padding: 7px;
    border: 1px solid #D5BD91;
    border-radius: 3px;

    background-color: white;
    box-shadow: 0 4px 12px rgba(20, 37, 59, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* DIEGO */
.imagen-diego {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
}

/* UBA */
.imagen-uba {
    grid-column: 2;
    grid-row: 1;
}

/* DIPLOMA */
.imagen-diploma {
    grid-column: 2;
    grid-row: 2;
}

.nosotros-imagenes img:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 16px rgba(20, 37, 59, 0.16);
}

/* TEXTO */
.nosotros-contenido {
    max-width: 600px;
}

.subtitulo-nosotros {
    color: #B99B63;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.nosotros-contenido h2 {
    color: #14253B;
    font-family: 'Lato', sans-serif;
    font-size: 38px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #D5BD91;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
    margin-bottom: 25px;
}

.nosotros-contenido h3 {
    color: #30343B;
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}

.nosotros-contenido p {
    color: #30343B;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* VERSIÓN MÓVIL */
@media (max-width: 768px) {

    #nosotros {
        display: flex;
        flex-direction: column;
        padding: 55px 6%;
        gap: 30px;
    }

    .nosotros-contenido {
        order: 1;
        max-width: 100%;
    }

    .nosotros-imagenes {
        order: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 12px;
    }

    .nosotros-imagenes img {
        width: 100%;
        height: 145px;
        object-fit: cover;
        padding: 5px;
    }

    .imagen-diego {
        grid-column: 1;
        grid-row: 1;
    }

    .imagen-uba {
        grid-column: 2;
        grid-row: 1;
    }

    .imagen-diploma {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 50% !important;
        justify-self: center;
    }

    .nosotros-contenido h2 {
        font-size: 32px;
    }

    .nosotros-contenido h3 {
        font-size: 20px;
    }

    .nosotros-contenido p {
        font-size: 15px;
        line-height: 1.7;
    }
}


/* SECCIÓN PROFESIONALES */

#Profesionales {
    background-color: white;
    padding: 100px 8%;
}

#Profesionales h2 {
    width: 100%;
    color: #14253B;
    font-family: 'Lato', sans-serif;
    font-size: 38px;
    font-weight: 500;
    text-align: center;

    text-decoration: underline;
    text-decoration-color: #D5BD91;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;

    margin: 0 0 65px;
}

/* ESTILO GENERAL DE LOS INTEGRANTES */

.integrante {
    text-align: center;
}

.integrante img {
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px;
}

.integrante h3 {
    color: #14253B;
    font-family: 'Lato', sans-serif;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
}

.integrante .cargo {
    color: #B99B63;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.integrante .especialidad {
    color: #30343B;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

/* NIVEL 1: DIEGO */

.profesional-principal {
    display: flex;
    justify-content: center;
    margin-bottom: 65px;
}

.profesional-principal .integrante {
    width: 320px;
}

.profesional-principal img {
    height: 380px;
}

/* NIVEL 2: BAUTISTA Y DAMIÁN */

.profesionales-asociados {
    display: grid;
    grid-template-columns: repeat(2, 260px);
    justify-content: center;
    gap: 100px;
    margin-bottom: 65px;
}

.profesionales-asociados img {
    height: 300px;
}

/* NIVEL 3: CANDELA */

.profesional-junior {
    display: flex;
    justify-content: center;
}

.profesional-junior .integrante {
    width: 220px;
}

.profesional-junior img {
    height: 250px;
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 768px) {

    #Profesionales {
        padding: 70px 6%;
    }

    .profesional-principal .integrante {
        width: 100%;
        max-width: 320px;
    }

    .profesionales-asociados {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .profesionales-asociados img {
        height: 230px;
    }

    .profesional-junior .integrante {
        width: 200px;
    }
}

@media (max-width: 480px) {

    .profesionales-asociados {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profesionales-asociados .integrante {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ÁREAS DE PRÁCTICA */

#areas {
    background-color: #F7F6F2;
    padding: 100px 8%;
}

#areas h2 {
    color: #14253B;
    font-family: 'Lato', sans-serif;
    font-size: 38px;
    font-weight: 500;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #D5BD91;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
    margin-bottom: 60px;
}

.areas-contenedor {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.area {
    background-color: white;
    border: 1px solid #D5BD91;
    padding: 35px 20px;
    text-align: center;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.area:hover {
    transform: translateY(-8px);
    border-color: #B99B63;
    box-shadow: 0 8px 20px rgba(20, 37, 59, 0.10);
}
.area h3 {
    color: #14253B;
    font-family: 'Lato', sans-serif;
    font-size: 19px;
    font-weight: 600;
}
.icono-area {
    font-size: 35px;
    color: #B99B63;
    display: block;
    margin-bottom: 18px;

    transition: transform 0.3s ease;
}
.area:hover .icono-area {
    transform: scale(1.15);
}
/* SECCIÓN CONTACTO */

#contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.subtitulo-contacto {
    color: #D5BD91;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.contacto-informacion {
    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(20, 37, 59, 0.96) 0%,
            rgba(20, 37, 59, 0.82) 42%,
            rgba(20, 37, 59, 0.35) 100%
        ),
        url("../assets/images/Diego-Contacto.png");

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 25px 8%;
}

.contacto-informacion h2 {
    font-family: 'Lato', sans-serif;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 12px;
}

.texto-contacto {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.dato-contacto {
    padding: 20px 0;
    border-bottom: 1px solid rgba(213, 189, 145, 0.45);
    margin-bottom: 8px;
}

.dato-contacto:last-child {
    border-bottom: none;
}

.dato-encabezado {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.dato-encabezado i {
    color: #D5BD91;
    font-size: 27px;
}

.dato-encabezado h3 {
    color: #D5BD91;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    margin-bottom: 3px;
}
.dato-contacto:not(:last-child) {
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.dato-contacto p,
.dato-contacto a {
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 4px 0 0 55px;
}

.dato-contacto a {
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dato-contacto a:hover {
    color: #D5BD91;
}

.dato-contacto a[href*="google.com/maps"] {
    color: #D5BD91;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}


.contacto-formulario {
    background-color: #F7F6F2;
    padding: 35px 9%;
}
/* FORMULARIO DE CONTACTO */

.contacto-formulario h2 {
    color: #14253B;
    font-family: 'Lato', sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

#formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.campo-formulario {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.campo-formulario label {
    color: #30343B;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.campo-formulario input,
.campo-formulario textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #D5BD91;
    border-radius: 3px;
    background-color: white;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #30343B;
    outline: none;
    transition: border-color 0.3s ease;
}

.campo-formulario input:focus,
.campo-formulario textarea:focus {
    border-color: #14253B;
}

.campo-formulario textarea {
    resize: vertical;
}

.boton-enviar {
    background-color: #14253B;
    color: white;
    border: 1px solid #14253B;
    padding: 14px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.boton-enviar:hover {
    background-color: #D5BD91;
    border-color: #D5BD91;
    color: #14253B;
}
.contacto-encabezado {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px 30px;
    background-color: #F7F6F2;
}
.contacto-encabezado > p:first-child {
    color: #B99B63;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 5px;
    position: relative;
    top: 10px;
}

.contacto-encabezado h2 {
    color: #14253B;
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 6px;
}

.contacto-encabezado span {
    display: block;
    width: 65px;
    height: 2px;
    background-color: #D5BD91;
    margin: 0 auto 8px;
}

.contacto-encabezado .descripcion-contacto {
    color: #30343B;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    margin: 0;
}
.dato-contacto {
    margin-bottom: 14px;
}

.dato-contacto h3 {
    margin-bottom: 6px;
}
/* BOTÓN FLOTANTE DE WHATSAPP */

.whatsapp-flotante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.whatsapp-flotante i {
    width: 58px;
    height: 58px;

    background-color: #25D366;
    color: white;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 30px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);

    transition: transform 0.3s ease;
}

.whatsapp-flotante span {
    background-color: white;
    color: #30343B;
    padding: 9px 13px;
    border-radius: 5px;

    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-flotante:hover span {
    transform: translateX(-4px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
}
.whatsapp-flotante:hover i {
    transform: scale(1.08);
}
/* SEPARADORES ENTRE SECCIONES */

#nosotros,
#profesionales,
#areas {
    border-bottom: 1px solid #D5BD91;
    border-top: 1px solid #D5BD91;
}
#contacto {
    border-bottom: 1px solid #D5BD91;
}

.link-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D5BD91;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.link-maps:hover {
    color: white;
    text-decoration: underline;
}

.link-maps i {
    font-size: 16px;
}
@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 18px 12px;
        gap: 18px;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .logo h1 {
        font-size: clamp(25px, 6vw, 34px);
        white-space: normal;
    }

    nav {
        width: 100%;
        overflow-x: auto;
    }

    nav ul {
        display: flex;
        justify-content: flex-start;
        gap: 24px;
        width: max-content;
        margin: 0 auto;
        padding: 5px 12px;
        white-space: nowrap;
    }

    nav a {
        font-size: 14px;
    }
}
.integrante {
    background-color: #FFFFFF;
    border: 1px solid #D5BD91;
    border-radius: 5px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(20, 37, 59, 0.05);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.integrante:hover {
    transform: translateY(-5px);
    border-color: #B99B63;
    box-shadow: 0 9px 20px rgba(20, 37, 59, 0.12);
}

.integrante-imagen {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 3px;
    margin-bottom: 18px;
    background-color: #F7F6F2;
}

.integrante-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    
}
/* Título de profesionales */

/* Foto del fundador */
.profesional-principal .integrante-imagen {
    height: auto;
    overflow: visible;
}

.profesional-principal .integrante-imagen img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
