body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #003366;
}

header {
  position: fixed;      /* 🔥 se queda fijo arriba */
  top: 0;               /* se pega al borde superior */
  left: 0;
  width: 100%;          /* ocupa todo el ancho */
  z-index: 1000;        /* queda por encima de otros elementos */
  display: flex;
  justify-content: space-between; /* logo a la izquierda, menú a la derecha */
  align-items: center;
  padding: 1rem 2rem;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* opcional: sombra sutil */
}


header nav {
  flex: 1; /* ❌ ya no ocupa todo el espacio, solo lo necesario */
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end; /* links a la derecha */
  align-items: center;
  gap: 3rem; /* más aire entre links */
  margin-top: -60;
  padding: 0;
}

header nav ul li a {
  position: relative;
  text-decoration: none;
  color: #003366;
  font-weight: 600;
  padding-bottom: 6px;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #00509e;
}

/* Línea debajo del link activo */
nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #66a3cc; /* 👈 azul oscuro para que coincida con tu diseño */
  border-radius: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre imagen y texto */
  margin-left: 30px;
}

.logo img {
  height: 50px; /* ajustá según el tamaño que quieras */
}

.banner {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa toda la altura de la pantalla */
  overflow: hidden;
}

.swiper-slide {
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100vh;
  object-fit: cover; /* recorta y ajusta la imagen */
}

.overlay {
  position: absolute;
  top: 0;       /* pegado arriba */
  left: 0;
  width: 100%;  /* ocupa todo el ancho */
  height: 100%; /* ocupa toda la altura */
  background: rgba(0,0,0,0.4); /* capa oscura */
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;   /* centra horizontal */
  justify-content: flex-start; /* mantiene el texto arriba */
  text-align: center;

  padding-top: 10rem; /* espacio desde arriba */
}


.banner-text.medium {
  font-size: 2.2rem;   /* más grande que antes */
  font-weight: 600;
  margin: 0 0 15px;
}

.banner-text.large {
  font-size: 4rem;     /* el más grande y llamativo */
  font-weight: 800;
  margin: 0 0 20px;
}

.banner-text.small {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;         /* ✅ Semibold */
  font-size: 18pt;          /* ✅ tamaño */
  line-height: 1.4;         /* altura de línea */
  max-width: 60ch;          /* controla el ancho del párrafo */
  margin: 0 auto;           /* centrado horizontal si es necesario */
  display: -webkit-box;
  -webkit-line-clamp: 3;    /* ✅ fuerza a 3 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;  /* agrega "..." si sobra texto */
}



@media (max-width: 768px) {
  .banner-text.medium {
    font-size: 1.5rem;
  }
  .banner-text.large {
    font-size: 2.5rem;
  }
  .banner-text.small {
    font-size: 1rem;
  }
}

.banner-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background-color: #003f7f; 
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400; /* normal */
  text-decoration: none;
  border-radius: 10px; /* ✅ bordes redondeados pero rectangulares */
  transition: background 0.3s ease, transform 0.2s ease, font-weight 0.2s ease;
}

.banner-btn:hover {
  background-color: #00509e; /* un azul más claro al pasar encima */
  font-weight: 700;          /* ✅ se pone en bold */
  transform: translateY(-2px); /* efecto sutil de levantarlo */
}


.swiper-pagination {
  position: absolute !important;
  bottom: 30px;   /* distancia desde abajo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;    /* asegura que quede sobre la imagen y overlay */
  text-align: center;
}

.swiper-pagination-bullet {
  background: #fff;   /* puntos blancos */
  opacity: 0.7;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  background: #00509e; /* punto activo en azul */
  opacity: 1;
}

.sobre-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.sobre-nosotros,
.nuestro-enfoque {
  flex: 1;
  margin-bottom: 0;
  align-items: center;
  justify-content: center;
}

.sobre-nosotros h1,
.nuestro-enfoque h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 0.5rem;
}

.linea2 {
  display: block;
  width: 60px;
  height: 6px;
  background-color: #66a3cc;
  margin-bottom: 1.5rem;
  border-radius: 3px;
}

/* 🔹 Texto de Sobre Nosotros en azul */
.sobre-nosotros p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #003366;  /* azul */
}

.logos {
  display: flex;
  justify-content: center;
  align-items: left;
  gap: 3rem;         /* espacio entre logos */
  flex-wrap: wrap;   /* que bajen en pantallas chicas */
  margin-top: 1.5rem;
}

/* Estilos generales para todos los logos */
.logos img {
  object-fit: contain;
}

/* Estilos individuales (si querés afinar cada uno) */
.logo1 {
  height: 60px;
  max-width: 140px;
}
.logo2 {
  height: 60px;
  max-width: 160px;
}
.logo3 {
  height: 60px;
  max-width: 120px !important;
}
.logo4 {
  height: 70px;
  width: auto;
  max-width: 130px;
}



/* Estilos de enfoque */
.enfoque-item {
  display: flex;
  align-items: center;
  background-color: #b8d4e6;
  border: 0.5px solid #003366;
  border-radius: 50px;
  padding: 15px 25px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #003366;
}

.enfoque-item .check {
  margin-right: 15px;
  font-size: 1.5rem;   /* ≈32px */
  color: #003366;
}


/* ✅ Responsive */
@media (max-width: 992px) {
  .sobre-container {
    flex-direction: column;
    gap: 3rem;
  }
  .logos {
    flex-wrap: wrap;
    justify-content: center;
  }
  .logos img {
    height: 50px;
  }
}

@media (max-width: 600px) {
  .sobre-nosotros h1,
  .nuestro-enfoque h1 {
    font-size: 2rem;
    text-align: center;
  }

  .linea {
    margin: 0 auto 1.5rem auto;
  }

  .sobre-nosotros p {
    font-size: 1rem;
    text-align: center;
  }

.enfoque-item {
  display: flex;
  align-items: center;   /* centra icono con el texto */
  gap: 10px;             /* espacio entre icono y texto */
  font-size: 1rem;
  color: #003366;
  margin-bottom: 1rem;
  padding: 12px 18px;
  border: 2px solid #003366;
  border-radius: 50px;
  background: #e0eff9;   /* azul clarito */
}

/* Icono */
.enfoque-item .check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.enfoque-item .check img {
  width: 16px;    /* más chico */
  height: 16px;
  display: block;
}

}

.servicios {
  text-align: center;
  padding: 12rem 2rem !important;
  background-color: #f0f6fa; /* azul muy claro */
  margin: 0;
  min-height: 100vh;
}

.servicios .linea {
  display: block;
  width: 60px;
  height: 6px;
  background-color: #66a3cc;
  margin: 0 auto 3rem auto;
  border-radius: 3px;
}

.servicios2 {
  text-align: center;
  padding: 6rem 2rem;       /* más espacio arriba y abajo */
  background-color: #eaf3f9; /* azul muy claro */
}

.servicios2 h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #16325c;
  margin-bottom: 0.5rem;
  font-family: 'Raleway' sans-serif;
}

.servicios2 .linea {
  display: block;
  width: 60px;
  height: 4px;
  background: #66a3cc;
  margin: 0.5rem auto 2rem auto; /* centrada */
  border-radius: 2px;
}

.servicios2 p {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  color: #16325c;
  line-height: 1.6;
}

.servicios2 .certbox-buttons a {
  display: inline-block;
  background: #16325c;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.servicios2 .certbox-buttons a:hover {
  background: #1e4d8a;
}

/* Grid de servicios */
.service-grid {
  display: flex;
  justify-content: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* mantiene el botón alineado abajo */
  text-align: center;
  min-height: 250px; /* 🔹 altura mínima igual para todas */
}

.service:hover {
  transform: translateY(-5px);
}

.service i {
  font-size: 3rem;
  color: #00509e;
  margin-bottom: 1rem;
}

.service h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 1rem;
}

.service p {
  font-size: 1rem;
  color: #002244;
  line-height: 1.5;
  font-family: 'Raleway' sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.clientes {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #fff;
  margin-bottom: 12rem;
}

.clientes h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 0.5rem;
}

.clientes .linea {
 display: block;
  width: 60px;
  height: 4px;
  color: #66a3cc; /* mismo azul que el título */
  margin: 0.5rem auto 2rem auto;
  border-radius: 3px;
}

/* 🔹 Texto centrado con énfasis en azul */
.clientes p {
  font-size: 1.2rem;
  color: #003366;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.clientes p strong {
  font-weight: 700;
}

.clientes-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ 4 logos por fila */
  gap: 2rem;                             /* espacio entre logos */
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

.clientes-logos img {
  width: 160px;        /* 🔥 mismo ancho para todos */
  height: 80px;        /* 🔥 mismo alto para todos */
  object-fit: contain; /* mantiene proporción dentro del recuadro */
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}


