@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Sans+3:wght@300;400;500;600;700&family=Bebas+Neue&family=DM+Mono:wght@300;400&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --sage: #7a9a8a;
  --sage-deep: #4a6b5a;
  --sage-light: #a8c4b4;
  --terra: #c4724a;
  --terra-light: #e8956d;
  --cream: #f5f0e8;
  --cream-dark: #e8dfd2;
  --ink: #1a1a1a;
  --ink-mid: #3a3a3a;
  --ink-light: #6a6a6a;
  --white: #ffffff;
  --gold: #d4a843;
  --gold-light: #e8c96d;
  --teal: #2a6b6b;
  --teal-light: #3a8b8b;
  --red-accent: #b8433a;
  --purple-accent: #6b4a8a;
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html {
  font-size: 16px
}

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: box-shadow .3s
}

nav.scrolled {
  box-shadow: 0 2px 30px rgba(0, 0, 0, .08)
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--sage-deep);
  text-decoration: none;
  letter-spacing: -.02em
}

.nav-logo span {
  color: var(--terra)
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-mid);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color .2s;
  position: relative
}

.nav-links a:hover {
  color: var(--sage-deep)
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra);
  transition: width .3s
}

.nav-links a:hover::after {
  width: 100%
}

.nav-cta {
  background: var(--sage-deep);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  text-transform: uppercase !important;
  font-size: .78rem !important;
  letter-spacing: .08em !important;
  font-weight: 700 !important;
  transition: background .2s, transform .15s
}

.nav-cta:hover {
  background: var(--terra) !important;
  transform: translateY(-1px)
}

.nav-cta::after {
  display: none !important
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .3s
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--sage-deep);
  position: relative;
  overflow: hidden
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(196, 114, 74, .15) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(168, 196, 180, .1) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .1) 0%, transparent 70%)
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg 80deg, rgba(255, 255, 255, .3) 80deg 82deg, transparent 82deg 360deg);
  background-size: 60px 60px;
  animation: mosaicDrift 40s linear infinite
}

@keyframes mosaicDrift {
  0% {
    transform: translate(0, 0) rotate(0deg)
  }

  100% {
    transform: translate(30px, 30px) rotate(3deg)
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 900;
  color: var(--white);
  line-height: .92;
  letter-spacing: -.03em;
  margin-bottom: 24px
}

.hero-text h1 .accent {
  display: block;
  color: var(--terra-light);
  font-size: .35em;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  line-height: 2.2
}

.hero-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300
}

.hero-text .hero-subtitle {
  display: inline-block;
  background: var(--terra);
  color: var(--white);
  padding: 6px 16px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 28px;
  border-radius: 3px
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center
}

.hero-book-frame {
  position: relative;
  width: 380px;
  height: 550px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: perspective(800px) rotateY(-5deg) rotateX(2deg);
  transition: transform .6s
}

.hero-book-frame:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg)
}

.hero-book-frame .mosaic-art {
  width: 260px;
  height: 370px;
  background: var(--cream-dark);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  margin-top: -30px;
  transform: scale(1.2);
}

.mosaic-art svg {
  width: 100%;
  height: 100%
}

.hero-book-label {
  position: absolute;
  bottom: 80px;
  left: 30px;
  right: 30px;
  text-align: center
}

.hero-book-label h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--sage-deep);
  margin-bottom: 4px
}

.hero-book-label p {
  font-size: .7rem;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600
}

.hero-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center
}

.hero-scroll-cue span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .4);
  font-weight: 600;
  display: block;
  margin-bottom: 8px
}

.hero-scroll-cue .arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, .4);
  border-bottom: 2px solid rgba(255, 255, 255, .4);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: scrollBounce 2s infinite
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translate(0, 0)
  }

  50% {
    transform: rotate(45deg) translate(5px, 5px)
  }
}

/* ─── STATS — Bevel Glow Cards ─── */
@property --hov1 {
  syntax: '<number>';
  initial-value: 0;
  inherits: true
}

