/* =============================================
   SPANISH LESSONS WITH MERCEDES — Shared CSS
   Colors: Ochre #D4920A | Dark #121117 | Teal #3DDABE
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Figtree', sans-serif;
  background: #fff;
  color: #000;
  min-width: 320px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; }

/* ─── i18n: language display ─── */
/* NOTE: body gets class "is-spanish" (not "lang-es") to avoid self-hiding */
.lang-es { display: none; }
body.is-spanish .lang-en { display: none; }
body.is-spanish .lang-es { display: inline; }
body.is-spanish .lang-es-block { display: block; }
.lang-es-block { display: none; }
body.is-spanish .lang-en-block { display: none; }
.lang-en-block { display: block; }

/* ─── TOP BANNER ──────────────────────────── */
.top-banner {
  background: #121117; height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 16px;
}
.top-banner__inner {
  flex: 1; display: flex; align-items: center;
  justify-content: center; gap: 12px;
  font-size: 14px; font-weight: 600; color: #fff;
  letter-spacing: 0.07px; line-height: 20px;
}
.top-banner__icon {
  width: 28px; height: 28px; background: #D4920A; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.top-banner__link { color: #D4920A; text-decoration: underline; }
.top-banner__close {
  width: 40px; height: 40px; background: #1f1f2e; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; flex-shrink: 0;
}

/* ─── HEADER ──────────────────────────────── */
.header {
  background: #fff;
  height: 100px;
  display: flex; align-items: center; padding: 0 32px;
  justify-content: space-between; position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid #e0e0e0;
}
.header__left { display: flex; align-items: center; gap: 32px; }
.header__logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.header__logo-img { height: 64px; width: auto; object-fit: contain; }
.header__logo-mark {
  width: 38px; height: 38px; background: #121117; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.header__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__logo-top {
  font-size: 9px; font-weight: 600; color: #121117;
  letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap;
}
.header__logo-bottom {
  font-family: 'Noto Sans', sans-serif; font-size: 16px;
  font-weight: 700; color: #121117; white-space: nowrap;
}
.header__nav { display: flex; align-items: center; gap: 12px; position: relative; }
.header__nav > a {
  font-size: 17px; font-weight: 700; color: #000;
  white-space: nowrap; line-height: 28px; padding: 14px 28px;
  border-radius: 6px; transition: all 0.2s;
  background: #f9f9f9; border: 1px solid #e5e5e5;
}
.header__nav > a:hover { background: #fff; border-color: #d0d0d0; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.header__nav > a.active { background: #fff; border-color: #d0d0d0; }

/* Navigation Dropdowns */
.nav-item-dropdown {
  position: relative;
}

.nav-item-trigger {
  font-size: 17px; font-weight: 700; color: #000;
  white-space: nowrap; line-height: 28px; padding: 14px 28px;
  border-radius: 6px; transition: all 0.2s;
  background: #f9f9f9; border: 1px solid #e5e5e5;
  display: block;
  cursor: pointer;
  font-family: inherit;
}

.nav-item-trigger:hover {
  background: #fff; border-color: #d0d0d0; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: white; border: 1px solid #ddd; border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  min-width: 220px; padding: 12px 0;
  display: none; z-index: 1000;
}

.nav-item-dropdown.active .nav-dropdown {
  display: block;
}

.nav-item-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block; padding: 14px 24px; color: #000; font-weight: 600;
  font-size: 15px; text-decoration: none; transition: all 0.2s;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: #f5f5f5; color: #D4920A;
}
.header__right { display: flex; align-items: center; gap: 10px; margin-left: 24px; }

/* Language switcher */
.lang-switcher {
  display: flex; align-items: center;
  background: rgba(18,17,23,0.12); border-radius: 20px;
  overflow: hidden; border: 1px solid rgba(18,17,23,0.2);
}
.lang-btn {
  padding: 5px 12px; font-size: 13px; font-weight: 700;
  color: #121117; cursor: pointer; transition: background 0.15s;
  letter-spacing: 0.5px; border: none; background: transparent;
}
.lang-btn.active { background: #121117; color: #D4920A; }
.lang-btn:hover:not(.active) { background: rgba(18,17,23,0.1); }

.header__admin-link {
  font-size: 13px; font-weight: 600; color: rgba(18,17,23,0.6);
  padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(18,17,23,0.2);
  transition: all 0.15s;
}
.header__admin-link:hover { background: rgba(18,17,23,0.08); color: #121117; }

/* ─── SEARCH BAR ─────────────────────────── */
#headerSearch { position: relative; display: flex; align-items: center; }
.header__search-wrap { position: relative; display: flex; align-items: center; }
#searchInput {
  width: 170px; box-sizing: border-box; padding: 9px 36px 9px 14px;
  border: 1.5px solid rgba(18,17,23,0.2); border-radius: 8px;
  font-size: 14px; font-weight: 500; font-family: inherit;
  outline: none; background: #fff; color: #121117;
  transition: border-color 0.15s, width 0.2s;
}
#searchInput::placeholder { color: rgba(18,17,23,0.4); }
#searchInput:focus { border-color: #D4920A; }
.header__search-icon {
  position: absolute; right: 10px; pointer-events: none;
  color: rgba(18,17,23,0.4);
}
#searchResults {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  width: 320px; background: #fff;
  border: 1px solid rgba(18,17,23,0.12); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 9999; overflow: hidden;
}

/* ─── HERO ────────────────────────────────── */
.hero { background: #D4920A; padding: 64px 64px 64px 96px; }
.hero__inner {
  display: flex; align-items: flex-start;
  justify-content: space-between; max-width: 1440px;
}
.hero__text {
  display: flex; flex-direction: column; gap: 48px;
  flex-shrink: 0; max-width: 640px;
}
.hero__heading {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: 76px; line-height: 1.05; letter-spacing: -0.6px; color: #000;
}

.hero__highlight {
  color: #000;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #121117; color: #fff;
  font-size: 18px; font-weight: 600; letter-spacing: 0.09px; line-height: 24px;
  padding: 16px 30px; border-radius: 8px; width: 320px; justify-content: center;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
}
.hero__images {
  flex: 1; min-width: 0; display: flex; justify-content: flex-end;
  align-items: center; padding-right: 30px;
}
.hero__img-stack { position: relative; width: 420px; height: 520px; flex-shrink: 0; }
.hero__img-stack img:nth-child(1) {
  width: 420px; height: 520px;
  object-fit: cover; object-position: top center;
  border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

/* ─── STATS ───────────────────────────────── */
.stats {
  padding: 28px 80px;
  display: flex; align-items: center;
  border-top: 4px solid #DCDCE5;
  border-bottom: 1px solid #DCDCE5;
  background: #fff;
}
.stats__inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 8px; flex: 1; }
.stat__number {
  font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 27px;
  color: #121117; letter-spacing: 0.32px; line-height: 36px;
}
.stat__label { font-size: 16px; font-weight: 600; color: #4D4C5C; line-height: 24px; white-space: nowrap; }
.stat__rating { display: flex; align-items: center; }
.stat__rating-number {
  font-family: 'Noto Sans', sans-serif; font-weight: 700;
  font-size: 29px; line-height: 36px; letter-spacing: 0.32px;
}
.stat__stars { display: flex; }

/* ─── CARDS GRID ──────────────────────────── */
.cards-section { padding: 64px 80px 32px; background: #fff; }
.section-heading {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: 68px; line-height: 76px; letter-spacing: -0.6px; color: #000; margin-bottom: 48px;
}
.section-subheading {
  font-size: 20px; font-weight: 400; line-height: 28px; letter-spacing: -0.1px;
  color: #121117; margin-bottom: 48px; margin-top: -32px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1280px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1280px; }
.card-link {
  display: flex; align-items: center; gap: 16px; padding: 0 25px; height: 120px;
  border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer;
  text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.card-link:hover { border-color: #D4920A; box-shadow: 0 2px 12px rgba(212,146,10,0.15); }
.card-link__icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #121117; }
.card-link__info { flex: 1; }
.card-link__name {
  font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 22px;
  line-height: 32px; letter-spacing: 0.32px; color: #121117;
}
.card-link__count { font-size: 14px; font-weight: 400; color: #4D4C5C; line-height: 20px; letter-spacing: 0.07px; }
.card-link__arrow { width: 32px; height: 32px; flex-shrink: 0; color: #121117; }
.show-more-wrap { margin-top: 32px; }
.show-more-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 12px 0;
  font-size: 18px; font-weight: 600; color: #121117; line-height: 24px; cursor: pointer;
}

/* ─── WHO IS MERCEDES ─────────────────────── */
.who-section { padding: 100px 80px; background: #fff; }
.who-section__inner {
  max-width: 1280px; display: grid;
  grid-template-columns: 400px 1fr; gap: 80px; align-items: center;
}
.who-section__photo {
  position: relative;
}
.who-section__photo img {
  width: 100%; border-radius: 16px; object-fit: cover;
  box-shadow: 0 20px 60px rgba(212,146,10,0.18);
}
.who-section__photo-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: #D4920A; color: #121117;
  padding: 16px 20px; border-radius: 10px;
  font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 14px;
  text-align: center; box-shadow: 0 8px 24px rgba(212,146,10,0.3);
}
.who-section__photo-badge strong { display: block; font-size: 26px; line-height: 1; }
.who-section__content { display: flex; flex-direction: column; gap: 26px; }
.who-section__tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: #D4920A; color: #fff;
  padding: 9px 20px; border-radius: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase;
  width: fit-content; box-shadow: 0 4px 14px rgba(212,146,10,0.35);
}
.who-section__tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.65); flex-shrink: 0;
}
.who-section__hello {
  font-size: 36px; color: #1C2A4A; font-weight: 700; font-style: normal;
  margin: 0 0 -6px; letter-spacing: -0.5px; line-height: 1.15;
}
.who-section__name {
  font-family: 'Figtree', sans-serif; font-size: 96px; line-height: 0.95; font-weight: 900;
  color: #121117; display: block; letter-spacing: -3px;
  position: relative; padding-bottom: 16px;
}
.who-section__name::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 72px; height: 5px; border-radius: 3px; background: #D4920A;
}
.who-section__desc {
  font-size: 17px; font-weight: 400; line-height: 32px; color: #333;
}
.who-section__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.who-section__pill {
  padding: 10px 20px; border-radius: 24px;
  border: 2px solid #D4920A; background: transparent;
  font-size: 14px; font-weight: 700; color: #D4920A; transition: all 0.2s;
}
.who-section__pill:hover {
  background: #D4920A; color: #fff;
}
.who-section__stats {
  display: flex; gap: 0; border-top: 1px solid rgba(212,146,10,0.2); padding-top: 24px; margin-top: 4px;
}
.who-stat {
  flex: 1; display: flex; flex-direction: column; gap: 4px;
  padding-right: 24px; border-right: 1px solid rgba(212,146,10,0.2);
}
.who-stat:last-child { border-right: none; padding-right: 0; padding-left: 24px; }
.who-stat:nth-child(2) { padding-left: 24px; }
.who-stat__num {
  font-family: 'Noto Sans', sans-serif; font-weight: 900;
  font-size: 28px; color: #121117; line-height: 1;
}
.who-stat__icon { font-size: 24px; line-height: 1; }
.who-stat__label { font-size: 12px; color: #9B9AAB; font-weight: 600; line-height: 1.4; }
.who-section__credentials {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px;
}
.credential {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: #fff; border-radius: 8px;
  border: 1px solid rgba(212,146,10,0.2);
}
.credential__icon {
  width: 40px; height: 40px; background: #D4920A; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff;
}
.credential__text { font-size: 14px; line-height: 22px; color: #4D4C5C; }
.credential__text strong { display: block; font-size: 15px; color: #121117; margin-bottom: 2px; }
.who-section__cta {
  display: flex; gap: 12px; align-items: center; margin-top: 8px;
}
.btn-ochre {
  display: inline-flex; align-items: center; gap: 8px;
  background: #D4920A; color: #121117; font-size: 16px; font-weight: 700;
  padding: 14px 28px; border-radius: 8px; border: none; cursor: pointer;
  text-decoration: none; transition: background 0.2s;
}
.btn-ochre:hover { background: #B87C08; }
.btn-outline-ochre {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #D4920A; font-size: 16px; font-weight: 700;
  padding: 14px 28px; border-radius: 8px; border: 2px solid #D4920A;
  cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.btn-outline-ochre:hover { background: #D4920A; color: #121117; }

/* ─── PROGRESS / SLIDER ───────────────────── */
.progress-section { padding: 64px 80px; background: linear-gradient(to bottom, #D4920A 0%, #D4920A 25%, #fff 25%); }
.progress-section__header { text-align: center; margin-bottom: 64px; }
.progress-section__heading {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: 72px; line-height: 88px; letter-spacing: -0.6px; color: #000;
}
.progress-section__sub {
  font-size: 20px; font-weight: 400; line-height: 28px;
  letter-spacing: -0.1px; color: #121117; margin-top: 24px;
}
.progress-slider {
  display: grid; grid-template-columns: 40px 1fr 40px;
  gap: 24px; align-items: center; min-height: 592px;
}
.slider-nav {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #121117; border: 1px solid rgba(0,0,0,0.15);
}
.slider-nav:hover { border-color: #D4920A; color: #D4920A; }
.slider-content {
  display: flex; gap: 96px; align-items: center;
  justify-content: center; padding: 0 64px; min-height: 592px;
}
.slider-image-area { flex: 1; display: flex; justify-content: flex-end; }
.slider-image-stack { position: relative; width: 395px; }
.slider-image-stack img:nth-child(1) {
  position: absolute; left: -77px; top: 47px;
  width: 253px; height: 379px; object-fit: cover; border-radius: 4px; opacity: 0.6;
}
.slider-image-stack img:nth-child(2) {
  position: absolute; left: -39px; top: 33px;
  width: 316px; height: 474px; object-fit: cover; border-radius: 4px; opacity: 0.8;
}
.slider-image-stack img:nth-child(3) {
  position: relative; width: 395px; height: 592px; object-fit: cover; border-radius: 4px;
}
.slider-text { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.slider-text__quote {
  font-family: 'Noto Sans', sans-serif; font-weight: 700;
  font-size: 26px; line-height: 36px; letter-spacing: 0.32px; color: #121117;
}
.slider-text__source { font-size: 16px; color: #4D4C5C; line-height: 24px; }
.slider-dots { display: flex; align-items: center; }
.slider-dots span { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; }
.dot-active { width: 12px; height: 12px; background: #D4920A; border-radius: 2px; }
.dot { width: 8px; height: 8px; background: #DCDCE5; border-radius: 50%; }

/* ─── HOW IT WORKS ────────────────────────── */
.how-it-works { padding: 64px 80px; background: linear-gradient(to bottom, #D4920A 0%, #D4920A 25%, #fff 25%); }
.how-it-works__heading {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: 68px; line-height: 76px; letter-spacing: -0.6px;
  color: #000; margin-bottom: 48px;
}
.step-cards-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 16px; }
.step-card {
  border: 1px solid #121117; border-radius: 4px; background: #fff;
  width: 410px; min-width: 410px; height: 516px; overflow: hidden;
  flex-shrink: 0; padding: 33px 33px 1px 33px;
  display: flex; flex-direction: column; gap: 24px;
}
.step-card__top { display: flex; flex-direction: column; gap: 12px; }
.step-badge {
  width: 40px; height: 40px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 25px; line-height: 36px;
}
.step-badge--teal { background: #7BEAD6; color: #121117; }
.step-badge--yellow { background: #FFE03D; color: #121117; }
.step-badge--blue { background: #2885FD; color: #fff; }
.step-card__title {
  font-family: 'Noto Sans', sans-serif; font-weight: 700;
  font-size: 36px; line-height: 48px; color: #121117;
}
.step-card__desc { font-size: 16px; font-weight: 400; color: #121117; line-height: 24px; }
.step-card__image { flex: 1; overflow: hidden; position: relative; margin: 0 -33px -1px; }
.step-card__image img { width: 100%; height: 100%; object-fit: cover; }
.tutor-stack { position: relative; height: 280px; margin-top: 8px; }
.tutor-mini-card {
  position: absolute; background: #fff; border: 1px solid #6A697C; border-radius: 8px;
  padding: 13px; min-width: 330px; display: flex; gap: 12px; align-items: flex-start;
}
.tutor-mini-card:nth-child(1) { top: 170px; left: 28px; z-index: 3; }
.tutor-mini-card:nth-child(2) { top: 85px; left: 14px; z-index: 2; opacity: 0.8; }
.tutor-mini-card:nth-child(3) { top: 0; left: 0; z-index: 1; opacity: 0.6; }
.tutor-mini-avatar { width: 80px; height: 80px; border-radius: 4px; object-fit: cover; border: 1px dashed rgba(18,17,23,0.1); flex-shrink: 0; }
.tutor-mini-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tutor-mini-name { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 16px; line-height: 22px; letter-spacing: 0.35px; display: flex; justify-content: space-between; align-items: center; }
.tutor-mini-detail { font-size: 12px; color: #4D4C5C; line-height: 18px; display: flex; align-items: flex-start; gap: 4px; }

/* ─── PLAY & LEARN ───────────────────────── */
.games-section { padding: 64px 80px; background: linear-gradient(to bottom, #D4920A 0%, #D4920A 20%, #fff 20%); }
.games-section__heading {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: 68px; line-height: 76px; color: #000; margin-bottom: 8px; letter-spacing: -0.6px;
}
.games-section__sub { font-size: 16px; line-height: 1.6; color: #4D4C5C; margin-bottom: 40px; max-width: 680px; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.game-card {
  border: 1px solid #DCDCE5; border-radius: 12px;
  padding: 0; display: flex; flex-direction: column;
  background: #fff; overflow: hidden; cursor: pointer;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}
.game-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); border-color: #D4920A; transform: translateY(-3px); }

.game-card__top {
  padding: 24px 24px 16px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.game-card__icon {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: #FDF3DC;
}
.game-card__badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; white-space: nowrap;
  background: #E6F9F5; color: #1A9E87;
}
.game-card__body { padding: 0 24px 16px; flex: 1; }
.game-card__title {
  font-family: 'Noto Sans', sans-serif; font-weight: 700;
  font-size: 17px; line-height: 1.35; color: #121117; margin-bottom: 6px;
}
.game-card__desc { font-size: 13px; line-height: 1.6; color: #4D4C5C; }
.game-card__footer {
  padding: 14px 24px; border-top: 1px solid #F0F0F5;
  display: flex; align-items: center; justify-content: space-between;
}
.game-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #D4920A; }
.game-card__cta svg { transition: transform 0.2s; }
.game-card:hover .game-card__cta svg { transform: translateX(3px); }
.game-card__level { font-size: 12px; color: #9B9AAB; font-weight: 600; }

/* ── GAME MODAL ──────────────────────────── */
.game-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
  background: rgba(18,17,23,0.7); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.22s;
}
.game-modal.gm--open { opacity: 1; }
.gm-box {
  background: #fff; border-radius: 16px; width: 760px; max-width: 96vw;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  transform: translateY(12px); transition: transform 0.22s;
}
.game-modal.gm--open .gm-box { transform: translateY(0); }
.gm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 32px 0; border-bottom: 1px solid #F0F0F5; padding-bottom: 18px;
}
.gm-title { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 23px; color: #121117; }
.gm-close {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid #DCDCE5;
  background: #fff; cursor: pointer; font-size: 18px; display: flex;
  align-items: center; justify-content: center; color: #4D4C5C;
  transition: background 0.15s;
}
.gm-close:hover { background: #F3F3F6; }
.gm-header-actions { display: flex; align-items: center; gap: 8px; }
.gm-fullscreen {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid #DCDCE5;
  background: #fff; cursor: pointer; display: flex;
  align-items: center; justify-content: center; color: #4D4C5C;
  transition: background 0.15s;
}
.gm-fullscreen:hover { background: #F3F3F6; }
#game-modal:fullscreen { background: #fff; }
#game-modal:fullscreen .gm-box {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  border-radius: 0; display: flex; flex-direction: column;
}
#game-modal:fullscreen #gm-body { flex: 1; max-width: 760px; margin: 0 auto; width: 100%; }
#gm-body { padding: 26px 32px 32px; font-size: 17px; }

/* progress */
.gm-top { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.gm-prog-wrap { flex: 1; height: 7px; background: #F0F0F5; border-radius: 3px; overflow: hidden; }
.gm-prog-fill { height: 100%; background: #D4920A; border-radius: 3px; transition: width 0.3s; }
.gm-count { font-size: 14px; color: #9B9AAB; font-weight: 600; white-space: nowrap; }
.gm-correct { font-size: 14px; color: #1A9E87; font-weight: 700; white-space: nowrap; }

/* shared game elements */
.gm-instr { font-size: 17px; color: #4D4C5C; margin-bottom: 18px; }
.gm-question { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 23px; color: #121117; margin-bottom: 22px; line-height: 1.4; }
.gm-sentence { font-size: 25px; font-weight: 600; color: #121117; text-align: center; padding: 24px; background: #F9F9FB; border-radius: 8px; margin-bottom: 18px; line-height: 1.5; }
.gm-blank { color: #D4920A; border-bottom: 2px solid #D4920A; padding: 0 4px; }
.gm-hint-line { font-size: 15px; color: #9B9AAB; margin-bottom: 16px; }
.gm-feedback { min-height: 28px; margin-top: 14px; font-size: 16px; font-weight: 600; text-align: center; }
.fb-ok { color: #1A9E87; }
.fb-ko { color: #C8102E; }

/* option buttons */
.gm-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.gm-opt {
  padding: 15px 18px; border: 1.5px solid #DCDCE5; border-radius: 8px;
  background: #fff; font-size: 17px; font-weight: 600; color: #121117;
  cursor: pointer; text-align: left; transition: border-color 0.15s, background 0.15s;
}
.gm-opt:hover:not(:disabled) { border-color: #D4920A; background: #FDF3DC; }
.opt-correct { border-color: #1A9E87 !important; background: #E6F9F5 !important; color: #1A9E87 !important; }
.opt-wrong   { border-color: #C8102E !important; background: #FDECEA !important; color: #C8102E !important; }

/* shared buttons */
.gm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 24px; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; border: none; transition: background 0.15s, opacity 0.15s; }
.gm-btn:disabled { opacity: 0.5; cursor: default; }
.gm-btn-primary { background: #D4920A; color: #121117; }
.gm-btn-primary:hover:not(:disabled) { background: #b87d08; }
.gm-btn-ghost { background: #F3F3F6; color: #4D4C5C; }
.gm-btn-ghost:hover:not(:disabled) { background: #e5e5ec; }
.gm-btn-correct { background: #E6F9F5; color: #1A9E87; }
.gm-btn-correct:hover { background: #c8f0e8; }
.gm-btn-wrong { background: #FDECEA; color: #C8102E; }
.gm-btn-wrong:hover { background: #fad5d1; }

/* SER/ESTAR buttons */
.se-btns { display: flex; gap: 10px; justify-content: center; margin: 12px 0; flex-wrap: wrap; }
.se-btn {
  flex: 1; min-width: 90px; max-width: 200px;
  padding: 16px 14px; border-radius: 10px;
  border: 2px solid #DCDCE5; background: #fff;
  font-family: 'Noto Sans', sans-serif; font-weight: 900;
  font-size: clamp(15px, 2.3vw, 21px); color: #121117;
  cursor: pointer; letter-spacing: 0.3px;
  white-space: normal; word-break: break-word;
  text-align: center; line-height: 1.25;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.se-btn:hover:not(:disabled) { border-color: #D4920A; background: #FDF3DC; transform: scale(1.03); }
.se-correct { border-color: #1A9E87 !important; background: #E6F9F5 !important; color: #1A9E87 !important; }
.se-wrong   { border-color: #C8102E !important; background: #FDECEA !important; color: #C8102E !important; }

/* FLASHCARD */
.fc-card { width: 100%; height: 200px; perspective: 900px; cursor: pointer; margin-bottom: 16px; }
.fc-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.4s; }
.fc-flipped { transform: rotateY(180deg); }
.fc-front, .fc-back {
  position: absolute; inset: 0; backface-visibility: hidden;
  border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  border: 2px solid #DCDCE5;
}
.fc-front { background: linear-gradient(145deg, #FDF3DC, #fff); }
.fc-back  { background: linear-gradient(145deg, #E6F9F5, #fff); transform: rotateY(180deg); }
.fc-lang { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #9B9AAB; }
.fc-word { font-family: 'Noto Sans', sans-serif; font-size: 34px; font-weight: 900; color: #121117; }
.fc-level-badge { font-size: 12px; font-weight: 700; background: #F3F3F6; color: #9B9AAB; padding: 3px 10px; border-radius: 20px; }
.fc-tap { font-size: 13px; color: #9B9AAB; margin-top: 4px; }
.fc-btns { display: flex; gap: 12px; justify-content: center; }

/* WORD ORDER */
.wo-selected-area {
  min-height: 52px; border: 2px dashed #DCDCE5; border-radius: 8px;
  padding: 10px 14px; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.wo-placeholder { font-size: 15px; color: #BEBEC8; font-style: italic; }
.wo-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: #121117; color: #fff; padding: 7px 14px; border-radius: 6px;
  font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.15s;
}
.wo-chip:hover { background: #C8102E; }
.wo-x { font-size: 12px; opacity: 0.6; }
.wo-words-area { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.wo-word {
  padding: 10px 16px; border: 1.5px solid #DCDCE5; border-radius: 6px;
  background: #fff; font-size: 16px; font-weight: 600; color: #121117;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.wo-word:hover:not(:disabled) { border-color: #D4920A; background: #FDF3DC; }
.wo-used { opacity: 0.3; }
.wo-actions { display: flex; gap: 10px; margin-bottom: 4px; }

/* VERB SPRINT */
.vs-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.vs-timer { font-family: 'Noto Sans', sans-serif; font-size: 18px; font-weight: 700; color: #D4920A; }
.vs-urgent { color: #C8102E !important; animation: pulse 0.5s infinite alternate; }
@keyframes pulse { from { opacity: 1; } to { opacity: 0.5; } }
.vs-verb { font-family: 'Noto Sans', sans-serif; font-size: 44px; font-weight: 900; color: #121117; text-align: center; padding: 20px; background: #F9F9FB; border-radius: 10px; margin-bottom: 8px; }
.vs-formula { text-align: center; font-size: 17px; color: #9B9AAB; font-weight: 600; margin-bottom: 14px; }
.vs-input {
  width: 100%; padding: 14px 16px; border: 2px solid #DCDCE5; border-radius: 8px;
  font-size: 19px; font-weight: 600; color: #121117; outline: none;
  transition: border-color 0.15s;
}
.vs-input:focus { border-color: #D4920A; }

/* END SCREEN */
.gm-end { text-align: center; padding: 20px 0; }
.gm-end-emoji { font-size: 64px; margin-bottom: 12px; }
.gm-end-score { font-family: 'Noto Sans', sans-serif; font-size: 52px; font-weight: 900; color: #121117; line-height: 1; }
.gm-end-score span { font-size: 28px; color: #9B9AAB; }
.gm-end-pct { font-size: 20px; color: #D4920A; font-weight: 700; margin: 4px 0 12px; }
.gm-end-msg { font-size: 18px; color: #4D4C5C; margin-bottom: 28px; }
.gm-end-btns { display: flex; gap: 10px; justify-content: center; }
.gm-next-btn { margin-top: 14px; width: 100%; justify-content: center; }

/* ── SER/ESTAR level select ─────────────── */
.se-levels { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.se-lvl-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 10px;
  border: 1.5px solid #DCDCE5; background: #fff; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  text-align: left;
}
.se-lvl-btn:hover { border-color: var(--lvl-color, #D4920A); background: #FAFAFA; transform: translateX(3px); }
.se-lvl-badge { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 12px; white-space: nowrap; }
.se-lvl-name { font-size: 16px; font-weight: 600; color: #121117; flex: 1; }
.se-lvl-count { font-size: 13px; color: #9B9AAB; white-space: nowrap; }
.se-lvl-arrow { color: #9B9AAB; flex-shrink: 0; transition: transform 0.15s; }
.se-lvl-btn:hover .se-lvl-arrow { transform: translateX(3px); color: var(--lvl-color, #D4920A); }
.se-info-box {
  background: #F9F9FB; border-radius: 8px; padding: 14px 16px;
  font-size: 15px; color: #4D4C5C; line-height: 1.6;
}
.se-info-box strong { display: block; color: #121117; margin-bottom: 4px; }
/* level pill inside game */
.se-level-row { margin-bottom: 10px; }
.se-level-pill { font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 20px; letter-spacing: 0.3px; }
/* context clue */
.se-context {
  background: #F3F0FF; border-left: 3px solid #7C3AED; border-radius: 0 8px 8px 0;
  padding: 10px 14px; margin-bottom: 14px; font-size: 15px; color: #4D4C5C;
}
/* feedback block */
.se-fb-row { margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.se-fb-sentence { font-size: 18px; font-weight: 500; color: #121117; margin-bottom: 6px; padding: 10px 14px; background: #F9F9FB; border-radius: 6px; }
.se-fb-rule { font-size: 15px; color: #4D4C5C; padding: 8px 12px; background: #FDF3DC; border-radius: 6px; border-left: 3px solid #D4920A; }

/* ── RULETA DE PERSONAJES ────────────────── */
.rt-wheel-wrap { position: relative; display: flex; justify-content: center; padding: 20px 0 32px; }
.rt-wheel-pointer {
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  font-size: 22px; color: #121117; z-index: 2; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25));
}
.rt-wheel2 {
  position: relative; width: 220px; height: 220px; border-radius: 50%;
  border: 6px solid #121117; box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 0 0 2px rgba(255,255,255,0.4);
  transform: rotate(0deg); transition: transform 3.2s cubic-bezier(.12,.72,.14,1);
}
.rt-wheel-label {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0;
}
.rt-wheel-label span {
  position: absolute; left: -16px; top: -95px; width: 32px; text-align: center;
  font-size: 22px; display: inline-block;
}
.rt-wheel-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  border: 4px solid #121117; display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
@keyframes rtCardIn { 0% { opacity: 0; transform: scale(0.82); } 100% { opacity: 1; transform: scale(1); } }

/* character avatar */
.rt-avatar {
  border-radius: 50%; border: 2.5px solid; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; animation: rtCardIn 0.4s cubic-bezier(.2,.9,.3,1.3);
}

/* self-introduction speech bubble */
.rt-intro { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.rt-bubble {
  position: relative; flex: 1; background: #F9F9FB; border: 1.5px solid #DCDCE5;
  border-radius: 14px; padding: 16px 18px; font-size: 17px; color: #121117; line-height: 1.6;
  animation: rtCardIn 0.45s cubic-bezier(.2,.9,.3,1.3);
}
.rt-bubble::before {
  content: ''; position: absolute; left: -8px; top: 22px; width: 14px; height: 14px;
  background: #F9F9FB; border-left: 1.5px solid #DCDCE5; border-bottom: 1.5px solid #DCDCE5;
  transform: rotate(45deg);
}
.rt-bubble-name { display: block; font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.rt-bubble-nat { font-weight: 600; color: #9B9AAB; font-size: 13px; }
.rt-bubble-small { margin-bottom: 16px; font-size: 16px; }
.rt-fact-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rt-fact-name { font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 18px; color: #121117; }
.rt-profile-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rt-profile-pill {
  font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 20px;
  border: 1.5px solid; animation: rtCardIn 0.35s cubic-bezier(.2,.9,.3,1.3);
}

/* ── DIÁLOGOS CRUZADOS ───────────────────── */
.dg-scene-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.dg-scene-icon { font-size: 24px; }
.dg-scene-title { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 17px; color: #121117; flex: 1; }
.dg-grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
.dg-bubble {
  text-align: left; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid #DCDCE5; background: #fff; font-size: 15px; font-weight: 600;
  color: #121117; cursor: pointer; line-height: 1.45; transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.dg-bubble--response { background: #F9F9FB; }
.dg-bubble:hover:not(:disabled) { border-color: #D4920A; transform: translateX(2px); }
.dg-bubble--selected { border-color: #D4920A !important; background: #FDF3DC !important; }
.dg-bubble--matched { border-color: #1A9E8740 !important; background: #E6F9F5 !important; color: #1A9E87 !important; opacity: 0.75; cursor: default; }
.dg-bubble--wrong { border-color: #C8102E !important; background: #FDECEA !important; animation: dgShake 0.4s; }
@keyframes dgShake { 0%,100%{transform:translateX(0);} 25%{transform:translateX(-4px);} 75%{transform:translateX(4px);} }

/* ── ATRAPA LA CONCORDANCIA (GUSTAR) ──────── */
.gu-scene { margin-bottom: 6px; }
.gu-timerbar { height: 6px; background: #F0F0F5; border-radius: 3px; overflow: hidden; margin-bottom: 14px; }
.gu-timerbar-fill { height: 100%; background: #2885FD; width: 100%; }
.gu-sky {
  position: relative; height: 190px; background: linear-gradient(180deg, #EAF4FF, #FFFFFF);
  border-radius: 14px; overflow: hidden; margin-bottom: 16px; border: 1.5px solid #DCDCE5;
}
.gu-deco { position: absolute; font-size: 28px; opacity: 0.38; animation-name: guDrift; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.gu-deco1 { left: 10%; bottom: -10px; }
.gu-deco2 { left: 58%; bottom: -20px; }
.gu-deco3 { left: 82%; bottom: -6px; }
@keyframes guDrift {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-140px) translateX(15px); }
  100% { transform: translateY(-260px) translateX(-10px); }
}
.gu-bubble {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  background: #fff; border: 2.5px solid #2885FD; border-radius: 50px;
  padding: 14px 26px; font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 19px; color: #121117;
  box-shadow: 0 6px 18px rgba(40,133,253,0.25); white-space: nowrap;
  animation: guRise linear forwards; animation-duration: var(--gu-duration, 4.5s);
}
@keyframes guRise { from { bottom: 10px; } to { bottom: 150px; } }
.gu-bubble.gu-pop-ok {
  animation: none; border-color: #1A9E87; background: #E6F9F5;
  transform: translateX(-50%) translateY(-160px) scale(1.15); transition: all 0.35s;
}
.gu-bubble.gu-pop-ko {
  animation: none; border-color: #C8102E; background: #FDECEA;
  transform: translateX(-50%) translateY(-20px) scale(0.6) rotate(8deg); opacity: 0; transition: all 0.4s;
}
.gu-catch-row { display: flex; gap: 12px; }
.gu-catch {
  flex: 1; padding: 16px; border-radius: 12px; border: 2px solid #DCDCE5; background: #fff;
  font-family: 'Noto Sans', sans-serif; font-weight: 900; font-size: 20px; color: #121117;
  cursor: pointer; transition: transform 0.1s, background 0.15s, border-color 0.15s;
}
.gu-catch:hover:not(:disabled) { transform: scale(1.03); }
.gu-catch-sing:hover:not(:disabled) { border-color: #2885FD; background: #EAF4FF; }
.gu-catch-plur:hover:not(:disabled) { border-color: #7C3AED; background: #F3F0FF; }
.gu-catch:disabled { opacity: 0.5; }

/* ── TRAGAPERRAS DE LA CONCORDANCIA (GÉNERO) ── */
.ge-reel-window {
  position: relative; height: 64px; overflow: hidden;
  border: 2.5px solid #8E44AD; border-radius: 12px; background: #fff;
  margin-bottom: 20px; box-shadow: 0 4px 14px rgba(142,68,173,0.18);
}
.ge-reel-window::before, .ge-reel-window::after {
  content: ''; position: absolute; left: 0; right: 0; height: 16px; z-index: 2; pointer-events: none;
}
.ge-reel-window::before { top: 0; background: linear-gradient(#fff, transparent); }
.ge-reel-window::after { bottom: 0; background: linear-gradient(transparent, #fff); }
.ge-reel-strip { display: flex; flex-direction: column; transition: transform 2.2s cubic-bezier(.12,.72,.14,1); }
.ge-reel-item {
  height: 64px; display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 21px; color: #121117;
}
.ge-adj-row { animation: rtCardIn 0.35s cubic-bezier(.2,.9,.3,1.3); }

/* ── LA CINTA DEL CD (CD Y PREPOSICIÓN A) ── */
.cd-track {
  position: relative; height: 96px; overflow: hidden;
  background: linear-gradient(180deg, #FFF3E0, #FFFFFF);
  border: 1.5px solid #DCDCE5; border-radius: 14px; margin-bottom: 16px;
}
.cd-card {
  position: absolute; top: 14px; left: 100%; transform: translateX(0);
  background: #fff; border: 2.5px solid #D4920A; border-radius: 10px;
  padding: 13px 20px; font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 17px; color: #121117;
  white-space: nowrap; box-shadow: 0 6px 16px rgba(212,146,10,0.2);
  animation: cdSlide linear forwards; animation-duration: var(--cd-duration, 5s);
}
@keyframes cdSlide { from { left: 100%; } to { left: -60%; } }
.cd-card.cd-pop-ok {
  animation: none; border-color: #1A9E87; background: #E6F9F5;
  transform: scale(1.1); transition: all 0.35s;
}
.cd-card.cd-pop-ko {
  animation: none; border-color: #C8102E; background: #FDECEA;
  transform: scale(0.6) rotate(-6deg); opacity: 0; transition: all 0.4s;
}
.cd-belt {
  position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: repeating-linear-gradient(-45deg, #DCDCE5, #DCDCE5 8px, #F0F0F5 8px, #F0F0F5 16px);
  background-size: 200% 100%; animation: cdBelt 2.4s linear infinite;
}
@keyframes cdBelt { from { background-position: 0 0; } to { background-position: -32px 0; } }
.cd-catch-row { display: flex; gap: 12px; }
.cd-catch-row .gu-catch { font-size: 15px; padding: 14px 10px; }
.cd-catch-no:hover:not(:disabled) { border-color: #9B9AAB; background: #F3F3F6; }
.cd-catch-yes:hover:not(:disabled) { border-color: #D4920A; background: #FDF3DC; }

/* ── LA LÍNEA DEL TIEMPO (DESDE/DESDE HACE/DURANTE) ── */
.ds-timeline-wrap { margin: 18px 0 4px; animation: rtCardIn 0.4s cubic-bezier(.2,.9,.3,1.3); }
.ds-timeline-labels {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px; color: #9B9AAB;
}
.ds-timeline-start { text-transform: uppercase; }
.ds-timeline-track {
  position: relative; height: 16px; background: #F0F0F5; border-radius: 8px;
  overflow: visible; margin-bottom: 10px;
}
.ds-timeline-fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, #2885FD, #1A9E87); border-radius: 8px;
  transition: width 1.1s cubic-bezier(.22,.9,.25,1);
  box-shadow: 0 0 0 0 rgba(26,158,135,0);
}
.ds-timeline-wrap.ds-finished .ds-timeline-fill {
  background: linear-gradient(90deg, #9B9AAB, #6B6A78);
}
.ds-timeline-marker {
  position: absolute; right: 0; top: 50%; transform: translate(50%, -50%);
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  border: 3px solid #1A9E87; display: flex; align-items: center; justify-content: center;
  font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: border-color 0.3s;
}
.ds-timeline-wrap.ds-finished .ds-timeline-marker {
  border-color: #6B6A78; border-radius: 6px; background: #F3F3F6;
}
.ds-timeline-hoy {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: #1A9E87; letter-spacing: 0.5px;
}
.ds-timeline-wrap.ds-finished .ds-timeline-hoy { color: #9B9AAB; }
.ds-timeline-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #1A9E87;
  animation: dsHoyPulse 1.4s ease-in-out infinite;
}
.ds-timeline-wrap.ds-finished .ds-timeline-dot { background: #9B9AAB; animation: none; }
@keyframes dsHoyPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(26,158,135,0.5); } 50% { box-shadow: 0 0 0 6px rgba(26,158,135,0); } }
.ds-timeline-caption {
  font-size: 13.5px; font-weight: 600; text-align: center; padding: 8px;
  border-radius: 8px; background: #F9F9FB; color: #4D4C5C; margin-top: 2px;
}
.ds-timeline-wrap.ds-finished .ds-timeline-caption { background: #F3F3F6; }

/* ── LA DIANA DE LAS PREPOSICIONES (POR/PARA/DURANTE) ── */
.pp-arena { position: relative; padding: 10px 10px 100px; }
.pp-targets { display: flex; justify-content: space-around; gap: 10px; }
.pp-target {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 96px; height: 96px; border-radius: 50%; border: 3px solid #DCDCE5; background: #fff;
  cursor: pointer; transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.pp-target:hover:not(:disabled) { transform: scale(1.05); border-color: #D4920A; }
.pp-target-icon { font-size: 24px; }
.pp-target-label { font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 12px; color: #121117; line-height: 1.2; text-align: center; }
.pp-target-label small { font-weight: 600; color: #9B9AAB; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.3px; }
.pp-dart {
  position: absolute; left: 50%; bottom: 6px; transform: translate(-50%, 0);
  font-size: 26px; transition: transform 0.5s cubic-bezier(.2,.7,.3,1.3);
}
.pp-target.pp-hit { border-color: #1A9E87; background: #E6F9F5; animation: ppPulse 0.5s; }
.pp-target.pp-miss { border-color: #C8102E; background: #FDECEA; animation: dgShake 0.4s; }
@keyframes ppPulse { 0% { box-shadow: 0 0 0 0 rgba(26,158,135,0.5); } 100% { box-shadow: 0 0 0 14px rgba(26,158,135,0); } }

/* ── EL ASCENSOR DE LAS PROFESIONES (GÉNERO EN PROFESIONES) ── */
.pf-wrap { display: flex; gap: 22px; align-items: flex-start; justify-content: center; flex-wrap: wrap; margin: 18px 0 4px; }
.pf-shaft {
  position: relative; width: 132px; height: 260px; border-radius: 10px;
  background: linear-gradient(180deg, #2A2A3A, #16161F); border: 3px solid #3A3A4A; overflow: hidden;
  flex-shrink: 0;
}
.pf-floor-marks {
  position: absolute; inset: 0; display: flex; flex-direction: column-reverse; justify-content: space-between;
  padding: 6px 8px; pointer-events: none;
}
.pf-floor-mark {
  font-family: 'Noto Sans', sans-serif; font-size: 11px; font-weight: 800; color: #6B6A78;
  border-top: 1px dashed #3A3A4A; padding-top: 3px;
}
.pf-car {
  position: absolute; left: 8px; right: 8px; height: 64px; bottom: 4%;
  background: #F4E9D8; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  transition: bottom 1.1s cubic-bezier(.22,.9,.25,1); overflow: hidden;
}
.pf-car-doors { position: absolute; inset: 0; display: flex; z-index: 2; }
.pf-door { flex: 1; background: #B0A99A; border-right: 1px solid #9B9481; transition: transform 0.5s ease; }
.pf-door-left { transform-origin: left; }
.pf-door-right { transform-origin: right; border-right: none; }
.pf-car.pf-open .pf-door-left { transform: translateX(-100%); }
.pf-car.pf-open .pf-door-right { transform: translateX(100%); }
.pf-car-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 4px; text-align: center; font-family: 'Noto Sans', sans-serif;
  font-size: 12.5px; font-weight: 800; color: #121117;
}
.pf-car-content small { font-weight: 600; color: #6B6A78; font-size: 10px; }
.pf-panel {
  display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 300px; min-width: 220px;
}
.pf-btn {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px;
  border: 1.5px solid #DCDCE5; background: #fff; cursor: pointer; text-align: left;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.pf-btn:hover:not(:disabled) { transform: translateX(3px); border-color: #D4920A; }
.pf-btn:disabled { cursor: default; }
.pf-btn-n {
  width: 26px; height: 26px; border-radius: 50%; background: #121117; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.pf-btn-label { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 13px; color: #121117; }
.pf-btn.pf-correct { border-color: #1A9E87; background: #E6F9F5; }
.pf-btn.pf-correct .pf-btn-n { background: #1A9E87; }
.pf-btn.pf-wrong { border-color: #C8102E; background: #FDECEA; }
.pf-btn.pf-wrong .pf-btn-n { background: #C8102E; }
.pf-note { font-size: 13px; color: #4D4C5C; background: #F9F9FB; border-radius: 8px; padding: 8px 12px; margin-top: 6px; }

/* ── EL OBJETIVO DE LA CÁMARA (VER/MIRAR/OBSERVAR) ── */
.vm-scene { display: flex; justify-content: center; margin: 18px 0 6px; }
.vm-viewfinder {
  position: relative; width: 170px; height: 170px; border-radius: 50%;
  border: 5px solid #121117; background: #EFEFF4; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform 1.1s cubic-bezier(.22,.9,.25,1);
}
.vm-viewfinder.vm-zoom { transform: scale(1.28); }
.vm-subject { font-size: 60px; position: relative; z-index: 1; }
.vm-aperture {
  position: absolute; inset: -4px; background: #121117; border-radius: 50%;
  transform: scale(1); z-index: 2; pointer-events: none;
}
.vm-aperture.vm-anim-blink { animation: vmBlink 0.9s ease-in-out forwards; }
.vm-aperture.vm-anim-focus { animation: vmFocusOpen 0.7s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes vmBlink {
  0%   { transform: scale(1); }
  18%  { transform: scale(0); }
  38%  { transform: scale(1); }
  56%  { transform: scale(0); }
  100% { transform: scale(0); }
}
@keyframes vmFocusOpen {
  0%   { transform: scale(1); }
  100% { transform: scale(0); }
}
.vm-crosshair {
  position: absolute; width: 40px; height: 40px; z-index: 3;
  opacity: 0; transform: scale(1.8); transition: opacity 0.5s, transform 0.5s cubic-bezier(.2,.8,.3,1.4);
}
.vm-crosshair::before, .vm-crosshair::after { content: ''; position: absolute; background: #2885FD; }
.vm-crosshair::before { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.vm-crosshair::after { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.vm-crosshair.vm-show { opacity: 1; transform: scale(1); }
.vm-grid { position: absolute; inset: 10px; z-index: 3; opacity: 0; transition: opacity 0.6s; }
.vm-grid.vm-show { opacity: 1; }
.vm-corner { position: absolute; width: 18px; height: 18px; border-color: #1A9E87; }
.vm-corner-tl { top: 0; left: 0; border-top: 3px solid; border-left: 3px solid; }
.vm-corner-tr { top: 0; right: 0; border-top: 3px solid; border-right: 3px solid; }
.vm-corner-bl { bottom: 0; left: 0; border-bottom: 3px solid; border-left: 3px solid; }
.vm-corner-br { bottom: 0; right: 0; border-bottom: 3px solid; border-right: 3px solid; }
.vm-btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.vm-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 100px; height: 100px; border-radius: 50%; border: 3px solid #DCDCE5; background: #fff;
  cursor: pointer; font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 13px; color: #121117;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.vm-btn:hover:not(:disabled) { transform: scale(1.05); border-color: #D6336C; }
.vm-btn-icon { font-size: 22px; }
.vm-btn:disabled { cursor: default; }
.vm-btn.vm-correct { border-color: #1A9E87; background: #E6F9F5; }
.vm-btn.vm-wrong { border-color: #C8102E; background: #FDECEA; }

/* ── LA PONCHADORA DEL TRABAJO (MUNDO LABORAL) ── */
.wk-scene { display: flex; justify-content: center; margin: 18px 0 6px; padding-bottom: 60px; }
.wk-machine {
  position: relative; width: 220px; height: 150px; background: #2A2A3A;
  border-radius: 16px 16px 34px 34px; padding-top: 18px;
}
.wk-slot {
  position: relative; z-index: 2; width: 140px; height: 10px; margin: 0 auto;
  background: #121117; border-radius: 4px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}
.wk-stamp {
  position: absolute; top: 20px; left: 50%; width: 16px; height: 60px; z-index: 3;
  background: #9B9AAB; border-radius: 4px; transform-origin: top center;
  transform: translateX(-50%) rotate(-45deg); transition: transform 0.3s cubic-bezier(.6,0,.85,1);
}
.wk-stamp::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; width: 34px; height: 14px;
  background: #6B6A78; border-radius: 3px; transform: translateX(-50%);
}
.wk-stamp.wk-hit { transform: translateX(-50%) rotate(4deg); }
.wk-card {
  position: absolute; bottom: -86px; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 150px; height: 96px; background: #F4E9D8; border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  transition: bottom 0.55s cubic-bezier(.3,.8,.4,1.15);
}
.wk-card.wk-inserted { bottom: 26px; }
.wk-card-emoji { font-size: 30px; }
.wk-card-mark {
  font-size: 26px; font-weight: 900; opacity: 0; transform: scale(1.6);
  transition: opacity 0.2s, transform 0.2s;
}
.wk-card-mark.wk-mark-ok { opacity: 1; transform: scale(1); color: #1A9E87; }
.wk-card-mark.wk-mark-ko { opacity: 1; transform: scale(1); color: #C8102E; }
.wk-btn-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin-top: 14px; max-width: 420px; margin-left: auto; margin-right: auto;
}
.wk-btn {
  padding: 14px 10px; border-radius: 10px; border: 1.5px solid #DCDCE5; background: #fff;
  cursor: pointer; font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 14px;
  color: #121117; transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.wk-btn:hover:not(:disabled) { transform: scale(1.03); border-color: #8B5E34; }
.wk-btn:disabled { cursor: default; }
.wk-btn.wk-correct { border-color: #1A9E87; background: #E6F9F5; }
.wk-btn.wk-wrong { border-color: #C8102E; background: #FDECEA; }

/* ── EL VIBRÓMETRO (LA R — R suave / RR fuerte) ── */
.rr-scene { display: flex; justify-content: center; margin: 18px 0 6px; }
.rr-gauge-face {
  position: relative; width: 260px; height: 140px;
  background: linear-gradient(180deg, #F4F1EC, #E8E3DA);
  border: 4px solid #121117; border-bottom: none;
  border-radius: 130px 130px 0 0; overflow: hidden;
}
.rr-gauge-label {
  position: absolute; bottom: 14px; font-family: 'Noto Sans', sans-serif;
  font-weight: 800; font-size: 11px; color: #4D4C5C; letter-spacing: 0.3px;
}
.rr-gauge-label-left { left: 16px; }
.rr-gauge-label-right { right: 16px; }
.rr-needle {
  position: absolute; bottom: 0; left: 50%; width: 5px; height: 110px;
  background: #C0392B; border-radius: 3px 3px 0 0; transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg); z-index: 2;
}
.rr-needle.rr-anim-suave { transition: transform 0.45s cubic-bezier(.2,.8,.3,1.2); }
.rr-needle.rr-anim-fuerte { animation: rrVibrate 0.9s cubic-bezier(.3,.6,.4,1) forwards; }
@keyframes rrVibrate {
  0%   { transform: translateX(-50%) rotate(0deg); }
  10%  { transform: translateX(-50%) rotate(70deg); }
  20%  { transform: translateX(-50%) rotate(40deg); }
  30%  { transform: translateX(-50%) rotate(70deg); }
  40%  { transform: translateX(-50%) rotate(45deg); }
  50%  { transform: translateX(-50%) rotate(65deg); }
  60%  { transform: translateX(-50%) rotate(48deg); }
  70%  { transform: translateX(-50%) rotate(60deg); }
  100% { transform: translateX(-50%) rotate(55deg); }
}
.rr-pivot {
  position: absolute; bottom: -8px; left: 50%; width: 20px; height: 20px;
  background: #121117; border-radius: 50%; transform: translateX(-50%); z-index: 3;
}
.rr-btn-row { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.rr-btn {
  padding: 14px 28px; border-radius: 10px; border: 1.5px solid #DCDCE5; background: #fff;
  cursor: pointer; font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 15px;
  color: #121117; transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.rr-btn:hover:not(:disabled) { transform: scale(1.04); border-color: #C0392B; }
.rr-btn:disabled { cursor: default; }
.rr-btn.rr-correct { border-color: #1A9E87; background: #E6F9F5; }
.rr-btn.rr-wrong { border-color: #C8102E; background: #FDECEA; }

/* ── LA MONEDA DEL GÉNERO (GÉNERO II — CASOS ESPECIALES) ── */
.cn-coin-wrap { display: flex; justify-content: center; margin: 18px 0 6px; perspective: 700px; }
.cn-coin {
  position: relative; width: 150px; height: 150px; transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.3,.7,.4,1);
}
.cn-face {
  position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 4px solid #121117; font-family: 'Noto Sans', sans-serif; font-weight: 900;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.cn-face-el { background: #FBF6E8; color: #121117; transform: rotateY(0deg); }
.cn-face-la { background: #FBF6E8; color: #121117; transform: rotateY(180deg); }
.cn-face-icon { font-size: 42px; }
.cn-face-label { font-size: 16px; letter-spacing: 0.5px; }
.cn-coin.cn-spin-el { transform: rotateY(720deg); }
.cn-coin.cn-spin-la { transform: rotateY(900deg); }
.cn-btn-row { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.cn-btn {
  padding: 14px 34px; border-radius: 10px; border: 1.5px solid #DCDCE5; background: #fff;
  cursor: pointer; font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 16px;
  color: #121117; transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.cn-btn:hover:not(:disabled) { transform: scale(1.04); border-color: #B8860B; }
.cn-btn:disabled { cursor: default; }
.cn-btn.cn-correct { border-color: #1A9E87; background: #E6F9F5; }
.cn-btn.cn-wrong { border-color: #C8102E; background: #FDECEA; }

/* ── EL CAMBIO DE VÍAS (CONSTRUCCIONES TEMPORALES B2) ── */
.tk-yard { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 6px; }
.tk-lane {
  position: relative; height: 48px; border-radius: 10px; overflow: hidden;
  background: #F4F4F8; border: 1.5px solid #DCDCE5; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.tk-lane:hover:not(:disabled) { border-color: #2E86AB; }
.tk-lane:disabled { cursor: default; }
.tk-rail {
  position: absolute; top: 50%; left: 8px; right: 8px; height: 3px;
  background-image: repeating-linear-gradient(90deg, #B0AFC0 0 10px, transparent 10px 18px);
  transform: translateY(-50%);
}
.tk-loco {
  position: absolute; top: 50%; left: 6px; transform: translate(0, -50%);
  font-size: 22px; transition: left 1.1s cubic-bezier(.3,.7,.4,1); z-index: 2;
}
.tk-lane.tk-active .tk-loco { left: calc(100% - 100px); }
.tk-lane-label {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: 'Noto Sans', sans-serif; font-weight: 800; font-size: 16px; color: #121117;
  background: rgba(255,255,255,0.9); padding: 3px 10px; border-radius: 6px;
}
.tk-lane--correct { border-color: #1A9E87; background: #E6F9F5; }
.tk-lane--correct .tk-lane-label { color: #147A67; }
.tk-lane--wrong { border-color: #C8102E; background: #FDECEA; }
.tk-lane--wrong .tk-lane-label { color: #A3122A; }

/* ── GAME PAGES · BACK TO ALL GAMES LINK ── */
.game-hero__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Figtree', sans-serif; font-size: 14px; font-weight: 600; color: #4D4C5C;
  text-decoration: none; margin-bottom: 22px; transition: color 0.15s, transform 0.15s;
}
.game-hero__back:hover { color: #121117; transform: translateX(-2px); }
.game-hero__back svg { flex-shrink: 0; }

/* ─── GUARANTEE ──────────────────────────── */
.guarantee { background: #D4920A; padding: 48px 24px; text-align: center; }
.guarantee__heading {
  font-family: 'Noto Sans', sans-serif; font-weight: 700;
  font-size: 72px; line-height: 88px; letter-spacing: -0.48px; color: #121117;
}
.guarantee__sub {
  font-size: 20px; font-weight: 400; line-height: 28px;
  letter-spacing: -0.1px; color: rgba(18,17,23,0.75); margin-top: 32px;
}

/* ─── JOIN SECTION ────────────────────────── */
.join-section { padding: 0 0 64px; background: #fff; }
.join-section__inner {
  border: 1px solid #121117; border-radius: 8px;
  display: flex; min-height: 708px; overflow: hidden;
  margin: 0 80px;
}
.join-section__image { flex: 1; position: relative; overflow: hidden; }
.join-section__image img { width: 100%; height: 100%; object-fit: cover; object-position: 0% top; }
.join-section__content {
  flex: 1; background: #D4920A; padding: 64px;
  display: flex; flex-direction: column; gap: 24px;
}
.join-section__heading {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: 72px; line-height: 88px; letter-spacing: -0.6px; color: #000;
}
.join-section__desc { font-size: 16px; font-weight: 400; line-height: 24px; color: #121117; }
.join-section__list { list-style: disc; padding-left: 28px; display: flex; flex-direction: column; gap: 4px; }
.join-section__list li {
  font-family: 'Noto Sans', sans-serif; font-weight: 700;
  font-size: 20px; line-height: 32px; letter-spacing: 0.3px; color: #121117;
}
.btn-primary-dark {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #121117; color: #fff; font-size: 16px; font-weight: 600; line-height: 24px;
  padding: 16px 30px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
}
.btn-outline-dark {
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: #121117;
  line-height: 24px; padding: 16px 30px; border-radius: 8px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
}

/* ─── BUSINESS SECTION ────────────────────── */
.business-section { padding: 0 80px 64px; background: linear-gradient(to bottom, #D4920A 0%, #D4920A 15%, #fff 15%); }
.business-section__inner { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.business-section__top { grid-column: 1 / 3; padding-bottom: 32px; }
.business-section__heading {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: 72px; line-height: 88px; letter-spacing: -0.6px; color: #000;
}
.business-section__left { display: flex; flex-direction: column; gap: 24px; padding-bottom: 46px; }
.business-section__desc { font-size: 16px; font-weight: 400; line-height: 24px; color: #121117; }
.business-section__btns { display: flex; gap: 12px; }
.btn-light-blue {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: #99C5FF; border: 1px solid #121117; border-radius: 8px;
  font-size: 18px; font-weight: 600; line-height: 24px; letter-spacing: 0.09px;
  color: #121117; padding: 16px 30px; min-height: 56px; cursor: pointer; text-decoration: none;
}
.btn-outline-border {
  flex: 1; display: flex; align-items: center; justify-content: center;
  border: 1px solid #121117; border-radius: 8px;
  font-size: 18px; font-weight: 600; line-height: 24px; letter-spacing: 0.09px;
  color: #121117; padding: 16px 30px; min-height: 56px; cursor: pointer; text-decoration: none;
}
.business-section__visual { position: relative; height: 280px; }
.suitcase-item { position: absolute; display: flex; flex-direction: column; }
.suitcase-item:nth-child(1) { left: 24px; width: 246px; top: 0; }
.suitcase-item:nth-child(2) { left: 246px; width: 246px; top: 0; }
.suitcase-item:nth-child(3) { left: 469px; width: 246px; top: 0; }
.suitcase-item img { width: 100%; border-radius: 4px; }
.suitcase-label {
  position: absolute; background: #FFE03D; border: 1px solid #000; border-radius: 4px;
  padding: 7px 11px; font-size: 16px; font-weight: 600; color: #121117; line-height: 24px; white-space: nowrap;
}
.suitcase-item:nth-child(1) .suitcase-label { top: 0; left: 20px; }
.suitcase-item:nth-child(2) .suitcase-label { top: 162px; left: 0; }
.suitcase-item:nth-child(3) .suitcase-label { top: 108px; left: 0; }

/* ─── SEO LINKS ──────────────────────────── */
.seo-section { padding: 0 80px 64px; border-top: 1px solid #DCDCE5; }
.seo-block { padding: 28px 0 24px; border-top: 0.8px solid #121117; }
.seo-block:first-child { border-top: none; }
.seo-block__title {
  font-family: 'Noto Sans', sans-serif; font-weight: 700;
  font-size: 20px; line-height: 32px; letter-spacing: 0.3px; color: #121117; margin-bottom: 24px;
}
.seo-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
.seo-col { display: flex; flex-direction: column; gap: 12px; }
.seo-col-title { font-family: 'Noto Sans', sans-serif; font-weight: 600; font-size: 13px; line-height: 24px; color: #121117; }
.seo-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.seo-col ul li a { font-size: 14px; font-weight: 600; color: #121117; text-decoration: underline; line-height: 20px; letter-spacing: 0.07px; }
.seo-divider { display: flex; align-items: center; gap: 24px; margin: 0 0 24px; }
.seo-divider hr { flex: 1; border: none; border-top: 1px solid #DCDCE5; }
.seo-divider__btn {
  border: 1px solid rgba(20,20,82,0.15); border-radius: 8px;
  padding: 12px 18px; font-size: 14px; font-weight: 600;
  color: #121117; white-space: nowrap; cursor: pointer;
}

/* ─── FOOTER ──────────────────────────────── */
.footer { background: #fff; padding: 32px 32px 0; }
.footer__inner { max-width: 1280px; margin: 0 auto; }
.footer__top { display: flex; gap: 0; justify-content: space-between; padding-bottom: 24px; min-height: auto; }
.footer__col { flex: 1; padding-right: 32px; }
.footer__col-title {
  font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 13px;
  line-height: 24px; letter-spacing: 1px; color: #000; margin-bottom: 16px; text-transform: uppercase;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.footer__col ul li a { font-size: 14px; font-weight: 400; color: rgba(0,0,0,0.8); line-height: 28px; transition: color 0.15s; }
.footer__col ul li a:hover { color: #D4920A; }
.footer__divider { border-top: 1px solid rgba(0,0,0,0.1); }
.footer__bottom { padding: 16px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.footer__logo-row { display: flex; justify-content: space-between; align-items: center; }
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo-mark { width: 36px; height: 36px; background: #D4920A; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer__logo-name { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 15px; color: #000; }
.footer__social-apps { display: flex; align-items: center; gap: 16px; }
.footer__social { display: flex; gap: 8px; }
.footer__social-link {
  width: 36px; height: 36px; border: 1px solid rgba(0,0,0,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #000; transition: border-color 0.2s, color 0.2s;
}
.footer__social-link:hover { border-color: #D4920A; color: #D4920A; }
.footer__apps { display: flex; gap: 8px; }
.footer__app-btn {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px; color: #000; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.footer__app-btn:hover { background: rgba(0,0,0,0.1); }
.footer__links-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__links-row a { font-size: 13px; color: #000; text-decoration: underline; line-height: 20px; }
.footer__copyright { font-size: 13px; color: rgba(0,0,0,0.7); line-height: 20px; }

/* ─── INNER PAGE HERO ─────────────────────── */
.inner-hero { background: #D4920A; padding: 64px 96px; }
.inner-hero__breadcrumb { font-size: 14px; font-weight: 600; color: rgba(18,17,23,0.6); margin-bottom: 16px; letter-spacing: 0.07px; }
.inner-hero__breadcrumb a { color: rgba(18,17,23,0.6); }
.inner-hero__breadcrumb a:hover { color: #121117; }
.inner-hero__title {
  font-family: 'Noto Sans', sans-serif; font-weight: 800;
  font-size: 84px; line-height: 100px; letter-spacing: -0.6px; color: #000; margin-bottom: 16px;
}
.inner-hero__desc { font-size: 20px; font-weight: 400; line-height: 28px; color: rgba(18,17,23,0.8); max-width: 680px; }

/* ─── VIDEO CARDS ────────────────────────── */
.video-card {
  border: 1px solid #DCDCE5; border-radius: 8px; overflow: hidden; background: #fff;
  cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; text-decoration: none;
}
.video-card:hover { border-color: #D4920A; box-shadow: 0 4px 16px rgba(212,146,10,0.15); }
.video-card__thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; position: relative; background: #f0f0f0; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); transition: background 0.2s; }
.video-card:hover .video-card__play { background: rgba(0,0,0,0.35); }
.video-card__play-btn { width: 56px; height: 56px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #D4920A; }
.video-card__body { padding: 16px; }
.video-card__tag { display: inline-block; padding: 3px 10px; background: #D4920A; color: #121117; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; border-radius: 4px; margin-bottom: 8px; }
.video-card__title { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 18px; line-height: 26px; color: #121117; margin-bottom: 8px; }
.video-card__meta { font-size: 13px; color: #4D4C5C; line-height: 20px; }

/* ─── PDF CARDS ──────────────────────────── */
.pdf-card {
  border: 1px solid #DCDCE5; border-radius: 8px; padding: 28px; background: #fff;
  cursor: pointer; transition: border-color 0.2s; text-decoration: none;
  display: flex; flex-direction: column; gap: 16px;
}
.pdf-card:hover { border-color: #D4920A; }
.pdf-card__icon { width: 52px; height: 52px; background: #D4920A; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; }
.pdf-card__level { display: inline-block; padding: 3px 10px; background: #FFE03D; color: #121117; font-size: 12px; font-weight: 700; border-radius: 4px; width: fit-content; }
.pdf-card__title { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 20px; line-height: 28px; color: #121117; }
.pdf-card__desc { font-size: 14px; color: #4D4C5C; line-height: 22px; flex: 1; }
.pdf-card__download { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #121117; background: #D4920A; padding: 10px 18px; border-radius: 6px; text-decoration: none; transition: background 0.2s; }

/* ─── DELE CARDS ─────────────────────────── */
.dele-card { border: 1px solid #121117; border-radius: 8px; padding: 32px; background: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 12px; transition: background 0.2s; }
.dele-card:hover { background: #FEF3E2; }
.dele-card__badge { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 36px; line-height: 1; color: #D4920A; }
.dele-card__name { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 20px; line-height: 28px; color: #121117; }
.dele-card__desc { font-size: 14px; color: #4D4C5C; line-height: 22px; flex: 1; }
.dele-card__link { font-size: 14px; font-weight: 600; color: #121117; display: flex; align-items: center; gap: 4px; }

/* ─── BLOG CARDS ─────────────────────────── */
.blog-card { border-radius: 8px; overflow: hidden; border: 1px solid #DCDCE5; background: #fff; text-decoration: none; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.blog-card__thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 20px; }
.blog-card__cat { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #D4920A; margin-bottom: 8px; }
.blog-card__title { font-family: 'Noto Sans', sans-serif; font-weight: 700; font-size: 18px; line-height: 26px; color: #121117; margin-bottom: 8px; }
.blog-card__excerpt { font-size: 14px; color: #4D4C5C; line-height: 22px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── TICKER CAROUSEL ───────────────────────────── */
.carousel-section {
  background: #f5f5f5;
  padding: 16px 20px;
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid #ddd;
}

.carousel-track {
  display: flex;
  gap: 0;
  align-items: center;
  animation: scroll-left 80s linear infinite;
  will-change: transform;
  width: max-content;
}

.carousel-item {
  flex-shrink: 0;
  padding: 0 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.carousel-item::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url('LOGO TRANSPARENT E.png') center / contain no-repeat;
  flex-shrink: 0;
  margin-left: 6px;
}

.carousel-item:last-child::after {
  display: none;
}

.carousel-item:hover {
  color: #D4920A;
}

.carousel-section:hover .carousel-track {
  animation-play-state: paused;
}

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

/* ─── MOBILE NAV ──────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; cursor: pointer;
  background: #f9f9f9; border: 1px solid #e5e5e5; border-radius: 6px;
  padding: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: #121117;
  border-radius: 2px; transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; top: 100px; z-index: 99;
  background: #fff; overflow-y: auto;
  border-top: 1px solid #e0e0e0;
  padding: 16px 16px 40px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }

/* Sección principal — fondo oscuro, texto grande */
.mobile-menu a {
  display: block; padding: 16px 18px; font-size: 17px; font-weight: 800;
  color: #fff; border-radius: 10px; border: none;
  background: #121117; text-decoration: none;
  letter-spacing: 0.2px;
  margin-top: 8px;
}
.mobile-menu a:first-child { margin-top: 0; }
.mobile-menu a:hover { background: #D4920A; color: #121117; }

/* Sub-elementos — aspecto secundario, indentados */
.mobile-menu a.mobile-menu__sub {
  font-size: 14px; font-weight: 600;
  color: #4D4C5C; background: #f5f5f7;
  border: 1px solid #e5e5e5;
  border-radius: 8px; padding: 11px 16px 11px 28px;
  margin-top: 3px; letter-spacing: 0;
  position: relative;
}
.mobile-menu a.mobile-menu__sub::before {
  content: '›'; position: absolute; left: 14px;
  color: #D4920A; font-size: 16px; font-weight: 900; line-height: 1;
  top: 50%; transform: translateY(-50%);
}
.mobile-menu a.mobile-menu__sub:hover {
  background: #FDF3DC; border-color: #D4920A; color: #121117;
}

.mobile-menu .mobile-menu__section {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #9B9AAB; padding: 16px 0 6px;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  body { min-width: 320px; }

  .header { padding: 0 24px; }
  /* Compact nav for medium screens — nav stays visible, just smaller */
  .header__nav { gap: 4px; }
  .nav-item-trigger { padding: 8px 12px; font-size: 14px; }

  .hero { padding: 48px 24px; }
  .hero__inner { flex-direction: column; gap: 40px; }
  .hero__heading { font-size: 52px; line-height: 1.1; }
  .hero__images { justify-content: center; padding-right: 0; }
  .hero__img-stack { width: 320px; height: 400px; }
  .hero__img-stack img:nth-child(1) { width: 320px; height: 400px; }

  .stats { padding: 24px 24px; }
  .stats__inner { flex-wrap: wrap; }
  .stat { flex: 1 1 45%; padding: 12px 8px; }
  .stat__label { font-size: 14px; white-space: normal; text-align: center; }

  .cards-section { padding: 48px 24px 24px; }
  .section-heading { font-size: 44px; line-height: 1.15; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .who-section { padding: 64px 24px; }
  .who-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .who-section__photo { max-width: 380px; margin: 0 auto; }
  .who-section__name { font-size: 72px; }

  .progress-section { padding: 48px 24px; }
  .progress-section__heading { font-size: 48px; line-height: 1.2; }
  .slider-content { flex-direction: column; gap: 40px; padding: 0; }
  .slider-image-area { display: none; }
  .progress-slider { grid-template-columns: 40px 1fr 40px; }

  .how-it-works { padding: 48px 24px; }
  .how-it-works__heading { font-size: 44px; line-height: 1.2; }
  .step-cards-row { gap: 16px; }
  .step-card { width: 340px; min-width: 340px; }

  .games-section { padding: 48px 24px; }
  .games-section__heading { font-size: 44px; line-height: 1.2; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }

  .guarantee { padding: 48px 24px; }
  .guarantee__heading { font-size: 48px; line-height: 1.2; }

  .join-section__inner { flex-direction: column; min-height: auto; margin: 0 24px; }
  .join-section__image { min-height: 280px; }
  .join-section__heading { font-size: 52px; line-height: 1.2; }
  .join-section__content { padding: 40px 32px; }

  .business-section { padding: 0 24px 48px; }
  .business-section__heading { font-size: 48px; line-height: 1.2; }
  .business-section__inner { grid-template-columns: 1fr; }
  .business-section__top { grid-column: 1; }
  .business-section__visual { display: none; }

  .seo-section { padding: 0 24px 48px; }
  .seo-cols { grid-template-columns: repeat(2, 1fr); }

  .footer { padding: 32px 24px 0; }
  .footer__top { flex-wrap: wrap; gap: 24px; }
  .footer__col { flex: 1 1 40%; padding-right: 16px; }

  .inner-hero { padding: 48px 24px; }
  .inner-hero__title { font-size: 56px; line-height: 1.15; }

  .dele-intro { padding: 48px 24px; grid-template-columns: 1fr; gap: 32px; }
  .dele-hero { padding: 48px 24px; }
  .dele-hero__title { font-size: 56px; line-height: 1.15; }

  .b2-prueba__head { flex-wrap: wrap; gap: 12px; }
  .b2-prueba__tags { flex-wrap: wrap; }
}

/* ============================================================
   RESPONSIVE — Hamburger threshold (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .top-banner { padding: 8px 12px; height: auto; min-height: 44px; align-items: flex-start; }
  .top-banner__inner { font-size: 12px; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
  .top-banner__close { align-self: flex-start; margin-top: 2px; }

  .header { height: 72px; padding: 0 16px; }
  .header__logo-img { height: 48px; }
  .header__right { gap: 8px; }
  .lang-btn { padding: 4px 8px; font-size: 12px; }
  .header__admin-link { display: none; }
  #searchInput { width: 130px; font-size: 13px; padding: 8px 32px 8px 10px; }
  #searchInput:focus { width: 160px; }
  #searchResults { width: 280px; right: -40px; }

  .mobile-menu { top: 72px; }

  .hero { padding: 36px 16px 40px; }
  .hero__heading { font-size: 38px; }
  .hero__cta { width: 100%; font-size: 16px; }
  .hero__images { justify-content: center; padding-right: 0; width: 100%; margin-top: 8px; }
  .hero__img-stack { width: 100%; height: 300px; }
  .hero__img-stack img:nth-child(1) { width: 100%; height: 300px; border-radius: 12px; }

  .stats { padding: 20px 16px; }
  .stat { flex: 1 1 48%; }
  .stat__number { font-size: 22px; }
  .stat__label { font-size: 12px; }

  .cards-section { padding: 36px 16px 20px; }
  .section-heading { font-size: 32px; line-height: 1.2; margin-bottom: 24px; }
  .section-subheading { font-size: 16px; margin-top: -16px; margin-bottom: 24px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card-link { height: 88px; padding: 0 16px; gap: 12px; }
  .card-link__name { font-size: 18px; }

  .who-section { padding: 48px 16px; }
  .who-section__name { font-size: 56px; letter-spacing: -2px; }
  .who-section__hello { font-size: 28px; }
  .who-section__desc { font-size: 15px; line-height: 26px; }
  .who-section__credentials { grid-template-columns: 1fr; }
  .who-section__cta { flex-direction: column; }
  .who-section__cta a { width: 100%; justify-content: center; }
  .who-section__photo-badge { right: 0; bottom: -16px; }
  .who-section__stats { flex-direction: column; gap: 16px; border-top: none; padding-top: 0; }
  .who-stat { border-right: none; padding-right: 0; padding-left: 0 !important; border-bottom: 1px solid rgba(212,146,10,0.2); padding-bottom: 16px; }
  .who-stat:last-child { border-bottom: none; padding-bottom: 0; }

  .progress-section { padding: 36px 16px; }
  .progress-section__heading { font-size: 32px; line-height: 1.2; }
  .progress-section__sub { font-size: 16px; }
  .progress-slider { grid-template-columns: 32px 1fr 32px; gap: 8px; min-height: auto; }
  .slider-content { min-height: auto; }
  .slider-text__quote { font-size: 20px; line-height: 30px; }

  .how-it-works { padding: 36px 16px; }
  .how-it-works__heading { font-size: 32px; line-height: 1.2; margin-bottom: 28px; }
  .step-card { width: 290px; min-width: 290px; height: auto; min-height: 400px; }

  .games-section { padding: 36px 16px; }
  .games-section__heading { font-size: 32px; line-height: 1.2; }
  .games-section__sub { font-size: 14px; }
  .games-grid { grid-template-columns: 1fr; }

  .guarantee { padding: 36px 16px; }
  .guarantee__heading { font-size: 32px; line-height: 1.2; }
  .guarantee__sub { font-size: 16px; margin-top: 16px; }

  .join-section { padding-bottom: 40px; }
  .join-section__inner { flex-direction: column; min-height: auto; margin: 0 16px; border-radius: 12px; }
  .join-section__image { min-height: 220px; }
  .join-section__heading { font-size: 36px; line-height: 1.2; }
  .join-section__content { padding: 28px 20px; gap: 16px; }
  .join-section__list li { font-size: 16px; }
  .btn-primary-dark, .btn-outline-dark { padding: 14px 20px; font-size: 14px; }

  .business-section { padding: 0 16px 40px; }
  .business-section__heading { font-size: 32px; line-height: 1.2; }
  .business-section__btns { flex-direction: column; }
  .btn-light-blue, .btn-outline-border { font-size: 15px; padding: 14px 20px; }

  .seo-section { padding: 0 16px 40px; }
  .seo-cols { grid-template-columns: 1fr 1fr; }

  .footer { padding: 28px 16px 0; }
  .footer__top { flex-direction: column; gap: 20px; }
  .footer__col { flex: none; padding-right: 0; }
  .footer__logo-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__social-apps { flex-wrap: wrap; }
  .footer__links-row { gap: 16px; }

  .inner-hero { padding: 36px 16px; }
  .inner-hero__title { font-size: 40px; line-height: 1.15; }
  .inner-hero__desc { font-size: 16px; }

  /* DELE page mobile */
  .dele-hero { padding: 36px 16px; }
  .dele-hero__title { font-size: 48px; line-height: 1.1; }
  .dele-hero__sub { font-size: 16px; }
  .dele-stats { padding: 20px 16px; flex-wrap: wrap; }
  .dele-stats__stat { flex: 1 1 40%; border-right: none; padding: 12px 8px; border-bottom: 1px solid #e0e0e0; }
  .dele-stats__stat:nth-child(odd) { border-right: 1px solid #e0e0e0; }
  .dele-stats__stat-num { font-size: 24px; }
  .dele-intro { padding: 28px 16px; grid-template-columns: 1fr; gap: 24px; }

  /* DELE level detail cards */
  .b2-prueba { border-radius: 12px; }
  .b2-prueba__head { padding: 16px; flex-direction: column; gap: 12px; align-items: flex-start; }
  .b2-prueba__body { padding: 16px; }
  .b2-tareas-grid { grid-template-columns: 1fr !important; }
  .b2-tip { font-size: 13px; }

  /* PDF/Videos page grids */
  .dele-levels-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

  /* Carousel */
  .carousel-section { padding: 10px 12px; }
  .carousel-item { padding: 0 14px; font-size: 12px; }
  .carousel-item::after { width: 20px; height: 20px; }
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero__heading { font-size: 30px; }
  .section-heading { font-size: 28px; }
  .stat { flex: 1 1 100%; }
  .who-section__name { font-size: 44px; }
  .seo-cols { grid-template-columns: 1fr; }
  .dele-levels-grid { grid-template-columns: 1fr !important; }
  .inner-hero__title { font-size: 32px; }
  .dele-hero__title { font-size: 36px; }
  .guarantee__heading { font-size: 28px; }
  .join-section__heading { font-size: 30px; }
  .business-section__heading { font-size: 28px; }
  .step-card { width: 260px; min-width: 260px; }
  .footer__social-apps { flex-direction: column; gap: 12px; }
}
