@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('assets/fonts/fraunces-normal-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-italic-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/spacegrotesk-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dmsans-latin.woff2') format('woff2');
}

:root {
  --ink: #1b221c;
  --ink-muted: #4b544c;
  --paper: #f6eddb;
  --paper-elevated: #fff9ec;
  --paper-card: #fdf5e4;
  --grid-line: rgba(27, 34, 28, 0.055);
  --border-color: #1b221c;
  --red: #d64a2c;
  --red-bright: #e65839;
  --yellow: #f5ca54;
  --yellow-soft: #fae08e;
  --sage: #a6c4b4;
  --chalkboard: #16261d;
  --chalkboard-card: #1f3529;
  --chalkboard-border: #385846;
  --shadow-color: #1b221c;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}

html[data-theme="dark"] {
  --ink: #f4ecda;
  --ink-muted: #b6c7bc;
  --paper: #132119;
  --paper-elevated: #1b2f24;
  --paper-card: #192b21;
  --grid-line: rgba(244, 236, 218, 0.05);
  --border-color: #466855;
  --red: #e55b3c;
  --yellow: #f5ca54;
  --sage: #1a3025;
  --shadow-color: #09110d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
}

/* HEADER & PROGRESS */
.top-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent);
  transition: box-shadow 0.2s ease;
}

.top-wrap.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.top {
  max-width: 1360px;
  margin: 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  gap: 20px;
}

.reading-progress {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.08s linear;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.04em;
  font-size: 21px;
}

.brand-badge {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1.5px solid var(--border-color);
  box-shadow: 2px 2px 0 var(--shadow-color);
}

.brand small,
.footer-brand small {
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.78;
  margin: 0 2px;
}

.top nav {
  display: flex;
  gap: 28px;
}

.top nav a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.top nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.top nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.top-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-switcher {
  display: inline-flex;
  background: var(--paper-elevated);
  border: 1.5px solid var(--border-color);
  border-radius: 999px;
  padding: 3px;
  box-shadow: 2px 2px 0 var(--shadow-color);
}

.theme-switcher button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.theme-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.swatch-paper {
  background: #f6eddb;
}

.swatch-chalk {
  background: #1a3326;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2.5px solid var(--red);
  padding-bottom: 3px;
  white-space: nowrap;
}

/* TYPOGRAPHY & SHARED TOKENS */
.eyebrow,
.kicker,
.section-index,
.hero-bottom,
.card-label,
.card-tag,
.ticket-top,
.ticket-bottom,
.manifesto-side span,
.number-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--red);
}

/* HERO */
.hero {
  max-width: 1360px;
  margin: 0 auto;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  position: relative;
  padding: 64px 4% 96px;
  gap: 40px;
}

.hero-copy {
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.eyebrow-pill {
  background: var(--yellow);
  color: #1b221c;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid #1b221c;
  box-shadow: 2px 2px 0 #1b221c;
}

h1 {
  font-size: clamp(52px, 6.2vw, 98px);
  margin: 22px 0 24px;
}

.hero-lead {
  max-width: 510px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 36px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  text-decoration: none;
  padding: 18px 26px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--shadow-color);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--shadow-color);
  background: var(--red-bright);
}

.button-arrow {
  font-size: 16px;
  line-height: 1;
}

.text-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 6px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--paper-elevated);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 4px 4px 0 var(--shadow-color);
  margin-top: 12px;
  max-width: 470px;
}

.hero-note-icon {
  font-size: 32px;
  color: var(--red);
  line-height: 1;
}

.hero-note strong {
  display: block;
  font-size: 13px;
}

