  /* RESET */
  body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #2C2C2C;
  }

  h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
  }

  /* HEADER */
  .header {
    background-color: #ffffff;
    padding: 10px 20px;
  }

  .header-content { 
    position: relative;
    display: flex;
    align-items: center;
  }

  /* menú centrado absoluto */
  .menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
  }

  /* LINKS */
  .menu a {
    text-decoration: none;
    color: #1E3A5F;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  /* HOVER */
  .menu a:hover {
    color: #2ECC71;
  }


  /* LOGO */
  .logo img {
    height: 150px; /* ajusta tamaño */
    object-fit: contain;
  }

  /* título */
  .header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #2ECC71;
  }

  /* subtítulo */
  .subtitulo-header {
    margin-top: 10px;
    max-width: 800px;
    font-size: 1rem;
    color: hwb(0 99% 1%);
  }
  /* SECCIÓN */
  .seccion {
    padding: 40px 20px;
  }

  /* TÍTULO */
  .titulo {
    text-align: center;
    font-size: 2rem;
    color: #1E3A5F;
    border-bottom: 2px solid #2ECC71;
    margin-bottom: 40px;
    letter-spacing: 2px;
  }

  /* CONTENEDOR */
  .contenedor {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* permite que bajen si no caben */
  }

  /* CARDS */
  .card {
    flex: 1 1 300px; /* mínimo 300px */
    background-color: #F5F7FA;
    padding: 25px;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* HOVER PRO */
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  /* TEXTO */
  .card h3 {
    color: #1E3A5F;
    margin-bottom: 10px;
  }

  .card p {
    flex-grow: 1;
    line-height: 1.5;
  }

  /* BOTÓN */
  .card button {
    background-color: #2ECC71;
    border: none;
    padding: 12px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
  }

  .card button:hover {
    background-color: #27ae60;
  }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    .contenedor {
      flex-direction: column;
    }
  }

  .visor-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  model-viewer {
    width: 700px;
    height: 400px;
    background-color: #f5f7fa00;
    border-radius: 10px;
  }

  /* Botones */
  .nav {
    background-color: #2ECC71;
    border: none;
    color: white;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
  }

  .nav:hover {
    background-color: #27ae60;
  }

  .descripcion {
    text-align: center;
    margin-top: 10px;
    color: #ffffff;
  }

  #visor3d {
    opacity: 1;
    transition: opacity 0.5s ease;
  }

  .fade-out {
    opacity: 0;
    filter: blur(5px);
  }


  .subtitulo {
    max-width: 800px;
    margin: 10px auto 30px auto; /* 👈 pegado al título pero con aire */
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
  }

  /* CONTENEDOR GENERAL */
  .empresa {
    background-color: #0E2940;
  }

  /* FLEX */
  .empresa-contenedor {
    display: flex;
    align-items: center;
  }

  /* MITADES */
  .empresa-texto,
  .empresa-carrusel {
    flex: 1;
  }

  /* TEXTO */
  .empresa-texto h2 {
    color: #1E3A5F;
    font-size: 2rem;
  }

  .empresa-texto p {
    margin-top: 15px;
    line-height: 1.6;
    color: #2C2C2C;
  }

/* CONTENEDOR */
.empresa-carrusel {
  overflow: hidden;
  width: 100%;
  height: 300px;
  position: relative;
}


  /* TRACK (la fila que se mueve) */
.carrusel-track {
  display: flex;
  width: calc(400px * 3); /* número de imágenes TOTAL */
  animation: scrollCarrusel 20s linear infinite;
}

/* IMÁGENES */
.carrusel-track img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
}

.empresa-carrusel::before,
.empresa-carrusel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.empresa-carrusel::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.empresa-carrusel::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

@keyframes scrollCarrusel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

  /* imagen visible */
  .empresa-carrusel img.activa {
    opacity: 1;
  }
  .empresa-texto{
      margin: 40px auto;      /* centra */
      padding: 0 20px;  
      text-align: center;      /* 👈 espacio en celulares */

  }

.descripcion-destacada {
    color: #edededed;
}

.brillo { 
    font-weight: 400; 
    line-height: 1.6;
    text-align: center;

    /* 🔥 TEXTO BASE */
    color: rgb(255, 255, 255);

    /* 🔥 GRADIENTE QUE SERÁ LA LUZ */
    background: linear-gradient(
      120deg,
      rgb(255, 255, 255) 0%,
      #2ECC71 40%,
      #ffffff 50%,
      #2ECC71 90%,
      rgb(255, 255, 255) 100%
    );

    background-size: 200% auto;

    /* 🔥 CLAVE: el fondo se aplica SOLO al texto */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: brilloTexto 8s linear infinite;
}

@keyframes brilloTexto {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}
@keyframes luzRecorriendo {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

  /* palabras clave */
  .resaltar {
    color: #2ECC71; /* verde corporativo */
    font-weight: 600;
  }

  /* Responsive */
  @media (max-width: 768px) {
    model-viewer {
      width: 100%;
      height: 300px;
    }
  }

  .descripcion-modelo {
    max-width: 900px;
    margin: 20px auto 0 auto;
    padding: 16px 20px;
    background-color: #F5F7FA;
    border-left: 3px solid #2ECC71;
    border-radius: 5px;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
  }

.badge {
  display: inline-block;
  background: rgba(46,204,113,0.15);
  color: #2ECC71;

  font-size: 14px;          /* 🔥 más grande */
  font-weight: 600;
  letter-spacing: 2px;

  padding: 8px 18px;       /* 🔥 más presencia */
  border-radius: 30px;

  margin-bottom: 15px;     /* espacio con el texto */

  text-transform: uppercase;
}