  :root {
      /* Colores corporativos (ajusta si quieres) */
      --orange: #ff5e00;
      --orange-dark: #e04f00;
      --navy: #011d34;
      --white: #ffffff;
      --header-bg: #f3f3f3;
      --muted: #a5a5a5;
      --table-head: #cfcfcf;

      /* Tipografías / tamaños (según tus specs) */
      --h1: 1.5rem;
      /* 24px */
      --h2: 0.875rem;
      /* 14px */
      --text: 0.75rem;
      /* 12px */
      --small: 0.6875rem;
      /* 11px */

      --max-width: 1200px;
  }

  /* Reset muy sencillo */
  * {
      box-sizing: border-box;
      margin: 0;
      padding: 0
  }

  html,
  body {
      height: 100%
  }

  body {
      font-family: Arial, Helvetica, sans-serif;
      color: var(--navy);
      background: var(--white);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      line-height: 1.4;
  }

  /* Top info bar */
  .topbar {
      position: fixed;
      z-index: 1000;
      width: 100%;
      height: 100px;
      background: var(--navy);
      color: var(--white);
      font-size: 0.75rem;
      padding: 0.45rem 1rem;
  }

  .topbar .container {
      max-width: var(--max-width);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding-right: 6rem;
  }

  .topbar .left,
  .topbar .right {
      display: flex;
      align-items: center;
      gap: 1rem
  }

  .topbar .icon {
      opacity: 0.9;
      font-size: 0.95rem
  }

  .socials {
      width: 20px;
      cursor: pointer;
      display: flex;
      gap:0.5rem;
      align-items: center;

  }

  .socials .circle {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 750;
      color: var(--white);
  }

  /* Header / nav */
  header {
      position: fixed;
      z-index: 1000;
      width: 100%;
      top: 40px;
      background: var(--white);
      border-bottom: 1px solid rgba(1, 29, 52, 0.03);
      box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3);

  }

  .nav-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 1.05rem 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
  }

  .logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
  }

  .logo img {
      height: 70px;
      width: auto;
      display: block
  }

  .nav {
      display: flex;
      gap: 1.5rem;
      align-items: center;
      justify-content: center;
      flex: 1;
  }

  .nav a {
      color: var(--navy);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      padding: 0.25rem 0.15rem;
      transition: color 0.3s ease;
  }

  .nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: var(--navy);
      transition: width 0.3s ease;
  }

  .nav a:hover {
      color: var(--orange);
      /* o el color que quieras destacar */
  }

  .nav a:hover::after {
      width: 100%;
  }

  .nav a.active {
  color: var(--orange); /* mismo color del hover */
  font-weight: 600; /* un poco más fuerte para destacar */
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; /* siempre visible */
  height: 2px;
  background: var(--orange);
}



  .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 1rem;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      border: 0;
  }

  .btn-primary {
      background: var(--orange);
      color: (--navy);
      box-shadow: 0 6px 18px rgba(255, 94, 0, 0.16);
      transition: transform .18s ease, background .12s;
  }

  .btn-primary:hover {
      transform: translateY(-2px);
      background: var(--orange-dark)
  }

  .btn-ghost {
      background: #011d34;
      border-radius: 6px;
      padding: 0.45rem 0.8rem;
      color: var(--navy);
      font-weight: 600;
  }



  .items-container {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 20px;
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      padding: 20px;
      padding-top: 250px;
      padding-bottom: 100px;
  }

  .items-container a {
      text-decoration: none;
      color: inherit;
      display: block;
  }

  .card {
      background-color: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      display: flex;
      flex-direction: column;

  }

  .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19);

  }

  .card-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 30px 20px;
      text-align: center;
      flex-grow: 1;

  }

  .card-header img {
      width: 90%;
      margin-bottom: 10px;
  }

  .card-title {
      font-size: 24px;
      font-weight: bold;
      color: #333;
  }

  .card-subtitle {
      font-size: 14px;
      color: #666;
      margin-top: 5px;

  }

  .card-footer {
      padding: 15px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-weight: bold;
      font-size: 18px;
      text-transform: uppercase;
      text-align: center;
  }

  /* Colores de los pies de página */
  .card-footer.blue {
      background-color: #1e8182;
  }

  .card-footer.orange {
      background-color: #ff5e00;
  }

  .card-footer.yellow {
      background-color: #ffb800;
  }

  .card-footer.dark-blue {
      background-color: #0096c7;
  }

  .card-footer.green {
      background-color: #7ebf02;
  }

  .card-footer.gray {
      background-color: #5c7084;
  }


  /* Media Queries para diseño responsive */

  /* Vista de tablets (2 columnas) */
  @media (max-width: 768px) {
      .items-container {
          grid-template-columns: repeat(2, 1fr);
      }
  }

  /* Vista de móviles (1 columna) */
  @media (max-width: 480px) {
      .items-container {
          grid-template-columns: 1fr;
      }
  }


  /* Footer placeholder */
  footer {
      padding: 2rem 1rem;
      background: #fafafa;
      color: var(--muted);
      text-align: center;
      font-size: 0.85rem
  }

  /* ===== SECCIÓN NUESTROS SERVICIOS ===== */
  .services {
      background: #f9f9f9;
      padding: 4rem 1rem;
      margin-top: 100px;
      height: 700px;
  }

  .services-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 3rem;
  }

  /* Texto */
  .services-text .subtitle {
      color: #ff5e00;
      font-size: 0.875rem;
      font-weight: 700;
      margin-bottom: 0.8rem;
  }

  .services-text .title {
      font-size: 2rem;
      font-weight: 800;
      color: #011d34;
      margin-bottom: 1.5rem;
  }

  .services-text .question {
      font-size: 1rem;
      font-weight: 700;
      color: #ff5e00;
      margin-bottom: 0.6rem;
  }

  .services-text p {
      font-size: 0.95rem;
      color: #011d34;
      margin-bottom: 1rem;
      line-height: 1.5;
  }

  .services-text ul {
      margin: 1rem 0 1.5rem 1.2rem;
      color: #011d34;
      font-size: 0.95rem;
  }

  .services-text li {
      margin-bottom: 0.5rem;
  }

  .services-text .closing {
      font-weight: 500;
      color: #011d34;
      margin-top: 1rem;
  }

  /* Visual */
  .services-visual {
      text-align: center;
  }

  .services-visual .logo-main {
      max-width: 600px;
      margin: 0 auto 2rem;
      display: block;
  }




  /* Responsive */
  @media (max-width: 900px) {
      .services-container {
          grid-template-columns: 1fr;
          text-align: center;
      }

      .services-text {
          text-align: left;
      }
  }



  .productos {
      text-align: center;
      padding: 3rem 1rem;
      background: #f9f9f9;
      height: 750px;

  }

  .subtitulo {
      color: #ff5e00;
      font-size: 1-5rem;
      letter-spacing: 2px;
      margin-bottom: 0.5rem;
  }

  .titulo {
      font-size: 2rem;
      color: #011d34;
      margin-bottom: 2rem;
      position: relative;
  }

  .productos-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
      justify-items: center;
  }


  .producto-card {
      background: white;
      border-radius: 12px;
      padding: 1rem;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
      transform: translateY(0);
      cursor: pointer;
  }

  .producto-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 18px rgba(0, 0, 0, 0.8);
  }

  .producto-card h3 {
      font-size: 1.1rem;
      color: #011d34;
      margin-bottom: 1rem;
  }

  .producto-card span {
      font-weight: bold;
  }

  .producto-img {
      width: 100%;
      padding: 20px;
  }

  .producto-card ul {
      list-style: none;
      padding: 0;
      margin-bottom: 4rem;
      margin-top: 40px;
  }

  .producto-card ul li {
      font-size: 0.75rem;
      margin: 0.5rem 0;
      color: #333;
  }

  .btn {
      display: inline-block;
      padding: 0.6rem 1.2rem;
      border-radius: 20px;
      color: white;
      font-size: 0.75rem;
      transition: background 0.3s ease;
      text-decoration: none;
  }

  .btn-nomina {
      background: #00796b;
  }

  .btn-sst {
      background: #ff5e00;
  }

  .btn-pesv {
      background: #ffb300;
  }

  .btn-ambiental {
      background: #8bc34a;
  }

  .btn-calidad {
      background: #0288d1;
  }

  .btn:hover {
      opacity: 0.85;
  }


  .procesos-trabajo {
      background: linear-gradient(90deg, #011d34, #ff5e00);
      padding: 4rem 2rem;
      text-align: center;
      color: white;
  }

  .procesos-header h3 {
      font-size: 0.875rem;
      letter-spacing: 1px;
      color: white;
      margin-bottom: 0.5rem;
  }

  .procesos-header h2 {
      font-size: 1.8rem;
      font-weight: bold;
      margin-bottom: 1rem;
  }

  .divider {
      width: 60px;
      height: 3px;
      background: white;
      margin: 0.5rem auto 3rem;
      border-radius: 10px;
  }

  .procesos-container {
      display: flex;
      justify-content: center;
      gap: 4rem;
      flex-wrap: wrap;
  }

  .proceso {
      text-align: center;
      max-width: 220px;
      position: relative;
      animation: fadeInUp 1s ease-in-out;
      cursor: pointer;
  }

  .icono {
      width: 120px;
      height: 120px;
      border: 2px dashed rgba(255, 255, 255, 0.6);
      border-radius: 50%;
      margin: 0 auto 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      transition: transform 0.3s ease;
  }

  .icono:hover {
      transform: scale(1.1);
  }

  .icono i {
      font-size: 2rem;
      color: white;
  }

  .numero {
      position: absolute;
      top: -10px;
      right: -10px;
      background: white;
      color: #ff5e00;
      font-weight: bold;
      border-radius: 50%;
      width: 42px;
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 3px solid #ff5e00;
      font-size: 0.9rem;
  }

  .proceso p {
      margin-top: 0.5rem;
      font-size: 0.9rem;
      font-weight: 600;
  }

  /* Animación */
  @keyframes fadeInUp {
      from {
          transform: translateY(30px);
          opacity: 0;
      }

      to {
          transform: translateY(0);
          opacity: 1;
      }
  }


  .porque-elegirnos {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 4rem 2rem;
      gap: 2rem;
      background: white;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: 0 auto;


  }

  .porque-elegirnos .contenido {
      flex: 1;
      min-width: 320px;

  }

  .porque-elegirnos h4 {
      color: #ff5e00;
      font-size: 0.9rem;
      font-weight: bold;
      margin-bottom: 0.5rem;
  }

  .porque-elegirnos h2 {
      font-size: 2rem;
      font-weight: bold;
      color: #011d34;
      margin-bottom: 1rem;
      line-height: 1.3;
  }

  .porque-elegirnos p {
      font-size: 0.95rem;
      color: #444;
      margin-bottom: 1.5rem;
      line-height: 1.6;
  }

  .ventajas {
      list-style: none;
      padding: 0;
      margin: 0 0 2rem;
  }

  .ventajas li {
      font-size: 1rem;
      margin-bottom: 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      color: #011d34;
  }

  .ventajas i {
      color: #ff5e00;
      font-size: 1.2rem;
  }

  .btn-contacto {
      background: #ff5e00;
      color: white;
      border: none;
      padding: 0.8rem 1.8rem;
      font-size: 1rem;
      font-weight: bold;
      border-radius: 30px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .btn-contacto:hover {
      background: #e04f00;
      transform: translateY(-2px);
  }

  .ilustracion {
      flex: 1;
      display: flex;
      justify-content: center;
      min-width: 320px;
  }

  .ilustracion img {
      max-width: 100%;
      height: auto;
      animation: float 4s ease-in-out infinite;
  }

  /* Animación flotante */
  @keyframes float {

      0%,
      100% {
          transform: translateY(0);
      }

      50% {
          transform: translateY(-10px);
      }
  }


  .faq-section {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 4rem 2rem;
      gap: 3rem;
      flex-wrap: wrap;
      background: #fff;
  }

  .faq-ilustracion {
      flex: 1;
      min-width: 320px;
      display: flex;
      justify-content: center;
  }

  .faq-ilustracion img {
      max-width: 100%;
      height: auto;
      animation: float 4s ease-in-out infinite;
  }

  .faq-contenido {
      flex: 1;
      min-width: 320px;
  }

  .faq-contenido h4 {
      color: #ff5e00;
      font-size: 0.9rem;
      font-weight: bold;
      margin-bottom: 0.5rem;
  }

  .faq-contenido h2 {
      font-size: 2rem;
      font-weight: bold;
      color: #011d34;
      margin-bottom: 1.5rem;
      line-height: 1.3;
  }

  .faq-item {
      border-bottom: 1px solid #ddd;
      margin-bottom: 1rem;
  }

  .faq-question {
      width: 100%;
      background: none;
      border: none;
      font-size: 1rem;
      font-weight: bold;
      color: #011d34;
      padding: 1rem 0;
      text-align: left;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .faq-question .icon {
      font-size: 0.9rem;
      transition: transform 0.3s ease;
  }

  .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, opacity 0.3s ease;
      opacity: 0;
  }

  .faq-answer p {
      font-size: 0.9rem;
      color: #444;
      line-height: 1.6;
      padding-bottom: 1rem;
  }

  .faq-item.active .faq-answer {
      max-height: 300px;
      opacity: 1;
  }

  .faq-item.active .icon {
      transform: rotate(180deg);
  }

  /* Animación flotante imagen */
  @keyframes float {

      0%,
      100% {
          transform: translateY(0);
      }

      50% {
          transform: translateY(-10px);
      }
  }


  .contacto-section {
      background: linear-gradient(90deg, #011d34, #ff5e00);
      color: white;
      padding: 4rem 2rem;
  }

  .contacto-overlay {
      max-width: 1200px;
      margin: 0 auto;
  }

  .contacto-container {
      display: flex;
      flex-wrap: wrap;
      gap: 3rem;
      align-items: flex-start;
  }

  .contacto-info {
      flex: 1;
      min-width: 280px;
  }

  .contacto-info h4 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
      font-weight: normal;
  }

  .contacto-info h2 {
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 1rem;
  }

  .contacto-info .separator {
      width: 80px;
      border: 2px solid white;
      margin: 1rem 0 2rem 0;
  }

  .contacto-info p {
      margin-bottom: 1.2rem;
      font-size: 0.95rem;
  }

  .contacto-info strong {
      color: #ffb88c;
      display: block;
      margin-bottom: 0.3rem;
  }

  .contacto-form {
      flex: 1;
      min-width: 320px;
      background: rgba(255, 255, 255, 0.1);
      padding: 2rem;
      border-radius: 12px;
      backdrop-filter: blur(6px);
  }

  .contacto-form label {
      display: block;
      font-size: 0.9rem;
      margin-bottom: 0.3rem;
  }

  .contacto-form input {
      width: 100%;
      padding: 0.8rem;
      border-radius: 6px;
      border: none;
      margin-bottom: 1rem;
      font-size: 0.9rem;
  }

  .contacto-form button {
      width: 100%;
      padding: 0.9rem;
      background: #ff5e00;
      border: none;
      border-radius: 6px;
      color: white;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s ease;
  }

  .contacto-form button:hover {
      background: #e04f00;
  }

  /* Responsive */
  @media (max-width: 768px) {
      .contacto-container {
          flex-direction: column;
      }
  }



  .footer {
      background-color: #011d34;
      color: white;
      padding: 3rem 2rem 1rem;
      font-size: 0.9rem;
  }

  .footer-container {
      max-width: 1200px;
      margin: auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 2rem;
  }

  .footer-logo {
      max-width: 180px;
      margin-bottom: 1rem;
  }

  .footer p {
      margin-bottom: 1rem;
      line-height: 1.5;
  }

  .footer-col h3 {
      margin-bottom: 1rem;
      font-size: 1.1rem;
      font-weight: bold;
  }

  .footer-col ul {
      list-style: none;
      padding: 0;
  }

  .footer-col ul li {
      margin-bottom: 0.5rem;
  }

  .footer-col ul li a {
      color: white;
      text-decoration: none;
      transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .footer-col ul li a:hover {
      color: #ff5e00;
      padding-left: 5px;
  }

  /* Contact info */
  .footer-col p i {
      margin-right: 8px;
      color: #ff5e00;
  }

  /* Social icons */
  .footer-socials a {
      display: inline-block;
      margin-right: 12px;
      font-size: 1.2rem;
      color: white;
      transition: transform 0.3s ease, color 0.3s ease;
  }

  .footer-socials a:hover {
      color: #ff5e00;
      transform: scale(1.2);
  }

  /* Bottom */
  .footer-bottom {
      margin-top: 2rem;
      border-top: 1px solid #ff5e00;
      padding-top: 1rem;
      text-align: center;
      font-size: 0.85rem;
  }

  .footer-bottom a {
      color: white;
      text-decoration: none;
      transition: color 0.3s ease;
  }

  .footer-bottom a:hover {
      color: #ff5e00;
  }