/* Avanzza Plataforma · giros.css (/giros/)
   Cada giro es un mundo oscuro con su propio acento: --accent se redefine dentro de .world, así nunca
   conviven dos acentos en pantalla. Fuera de los mundos manda el teal de marca. */

/* ------------------------------------------------------------------- hero */
.gh { position: relative; overflow: clip; min-height: 100dvh; padding-top: calc(var(--nav-h) + 14px + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(3rem, 6vw, 5rem); display: grid; align-items: center; }
.gh__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.gh__copy { position: relative; z-index: 3; display: grid; justify-items: start; gap: var(--s-5); }
.gh__title { font-size: clamp(3rem, 6.2vw, 6.25rem); line-height: .98; letter-spacing: -.04em; font-weight: 500; max-width: 9.5ch; }
.gh__title .word { display: inline-block; will-change: transform; }
.gh__sub { max-width: 44ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--text-2); text-wrap: pretty; }
.gh__ctas { margin-top: var(--s-2); }
.gh__stage { position: relative; min-height: clamp(26rem, 46vw, 40rem); }
.portal--gh { left: 50%; top: 96%; width: min(980px, 110vw); }

.fan--hero {
  --card-w: clamp(11rem, 18.5vw, 17rem); --spread: clamp(5.5rem, 10.5vw, 9.75rem); --drop: clamp(.8rem, 1.5vw, 1.4rem); --tilt: 8deg;
  position: absolute; inset: 0; font-size: clamp(.8rem, 1.15vw, 1.0625rem);
}
.fan--hero .fan__slot { display: block; }
.fan--hero .appcard { box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 40px 80px -30px rgb(0 0 0 / .75); }
.fan--hero .appcard > i { font-size: 2.4em; }
.fan--hero .appcard > b { display: grid; font-size: 1.5em; line-height: 1.15; }
.fan--hero .appcard > b small { font-size: .55em; font-weight: 400; letter-spacing: 0; opacity: .72; }
.fan__slot:hover { z-index: 9; }
.fan__slot:hover .appcard, .fan__slot:focus-visible .appcard { transform: translateY(-1.2em) scale(1.04); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 50px 90px -30px var(--w); }
.js-anim [data-fan] .appcard { opacity: 0; }

