:root {
  --color-primary: #2669be;
  --color-primary-dark: #045cb4;
  --color-primary-alt: #046bd2;
  --color-accent: #1722cf;
  --color-accent-green: #a3e5b7;
  --color-text-slate-900: #1e293b;
  --color-text-slate-700: #334155;
  --color-text-slate-600: #475569;
  --color-heading: #111827;
  --color-heading-alt: #111111;
  --color-muted: #9ca3af;
  --color-muted-light: #d1d5db;
  --color-bg-light: #f0f5fa;
  --color-bg-lighter: #f9fafb;
  --color-bg-soft: #fbfbfb;
  --color-bg-soft-alt: #f6f6f6;
  --color-white: #ffffff;
  --font-body: 'Geomanist-Regular', 'Roboto', sans-serif;
  --font-heading: 'Branding Bold', 'Roboto Slab', serif;
  --max-width: 1280px;
}

@font-face {
  font-family: 'Geomanist-Regular';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/Geomanist-Regular.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Geomanist-Regular-Italic';
  font-style: italic;
  font-weight: 400;
  src: url('/fonts/Geomanist-Regular-Italic.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'GeomanistUltra';
  font-style: normal;
  font-weight: 900;
  src: url('/fonts/GeomanistUltra.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'GeomanistThin';
  font-style: normal;
  font-weight: 100;
  src: url('/fonts/GeomanistThin.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'GeomanistRegular';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/GeomanistRegular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'GeomanistMedium';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/GeomanistMedium.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'GeomanistLight';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/GeomanistLight.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'GeomanistExtraLight';
  font-style: normal;
  font-weight: 200;
  src: url('/fonts/GeomanistExtraLight.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'GeomanistBook';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/GeomanistBook.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'GeomanistBold';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/GeomanistBold.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'GeomanistBlack';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/GeomanistBlack.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Thin';
  font-style: normal;
  font-weight: 100;
  src: url('/fonts/Branding-Thin.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Thin Italic';
  font-style: italic;
  font-weight: 100;
  src: url('/fonts/Branding-Thin-Italic.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Semilight';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/Branding-Semilight.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Semilight Italic';
  font-style: italic;
  font-weight: 300;
  src: url('/fonts/Branding-Semilight-Italic.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Semibold';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/Branding-Semibold.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Semibold Italic';
  font-style: italic;
  font-weight: 600;
  src: url('/fonts/Branding-Semibold-Italic.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Medium Italic';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/Branding-Medium.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Medium Italic';
  font-style: italic;
  font-weight: 500;
  src: url('/fonts/Branding-Medium-Italic.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Bold';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/Branding-Bold.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Light';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/Branding-Light.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Light Italic';
  font-style: italic;
  font-weight: 300;
  src: url('/fonts/Branding-Light-Italic.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Bold Italic';
  font-style: italic;
  font-weight: 700;
  src: url('/fonts/Branding-Bold-Italic.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Black';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/Branding-Black.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Branding Black Italic';
  font-style: italic;
  font-weight: 800;
  src: url('/fonts/Branding-Black-Italic.otf') format('opentype');
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-slate-900);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  text-align: center;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
}

/* ==========================================================================
   Shared: scroll reveal
   ========================================================================== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.scroll-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    transition: none;
    transform: none;
    opacity: 1;
    will-change: auto;
  }
}

/* ==========================================================================
   Shared: social icons
   ========================================================================== */

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background 0.25s ease, background-color 0.25s ease;
}

.social-icon--white {
  background-color: var(--color-white);
  -webkit-mask-image: var(--icon-white);
  mask-image: var(--icon-white);
}

.social-icon--blue {
  background-color: var(--color-primary);
  -webkit-mask-image: var(--icon-blue);
  mask-image: var(--icon-blue);
}

/* Header social icons swap between white/blue as the header toggles solid */
.app-header:not(.app-header--solid) .social-icon--dynamic {
  background-color: var(--color-white);
  -webkit-mask-image: var(--icon-white);
  mask-image: var(--icon-white);
}

.app-header--solid .social-icon--dynamic {
  background-color: var(--color-primary);
  -webkit-mask-image: var(--icon-blue);
  mask-image: var(--icon-blue);
}

.social-icon-link:hover .social-icon--facebook,
.social-icon-link:focus-visible .social-icon--facebook {
  background: #1877f2;
}

.social-icon-link:hover .social-icon--instagram,
.social-icon-link:focus-visible .social-icon--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-icon-link:hover .social-icon--tiktok,
.social-icon-link:focus-visible .social-icon--tiktok {
  background: linear-gradient(135deg, #25f4ee 0%, #000000 50%, #fe2c55 100%);
}

.social-icon-link:hover .social-icon--linkedin,
.social-icon-link:focus-visible .social-icon--linkedin {
  background: #0a66c2;
}

/* ==========================================================================
   Shared: header
   ========================================================================== */

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.app-header--solid {
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.app-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.app-header__logo img {
  width: 150px;
  height: auto;
}

.app-header__logo .logo-solid {
  display: none;
}

.app-header--solid .app-header__logo .logo-transparent {
  display: none;
}

.app-header--solid .app-header__logo .logo-solid {
  display: block;
}

.app-header__nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.app-header__link {
  font-family: var(--font-body);
  font-size: 16px;
  color: inherit;
  white-space: nowrap;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.app-header__link:hover,
.app-header__link:focus-visible {
  background-size: 100% 2px;
}

.app-header--solid .app-header__link {
  color: var(--color-text-slate-900);
}

.app-header:not(.app-header--solid) .app-header__link {
  color: var(--color-white);
}

.app-header__socials {
  display: none;
  align-items: center;
  gap: 16px;
}

.app-header__burger {
  display: grid;
  place-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.app-header__burger.is-solid {
  background: rgba(38, 105, 190, 0.08);
}

.app-header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
}

.app-header__burger.is-solid span {
  background: var(--color-primary);
}

@media (min-width: 1025px) {
  .app-header__nav,
  .app-header__socials {
    display: flex;
  }
  .app-header__burger {
    display: none;
  }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-drawer.is-open {
  pointer-events: auto;
}

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.is-open .mobile-drawer__overlay {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(86vw, 360px);
  background: var(--color-primary);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(-110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer__head img {
  width: 120px;
}

.mobile-drawer__close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer__nav a {
  color: var(--color-white);
  font-size: 18px;
}

.mobile-drawer__socials {
  display: flex;
  gap: 18px;
  margin-top: auto;
}

/* ==========================================================================
   Shared: footer
   ========================================================================== */

.app-footer {
  position: relative;
  color: var(--color-white);
  padding: 60px 0 40px;
  overflow: hidden;
}

.app-footer__bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/Footer.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.app-footer__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.app-footer__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
}

.app-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-footer__col--brand {
  align-items: center;
  justify-content: center;
}

.app-footer__col--brand img {
  width: 140px;
}

.app-footer__col h2 {
  font-family: 'Branding Bold', sans-serif;
  font-size: 22px;
  color: var(--color-accent-green);
}

.app-footer__col a {
  font-size: 16px;
  color: var(--color-white);
  transition: color 0.25s ease;
}

.app-footer__col a:hover {
  color: var(--color-accent-green);
}

.app-footer__socials {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.app-footer__copy {
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.85;
  line-height: 1.6;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 150;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .app-footer__columns {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
    align-items: start;
  }
  .app-footer__content {
    text-align: left;
  }
  .app-footer__col--brand {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .app-footer__col--brand img {
    margin: 0;
  }
  .app-footer__socials {
    justify-content: flex-start;
  }
  .app-footer__copy {
    text-align: center;
    width: 100%;
  }
}

/* ==========================================================================
   Home: hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-heading);
}

.hero__video-layer {
  position: absolute;
  top: -8%;
  left: 0;
  right: 0;
  height: 116%;
  z-index: 0;
  will-change: transform;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video--mobile {
  display: block;
}

.hero__video--desktop {
  display: none;
}

@media (min-width: 768px) {
  .hero__video--mobile {
    display: none;
  }
  .hero__video--desktop {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video-layer {
    transform: none !important;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 780px;
}

.hero__title {
  font-size: 40px;
  line-height: 1.15;
  color: var(--color-white);
}

.hero__title-bold {
  font-family: 'Branding Bold', sans-serif;
  font-weight: 700;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-white);
  max-width: 620px;
}

.hero__cta {
  width: fit-content;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 56px;
  }
}

/* ==========================================================================
   Home: about
   ========================================================================== */

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.about__image img {
  border-radius: 24px;
  width: 100%;
  will-change: transform;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about__heading {
  font-size: 32px;
  line-height: 1.2;
}

.about__lead {
  font-size: 18px;
  color: var(--color-text-slate-700);
}

.about__name {
  font-size: 22px;
  color: var(--color-primary);
}

.about__content p {
  color: var(--color-text-slate-700);
  line-height: 1.7;
}

.about__mission {
  background: var(--color-bg-light);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about__mission h3 {
  font-size: 20px;
}

.about .btn-primary {
  width: fit-content;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ==========================================================================
   Home: course
   ========================================================================== */

.course {
  background: var(--color-bg-soft-alt);
}

.course__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.course__image img {
  border-radius: 20px;
}

.course__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course__heading {
  font-size: 32px;
  line-height: 1.2;
}

.course__lead {
  font-size: 17px;
  color: var(--color-text-slate-700);
}

.course__program-title {
  font-size: 24px;
  color: var(--color-primary);
}

.course__program-text {
  color: var(--color-text-slate-700);
  line-height: 1.7;
}

.course .btn-primary {
  width: fit-content;
}

@media (min-width: 1024px) {
  .course__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Home: stats
   ========================================================================== */

.stats__heading {
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 48px;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.stat-counter__value {
  font-family: 'Branding Bold', sans-serif;
  font-size: 40px;
  color: var(--color-primary);
}

.stat-counter__label {
  font-size: 16px;
  color: var(--color-text-slate-700);
  max-width: 200px;
}

/* ==========================================================================
   Home: forum
   ========================================================================== */

.forum__heading {
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
}

.forum__subtitle {
  text-align: center;
  color: var(--color-text-slate-700);
  max-width: 640px;
  margin: 16px auto 32px;
}

.forum__banner {
  display: block;
  border-radius: 20px;
  overflow: hidden;
}

.forum__banner-desktop {
  display: none;
}

@media (min-width: 768px) {
  .forum__banner-desktop {
    display: block;
  }
  .forum__banner-mobile {
    display: none;
  }
}

.forum__footer {
  margin-top: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.forum__date {
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.forum__footer p {
  color: var(--color-text-slate-700);
}

.forum__link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   Home: book
   ========================================================================== */

.book {
  background-image: url('/images/Fondo-libros-scaled.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.book__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.book__image video {
  border-radius: 20px;
  width: 100%;
  display: block;
}

.book__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.book__heading {
  font-size: 32px;
  line-height: 1.2;
  color: var(--color-accent-green);
}

.book__heading-bold {
  font-family: 'Branding Bold', sans-serif;
  font-weight: 700;
}

.book__content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.book .btn-primary {
  width: fit-content;
}

.btn-primary--outline-light {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  border-radius: 30px;
}

.btn-primary--outline-light:hover {
  background: var(--color-white);
  color: #2669be;
  transform: translateY(-2px);
}

@media (min-width: 1024px) {
  .book__grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

/* ==========================================================================
   Home: podcast
   ========================================================================== */

.podcast {
  background: var(--color-bg-soft-alt);
}

.podcast__heading {
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
}

.podcast__heading-bold {
  font-family: 'Branding Bold', sans-serif;
  font-weight: 700;
}

.podcast__lead {
  text-align: center;
  color: var(--color-text-slate-700);
  max-width: 680px;
  margin: 16px auto 40px;
}

.podcast__listen {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.podcast__platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-bottom: 48px;
}

.podcast__platforms img {
  height: 32px;
  width: auto;
}

.podcast__carousel {
  max-width: 920px;
  margin: 0 auto;
}

.podcast__viewport {
  overflow: hidden;
}

.podcast__track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.podcast__slide {
  flex: 0 0 88%;
  height: auto;
  opacity: 0.45;
  transform: scale(0.88);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.podcast__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.podcast__slide .podcast__card {
  cursor: pointer;
}

@media (min-width: 640px) {
  .podcast__slide {
    flex-basis: 62%;
  }
}

@media (min-width: 1024px) {
  .podcast__slide {
    flex-basis: 50%;
  }
}

.podcast__card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease;
}

.podcast__card:hover {
  transform: translateY(-6px);
}

.podcast__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.podcast__card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.podcast__card h4 {
  font-size: 16px;
  padding: 16px 16px 0;
  color: var(--color-heading);
  line-height: 1.4;
}

.podcast__card p {
  padding: 8px 16px 0;
  font-size: 13px;
  color: var(--color-muted);
}

.podcast__cta {
  margin: 16px;
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
}

.podcast__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.podcast__arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.podcast__arrow:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.podcast__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.podcast__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-muted);
  opacity: 0.4;
  border: none;
  padding: 0;
  cursor: pointer;
}

.podcast__dot.is-active {
  background: var(--color-primary);
  opacity: 1;
}

/* ==========================================================================
   Home: contact
   ========================================================================== */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.contact__image img {
  border-radius: 20px;
}

.contact__heading {
  font-size: 32px;
  line-height: 1.2;
}

.contact__heading-bold {
  font-family: 'Branding Bold', sans-serif;
  font-weight: 700;
}

.contact__subtitle {
  color: var(--color-text-slate-700);
  margin: 12px 0 24px;
}

.lead-form {
  width: 100%;
  max-width: 600px;
  background: var(--color-bg-soft-alt);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lead-form-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-form-item label {
  font-size: 14px;
  color: var(--color-text-slate-700);
}

.lead-form-item input,
.lead-form-item textarea {
  border: 1px solid #979797;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  resize: none;
}

.lead-form-error {
  font-size: 13px;
  color: #c0392b;
}

.lead-form-btn {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.lead-form-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.lead-form-success {
  background: var(--color-bg-light);
  border-radius: 16px;
  padding: 32px;
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 600;
}

.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 25px;
  display: flex;
  align-items: center;
  z-index: 99;
}

.whatsapp-float span {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  padding: 12px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 30px;
  font-size: 16px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-float:hover span {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.whatsapp-float img {
  width: 60px;
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

@media (max-width: 1024px) {
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float img {
    width: 50px;
  }
}

/* ==========================================================================
   Clase: top bar
   ========================================================================== */

.top-bar {
  width: 100%;
  overflow: hidden;
  background: var(--color-heading);
  padding: 10px 0;
}

.top-bar__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll-left 22s linear infinite;
  width: max-content;
}

.top-bar__track span {
  color: var(--color-accent-green);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Clase: hero
   ========================================================================== */

.clase-hero {
  background: linear-gradient(135deg, #0b1220 0%, #152a52 50%, #2669be 100%);
  color: var(--color-white);
}

.clase-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.clase-hero__title {
  font-size: 32px;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 20px;
}

.clase-hero__highlight {
  display: block;
  color: #5b9ddb;
  font-size: 22px;
  margin-bottom: 6px;
}

.clase-hero__date {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}

.clase-hero__image img {
  border-radius: 20px;
  will-change: transform;
}

@media (min-width: 768px) {
  .clase-hero__title {
    font-size: 44px;
  }
}

@media (min-width: 1024px) {
  .clase-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ==========================================================================
   Clase: intro
   ========================================================================== */

.intro {
  background: #0f1b3d;
  color: var(--color-white);
}

.intro__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.intro__title {
  font-size: 26px;
  color: var(--color-white);
  line-height: 1.3;
}

.intro__content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.intro__highlight {
  margin: 20px 0;
  padding: 20px;
  background: rgba(91, 157, 219, 0.12);
  border-left: 4px solid #5b9ddb;
  border-radius: 0 8px 8px 0;
}

.intro__highlight-text {
  color: #5b9ddb;
  font-size: 20px;
  font-weight: 700;
}

.intro__final {
  font-weight: 600;
  color: var(--color-white);
}

.intro__date {
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .intro__title {
    font-size: 32px;
  }
}

/* ==========================================================================
   Clase: pilares
   ========================================================================== */

.pilares {
  background: linear-gradient(135deg, #152a52 0%, #2669be 100%);
  color: var(--color-white);
}

.pilares__intro {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 56px;
  color: var(--color-white);
}

.pilares__accent {
  color: #38bdf8;
}

.pilares__row {
  display: flex;
  flex-direction: column;
}

.pilares__item {
  position: relative;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.pilares__item:last-child {
  border-bottom: none;
}

.pilares__ghost {
  position: absolute;
  top: -8px;
  right: 0;
  font-family: 'Branding Bold', sans-serif;
  font-size: 88px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
}

.pilares__label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 10px;
}

.pilares__title {
  display: inline-block;
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 10px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s ease;
  padding-bottom: 4px;
}

.pilares__item:hover .pilares__title {
  background-size: 100% 2px;
}

.pilares__rule {
  display: block;
  width: 36px;
  height: 3px;
  background: #38bdf8;
  margin-bottom: 14px;
}

.pilares__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  max-width: 380px;
  position: relative;
}

@media (min-width: 1024px) {
  .pilares__intro {
    font-size: 28px;
  }

  .pilares__row {
    flex-direction: row;
  }

  .pilares__item {
    flex: 1;
    padding: 0 32px;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .pilares__item:first-child {
    padding-left: 0;
  }

  .pilares__item:last-child {
    padding-right: 0;
    border-right: none;
  }

  .pilares__desc {
    max-width: none;
  }
}

/* ==========================================================================
   Clase: dinerologo
   ========================================================================== */

.dinerologo {
  background: linear-gradient(135deg, #2669be 0%, #152a52 100%);
  color: var(--color-white);
}

.dinerologo__content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dinerologo__intro {
  text-align: center;
}

.dinerologo__intro h2 {
  color: #38bdf8;
  font-size: 28px;
  margin-bottom: 14px;
}

.dinerologo__intro p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.dinerologo__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 28px 24px;
}

.dinerologo__card-head {
  text-align: center;
  margin-bottom: 20px;
}

.dinerologo__card-head h3 {
  font-size: 22px;
  color: var(--color-white);
}

.dinerologo__card-sub {
  color: #38bdf8;
  font-weight: 700;
}

.dinerologo__card-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.dinerologo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.dinerologo__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
}

.dinerologo__next-step {
  text-align: center;
  margin-top: 20px;
  display: inline-block;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 700;
}

.dinerologo__privacy {
  text-align: center;
  padding: 24px;
  background: rgba(56, 189, 248, 0.12);
  border-left: 4px solid #38bdf8;
  border-radius: 0 12px 12px 0;
}

.dinerologo__privacy h4 {
  color: #38bdf8;
  font-size: 18px;
  margin-bottom: 10px;
}

.dinerologo__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dinerologo__tag {
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.dinerologo__quote {
  text-align: center;
  font-size: 18px;
}

.dinerologo__quote span {
  color: #38bdf8;
  font-weight: 700;
}

@media (min-width: 768px) {
  .dinerologo__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Clase: presenter
   ========================================================================== */

.presenter {
  background: linear-gradient(135deg, #152a52 0%, #0b1220 100%);
  color: var(--color-white);
}

.presenter__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.presenter__image img {
  border-radius: 20px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  will-change: transform;
}

.presenter__content h2 {
  font-size: 28px;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 20px;
}

.presenter__highlight {
  color: #38bdf8;
}

.presenter__bio {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 20px;
}

.presenter__quote {
  background: rgba(56, 189, 248, 0.12);
  border-left: 4px solid #38bdf8;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 0 0 20px;
  font-style: italic;
  font-weight: 600;
  display: block;
}

.presenter__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.presenter__tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.presenter__date {
  margin-top: 16px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 768px) {
  .presenter__grid {
    grid-template-columns: 0.6fr 1.4fr;
  }
  .presenter__content h2,
  .presenter__date {
    text-align: left;
  }
}

/* ==========================================================================
   Clase: closing cta
   ========================================================================== */

.closing-cta {
  background: var(--color-bg-soft-alt);
}

.closing-cta__content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.closing-cta__heading {
  font-size: 26px;
  line-height: 1.3;
}

.closing-cta__date {
  font-weight: 700;
  color: var(--color-text-slate-900);
}

.closing-cta__button {
  width: 100%;
  max-width: 320px;
}

/* ==========================================================================
   Clase: footer
   ========================================================================== */

.clase-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.clase-footer__content {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.clase-footer__links a {
  color: rgba(255, 255, 255, 0.8);
}

.clase-footer__links a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Clase: registration modal
   ========================================================================== */

.registration-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
}

.registration-modal.is-open {
  display: grid;
}

.registration-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.65);
}

.registration-modal__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-white);
  border-radius: 20px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.registration-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-light);
  color: var(--color-text-slate-900);
  font-size: 14px;
  cursor: pointer;
}

.registration-modal__heading {
  font-size: 22px;
  line-height: 1.3;
  padding-right: 20px;
}

.registration-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.registration-modal__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.registration-modal__field input {
  border: 1px solid #979797;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
}

.registration-modal__error {
  font-size: 13px;
  color: #c0392b;
}

.registration-modal__submit {
  width: 100%;
}

.registration-modal__success {
  background: var(--color-bg-light);
  border-radius: 16px;
  padding: 28px;
  font-size: 17px;
  color: var(--color-primary);
  font-weight: 600;
}

.registration-modal__date {
  font-weight: 700;
  color: var(--color-text-slate-900);
}

[hidden] {
  display: none !important;
}
