/* ===== Estilos generales ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #0e1a23;
    color: #fff;
    line-height: 1.6;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* ===== HEADER ===== */
.header {
    background: #0e1a23;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo a {
    font-size: 1.6rem;
    color: #00e6c3;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
  }
  
  /* NAV normal (escritorio) */
  .nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav a:hover {
    color: #00e6c3;
  }
  
  /* ===== MENU HAMBURGUESA ===== */
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
  }
  
  .menu-toggle span {
    width: 25px;
    height: 3px;
    background: #00e6c3;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 992px) {
    /* Mostrar icono hamburguesa */
    .menu-toggle {
      display: flex;
    }
  
    /* Ocultar menú inicialmente */
    .nav {
      position: absolute;
      top: 70px;
      right: 0;
      background: #09141c;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }
  
    .nav ul {
      flex-direction: column;
      align-items: center;
      gap: 25px;
      padding: 30px 0;
    }
  
    /* Mostrar menú cuando está activo */
    .nav.active {
      max-height: 300px; /* altura ajustable según cantidad de enlaces */
      border-top: 1px solid rgba(0,230,195,0.2);
    }
  
    /* Efecto animación al abrir */
    .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translateY(8px);
    }
    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translateY(-8px);
    }
  }
  
  /* ===== Hero Section ===== */
  .hero {
    background: #0e1a23;
    padding: 100px 0;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .hero-text {
    flex: 1 1 45%;
    max-width: 500px;
  }
  
  .hero-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
  }
  
  .hero-text span {
    color: #00e6c3;
  }
  
  .hero-text p {
    margin: 20px 0;
    font-size: 1.15rem;
    color: #cbd5e1;
  }
  
  .btn-principal {
    background: #00e6c3;
    color: #0e1a23;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .btn-principal:hover {
    background: #00bfa5;
    transform: translateY(-2px);
  }
  
  /* ===== HERO IMAGE ===== */
  .hero-image {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
  }
  
  .hero-image img {
    width: 100%;
    max-width: 550px; /* ✅ más grande pero controlado */
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  .hero-image img:hover {
    transform: scale(1.05);
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 992px) {
    .hero-content {
      flex-direction: column-reverse;
      text-align: center;
    }
  
    .hero-text {
      flex: 1 1 100%;
      max-width: 600px;
    }
  
    .hero-image img {
      max-width: 400px;
      margin-bottom: 20px;
    }
  }
  
  @media (max-width: 600px) {
    .hero-text h2 {
      font-size: 2rem;
    }
  
    .hero-image img {
      max-width: 300px;
    }
  }
  
  
  .btn-principal {
    background: #00e6c3;
    color: #0e1a23;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
  }
  
  
  /* ===== Clientes ===== */
  .clientes {
    background: #121f2b;
    padding: 60px 0;
    text-align: center;
  }
  
  .clientes h3 {
    color: #00e6c3;
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  
  .servicios-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .servicio {
    background: #0f1c26;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
  }
  
  .servicio .icon {
    font-size: 2rem;
    color: #00e6c3;
    margin-bottom: 15px;
  }
  
  .logos-clientes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
  }
  
  .logos-clientes img {
    height: 40px;
    opacity: 0.8;
  }
  
  /* ===== Footer ===== */
  .footer {
    background: #0e1a23;
    padding: 40px 0;
    text-align: center;
  }
  
  .footer-logo p {
    color: #00e6c3;
    font-size: 0.9rem;
  }
  
  .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
  }
  
  .footer-links a:hover {
    color: #00e6c3;
  }
  
  .copy {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #aaa;
  }
  /* ===== Contacto ===== */
.contacto {
    background: #101e29;
    padding: 80px 0;
    text-align: center;
  }
  
  .contacto-container {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .contacto h3 {
    color: #00e6c3;
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .contacto p {
    margin-bottom: 30px;
    color: #ddd;
  }
  
  #contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  #contact-form input,
  #contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #0e1a23;
    color: #fff;
    font-size: 1rem;
  }
  
  #contact-form textarea {
    height: 120px;
    resize: none;
  }
  
  #contact-form button {
    background: #00e6c3;
    color: #0e1a23;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  #contact-form button:hover {
    background: #00bfa5;
  }
  
  #form-status {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #00e6c3;
  }
  /* ===== SERVICIOS ===== */
