/* =========================================================
   Catas & Talleres — Editorial claro y dinámico
   ========================================================= */
:root {
  --paper: #F4F1EC;
  --paper-2: #EAE4DA;
  --white: #FFFFFF;
  --ink: #141312;
  --ink-2: #1E1C1A;
  --muted: #6E6862;
  --line: rgba(20, 19, 18, .14);
  --copper: #A8742F;
  --fire: #FF5A1F;
  --fire-2: #E8430A;
  --uv: #7B4DFF;

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 78px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16.5px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; }
main { overflow-x: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 3px; }
::selection { background: var(--fire); color: var(--white); }

/* ---------- Tipografía expresiva ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display); font-weight: 400; line-height: 1.02; margin: 0 0 .45em;
  letter-spacing: -.025em; font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.015em; }
h1 em, h2 em, h3 em, .logo em, .footer-wordmark em {
  font-style: italic; font-weight: 300; color: var(--fire);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
p em { font-style: italic; }

.container { width: min(1320px, 100% - 32px); margin-inline: auto; position: relative; }
@media (min-width: 700px) { .container { width: min(1320px, 100% - 80px); } }
.section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.split-head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; }
.split-head h2 { margin: 0; }
.split-head .lead { margin: 0 0 .6em; }
.kicker {
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px;
}
.kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--fire); }
.kicker--light { color: var(--paper); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #3B3733; max-width: 46ch; line-height: 1.55; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.05em 1.9em; border-radius: 999px; font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s, transform .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(5px) rotate(-30deg); }
.btn--fire { background: var(--fire); color: var(--white); }
.btn--fire::before { background: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--fire); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--paper); }
.btn--whatsapp { background: #1FAF5A; color: #fff; }
.btn--whatsapp::before { background: #178A47; }
.btn--sm { padding: .75em 1.3em; font-size: .8rem; }
.btn--xl { padding: 1.3em 2.6em; font-size: 1.05rem; }
.link-u { font-weight: 600; font-size: .92rem; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease), color .3s; }
.link-u:hover { color: var(--fire); background-size: 0 1.5px; background-position: 100% 100%; }

.boxed { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.boxed li { border: 1px solid currentColor; padding: .35em .8em; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.boxed--light { color: rgba(244,241,236,.8); }

/* ---------- Barra de progreso + cursor ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--fire); transform-origin: left; transform: scaleX(0); }
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--fire); opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background .3s; display: grid; place-items: center; mix-blend-mode: normal; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor-label { color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.cursor.is-big .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); transition: background .4s, height .4s var(--ease), box-shadow .4s; }
.site-header.is-solid { background: rgba(244,241,236,.92); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); height: 66px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--f-display); font-weight: 300; font-size: 1.85rem; letter-spacing: -.03em; line-height: 1; white-space: nowrap; font-variation-settings: "opsz" 144, "SOFT" 50; }
.logo em { font-weight: 200; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: .45em; padding: .55em .8em; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; position: relative; }
.nav-link sup { font-size: .6rem; color: var(--fire); letter-spacing: 0; }
.nav-link::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .25em; height: 1.5px; background: var(--fire); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-link:hover::after, .has-mega:hover > .nav-link::after { transform: scaleX(1); transform-origin: left; }
.chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .3s; }
.has-mega:hover .chev, .has-mega.is-open .chev { rotate: 225deg; translate: 0 2px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease), visibility .55s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { clip-path: inset(0); visibility: visible; }
.mega-inner { width: min(1320px, 100% - 80px); margin: 0 auto; padding: 30px 0 36px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.mega-item { display: flex; flex-direction: column; gap: 6px; }
.mega-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 10px; transition: transform .7s var(--ease), filter .5s; filter: grayscale(.3); }
.mega-item:hover img { transform: scale(.97); filter: none; }
.mega-n { font-family: var(--f-display); font-style: italic; color: var(--fire); font-size: .95rem; }
.mega-item strong { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; }

.burger { display: none; width: 46px; height: 46px; position: relative; border-radius: 50%; background: var(--ink); }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); transition: transform .4s var(--ease); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + clamp(30px, 6vw, 70px)) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-title { font-size: clamp(3.4rem, 9vw, 8.6rem); line-height: .9; letter-spacing: -.045em; margin-bottom: .35em; font-weight: 400; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-weight: 200; color: var(--ink); }
.rotator { display: inline-grid; overflow: hidden; padding: 0 .08em .08em 0; vertical-align: bottom; color: var(--fire); font-style: italic; font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.rotator > span { grid-area: 1 / 1; transform: translateY(105%) rotate(4deg); opacity: 0; transition: transform .9s var(--ease-out), opacity .5s; transform-origin: left bottom; }
.rotator > span.is-active { transform: none; opacity: 1; }
.rotator > span.is-leaving { transform: translateY(-105%) rotate(-3deg); opacity: 0; }
.hero-sub { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: #3B3733; max-width: 50ch; margin-bottom: 2em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-row a { display: block; border: 1px solid var(--ink); padding: .4em .9em; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s; }
.tag-row a:hover { background: var(--ink); color: var(--paper); }

/* Animación de entrada */
.anim { opacity: 0; transform: translateY(40px); animation: rise 1.1s var(--ease-out) forwards; animation-delay: calc(var(--d) * 90ms + 150ms); }
.line > .anim { transform: translateY(110%) skewY(6deg); opacity: 1; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; aspect-ratio: 1 / 1.08; }
.hv { position: absolute; margin: 0; overflow: hidden; will-change: transform; }
.hv img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); animation: unzoom 1.8s var(--ease-out) .3s forwards; }
@keyframes unzoom { to { transform: scale(1); } }
.hv--main { inset: 8% 14% 6% 10%; border-radius: 999px 999px 0 0; clip-path: inset(100% 0 0 0); animation: wipe 1.4s var(--ease-out) .2s forwards; }
.hv--main figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 22px; text-align: right; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: var(--white); font-family: var(--f-display); font-style: italic; font-size: 1.05rem; }
.hv--top { width: 36%; aspect-ratio: 3 / 4; top: 0; right: 0; clip-path: inset(0 0 100% 0); animation: wipeDown 1.2s var(--ease-out) .6s forwards; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.hv--bottom { width: 40%; aspect-ratio: 1; bottom: 0; left: 0; border-radius: 50%; clip-path: circle(0 at 50% 50%); animation: circleIn 1.2s var(--ease-out) .9s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes wipeDown { to { clip-path: inset(0 0 0 0); } }
@keyframes circleIn { to { clip-path: circle(50% at 50% 50%); } }
.badge { position: absolute; right: 4%; bottom: 8%; width: clamp(110px, 12vw, 160px); aspect-ratio: 1; display: grid; place-items: center; background: var(--fire); border-radius: 50%; color: var(--white); opacity: 0; animation: rise 1s var(--ease-out) 1.3s forwards; will-change: transform; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font: 600 14.2px var(--f-body); letter-spacing: .14em; text-transform: uppercase; fill: currentColor; }
.badge-core { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Marquesina ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: clamp(18px, 2.4vw, 30px) 0; rotate: -1.6deg; margin: 10px -20px; position: relative; z-index: 2; }
.marquee-track { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); width: max-content; will-change: transform; }
.marquee span { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.marquee span.o { font-style: italic; font-weight: 300; color: transparent; -webkit-text-stroke: 1.2px var(--paper); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.marquee i { font-style: normal; color: var(--fire); font-size: clamp(1.4rem, 3vw, 2.6rem); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(50px) skewY(2deg); transform-origin: left top; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.img-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out) .15s; }
.img-reveal img { transform: scale(1.3); transition: transform 1.8s var(--ease-out) .15s, filter .6s; }
.is-visible .img-reveal { clip-path: inset(0); }
.is-visible .img-reveal img { transform: scale(1); }

/* ---------- Hover UV (revelación sensorial) ---------- */
.uv-hover { position: relative; overflow: hidden; }
.uv-hover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle 160px at var(--mx, 50%) var(--my, 50%), rgba(123,77,255,.55), rgba(40,10,90,.75) 70%); mix-blend-mode: multiply; opacity: 0; transition: opacity .5s; }
.uv-code { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: 20px; font-family: "Courier New", monospace; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: .3em; color: #D9C8FF; text-shadow: 0 0 10px var(--uv), 0 0 26px var(--uv); opacity: 0; transition: opacity .5s;
  -webkit-mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 35%, transparent 75%); mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 35%, transparent 75%); }