@property --hov2 {
  syntax: '<number>';
  initial-value: 0;
  inherits: true
}

@property --hov3 {
  syntax: '<number>';
  initial-value: 0;
  inherits: true
}

.stats-section {
  background: var(--ink);
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(196, 114, 74, .06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(42, 107, 107, .06) 0%, transparent 50%);
}

.stats-section .section-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--terra-light);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.stats-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
  position: relative;
  z-index: 2;
}

.stats-section .subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .55);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── Bevel glow card ── */
.glow-card {
  --b: 4px;
  --r: 1.2em;
  --p: 30%;
  --f: .3;
  --hov: 0;
  --s: calc(var(--hov)*(100% + var(--p)) - var(--p));
  --grad: linear-gradient(#0000 var(--s),
      var(--c, #f9f9f9) calc(var(--s) + var(--f)*var(--p)) calc(var(--s) + (1 - var(--f))*var(--p)),
      #0000 calc(var(--s) + var(--p)));
  border: solid var(--b) #0000;
  border-radius: 0 0 var(--r) var(--r);
  padding: 48px 28px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  cursor: default;
  transition: transform .3s;
  /* fallback background (corner-shape not widely supported yet) */
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)) border-box padding-box,
    var(--grad) border-box,
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)) border-box;
}

.glow-card:hover {
  transform: translateY(-4px)
}

/* Animate each card's --hov independently */
.glow-card:nth-child(1) {
  transition: --hov1 .65s ease-out, transform .3s
}

.glow-card:nth-child(1):hover,
.glow-card:nth-child(1):focus-within {
  --hov1: 1
}

.glow-card:nth-child(1) {
  --hov: var(--hov1)
}

.glow-card:nth-child(2) {
  transition: --hov2 .65s ease-out, transform .3s
}

.glow-card:nth-child(2):hover,
.glow-card:nth-child(2):focus-within {
  --hov2: 1
}

.glow-card:nth-child(2) {
  --hov: var(--hov2)
}

.glow-card:nth-child(3) {
  transition: --hov3 .65s ease-out, transform .3s
}

.glow-card:nth-child(3):hover,
.glow-card:nth-child(3):focus-within {
  --hov3: 1
}

.glow-card:nth-child(3) {
  --hov: var(--hov3)
}

/* Fallback pseudo for glow border when corner-shape unsupported */
.glow-card::after {
  content: '';
  position: absolute;
  inset: calc(-1*var(--b));
  border: inherit;
  border-radius: inherit;
  background: var(--grad) border-box;
  pointer-events: none;
  mask: conic-gradient(red 0 0) subtract, conic-gradient(red 0 0) padding-box;
  -webkit-mask: conic-gradient(red 0 0) subtract, conic-gradient(red 0 0) padding-box;
}

.glow-card .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, .06);
}

.glow-card:nth-child(1) .stat-icon {
  color: var(--terra-light)
}

.glow-card:nth-child(2) .stat-icon {
  color: var(--teal-light)
}

.glow-card:nth-child(3) .stat-icon {
  color: #a98bc4
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}

.glow-card:nth-child(1) .stat-number {
  color: var(--terra-light)
}

.glow-card:nth-child(2) .stat-number {
  color: var(--teal-light)
}

.glow-card:nth-child(3) .stat-number {
  color: #a98bc4
}

.stat-label {
  font-size: .9rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.5;
  font-weight: 300
}

/* ─── URGENCY SLIDER ─── */
.urgency-wrapper {
  position: relative;
  background: var(--ink)
}

.urgency-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.urgency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  flex-shrink: 0;
  z-index: 5;
}

.urgency-header .urg-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
}

.urgency-header .urg-counter {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
}

.urgency-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 48px 48px;
  min-height: 0;
  position: relative;
}

.urgency-left {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  position: relative;
  z-index: 4;
}

