 :root{
      --rojo:#ff2a2a;
      --naranja:#ff5c1a;
      --gris:#222;
      --gris-claro:#2f2f2f;
      --bg:#111;
      --texto:#ccc;
      --blanco:#fff;
    }

    *{margin:0;padding:0;box-sizing:border-box}
    body{
      font-family:'Montserrat',sans-serif;
      background:var(--bg);
      color:var(--texto);
      overflow-x:hidden;
    }
    img{max-width:100%;display:block}

    /* 🔹 NAV SUPERIOR */
    .navbar{
      position:fixed;
      top:0;left:0;width:100%;
      background:rgba(0,0,0,0.65);
      backdrop-filter:blur(4px);
      z-index:1000;
      padding:15px 0;
    }
    .navbar .container{
      width:90%;
      max-width:1200px;
      margin:auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
    }
    .logo img{width:90px}

    .menu ul{
      display:flex;
      list-style:none;
      gap:35px;
    }
    .menu a{
      color:#e0e0e0;
      text-decoration:none;
      font-weight:500;
      transition:0.3s;
    }
    .menu a:hover,
    .menu .active a{
      color:var(--naranja);
    }

    .menu-toggle{
      display:none;
      background:none;
      border:none;
      color:white;
      font-size:1.9rem;
      cursor:pointer;
    }

    /* 🔹 HERO */
    
    .hero-nosotros{
      margin-top:40px;
      position:relative;
      height:100vh;
      overflow:hidden;
      border-bottom: 3px solid #b2b2b2;
    }
    .hero-bg{
      position:absolute;
      width:100%;height:100%;
      object-fit:cover;
      filter:brightness(70%);
    }
    .hero-overlay{
      position:absolute;
      top:0;left:0;width:100%;height:100%;
      background:rgba(0,0,0,0.4);
    }
    
    .hero-text{
    position: absolute !important;
  bottom: 40px !important;

  /* 👇 Margen inteligente que se adapta a todas las pantallas */
  right: clamp(80px, 12vw, 200px) !important;

  left: auto !important;
  top: auto !important;
  transform: none !important;
  text-align: right !important;
  width: auto !important;
    }
    .hero-text img{  
      width: 400px !important;
  display: block;
  margin-left: auto;}
    .hero-text h1{
      color:var(--blanco);
      font-size:1rem;
      margin-top:10px;
      letter-spacing:2px;
    }

    

    /* 🔹 INTRO NOSOTROS */
    .intro-nosotros{
      width:90%;
      max-width:1100px;
      margin:70px auto;
      color:var(--texto);
      line-height:1.8;
    }
    .intro-nosotros h1{
      display:flex;
      align-items:center;
      gap:10px;
      color:var(--blanco);
      font-size:4rem;
      margin-bottom:20px;
    }
    .barra{

        width: 20px;
    height: 80px;
    background: var(--rojo);
    display: inline-block;
    border: 2px solid #b2b2b2;
  

    }
    .intro-nosotros p{margin-bottom:18px; font-size: 20px;}

    /* 🔹 MISIÓN / VISIÓN / VALORES */
    .mvv{
      width:90%;
      max-width:1200px;
      margin:40px auto 100px;
    }
    .grid-2{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:40px;
      align-items:flex-start;
    }

    .col-left {
      margin-left: 35px;
      margin-right: 25px;
    }

    .col-right {
      margin-right: 35px;
    }

    .col-left img{
      width:100%;
      border-radius:12px;
      margin-bottom:25px;
    }
    .logo-sec{
      width:160px;
      margin:auto;
    }

    .col-right h3{
      color:var(--naranja);
      font-size:1.6rem;
      margin-bottom:10px;
    }
    .col-right p{
      margin-bottom:18px;
      line-height:1.7;
      color:var(--texto);
      font-size: 20px;
    }

    /* 🔹 RESPONSIVE */
    @media(max-width:900px){
      .menu ul{
        position:absolute;
        top:75px;right:20px;
        background:#000;
        flex-direction:column;
        padding:20px;
        border-radius:10px;
        display:none;
        width:200px;
      }
      .menu.open ul{display:flex}
      .menu-toggle{display:block}

      .grid-2{
        grid-template-columns:1fr;
      }
      .hero-nosotros{height:55vh}
    }

    @media(max-width:480px){
      .intro-nosotros h2{font-size:1.8rem}
      .col-right h3{font-size:1.3rem}
      .footer-grid{grid-template-columns:1fr}
    }

    /* ░░░ TRAMO FINAL NOSOTROS ░░░ */
