* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", "Segoe UI", sans-serif;
  background-color: #f0f0f0;
  color: #333;
  scroll-behavior: smooth;
}

/* ========== COLORES CORPORATIVOS ========== */
:root {
  --primary-blue: #003366;
  --secondary-blue: #0066cc;
  --bg-light: #f0f0f0;
  --white: #ffffff;
  --gray-light: #e0e0e0;
  --gray-item: #f9f9f9;
  --text-gray: #666666;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== NAVBAR ========== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--secondary-blue);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 32px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}

/* Logo como imagen PNG */
.logo {
  flex-shrink: 0;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: 0.2s;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--secondary-blue);
}

.btn-contacto-nav {
  background: var(--secondary-blue);
  color: white !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-contacto-nav:hover {
  background: var(--primary-blue);
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--secondary-blue);
}

/* ========== HERO BANNER ========== */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/slide03.jpg");
  background-size: cover;
  background-position: center;
  margin: 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.1) 0%,
    rgba(0, 102, 204, 0.1) 100%
  );
  z-index: 1;
}

.hero-banner-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.hero-badge {
  background: rgba(0, 102, 204, 0.9);
  display: inline-block;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 25px;
}

.hero-content-centered h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-highlight {
  color: #ffcc00;
  border-bottom: 3px solid var(--secondary-blue);
}

.hero-desc-centered {
  font-size: 1rem;
  color: white;
  margin: 20px auto;
  max-width: 600px;
  line-height: 1.6;
}

.hero-buttons-centered {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-primary {
  background: var(--secondary-blue);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--secondary-blue);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-outline:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* ========== EQUIPOS - TARJETAS CON IMAGEN ========== */
.equipos-seccion {
  padding: 70px 0;
  background: var(--white);
}

.section-tag {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--secondary-blue);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 50px;
}

.equipos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Tarjeta individual */
.equipo-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  width: 320px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.equipo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15);
}

/* Contenedor de la imagen */
.equipo-imagen {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f5f5f5;
}

.equipo-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.equipo-card:hover .equipo-imagen img {
  transform: scale(1.05);
}

/* Información de la tarjeta */
.equipo-info {
  padding: 20px;
}

.equipo-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 50px;
}

.equipo-info p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.equipo-tag {
  background: var(--secondary-blue);
  color: white;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.btn-small {
  background: transparent;
  border: 2px solid var(--secondary-blue);
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--secondary-blue);
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
}

.btn-small:hover {
  background: var(--secondary-blue);
  color: white;
  transform: translateY(-2px);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .equipos-grid {
    gap: 20px;
  }

  .equipo-card {
    width: 280px;
  }

  .equipo-imagen {
    height: 180px;
  }

  .equipo-info h3 {
    font-size: 1rem;
    min-height: auto;
  }

  .equipo-info p {
    font-size: 0.8rem;
  }
}

.btn-small {
  background: transparent;
  border: 2px solid var(--secondary-blue);
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--secondary-blue);
  cursor: pointer;
  transition: 0.2s;
}

.btn-small:hover {
  background: var(--secondary-blue);
  color: white;
}

/* ========== NOSOTROS / STATS ========== */
/* ========== NOSOTROS - SECCIÓN CORPORATIVA ========== */
.nosotros {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Elemento decorativo de fondo */
.nosotros::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.03) 0%,
    rgba(0, 102, 204, 0.05) 100%
  );
  transform: rotate(15deg);
  pointer-events: none;
}

.nosotros::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 40%;
  height: 150%;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 204, 0.03) 0%,
    rgba(0, 51, 102, 0.04) 100%
  );
  transform: rotate(-10deg);
  pointer-events: none;
}

.nosotros-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Badge superior */
.nosotros-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.badge-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0066cc, transparent);
}

.badge-text {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: #0066cc;
  font-weight: 600;
  text-transform: uppercase;
}

/* Header de la sección */
.nosotros-header {
  text-align: center;
  margin-bottom: 60px;
}

.nosotros-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.title-light {
  color: #666;
  font-weight: 600;
}

.title-highlight {
  color: #0066cc;
  font-size: 3rem;
  display: inline-block;
  margin: 0 5px;
  position: relative;
}