.servicios {
    background: linear-gradient(180deg, #0e1a23 0%, #09141c 100%);
    padding: 100px 0;
    text-align: center;
  }
  
  .servicios h2 {
    color: #00e6c3;
    font-size: 2.4rem;
    margin-bottom: 10px;
  }
  
  .servicios .subtitulo {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 60px;
  }
  
  .servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
  }
  
  /* ===== TARJETA DE SERVICIO ===== */
  .servicio {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 230, 195, 0.15);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.4s ease;
    max-width: 340px;
  }
  
  .servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0, 230, 195, 0.25);
    border-color: rgba(0, 230, 195, 0.3);
  }
  
  /* ===== IMÁGENES DE SERVICIO ===== */
  .servicio-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .servicio-img img {
    width: 100%;
    max-width: 120px; /* 👈 Tamaño mediano controlado */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 230, 195, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .servicio:hover .servicio-img img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 230, 195, 0.3));
  }
  
  .servicio h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .servicio p {
    color: #9ad8cc;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .servicios {
      padding: 70px 20px;
    }
  
    .servicios h2 {
      font-size: 2rem;
    }
  
    .servicio {
      max-width: 100%;
    }
  
    .servicio-img img {
      max-width: 100px;
    }
  }

/* ===== MARCAS / TECNOLOGÍAS ===== */
.marcas {
    background: #09141c;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
  }
  
  .marcas h2 {
    color: #00e6c3;
    font-size: 2rem;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
  }
  
  /* ===== SLIDER BASE ===== */
  .slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 120px; /* ✅ altura fija para alinear todos los logos */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .slide-track {
    display: flex;
    align-items: center;
    animation: scroll 25s linear infinite;
    width: calc(220px * 12); /* ajusta si tienes más o menos logos */
  }
  
  .slide {
    flex: 0 0 220px; /* cada logo ocupa un mismo espacio */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* ===== LOGOS ===== */
  .slide img {
    max-width: 160px;     /* ✅ ancho máximo controlado */
    max-height: 80px;     /* ✅ altura máxima para que todos encajen */
    width: auto;
    height: auto;
    object-fit: contain;  /* mantiene proporciones */
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .slide img:hover {
    opacity: 1;
    transform: scale(1.08);
  }
  
  /* ===== ANIMACIÓN ===== */
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-220px * 6)); }
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .marcas h2 {
      font-size: 1.6rem;
    }
  
    .slider {
      height: 100px;
    }
  
    .slide {
      flex: 0 0 160px;
    }
  
    .slide img {
      max-width: 110px;
      max-height: 60px;
    }
  
    .slide-track {
      width: calc(160px * 12);
      animation: scroll 35s linear infinite;
    }
  
    @keyframes scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(calc(-160px * 6)); }
    }
  }
  
  /* Pausar animación al pasar el mouse */
  .slider:hover .slide-track {
    animation-play-state: paused;
  }
  /* ===== SOBRE NOSOTROS ===== */
.nosotros {
    background: linear-gradient(180deg, #0e1a23 0%, #09141c 100%);
    padding: 100px 0;
    color: #fff;
  }
  
  .nosotros-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
  }
  
  .nosotros-texto {
    flex: 1 1 50%;
  }
  
  .nosotros-texto h2 {
    font-size: 2.4rem;
    color: #00e6c3;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
  }
  
  .nosotros-texto p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 20px;
  }
  
  .nosotros-texto strong {
    color: #00e6c3;
  }
  
  .btn-principal {
    background: #00e6c3;
    color: #0e1a23;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
  }
  
  .btn-principal:hover {
    background: #00bfa5;
    transform: translateY(-2px);
  }
  
  /* Imagen */
  .nosotros-imagen {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .nosotros-imagen img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 230, 195, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .nosotros-imagen img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 230, 195, 0.3);
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 992px) {
    .nosotros-wrapper {
      flex-direction: column-reverse;
      text-align: center;
    }
  
    .nosotros-texto {
      flex: 1 1 100%;
    }
  
    .nosotros-imagen {
      flex: 1 1 100%;
      margin-bottom: 30px;
    }
  
    .nosotros-texto h2 {
      font-size: 2rem;
    }
  }
  /* Animación al aparecer */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }