/* section2.css */

    /* ===================== SECTION 2 ===================== */
    section.s2 {
      position: relative;
    
      overflow: hidden;
      padding: 64px 80px;
    }
    .s2-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: .08;
    }
    .s2-inner { position: relative; z-index: 1; }
  
    .s2-cols {
      display: flex;
      gap: 60px;
      align-items: center;
    }
    .s2-photo {
      flex: 0 0 auto;
      width: 340px;
    }
    .s2-photo-frame {
      background: var(--white);
      border-radius: 12px;
      padding: 10px 10px 0;
      box-shadow: 0 8px 30px rgba(0,0,0,.3);
      transform: rotate(-2deg);
    }
    .s2-photo-frame img {
      width: 100%;
      border-radius: 8px 8px 0 0;
      display: block;
    }
    .s2-benefits {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .benefit-pill {
      background: var(--white);
      border-radius: 50px;
      padding: 16px 28px;
      display: flex;
      align-items: center;
      gap: 16px;
    
      font-size: 16px;
      font-weight: 600;
      color: var(--text-dark);
      box-shadow: 0 2px 10px rgba(0,0,0,.12);
      transition: transform .2s;
    }
    .benefit-pill:hover { transform: translateX(6px); }
    .benefit-pill-icon {
      width: 44px;
      height: 44px;
      background: var(--blue-dark);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .benefit-pill-icon svg { width: 22px; height: 22px; fill: var(--yellow); }


/* ===================== SECTION 2 ===================== */
section.s2 {
  width: 100%;
  
}
.s2-enlace{
  width: 100%;
  background-image: url('../assets/section_2/Fondo_Imagen/Backgroun_section_2.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  text-decoration: none;
}
.s2-inner {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/* ── Título ocupa todo el ancho ── */
.s2-inner h2 {
  
  font-size: 77px;
  font-weight: 900;
  color: #ffffff;
 
  margin-bottom: 40px;
  line-height: 1.1;
  width: 100%;              /* ← ocupa todo el ancho del inner */
  display: block;
  text-align: center;         /* ← alineado a la izquierda como en la imagen */
}

/* ── 2 columnas ── */
.s2-cols {
  display: flex;
  align-items: center;
  gap: 15%;
  margin-bottom: 5%;
}

/* ── Columna 1: imagen persona ── */
.s2-photo {
  flex: 0 0 auto;
  width: 38%;
}

.s2-photo img {
    margin-left: 25%;
  width: 110%;
  height: auto;
  display: block;
}

/* ── Columna 2: pills ── */
.s2-benefits {
  margin-left: 5%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 35%;
  
}

.s2-benefits span {
  
  font-size: clamp(25px, 1.1vw, 14px);
  font-weight: 800;
  
}



.benefit-pill {
    background: #ffffff;
    border-radius: 10px;
    max-height: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 900;
    color: #003fb7;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    transition: transform .2s;
    cursor: default;
}
.benefit-pill:hover { transform: translateX(15px); }

/* ── Ícono dentro de la pill ── */
.benefit-pill-icon {
  flex-shrink: 0;
  width: clamp(40px, 3.5vw, 54px);
  height: clamp(40px, 3.5vw, 54px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-pill-icon img {
  width: 160%;
  height: auto;
  display: block;
}

/* ── Responsive Section 2 ── */
@media (max-width: 1200px) {
  section.s2 {
    width: 100%;
    margin-left: 0;
    padding: 50px 0;
  }
  .s2-inner h2 { font-size: 56px; }
  .s2-cols { gap: 8%; }
  .s2-benefits { max-width: 50%; }
}

@media (max-width: 1024px) {
  section.s2 {
    width: 100%;
    height: 120%;
    margin-left: 0;
    background-size: cover;
  }
  .s2-inner h2 { font-size: 44px; }
  .s2-cols { gap: 5%; }
  .s2-photo { width: 45%; }
  .s2-photo img { margin-left: 0; width: 100%; }
  .s2-benefits { max-width: 50%; margin-left: 0; }
  .s2-benefits span { font-size: 14px !important; }
}

@media (max-width: 768px) {
  section.s2 { 
    padding: 40px 0 80px;    /* ← aumentá el último valor para más espacio abajo */
    background-size: 100% 100%;   
  }
  .s2-inner { width: 90%; }
  .s2-inner h2 { font-size: 32px; text-align: center; }
  
  .s2-cols {
    margin-top: -1.5%;
    flex-direction: column;
    gap: 5px;
  }
  
  .s2-photo {
    width: 80%;
    margin: 0 auto;
  }
  .s2-photo img { margin-left: 0; width: 100%; }

  /* ── Benefits más angosto y centrado ── */
  .s2-benefits {
    max-width: 85%;          /* ← reducí este valor */
    width: 85%;
    margin: 0 auto;          /* ← centra el bloque */
  }

  .benefit-pill {
    padding: 10px 16px;
    border-radius: 50px;
    gap: 10px;
  }

  .benefit-pill-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .benefit-pill-icon img { width: 100%; }

  .benefit-pill span {
    font-size: 13px;
    font-weight: 600;
  }
}


@media (max-width: 480px) {
  .s2-inner h2 { font-size: 26px; }
  
  .s2-photo { width: 95%; margin-top: -4%; }

  .s2-benefits {
    max-width: 92%;
    width: 92%;
    margin: -2% auto 0;
  }

  .benefit-pill span { font-size: 11px !important; }

  .benefit-pill-icon {
    width: 30px;
    height: 30px;
  }
}