.nosotros-final{
  background:#1c1c1c;
  padding:100px 0 80px;
  color:white;
}

.final-container{
  width:90%;
  max-width:1100px;
  margin:auto;
  text-align:center;
}

/* Top: logo + texto + stats */
.final-top{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:80px;
  margin-bottom:70px;
  flex-wrap:wrap;
}

.final-logo img{
  width:300px;
  filter:brightness(100%);
}

.final-text h3{
  font-size:1.8rem;
  line-height:1.3;
  font-weight:700;
  color:white;
}

.final-stats{
  margin-top:20px;
  display:flex;
  align-items:flex-start;
  gap:10px;
  justify-content:center;
}

.final-stats .big{
  font-size:5rem;
  font-weight:700;
  color:white;
}

.final-stats .small{
  font-size:1.3rem;
  line-height:1.3;
  color:#ccc;
  margin-top:40px;
}

/* Título CLIENTES PRINCIPALES */
.clientes-title{
  font-size:3.7rem;
  font-weight:700;
  margin-bottom:40px;
}

/* Logos */
.clientes-grid{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:40px;
}

.clientes-grid img{
  width:180px;
  background:white;
  padding:10px 20px;
  border-radius:12px;
}

/* ░░░ RESPONSIVE ░░░ */
@media(max-width:768px){

  .hero-text {
    bottom: 30px !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    text-align: center !important;
  }

  .hero-text img {
    width: 380px !important;
  }

  .intro-nosotros p {
    font-size: 16px;
    }
    .col-right p {
    font-size: 16px;
    }

  .final-top{
    gap:40px;
  }

  .final-logo img{
    width:160px;
  }

  .final-text h3{
    font-size:1.4rem;
  }

  .final-stats .big{
    font-size:3rem;
  }

  .clientes-title{
    font-size:1.9rem;
  }

  .clientes-grid img{
    width:200px;
  }
   .footer-item img {
    display: none;
  }
}

@media(max-width:480px){
  .final-text h3{
    font-size:1.2rem;
  }
  .final-stats .big{
    font-size:4.8rem;
  }
  .clientes-grid img{
    width:200px;
  }
   .clientes-title{
    font-size:2.5rem;
  }
  .footer-item img {
    display: none;
  }
  
}

.contenedor-flex {
  /* Habilita Flexbox */
  display: flex;
  
  /* Alinea el icono y el texto verticalmente al centro */
  align-items: center; 
  
  /* Opcional: Ajusta el espacio entre los elementos */
  gap: 5px; 
}

.icono-flex {
  /* Establece el tamaño del icono */
  width: 45px;
  height: 45px;
  /* El Flexbox se encarga de la alineación, pero puedes ajustar el margen si no usas 'gap' */
}

.texto-flex {
  font-size: 25px;
  font-weight: bold;
}

/* ░░░ FOOTER SAFETY TALKS ░░░ */
.footer-st {
  background: #c4c4c4;
  padding: 40px 0;
}

.footer-content {
  width: 80%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #5a5a5a;
}

.footer-logo img {
  width: 200px;
}

/* Columnas de datos */
.footer-col {
  display: flex;
  align-items: center;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-item img {
  width: 28px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(88%) saturate(5756%) hue-rotate(353deg) brightness(94%) contrast(108%);
}

/* Botón inicio */
.footer-home a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.footer-home img {
  width: 50px;
  margin-bottom: 5px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(88%) saturate(5756%) hue-rotate(353deg) brightness(94%) contrast(108%);
}

/* ░░░ RESPONSIVE ░░░ */
@media(max-width: 1000px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-col, .footer-item {
    justify-content: center;
  }

  .footer-home {
    margin-top: 20px;
  }
}


