/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*AQUI EMPIEZA EL CENTRO*/
/* Contenedor Principal con Imagen de Fondo */
.nosotros-principal {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
  url('../img/localopticagavy.jpeg');/* Pon aquí la foto de tu local */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
    color: white;
    text-align: center;
    min-height: 80vh;
}

/* Círculo Blanco Superior */
.foto-circulo {
    margin-bottom: 30px;
}

.circulo-blanco {
    width: 280px;
    height: 280px;
    background-color: white;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Tipografía */
.nombre-optometrista {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 5px;
}

.cargo {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    color: #cecece;
    margin-bottom: 40px;
}

.biografia {
    max-width: 850px;
    margin: 0 auto;
}

.biografia p {
     font-family: 'Monserrat', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Sección Logo Inferior */
.logo-nosotros-footer {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.contenedor-logo-blanco {
    position: relative;
    max-width: 450px;
}

.logo-gavy-blanco {
    width: 100%;
    filter: brightness(0) invert(1); /* Vuelve el logo blanco */
}


/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .circulo-blanco {
        width: 200px;
        height: 200px;
    }

    .nombre-optometrista {
        font-size: 35px;
    }

    .biografia p {
        font-size: 17px;
    }

    .badge-azul-flotante {
        display: none; /* Se quita en móvil para evitar que se amontone */
    }

    .contenedor-logo-blanco {
        max-width: 80%;
    }
}
/*AQUI TERMINA EL CENTRO*/

.circulo-blanco {
    width: 280px;
    height: 280px;
    background-color: white;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Esto corta la imagen para que no se salga del círculo */
    border: 5px solid white; /* Opcional: un borde para que resalte */
}

.foto-perfil {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto evita que la foto se estire feo */
    border-radius: 50%;
}



