/* styles/padecimientos.css */
.alert {
  --al-bg: #070910;
  --al-blue: #6b82ff;
  --al-text: #fff;
  --al-muted: rgba(255, 255, 255, 0.72);
  background: var(--al-bg);
  color: var(--al-text);
  font-family: "Inter", system-ui, sans-serif;
  padding: clamp(64px, 9vw, 120px) clamp(16px, 5vw, 64px);
}
.alert__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

/* ---------- Izquierda ---------- */
.alert__photo {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #10142a;
}
.alert__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.alert__logo {
  display: block;
  margin-top: 18px;
  width: min(300px, 70%);
  height: auto;
}

/* ---------- Derecha ---------- */
.alert__eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--al-blue);
  margin-bottom: 22px;
}
.alert__title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.alert__lead {
  margin-top: 22px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--al-blue);
}

.alert__list {
  list-style: none;
  margin: 34px 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}
.alert__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--al-muted);
}
.alert__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--al-blue);
  box-shadow: 0 0 8px rgba(107, 130, 255, 0.7);
}

.alert__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font:
    600 14.5px "Inter",
    system-ui,
    sans-serif;
  color: #fff;
  background: linear-gradient(180deg, #5f78ff, #4258e0);
  box-shadow: 0 0 30px rgba(79, 107, 255, 0.45);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.alert__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(79, 107, 255, 0.75);
}

/* ---------- Animación de entrada (la activa el JS) ---------- */
.js .alert__photo,
.js .alert__logo,
.js .alert__right > *,
.js .alert__list li {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js .alert .is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .alert__inner {
    grid-template-columns: 1fr;
  }
  .alert__photo {
    max-width: 480px;
    aspect-ratio: 4/5;
  }
  .alert__left {
    order: 2;
  } /* en móvil el texto va primero */
  .alert__right {
    order: 1;
  }
}
@media (max-width: 480px) {
  .alert__list {
    grid-template-columns: 1fr;
  }
  .alert__btn {
    display: block;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .alert__photo,
  .js .alert__logo,
  .js .alert__right > *,
  .js .alert__list li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}