.urgency-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 12vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.03em;
  overflow: hidden;
  position: relative;
  margin-top: auto;
  margin-bottom: auto;
}

.urgency-title span {
  display: inline-block;
  will-change: transform
}

.urgency-footer {
  flex-shrink: 0;
  margin-top: 24px
}

.urgency-desc {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
  text-transform: uppercase;
  max-width: 320px;
}

.urgency-quote {
  font-family: 'Playfair Display', serif;
  font-size: .85rem;
  font-style: italic;
  color: rgba(255, 255, 255, .4);
  margin-top: 14px;
  max-width: 360px;
  line-height: 1.5;
}

.urgency-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.urgency-images {
  width: 100%;
  height: 100%;
  position: relative
}

.urgency-slide {
  position: absolute;
  top: 53%;
  left: 50%;
  width: 55%;
  aspect-ratio: 1.4;
  overflow: hidden;
  will-change: transform, filter, opacity;
  contain: layout style;
  min-width: 204px;
}

.urgency-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85);
}

.urgency-slide iframe {
  pointer-events: none;
  /* Evita que el mouse interactúe con el iframe y bloquee el scroll */
  transition: opacity 0.5s ease;
}

.urgency-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
  z-index: 10;
  color: rgba(255, 255, 255, .5);
  font-size: 24px;
  font-weight: 300;
}

/* Progress bar */
.urgency-progress {
  position: absolute;
  bottom: 48px;
  right: 48px;
  display: flex;
  gap: 6px;
  align-items: center;
  z-index: 5;
}

.urgency-pip {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, .15);
  transition: background .4s, width .4s;
}

.urgency-pip.active {
  background: var(--terra-light);
  width: 40px
}

@media(min-width:768px) {
  .urgency-header {
    padding: 40px 56px
  }

  .urgency-body {
    padding: 0 56px 56px
  }

  .urgency-slide {
    width: 60%
  }
}

@media(min-width:1024px) {
  .urgency-body {
    flex-direction: row
  }

  .urgency-left {
    width: 55%;
    flex-shrink: 0
  }

  .urgency-right {
    position: static;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    pointer-events: auto
  }

  .urgency-slide {
    width: 68%
  }
}

@media(max-width:768px) {
  .urgency-header {
    padding: 20px 20px
  }

  .urgency-body {
    padding: 0 20px 30px
  }

  .urgency-title {
    font-size: clamp(2.5rem, 10vw, 5rem)
  }

  .urgency-progress {
    bottom: 20px;
    right: 20px
  }
}

/* ─── STATEMENT ─── */
.statement-section {
  background: var(--sage-deep);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.statement-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, .15) 0%, transparent 60%)
}

.statement-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2
}

.statement-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .75);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  z-index: 2
}

/* ════════════════════════════════════════════════════════════════
   ███  3D CUBE — 6 BLOQUES SECTION  ███
   ════════════════════════════════════════════════════════════════ */
.cube-bloques-wrapper {
  position: relative;
  background: #1c1814
}

.cube-scene {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  z-index: 1;
  pointer-events: none;
}

#tlahui-cube {
  --s: min(52vw, 52vh, 420px);
  width: var(--s);
  height: var(--s);
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(90deg) rotateY(0deg);
  will-change: transform;
}

.cube-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  overflow: hidden;
}

.cube-face::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0, rgba(255, 255, 255, .03) 1px, transparent 1px, transparent 48px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0, rgba(255, 255, 255, .03) 1px, transparent 1px, transparent 48px);
}