.title-highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0066cc, #003366);
  border-radius: 2px;
}

.nosotros-subtitle {
  color: #888;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Grid corporativo */
.nosotros-grid-corporate {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.nosotros-text-corporate {
  flex: 1;
  min-width: 280px;
}

.nosotros-descripcion {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 35px;
  text-align: justify;
}

.nosotros-descripcion strong {
  color: #003366;
  font-weight: 700;
}

/* Stats corporativos */
.nosotros-stats-corporate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-radius: 20px;
  padding: 25px 30px;
  margin-bottom: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.stat-corporate {
  text-align: center;
  flex: 1;
}

.stat-number-corporate {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #003366;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label-corporate {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e0e0e0;
}

/* Botones corporativos */
.nosotros-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-corporate {
  background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-corporate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-corporate-outline {
  background: transparent;
  border: 2px solid #0066cc;
  color: #0066cc;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-corporate-outline:hover {
  background: #0066cc;
  color: white;
  transform: translateY(-2px);
}

/* Imagen corporativa */
.nosotros-imagen-corporate {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.imagen-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.imagen-principal {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.imagen-wrapper:hover .imagen-principal {
  transform: scale(1.05);
}

.imagen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.imagen-wrapper:hover .imagen-overlay {
  opacity: 1;
}

.imagen-overlay i {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066cc;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.imagen-badge {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: linear-gradient(135deg, #0066cc, #003366);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.imagen-badge i {
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nosotros {
    padding: 50px 0;
  }

  .nosotros-title {
    font-size: 1.8rem;
  }

  .title-highlight {
    font-size: 2.2rem;
  }

  .nosotros-subtitle {
    font-size: 0.8rem;
  }

  .nosotros-grid-corporate {
    flex-direction: column;
    gap: 40px;
  }

  .nosotros-stats-corporate {
    padding: 20px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .stat-divider {
    display: none;
  }

  .stat-corporate {
    min-width: 100px;
  }

  .stat-number-corporate {
    font-size: 1.8rem;
  }

  .nosotros-buttons {
    justify-content: center;
  }

  .imagen-badge {
    bottom: -10px;
    right: 10px;
    padding: 6px 15px;
    font-size: 0.7rem;
  }
}

/* ========== SERVICIOS ========== */
.servicios {
  padding: 70px 0;
  background: #f5f5f5;
}

.servicios-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.servicio-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  width: 240px;
  transition: 0.3s;
  border-bottom: 3px solid var(--secondary-blue);
}

.servicio-card i {
  font-size: 2.5rem;
  color: var(--secondary-blue);
  margin-bottom: 15px;
}

.servicio-card h3 {
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.servicio-card p {
  font-size: 0.85rem;
  color: #666;
}

/* ========== CONTACTO ========== */
.contacto-section {
  padding: 70px 0;
  background: var(--white);
}

.contacto-flex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
  background: var(--gray-item);
  padding: 30px;
  border-radius: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.contact-form h3 {
  color: var(--primary-blue);
  margin-bottom: 20px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary-blue);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.logo-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
}

.logo-footer-img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-icons {
  margin: 20px 0;
  font-size: 1.5rem;
}

.footer-icons i {
  margin: 0 12px;
  cursor: pointer;
  transition: 0.2s;
}

.footer-icons i:hover {
  color: var(--secondary-blue);
}

/* ========== BOTÓN WHATSAPP ========== */
.btn-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #333;
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 880px) {
  .nav-links {
    display: none;
    position: static;
    transform: none;
    width: 100%;
    flex-direction: column;
    background: white;
    padding: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
  .hero {
    min-height: 50vh;
    margin: 15px;
  }
  .hero-content-centered h1 {
    font-size: 2rem;
  }
  .equipos-grid {
    gap: 20px;
  }
  .logo-img {
    height: 40px;
  }
  .logo-footer-img {
    height: 35px;
  }
}

@media (max-width: 480px) {
  .hero-content-centered h1 {
    font-size: 1.5rem;
  }
  .hero-desc-centered {
    font-size: 0.85rem;
  }
  .stats-container {
    flex-direction: column;
  }
}
