: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;
    }

.dc5-section {
    background: #222;
    padding: 80px 6% 120px;
    color: #fff;
}

/* Títulos */
.page-title {
    font-size: 4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sub-title {
    margin-top: 80px;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Intro */
/* CONTENEDOR LOGO + TEXTO */
.dc5-contenedor {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
}

/* Columna del logo */
.dc5-logo img {
    width: 500px;
    min-width: 300px;
    object-fit: contain;
    display: block;
}

/* Columna de texto */
.dc5-texto {
    flex: 1;
}

/* LISTA */
.dc5-texto ul {
    margin-top: 15px;
    margin-bottom: 20px;
    padding-left: 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .dc5-contenedor {
        flex-direction: column;
        text-align: center;
    }

    .dc5-logo img {
        margin: 0 auto 30px;
        width: 200px;
    }

    .dc5-texto {
        text-align: left;
    }
}



.page-intro {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Lista */
.intro-list {
    margin: 20px 0 40px 25px;
    line-height: 1.6;
    font-size: 1.3rem;
}

/* GRID EQUIPO */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
}

.team-card img {
    width: 100%;
    border-radius: 10px;
}

.team-name {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.team-role {
    font-size: 0.9rem;
    opacity: 0.8;
    border-bottom: 3px solid #ff2a2a;
    padding-bottom: 15px;
}

/* PERFILES */
.agent-profile {
    margin-top: 70px;
    padding-top: 40px;
   
}

.agent-header {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.agent-profile  p {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.agent-profile  ul {
    margin-bottom: 15px;
    font-size: 1.3rem;
    margin-left: 25px;
}

.agent-header img {
    width: 300px;
    border-radius: 10px;
}

.agent-info h2 {
    margin-bottom: 5px;
    font-size: 2.4rem;
}

.agent-info img {
  width: 400px;
}

.sub-title-agent {
    margin-top: 30px;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items:  flex-start;
    gap: 10px;
}

.agent-role {
    opacity: 0.8;
    font-size: 1.3rem;
    margin-left: 30px;
    margin-top: -31px;
}

.agente-stps {
    font-size: 0.9rem;
}

.section-title {
   margin: 40px 0 20px;
    font-size: 1.6rem;
    font-weight: 700;
    border-bottom: 3px solid #ff2a2a;
    width: 25%;
}

/* ░░░ 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:900px){
            .team-grid {
        grid-template-columns: 1fr;
    }
    .agent-header {
        flex-direction: column;
        text-align: center;
    }
    .agent-header img {
        width: 100%;
    }



      .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: 768px) { 

            .agent-info h2 {
        margin-bottom: 5px;
    font-size: 1.8rem;
    line-height: 35px;
    text-align: left;
    }

    .agent-role {
    opacity: 0.8;
    font-size: 1.3rem;
    margin-left: 0px;
    margin-top: 0px;
}

.section-title {
    margin: 20px 0 20px;
    width: 95%;
}
  .servicio-card {
    width: 100% !important;
    max-width: 340px; /* mantiene estética */
    margin: 0 auto;
  }

  .sub-title-agent {
    align-items: center;
}

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

  .hero-text img {
    width: 380px !important;
  }
  .footer-item img {display: none;}
    .ef-titulo {font-size: 3rem;}

    .page-title {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
}

}  

    @media(max-width:480px){
      .intro-nosotros h2{font-size:1.8rem}
      .col-right h3{font-size:1.3rem}
      .footer-grid{grid-template-columns:1fr}
       .footer-item img {display: none;}
       .dc-cta a {border-bottom:none;}
    }