.cube-face[data-face="top"] {
  background: linear-gradient(135deg, #3a2218, #c4724a);
  transform: rotateX(-90deg) translateZ(calc(var(--s)/2))
}

.cube-face[data-face="front"] {
  background: linear-gradient(135deg, #1e3a28, #4a6b5a);
  transform: translateZ(calc(var(--s)/2))
}

.cube-face[data-face="right"] {
  background: linear-gradient(135deg, #143838, #2a6b6b);
  transform: rotateY(90deg) translateZ(calc(var(--s)/2))
}

.cube-face[data-face="back"] {
  background: linear-gradient(135deg, #3a3018, #d4a843);
  transform: rotateY(180deg) translateZ(calc(var(--s)/2))
}

.cube-face[data-face="left"] {
  background: linear-gradient(135deg, #2a1a3a, #6b4a8a);
  transform: rotateY(-90deg) translateZ(calc(var(--s)/2))
}

.cube-face[data-face="bottom"] {
  background: linear-gradient(135deg, #3a1a18, #b8433a);
  transform: rotateX(90deg) translateZ(calc(var(--s)/2))
}

.cube-face .face-letter {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  color: rgba(255, 255, 255, .1);
  line-height: 1;
  letter-spacing: .04em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none
}

.cube-face .face-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: rgba(255, 255, 255, .85);
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin-bottom: 8px
}

.cube-face .face-question {
  font-family: var(--font-mono);
  font-size: clamp(.6rem, 1.2vw, .78rem);
  color: rgba(255, 255, 255, .4);
  line-height: 1.5;
  max-width: 80%;
  position: relative;
  z-index: 2
}

/* Scroll sections */
.cube-scroll-container {
  position: relative;
  z-index: 2
}

.cube-scroll-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 5rem
}

.cube-text-card {
  max-width: 380px;
  padding: 2rem 1.8rem;
  /* background: rgba(28, 24, 20, .2); */
  backdrop-filter: blur(0px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  transition: background .3s, border-color .3s;
  border-radius: 12px;
}

.cube-text-card.left-card {
  border-left: 1px solid rgba(255, 255, 255, .1)
}

.cube-text-card.right-card {
  margin-left: auto;
  border-right: 1px solid rgba(255, 255, 255, .1);
  text-align: right
}

.cube-text-card .card-h-line {
  width: 50px;
  height: 1px;
  margin-bottom: 1rem;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity .4s, transform .4s;
  transform-origin: left
}

.cube-text-card.right-card .card-h-line {
  margin-left: auto;
  transform-origin: right
}

.cube-text-card .card-tag {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s
}

.cube-text-card .card-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: .92;
  color: #ede8df;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s .08s, transform .5s .08s
}

.cube-text-card .card-body {
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.8;
  color: rgba(237, 232, 223, .45);
  margin-top: 1.1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s .2s, transform .5s .2s
}

.cube-text-card .card-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s .3s, transform .5s .3s
}

.cube-text-card.right-card .card-stats {
  justify-content: flex-end
}

.card-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1
}

.card-stat-label {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35)
}

.cube-text-card .card-nav {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s .35s, transform .5s .35s
}

.cube-text-card.right-card .card-nav {
  justify-content: flex-end
}

.cube-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  border-radius: 20px;
}

.cube-btn-primary {
  border: 1px solid;
  color: inherit;
  background: transparent
}

.cube-btn-primary:hover {
  background: rgba(255, 255, 255, .1)
}

.cube-btn-muted {
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .4);
  background: transparent
}

.cube-btn-muted:hover {
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .7)
}

.cube-btn svg {
  width: 11px;
  height: 11px
}

/* Reveal */
.cube-text-card.in-view .card-h-line {
  opacity: 1;
  transform: scaleX(1)
}

.cube-text-card.in-view .card-tag,
.cube-text-card.in-view .card-heading,
.cube-text-card.in-view .card-body,
.cube-text-card.in-view .card-stats,
.cube-text-card.in-view .card-nav {
  opacity: 1;
  transform: translateY(0)
}

/* HUD */
.cube-hud {
  position: sticky;
  top: 2rem;
  z-index: 10;
  pointer-events: none;
  height: 0
}

.cube-hud-inner {
  position: absolute;
  top: 0;
  right: 2rem;
  text-align: right;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase
}

