/* Tipografía local: Avenir Next */
@font-face {
    font-family: 'Avenir Next';
    src: url('fonts/Avenir Next.ttf') format('truetype');
    font-weight: 100 700;
    font-style: normal;
  }
  
  /* General */
  body {
    margin: 0;
    padding: 0;
    font-family: 'Avenir Next', sans-serif;
    background-color: #ffffff;
    color: #333333;
    font-weight: 300; /* Light por defecto */
  }
  
/* Login */

.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(135deg, #f7f7f7, #eaeaea);
  font-family: 'Avenir Next', sans-serif;
}

.login-container {
  text-align: center;
  max-width: 300px;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.login-container h1 {
  font-weight: 100; /* Ultra Light */
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.login-container input {
  width: 100%;
  padding: 0.6rem 0.75rem; /* vertical, horizontal */
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-weight: 400;
  font-family: 'Avenir Next', sans-serif;
  box-sizing: border-box;
  text-align: left;
}
.login-container input:focus {
    border-color: #000;
  }

.login-container button {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 400;
  font-family: 'Avenir Next', sans-serif;
  transition: opacity 0.3s ease;
}

.login-container button:hover {
  opacity: 0.85;
}

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Navbar */
  nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  nav a {
    text-decoration: none;
    color: #333333;
    font-weight: 500; /* Medium */
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: #000000;
  }
  
  /* Sección Home */
  #home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
  }
  
  #home .logo {
    width: 200px;
    margin-bottom: 2rem;
  }
  
  #home h1 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 100; /* Ultra Light */
  }
  
  .contact-btn {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500; /* Medium */
    transition: opacity 0.3s ease;
  }
  
  .contact-btn:hover {
    opacity: 0.85;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    nav {
      flex-direction: column;
      gap: 1rem;
    }
  
    #home h1 {
      font-size: 1.2rem;
    }
  
    .contact-btn {
      padding: 0.6rem 1.2rem;
    }
  }

  /* Contacto */
  
  .contact-section {
    padding: 4rem 1rem;
    text-align: center;
    background-color: #ffffff;
  }
  
  .contact-section h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
  }
  
  #contactForm {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  #contactForm input,
  #contactForm textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
  }
  
  #contactForm button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }
  
  #contactForm button:hover {
    opacity: 0.85;
  }
  /* Intrabase */
.intrabase-section {
    background-color: #ffffff;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
  }
  
  .video-container {
    position: relative;
    max-width: 960px;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Botón Play */
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 2rem;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .play-button:hover {
    background: rgba(0, 0, 0, 0.9);
  }
  /* Products */
.products-section {
    padding: 4rem 1rem;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .products-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 500;
  }
  
/* Product cards base */
.product-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  /* Normal: texto a la izquierda, imagen a la derecha */
  .product-card:not(.reverse) {
    flex-direction: row;
    transform: translateX(-50px); /* entra desde la izquierda */
  }
  
  /* Reverse: imagen a la izquierda, texto a la derecha */
  .product-card.reverse {
    flex-direction: row-reverse;
    transform: translateX(50px); /* entra desde la derecha */
  }
  
  /* Cuando aparece en pantalla */
  .product-card.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Imagen del producto */
  .product-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
  }
  
  /* Texto del producto */
  .product-text {
    flex: 1;
  }
  
  .product-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
  }
  
  .product-text p {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .product-card,
    .product-card.reverse {
      flex-direction: column;
      text-align: center;
    }
  
    .product-image img {
      max-width: 100%;
    }
  }
  
  /* Clients */
.clients-section {
    padding: 4rem 1rem;
    background-color: #ffffff;
    text-align: center;
  }
  
  .clients-section h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
  }
  
  .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .client-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .client-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .client-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Modal y Contenidos */
  .modal-content.horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    width: 95%;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
  }
  
  .modal-slider-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }
  
  .slider-nav {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    transition: opacity 0.3s ease;
  }
  
  .slider-nav:hover {
    opacity: 0.7;
  }
  
  .slide-horizontal-container {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .slide {
    display: none;
    width: 100%;
    max-width: 800px;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  
  .slide.active {
    display: flex;
    animation: fadeIn 0.4s ease;
  }
  
  .slide img {
    width: 45%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .slide .text-content {
    width: 55%;
    text-align: left;
  }
  
  .slide .text-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
  }
  
  .slide .text-content p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
  }
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .modal-overlay.active {
    display: flex;
  }
  
  .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
 /* Animación base */
.product-card {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  /* Dirección normal: entra de izquierda */
  .product-card:not(.reverse) {
    transform: translateX(-50px);
  }
  
  /* Dirección invertida: entra de derecha */
  .product-card.reverse {
    transform: translateX(50px);
  }
  
  /* Cuando aparece en pantalla */
  .product-card.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  .team-section {
    padding: 4rem 1rem;
    background-color: #ffffff;
    text-align: center;
  }
  
  .team-section h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 3rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .team-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
  }
  
  .team-card:hover {
    transform: translateY(-5px);
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
  }
  
  .team-card h4 {
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .team-card p {
    font-size: 0.9rem;
    color: #555;
  }

  .dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .dot.active {
    background-color: #333;
    transform: scale(1.2);
  }