/* Responsive: 2 columnas en móviles */
@media (max-width: 768px) {
  .clientes-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.extra-clientes {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.extra-clientes.mostrar {
  max-height: 500px; /* suficiente para mostrar los logos */
}

.btn-ver-mas {
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: #003366;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-ver-mas:hover {
  background-color: #005599;
}

contacto seccion/

.contacto {
  background-color: #e9f1f7 !important;
  padding: 4rem 2rem; /* 👈 más padding abajo */
  margin: 0;
  min-height: auto;
  max-height: auto;
}

#contacto {
  background-color: #f0f7fc !important;  /* fuerza el celeste */
  width: 100%;
  display: block;
  padding: 4rem 0;
  margin: 0;
}


.contacto-contenedor {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* 👈 hace que ambas columnas tengan el mismo alto */
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

/* Columna izquierda (formulario) */
.formulario {
  flex: 1;
}

.formulario h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 0.5rem;
}

.linea {
  display: block;
  width: 60px;
  height: 6px;
  background-color: #66a3cc;
  margin-bottom: 1.5rem;
  border-radius: 3px;
}

.formulario p {
  font-size: 1.1rem;
  color: #003366;
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-height: 150px;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

.certbox-buttons4 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start; /* ✅ alineado a la izquierda */
  margin-top: 2rem;
}

.certbox-buttons4 a {
  background: #003366;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.certbox-buttons4 a:hover {
  background: #005599;
  color: #fff !important;
}

/* Columna derecha (información) */
.info {
  flex: 1;
  background-color: #003366;
  color: #fff;
  padding: 1.5rem;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  border-radius: 20px 20px 20px 20px;
}

h2 a {
  text-decoration: none;
  color: inherit; /* mantiene el color del h2 */
}

h2 a:hover {
  color: #00509e; /* opcional: un color distinto al pasar el mouse */
}


.info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0; 
}

.info .linea {
  background-color: #66a3cc;
  margin-bottom: 1.5rem;
}

.info p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #e6e6e6;
}

.dato {
  display: flex;
  align-items: center; /* centra el ícono respecto al bloque */
  gap: 1rem;
} 

/* === Teléfonos en una sola línea === */
.telefonos {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.telefonos span::after {
  content: "|";
  margin: 0 0.2rem;
  color: #ffffff;
}

.telefonos span:last-child::after {
  content: ""; /* ✅ quita la barra después del último */
}


.dato i {
  font-size: 1.3rem;
  color: #66a3cc;
}

.info hr {
  border: none;
  border-top: 1px solid #66a3cc;
  margin: 1rem 0;
}

/* Responsive */
@media (max-width: 992px) {
  .contacto-contenedor {
    flex-direction: column;
  }
  .info {
    width: 100%;
  }
}

html {
  scroll-behavior: smooth;
}


.footer {
  background-color: #222; /* gris oscuro */
  color: #fff;
  padding: 2rem 1.5rem;
  font-family: 'Raleway', sans-serif;
  width: 100%;
  margin-top: 0;
}

.footer-container {
  max-width: 1200px;        /* ✅ mismo ancho que el resto de la web */
  margin: 0 auto;           /* centra el contenido */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;  /* ✅ alinea títulos y redes arriba */
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  height: 25px; /* ajustá según el tamaño real del logo */
  margin-bottom: 0.8rem;
  display:block;
  
}

.footer-left {
   flex: 1;
}

.footer-left p {
  text-align: left;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  max-width: 400px;
  font-weight: 400;
}

.footer-center h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: #ccc;
}

.social-icons {
  display: flex;
  justify-content: left;
  gap: 2.5rem;
}

.social-icons a {
  color: #ccc;
  font-size: 1.3rem;
  transition: color 0.3s ease
}

.social-icons a:hover {
  color: #66a3cc; /* azul al pasar el mouse */
}

.footer-right {
  flex: 1;
  text-align: center;
}

.footer-right p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #ccc;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-left p {
    margin: auto;
  }
}

/* ======= SERVICIOS ======= */
.banner-servicios .banner-imagen img {
  width: 100%;
  height: 60vh; /* visible 60% de alto */
  object-fit: cover;
  display: block;
}

.servicios {
  background: #e9f1f7; /* mismo color de fondo celeste suave */
  text-align: center;
  padding: 6rem 2rem !important;
}

.servicios h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a3763; /* azul fuerte */
  margin-bottom: 0.5rem;
}

.servicios .linea {
  display: block;
  width: 60px;
  height: 4px;
  color: #66a3cc; /* mismo azul que el título */
  margin: 0.5rem auto 2rem auto;
  border-radius: 3px;
}