.cube-hud .hud-progress {
  width: 7.5rem;
  height: 1px;
  background: rgba(255, 255, 255, .12);
  margin-top: .5rem;
  margin-left: auto;
  position: relative;
  overflow: hidden
}

.cube-hud .hud-progress-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  transition: width .1s linear
}

.cube-hud .hud-scene-name {
  font-size: .6rem;
  margin-top: .4rem
}

.cube-dot-strip {
  position: sticky;
  top: 50%;
  z-index: 10;
  height: 0;
  pointer-events: all
}

.cube-dot-strip-inner {
  position: absolute;
  left: 2.2rem;
  top: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.cube-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transition: background .3s, transform .3s;
  cursor: pointer;
  text-decoration: none
}

.cube-dot.active {
  background: var(--terra-light);
  transform: scale(1.8)
}

.cube-face-caption {
  position: sticky;
  bottom: 2rem;
  top: calc(100vh - 5rem);
  z-index: 10;
  height: 0;
  text-align: center;
  pointer-events: none
}

.cube-face-caption-inner {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%)
}

.cube-caption-num {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: .15rem
}

.cube-caption-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  letter-spacing: .08em;
  opacity: .3;
  line-height: 1;
  color: rgba(255, 255, 255, .5)
}

/* Per-bloque colors */
.bloque-t {
  --bloque-accent: var(--terra-light);
  color: var(--terra-light)
}

.bloque-l {
  --bloque-accent: var(--sage-light);
  color: var(--sage-light)
}

.bloque-a {
  --bloque-accent: var(--teal-light);
  color: var(--teal-light)
}

.bloque-h {
  --bloque-accent: var(--gold-light);
  color: var(--gold-light)
}

.bloque-u {
  --bloque-accent: #a98bc4;
  color: #a98bc4
}

.bloque-i {
  --bloque-accent: #e06b5f;
  color: #e06b5f
}

/* ─── BOOK GALLERY (Three.js scroll-driven) ─── */
.gallery-wrapper {
  position: relative;
  background: #f5f0e8;
  /* tall wrapper — scroll drives the gallery */
}

.gallery-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.gallery-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gallery-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.gallery-logo {
  position: absolute;
  top: 40px;
  left: 50px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: .85rem;
  text-transform: uppercase;
  color: var(--sage-deep);
  z-index: 10;
}

.gallery-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50px;
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-light);
  z-index: 10;
}

.gallery-slide {
  position: absolute;
  top: 20%;
  left: 7%;
  width: 32%;
  max-width: 460px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease-out;
  pointer-events: auto;
}

.gallery-slide.active {
  opacity: 1;
  transform: translateY(0);
  background: #ffffffe0;
  padding: 24px;
  border-radius: 0px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: solid 1px #000;
  box-shadow: 17px 18px 1px #dbd7d0;
}

.gallery-slide .g-cat {
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 5px;
}

.gallery-slide .g-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0 0 1.5rem;
  line-height: 1;
  color: var(--ink);
}

.gallery-slide .g-desc {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-light);
  margin-bottom: 2.5rem;
  text-align: justify;
}

.gallery-slide .g-meta {
  display: grid;
  grid-template-columns: 90px 1fr;
  row-gap: .8rem;
  border-top: 1px solid var(--cream-dark);
  padding-top: 1.5rem;
}

.gallery-slide .g-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-light);
  align-self: center;
}

.gallery-slide .g-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-mid);
}

.gallery-dots {
  position: absolute;
  bottom: 40px;
  right: 50px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream-dark);
  transition: background .3s, transform .3s;
}

.gallery-dot.active {
  background: var(--terra);
  transform: scale(1.4)
}

@media(max-width:1024px) {
  .gallery-slide {
    top: auto;
    bottom: 8%;
    left: 5%;
    width: 55%;
    max-width: none
  }

  .gallery-slide .g-title {
    font-size: clamp(2rem, 4vw, 3rem)
  }
}

