@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
*{margin:0;padding:0;box-sizing:border-box}

:root{
  --crema:#f8f1e5;
  --crema-claro:#fffaf1;
  --crema-suave:#f2e7d4;
  --crema-oscuro:#e3d2b6;
  --arena:#cbb898;
  --arena-claro:#e7dbc5;
  --cafe:#9a795b;
  --cafe-claro:#b69776;
  --cafe-oscuro:#634b38;
  --azul-suave:#e8f0f4;
  --azul-claro:#d7e4ec;
  --azul-medio:#b8cad8;
  --azul:#8198ad;
  --azul-oscuro:#425b78;
  --azul-profundo:#263b59;
  --azul-noche:#1d304d;
  --blanco:#fff;
  --texto:#35424f;
  --texto-suave:#6e7880;
  --linea:rgba(99,75,56,.12);
  --verde-suave:#e5efe7;
  --rojo-suave:#f3e5e0;
  --sombra:0 12px 35px rgba(76,65,52,.08);
  --sombra-media:0 22px 55px rgba(57,70,84,.11);
  --sombra-fuerte:0 30px 75px rgba(57,70,84,.16);
  --radio:30px;
  --max:1180px;
  --gold-soft:#deceb0;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:105px;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;

  color: var(--texto);
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  line-height: 1.72;

  background:
    radial-gradient(
      circle at 8% 8%,
      rgba(218, 197, 161, 0.28),
      transparent 25%
    ),
    radial-gradient(
      circle at 92% 18%,
      rgba(238, 225, 198, 0.42),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 85%,
      rgba(178, 145, 108, 0.12),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #eee5d2 0%,
      #d8c8ad 48%,
      #cbb99e 100%
    );
}
body::before{
  content:"";
  position:fixed;
  z-index:-2;
  width:360px;	
  height:360px;
  left:-190px;
  top:14%;
  border-radius:57% 43% 64% 36%;
  background:rgba(223,232,238,.68);
  transform:rotate(19deg);
  pointer-events:none;
}

body::after{
  content:"";
  position:fixed;
  z-index:-2;
  width:300px;
  height:300px;
  right:-165px;
  bottom:9%;
  border-radius:42% 58% 38% 62%;
  background:rgba(226,210,184,.48);
  transform:rotate(-16deg);
  pointer-events:none;
}

a{color:inherit}

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

p{margin-bottom:18px}

::selection{
  background:var(--azul);
  color:var(--blanco);
}

::-webkit-scrollbar{
  width:10px;
}

::-webkit-scrollbar-track{
  background:var(--crema-suave);
}

::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:var(--azul);
}

::-webkit-scrollbar-thumb:hover{
  background:var(--cafe);
}

header{
  position:sticky;
  top:12px;
  z-index:5000;
  width:calc(100% - 28px);
  margin:12px auto 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:9px 19px;
  border:1px solid rgba(99,75,56,.11);
  border-radius:30px;
  background:rgba(255,250,241,.84);
  box-shadow:0 12px 38px rgba(70,62,52,.09);
  backdrop-filter:blur(20px);
  transition:.35s ease;
}

header:hover{
  box-shadow:var(--sombra-media);
}

header a{
  color:var(--azul-profundo);
  text-decoration:none;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--azul-profundo)!important;
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.1px;
}

.logo img{
  width:57px;
  height:57px;
  object-fit:cover;
  border:5px solid var(--crema-claro);
  border-radius:50%;
  box-shadow:0 7px 20px rgba(47,65,86,.13);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:270px;
  text-decoration:none;
}

.brand-mark{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  border:1px solid var(--arena);
  border-radius:17px;
  background:var(--azul-profundo);
  color:var(--gold-soft);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;
  box-shadow:0 6px 18px rgba(38,59,89,.13);
}

.brand-text small{
  display:block;
  margin-bottom:2px;
  color:var(--cafe);
  font-size:8px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.brand-text strong{
  display:block;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:16px;
  line-height:1.2;
}

.brand-text span{
  display:block;
  margin-top:3px;
  color:var(--texto-suave);
  font-size:10px;
  line-height:1.2;
}

header nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}

.nav-principal a,
header nav a{
  position:relative;
  padding:8px 12px!important;
  border-radius:999px;
  color:var(--azul-profundo)!important;
  font-size:11px;
  font-weight:700;
  text-decoration:none;
  transition:.25s ease;
}

.nav-principal a:hover,
header nav a:hover{
  background:var(--azul-suave);
  color:var(--azul-noche)!important;
  transform:translateY(-2px);
}

header nav a::after{
  display:none;
}

.page-nav{
  position:fixed;
  left:28px;
  top:50%;
  transform:translateY(-50%) scale(0.95);
  z-index:1400;
  width:210px;
  max-height:78vh;
  overflow:auto;
  padding:17px 13px;
  background:rgba(248,240,226,.94);
  backdrop-filter:blur(16px);
  border:1px solid rgba(197,157,88,.25);
  border-radius:22px;
  box-shadow:0 18px 42px rgba(18,54,95,.10)
}

.nav-title{
  font-family:Georgia,serif;
  font-size:21px;
  color:var(--navy);
  margin:3px 4px 14px
}

.nav-search-wrap{
  margin:0 4px 10px
}

.nav-search-wrap input{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:8px 10px;
  background:rgba(255,255,255,.7);
  outline:none;
  font-size:11px
}

.nav-search-wrap input:focus{
  border-color:var(--royal);
  box-shadow:0 0 0 3px rgba(36,89,154,.08)
}

.page-nav ul{
  list-style:none;
  display:grid;
  gap:4px
}

.page-nav li a{
  display:flex;
  align-items:center;
  gap:9px;
  padding:7px 8px;
  border-radius:11px;
  text-decoration:none;
  font-size:11px;
  color:var(--ink);
  transition:.2s ease
}

.page-nav li a:hover,
.page-nav li a.active{
  background:rgba(36,89,154,.08);
  transform:translateX(2px);
  color:var(--navy)
}

.page-nav li a span{
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  flex:0 0 25px;
  border-radius:8px;
  background:#e3ddcf;
  color:var(--navy);
  font-size:8px;
  font-weight:800
}

.page-nav li a:hover span,
.page-nav li a.active span{
  background:var(--royal);
  color:#fff
}

main{
  overflow:hidden;
}

main>section{
  position:relative;
  padding:100px 7%;
  scroll-margin-top:105px;
  border:0;
}

.section-inner{
  position:relative;
  z-index:1;
  width:min(100%,var(--max));
  margin:0 auto;
}

.section-light{
  background:
    radial-gradient(circle at 94% 9%,rgba(216,228,236,.38),transparent 22%),
    #f4ecdf;
}

.paragraph-box,
.info-card,
.figure-card,
.table-card,
.reference-card,
.objective-card,
.hypothesis-card,
.stat-card,
.activity-card,
.result-card,
.final-card{
  background:rgba(255,250,241,.84)!important;
}