.servicios p {
  max-width: 800px;
  margin: 0 auto 1rem auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a3763;
  font-weight: 550;
}

/* Imagen de fondo */
.banner-servicios {
  position: relative;
  width: 100%;
}

.banner-servicios .banner-imagen img {
  width: 100%;
  height: 60vh; /* ocupa 60% de la pantalla */
  object-fit: cover;
  display: block;
}



/* Caja superpuesta */

.caja-servicios {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  
  width: 600px; /* ✅ ancho igual para ambas */
  height: 575px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 2;

  margin-top: -80px;
}

.caja-servicios2 {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  
  width: 600px; /* ✅ ancho igual para ambas */
  height: 450px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 2;

  margin-top: -80px;
}

/* Caja superpuesta */
.caja-imagen {
  position: absolute;
  top: 50%;
  right: 50px;             /* 👈 ajusta la distancia al borde derecho */
  transform: translateY(-50%);
  
  width: 600px;             /* 👈 más ancha */
  height: 455px;           /* 👈 más corta */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 2;

  margin-top: -80px;
}

.caja-imagen img {
  width: 100%;
  height: 100%;             /* 👈 fuerza a llenar la caja */
  object-fit: cover;        /* 👈 recorta manteniendo proporción */
  display: block;
}

/* Caja superpuesta */
.caja-imagen2 {
  position: absolute;
  top: 50%;
  right: 50px;             /* 👈 ajusta la distancia al borde derecho */
  transform: translateY(-50%);
  
  width: 600px;             /* 👈 más ancha */
  height: 575px;            /* 👈 más corta */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 2;

  margin-top: -80px;
}

.caja-imagen2 img {
  width: 100%;
  height: 100%;             /* 👈 fuerza a llenar la caja */
  object-fit: cover;        /* 👈 recorta manteniendo proporción */
  display: block;
}

.caja-imagen3 {
  position: absolute;
  top: 50%;
  right: 50px; /* ajusta según diseño */
  transform: translateY(-50%);
  
  width: 600px;  /* ✅ mismo ancho que .caja-servicios */
  height: 575px; /* mantenés proporción vertical */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 2;

  margin-top: -80px;
}

.caja-imagen3 img {
  width: 100%;
  height: 100%;             /* 👈 fuerza a llenar la caja */
  object-fit: cover;        /* 👈 recorta manteniendo proporción */
  display: block;
}

.caja-servicios .icono {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
  margin-right: 8px;
}

.caja-servicios h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a3763;
  margin-bottom: 0.5rem;
}

.caja-servicios .linea {
  display: block;
  width: 60px;
  height: 3px;
  background: #66a3cc;
  margin-bottom: 1.5rem;
}

/* Lista */
.caja-servicios ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.caja-servicios li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}

.caja-servicios .icono svg,
.caja-servicios .icono img {
  width: 100%;
  height: 100%;
}

.caja-servicios li:last-child {
  border-bottom: none;
}

.caja-servicios2 .icono {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
  margin-right: 8px;
}

.caja-servicios p {
  margin: 0;
  font-size: 1rem;
  color: #1a3763;
  line-height: 1.5;
}

.caja-servicios p strong {
  font-weight: 700;
}


.caja-servicios2 h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a3763;
  margin-bottom: 0.5rem;
}

.caja-servicios2 .linea {
  display: block;
  width: 60px;
  height: 3px;
  background: #66a3cc;
  margin-bottom: 1.5rem;
}

/* Lista */
.caja-servicios2 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.caja-servicios2 li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}

.caja-servicios2 li:last-child {
  border-bottom: none;
}

.caja-servicios2 .icono {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
  margin-right: 8px;
}

.caja-servicios2 p {
  margin: 0;
  font-size: 1rem;
  color: #1a3763;
  line-height: 1.5;
}

.caja-servicios2 p strong {
  font-weight: 700;
}


/* ===== Estilo base (pantallas grandes hasta 2560px) ===== */
.caja-servicios,
.caja-servicios2,
.caja-imagen,
.caja-imagen2,
.caja-imagen3 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 575px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 2;
  margin-top: -80px;
}