@media(max-width:768px) {
  .gallery-slide {
    width: 85%;
    left: 5%;
    bottom: 6%
  }

  .gallery-slide .g-desc {
    font-size: .9rem;
    line-height: 1.6
  }

  .gallery-logo {
    top: 20px;
    left: 20px;
    font-size: .75rem
  }

  .gallery-scroll-hint {
    bottom: 20px;
    left: 20px
  }

  .gallery-dots {
    bottom: 20px;
    right: 20px
  }
}

/* ─── FAQ ─── */
.faq-section {
  background: var(--white);
  padding: 120px 40px
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto
}

.faq-inner .section-label {
  text-align: center;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 12px
}

.faq-inner>h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 50px
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  padding: 24px 0
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4
}

.faq-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .3s;
  font-size: 1.2rem;
  color: var(--sage-deep);
  font-weight: 300
}

.faq-item.open .faq-toggle {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--white);
  transform: rotate(45deg)
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: 16px
}

.faq-answer p {
  font-size: .95rem;
  color: var(--ink-light);
  line-height: 1.7
}

/* ─── AUTHORS CARDS ─── */
.authors-section {
  background: var(--cream);
  padding: 100px 40px;
  position: relative
}

.authors-section .section-label {
  text-align: center;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 12px
}

.authors-section>h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 50px
}

.authors-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.author-card-full {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 14px 60px rgba(34, 35, 58, .08);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.author-card-full:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 70px rgba(34, 35, 58, .2);
}

.author-card-full:nth-child(even) {
  flex-direction: row-reverse
}

.author-card-img {
  width: 320px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.author-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}

.author-card-full:hover .author-card-img img {
  transform: scale(1.04)
}

.author-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .15) 100%);
}

.author-card-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.author-tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.author-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.2;
}

.author-bio {
  font-size: .9rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 10px;
}

.author-bio:last-child {
  margin-bottom: 0
}

@media(max-width:768px) {

  .author-card-full,
  .author-card-full:nth-child(even) {
    flex-direction: column
  }

  .author-card-img {
    width: 100%;
    height: 280px
  }

  .author-card-body {
    padding: 28px 24px
  }

  .authors-section {
    padding: 60px 20px
  }
}

/* ─── FOOTER ─── */
footer {
  background: var(--sage-deep);
  color: var(--white);
  padding: 60px 40px 30px
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px
}

.footer-brand p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.6;
  max-width: 360px
}

.footer-links h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .5)
}

.footer-links ul {
  list-style: none
}

.footer-links li {
  margin-bottom: 10px
}

.footer-links a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s
}

.footer-links a:hover {
  color: var(--white)
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255, 255, 255, .4)
}

.footer-bottom a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none
}

/* ─── GENERAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .7s
}

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

/* ─── RESPONSIVE ─── */
@media(max-width:1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
    padding: 100px 30px 80px
  }

  .hero-text p {
    margin: 0 auto
  }

  .hero-visual {
    order: -1
  }

  .hero-book-frame {
    width: 280px;
    height: 360px;
    transform: none
  }

  .mosaic-art {
    width: 180px !important;
    height: 210px !important
  }

  .crisis-inner {
    grid-template-columns: 1fr;
    gap: 50px
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .cube-scroll-section {
    padding: 4rem 2rem
  }

  #tlahui-cube {
    --s: min(60vw, 50vh, 350px)
  }
}