.hero-note span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* HERO ARTWORK */
.hero-art {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.sunburst {
  position: absolute;
  width: min(92%, 540px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #ffe382, var(--yellow) 70%);
  border-radius: 50%;
  border: 2px solid #1b221c;
  box-shadow: 0 0 0 18px rgba(245, 202, 84, 0.2);
}

.phone-frame {
  position: relative;
  border: 9px solid #161d18;
  border-radius: 38px;
  overflow: hidden;
  background: #14221a;
  box-shadow:
    0 0 0 2px #3c4d42,
    20px 26px 0 rgba(27, 34, 28, 0.25);
}

.phone-hero {
  width: 268px;
  max-width: 56%;
  transform: rotate(5deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.phone-hero:hover {
  transform: rotate(1.5deg) translateY(-6px);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-relic {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.relic-cassette {
  bottom: 10%;
  left: 0;
  transform: rotate(-10deg);
  filter: drop-shadow(6px 8px 0 rgba(27, 34, 28, 0.28));
}

.relic-cassette svg {
  width: 132px;
  height: auto;
}

.relic-tape {
  background: #f5ca54;
  color: #18231c;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border: 1.5px solid #18231c;
  border-radius: 4px;
}

.scribble,
.handwritten {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--red);
  line-height: 0.92;
  transform: rotate(-11deg);
  position: absolute;
  top: 10%;
  left: 3%;
  font-size: clamp(28px, 3.6vw, 54px);
  z-index: 3;
  text-shadow: 2px 2px 0 var(--paper);
}

.stamp {
  position: absolute;
  right: 1%;
  bottom: 11%;
  width: 128px;
  height: 128px;
  background: var(--paper-elevated);
  border: 3px dashed var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(13deg);
  box-shadow: 5px 5px 0 var(--shadow-color);
  z-index: 3;
}

.stamp strong {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 2px 0;
}

.star {
  position: absolute;
  top: 7%;
  right: 9%;
  font-size: 68px;
  color: var(--red);
  line-height: 1;
}

.hero-bottom {
  position: absolute;
  bottom: 22px;
  left: 4%;
  right: 4%;
  display: flex;
  justify-content: space-between;
  color: var(--ink-muted);
}

/* ANIMATED TICKER */
.ticker {
  overflow: hidden;
  background: #18231c;
  color: #f6eddb;
  padding: 16px 0;
  border-top: 2px solid #18231c;
  border-bottom: 2px solid #18231c;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 34s linear infinite;
}

.ticker-track span {
  padding-right: 40px;
  white-space: nowrap;
}

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

/* 01 / INTRO */
.intro {
  max-width: 1360px;
  margin: 0 auto;
  padding: 120px 6%;
  display: grid;
  grid-template-columns: 1fr 2.8fr;
  gap: 36px;
}

.section-index {
  color: var(--red);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-index small {
  color: var(--ink-muted);
  font-size: 10px;
}

.kicker {
  color: var(--red);
  margin-bottom: 12px;
}

.intro h2,
.experience h2,
.pricing h2,
.quiz-header h2,
.vitrina-header h2 {
  font-size: clamp(44px, 5.2vw, 78px);
  margin: 12px 0 24px;
}

.intro-copy > p:last-child {
  max-width: 580px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.numbers {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.number-card {
  background: var(--paper-elevated);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 6px 6px 0 var(--shadow-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.number-tag {
  color: var(--red);
  font-size: 10px;
}

.number-card b {
  font-family: var(--font-serif);
  font-size: clamp(48px, 4.8vw, 72px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.number-card span:last-child {
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* 02 / INTERACTIVE QUIZ ("CATA DE RECREO") */
.interactive-quiz {
  background: var(--chalkboard);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #f6eddb;
  padding: 110px 6%;
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.quiz-header {
  max-width: 1160px;
  margin: 0 auto 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.quiz-header .kicker {
  color: var(--yellow);
}

.quiz-header h2 em {
  color: var(--yellow);
}

.quiz-intro {
  max-width: 430px;
  font-size: 16px;
  line-height: 1.6;
  color: #c7d6cd;
  margin: 0;
}

.quiz-stage {
  max-width: 780px;
  margin: 0 auto;
}

.quiz-board {
  background: #1b2e23;
  border: 2px solid #3c5d4a;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.quiz-pill,
.quiz-score-pill {
  background: #243b2e;
  border: 1.5px solid #3f634e;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quiz-pill .sparkle {
  color: var(--yellow);
}

.score-check {
  background: #38b26f;
  color: #0e1c14;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.quiz-progress-dots {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 240px;
}

.quiz-dot {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: #334e3f;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quiz-dot.is-current {
  background: var(--yellow);
  transform: scaleY(1.3);
}

.quiz-dot.is-done-ok {
  background: #4bc482;
}

.quiz-dot.is-done-wrong {
  background: var(--red);
}

.quiz-paper-card {
  background: #f5ebd6;
  background-image:
    linear-gradient(to right, rgba(27, 34, 28, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 34, 28, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #1b221c;
  border-radius: 22px;
  padding: 28px 30px;
  border: 2px solid #1b221c;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.22);
  margin-bottom: 22px;
}

.quiz-paper-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.quiz-ask {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.quiz-counter {
  font-family: var(--font-display);
  font-size: 12px;
  color: #5b6358;
  letter-spacing: 0.1em;
  margin: 0;
}

.quiz-cassette svg {
  width: 78px;
  height: auto;
  transform: rotate(6deg);
}

.cassette-reel.is-spinning {
  transform-origin: center;
  animation: spin-reel 0.6s linear;
}

@keyframes spin-reel {
  to {
    transform: rotate(360deg);
  }
}

.quiz-question-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 31px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.quiz-paper-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #515d53;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-option {
  appearance: none;
  background: #243b2e;
  color: #f6eddb;
  border: 2px solid #3c5c49;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.quiz-option:hover:not(:disabled) {
  background: #2d4939;
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.quiz-letter {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f5ebd6;
  color: #1b221c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.quiz-label {
  flex: 1;
}

.quiz-mark {
  font-weight: 900;
  font-size: 18px;
}

.quiz-option.is-correct {
  background: #1f4d35;
  border-color: #5cd695;
  color: #fff;
}

.quiz-option.is-correct .quiz-letter {
  background: #5cd695;
  color: #0f291c;
}

.quiz-option.is-wrong {
  background: #4b2420;
  border-color: #ec6b51;
}

.quiz-option.is-wrong .quiz-letter {
  background: #ec6b51;
  color: #fff;
}

.quiz-feedback {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1.5px solid #4c755d;
  background: #22382c;
}

.quiz-feedback.is-ok {
  border-color: #5cd695;
  background: rgba(40, 102, 68, 0.45);
}

.quiz-feedback.is-fail {
  border-color: var(--yellow);
  background: rgba(112, 82, 26, 0.38);
}

.quiz-feedback p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.quiz-next-btn {
  appearance: none;
  background: var(--yellow);
  color: #1b221c;
  border: 2px solid #1b221c;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 3px 3px 0 #0e1712;
}

.quiz-next-btn:hover {
  background: #ffe07d;
}

.quiz-motto {
  text-align: center;
  margin: 18px 0 0;
  font-family: var(--font-serif);
  color: #9ec0ae;
  font-size: 15px;
}

/* 03 / EXPERIENCE & REAL SCREENS */
.experience {
  background: var(--sage);
  padding: 110px 6% 120px;
  border-bottom: 2px solid var(--border-color);
}

.experience-heading {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.experience-heading > p {
  max-width: 380px;
  font-size: 17px;
  line-height: 1.6;
}

.showcase {
  max-width: 1240px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 0.65fr 1fr;
  gap: 28px;
  align-items: center;
}

.showcase-card {
  background: var(--paper-card);
  padding: 24px;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 10px 10px 0 var(--shadow-color);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.card-tag {
  font-size: 9px;
  background: var(--paper-elevated);
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: 999px;
}

.phone-showcase {
  width: min(100%, 268px);
  margin: 6px auto;
  border-width: 7px;
  border-radius: 30px;
  box-shadow: 10px 14px 0 rgba(27, 34, 28, 0.18);
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  border-top: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent);
  padding-top: 14px;
}

.card-foot strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.card-foot p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.card-foot span {
  font-size: 30px;
  color: var(--red);
  line-height: 1;
}

.showcase-middle {
  position: relative;
  text-align: center;
  padding: 16px;
}

.showcase-middle .handwritten {
  position: static;
  display: block;
  font-size: 48px;
}

.burst {
  font-size: 86px;
  color: var(--yellow);
  text-shadow: 4px 4px 0 #1b221c;
  line-height: 1;
  margin: 8px 0;
}

.showcase-middle p {
  font-size: 16px;
  line-height: 1.55;
}

.middle-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.middle-chips span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  background: var(--paper-elevated);
  border: 1.5px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 999px;
}

/* 03.5 / SYLLABUS ("TEMARIO EGB") */
.syllabus {
  max-width: 1240px;
  margin: 0 auto;
  padding: 110px 6% 40px;
}

.syllabus-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.syllabus-header h2 {
  font-size: clamp(42px, 5vw, 74px);
  margin: 12px 0 0;
}

.syllabus-header > p {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.syllabus-card {
  background: var(--paper-elevated);
  border: 2px solid var(--border-color);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 6px 6px 0 var(--shadow-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.syllabus-num {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}

.syllabus-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.syllabus-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

/* 06 / FAQ EGB */
.faq-egb {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 6% 110px;
}

.faq-egb-header h2 {
  font-size: clamp(42px, 5vw, 72px);
  margin: 12px 0 36px;
}

.faq-egb-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--paper-elevated);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 5px 5px 0 var(--shadow-color);
}

.faq-item summary {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--red);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* 04 / VITRINA INTERACTIVA */
.vitrina {
  max-width: 1240px;
  margin: 0 auto;
  padding: 110px 6%;
}

.vitrina-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.vitrina-header > p {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

.vitrina-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.badge-card {
  appearance: none;
  background: var(--chalkboard);
  color: #f6eddb;
  border: 2px solid #355242;
  border-radius: 22px;
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--shadow-color);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.badge-card:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
}

.badge-card.is-active {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow), 8px 8px 0 var(--shadow-color);
  transform: translateY(-4px);
}

.badge-medal {
  position: relative;
  width: 116px;
  height: 116px;
}

.badge-medal svg {
  width: 100%;
  height: 100%;
}

.badge-code {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #f6eddb;
  color: #18231c;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1.5px solid #18231c;
}

.badge-card strong {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.2;
  margin-top: 6px;
}

.badge-meta {
  font-family: var(--font-display);
  font-size: 11px;
  color: #8ab89f;
}

.badge-inspector {
  margin-top: 26px;
  background: var(--paper-elevated);
  border: 2px solid var(--border-color);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 6px 6px 0 var(--shadow-color);
}

.inspector-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.inspector-code {
  background: var(--yellow);
  color: #18231c;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid #18231c;
}

.inspector-rarity {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}

.badge-inspector h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin: 0 0 6px;
}

.badge-inspector p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 780px;
}

/* MANIFESTO */
.manifesto {
  padding: 120px 6%;
  background: var(--yellow);
  color: #1b221c;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  border-top: 2px solid #1b221c;
  border-bottom: 2px solid #1b221c;
}

.manifesto .kicker {
  grid-column: 1 / -1;
  color: #d64a2c;
}

.manifesto h2 {
  font-size: clamp(58px, 8.2vw, 128px);
  margin: 12px 0;
  color: #1b221c;
}

.manifesto h2 em {
  color: #d64a2c;
}

.manifesto-side {
  align-self: end;
  max-width: 340px;
  line-height: 1.65;
  font-size: 16px;
}

.asterisk {
  font-size: 92px;
  color: #d64a2c;
  line-height: 1;
}

/* 05 / PRICING & TICKET */
.pricing {
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 6%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8%;
  align-items: center;
}

.pricing-copy > p:last-of-type {
  max-width: 500px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.pricing-guarantees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.pricing-guarantees div {
  background: var(--paper-elevated);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 4px 4px 0 var(--shadow-color);
}

.pricing-guarantees strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 4px;
}

.pricing-guarantees span {
  font-size: 13px;
  color: var(--ink-muted);
}

.ticket-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ticket {
  width: 100%;
  max-width: 440px;
  background: #fff9e9;
  color: #1b221c;
  border: 2.5px solid #1b221c;
  border-radius: 16px;
  box-shadow: 12px 12px 0 var(--red);
  transform: rotate(1.8deg);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ticket.is-stamped {
  transform: rotate(0deg) scale(1.01);
  box-shadow: 14px 14px 0 #2e8b57;
}

.ticket-top,
.ticket-bottom {
  padding: 18px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px dashed #1b221c;
  background: #f5ebd2;
}

.ticket-body {
  padding: 30px 26px;
  position: relative;
}

.ticket-body small {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #d64a2c;
}

.ticket-body strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 86px;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 8px 0;
}

.ticket-body strong span {
  font-size: 42px;
}

.ticket-sub {
  font-size: 14px;
  color: #4f574e;
  margin: 0;
}

.ticket-body hr {
  border: 0;
  border-top: 1.5px solid #1b221c;
  margin: 22px 0;
}

.ticket-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  line-height: 2.05;
  font-weight: 700;
  font-size: 14px;
}

.ticket-body li span {
  color: #d64a2c;
  margin-right: 6px;
}

.ticket-stamp-btn {
  width: 100%;
  appearance: none;
  background: #1b221c;
  color: #fff9e9;
  border: 2px solid #1b221c;
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s ease;
}

.ticket-stamp-btn:hover {
  background: #d64a2c;
  border-color: #d64a2c;
}

.ticket-seal {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 106px;
  height: 106px;
  border: 3px solid #237a4b;
  border-radius: 50%;
  color: #237a4b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transform: rotate(-16deg) scale(1.6);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  background: rgba(255, 249, 233, 0.9);
}

.ticket-seal strong {
  font-size: 15px !important;
  margin: 2px 0 !important;
  letter-spacing: 0.04em !important;
}

.ticket.is-stamped .ticket-seal {
  transform: rotate(-16deg) scale(1);
  opacity: 1;
}

.ticket-bottom {
  border-bottom: 0;
  border-top: 2px dashed #1b221c;
}

.ticket-note {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
}

/* CLOSING */
.closing {
  background: var(--red);
  color: #f6eddb;
  text-align: center;
  padding: 110px 20px;
  border-top: 2px solid #1b221c;
}

.closing-stars {
  font-size: 20px;
  letter-spacing: 0.3em;
  color: var(--yellow);
}

.closing h2 {
  font-size: clamp(64px, 8.6vw, 124px);
  margin: 20px 0;
}

.closing h2 em {
  color: var(--yellow);
}

.closing p {
  font-size: 18px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.light {
  background: #f6eddb;
  color: #1b221c;
}

.light:hover {
  background: var(--yellow);
  color: #1b221c;
}

.outline-light {
  background: transparent;
  color: #f6eddb;
  border-color: #f6eddb;
}

.outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* FOOTER */
footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.footer-left p {
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0 0;
  color: var(--ink-muted);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

footer span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

/* REVEAL ANIMATION */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .top nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }
  .hero-art {
    min-height: 480px;
  }
  .intro {
    grid-template-columns: 1fr;
    padding: 84px 6%;
  }
  .numbers {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
  .quiz-header,
  .experience-heading,
  .vitrina-header,
  .syllabus-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .showcase {
    grid-template-columns: 1fr;
  }
  .vitrina-grid,
  .syllabus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .manifesto {
    grid-template-columns: 1fr;
    padding: 84px 6%;
  }
  .pricing {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 84px 6%;
  }
}

@media (max-width: 640px) {
  .top {
    height: 70px;
  }
  .nav-cta {
    display: none;
  }
  .quiz-options {
    grid-template-columns: 1fr;
  }
  .quiz-feedback {
    flex-direction: column;
    align-items: stretch;
  }
  .vitrina-grid,
  .syllabus-grid {
    grid-template-columns: 1fr;
  }
  .pricing-guarantees {
    grid-template-columns: 1fr;
  }
  .hero-bottom span:last-child {
    display: none;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
