/* ============================================================
   ALIADOS ESTRATÉGICOS — page styles
   ============================================================ */

/* ── Hero ── */
/* .al-hero {
  background: var(--light-bg);
  padding: 80px 0 70px;
}

.al-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.al-hero__img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
} */

.hero-home {
  background: var(--light-bg);
  padding: 120px 0 70px;
  background-image: url("../assets/banner-hero-aliados.webp");
  background-size: cover;      /* o contain si quieres que no se recorte */
  background-position: center;
  background-repeat: no-repeat;
  height: 620px;
}

.hero-home__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-home__text h1 {
  margin-bottom: 22px;
}

.hero-home__text .body-text {
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-home__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Botón con ícono */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1; /* evita que el texto empuje el icono */
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  flex-shrink: 0; /* evita que se deforme */
  margin-top: 4px;
}


.btn-icon svg {
  transition: transform .2s ease;
}

.btn-icon:hover svg {
  transform: translateX(3px);
}



.hero-home__img-mobile {
  display: none; /* oculto en desktop */
}

@media (max-width: 700px) {
  .hero-home {
    background-image: none; /* quitamos el fondo */
    padding: 0; /* la imagen ya ocupa espacio */
    height: auto;
  }

  .hero-home__img-mobile {
    display: block;
    width: 100%;
    height: 420px; /* puedes usar 400–450px */
    overflow: hidden;
  }

  .hero-home__img-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* evita que se deforme */
    display: block;
  }

  .hero-home__inner {
    grid-template-columns: 1fr; /* una sola columna */
    padding: 32px 24px 48px;
  }
}

/* ── Ally Cards ── */
.ally-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ally-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  background: var(--light-blue);
}

.ally-card__logo {
  min-height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.ally-card__logo img {
  width: 260px;
}

.ally-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}

.ally-card p {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 15px;
}

/* ── Aliado Tecnológico ── */
.al-tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.al-tech__img {
  position: relative;
}

.al-tech__img img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.al-tech__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(7,32,63,0.88);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 8px;
  line-height: 1.4;
  letter-spacing: 1px;
}

.al-tech__badge span {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 2px;
  opacity: 0.7;
}

.al-tech__text h2 {
  margin-top: 8px;
  margin-bottom: 0;
}

.techno-logo {
  margin: 28px 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ally-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .al-hero__inner { grid-template-columns: 1fr; }
  .al-hero__img { display: none; }
  .ally-cards { grid-template-columns: 1fr; }
  .al-tech { grid-template-columns: 1fr; gap: 36px; }
  .al-tech__img { display: none; }
}