.figure-placeholder{
  background:
    linear-gradient(145deg,#eadfce,#e4e9e8);
}

.table-card{
  background:rgba(255,250,241,.88)!important;
}
.section-warm{
  background:
    radial-gradient(circle at 5% 88%,rgba(203,184,152,.25),transparent 22%),
    var(--crema);
}

.section-dark{
  background:
    radial-gradient(circle at 82% 10%,rgba(197,215,228,.13),transparent 24%),
    linear-gradient(145deg,#38516f,#263b59);
  color:var(--crema);
  border-radius:58px 58px 0 0;
  margin-top:24px;
}

.section-heading{
  position:relative;
  z-index:2;
  display:flex;
  align-items:flex-start;
  gap:18px;
  margin-bottom:42px;
}

.section-number{
  min-width:54px;
  padding-top:7px;
  border-top:3px solid var(--cafe);
  color:var(--cafe)!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  font-weight:700;
  line-height:1;
}

.section-label{
  margin-bottom:8px;
  color:var(--cafe)!important;
  font-size:8px;
  font-weight:800;
  letter-spacing:2.5px;
  text-transform:uppercase;
}

.section-heading h2{
  color:var(--azul-profundo)!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(42px,5.1vw,68px)!important;
  font-weight:500;
  letter-spacing:-3px!important;
  line-height:1!important;
}

.section-dark .section-heading h2{
  color:var(--crema)!important;
}

.section-dark .section-label{
  color:var(--gold-soft)!important;
}

.hero{
  min-height:calc(100vh - 82px);
  display:grid;
  align-items:center;
  border-radius:0 0 70px 70px;
  background:
    radial-gradient(circle at 85% 16%,rgba(197,215,228,.62),transparent 24%),
    radial-gradient(circle at 8% 78%,rgba(213,197,167,.34),transparent 21%),
    linear-gradient(135deg,#fffdf8 0%,#f7f0e4 48%,#e3edf2 100%);
}

.hero::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-150px;
  top:-185px;
  border-radius:50%;
  background:
    radial-gradient(circle,rgba(38,59,89,.075) 0 2px,transparent 3px);
  background-size:25px 25px;
  opacity:.9;
  pointer-events:none;
}

.hero-grid{
  position:relative;
  z-index:2;
  width:min(100%,var(--max));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);
  gap:64px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:20px;
  color:var(--cafe)!important;
  font-size:9px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.eyebrow::before{
  content:"";
  width:34px;
  height:2px;
  border-radius:99px;
  background:var(--cafe);
}

.hero h1{
  max-width:800px;
  color:var(--azul-profundo)!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(49px,6vw,81px);
  font-weight:500;
  letter-spacing:-4px;
  line-height:.95;
}

.hero h1 span{
  display:block;
  margin-top:15px;
  color:var(--azul)!important;
  font-size:.62em;
  letter-spacing:-1.7px;
}

.hero-subtitle{
  margin:20px 0 26px;
  color:var(--texto-suave)!important;
  font-size:18px;
}

.hero-meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
  max-width:790px;
}

.meta-card{
  padding:15px 17px;
  border:1px solid rgba(99,75,56,.11);
  border-radius:21px;
  background:rgba(255,253,248,.72);
  box-shadow:var(--sombra);
  transition:.28s ease;
}

.meta-card:hover{
  transform:translateY(-5px) rotate(-.3deg);
  background:var(--crema-claro);
  box-shadow:var(--sombra-media);
}

.meta-card small{
  display:block;
  margin-bottom:4px;
  color:var(--cafe)!important;
  font-size:8px;
  font-weight:800;
  letter-spacing:1.6px;
  text-transform:uppercase;
}

.meta-card strong{
  color:var(--azul-profundo)!important;
  font-size:11px;
}

.hero-side{
  position:relative;
  min-height:440px;
  display:grid;
  place-items:center;
}

.hero-art{
  position:relative;
  width:min(100%,420px);
  aspect-ratio:1/1.07;
  padding:29px;
  overflow:hidden;
  border:1px solid rgba(99,75,56,.10);
  border-radius:49px;
  background:rgba(255,253,248,.50);
  box-shadow:0 33px 85px rgba(57,70,84,.14);
  backdrop-filter:blur(15px);
}

.hero-art::before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-60px;
  top:-57px;
  border-radius:50%;
  background:rgba(213,197,167,.40);
}

.hero-art::after{
  content:"";
  position:absolute;
  width:245px;
  height:245px;
  left:-125px;
  bottom:-135px;
  border-radius:50%;
  background:rgba(197,215,228,.48);
}

.math-stack{
  position:absolute;
  inset:29px;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:15px;
}

.math-tile{
  display:grid;
  place-items:center;
  border:0;
  border-radius:29px;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(48px,8vw,78px);
  box-shadow:0 14px 34px rgba(57,70,84,.10);
  transition:.35s cubic-bezier(.2,.8,.2,1);
}

.math-tile:hover{
  transform:translateY(-7px) rotate(-1.3deg) scale(1.02);
}

.math-tile:nth-child(1){
  background:#e8ddc9;
  color:var(--cafe-oscuro);
}

.math-tile:nth-child(2){
  background:var(--azul-profundo);
  color:#e0d1b2;
}

.math-tile:nth-child(3){
  background:#b8cad8;
  color:var(--azul-profundo);
}

.math-tile:nth-child(4){
  background:#f6ede0;
  color:var(--cafe-oscuro);
}

.hero-note{
  position:absolute;
  left:22px;
  bottom:21px;
  padding:10px 15px;
  border-radius:999px;
  background:var(--cafe-oscuro);
  color:var(--crema);
  font-size:9px;
  font-weight:800;
  letter-spacing:.7px;
}

.intro-grid,
.split-grid{
  display:grid;
  grid-template-columns:minmax(0,1.28fr) minmax(270px,.72fr);
  gap:28px;
  align-items:start;
}

.text-column{
  display:grid;
  gap:15px;
}

.paragraph-box,
.info-card,
.figure-card,
.table-card,
.reference-card,
.objective-card,
.hypothesis-card,
.stat-card,
.activity-card,
.result-card,
.final-card{
  border:0!important;
  background:rgba(255,253,248,.78)!important;
  box-shadow:var(--sombra);
}

.paragraph-box{
  padding:29px 31px;
  border-radius:24px!important;
  transition:.3s ease;
}

.paragraph-box:hover{
  transform:translateY(-5px);
  box-shadow:var(--sombra-media);
}

.paragraph-box p{
  margin-bottom:0;
  text-align:left!important;
}

.side-card{
  position:sticky;
  top:140px;
  padding:33px;
  overflow:hidden;
  border:0;
  border-radius:35px;
  background:
    radial-gradient(circle at 88% 13%,rgba(205,220,231,.18),transparent 28%),
    linear-gradient(145deg,#795f47,#5d4635);
  color:var(--crema);
  box-shadow:var(--sombra-media);
}

.side-card::before{
  content:"";
  position:absolute;
  width:135px;
  height:135px;
  left:-70px;
  top:-70px;
  border-radius:50%;
  background:rgba(255,255,255,.06);
}

.side-card::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:-100px;
  bottom:-110px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:50%;
}

.side-card .big-number{
  color:#dfcfaf;
  font-family:Georgia,"Times New Roman",serif;
  font-size:90px;
  line-height:.86;
}

.side-card small{
  display:block;
  margin-top:15px;
  color:#dfcfaf;
  font-size:8px;
  font-weight:800;
  letter-spacing:1.8px;
  text-transform:uppercase;
}

.side-card p{
  margin:9px 0 0;
  color:rgba(255,253,248,.79);
  font-size:13px;
}

