:root {
  --color-azul: #00609C;
  --color-naranja: #F47D30;
  --color-celeste: #00a8e8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* =======================
   HEADER
======================== */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background: white;
  height: 80px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left { display: flex; align-items: center; gap: 20px; }
.logo { height: 50px; }
.separator { width: 1px; height: 30px; background: #ccc; }
.menu-trigger { background: none; border: none; color: var(--color-azul); cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; }
.email-box { color: var(--color-azul); font-weight: bold; display: flex; align-items: center; gap: 8px; }
.email-box a { text-decoration: none; color: inherit; }
.email-box i { color: var(--color-celeste); font-size: 20px; }

/* =======================
   SIDEBAR + OVERLAY
======================== */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 1000;
}
.menu-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 300px; height: 100vh;
  background: white;
  z-index: 1001;
  padding: 40px 20px;
  transform: translateX(-100%);
  transition: 0.35s;
  box-shadow: 5px 0 15px rgba(0,0,0,0.1);
}
.sidebar.active { transform: translateX(0); }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 24px; cursor: pointer; color: #666; }
.sidebar-logo { width: 80%; margin-bottom: 30px; }
.social-icons { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; }
.social-icons a { background: var(--color-azul); color: white; width: 35px; height: 35px; display: flex; justify-content: center; align-items: center; border-radius: 4px; text-decoration: none; }

.nav-links ul { list-style: none; }
.nav-links li { margin-bottom: 15px; }
.nav-links a { text-decoration: none; color: var(--color-azul); font-weight: 500; display: flex; align-items: center; justify-content: space-between; }
.nav-links a.active { color: var(--color-naranja); }

.submenu { max-height: 0; overflow: hidden; transition: 0.3s; background: #f9f9f9; padding-left: 15px; }
.submenu.show { max-height: 300px; padding-top: 10px; }
.submenu li a { font-size: 14px; color: #666; }

/* =======================
   BANNER / HERO
   (cambia la imagen aquí)
======================== */
.page-hero{
  position: relative;
  width: 100%;
  height: 320px;
  background-image: url("clientes.jpg"); /* <-- cambia por tu banner de clientes */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
}

.page-hero__title{
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-hero__line{
  width: 90px;
  height: 4px;
  background: var(--color-naranja);
  margin-top: 12px;
  border-radius: 2px;
}

@media (max-width: 600px){
  .page-hero{ height: 240px; }
  .page-hero__title{ font-size: 28px; }
}

/* =======================
   FOOTER
======================== */
.main-footer {
  background-color: #003354;
  color: white;
  padding: 60px 5% 40px;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3 { font-size: 1.3rem; margin-bottom: 10px; }

.footer-line {
  width: 40px;
  height: 3px;
  background-color: var(--color-naranja);
  margin-bottom: 25px;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 20px 0;
  color: #cbd5e0;
}

.footer-social { display: flex; gap: 15px; }
.footer-social a {
  background: white;
  color: #003354;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
}
.footer-social a:hover { background: var(--color-naranja); color: white; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}
.footer-col ul li a:hover { color: white; padding-left: 5px; }

.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-item i { font-size: 1.5rem; color: #00a8e8; }
.contact-item .info span {
  display: block;
  font-size: 0.8rem;
  color: #00a8e8;
  text-transform: uppercase;
  font-weight: bold;
}
.contact-item .info p { font-size: 0.95rem; margin-top: 3px; }

/* Botón subir */
.scroll-top-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: #003354;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

@media (max-width: 900px) {
  .footer-container { grid-template-columns: 1fr; text-align: left; }
}

/* WhatsApp (si ya lo usas) */
.whatsapp-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.whatsapp-fixed:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}
@media (max-width: 600px) {
  .whatsapp-fixed {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}

/* =======================
   PROYECTOS DE INGENIERÍA (LOGOS)
======================== */
.clientes-logos{
  padding: 70px 5%;
  background: #fff;
}

.clientes-logos__wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.clientes-logos__title{
  color: var(--color-azul);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

/* Grid tipo tabla */
.clientes-logos__grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columnas como la imagen */
  border-top: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
}

/* Celdas */
.clientes-logos__item{
  height: 140px; /* altura de cada celda */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

/* Imagen dentro */
.clientes-logos__item img{
  max-width: 170px;
  width: 100%;
  max-height: 75px;
  height: auto;
  object-fit: contain;
}

/* Celdas vacías (si usas relleno) */
.clientes-logos__item--empty{
  background: #fff;
}

@media (max-width: 1024px){
  .clientes-logos__grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px){
  .clientes-logos__grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .clientes-logos__item{
    height: 120px;
  }
}
/* Imágenes con efecto clic para agrandar */
.ampliar-logos img {
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}










/* Efecto al hacer clic (agrandar) */
.ampliar-logos img.zoom-activo {
    transform: scale(1.4);
    filter: brightness(1.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 20;
    position: relative;
}
