* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}
:root {
    --primary-color: #0d6efd;
    --dark-bg: #121212;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
body {
font-family: Arial, Helvetica, sans-serif;
scroll-behavior: smooth;
}
h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: #222;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

.header {
    background-image: linear-gradient(rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.505)),
        url(img/0.0.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    min-height: flex;
    align-items: center;
}

.navbar-nav a {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar-dark .navbar-brand {
    color: #fff;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
    color: #000;
}

.w-100 {
    height: 100vh;
}

.navbar-toggler {
    padding: 1px 5px;
    font-size: 18px;
    line-height: 0.3;
}

.header-content {
    text-align: center;
}

.header-content h1 {
    font-size: 75px;
    line-height: 1000px;
    color: #f9fafc;
    text-transform: uppercase;
    margin-bottom: 25%;
}

.header-content p {
    font-size: 16px;
    color: #f9fafc;
    padding: 0 250px;
    margin-bottom: 25px;
}

.quienes {
    background-image: linear-gradient(rgba(65, 64, 64, 0),
            rgba(61, 61, 61, 0.848)),
        url(img/9.png);
   background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 95vh;
    min-height: flex;
    align-items: center;
    
}
.mb-4{
    padding: 45px;
}


.quienes-content {
    text-align: center;
}
.quienes p {
    max-width: 850px;      /* controla el ancho del texto */
    margin: 0 auto 40px;   /* centra horizontalmente */
    text-align: justify;   /* justifica el texto */
    line-height: 1.7;      /* mejora la lectura */
}
.quienes-content h2 {
    font-size: 55px;
    line-height: 15 0px;
    color: rgb(248, 248, 248);
    text-transform: uppercase;
    padding: 50px;
    margin-bottom: 25px;
}
.texto-justificado {
    text-align: justify;
}
.quienes .col-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Todos los títulos con misma altura */
.quienes .row h4 {
    min-height: 60px;           /* fuerza misma altura */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    text-align-last: center;    /* última línea centrada */
    margin-bottom: 10px;
}
.img-servicio {
    width: 260px;      /* mismo ancho */
    height: 210px;     /* misma altura */
    object-fit: cover; /* recorta sin deformar */
}

.txt-p {
    font-size: 25px;
    color: #141313;
    padding: 0 250px;
    margin-bottom: 40px;
}

.quienes-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.quienes-1 {
    padding: 0 20px;
}

.quienes-1 img {
    width: 275px;
}

.quienes-1 h3 {
    color: #944d4d;
    font-size: 25px;
    margin-bottom: 15px;
}
.section-padding {
    padding: 80px 0;
}
/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 1s ease-out;
}

/* Estilo para Imágenes */
.img-container {
    overflow: hidden;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.img-container img {
    transition: var(--transition);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Efecto hover profesional */
.card-item:hover img {
    transform: scale(1.1);
}

.card-item h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
    transition: var(--primary-color);
}

.card-item:hover h3 {
    color: var(--primary-color);
}

/* Tarjetas de contacto */
.contact-card {
    padding: 30px;
    background: rgb(243, 241, 241);
    border-radius: 15px;
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    background: rgb(236, 232, 232);
    transform: translateY(-10px);
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}







.services {
    background-image: linear-gradient(rgba(63, 63, 63, 0.438),
            rgba(35, 35, 35, 0.842)),
        url(img/12.png);
   background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    min-height: flex;
    align-items: center;
}

.services-content {
    text-align: center;
}
/* Hacer los h4 de la sección servicios color negro */
.services h3{
    color: #000000;
    font-size: 30px;
    font-weight: 600;
}
.services-content h2 {
    font-size: 70px;
    line-height: 70px;
    color: #fefeff;
    text-transform: uppercase;
    margin-bottom: 50px;
}
.mb-5{
    color: #0e0d0d;
    padding: 45px;
}

.services-content p {
    font-size: 20px;
    color: #f8f6f6;
    margin-bottom: 50px;
    padding: 0 100px;
}

.services-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.services-1 {
    padding: 0 100px;
}

.services-1 img {

    width: 500px;
    margin-bottom: 10px;
}

.services-1 h3 {
    color: #0f0f0f;
    font-size: 45px;
}
/* Centrar cada bloque completamente */
.services .col-lg-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.services .row .col-lg-6:last-child {
    margin-left: auto;
    margin-right: auto;
}

.services .row {
    row-gap: 80px;  /* separa verticalmente */
}
/* Hace que todas las columnas tengan misma estructura */
#servicios .col-lg-6 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Empuja la imagen hasta abajo */
#servicios .servicio-img {
    margin-top: auto;
    width: 100%;
    height: 250px;          /* altura uniforme */
    object-fit: cover;      /* evita deformación */
    border-radius: 10px;
}

/* Opcional: mejora visual */
#servicios h3 {
    min-height: 70px; /* ayuda a mantener alineación */
}

/* Centrar y limitar ancho del texto */
.services p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: justify;   /* justificado */
    line-height: 1.7;
}

.servicio-img {
    width: 100%;          /* se adapta al contenedor */
    max-width: 360px;     /* ancho uniforme */
    height: 240px;        /* altura fija para todas */
    object-fit: cover;    /* recorta sin deformar */
    border-radius: 12px;
    margin-top: 20px;
}


/* Centrar imágenes */
.services-img {
    display: block;
    margin: 20px auto 0 auto;
    max-width: 260px;
    width: 100%;
    height: auto;
}
.enfoque {
    background-image: linear-gradient(rgba(194, 190, 190, 0.195),
            rgba(255, 255, 255, 0)),
        url(img/13.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 97vh;
    min-height: flex;
    align-items: center;
}

/* Texto en negro */
.enfoque {
    color: #000;
}

/* Ajuste de títulos */

.enfoque h5,
.enfoque p {
    color: #000;
}

/* Animación en imágenes */
.img-enfoque {
    transition: all 0.4s ease;
    transform: scale(1);
    filter: grayscale(20%);
}

/* Efecto al pasar el mouse */
.img-enfoque:hover {
    transform: scale(1.1) rotate(2deg);
    filter: grayscale(0%);
}

/* Opcional: efecto tipo "flotante" */
.enfoque .col-12 {
    transition: transform 0.3s ease;
}

.enfoque .col-12:hover {
    transform: translateY(-5px);
}


.antecedentes {
    background-image: linear-gradient(rgba(130, 129, 129, 0.524),
            rgba(103, 102, 102, 0.811)),
        url(img/2.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
}

.antecedentes-content {
    text-align: center;
}

.antecedentes-content h2 {
    font-size: 70px;
    line-height: 70px;
    color: #070707;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.antecedentes-content p {
    font-size: 20px;
    color: #020202;
    margin-bottom: 50px;
    padding: 0 100px;
}

.antecedentes-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.antecedentes-1 {
    padding: 0 100px;
}

.antecedentes-1 img {

    width: 500px;
    margin-bottom: 10px;
}

.antecedentes-1 h3 {
    color: #eaccb3;
    font-size: 45px;
}



/* TEXTO RESPONSIVO */
img {
max-width: 100%;
height: auto;
}

h2 {
font-size: clamp(28px, 5vw, 55px);
}

p {
font-size: clamp(14px, 2vw, 18px);
}
/* AJUSTES MÓVIL */
@media (max-width: 768px) {

.navbar-nav {
text-align: center;
}

section {
padding: 60px 20px;
}
}