.question-card{
  position:relative;
  max-width:1030px;
  margin:auto;
  padding:58px clamp(30px,6vw,78px);
  overflow:hidden;
  border:0;
  border-radius:40px;
  background:
    radial-gradient(circle at 91% 13%,rgba(197,215,228,.36),transparent 24%),
    linear-gradient(135deg,#fffdf8,#eee4d5);
  box-shadow:var(--sombra-media);
  transform:rotate(-.25deg);
}

.question-card::before{
  content:"?";
  position:absolute;
  right:26px;
  top:-22px;
  color:rgba(154,121,91,.12);
  font-family:Georgia,"Times New Roman",serif;
  font-size:195px;
  line-height:1;
}

.question-label{
  position:relative;
  z-index:1;
  margin-bottom:16px;
  color:var(--cafe);
  font-size:9px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.question-card p{
  position:relative;
  z-index:1;
  margin:0;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(23px,3vw,36px);
  line-height:1.24;
}

.cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}

.hypothesis-card,
.objective-card,
.activity-card,
.result-card,
.reference-card{
  position:relative;
  padding:30px!important;
  border-radius:30px!important;
  transition:.35s cubic-bezier(.2,.8,.2,1);
  overflow:hidden;
}

.hypothesis-card::after,
.objective-card::after,
.activity-card::after,
.result-card::after{
  content:"";
  position:absolute;
  width:90px;
  height:90px;
  right:-42px;
  bottom:-42px;
  border-radius:50%;
  background:var(--azul-suave);
  opacity:.7;
}

.hypothesis-card:hover,
.objective-card:hover,
.activity-card:hover,
.result-card:hover,
.reference-card:hover{
  transform:translateY(-9px) rotate(-.45deg);
  box-shadow:var(--sombra-fuerte);
}

.hypothesis-card:nth-child(even):hover,
.objective-card:nth-child(even):hover{
  transform:translateY(-9px) rotate(.45deg);
}

.number-badge{
  width:48px!important;
  height:48px!important;
  display:inline-grid;
  place-items:center;
  margin-bottom:17px;
  border-radius:16px!important;
  background:var(--azul-profundo)!important;
  color:#dfd0ae!important;
  font-size:10px;
  font-weight:800;
}

.card-kicker{
  margin-bottom:8px;
  color:var(--cafe)!important;
  font-size:8px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.hypothesis-card p,
.objective-card p,
.activity-card p,
.result-card p,
.reference-card p{
  position:relative;
  z-index:1;
  margin:0;
}

.objective-main{
  position:relative;
  margin-bottom:24px;
  padding:40px!important;
  overflow:hidden;
  border:0!important;
  border-radius:38px!important;
  background:
    radial-gradient(circle at 88% 14%,rgba(197,215,228,.16),transparent 25%),
    linear-gradient(145deg,#3a526e,#263b59)!important;
  box-shadow:var(--sombra-media);
  color:var(--crema);
  transform:rotate(.3deg);
}

.objective-main::before{
  content:"";
  position:absolute;
  width:250px;
  height:250px;
  right:-130px;
  bottom:-150px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
}

.objective-main h3{
  position:relative;
  z-index:1;
  margin-top:8px;
  color:var(--crema)!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(23px,3vw,32px);
  font-weight:500;
  line-height:1.3;
}

.objective-main .card-kicker{
  color:var(--gold-soft)!important;
}

.justification-layout{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:29px;
  align-items:start;
}

.quote-card{
  position:sticky;
  top:140px;
  padding:39px;
  border:0;
  border-radius:39px;
  background:
    radial-gradient(circle at 86% 12%,rgba(199,217,230,.18),transparent 25%),
    linear-gradient(145deg,#7b6048,#604837);
  color:var(--crema);
  box-shadow:var(--sombra-media);
  transform:rotate(-.5deg);
}

.quote-mark{
  color:#dfcfaf!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:79px;
  line-height:.55;
}

.quote-card p{
  margin:23px 0 0;
  color:#fbf6ed;
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  line-height:1.39;
}

.method-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px;
  margin-top:30px;
}

.method-card{
  min-height:178px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:26px;
  border:0;
  border-radius:29px;
  background:linear-gradient(145deg,#fffdf8,#e6eef3);
  box-shadow:var(--sombra);
  transition:.35s ease;
}

.method-card:nth-child(1){
  transform:translateY(9px) rotate(-.7deg);
}

.method-card:nth-child(2){
  transform:translateY(-8px) rotate(.5deg);
}

.method-card:nth-child(3){
  transform:translateY(14px) rotate(-.35deg);
}

.method-card:nth-child(4){
  transform:translateY(-2px) rotate(.65deg);
}

.method-card:hover{
  transform:translateY(-9px) rotate(0)!important;
  box-shadow:var(--sombra-fuerte);
}

.method-card strong{
  margin-bottom:8px;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  line-height:1.1;
}

.method-card span{
  color:var(--texto-suave);
  font-size:11px;
}

.keyword-list,
.tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}

.keyword-list span,
.tag-list span{
  padding:8px 14px;
  border:0;
  border-radius:999px;
  background:var(--azul-suave);
  color:var(--azul-profundo);
  font-size:9px;
  font-weight:800;
  transition:.24s ease;
}

.keyword-list span:hover,
.tag-list span:hover{
  background:var(--arena-claro);
  transform:translateY(-3px) rotate(-1deg);
}

.timeline{
  position:relative;
  display:grid;
  gap:0;
  max-width:980px;
  margin:auto;
}

.timeline::before{
  content:"";
  position:absolute;
  left:28px;
  top:25px;
  bottom:25px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(var(--cafe),var(--azul-medio),transparent);
}

.timeline-item{
  position:relative;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:23px;
  padding:9px 0 22px;
}

.timeline-dot{
  position:relative;
  z-index:1;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border:6px solid var(--crema)!important;
  border-radius:50%;
  background:var(--azul-profundo);
  color:#dfd0ae;
  font-size:10px;
  font-weight:800;
  box-shadow:0 0 0 1px var(--cafe),0 9px 25px rgba(38,59,89,.15);
  transition:.3s ease;
}

.timeline-item:hover .timeline-dot{
  transform:scale(1.08) rotate(4deg);
}

.timeline-content{
  padding:24px 26px;
  border:0!important;
  border-radius:28px!important;
  background:rgba(255,253,248,.82)!important;
  box-shadow:var(--sombra);
  transition:.3s ease;
}

.timeline-content:hover{
  transform:translateX(7px);
  box-shadow:var(--sombra-media);
}

.timeline-content h3{
  margin-bottom:6px;
  color:var(--azul-profundo)!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  font-weight:500;
}

.timeline-content p{
  margin:0;
}

.figure-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:21px;
}

.figure-grid.three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.figure-card{
  padding:14px!important;
  border-radius:30px!important;
  overflow:hidden;
  transition:.32s ease;
}

.figure-card:nth-child(odd){
  transform:rotate(-.3deg);
}

.figure-card:nth-child(even){
  transform:rotate(.3deg);
}

.figure-card:hover{
  transform:translateY(-8px) rotate(0);
  box-shadow:var(--sombra-hover);
}

.figure-placeholder{
  min-height:270px;
  display:grid;
  place-items:center;
  padding:26px;
  border:0!important;
  border-radius:23px;
  background:
    linear-gradient(145deg,#eee2cf,#e1ebf1);
  color:var(--azul-profundo);
  text-align:center;
  overflow:hidden;
}

.figure-placeholder strong{
  margin-bottom:8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:20px;
}

.figure-placeholder span{
  color:var(--texto-suave);
  font-size:10px;
}

.figure-placeholder img{
  width:100%;
  max-height:450px;
  object-fit:contain;
  border-radius:20px;
}

.figure-caption{
  padding:14px 8px 5px;
  color:var(--texto-suave);
  font-size:10px;
  line-height:1.55;
}

.figure-caption strong{
  color:var(--azul-profundo);
}

.table-card{
  padding:18px!important;
  border-radius:30px!important;
  overflow-x:auto;
}

.table-title{
  margin-bottom:13px;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
}

table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 7px;
  background:transparent;
  font-size:11px;
}

th,
td{
  padding:14px 16px;
  border:0;
  vertical-align:top;
  text-align:left;
}

th{
  background:var(--azul-profundo);
  color:var(--crema);
  font-weight:700;
}

th:first-child{
  border-radius:15px 0 0 15px;
}

th:last-child{
  border-radius:0 15px 15px 0;
}

tbody td{
  background:var(--crema-claro);
}

tbody td:first-child{
  border-radius:14px 0 0 14px;
  color:var(--cafe-oscuro);
  font-weight:800;
}

tbody td:last-child{
  border-radius:0 14px 14px 0;
}

tbody tr:hover td{
  background:var(--azul-suave);
}

.table-note{
  margin:12px 0 0;
  color:var(--texto-suave);
  font-size:10px;
  font-style:italic;
}

.stat-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
  margin:29px 0;
}

.stat-card{
  padding:25px;
  border-radius:25px!important;
  background:linear-gradient(145deg,#38516e,#263b59)!important;
  color:var(--crema);
  text-align:center;
  transition:.3s ease;
}

.stat-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--sombra-media);
}

