/* ==============================
   RESET BÁSICO
============================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(220, 232, 255, 0.9), transparent 34%),
    linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%);
  color: #111827;
}

/* ==============================
   ESTRUCTURA GENERAL
============================== */

.page {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==============================
   HERO
============================== */

.hero {
  min-height: 100vh;
  padding: 32px 20px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 32px;
  pointer-events: none;
}

.hero__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #374151;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.hero__title {
  position: relative;
  z-index: 1;
  max-width: 760px;
  font-size: clamp(2.35rem, 13vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 850;
  color: #0f172a;
}

.hero__text {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-top: 26px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #4b5563;
}

.hero__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 750;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.hero__button:active {
  transform: scale(0.98);
}

/* ==============================
   SECCIÓN VIDEOS
============================== */

.videos {
  padding: 24px 20px 72px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 26px;
}

.section-header__label {
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
}

.section-header__title {
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: #0f172a;
}

.section-header__text {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.65;
  color: #64748b;
}

/* ==============================
   TARJETAS DE VIDEO
============================== */

.video-list {
  display: grid;
  gap: 14px;
}

.video-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.065);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.video-card:active {
  transform: scale(0.985);
}

.video-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #111827 0%, #25324a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.play-symbol {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #ffffff;
}

.video-card__number {
  margin-bottom: 5px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.video-card__title {
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #111827;
}

.video-card__text {
  margin-top: 7px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #64748b;
}

/* ==============================
   ESTADOS INTERACTIVOS
============================== */

.video-card.is-touched {
  border-color: rgba(17, 24, 39, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

/* ==============================
   TABLET / DESKTOP
============================== */

@media (min-width: 720px) {
  .hero {
    padding: 56px;
  }

  .hero::before {
    inset: 32px;
    border-radius: 44px;
  }

  .hero__text {
    font-size: 1.12rem;
  }

  .videos {
    padding: 64px 56px 96px;
  }

  .video-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .video-card {
    min-height: 152px;
  }
}

@media (min-width: 1080px) {
  .hero,
  .videos {
    max-width: 1180px;
    margin: 0 auto;
  }

  .video-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==============================
   ACCESIBILIDAD
============================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__button,
  .video-card {
    transition: none;
  }
}