.uv-hover:hover::after, .uv-hover:hover .uv-code { opacity: 1; }
.uv-hover:hover img { filter: saturate(.4) contrast(1.15) brightness(.8); }

/* ---------- Metodología ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { position: relative; }
.step:nth-child(2) { margin-top: clamp(0px, 8vw, 110px); }
.step:nth-child(3) { margin-top: clamp(0px, 4vw, 55px); }
.step-media { margin: 0 0 22px; aspect-ratio: 4 / 5; }
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step:nth-child(1) .step-media { border-radius: 0 0 0 140px; }
.step:nth-child(2) .step-media { border-radius: 999px 999px 0 0; }
.step:nth-child(3) .step-media { border-radius: 0 140px 0 0; }
.step-num { position: absolute; top: -.45em; left: -.1em; z-index: 3; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(4rem, 7vw, 6.5rem); line-height: 1; color: var(--fire); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; pointer-events: none; }
.step h3 { margin-bottom: .3em; }
.step p { color: #3B3733; max-width: 34ch; }

/* ---------- Audiencias ---------- */
.aud { background: var(--white); }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.aud-left h2 { margin-bottom: clamp(30px, 4vw, 54px); }
.aud-list { border-top: 1px solid var(--line); }
.aud-list [role="tab"] { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 10px; padding: clamp(16px, 2vw, 24px) 0; border-bottom: 1px solid var(--line); text-align: left; position: relative; overflow: hidden; }
.aud-list .n { font-family: var(--f-display); font-style: italic; font-size: 1rem; color: var(--muted); }
.aud-list .t { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; color: rgba(20,19,18,.35); transition: color .4s, transform .6s var(--ease), font-variation-settings .6s; }
.aud-list .a { font-size: 1.4rem; color: var(--fire); opacity: 0; transform: translateX(-20px); transition: opacity .4s, transform .5s var(--ease); }
.aud-list [role="tab"]:hover .t { color: var(--ink); transform: translateX(8px); }
.aud-list [aria-selected="true"] .t { color: var(--ink); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; transform: translateX(8px); }
.aud-list [aria-selected="true"] .n { color: var(--fire); }
.aud-list [aria-selected="true"] .a { opacity: 1; transform: none; }
.aud-right { position: sticky; top: calc(var(--header-h) + 20px); }
.aud-stage { position: relative; aspect-ratio: 5 / 4; overflow: hidden; margin-bottom: 30px; }
.aud-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); transform: scale(1.15); transition: clip-path 1s var(--ease-out), transform 1.6s var(--ease-out); }
.aud-stage img.is-active { clip-path: inset(0); transform: scale(1); z-index: 1; }
.aud-stage img.was-active { clip-path: inset(0); z-index: 0; }
.stage-tag { position: absolute; left: 0; bottom: 0; z-index: 3; background: var(--fire); color: var(--white); padding: .7em 1.2em; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.aud-panel { animation: panelIn .7s var(--ease-out); }
.aud-panel > p { font-size: 1.12rem; color: #3B3733; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- México (bloque oscuro) ---------- */
.mexico { background: var(--ink); color: var(--paper); overflow: hidden; }
.mexico .kicker { color: var(--paper); }
.mexico .lead { color: rgba(244,241,236,.75); }
.mx-strip { display: grid; grid-template-columns: 1.2fr .8fr 1fr .9fr; gap: 14px; padding: 0 14px; margin-bottom: clamp(50px, 7vw, 90px); align-items: center; }
.mx-strip figure { margin: 0; overflow: hidden; will-change: transform; }
.mx-strip figure:nth-child(1) { aspect-ratio: 4 / 3; }
.mx-strip figure:nth-child(2) { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.mx-strip figure:nth-child(3) { aspect-ratio: 1; border-radius: 50%; }
.mx-strip figure:nth-child(4) { aspect-ratio: 3 / 4.2; }
.mx-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mx-strip figure:hover img { transform: scale(1.08); }
.mx-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.mx-card { border-top: 1px solid rgba(244,241,236,.25); padding-top: 26px; }
.mx-card h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.mx-card p { color: rgba(244,241,236,.75); }
.mx-label { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--paper); padding: .35em .8em; margin-bottom: 18px; }
.mx-label--fire { border-color: var(--fire); background: var(--fire); color: var(--white); }
.world { margin: 0; }
.world figcaption { font-size: .72rem; color: rgba(244,241,236,.55); margin-top: 10px; letter-spacing: .04em; }
.arcs path { stroke: var(--fire); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .85; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -60; } }
.node-core { fill: var(--paper); }
.node-ring { fill: none; stroke: var(--paper); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.node-home .node-core { fill: var(--fire); }
.node-home .node-ring { stroke: var(--fire); }
.node-label { font: 700 15px var(--f-body); fill: var(--fire); letter-spacing: .08em; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Catálogo ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: clamp(10px, 3vw, 44px); margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.cat-tabs [role="tab"] { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3.4rem); letter-spacing: -.03em; line-height: 1.15; color: rgba(20,19,18,.28); padding-bottom: 12px; position: relative; transition: color .4s; }
.cat-tabs [role="tab"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--fire); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cat-tabs [role="tab"]:hover { color: var(--ink); }
.cat-tabs [aria-selected="true"] { color: var(--ink); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.cat-tabs [aria-selected="true"]::after { transform: scaleX(1); }
.cat-tabs sup { font-family: var(--f-body); font-style: normal; font-size: .8rem; font-weight: 700; color: var(--fire); margin-left: 4px; vertical-align: super; }
.cat-intro { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; margin-bottom: 40px; min-height: 110px; }
.cat-intro h3 { margin: 0; font-style: italic; font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; color: var(--fire); }
.cat-intro p { margin: 0; color: #3B3733; font-size: 1.08rem; }
.cat-intro > * { animation: panelIn .6s var(--ease-out); }

.car-track { --gut: max(16px, calc((100vw - 1320px) / 2)); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--gut) 10px; scroll-padding-inline: var(--gut); scrollbar-width: none; cursor: grab; }
@media (min-width: 700px) { .car-track { --gut: max(40px, calc((100vw - 1320px) / 2)); } }
.car-track::-webkit-scrollbar { display: none; }
.car-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.car-track.is-dragging * { pointer-events: none; }

.card { flex: 0 0 clamp(270px, 26vw, 360px); scroll-snap-align: start; background: var(--ink-2); color: var(--paper); display: flex; flex-direction: column; animation: cardIn .8s var(--ease-out) both; transition: transform .6s var(--ease); }
.card:nth-child(even) { margin-top: 40px; }
.card:hover { transform: translateY(-8px); }
@keyframes cardIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.card-media { aspect-ratio: 4 / 3.4; position: relative; overflow: hidden; margin: 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.card:hover .card-media img { transform: scale(1.07); }
.card-flag { position: absolute; top: 14px; left: 14px; z-index: 3; background: var(--paper); color: var(--ink); font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: .4em .8em; }
.card-body { padding: 26px 24px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.card-rule { width: 60px; height: 1px; background: rgba(244,241,236,.4); margin-bottom: 14px; }
.card-kicker { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,241,236,.7); margin-bottom: 10px; }
.card h4 { font-size: 1.65rem; line-height: 1.1; margin-bottom: .4em; }
.card p { font-size: .88rem; color: rgba(244,241,236,.72); line-height: 1.55; }
.card .boxed { justify-content: center; margin: auto 0 18px; color: rgba(244,241,236,.85); }
.card .boxed li { font-size: .62rem; }
.card-link { font-size: .82rem; font-weight: 700; color: var(--fire); letter-spacing: .06em; }
.card-link:hover { color: var(--paper); }

.car-controls { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.car-progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.car-progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(.2); transition: transform .2s; }
.car-btns { display: flex; gap: 10px; }
.car-btn { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 1.2rem; transition: background .3s, color .3s, transform .3s var(--ease); }
.car-btn:hover { background: var(--ink); color: var(--paper); transform: scale(1.06); }

/* ---------- Quiz ---------- */
.quiz { background: var(--paper-2); }
.quiz-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.quiz-left { position: sticky; top: calc(var(--header-h) + 30px); }
.quiz-left h2 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.quiz-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 4px; }
.quiz-steps li { display: flex; align-items: baseline; gap: 18px; font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.8rem); color: rgba(20,19,18,.28); transition: color .4s; padding: 8px 0; border-bottom: 1px solid var(--line); }
.quiz-steps li span { font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.quiz-steps li.is-on { color: var(--ink); }
.quiz-steps li.is-on span { color: var(--fire); }
.quiz-card { background: var(--white); padding: clamp(22px, 3.5vw, 44px); box-shadow: 0 40px 80px -50px rgba(0,0,0,.35); min-height: 480px; }
.quiz-progress { height: 3px; background: var(--paper-2); margin-bottom: 30px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--fire); transition: width .7s var(--ease); }
.quiz-chat { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.bubble { max-width: 82%; padding: 14px 18px; animation: panelIn .5s var(--ease-out); font-size: 1rem; }
.bubble--host { background: var(--paper); border-radius: 20px 20px 20px 4px; align-self: flex-start; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.3; }
.bubble--user { background: var(--ink); color: var(--paper); font-weight: 600; border-radius: 20px 20px 4px 20px; align-self: flex-end; font-size: .92rem; }
.typing { display: inline-flex; gap: 5px; padding: 6px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--fire); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quiz-opt { text-align: left; padding: 16px 18px; border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 3px; transition: border-color .3s, background .3s, transform .4s var(--ease); animation: panelIn .5s var(--ease-out) both; }
.quiz-opt strong { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -.01em; }
.quiz-opt span { font-size: .8rem; color: var(--muted); }
.quiz-opt:hover { border-color: var(--fire); background: #FFF4EE; transform: translateY(-3px); }
.quiz-results { animation: panelIn .6s var(--ease-out); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 24px; }
.result-card { background: var(--ink-2); color: var(--paper); display: flex; flex-direction: column; animation: panelIn .6s var(--ease-out) both; }
.result-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.result-card div { padding: 14px; }
.result-card .match { font-size: .66rem; font-weight: 700; color: var(--fire); letter-spacing: .14em; text-transform: uppercase; }
.result-card h4 { font-size: 1.15rem; margin: 4px 0 0; }
.result-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; color: var(--paper); text-align: center; padding: clamp(130px, 18vw, 240px) 0; isolation: isolate; }
.cta-bg { position: absolute; inset: -15% 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20,19,18,.45), rgba(20,19,18,.88)); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .kicker::after { content: ""; width: 34px; height: 1.5px; background: var(--fire); }
.cta-inner h2 { font-size: clamp(2.8rem, 7.5vw, 7rem); line-height: .95; letter-spacing: -.04em; }
.cta-inner .lead { color: rgba(244,241,236,.85); margin: 0 auto 2.4em; }

/* ---------- Formulario ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.quote-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.quote-points li { padding-left: 30px; position: relative; color: #3B3733; }
.quote-points li::before { content: "✦"; position: absolute; left: 0; color: var(--fire); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid rgba(20,19,18,.3); border-radius: 0; padding: .6em 0; width: 100%; transition: border-color .3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--fire); }
input[aria-invalid="true"] { border-color: #D72D2D; }
textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form-status { font-size: .9rem; color: var(--fire-2); margin: 0; min-height: 1.2em; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(70px, 9vw, 110px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 40px; }
.site-footer h4 { font-family: var(--f-body); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--fire); margin-bottom: 18px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: rgba(244,241,236,.8); }
.footer-list a:hover { color: var(--fire); }
.dossier p { color: rgba(244,241,236,.7); }
.dossier h4 + p { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.25; color: var(--paper); }
.dossier-row { display: flex; gap: 10px; align-items: end; }
.dossier-row input { flex: 1; min-width: 0; color: var(--paper); border-color: rgba(244,241,236,.35); }
.dossier-row input::placeholder { color: rgba(244,241,236,.45); }
.footer-wordmark { font-family: var(--f-display); font-weight: 200; font-size: clamp(3.4rem, 15.5vw, 16rem); line-height: .9; letter-spacing: -.055em; text-align: center; white-space: nowrap; margin: clamp(60px, 8vw, 100px) 0 0; font-variation-settings: "opsz" 144, "SOFT" 50; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 0 30px; border-top: 1px solid rgba(244,241,236,.15); font-size: .78rem; color: rgba(244,241,236,.55); }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal a:hover { color: var(--fire); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #1FAF5A; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(31,175,90,.7); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1440px) {
  .nav-link { font-size: .68rem; letter-spacing: .08em; padding: .55em .55em; }
  .main-nav { gap: 14px; }
}
@media (max-width: 1280px) {
  .burger { display: block; z-index: 2; }
  .main-nav { position: fixed; inset: 0; z-index: 1; background: var(--paper); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--header-h) + 10px) 20px 40px; overflow-y: auto; clip-path: circle(0 at calc(100% - 40px) 38px); visibility: hidden; transition: clip-path .7s var(--ease), visibility .7s; }
  .main-nav.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; font-family: var(--f-display); font-size: 2rem; font-weight: 400; letter-spacing: -.02em; text-transform: none; padding: .35em 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .mega { position: static; clip-path: none; visibility: visible; display: none; box-shadow: none; border: 0; background: none; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega-inner { width: 100%; grid-template-columns: 1fr 1fr; padding: 16px 0; gap: 14px; }
  .mega-item strong { font-size: 1.05rem; }
  .nav-cta { margin-top: 28px; align-self: flex-start; }
  .logo { position: relative; z-index: 2; }
}
@media (min-width: 1281px) { .nav-list > li:first-child { display: none; } }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .aud-grid, .quiz-grid, .quote-grid { grid-template-columns: 1fr; }
  .aud-right, .quiz-left { position: static; }
  .mx-grid { grid-template-columns: 1fr 1fr; }
  .world { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .split-head { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .step:nth-child(n) { margin-top: 0; }
  .step-num { left: auto; right: 10px; }
  .mx-strip { grid-template-columns: 1fr 1fr; }
  .mx-grid { grid-template-columns: 1fr; }
  .cat-intro { grid-template-columns: 1fr; gap: 10px; }
  .card:nth-child(even) { margin-top: 0; }
  .result-grid { grid-template-columns: 1fr; }
  .result-card { flex-direction: row; }
  .result-card img { width: 110px; aspect-ratio: 1; }
  .car-btns { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-ctas .btn { width: 100%; }
  .quiz-options { grid-template-columns: 1fr; }
  .bubble { max-width: 94%; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo { font-size: 1.5rem; }
  .card { flex-basis: 80vw; }
  .btn--xl { padding: 1.1em 1.8em; font-size: .95rem; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Catálogo: buscador, vista de cuadrícula y ficha completa
   ========================================================= */
.cat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: -6px 0 34px; }
.cat-search { flex: 1 1 320px; max-width: 520px; display: flex; align-items: center; gap: 10px; border-bottom: 1.5px solid var(--ink); }
.cat-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.cat-search input { border: 0; padding: .7em 0; font-size: 1rem; }
.cat-search input::placeholder { color: var(--muted); }
.view-toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; }
.view-toggle button { padding: .5em 1.1em; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .3s, color .3s; }
.view-toggle [aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cat-count { margin: 0 0 0 auto; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.card { cursor: pointer; }
.card-teaser { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card .boxed { margin-top: auto; }
.card-link { font-family: var(--f-body); }
.card-flag--temp { background: var(--fire); color: var(--white); }
.card--cta { cursor: default; flex-basis: min(680px, 88vw); background: var(--fire); }
.card--cta:hover { transform: none; }
.card--cta .card-media { aspect-ratio: 16 / 7; }
.card--cta .card-body { color: var(--white); }
.card--cta h4 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.card--cta p { color: rgba(255,255,255,.92); font-size: .98rem; max-width: 52ch; }
.card--cta .card-kicker, .card--cta .boxed { color: rgba(255,255,255,.9); }
.card--cta .card-rule { background: rgba(255,255,255,.6); }
.card--cta .btn { background: var(--ink); color: var(--paper); }
.card--cta .btn::before { background: var(--paper); }
.card--cta .btn:hover { color: var(--ink); }
.car-track.is-grid .card--cta { grid-column: span 2; }
@media (max-width: 620px) { .car-track.is-grid .card--cta { grid-column: auto; } }

.car-track.is-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; overflow: visible; cursor: default; padding-bottom: 0; width: min(1320px, 100% - 32px); margin-inline: auto; padding-inline: 0; }
@media (min-width: 700px) { .car-track.is-grid { width: min(1320px, 100% - 80px); } }
.car-track.is-grid .card { flex-basis: auto; margin-top: 0; }
.car-controls[hidden] { display: none; }

.u-modal { width: min(1080px, 100% - 24px); max-height: min(90vh, 900px); padding: 0; border: 0; background: var(--paper); color: var(--ink); display: none; grid-template-columns: 1fr 1.25fr; overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0,0,0,.6); }
.u-modal[open] { display: grid; animation: modalIn .6s var(--ease-out); }
.u-modal::backdrop { background: rgba(20,19,18,.72); backdrop-filter: blur(4px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
.um-media { position: relative; min-height: 260px; }
.um-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.um-body { padding: clamp(26px, 4vw, 52px); overflow-y: auto; max-height: min(90vh, 900px); }
.um-body .kicker { margin-bottom: 16px; padding-right: 40px; }
.um-body h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: .35em; }
.um-close { position: absolute; z-index: 2; top: 16px; right: 16px; background: var(--paper); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.um-close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.um-temp { display: inline-block; background: var(--fire); color: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .4em .8em; margin-bottom: 18px; }
.um-text p { font-size: 1.02rem; color: #2E2A27; line-height: 1.7; }
.um-facts { display: grid; gap: 0; margin: 26px 0 18px; border-top: 1px solid var(--line); }
.um-facts div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.um-facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .25em; }
.um-facts dd { margin: 0; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.3; }
.um-note { font-style: italic; color: var(--muted); }
.um-body .boxed { color: var(--fire-2); margin-bottom: 26px; }
.um-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

button.result-card { text-align: left; cursor: pointer; transition: transform .4s var(--ease); }
button.result-card:hover { transform: translateY(-4px); }
.result-p { display: block; font-size: .78rem; color: rgba(244,241,236,.7); margin-top: 4px; }

@media (max-width: 760px) {
  .u-modal { grid-template-columns: 1fr; overflow-y: auto; max-height: 92vh; }
  .um-media { min-height: 200px; aspect-ratio: 16 / 9; }
  .um-body { max-height: none; overflow: visible; }
  .um-facts div { grid-template-columns: 1fr; gap: 2px; }
  .cat-count { margin-left: 0; }
}
.um-page { display: inline-block; margin-top: 22px; }

/* =========================================================
   Portada: preguntas frecuentes e índice del catálogo
   ========================================================= */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.faq-item summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 1.3rem; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--fire); border-color: var(--fire); color: var(--white); }
.faq-item summary:hover h3 { color: var(--fire); }
.faq-a { padding: 0 60px 24px 0; color: #3B3733; font-size: 1.05rem; }
.faq-a a { color: var(--fire-2); text-decoration: underline; text-underline-offset: 3px; }

.cat-index { margin-top: 50px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat-index summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding: 22px 0; font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.cat-index summary::-webkit-details-marker { display: none; }
.cat-index summary span { font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cat-index summary::after { content: "↓"; color: var(--fire); transition: transform .4s var(--ease); }
.cat-index[open] summary::after { transform: rotate(180deg); }
.cat-index-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 10px 0 34px; }
.ci-group h3 { font-size: 1.3rem; margin-bottom: 12px; }
.ci-group h3 small { font-family: var(--f-body); font-size: .7rem; color: var(--fire); font-weight: 700; vertical-align: super; }
.ci-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.ci-group li span { color: var(--muted); font-size: .8rem; }
.ci-group a:hover { color: var(--fire); }
.ci-group p { font-size: .9rem; color: #3B3733; }
.ci-group p a { color: var(--fire-2); font-weight: 600; }
.cat-index--page .ci-group ul { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 30px; }

@media (max-width: 1100px) { .cat-index-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .faq-a { padding-right: 0; }
}
@media (max-width: 560px) { .cat-index-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Olimpiadas: medallas y programa
   ========================================================= */
.medals { position: absolute; right: 18px; bottom: -26px; z-index: 3; display: flex; gap: 8px; }
.medal { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: rgba(0,0,0,.55); box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), inset 0 -6px 12px rgba(0,0,0,.18), 0 10px 22px -8px rgba(0,0,0,.6); animation: medalIn .9s var(--ease-out) both; }
.medal::before { content: ""; position: absolute; top: -22px; left: 50%; width: 18px; height: 26px; margin-left: -9px; background: linear-gradient(90deg, #1D4ED8 0 33%, var(--paper) 33% 66%, #DC2626 66%); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%); z-index: -1; }
.medal--oro { background: radial-gradient(circle at 35% 30%, #FFF3B0, #E6B422 45%, #A97C0F); }
.medal--plata { background: radial-gradient(circle at 35% 30%, #FFFFFF, #C9CDD2 45%, #8A9097); animation-delay: .12s; }
.medal--bronce { background: radial-gradient(circle at 35% 30%, #FFD9B3, #CD7F32 45%, #8A4F1C); animation-delay: .24s; }
@keyframes medalIn { from { opacity: 0; transform: translateY(-30px) rotate(-20deg); } to { opacity: 1; transform: none; } }

.card--olymp .card-media { overflow: visible; }
.card--olymp .card-media img { position: relative; }
.card--olymp .card-body { padding-top: 40px; }
.olymp-steps { list-style: none; counter-reset: s; padding: 0; margin: 4px 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.olymp-steps li { counter-increment: s; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .45em .9em; background: rgba(0,0,0,.18); border-radius: 999px; }
.olymp-steps li::before { content: counter(s) " · "; opacity: .7; }
.card-link--light { display: block; margin-top: 16px; color: var(--white) !important; opacity: .9; }
.card-link--light:hover { opacity: 1; text-decoration: underline; }
.card--olymp .card-media { aspect-ratio: 16 / 8; }

/* México: botones de cotización */
.mx-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.mx-ctas .link-u { color: rgba(244,241,236,.85); font-size: .85rem; }
.mx-ctas .link-u:hover { color: var(--fire); }
.btn--line-light { border: 1.5px solid var(--paper); color: var(--paper); }
.btn--line-light::before { background: var(--paper); }
.btn--line-light:hover { color: var(--ink); }
.mx-more { margin-top: clamp(40px, 6vw, 70px); text-align: center; }
.mx-lang { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fire) !important; }
