  /* -------------------------- */
  /* 1. Variables y Reset Básico */
  /* -------------------------- */
  :root {
      --primary-dark: #494949;
      --brand-red: #a90115;
      /* Color rojo principal */
      --brand-red-dark: #7a010f;
      --bg-light: #F5F6F7;
      --text-dark: #1F2937;
      --text-light: #F3F4F6;
      --gray-border: #D1D5DB;
      --white: #FFFFFF;
      --max-width: 1480px;
  }

  body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-light);
      color: var(--text-dark);
      margin: 0;
      padding: 0;
      line-height: 1.6;
  }

  h1,
  h2,
  h3 {
      font-weight: 800;
      line-height: 1.2;
      margin-top: 0;
  }

  .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 1.5rem;
  }

  a {
      text-decoration: none;
      cursor: pointer;
  }




  /* -------------------------- */
  /* 3. DIV Sección Hero */
  /* -------------------------- */
  .hero-div {
      background-color: var(--brand-red);
      background-image: radial-gradient(circle at 50% 50%, rgba(63, 143, 255, 0.15) 1%, transparent 70%), linear-gradient(to bottom, rgb(199 19 40), rgb(173 12 31));
      padding: 8rem 0;
      text-align: center;
      color: var(--text-light);
  }

  .hero-title {
      font-size: 3rem;
      font-weight: 900;
      margin-bottom: 1.25rem;
  }

  .hero-subtitle {
      font-size: 2rem;
      font-weight: 300;
      margin-bottom: 3rem;
      max-width: 48rem;
      margin-left: auto;
      margin-right: auto;
      color: #D1D5DB;
  }

  .hero-button {
      display: inline-block;
      background: #272727;
      color: white;
      font-size: 1.125rem;
      font-weight: 700;
      padding: 1rem 3rem;
      border-radius: 8px;
      box-shadow: 0 10px 15px -3px rgba(206, 7, 7, 0.3);
      transition: background-color 0.3s, transform 0.3s;
  }

  .hero-button:hover {
      background-color: #570303;
      transform: scale(1.02);
  }

  /* -------------------------- */
  /* 4. DIV Sección de Servicios */
  /* -------------------------- */
  .services-div {
      padding: 6rem 0 3rem 0;
      background-color: var(--bg-light);
      text-align: center;
  }

  .search-container {
      margin: auto;
      margin-bottom: 3rem;
      max-width: 600px;
  }

  #service-search-input {
      width: 100%;
      padding: 1rem 1.25rem;
      border: 1px solid var(--gray-border);
      border-radius: 8px;
      font-size: 1rem;
      color: var(--text-dark);
      transition: border-color 0.3s, box-shadow 0.3s;
      outline: none;
      box-sizing: border-box;
  }

  #service-search-input:focus {
      border-color: var(--primary-dark);
      box-shadow: 0 0 0 3px rgba(15, 32, 78, 0.1);
  }

  .section-title {
      font-size: 2.25rem;
      color: var(--primary-dark);
      margin-bottom: 3rem;
  }

  .cards-grid-div {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      max-width: 1000px;
      margin: 0 auto;
  }

  .service-card {
      background-color: var(--white);
      padding: 2rem;
      border-radius: 1rem;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s, box-shadow 0.3s;
      border-top: 4px solid var(--brand-red);
      cursor: pointer;
  }

  .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  }

  .card-icon-wrapper {
      margin: 0 auto 1.5rem auto;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
  }

  .card-icon {
      width: 100%;
      height: 125px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: 10px;
  }

  .card-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary-dark);
      text-transform: uppercase;
      margin-bottom: 0.5rem;
  }

  .card-description {
      color: #4B5563;
      font-size: 1rem;
  }

  /* ------------------------------------------------ */
  /* 4.1 MODIFICADO: SLIDER de Empresas               */
  /* ------------------------------------------------ */
  .companies-div {
      display: none;
      /* JS controla la visibilidad */
      padding: 5rem 0;
      background-color: var(--white);
      border-top: 1px solid #E5E7EB;
      border-bottom: 1px solid #E5E7EB;
      text-align: center;
      margin-top: 4rem;
      background-image: radial-gradient(#E5E7EB 1px, transparent 1px);
      background-size: 20px 20px;
      overflow: hidden;
      /* Necesario para evitar scroll horizontal en body */
  }

  .companies-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--primary-dark);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 3rem;
      position: relative;
      display: inline-block;
  }

  .companies-title::after {
      content: '';
      display: block;
      width: 50px;
      height: 4px;
      background-color: var(--brand-red);
      margin: 0.5rem auto 0 auto;
      border-radius: 2px;
  }

  /* Ventana del slider (máscara) */
  .slider-window {
      width: 100%;
      overflow: hidden;
      position: relative;
      /* Desvanecimiento en los bordes */
      mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }

  /* Pista que se mueve */
  .logos-track {
      display: flex;
      gap: 3rem;
      width: max-content;
      /* Permite que los elementos se alineen infinitamente */
      padding: 1rem 0;
      /* La animación se inyectará con JS si hay suficientes logos */
  }

  /* Keyframes para el movimiento infinito */
  @keyframes scroll-infinite {
      0% {
          transform: translateX(0);
      }

      100% {
          /* Se mueve -50% porque clonamos el contenido, así que al llegar a la mitad 
                   estamos visualmente al principio del set clonado */
          transform: translateX(-50%);
      }
  }

  .company-logo {
      width: 160px;
      height: 90px;
      flex-shrink: 0;
      /* Evita que se aplasten */
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
      border: 1px solid #f3f4f6;
      transition: all 0.3s ease;
      cursor: pointer;
      padding: 1rem;
  }

  .company-logo img {
      max-width: 100%;
      max-height: 100%;
      filter: grayscale(100%) opacity(0.6);
      transition: filter 0.3s, transform 0.3s;
      object-fit: contain;
  }

  .company-logo:hover {
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      border-color: #e5e7eb;
      z-index: 10;
      /* Para que sobresalga al hacer hover */
  }

  .company-logo:hover img {
      filter: grayscale(0%) opacity(1);
  }

  /* ------------------------------------------------ */
  /* 4.2 DIV Sección Feature / Importancia            */
  /* ------------------------------------------------ */
  .feature-spotlight-div {
      padding: 6rem 0;
      background-color: #ffffff;
  }

  .feature-content-wrapper {
      display: flex;
      flex-direction: column;
      gap: 3rem;
      align-items: center;
  }

  .feature-text-div {
      text-align: center;
      max-width: 600px;
  }

  .feature-tag {
      display: inline-block;
      background-color: #FEF2F2;
      /* Fondo rojo muy claro */
      color: var(--brand-red);
      font-size: 0.875rem;
      font-weight: 700;
      padding: 0.25rem 0.75rem;
      border-radius: 9999px;
      margin-bottom: 1rem;
      text-transform: uppercase;
  }

  .feature-headline {
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--text-dark);
      margin-bottom: 1.5rem;
      line-height: 1.1;
  }

  .feature-body {
      font-size: 1.125rem;
      color: #4B5563;
      margin-bottom: 2rem;
  }

  .feature-image-div {
      width: 100%;
      max-width: 600px;
      height: 350px;
      background-color: #e5e7eb;
      border-radius: 1.5rem;
      background-image: url('/archivos/iconos/servicio.jpg');
      background-size: cover;
      background-position: center;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  /* -------------------------- */
  /* 5. DIV Sección Informativa (Video) */
  /* -------------------------- */
  .info-div {
      background-color: var(--primary-dark);
      padding: 5rem 0;
  }

  .info-content-div {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      text-align: center;
      color: var(--text-light);
  }

  .video-placeholder-div {
      width: 6rem;
      height: 6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 9999px;
      border: 3px solid var(--white);
      color: var(--white);
      cursor: pointer;
      background-color: rgba(255, 255, 255, 0.1);
      transition: transform 0.3s;
      margin-bottom: 2rem;
  }

  .video-placeholder-div:hover {
      transform: scale(1.05);
  }

  .video-icon {
      width: 3rem;
      height: 3rem;
  }

  .info-text-div {
      width: 100%;
  }

  .info-title {
      font-size: 2.25rem;
      font-weight: 800;
      color: white;
      margin-bottom: 1rem;
  }

  .info-description {
      font-size: 1.125rem;
      font-weight: 300;
      color: #D1D5DB;
  }

  /* -------------------------- */
  /* 6. DIV Pie de Página */
  /* -------------------------- */
  .footer-div {
      background-color: #111827;
      color: #9CA3AF;
      padding: 2rem 0;
      text-align: center;
      font-size: 0.875rem;
  }

  /* -------------------------- */
  /* 7. Media Queries (Desktop) */
  /* -------------------------- */
  @media (min-width: 768px) {
      .menu-div {
          display: flex;
      }

      .hero-title {
          font-size: 3rem;
      }

      .cards-grid-div {
          grid-template-columns: repeat(3, 1fr);
          gap: 2.5rem;
      }

      /* Ajustes Info */
      .info-content-div {
          flex-direction: row;
          text-align: left;
          align-items: center;
      }

      .video-placeholder-div {
          margin-bottom: 0;
          width: 7rem;
          height: 7rem;
      }

      .info-text-div {
          width: calc(100% - 7rem - 2rem);
          padding-left: 2rem;
      }

      /* Ajustes Feature Section */
      .feature-content-wrapper {
          flex-direction: row;
          text-align: left;
          justify-content: space-between;
      }

      .feature-text-div {
          text-align: left;
          width: 45%;
      }

      .feature-image-div {
          width: 50%;
      }
  }