.stat-card strong{
  display:block;
  color:#dfd0ae;
  font-family:Georgia,"Times New Roman",serif;
  font-size:43px;
  line-height:1;
}

.stat-card span{
  display:block;
  margin-top:8px;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.results-highlight{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:30px 0 36px;
}

.result-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#fffdf8,#e5edf2)!important;
}

.result-card::after{
  background:var(--arena);
  opacity:.22;
}

.result-card strong{
  position:relative;
  z-index:1;
  display:block;
  margin-bottom:9px;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:41px;
  line-height:1;
}

.result-card small{
  position:relative;
  z-index:1;
  display:block;
  margin-bottom:8px;
  color:var(--cafe);
  font-size:8px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.activity-card{
  overflow:hidden;
}

.activity-card:nth-child(odd){
  transform:translateX(-3px);
}

.activity-card:nth-child(even){
  transform:translateX(3px);
}

.activity-card:hover{
  transform:translateY(-8px)!important;
}

.activity-card{
  display:grid;
  grid-template-columns:63px minmax(0,1fr);
  gap:18px;
}

.activity-number{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border:1px solid var(--linea);
  border-radius:17px;
  background:var(--crema-suave);
  color:var(--azul-profundo);
  font-size:10px;
  font-weight:800;
}

.activity-card h3{
  margin-bottom:7px;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;
  font-weight:500;
}

.activity-method{
  display:inline-block;
  margin-top:5px;
  padding:7px 11px;
  border-radius:999px;
  background:var(--azul-suave);
  color:var(--azul-profundo);
  font-size:8px;
  font-weight:800;
  letter-spacing:1.2px;
}

.references-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}

.reference-card{
  padding:23px!important;
  border-radius:24px!important;
}

.reference-card p{
  color:var(--texto-suave);
  font-size:11px;
}

.reference-card a{
  color:var(--azul);
  word-break:break-word;
}

.figure-list,
.table-list{
  display:grid;
  gap:8px;
  list-style:none;
}

.figure-list li,
.table-list li{
  padding:13px 16px;
  border:0;
  border-radius:15px;
  background:rgba(255,253,248,.77);
  color:var(--texto);
  font-size:10px;
  box-shadow:var(--sombra);
}

.final-card{
  padding:31px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:32px!important;
  background:rgba(255,255,255,.075)!important;
  color:var(--crema);
  box-shadow:none!important;
  backdrop-filter:blur(10px);
  transition:.3s ease;
}

.final-card:hover{
  background:rgba(255,255,255,.14)!important;
  transform:translateY(-7px) rotate(-.25deg);
}

.final-card h3{
  margin-bottom:12px;
  color:#dfd0ae;
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  font-weight:500;
}

.final-card p{
  margin:0;
  color:rgba(255,253,248,.83);
  font-size:13px;
}

.site-footer{
  position:relative;
  padding:64px 7%!important;
  background:
    radial-gradient(circle at 80% 12%,rgba(197,215,228,.14),transparent 25%),
    var(--azul-noche)!important;
  color:var(--crema);
  text-align:center;
  border-radius:58px 58px 0 0;
}

.site-footer strong{
  color:#dfd0ae!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
  font-weight:500;
}

.site-footer p{
  margin:8px 0 0;
  color:rgba(255,253,248,.66)!important;
  font-size:10px;
}

.games-section{
  background:
    radial-gradient(circle at 8% 16%,rgba(213,197,167,.29),transparent 21%),
    radial-gradient(circle at 93% 82%,rgba(197,215,228,.43),transparent 26%),
    #f5eee2!important;
}

.games-intro{
  max-width:720px;
  margin:-17px auto 39px;
  color:var(--texto-suave);
  text-align:center;
}

.games-intro p{
  margin:0;
}

.games-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.game-card{
  position:relative;
  padding:27px;
  overflow:hidden;
  border:0!important;
  border-radius:33px!important;
  background:linear-gradient(145deg,#fffdf8,#e7eff4);
  box-shadow:var(--sombra);
  transition:.35s cubic-bezier(.2,.8,.2,1);
}

.game-card:nth-child(1){
  transform:translateY(7px) rotate(-.35deg);
}

.game-card:nth-child(2){
  transform:translateY(-5px) rotate(.25deg);
}

.game-card:nth-child(3){
  transform:translateY(10px) rotate(.4deg);
}

.game-card:nth-child(4){
  transform:translateY(-6px) rotate(-.3deg);
}

.game-card:nth-child(5){
  transform:translateY(8px) rotate(.25deg);
}

.game-card:nth-child(6){
  transform:translateY(-4px) rotate(-.25deg);
}

.game-card::before{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  right:-52px;
  top:-52px;
  border-radius:50%;
  background:var(--arena);
  opacity:.17;
}

.game-card:hover{
  transform:translateY(-9px) rotate(0)!important;
  box-shadow:var(--sombra-fuerte);
}

.game-card-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:19px;
}

.game-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:19px;
  background:var(--azul-suave);
  font-size:26px;
  box-shadow:0 6px 17px rgba(57,70,84,.06);
}

.game-tag{
  color:var(--cafe);
  font-size:8px;
  font-weight:800;
  letter-spacing:1.7px;
  text-transform:uppercase;
}

.game-card h3{
  position:relative;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  font-weight:500;
  line-height:1.2;
}

.game-card p{
  min-height:74px;
  margin:9px 0 18px;
  color:var(--texto-suave);
  font-size:12px;
  line-height:1.65;
}

.game-info{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding-top:15px;
  margin-bottom:16px;
  border-top:1px solid rgba(99,75,56,.10);
}

.game-info span{
  padding:6px 10px;
  border-radius:999px;
  background:var(--crema-suave);
  color:var(--cafe-oscuro);
  font-size:9px;
  font-weight:700;
}

.game-btn{
  width:100%;
  border:0;
  border-radius:15px;
  padding:13px 16px;
  background:var(--azul-profundo);
  color:var(--crema);
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  transition:.23s ease;
}