/* ----------------------------------------------------------------- mundos */
.world {
  --bg: var(--wbg); --surface: color-mix(in srgb, var(--w) 8%, var(--wbg)); --surface-2: color-mix(in srgb, var(--w) 16%, var(--wbg));
  --text: #f6f3ef; --text-2: rgb(246 243 239 / .76); --text-3: rgb(246 243 239 / .6);
  --accent: var(--w); --on-accent: #120b08; --glow: color-mix(in srgb, var(--w) 45%, transparent);
  --line: rgb(255 255 255 / .1); --line-2: rgb(255 255 255 / .2);
  color-scheme: dark;
  position: relative; isolation: isolate; overflow: clip;
  display: grid; align-items: center;
  min-height: 100dvh;
  padding-block: calc(var(--nav-h) + 30px) 6rem; /* abajo deja libre la navegación de capítulos */
  border-radius: clamp(28px, 3.4vw, 48px) clamp(28px, 3.4vw, 48px) 0 0;
  background: var(--wbg); color: var(--text);
  box-shadow: 0 -30px 80px -30px rgb(0 0 0 / .6);
}
[data-theme="light"] .world:first-child { box-shadow: none; }
.world:nth-child(1) { z-index: 1; } .world:nth-child(2) { z-index: 2; } .world:nth-child(3) { z-index: 3; } .world:nth-child(4) { z-index: 4; }
.world__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.world__bg::before { content: ""; position: absolute; width: 90vmax; height: 90vmax; left: 62%; top: 40%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--w) 26%, transparent), transparent 72%); }
.world--flip .world__bg::before { left: 30%; }
.world--mesa .world__bg::after { content: ""; position: absolute; right: -12vmax; bottom: -22vmax; width: 66vmax; height: 66vmax; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 5.4vmax, color-mix(in srgb, var(--w) 16%, transparent) 5.4vmax calc(5.4vmax + 1px)); }
.world--salon .world__bg::after { content: ""; position: absolute; left: -14vmax; top: -20vmax; width: 60vmax; height: 60vmax; border-radius: 42% 58% 50% 50%; border: 1px solid color-mix(in srgb, var(--w) 26%, transparent); box-shadow: 0 0 0 5vmax color-mix(in srgb, var(--w) 4%, transparent), 0 0 0 10vmax color-mix(in srgb, var(--w) 3%, transparent); }
.world--legal .world__bg::after { content: ""; position: absolute; inset: 0 -2% 0 auto; width: 52%; opacity: .5; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--w) 12%, transparent) 0 1px, transparent 1px 7.5vw); -webkit-mask: linear-gradient(to left, #000, transparent); mask: linear-gradient(to left, #000, transparent); }

.world__inner { position: relative; will-change: transform; transform-origin: 50% 0; }
.world__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .9375rem; color: var(--text-2); }
.world__top .mono { margin-right: .6rem; color: var(--accent); }
.world__top p:last-child .mono { margin-right: 0; }
.world__title {
  margin-top: .1em;
  font-size: clamp(3.25rem, min(11.2vw, 19vh), 10.75rem); line-height: .98; letter-spacing: -.05em; font-weight: 500;
  background: linear-gradient(100deg, var(--w-soft) 10%, var(--w) 62%, color-mix(in srgb, var(--w) 72%, var(--w-deep)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.world__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: clamp(.5rem, 1.5vw, 1.25rem); }
.world--flip .world__copy { order: 2; }
.world__copy { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); }
.world__promise { max-width: 24ch; font-size: clamp(1.375rem, 2.3vw, 1.875rem); line-height: 1.2; letter-spacing: -.022em; font-weight: 500; text-wrap: balance; }
.world__list { display: grid; gap: .7rem; }
.world__list li { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.world__list i { font-size: 1.4rem; line-height: 1.25; color: var(--accent); }
.world__list span { color: var(--text-2); font-size: .9688rem; line-height: 1.4; }
.world__list b { display: block; font-weight: 500; color: var(--text); }
.world__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; }
.world__math { flex: 1 1 15rem; font-size: .9375rem; line-height: 1.35; color: var(--text); }

.world__toy { position: relative; min-width: 0; }
.toy__hint { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .7rem; font-size: .875rem; color: var(--accent); }
.toy__hint i { font-size: 1.05rem; }
.toy { position: relative; }

/* chips compartidos */
.chips { position: relative; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips button { min-height: 44px; padding: 0 1.15rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: .9375rem; color: var(--text-2); transition: color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease), transform var(--t-micro) var(--ease); }
.chips button:hover { color: var(--text); border-color: var(--accent); }
.chips button:active { transform: scale(.97); }
.chips button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 500; }