.caja-servicios { left: 50px; background: #fff; padding: 2rem; }
.caja-servicios2 { left: 50px; background: #fff; padding: 2rem; height: 450px; }
.caja-imagen, .caja-imagen2, .caja-imagen3 { right: 50px; overflow: hidden; }

.caja-imagen img,
.caja-imagen2 img,
.caja-imagen3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Pantallas muy grandes (≥1920px hasta 2560px) ===== */
@media (min-width: 1920px) {
  .caja-servicios,
  .caja-servicios2,
  .caja-imagen,
  .caja-imagen2,
  .caja-imagen3 {
    width: 800px;
    height: 650px;
  }
}

/* ===== Laptops estándar (≤1440px) ===== */
@media (max-width: 1440px) {
  .caja-servicios,
  .caja-servicios2,
  .caja-imagen,
  .caja-imagen2,
  .caja-imagen3 {
    width: 500px;
    height: 500px;
  }
}

/* ===== Tablets horizontales (≤1024px) ===== */
@media (max-width: 1024px) {
  .caja-servicios,
  .caja-servicios2,
  .caja-imagen,
  .caja-imagen2,
  .caja-imagen3 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 20px auto;
    width: 90%;
    height: auto;
  }
}

/* ===== Tablets verticales y móviles grandes (≤768px) ===== */
@media (max-width: 768px) {
  .caja-servicios,
  .caja-servicios2,
  .caja-imagen,
  .caja-imagen2,
  .caja-imagen3 {
    width: 100%;
    margin: 10px 0;
    padding: 1.2rem;
  }
}

/* ===== Móviles (≤480px) ===== */
@media (max-width: 480px) {
  .caja-servicios,
  .caja-servicios2,
  .caja-imagen,
  .caja-imagen2,
  .caja-imagen3 {
    width: 100%;
    border-radius: 8px;
    padding: 1rem;
  }

  .caja-servicios h3,
  .caja-servicios2 h3 {
    font-size: 1.1rem;
  }

  .caja-servicios p,
  .caja-servicios2 p {
    font-size: 0.9rem;
  }
}




/* ======= OTROS SERVICIOS ======= */
.otros-servicios {
  text-align: center;
  padding: 4rem 0;         /* 🔹 padding lateral fuera, ya que ocupa todo el ancho */
  background: #fff;
  width: 100vw;            /* 🔹 ocupa todo el ancho */
  margin-top: 450px;
}

.otros-servicios h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #003366;          /* 🔹 igual al resto de secciones */
}

.otros-servicios .linea {
  display: block;
  width: 70px;
  height: 5px;
  background: #66a3cc;     /* 🔹 azul, no blanco */
  margin: 0.5rem auto 2rem auto;
  border-radius: 3px;
}

.otros-servicios-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.servicio-card {
  flex: 1;
  min-width: 320px;   /* más anchas en pantallas chicas */
  max-width: 500px;   /* aumenta el límite en pantallas grandes */
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}


.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(0,0,0,0.15);
}

.servicio-card i {
  font-size: 2.5rem;
  color: #66a3cc;
  margin-bottom: 1rem;
}

.servicio-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #003366;
}

.servicio-card a {
  color: #66a3cc;
  text-decoration: none;
  border-bottom: 1px solid #66a3cc;
  font-size: 0.95rem;
}

.servicio-card a:hover {
  color: #00509e;
  border-bottom-color: #00509e;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 992px) {
  .contenedor-servicios {
    flex-direction: column;
    margin-top: -40px;
  }
  .caja-imagen { height: 300px; }.certificaciones {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
}

.certificaciones h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a3763;
  margin-bottom: 0.5rem;
}

.certificaciones .linea {
  display: block;
  width: 60px;
  height: 4px;
  background: #1a3763;
  margin: 0 auto 1.5rem auto;
  border-radius: 3px;
}

.certificaciones p {
  max-width: 900px;
  margin: 0 auto 3rem auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a3763;
}

/* Grid de tarjetas */
.certificaciones-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 3rem auto; /* centra y da espacio inferior */
  padding: 0 1rem;
}

/* Card */
.certificaciones .card {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  background: #e0effa;
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.certificaciones .card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a3763;
  margin-bottom: 1rem;
}

.certificaciones .card p {
  font-size: 0.95rem;
  color: #1a3763;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Botones */
.certificaciones .botones {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.certificaciones .botones a {
  background: #1a3763;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: background 0.3s;
}

.certificaciones .botones a:hover {
  background: #0f2345;
}

  .otros-servicios-grid { flex-direction: column; align-items: center; }
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* 👈 evita scroll horizontal */
}

/* CERTIFIACIONES */
.banner-certificaciones {
  position: relative;
  width: 100%;
  text-align: center;
}

.banner-certificaciones .banner-imagen img {
  width: 100%;
  height: 50vh; /* altura del banner */
  object-fit: cover;
  display: block;
}

/* ===== SECCIÓN CERTIFICACIONES ===== */
.certi-section {
  padding: 4rem 2rem;
  background: #fff;
}

.certi-section .certi-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 0.5rem;
  text-align: center;
}