@media(max-width:768px) {
  .nav-links {
    display: none
  }

  .mobile-toggle {
    display: block
  }

  .nav-inner {
    padding: 14px 20px
  }

  .stats-grid {
    grid-template-columns: 1fr
  }

  .hero-content {
    padding: 80px 20px 60px
  }

  .stats-section,
  .faq-section,
  .authors-section {
    padding: 80px 20px
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center
  }

  .cube-scroll-section {
    min-height: 150vh;
    align-items: flex-end;
    padding: 0 1.5rem 3.5rem
  }

  .cube-scroll-section:first-child {
    min-height: 100vh;
    align-items: center;
    padding: 4rem 1.5rem
  }

  .cube-text-card,
  .cube-text-card.right-card {
    max-width: 100%;
    padding: 1.5rem 1.25rem;
    text-align: left;
    margin-left: 0;
    border-left: 1px solid rgba(255, 255, 255, .1);
    border-right: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: #0000001c;
  }

  .cube-text-card.right-card .card-h-line {
    margin-left: 0;
    transform-origin: left
  }

  .cube-text-card.right-card .card-stats {
    justify-content: flex-start
  }

  .cube-text-card.right-card .card-nav {
    justify-content: flex-start
  }

  .cube-hud-inner {
    right: 1rem
  }

  .cube-dot-strip-inner {
    display: none
  }

  #tlahui-cube {
    --s: min(70vw, 45vh, 300px)
  }
}

/* ─── HERO BUY BUTTON ─── */
.hero-buy-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terra);
  color: var(--white);
  padding: 10px 32px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(196, 114, 74, .35);
  transition: background .2s, transform .2s;
  z-index: 5;
}

.hero-buy-btn:hover {
  background: var(--terra-light);
  transform: translateX(-50%) translateY(-2px)
}

/* ─── TESTIMONIALS ─── */
.testimonials-section {
  background: var(--sage-deep);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, .12) 0%, transparent 60%);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2
}

.testimonials-header .section-label {
  color: var(--terra-light)
}

.testimonials-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  min-height: 280px;
}

.testimonial-card {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInTest .6s ease;
}

.testimonial-card.active {
  display: flex
}

@keyframes fadeInTest {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  font-style: italic;
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
  margin-bottom: 28px;
  position: relative;
  padding: 0 20px;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -10px;
  color: var(--terra-light);
  font-family: 'Playfair Display', serif;
  opacity: .5;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.testimonial-author strong {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700
}

.testimonial-author span {
  color: rgba(255, 255, 255, .5);
  font-size: .78rem;
  font-style: italic
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.test-prev,
.test-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: none;
  color: rgba(255, 255, 255, .7);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, color .2s;
}

.test-prev:hover,
.test-next:hover {
  border-color: rgba(255, 255, 255, .6);
  color: var(--white)
}

.test-dots {
  display: flex;
  gap: 8px
}

.test-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transition: background .3s, transform .3s;
}

.test-dot.active {
  background: var(--terra-light);
  transform: scale(1.4)
}

/* ─── DIPLOMADO ─── */
.diplomado-section {
  background: var(--ink);
  color: var(--white);
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}

.diplomado-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(196, 114, 74, .06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(42, 107, 107, .06) 0%, transparent 50%);
}

.diplomado-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 2
}

.diplomado-header .section-label {
  color: var(--terra-light)
}

.diplomado-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px
}

.diplomado-intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.6;
  font-weight: 300
}

.diplomado-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.dip-stat {
  text-align: center;
  padding: 30px 20px
}

.dip-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--terra-light);
  display: block;
  margin-bottom: 12px;
}

.dip-label {
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6
}

.microcredenciales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.micro-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 28px 24px;
  transition: background .3s, border-color .3s, transform .3s;
}

.micro-card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .15);
  transform: translateY(-4px);
}

.micro-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--terra-light);
  margin-bottom: 12px;
  line-height: 1;
}

.micro-card h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.4;
}

.micro-link {
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--terra-light);
  text-decoration: none;
  transition: color .2s;
}

.micro-link:hover {
  color: var(--white)
}

@media(max-width:768px) {
  .testimonials-section {
    padding: 60px 20px
  }

  .diplomado-section {
    padding: 80px 20px
  }

  .diplomado-stats {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .microcredenciales-grid {
    grid-template-columns: 1fr
  }
}