.game-btn:hover{
  background:var(--cafe-oscuro);
  transform:translateY(-3px);
  box-shadow:0 9px 22px rgba(99,75,56,.15);
}

.game-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(29,48,77,.60);
  backdrop-filter:blur(9px);
}

.game-modal.active{
  display:flex;
}

.game-window{
  position:relative;
  width:min(720px,100%);
  max-height:90vh;
  overflow:auto;
  padding:38px;
  border:0;
  border-radius:34px;
  background:var(--crema-claro);
  box-shadow:0 38px 100px rgba(29,48,77,.23);
}

.game-close{
  position:absolute;
  z-index:2;
  top:14px;
  right:15px;
  width:41px;
  height:41px;
  border:0;
  border-radius:50%;
  background:var(--crema-suave);
  color:var(--azul-profundo);
  font-size:24px;
  cursor:pointer;
  box-shadow:var(--sombra);
  transition:.25s ease;
}

.game-close:hover{
  transform:rotate(90deg) scale(1.05);
  background:var(--arena);
}

.game-header{
  margin-bottom:25px;
  padding-right:40px;
  text-align:center;
}

.game-header-icon{
  margin-bottom:8px;
  font-size:41px;
}

.game-header h2{
  margin-bottom:7px;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:33px;
  font-weight:500;
}

.game-header p{
  margin:0;
  color:var(--texto-suave);
  font-size:12px;
}

.game-status{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  padding:11px 15px;
  border-radius:16px;
  background:var(--azul-suave);
  color:var(--azul-profundo);
  font-size:11px;
  font-weight:800;
}

.game-progress{
  height:7px;
  margin-bottom:21px;
  overflow:hidden;
  border-radius:999px;
  background:var(--arena-claro);
}

.game-progress-bar{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--azul),var(--cafe));
  transition:.35s ease;
}

.game-question{
  margin-bottom:16px;
  padding:23px;
  border:0;
  border-radius:21px;
  background:var(--crema-claro);
  box-shadow:inset 0 0 0 1px rgba(99,75,56,.07);
}

.game-question h3{
  margin:0;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:20px;
  font-weight:500;
  line-height:1.45;
}

.game-options{
  display:grid;
  gap:9px;
}

.game-option{
  width:100%;
  border:1px solid rgba(44,69,101,.10);
  border-radius:15px;
  padding:13px 15px;
  background:var(--blanco);
  color:var(--azul-profundo);
  text-align:left;
  font-size:11px;
  cursor:pointer;
  transition:.22s ease;
}

.game-option:hover:not(:disabled){
  border-color:var(--azul-medio);
  background:var(--azul-suave);
  transform:translateX(4px);
}

.game-option.correct{
  border-color:#88ad95;
  background:var(--verde-suave);
}

.game-option.wrong{
  border-color:#d4a39a;
  background:var(--rojo-suave);
}

.game-feedback{
  min-height:23px;
  margin:13px 0;
  text-align:center;
  font-size:11px;
  font-weight:800;
}

.game-feedback.success{
  color:#477657;
}

.game-feedback.error{
  color:#a85a4e;
}

.game-action{
  width:100%;
  margin-top:8px;
  border:0;
  border-radius:14px;
  padding:13px 15px;
  background:var(--cafe);
  color:var(--crema);
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  transition:.22s ease;
}

.game-action:hover{
  background:var(--cafe-oscuro);
  transform:translateY(-3px);
}

.order-list{
  display:grid;
  gap:9px;
  margin-bottom:15px;
}

.order-item{
  position:relative;
  padding:13px 15px;
  border:1px solid rgba(44,69,101,.10);
  border-radius:15px;
  background:var(--blanco);
  color:var(--azul-profundo);
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  transition:.22s ease;
}

.order-item:hover{
  border-color:var(--azul-medio);
  background:var(--azul-suave);
  transform:translateX(4px);
}

.order-item.selected{
  border-color:var(--cafe);
  background:var(--crema-suave);
}

.order-number{
  display:inline-grid;
  place-items:center;
  width:25px;
  height:25px;
  margin-right:8px;
  border-radius:8px;
  background:var(--azul-profundo);
  color:var(--gold-soft);
  font-size:10px;
}

.order-summary{
  margin-bottom:15px;
  padding:14px;
  border-radius:15px;
  background:var(--crema-suave);
  color:var(--azul-profundo);
  font-size:10px;
  line-height:1.7;
}

.flashcard{
  min-height:215px;
  display:grid;
  place-items:center;
  margin-bottom:15px;
  padding:30px;
  border:0;
  border-radius:29px;
  background:linear-gradient(145deg,#fffdf8,#e4edf2);
  box-shadow:var(--sombra);
  text-align:center;
  cursor:pointer;
  transition:.28s ease;
}

.flashcard:hover{
  transform:translateY(-5px) rotate(-.3deg);
  box-shadow:var(--sombra-media);
}

.flashcard h3{
  margin:0;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  font-weight:500;
  line-height:1.45;
}

.level-badge,
.level{
  display:inline-flex;
  margin-bottom:14px;
  padding:7px 13px;
  border-radius:999px;
  background:var(--cafe);
  color:var(--crema);
  font-size:8px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.game-center{
  text-align:center;
}

.game-result{
  padding:16px 5px;
  text-align:center;
}

.game-result-icon{
  margin-bottom:8px;
  font-size:53px;
}

.game-result h2{
  margin-bottom:8px;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  font-weight:500;
}

.game-result p{
  max-width:520px;
  margin:0 auto 9px;
  color:var(--texto-suave);
  font-size:12px;
}

.game-final-score{
  margin:10px 0 20px;
  color:var(--cafe);
  font-family:Georgia,"Times New Roman",serif;
  font-size:45px;
  font-weight:700;
}

.games-play-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:21px;
}

.play-game{
  position:relative;
  padding:28px;
  overflow:hidden;
  border:0;
  border-radius:33px;
  background:linear-gradient(145deg,#fffdf8,#e7eff4);
  box-shadow:var(--sombra);
  transition:.35s cubic-bezier(.2,.8,.2,1);
}

.play-game:nth-child(1){
  transform:translateY(8px) rotate(-.3deg);
}

.play-game:nth-child(2){
  transform:translateY(-5px) rotate(.3deg);
}

.play-game:nth-child(3){
  transform:translateY(12px) rotate(.2deg);
}

.play-game:nth-child(4){
  transform:translateY(-7px) rotate(-.25deg);
}

.play-game:nth-child(5){
  transform:translateY(9px) rotate(.25deg);
}

.play-game:nth-child(6){
  transform:translateY(-4px) rotate(-.3deg);
}

.play-game::before{
  content:"";
  position:absolute;
  width:135px;
  height:135px;
  right:-60px;
  top:-60px;
  border-radius:50%;
  background:var(--arena);
  opacity:.16;
}

.play-game:hover{
  transform:translateY(-9px) rotate(0)!important;
  box-shadow:var(--sombra-fuerte);
}

.play-top{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:13px;
  margin-bottom:20px;
}

.play-icon{
  width:55px;
  height:55px;
  display:grid;
  place-items:center;
  border-radius:19px;
  background:var(--azul-suave);
  font-size:25px;
}

.play-top>div>span{
  color:var(--cafe);
  font-size:8px;
  font-weight:800;
  letter-spacing:1.6px;
}

.play-top h3{
  margin:2px 0 0;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
  font-weight:500;
}

.play-top>strong{
  color:var(--cafe);
  font-size:11px;
}

.game-card-question,
.classify-text{
  padding:18px;
  border-radius:21px;
  background:rgba(255,253,248,.88);
  box-shadow:inset 0 0 0 1px rgba(99,75,56,.07);
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:16px;
  line-height:1.45;
  text-align:center;
}

.game-card-note{
  margin:9px 0 13px;
  color:var(--texto-suave);
  font-size:10px;
  text-align:center;
}

.play-options{
  display:grid;
  gap:9px;
  margin-top:12px;
}

.play-choice{
  padding:12px 14px;
  border:1px solid rgba(44,69,101,.10);
  border-radius:15px;
  background:var(--crema-claro);
  color:var(--azul-profundo);
  font-size:10px;
  font-weight:700;
  cursor:pointer;
  transition:.23s ease;
}

.play-choice:hover{
  background:var(--azul-suave);
  border-color:transparent;
  transform:translateX(4px);
}

.play-choice.correct{
  background:var(--verde-suave);
}

.play-choice.wrong{
  background:var(--rojo-suave);
}

.play-feedback{
  min-height:20px;
  margin-top:11px;
  text-align:center;
  font-size:10px;
  font-weight:800;
}

.play-feedback.good{
  color:#477657;
}

.play-feedback.bad{
  color:#a85a4e;
}

.play-progress{
  height:6px;
  margin-top:14px;
  overflow:hidden;
  border-radius:999px;
  background:var(--arena-claro);
}

.play-progress span{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--azul),var(--cafe));
  transition:.35s ease;
}

