/* ===============================
   INFO SECTION
   Usa variables globales del sistema
================================ */

.info-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-padding-desktop) 6vw;
  background: var(--primary);
}

/* Círculo lateral — reemplazado por info.png en el HTML */

/* Icono decorativo lateral */
.info__icon {
  position: absolute;
  height: 100%;
  width: auto;
  left: -80px;
  top: 0;
  bottom: 0;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  object-fit: contain;
  object-position: left center;
}

/* Halo suave */
.info-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.15),
      transparent 65%);
  left: -260px;
  top: 50%;
  transform: translateY(-50%);
}

/* Detalle geométrico */
.info-pattern {
  position: absolute;
  top: 40px;
  right: 80px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    24px 0 rgba(255, 255, 255, 0.5),
    48px 0 rgba(255, 255, 255, 0.5),
    72px 0 rgba(255, 255, 255, 0.5);
  z-index: 1;
}

/* ===============================
   CONTENEDOR
================================ */

.info-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-narrow);
  margin: auto;
  padding-inline: var(--container-padding);

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--gap-desktop);
}

/* ===============================
   TEXTO
================================ */

.info-text h2 {
  color: var(--text-inverse);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
}

.info-text h2 span {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: textReveal 0.8s ease forwards;
}

.info-text h2 span:nth-child(2) {
  animation-delay: 0.15s;
}

@keyframes textReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   ACCIÓN / REDES
================================ */

.info-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

/* Redes */
.socials {
  display: flex;
  gap: 18px;
}

.social {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;

  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);

  color: var(--text-inverse);
  transition: all var(--transition-base) var(--ease-standard);
}

.social svg {
  width: 22px;
  height: 22px;
}

/* Hover por red - uniformizamos el color accent para todas las redes */
.social.whatsapp:hover,
.social.facebook:hover,
.social.instagram:hover,
.social.x:hover,
.social.tiktok:hover,
.social.linkedin:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.social:hover {
  color: var(--white);
  transform: translateY(-4px);
}

/* ===============================
   CTA
================================ */

.cta-button {
  background: var(--text-inverse);
  color: var(--primary);

  padding: var(--space-2) var(--space-4);
  border-radius: 999px;

  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-wide);

  text-decoration: none;
  transition: all var(--transition-base) var(--ease-standard);
  box-shadow: var(--shadow-soft);
}

.cta-button:hover {
  background: var(--bg-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* ===============================
   RESPONSIVE (MISMO RITMO SERVICES)
================================ */

/* Tablet */
@media (max-width: 1024px) {
  .info-section {
    padding: var(--section-padding-tablet) 6vw;
  }

  .info-container {
    gap: var(--gap-tablet);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .info-container {
    grid-template-columns: 1fr;
    gap: var(--gap-mobile);
    text-align: center;
  }

  .info-action {
    align-items: center;
  }

  .info-pattern {
    display: none;
  }

  .info__icon {
    height: 100%;
    left: -60px;
    opacity: 0.12;
  }
}

/* Mobile chico */
@media (max-width: 30rem) {
  .info-section {
    padding: var(--section-padding-mobile) var(--container-padding);
  }

  .info__icon {
    height: 100%;
    left: -80px;
    opacity: 0.10;
  }

  .cta-button {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
  }

  .social {
    width: 44px;
    height: 44px;
  }

  .social svg {
    width: 20px;
    height: 20px;
  }
}