.certi-section .certi-line {
  display: block;
  width: 60px;
  height: 6px;
  background-color: #66a3cc;
  margin: 0 auto 2rem auto;
  border-radius: 3px;
}

.certi-section .certi-intro {
  font-size: 1.2rem;
  color: #003366;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
}

/* ===== SECCIÓN CERTIFICACIONES (aislada con certbox-) ===== */
/* ===== SECCIÓN CERTIFICACIONES (aislada con certbox-) ===== */
.certbox-section {
  padding: 4rem 2rem;
  background: #fff;
  margin-bottom: 3rem; /* separación con el footer */
}

.certbox-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 0.5rem;
  text-align: center;
}

.certbox-line {
  display: block;
  width: 60px;
  height: 6px;
  background-color: #66a3cc;
  margin: 0 auto 2rem auto;
  border-radius: 3px;
}

.certbox-intro {
  font-size: 1.2rem;
  color: #003366;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
}

/* GRID */
.certbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* TARJETA */
.certbox-card {
  background: #f9f9f9;
  border-radius: 12px;
  /* 👇 sombra ahora usa el mismo color que el header */
  box-shadow: 0 6px 15px rgba(77, 128, 179, 0.4);
  overflow: hidden;
  text-align: center; /* 👈 centra texto en toda la tarjeta */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* HEADER de tarjeta */
.certbox-card-header {
  background: #4d80b3;
  color: #fff;
  padding: 1.2rem;
  font-weight: bold;
  text-align: center;
}

.certbox-card-header h3 {
  font-size: 1.2rem;
  margin: 0;
}

/* CUERPO */
.certbox-card-body {
  padding: 1.5rem;
}

.certbox-card-body p {
  font-size: 1rem;
  color: #003366;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-align: center; /* 👈 asegura centrado */
}

/* BOTONES */
.certbox-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.certbox-buttons2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.certbox-buttons a {
  background: #003366;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;      /* ✅ bordes suavemente redondeados */
  font-weight: 400;        /* normal */
  font-size: 0.95rem;
  transition: background 0.3s ease, font-weight 0.2s ease, transform 0.2s ease;
}

.certbox-buttons2 a {
  background: #003366;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;      /* ✅ bordes suavemente redondeados */
  font-weight: 400;        /* normal */
  font-size: 0.95rem;
  transition: background 0.3s ease, font-weight 0.2s ease, transform 0.2s ease;
}


.certbox-buttons a:hover {
  background: #00509e;     /* ✅ azul más claro al pasar encima */
  font-weight: 700;        /* ✅ bold en hover */
  transform: translateY(-2px); /* opcional: efecto “levantar” */
}

.certbox-buttons a:hover {
  background: #6FA3CA;     /* ✅ azul más claro al pasar encima */
  font-weight: 700;        /* ✅ bold en hover */
  transform: translateY(-2px); /* opcional: efecto “levantar” */
}


/* BOTONES2 */
.certbox-buttons2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.certbox-buttons2 a {
  background: #003366;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.certbox-buttons2 a:hover {
  background: #005599;
  color: #fff !important;
}


/* === Popup === */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #f4f9fd; /* azul muy claro */
  padding: 3rem 2.5rem;
  border-radius: 12px;
  text-align: center;
  max-width: 600px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  animation: fadeIn 0.3s ease-in-out;
}

/* Ícono arriba */
.popup-icon {
  font-size: 4rem;
  color: #00509e;
  margin-bottom: 1rem;
}

/* Título */
.popup-content h2 {
  color: #003366;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Línea divisoria */
.popup-line {
  display: block;
  width: 60px;
  height: 4px;
  background-color: #66a3cc;
  margin: 0 auto 1.5rem auto;
  border-radius: 3px;
}

/* Texto debajo */
.popup-content p {
  color: #003366;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Aplica a todas las secciones que usás en el menú */
#inicio,
#nosotros,
#servicios,
#clientes,
#contacto {
  scroll-margin-top: 80px; /* ajustá al alto real de tu header */
}

/* Ajuste para mobile: header suele ser más alto */
@media (max-width: 768px) {
  #inicio,
  #nosotros,
  #servicios,
  #clientes,
  #contacto {
    scroll-margin-top: 140px; /* más espacio en pantallas chicas */
  }
}