.order-board{
  display:grid;
  gap:9px;
  margin-top:13px;
}

.order-step{
  min-height:47px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 13px;
  border:1px solid rgba(44,69,101,.10);
  border-radius:15px;
  background:var(--crema-claro);
  color:var(--azul-profundo);
  font-size:10px;
  font-weight:700;
  cursor:pointer;
  transition:.22s ease;
}

.order-step:hover{
  background:var(--azul-suave);
  transform:translateX(3px);
}

.order-step.selected{
  border-color:var(--cafe);
  background:var(--crema-suave);
}

.flash-card{
  min-height:185px;
  display:grid;
  place-items:center;
  padding:25px;
  border:0;
  border-radius:27px;
  background:linear-gradient(145deg,#fffdf8,#e4edf2);
  box-shadow:var(--sombra);
  text-align:center;
  cursor:pointer;
  transition:.28s ease;
}

.flash-card:hover{
  transform:translateY(-5px);
}

.flash-card p{
  margin:0;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  line-height:1.45;
}

.flash-actions{
  display:flex;
  gap:9px;
  margin-top:11px;
}

.flash-actions div{
  flex:1;
  padding:11px 8px;
  border:1px solid rgba(44,69,101,.10);
  border-radius:14px;
  background:var(--crema-claro);
  color:var(--azul-profundo);
  font-size:9px;
  font-weight:800;
  text-align:center;
  cursor:pointer;
  transition:.22s ease;
}

.flash-actions div:hover{
  background:var(--azul-suave);
  transform:translateY(-3px);
}

.classify-columns{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:12px;
}

.classify-column{
  min-height:98px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:10px;
  border:1px dashed var(--azul-medio);
  border-radius:16px;
  background:rgba(255,253,248,.77);
  text-align:center;
  cursor:pointer;
  transition:.22s ease;
}

.classify-column:hover{
  background:var(--azul-suave);
  border-color:transparent;
  transform:translateY(-4px);
}

.classify-column strong{
  display:block;
  margin-bottom:5px;
  color:var(--azul-profundo);
  font-size:9px;
}

.classify-column small{
  color:var(--texto-suave);
  font-size:8px;
}

.game-finished{
  padding:20px 8px;
  text-align:center;
}

.game-finished .finish-icon{
  font-size:46px;
}

.game-finished h4{
  margin:8px 0;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;
  font-weight:500;
}

.game-finished p{
  margin:0;
  color:var(--texto-suave);
  font-size:10px;
}

.restart-game{
  display:inline-block;
  margin-top:13px;
  padding:8px 14px;
  border-radius:999px;
  background:var(--crema-suave);
  color:var(--cafe-oscuro);
  font-size:9px;
  font-weight:800;
  cursor:pointer;
  transition:.22s ease;
}

.restart-game:hover{
  background:var(--arena);
  transform:translateY(-3px);
}

.mini-sections{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:31px;
}

.mini-section{
  overflow:hidden;
  border:0;
  border-radius:27px;
  background:rgba(255,253,248,.85);
  box-shadow:var(--sombra);
  transition:.3s ease;
}

.mini-section:nth-child(1){
  transform:rotate(-.3deg);
}

.mini-section:nth-child(2){
  transform:rotate(.3deg);
}

.mini-section:nth-child(3){
  transform:translateY(5px) rotate(.2deg);
}

.mini-section:nth-child(4){
  transform:translateY(-5px) rotate(-.2deg);
}

.mini-section:hover{
  transform:translateY(-5px) rotate(0);
  box-shadow:var(--sombra-media);
}

.mini-section summary{
  display:flex;
  align-items:center;
  gap:12px;
  padding:21px 23px;
  list-style:none;
  color:var(--azul-profundo);
  font-family:Georgia,"Times New Roman",serif;
  font-size:19px;
  cursor:pointer;
}

.mini-section summary::-webkit-details-marker{
  display:none;
}

.mini-section summary::after{
  content:"+";
  width:32px;
  height:32px;
  flex:0 0 32px;
  margin-left:auto;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--azul-suave);
  color:var(--azul-profundo);
  font-family:Arial,sans-serif;
  transition:.25s ease;
}

.mini-section[open] summary::after{
  content:"−";
  background:var(--arena);
}

.mini-section summary span{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:var(--azul-profundo);
  color:#dfd0ae;
  font-family:Arial,sans-serif;
  font-size:10px;
}

.mini-content{
  padding:0 23px 22px;
  color:var(--texto-suave);
  font-size:11px;
}

.mini-content p:last-child{
  margin-bottom:0;
}

