/* ========================== */
/* ?? PALETA DE COLORES SECOLAB */
/* ========================== */
:root {
  --blanco-secolab: #ffffff;
  --principal-secolab: #0F4752;  /* Azul petróleo */
  --acento-secolab: #4bb78a;     /* Verde menta */
  --detalle-secolab: #29b9ca;    /* Cian brillante */
}

/* ========================== */
/* ??? HERO PRINCIPAL CON IMAGEN Y OVERLAY */
/* ========================== */
.hero-img {
  position: relative;
  background: url('../img/index.webp') center center / cover no-repeat;
  height: 90vh;
  padding-top: 80px;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-img .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 71, 82, 0.7);
  z-index: 1;
}

.hero-img .container {
  z-index: 2;
  position: relative;
}

.hero-img h1,
.hero-img p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* ========================== */
/* ?? HERO ALTERNATIVO CON DEGRADADO */
/* ========================== */
.hero-secolab {
  background: linear-gradient(135deg, var(--acento-secolab), var(--detalle-secolab), var(--principal-secolab));
  padding: 100px 0 80px;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
  position: relative;
}

.hero-secolab .text-highlight {
  background-color: rgba(15, 71, 82, 0.7);
  padding: 0 6px;
  border-radius: 4px;
}

.hero-secolab p {
  font-size: 1.1rem;
  color: #f0f0f0;
}

.hero-secolab .btn-primary {
  background-color: var(--principal-secolab);
  border: none;
}

.hero-secolab .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
}

.hero-secolab .btn-outline-light:hover {
  background-color: #fff;
  color: var(--principal-secolab);
}

/* Responsive HERO */
@media (max-width: 768px) {
  .hero-secolab {
    clip-path: none;
    padding: 60px 0;
  }

  .hero-img {
    height: auto;
    padding: 60px 0;
  }
}

/* ========================== */
/* ?? BOOTSTRAP OVERRIDES */
/* ========================== */
.text-primary {
  color: var(--principal-secolab) !important;
}

.text-success {
  color: var(--acento-secolab) !important;
}

.bg-dark {
  background-color: var(--principal-secolab) !important;
}

/* ========================== */
/* ?? MENÚ DE NAVEGACIÓN */
/* ========================== */
.logo-menu {
  height: 45px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.navbar {
  padding: 10px 0;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--principal-secolab);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--acento-secolab);
}

.navbar-toggler {
  border-color: var(--detalle-secolab);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' fill='%2329b9ca' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(15,71,82,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================== */
/* ?? SECCIONES BASE */
/* ========================== */
.seccion {
  padding: 60px 0;
}

.seccion h2 {
  font-size: 2rem;
  color: var(--principal-secolab);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.seccion p {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  font-size: 1.1rem;
  color: #444;
}

/* ========================== */
/* ?? SERVICIOS DESTACADOS */
/* ========================== */
.servicio-card {
  display: block;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.servicio-card:hover {
  background-color: var(--acento-secolab);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.servicio-card h2.servicio-titulo {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 15px;
  color: inherit;
}

.servicio-card p {
  font-size: 0.95rem;
  margin-top: 10px;
}

.servicio-icono {
  max-width: 60px;
  height: auto;
  margin-bottom: 10px;
}

/* Responsive SERVICIOS */
@media (max-width: 576px) {
  .servicio-icono {
    max-width: 40px;
  }

  .servicio-card h2.servicio-titulo {
    font-size: 1rem;
  }

  .servicio-card p {
    font-size: 0.9rem;
  }
}

/* ========================== */
/* ? VENTAJAS Y LISTAS */
/* ========================== */
.ventajas-secolab {
  background-color: #f7faf9;
  padding: 80px 0;
}

.ventajas-secolab h2 {
  font-size: 2.2rem;
  color: var(--principal-secolab);
}

.ventajas-secolab h6 {
  font-size: 1rem;
  color: var(--detalle-secolab);
}

.lista-ventajas {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-ventajas li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.lista-ventajas i {
  color: var(--acento-secolab);
  margin-right: 10px;
  font-size: 1.3rem;
}

/* ========================== */
/* ?? ENLACES */
/* ========================== */
.enlace-verde {
  display: inline-block;
  color: var(--detalle-secolab);
  font-weight: 500;
  text-decoration: none;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.enlace-verde:hover {
  color: var(--acento-secolab);
}

/* ========================== */
/* ?? BANNER PÁGINAS */
/* ========================== */
.banner-nosotros {
  height: 280px;
  background: url('../img/baner-pages.webp') center center/cover no-repeat, linear-gradient(to right, var(--acento-secolab), var(--detalle-secolab));
  background-blend-mode: overlay;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ========================== */
/* ?? TARJETAS DE PARÁMETROS */
/* ========================== */
.parametro-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  height: 100%;
  transition: all 0.3s ease;
  text-align: left;
}

.parametro-card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.parametro-card h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--principal-secolab);
  margin: 0;
}

.parametro-card p {
  font-size: 0.95rem;
  color: #333;
}

.icono-parametro {
  color: var(--detalle-secolab);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ========================== */
/* ?? EQUIPO SECOLAB */
/* ========================== */
.equipo-secolab {
  padding: 80px 0;
  background-color: #ffffff;
}

.equipo-secolab h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--principal-secolab);
}

.equipo-secolab .subrayado-verde {
  background-color: var(--acento-secolab);
  color: #fff;
  padding: 4px 12px;
  display: inline-block;
  font-weight: 700;
  border-radius: 3px;
}

.equipo-secolab .card-miembro {
  text-align: center;
  border: none;
  background-color: transparent;
}

.equipo-secolab .card-miembro img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid transparent;
  background-image: linear-gradient(white, white),
                    linear-gradient(to right, var(--acento-secolab), var(--detalle-secolab));
  background-origin: border-box;
  background-clip: content-box, border-box;
  padding: 3px;
  margin-bottom: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.equipo-secolab h5 {
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #222;
}

.equipo-secolab p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .equipo-secolab .card-miembro img {
    width: 100px;
    height: 100px;
  }

  .equipo-secolab h5 {
    font-size: 1rem;
  }

  .equipo-secolab p {
    font-size: 0.85rem;
  }
}

/* ========================== */
/* ?? FOOTER */
/* ========================== */
.footer-secolab {
  background-color: #fff;
  color: #333;
  font-size: 0.95rem;
}

.footer-secolab h5 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--principal-secolab);
  font-weight: 600;
}

.footer-secolab a {
  color: var(--principal-secolab);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-secolab a:hover {
  color: var(--acento-secolab);
}

.footer-separator {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--acento-secolab), var(--detalle-secolab));
  margin-bottom: 2rem;
  border-radius: 2px;
}

.logo-footer {
  max-width: 140px;
  height: auto;
}

@media (max-width: 767px) {
  .logo-footer {
    margin-bottom: 1rem;
  }
}
.imagen-intro {
  max-width: 480px;
  max-height: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