/* ----------------------------------------------------------- toy: Mesa */
.toy--mesa { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.pm { padding: 1.1rem; border-radius: 30px; background: linear-gradient(170deg, #fffaf3, #f7e9d8); color: #24140a; box-shadow: inset 0 1px 0 #fff, 0 40px 90px -36px color-mix(in srgb, var(--w) 70%, #000); }
.pm__head { display: flex; justify-content: space-between; align-items: baseline; padding: .1rem .35rem .6rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.pm__head .mono { font-size: .8125rem; font-weight: 400; color: #7a5a44; }
.pm__list { display: grid; gap: .45rem; }
.pm__list li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .45rem .5rem .45rem .45rem; border-radius: 18px; background: #fff; box-shadow: 0 8px 18px -14px rgb(90 50 20 / .5); }
.pm__dish { font-size: .9375rem; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.pm__dish small { display: block; font-size: .75rem; font-weight: 400; letter-spacing: 0; color: #7a5a44; }
.pm__list button { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0 .4rem 0 .7rem; border-radius: var(--r-pill); background: #24140a; color: #fff5e9; font-size: .8125rem; transition: transform var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease); }
.pm__list button i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--w); color: #24140a; font-size: .85rem; }
.pm__list button:hover { background: #47290f; }
.pm__list button:active { transform: scale(.94); }
.pm__list button:focus-visible { outline-color: #24140a; }
.plate { position: relative; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle, #fff 56%, #efe4d6 58%, #fff 72%, #e9dccb 100%); box-shadow: 0 6px 10px -6px rgb(90 50 20 / .5); }
.plate::after { content: ""; position: absolute; inset: 27%; border-radius: 46% 54% 52% 48%; }
.plate--a::after { background: radial-gradient(circle at 35% 35%, #ffd27a, #e08a2e 60%, #8f4d17); }
.plate--b::after { background: radial-gradient(circle at 40% 30%, #ffb0a0, #e45c4a 45%, #2f8f5b 90%); }
.plate--c::after { background: radial-gradient(circle at 60% 40%, #ffe9a8, #f0b43c 55%, #d2612c); }
.plate--d::after { background: radial-gradient(circle at 50% 40%, #fff2c9, #eeb95a 60%, #8a4a12); border-radius: 50%; }

.slip { position: relative; padding: 1.1rem 1rem 1.6rem; color: #24140a; background: #fffaf3; filter: drop-shadow(0 26px 40px rgb(0 0 0 / .45));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom / 18px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom / 18px 10px repeat-x;
  border-radius: 16px 16px 0 0;
}
.slip__h { font-weight: 500; letter-spacing: -.01em; margin-bottom: .5rem; }
.slip__lines { display: grid; gap: .3rem; min-height: 6.4rem; align-content: start; font-size: .8438rem; }
.slip__lines li { display: flex; justify-content: space-between; gap: .75rem; padding-bottom: .3rem; border-bottom: 1px dashed #dcc8b2; animation: lineIn .4s var(--ease) both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(-6px); } }
.slip__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .6rem; font-size: .875rem; }
.slip__total b { font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 1.625rem; letter-spacing: -.03em; font-weight: 500; }
.slip__send { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: 44px; margin-top: .55rem; border-radius: var(--r-pill); background: #1f8f5f; color: #fff; font-size: .875rem; font-weight: 500; transition: transform var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease); }
.slip__send:hover { background: #17784f; }
.slip__send:active { transform: scale(.97); }
.slip__send:disabled { background: #d9c8b4; color: #7a5a44; cursor: default; }
.slip__send.is-sent { background: #24140a; color: #fff5e9; }

/* ---------------------------------------------------------- toy: Salón */
.toy--salon { display: grid; gap: 1rem; padding: clamp(1rem, 2vw, 1.5rem); border-radius: var(--r-block); background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 40px 90px -40px var(--glow); }
.orbitline svg { width: 100%; height: auto; overflow: visible; }
.orbitline .tick { fill: var(--text-3); opacity: .55; }
.orbitline .visit { fill: var(--accent); }
.orbitline .visit--now { fill: var(--text); }
.orbitline .arc { fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.orbitline text { fill: var(--text-2); font-family: var(--mono); font-size: 15px; }
.orbitline__label { font-size: .9375rem; color: var(--text-2); }
.orbitline__label b { font-weight: 500; color: var(--accent); }
.wmsg { display: grid; gap: .55rem; padding: 1rem; border-radius: 20px; background: rgb(255 255 255 / .05); }
.wmsg__head { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--text-3); }
.wmsg__head i { font-size: 1.05rem; color: #52d28f; }
.wmsg__bubble { justify-self: start; max-width: 34ch; padding: .65rem .85rem; border-radius: 4px 16px 16px 16px; background: #1f8f5f; color: #fff; font-size: .9375rem; line-height: 1.35; }
.wmsg__reply { justify-self: end; }
.wmsg__reply button { min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill); background: #fff; color: #24140a; font-size: .875rem; font-weight: 500; transition: transform var(--t-micro) var(--ease); }
.wmsg__reply button:hover { transform: translateY(-1px); }
.wmsg__reply button:active { transform: scale(.97); }
.wmsg__ok { justify-self: end; display: flex; align-items: center; gap: .4rem; font-size: .875rem; color: var(--accent); }
.wmsg__ok[hidden] { display: none; }

/* -------------------------------------------------------- toy: Clínica */
.toy--clinica { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: center; }
.paper { display: grid; gap: .55rem; padding: 1.35rem; border-radius: 22px; background: #fbfdff; color: #0c2133; box-shadow: 0 40px 90px -36px color-mix(in srgb, var(--w) 70%, #000); }
.paper__h { font-size: 1.125rem; font-weight: 500; letter-spacing: -.015em; }
.paper__who { font-size: .8438rem; color: #4b6578; }
.paper__lines { display: grid; gap: .4rem; margin-block: .25rem; }
.paper__lines i { height: 7px; border-radius: 7px; background: #e3edf3; }
.paper__lines i:nth-child(2) { width: 92%; } .paper__lines i:nth-child(4) { width: 64%; }
.paper__sign { position: relative; height: 74px; border-bottom: 1.5px solid #0c2133; }
.paper__sign svg { position: absolute; left: 0; bottom: 2px; width: 100%; height: 66px; }
.sig { fill: none; stroke: #1f64ad; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.paper__x { position: absolute; left: 0; bottom: 6px; font-size: .8125rem; color: #6f8799; transition: opacity var(--t-micro) var(--ease); }
.toy--clinica.is-signed .paper__x { opacity: 0; }
.paper__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; margin-top: .25rem; border-radius: var(--r-pill); background: #0c2133; color: #fff; font-size: .9063rem; font-weight: 500; transition: transform var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease); }
.paper__btn:hover { background: #16405f; }
.paper__btn:active { transform: scale(.97); }
.paper__btn:focus-visible { outline-color: #0c2133; }
.course { display: grid; justify-items: center; gap: .75rem; text-align: center; }
.course-ring { position: relative; width: min(100%, 15rem); aspect-ratio: 1; }
.course-ring svg { width: 100%; height: 100%; }
.course-ring path { fill: none; stroke-width: 14; stroke-linecap: round; stroke: rgb(255 255 255 / .12); transition: stroke .6s var(--ease), filter .6s var(--ease); }
.course-ring path.is-on { stroke: var(--accent); filter: drop-shadow(0 0 8px var(--glow)); }
.course-ring__c { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1; }
.course-ring__c b { font-family: var(--font); font-variant-numeric: tabular-nums; font-size: clamp(3rem, 5.4vw, 4.5rem); letter-spacing: -.05em; font-weight: 500; }
.course-ring__c small { margin-top: .35rem; font-size: .875rem; color: var(--text-2); }
.course__next { font-size: .9375rem; color: var(--text-2); }

/* ---------------------------------------------------------- toy: Legal */
.toy--legal { display: grid; gap: .9rem; perspective: 1400px; }
.chips--2 button { flex: 1 1 11rem; }
.flip { position: relative; display: grid; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip.is-client { transform: rotateY(180deg); }
.flip__face { grid-area: 1 / 1; display: grid; align-content: start; gap: 1.1rem; padding: clamp(1.1rem, 2.4vw, 1.75rem); border-radius: var(--r-block); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip__face--front { background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 40px 90px -40px var(--glow); }
.flip__face--back { transform: rotateY(180deg); background: linear-gradient(165deg, var(--w-soft), #fff8e8); color: #1a1408; box-shadow: 0 40px 90px -40px var(--glow); }
.case__h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.case__tag { padding: .2rem .7rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--text-2); }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); font-size: .8438rem; color: var(--text-3); }
.stages li { position: relative; display: grid; gap: .55rem; }
.stages li::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: var(--line-2); }
.stages li:last-child::before { display: none; }
.stages .is-done::before { background: var(--accent); }
.stages span { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-2); }
.stages .is-done, .stages .is-now { color: var(--text); }
.stages .is-done span { background: var(--accent); }
.stages .is-now span { background: var(--wbg); box-shadow: inset 0 0 0 4px var(--accent), 0 0 0 6px var(--glow); }
.case__rows { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.case__rows li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 14px; background: rgb(255 255 255 / .05); font-size: .9063rem; line-height: 1.3; }
.case__rows i { font-size: 1.3rem; color: var(--accent); }
.case__rows small { display: block; font-size: .8125rem; color: var(--text-3); }
.portal-hi { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; }
.portal-state { max-width: 32ch; font-size: 1.125rem; line-height: 1.35; color: #3f3620; }
.portal-state b { font-weight: 500; color: #1a1408; }
.portal-date { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; }
.portal-date i { font-size: 1.25rem; }
.portal-doc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; border-radius: 16px; background: rgb(255 255 255 / .7); font-size: .9375rem; }
.portal-doc.is-done { background: #e8f5e9; color: #14532d; }
.portal-doc button { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill); background: #1a1408; color: #fff8e8; font-size: .875rem; font-weight: 500; transition: transform var(--t-micro) var(--ease); }
.portal-doc button:active { transform: scale(.96); }
.portal-doc button:focus-visible { outline-color: #1a1408; }

/* ------------------------------------------------------------ capítulos */
.chapters {
  position: fixed; left: 50%; bottom: 16px; z-index: 70; translate: -50% 0;
  display: flex; gap: 2px; padding: 4px; border-radius: var(--r-pill);
  background: rgb(10 10 12 / .72); border: 1px solid rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--t-ui) var(--ease), transform var(--t-ui) var(--ease), visibility 0s linear var(--t-ui);
}
.chapters.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-ui) var(--ease), transform var(--t-ui) var(--ease); }
.chapters a { display: grid; place-items: center; min-height: 40px; padding: 0 1rem; border-radius: var(--r-pill); font-size: .875rem; color: rgb(246 243 239 / .72); transition: color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease); }
.chapters a:hover { color: #fff; }
.chapters a.is-current { background: var(--w); color: #120b08; font-weight: 500; }

/* ---------------------------------------------------------------- suma */
.fit { position: relative; z-index: 6; background: var(--bg); border-radius: clamp(28px, 3.4vw, 48px) clamp(28px, 3.4vw, 48px) 0 0; }
.fit__title { max-width: 16ch; font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; }
.fit__math { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.75rem, 2.5vw, 2.25rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.fit__math > i { font-size: clamp(1.5rem, 3vw, 2.5rem); color: var(--text-3); }
.fit__n { display: grid; }
.fit__br { display: none; }
.fit__n b { font-size: clamp(3rem, 8vw, 7.5rem); line-height: 1; letter-spacing: -.05em; font-weight: 500; font-variant-numeric: tabular-nums; }
.fit__n small { margin-top: .4rem; font-size: .9375rem; color: var(--text-2); }
.fit__n--total b { color: var(--accent); }
.fit__other { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-block); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--rim); }
.fit__other h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.fit__other p { color: var(--text-2); }
.fit__note { margin-top: var(--s-5); max-width: 90ch; font-size: .8125rem; color: var(--text-3); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .toy--mesa { grid-template-columns: minmax(0, 1fr); }
  .slip__lines { min-height: 3.2rem; }
}
@media (max-width: 900px) {
  .gh { min-height: 0; }
  .gh__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .gh__stage { min-height: clamp(20rem, 62vw, 30rem); }
  .fan--hero { --card-w: clamp(9.5rem, 30vw, 15rem); --spread: clamp(4rem, 17vw, 9rem); font-size: clamp(.72rem, 2vw, 1rem); }
  .portal--gh { top: 88%; }
  .world { min-height: 0; padding-block: calc(var(--nav-h) + 2.25rem) clamp(3.5rem, 8vw, 5rem); box-shadow: none; }
  .world__grid { grid-template-columns: minmax(0, 1fr); }
  .world--flip .world__copy { order: 0; }
  .world__promise { max-width: 28ch; }
  .toy--mesa { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .chapters { display: none; }
}
@media (max-width: 620px) {
  .gh__stage { min-height: clamp(15rem, 68vw, 22rem); }
  .fan--hero { --card-w: 33vw; --spread: 14.5vw; font-size: clamp(.6rem, 2.5vw, .8rem); }
  .fit__br { display: block; flex-basis: 100%; height: 0; }
  .toy--mesa, .toy--clinica { grid-template-columns: minmax(0, 1fr); }
  .case__rows { grid-template-columns: 1fr; }
  .world__top { font-size: .875rem; }
  .fit__math { gap: .6rem .9rem; }
  .fit__other .btn { width: 100%; justify-content: space-between; }
}
/* Laptops bajas: cada mundo cabe completo en pantalla mientras se queda fijo */
@media (min-width: 901px) and (max-height: 800px) {
  .world { padding-block: calc(var(--nav-h) + 22px) 5rem; }
  .world__title { font-size: clamp(3.25rem, 14vh, 7rem); }
}
@media (prefers-reduced-motion: reduce) {
  .world__inner { will-change: auto; }
}