@media(max-width:1100px){
  .hero-grid{
    gap:42px;
  }

  .method-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .method-card:nth-child(n){
    transform:none;
  }

  .games-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .hero-grid,
  .intro-grid,
  .split-grid,
  .justification-layout{
    grid-template-columns:1fr;
  }

  .hero-side{
    min-height:390px;
  }

  .side-card,
  .quote-card{
    position:relative;
    top:auto;
  }

  .games-grid,
  .games-play-grid{
    grid-template-columns:1fr!important;
  }

  .games-grid .game-card,
  .games-play-grid .play-game{
    transform:none;
  }

  .results-highlight{
    grid-template-columns:1fr;
  }

  .figure-grid.three{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .stat-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .references-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  header{
    width:calc(100% - 14px);
    margin-top:7px;
    top:7px;
    padding:9px 13px;
    border-radius:24px;
    flex-direction:column;
  }

  .logo{
    width:100%;
  }

  header nav{
    width:100%;
    justify-content:flex-start;
  }

  main>section{
    padding:72px 5%;
  }

  .hero{
    min-height:auto;
    padding-top:82px;
    padding-bottom:82px;
    border-radius:0 0 43px 43px;
  }

  .hero h1{
    font-size:43px;
    letter-spacing:-2px;
  }

  .hero h1 span{
    font-size:.66em;
    letter-spacing:-1px;
  }

  .hero-meta,
  .method-grid,
  .figure-grid,
  .figure-grid.three,
  .stat-strip,
  .mini-sections{
    grid-template-columns:1fr!important;
  }

  .method-card:nth-child(n){
    transform:none;
  }

  .mini-section:nth-child(n){
    transform:none;
  }

  .section-heading{
    gap:12px;
    margin-bottom:32px;
  }

  .section-number{
    min-width:40px;
    font-size:15px;
  }

  .section-heading h2{
    font-size:clamp(36px,10vw,50px)!important;
    letter-spacing:-2px!important;
  }

  .paragraph-box{
    padding:23px!important;
    border-radius:23px!important;
  }

  .question-card{
    padding:44px 24px;
    border-radius:30px;
    transform:none;
  }

  .question-card::before{
    font-size:125px;
  }

  .timeline-item{
    grid-template-columns:46px minmax(0,1fr);
    gap:12px;
  }

  .timeline-dot{
    width:46px;
    height:46px;
  }

  .timeline::before{
    left:21px;
  }

  .timeline-content:hover{
    transform:none;
  }

  .play-game,
  .game-card{
    padding:22px!important;
    border-radius:27px!important;
  }

  .play-top{
    grid-template-columns:auto 1fr auto;
  }

  .classify-columns{
    grid-template-columns:1fr;
  }

  .game-window{
    padding:29px 18px;
    border-radius:27px;
  }

  .site-footer{
    border-radius:42px 42px 0 0;
  }
}

@media(max-width:500px){
  .logo img{
    width:51px;
    height:51px;
  }

  .nav-principal a,
  header nav a{
    padding:7px 9px!important;
    font-size:10px;
  }

  .hero-art{
    max-width:350px;
    border-radius:35px;
  }

  .math-stack{
    inset:22px;
  }

  .math-tile{
    border-radius:24px;
    font-size:50px;
  }

  .meta-card{
    padding:13px 14px;
  }

  .quote-card{
    padding:29px;
  }

  .quote-card p{
    font-size:18px;
  }

  .objective-main{
    padding:29px!important;
    border-radius:28px!important;
    transform:none;
  }

  .objective-main h3{
    font-size:21px;
  }

  .figure-placeholder{
    min-height:215px;
  }

  .game-card p{
    min-height:auto;
  }

  .game-card h3{
    font-size:22px;
  }

  .play-top h3{
    font-size:19px;
  }

  .game-card-question{
    font-size:15px;
  }

  .flash-card{
    min-height:165px;
  }

  .flash-card p{
    font-size:17px;
  }

  .flash-actions{
    flex-direction:column;
  }
}
#discusion .mini-content p{
    font-size:16px;
    line-height:1.8;
}

#discusion .mini-section summary{
    font-size:19px;
}

#discusion .mini-section summary span{
    font-size:11px;
}
#discusion .section-heading h2{
    font-size:clamp(42px,5.5vw,68px);
}

#discusion .section-label{
    font-size:11px;
}

#discusion .section-number{
    font-size:20px;
}

#discusion .mini-section summary{
    font-size:20px;
    padding:20px 22px;
}

#discusion .mini-content{
    padding:0 24px 24px;
}

#discusion .mini-content p{
    font-size:17px;
    line-height:1.85;
}

#discusion .paragraph-box{
    padding:27px 30px;
}

#discusion .mini-section summary span{
    width:34px;
    height:34px;
    font-size:11px;
}
p,
.paragraph-box p,
.mini-content p,
.figure-caption,
.table-note,
.reference-card p,
.activity-card p,
.result-card p,
.method-card span,
.side-card p,
.quote-card p{
    font-size:17px;
    line-height:1.8;
}
.hero-grid{
  display:block;
}

.hero h1{
  width:100%;
  max-width:none;
  margin:0 0 30px;
  font-size:clamp(52px,7vw,94px);
  line-height:.98;
}

.hero .section-inner{
  width:calc(100% - 110px);
  max-width:none;
  margin:0 auto;
}
body{
  font-family:"Inter","Segoe UI",Arial,sans-serif;
  color:var(--texto);
}

.hero h1,
.section-heading h2{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  letter-spacing:-1.5px;
}

.hero h1{
  line-height:1;
}

.section-heading h2{
  line-height:1.05;
}

p,
.paragraph-box p,
.mini-content p,
.figure-caption,
.table-note,
.reference-card p,
.activity-card p,
.result-card p,
.side-card p,
.quote-card p{
  font-family:"Inter","Segoe UI",Arial,sans-serif;
  font-size:17px;
  line-height:1.75;
  font-weight:400;
}

.section-label,
.method-card span{
  font-family:"Inter","Segoe UI",Arial,sans-serif;
}

.section-label{
  font-weight:700;
  letter-spacing:1.5px;
}

.evidencias-wide{
  width:calc(100% - 80px);
  max-width:1500px;
  margin:0 auto;
}

.evidencias-wide .section-heading{
  width:100%;
  max-width:none;
}

.evidencias-intro{
  margin:25px 0 35px;
  padding:24px 28px;
  border-radius:22px;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(99,75,56,.10);
}

.evidencias-intro span{
  display:block;
  margin-bottom:8px;
  color:var(--cafe);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:2px;
}

.evidencias-intro p{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.6;
}

.evidencias-intro small{
  font-size:14px;
  color:var(--texto-suave);
}

.evidencias-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  width:100%;
}

.evidencia-card{
  margin:0;
  padding:16px;
  border-radius:26px;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(99,75,56,.10);
  box-shadow:0 12px 30px rgba(68,61,52,.08);
  transition:.3s ease;
}

.evidencia-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 38px rgba(68,61,52,.13);
}

.evidencia-numero{
  margin:3px 4px 13px;
  color:var(--cafe);
  font-size:11px;
  font-weight:800;
  letter-spacing:1.8px;
}

.evidencia-card img{
  display:block;
  width:100%;
  height:390px;
  object-fit:cover;
  border-radius:18px;
  background:#eee7d8;
}

.evidencia-card figcaption{
  padding:14px 5px 3px;
  color:var(--texto-suave);
  font-size:15px;
  line-height:1.55;
}

@media(max-width:800px){
  .evidencias-wide{
    width:calc(100% - 32px);
  }

  .evidencias-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
  width:100%;
}
  .evidencia-card img{
  display:block;
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:18px;
}
}
#evidencias .section-inner{
  width:calc(100% - 220px);
  max-width:none;
  margin-left:220px;
  margin-right:0;
  padding:0 35px 0 20px;
}
#evidencias .section-heading{
  width:100%;
  max-width:none;
}

#evidencias .paragraph-box{
  width:100%;
  max-width:none;
}

#evidencias .figure-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:22px;
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}

.math-background {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.math-icon {
    position: absolute;
    display: block;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1;

    color: #263b59;
    opacity: 0.10;

    user-select: none;
    pointer-events: none;

    animation: mathFloat 7s ease-in-out infinite;
}


.m1  { left:  4%; top:  8%; font-size: 125px; transform: rotate(-12deg); }
.m2  { left: 27%; top: 28%; font-size: 105px; transform: rotate(10deg); }
.m3  { right:  5%; top:  7%; font-size: 140px; transform: rotate(-8deg); }
.m4  { left:  7%; top: 67%; font-size: 145px; transform: rotate(12deg); }
.m5  { right: 24%; top: 43%; font-size: 125px; transform: rotate(-14deg); }
.m6  { right:  3%; top: 73%; font-size: 135px; transform: rotate(9deg); }
.m7  { left: 42%; top: 11%; font-size: 90px;  transform: rotate(-7deg); }
.m8  { left: 56%; top: 72%; font-size: 105px; transform: rotate(8deg); }
.m9  { right: 39%; top: 23%; font-size: 90px;  transform: rotate(-10deg); }
.m10 { left: 14%; top: 43%; font-size: 85px;  transform: rotate(11deg); }
.m11 { right: 13%; top: 33%; font-size: 80px;  transform: rotate(-8deg); }
.m12 { left: 34%; top: 81%; font-size: 95px;  transform: rotate(10deg); }
.m13 { right: 43%; top: 59%; font-size: 75px;  transform: rotate(-12deg); }
.m14 { left: 72%; top: 86%; font-size: 85px;  transform: rotate(8deg); }
.m15 { left:  2%; top: 31%; font-size: 80px;  transform: rotate(-10deg); }
.m16 { right:  2%; top: 53%; font-size: 105px; transform: rotate(12deg); }
.m17 { left: 76%; top: 19%; font-size: 105px; transform: rotate(-8deg); }
.m18 { left: 46%; top: 51%; font-size: 85px;  transform: rotate(10deg); }
.m19 { right: 29%; top: 84%; font-size: 90px;  transform: rotate(-9deg); }
.m20 { left: 61%; top:  4%; font-size: 85px;  transform: rotate(12deg); }



@keyframes mathFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -14px;
    }
}


header {
    position: sticky;
    z-index: 5000;
}


main {
    position: relative;
    z-index: 1;
}

footer {
    position: relative;
    z-index: 1;
}


main > section {
    position: relative;
    z-index: 1;
}

.hero {
    background:
        radial-gradient(
            circle at 85% 16%,
            rgba(197,215,228,.55),
            transparent 24%
        ),
        radial-gradient(
            circle at 8% 78%,
            rgba(213,197,167,.30),
            transparent 21%
        ),
        linear-gradient(
            135deg,
            rgba(255,253,248,.94),
            rgba(247,240,228,.90),
            rgba(227,237,242,.88)
        ) !important;
}


.section-light {
    background:
        radial-gradient(
            circle at 94% 9%,
            rgba(216,228,236,.45),
            transparent 22%
        ),
        rgba(255,250,241,.88) !important;
}


.section-warm {
    background:
        radial-gradient(
            circle at 5% 88%,
            rgba(203,184,152,.20),
            transparent 22%
        ),
        rgba(248, 241, 229, 0.329) !important;
}

.games-section {
    background:
        radial-gradient(
            circle at 8% 16%,
            rgba(213, 197, 167, 0.123),
            transparent 21%
        ),
        radial-gradient(
            circle at 93% 82%,
            rgba(197, 215, 228, 0.144),
            transparent 26%
        ),
        hsla(41, 100%, 94%, 0.26) !important;
}


@media (max-width:700px) {

    .math-icon {
        opacity: .065;
    }

    .math-icon {
        font-size: 65px !important;
    }

    .m1,
    .m6,
    .m11,
    .m17 {
        display: none;
    }
}
/* =====================================================
   HERO — MÁS VISUAL, CÁLIDO Y EDUCATIVO
   ===================================================== */

.hero {
    position: relative;
    min-height: 850px;
    overflow: hidden;

    background:
        radial-gradient(circle at 78% 18%, rgba(184,202,216,.38), transparent 22%),
        radial-gradient(circle at 15% 82%, rgba(203,184,152,.30), transparent 25%),
        linear-gradient(135deg, #fffaf1 0%, #f5eee1 52%, #e8eef1 100%) !important;
}

/* manchas decorativas */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    width: 430px;
    height: 430px;
    right: -120px;
    top: 80px;
    background: rgba(129,152,173,.10);
}

.hero::after {
    width: 300px;
    height: 300px;
    left: -130px;
    bottom: -80px;
    background: rgba(203,184,152,.12);
}

/* contenido por encima de las decoraciones */
.hero > * {
    position: relative;
    z-index: 2;
}

/* TÍTULO */
.hero h1 {
    font-size: clamp(52px, 6vw, 82px);
    line-height: .94;
    letter-spacing: -3px;
    max-width: 850px;
    margin-bottom: 18px;
}

/* SUBTÍTULO */
.hero h2,
.hero .subtitle {
    max-width: 780px;
    font-size: clamp(25px, 3vw, 42px);
    line-height: 1.05;
    color: var(--azul);
}

/* TARJETAS DE INFORMACIÓN */
.hero .info-card,
.hero .meta-card,
.hero .hero-card {
    background: rgba(255,255,255,.72) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 15px 40px rgba(57,70,84,.09);
    transition: transform .3s ease, box-shadow .3s ease;
}

.hero .info-card:hover,
.hero .meta-card:hover,
.hero .hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(57,70,84,.14);
}

/* MÁS PROTAGONISMO AL BLOQUE MATEMÁTICO */
.hero .math-card,
.hero .math-visual {
    transform: scale(1.08);
    filter: drop-shadow(0 20px 30px rgba(57,70,84,.12));
}

/*  DEL FONDO MÁS VISIBLES SOLO EN HERO */
.hero ~ .math-background .math-icon,
.math-background .math-icon {
    opacity: .14;
}

/* pequeño   */
.hero .eyebrow {
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 700;
    color: var(--cafe);
}
.hero,
.hero-section,
#inicio {
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero-section::before,
#inicio::before {
    content: "";
    position: absolute;

    top: 35px;
    left: 0;
    width: 100%;
    height: 150px;

    background: #d8c9aa;

    border-radius: 0;

    z-index: 0;
}

.hero > *,
.hero-section > *,
#inicio > * {
    position: relative;
    z-index: 1;
}
/* =====================================================
   FRANJA BEIGE — ENCUADRE PERFECTO DEL TÍTULO
   ===================================================== */

.hero{
    position:relative;
    overflow:hidden;
}

/* Rectángulo beige detrás del título */
/* =====================================================
   FRANJA BEIGE COMPLETA DETRÁS DEL TÍTULO
   ===================================================== */

.hero,
.hero-section,
#inicio{
    position:relative;
    overflow:hidden;
}
/* =====================================================
   FRANJA BEIGE — SOLO DETRÁS DEL TÍTULO
   ===================================================== */

/* =====================================================
   FRANJA BEIGE SOLO DETRÁS DEL TÍTULO
   ===================================================== */


/* Todo el contenido por encima */
.hero-grid {
    position: relative;
    z-index: 5;
}

/* Título */
.hero h1 {
    position: relative;
    z-index: 6;
}

/* Contenido por encima */
.hero > *,
.hero-section > *,
#inicio > * {
    position: relative;
    z-index: 2;
}

/* Título */
.hero h1 {
    position: relative;
    z-index: 3;
    margin-top: 10px;
    transform: translateY(-10px);
  font-size:clamp(68px,9vw,120px)!important;
  letter-spacing:-3px!important;
  line-height:.96!important;
}

/* ELIMINAR RECTÁNGULO BEIGE SUPERIOR DEL HERO */
.hero {
    background: none !important;
}
.hero::before,
.hero-section::before,
#inicio::before {
    display: none !important;
}
.hero .section-inner{
  width:calc(100% - 60px)!important;
  max-width:1500px!important;
}

.hero h1{
  max-width:none!important;
  width:100%;
}

.hero-meta{
  max-width:1100px!important;
}
main {
    zoom: 92%;
    margin-left: 70px;
    width: calc(100% - 70px);
}