
/* ---------- Tokens ---------- */
:root{
  --bg:#0e0f0d; --bg-2:#151613; --bg-3:#1c1d1a;
  --fg:#ecebe6; --mute:#a3a29a; --faint:#8f8e87;
  --line:rgba(236,235,230,.09); --line-2:rgba(236,235,230,.16);
  --acc:#ef6a3c; --acc-ink:#1a0b05; --acc-soft:rgba(239,106,60,.14);
  --shadow:0 30px 80px -30px rgba(0,0,0,.65);
  --r:18px; --r-sm:12px;
  --ease:cubic-bezier(.23,1,.32,1);
  --ease-io:cubic-bezier(.77,0,.175,1);
  --ease-drawer:cubic-bezier(.32,.72,0,1);
  --display:"Bricolage Grotesque",system-ui,sans-serif;
  --sans:"Geist",system-ui,sans-serif;
  --mono:"Geist Mono",ui-monospace,monospace;
  color-scheme:dark;
}
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    --bg:#f2f1ec; --bg-2:#e8e7e1; --bg-3:#dedcd5;
    --fg:#131411; --mute:#55554f; --faint:#6a6963;
    --line:rgba(19,20,17,.1); --line-2:rgba(19,20,17,.18);
    --acc:#d9532a; --acc-ink:#fff7f2; --acc-soft:rgba(217,83,42,.12);
    --shadow:0 30px 70px -35px rgba(60,40,20,.35);
    color-scheme:light;
  }
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{background:var(--bg);color:var(--fg);font-family:var(--sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--acc);outline-offset:3px;border-radius:6px}
::selection{background:var(--acc);color:var(--acc-ink)}
/* Browser surfaces carry the palette too */
html{scrollbar-color:var(--line-2) var(--bg);accent-color:var(--acc);caret-color:var(--acc)}
a{text-underline-offset:.2em}
.mono,.count,.course .meta{font-variant-numeric:tabular-nums}

/* Grain: fixed, never on scrolling containers */
body::after{content:"";position:fixed;inset:0;z-index:90;pointer-events:none;opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

.wrap{width:100%;max-width:1320px;margin:0 auto;padding:0 clamp(16px,4vw,40px)}
.display{font-family:var(--display);font-weight:650;letter-spacing:-.035em;line-height:.98;font-variation-settings:"opsz" 96}
.mono{font-family:var(--mono);font-size:12px;letter-spacing:.02em}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 24px;border-radius:999px;font-weight:550;font-size:15px;white-space:nowrap;
  transition:transform .16s var(--ease),background-color .2s ease,color .2s ease,border-color .2s ease}
.btn:active{transform:scale(.97)}
.btn-acc{background:var(--acc);color:var(--acc-ink)}
.btn-ghost{border:1px solid var(--line-2)}
.btn .ar{display:inline-grid;place-items:center;width:28px;height:28px;margin-right:-12px;border-radius:50%;background:var(--acc-ink);color:var(--acc);overflow:hidden}
.btn .ar i{transition:transform .25s var(--ease)}
@media (hover:hover) and (pointer:fine){
  .btn-acc:hover{background:color-mix(in oklab,var(--acc) 88%,var(--fg))}
  .btn-ghost:hover{border-color:var(--fg)}
  .btn:hover .ar i{transform:translateX(2px) rotate(-45deg)}
}
/* Magnetic CTA: the wrapper is moved by JS with a spring, the button keeps its own press scale */
.mag-wrap{display:inline-flex;will-change:transform}

/* ---------- Intro screen ---------- */
.intro{position:fixed;inset:0;z-index:100;background:var(--bg);display:grid;place-items:center;
  clip-path:inset(0 0 0 0);transition:clip-path .85s var(--ease-io)}
.intro.out .intro-inner{opacity:0;transform:translateY(-24px);filter:blur(6px);transition:opacity .4s ease,transform .6s var(--ease),filter .4s ease}
.intro.out{clip-path:inset(0 0 100% 0)}
.intro-inner{display:flex;flex-direction:column;align-items:center;gap:28px}
.intro-word{font-family:var(--display);font-weight:700;font-size:clamp(56px,13vw,180px);letter-spacing:-.04em;line-height:1;display:flex;overflow:hidden;padding-bottom:.08em}
.intro-word span{display:inline-block;transform:translateY(105%);animation:rise .9s var(--ease) forwards}
.intro-word span.dot{color:var(--acc)}
.intro-word span.acc{font-weight:400}
.intro-bar{width:min(320px,60vw);height:2px;background:var(--line);overflow:hidden;border-radius:2px}
.intro-bar i{display:block;height:100%;background:var(--acc);transform-origin:left;transform:scaleX(0);animation:load 1.4s var(--ease-io) .2s forwards}
.intro-meta{display:flex;justify-content:space-between;width:min(320px,60vw);color:var(--mute)}
@keyframes rise{to{transform:translateY(0)}}
@keyframes load{to{transform:scaleX(1)}}

/* ---------- Nav ---------- */
.nav{position:fixed;top:0;left:0;right:0;z-index:50;transition:background-color .4s var(--ease),border-color .4s var(--ease),backdrop-filter .4s}
.nav.solid{background:color-mix(in oklab,var(--bg) 78%,transparent);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:700;font-size:22px;letter-spacing:-.04em}
.logo b{font-weight:400;color:var(--mute)}
.logo-mark{width:30px;height:30px;border-radius:9px;background:var(--acc);display:grid;place-items:center;color:var(--acc-ink);font-size:16px;font-weight:800}
.nav-links{display:flex;gap:4px}
.nav-links a{padding:8px 14px;border-radius:999px;font-size:14px;color:var(--mute);transition:color .15s ease,background-color .15s ease}
.nav-links a:hover{color:var(--fg);background:var(--bg-3)}
.nav-links a.on{color:var(--fg)}
.nav .btn{height:42px;padding:0 18px;font-size:14px}
.menu-btn{display:none;width:42px;height:42px;border-radius:50%;border:1px solid var(--line-2);place-items:center;font-size:18px}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:100dvh;display:flex;align-items:center;padding:112px 0 64px;overflow:hidden}
.hero-glow{position:absolute;width:900px;height:900px;right:-260px;top:-200px;border-radius:50%;
  background:radial-gradient(closest-side,var(--acc-soft),transparent 70%);pointer-events:none}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:48px;align-items:center;position:relative}
.hero h1{font-size:clamp(46px,6.2vw,92px);margin:0 0 26px;text-wrap:balance}
.hero-search{position:relative;display:flex;align-items:center;gap:8px;margin-top:36px;max-width:540px;padding:6px 6px 6px 50px;border-radius:999px;
  background:var(--bg-2);border:1px solid var(--line-2);transition:border-color .2s ease,box-shadow .25s var(--ease)}
.hero-search:focus-within{border-color:var(--acc);box-shadow:0 0 0 4px var(--acc-soft)}
.hero-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hero-search > i{position:absolute;left:20px;font-size:20px;color:var(--mute)}
.hero-search input{flex:1;min-width:0;height:52px;background:none;border:0;outline:none;font-size:16px}
.hero-search input::placeholder{color:var(--faint)}
.hero-search .btn{height:52px}
/* Autocomplete: appears instantly while typing (keyboard-driven, so no animation) */
.suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:20;list-style:none;padding:6px;border-radius:20px;background:var(--bg-2);border:1px solid var(--line-2);box-shadow:var(--shadow);max-height:360px;overflow-y:auto}
.suggest li{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 12px;border-radius:14px;cursor:pointer;font-size:15px}
.suggest li i{font-size:18px;color:var(--mute);flex:none}
.suggest li small{margin-left:auto;color:var(--faint);font-size:12.5px;white-space:nowrap}
.suggest li mark{background:none;color:var(--acc);font-weight:600}
.suggest li[aria-selected="true"]{background:var(--bg-3)}
@media (hover:hover) and (pointer:fine){.suggest li:hover{background:var(--bg-3)}}
.quick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;font-size:14px;color:var(--mute)}
.quick span{margin-right:4px}
.quick button{height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line);color:var(--fg);transition:border-color .15s ease,transform .16s var(--ease)}
.quick button:active{transform:scale(.96)}
@media (hover:hover) and (pointer:fine){.quick button:hover{border-color:var(--line-2)}}
.hero h1 .ln{display:block;overflow:hidden;padding-bottom:.06em}
.hero h1 .ln > span{display:inline-block}
.hero h1 em{font-style:normal;color:var(--acc);font-weight:350}
.hero p.lead{font-size:clamp(17px,1.4vw,19px);color:var(--mute);max-width:44ch}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}

.stack{position:relative;height:560px;perspective:1400px}
.stack-inner{position:absolute;inset:0;transform-style:preserve-3d;
  transform:rotateY(calc(var(--mx,0) * 8deg)) rotateX(calc(var(--my,0) * -6deg));transition:transform .8s var(--ease)}
.cover{position:absolute;width:300px;border-radius:var(--r);overflow:hidden;background:var(--bg-2);border:1px solid var(--line);box-shadow:var(--shadow);
  transition:transform .5s var(--ease)}
.cover img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;filter:saturate(.85) contrast(1.05)}
.cover .cap{position:absolute;left:0;right:0;bottom:0;padding:18px;background:linear-gradient(to top,rgba(10,10,9,.92),rgba(10,10,9,0));color:#f1f0eb}
.cover .cap small{display:block;font-family:var(--mono);font-size:11px;color:rgba(241,240,235,.65);margin-bottom:4px}
.cover .cap strong{font-family:var(--display);font-weight:600;font-size:20px;letter-spacing:-.02em;line-height:1.1}
.c1{left:4%;top:90px;transform:rotate(-9deg) translateZ(-40px)}
.c2{left:30%;top:20px;z-index:2;transform:rotate(2deg) translateZ(40px)}
.c3{right:0;top:150px;transform:rotate(10deg) translateZ(-10px)}
@media (hover:hover) and (pointer:fine){
  .stack:hover .c1{transform:rotate(-13deg) translate(-24px,8px) translateZ(-40px)}
  .stack:hover .c3{transform:rotate(14deg) translate(24px,8px) translateZ(-10px)}
  .stack:hover .c2{transform:rotate(0deg) translateY(-10px) translateZ(60px)}
}
.chip-float{position:absolute;left:-12px;bottom:-6px;z-index:3;display:flex;align-items:center;gap:12px;padding:12px 16px 12px 12px;border-radius:16px;
  background:var(--bg-2);border:1px solid var(--line-2);box-shadow:var(--shadow)}
.chip-float .ic{width:40px;height:40px;border-radius:12px;background:var(--acc);color:var(--acc-ink);display:grid;place-items:center;font-size:20px}
.chip-float b{display:block;font-size:14px}
.chip-float span{font-size:12.5px;color:var(--mute)}

/* hero entrance */
.js .h-in{opacity:0;transform:translateY(16px);filter:blur(4px)}
.js .hero h1 .ln > span{transform:translateY(105%)}
.ready .h-in{opacity:1;transform:none;filter:none;transition:opacity .8s ease,transform .9s var(--ease),filter .8s ease;transition-delay:calc(var(--d,0) * 70ms + 150ms)}
.ready .hero h1 .ln > span{transform:none;transition:transform 1s var(--ease);transition-delay:calc(var(--d,0) * 70ms + 50ms)}
/* Covers deal in from below like cards being placed; delay only applies to the entrance */
.js .stack .cover{opacity:0;translate:0 60px}
.ready .stack .cover{opacity:1;translate:0 0;transition:opacity .7s ease calc(var(--d) * 90ms + 350ms),translate 1s var(--ease) calc(var(--d) * 90ms + 350ms),transform .5s var(--ease)}

/* ---------- Marquee ---------- */
.marquee{border-block:1px solid var(--line);overflow:hidden;padding:22px 0;background:var(--bg-2)}
.marquee-track{display:flex;width:max-content;gap:48px;animation:mq 38s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track span{display:flex;align-items:center;gap:48px;font-family:var(--display);font-size:clamp(22px,2.6vw,34px);font-weight:500;letter-spacing:-.03em;white-space:nowrap;color:var(--mute)}
.marquee-track i{color:var(--acc);font-size:.7em}
@keyframes mq{to{transform:translateX(-50%)}}

/* ---------- Trust bar: plain facts about how the site works, no invented numbers ---------- */
.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:40px 0 0}
.trust div{display:flex;align-items:center;gap:14px}
.trust i{flex:none;width:44px;height:44px;border-radius:12px;background:var(--acc-soft);color:var(--acc);display:grid;place-items:center;font-size:22px}
.trust b{display:block;font-weight:600;font-size:15px}
.trust span{color:var(--mute);font-size:14px}

/* ---------- Sections ---------- */
section{position:relative}
.sec{padding:clamp(88px,11vw,150px) 0}
.sec-head{margin-bottom:56px;max-width:760px}
.sec-head h2{font-size:clamp(38px,5vw,68px)}
.sec-head p{margin-top:18px;color:var(--mute);font-size:18px;max-width:52ch}

/* reveal */
.js [data-r]{opacity:0;transform:translateY(20px);filter:blur(3px)}
[data-r].in{opacity:1;transform:none;filter:none;transition:opacity .7s ease,transform .8s var(--ease),filter .7s ease;transition-delay:calc(var(--d,0) * 60ms)}
/* Image reveal: the picture is unmasked from the bottom when its card enters */
.js .ruta[data-r] .ruta-img{clip-path:inset(0 0 100% 0)}
.ruta[data-r].in .ruta-img{clip-path:inset(0 0 0 0);transition:clip-path 1s var(--ease-io) calc(var(--d,0) * 60ms + 100ms)}

/* ---------- Bento: especialidades ---------- */
.bento{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:220px;gap:14px}
.tile{position:relative;border-radius:var(--r);overflow:hidden;background:var(--bg-2);border:1px solid var(--line);padding:26px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate;
  transition:border-color .2s ease,transform .16s var(--ease)}
.tile:active{transform:scale(.985)}
.tile .ti{font-size:26px;color:var(--acc)}
.tile h3{font-family:var(--display);font-weight:600;font-size:clamp(24px,2.3vw,32px);letter-spacing:-.03em;line-height:1.05}
.tile p{color:var(--mute);font-size:15px;margin-top:8px;max-width:34ch}
.tile .go{position:absolute;top:22px;right:22px;width:40px;height:40px;border-radius:50%;border:1px solid var(--line-2);display:grid;place-items:center;
  transition:transform .3s var(--ease),background-color .2s ease,color .2s ease,border-color .2s ease}
.tile .bgimg{position:absolute;inset:0;z-index:-1}
.tile .bgimg img{width:100%;height:100%;object-fit:cover;filter:saturate(.7) brightness(.55);transform:scale(1.04);transition:transform .7s var(--ease)}
.tile.img h3,.tile.img p,.tile.img .ti{color:#f1f0eb}
.tile.img p{color:rgba(241,240,235,.78)}
.tile.img .go{border-color:rgba(241,240,235,.3);color:#f1f0eb}
.tile.acc{background:var(--acc);color:var(--acc-ink);border-color:transparent}
.tile.acc .ti,.tile.acc p{color:var(--acc-ink)}
.tile.acc p{opacity:.78}
.tile.acc .go{border-color:color-mix(in oklab,var(--acc-ink) 30%,transparent)}
@media (hover:hover) and (pointer:fine){
  .tile:hover{border-color:var(--line-2)}
  .tile:hover .go{transform:rotate(-45deg);background:var(--acc);color:var(--acc-ink);border-color:var(--acc)}
  .tile.acc:hover .go{background:var(--acc-ink);color:var(--acc)}
  .tile:hover .bgimg img{transform:scale(1.08)}
}
.tile.mark{background:var(--bg-3)}
.tile .wm{position:absolute;right:-28px;bottom:-40px;font-size:200px;color:var(--acc);opacity:.18;z-index:-1;transition:transform .7s var(--ease)}
@media (hover:hover) and (pointer:fine){.tile.mark:hover .wm{transform:rotate(-12deg)}}
.t-a{grid-column:span 4;grid-row:span 2}
.t-b{grid-column:span 2;grid-row:span 1}
.t-c{grid-column:span 2;grid-row:span 1}
.t-d{grid-column:span 2}
.t-e{grid-column:span 2}
.t-f{grid-column:span 2}
.count{font-family:var(--mono);font-size:12px;opacity:.7}

/* ---------- Rutas (horizontal snap) ---------- */
.rutas-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:44px}
.rutas-head h2{font-size:clamp(38px,5vw,68px)}
.arrows{display:flex;gap:8px}
.arrows button{width:50px;height:50px;border-radius:50%;border:1px solid var(--line-2);display:grid;place-items:center;font-size:18px;transition:background-color .15s ease,color .15s ease,transform .16s var(--ease),opacity .2s ease}
.arrows button:active{transform:scale(.94)}
.arrows button:disabled{opacity:.3;pointer-events:none}
@media (hover:hover) and (pointer:fine){.arrows button:hover{background:var(--fg);color:var(--bg)}}
.rail{display:grid;grid-auto-flow:column;grid-auto-columns:min(420px,82vw);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  padding-inline:max(clamp(16px,4vw,40px),calc((100vw - 1320px)/2 + 40px));scroll-padding-inline:max(clamp(16px,4vw,40px),calc((100vw - 1320px)/2 + 40px))}
.rail::-webkit-scrollbar{display:none}
.ruta{scroll-snap-align:start;border-radius:var(--r);background:var(--bg-2);border:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column;
  transition:transform .3s var(--ease),border-color .2s ease}
.ruta-img{position:relative;aspect-ratio:16/10;overflow:hidden}
.ruta-img img{width:100%;height:100%;object-fit:cover;filter:saturate(.8);transition:transform .7s var(--ease)}
.ruta-body{padding:24px;display:flex;flex-direction:column;gap:14px;flex:1}
.ruta-body h3{font-family:var(--display);font-weight:600;font-size:26px;letter-spacing:-.03em;line-height:1.08}
.ruta-body p{color:var(--mute);font-size:15px}
.ruta-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid var(--line)}
.dots{display:flex}
.dots img{width:32px;height:32px;border-radius:50%;border:2px solid var(--bg-2);margin-left:-8px;object-fit:cover}
.dots img:first-child{margin-left:0}
.ruta-foot a{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:550}
.ruta-foot a i{transition:transform .25s var(--ease)}
@media (hover:hover) and (pointer:fine){
  .ruta:hover{transform:translateY(-4px);border-color:var(--line-2)}
  .ruta:hover .ruta-img img{transform:scale(1.05)}
  .ruta:hover .ruta-foot a i{transform:translateX(3px)}
}

/* ---------- Catálogo ---------- */
.cat-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:28px}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.chips::-webkit-scrollbar{display:none}
.chip{height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--line-2);font-size:14px;white-space:nowrap;color:var(--mute);
  transition:background-color .15s ease,color .15s ease,border-color .15s ease,transform .16s var(--ease)}
.chip:active{transform:scale(.96)}
@media (hover:hover) and (pointer:fine){.chip:hover{color:var(--fg);border-color:var(--fg)}}
.chip[aria-pressed="true"]{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.search{position:relative;width:min(320px,100%)}
.search label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.search i{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--mute)}
.search input{width:100%;height:44px;border-radius:999px;border:1px solid var(--line-2);background:var(--bg-2);padding:0 16px 0 42px;font-size:14.5px;outline:none;transition:border-color .2s}
.search input::placeholder{color:var(--faint)}
.search input:focus{border-color:var(--acc)}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.course{display:flex;flex-direction:column;border-radius:var(--r);background:var(--bg-2);border:1px solid var(--line);overflow:hidden;
  transition:transform .3s var(--ease),border-color .2s ease}
.course-img{aspect-ratio:4/3;overflow:hidden;background:var(--bg-3)}
.course-img img{width:100%;height:100%;object-fit:cover;filter:saturate(.8);transition:transform .6s var(--ease),opacity .4s ease}
/* Images fade in once loaded instead of popping in */
.course-img img[data-loading]{opacity:0}
@media (hover:hover) and (pointer:fine){
  .course:hover{transform:translateY(-3px);border-color:var(--line-2)}
  .course:hover .course-img img{transform:scale(1.05)}
}
.course-body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}
.tag{align-self:flex-start;font-size:12px;font-weight:550;color:var(--acc);background:var(--acc-soft);padding:4px 10px;border-radius:999px}
.course h3{font-family:var(--display);font-weight:600;font-size:19px;letter-spacing:-.02em;line-height:1.18;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.course .by{font-size:13.5px;color:var(--mute)}
.course .meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid var(--line);font-size:13px;color:var(--mute)}
.course .meta span{display:inline-flex;align-items:center;gap:6px}
.course .meta button{color:var(--fg);font-weight:550;display:inline-flex;align-items:center;gap:4px;min-height:44px;margin:0}
.course .meta button:hover{color:var(--acc)}
/* The whole card opens the syllabus; the button stays the accessible target */
.course{cursor:pointer}

/* ---------- Ficha (drawer) ---------- */
.scrim{position:fixed;inset:0;z-index:70;background:rgba(8,8,7,.55);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s .2s}
.scrim.open{opacity:1;visibility:visible;transition:opacity .3s ease,visibility 0s}
.drawer{position:fixed;top:0;right:0;bottom:0;z-index:71;width:min(520px,100%);background:var(--bg);border-left:1px solid var(--line-2);display:flex;flex-direction:column;
  transform:translateX(100%);visibility:hidden;transition:transform .25s var(--ease),visibility 0s .25s}
.drawer.open{transform:none;visibility:visible;transition:transform .5s var(--ease-drawer),visibility 0s}
.drawer-img{aspect-ratio:16/9;overflow:hidden;background:var(--bg-3);flex:none}
.drawer-img img{width:100%;height:100%;object-fit:cover;filter:saturate(.8)}
.drawer-close{position:absolute;z-index:2;top:14px;right:14px;width:44px;height:44px;border-radius:50%;background:var(--bg);border:1px solid var(--line-2);display:grid;place-items:center;font-size:18px;transition:transform .16s var(--ease)}
.drawer-close:active{transform:scale(.92)}
.drawer-body{padding:28px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:14px}
.drawer-body h3{font-family:var(--display);font-weight:600;font-size:32px;letter-spacing:-.03em;line-height:1.05;text-wrap:balance}
.drawer-facts{display:flex;flex-wrap:wrap;gap:18px;color:var(--mute);font-size:14px}
.drawer-facts span{display:inline-flex;align-items:center;gap:6px}
.drawer-body h4{font-size:14px;color:var(--mute);font-weight:500;margin-top:10px}
.mods{list-style:none;counter-reset:m;display:flex;flex-direction:column}
.mods li{counter-increment:m;display:grid;grid-template-columns:36px 1fr auto;gap:12px;align-items:baseline;padding:14px 0;border-bottom:1px solid var(--line)}
.mods li::before{content:counter(m,decimal-leading-zero);font-family:var(--mono);font-size:12px;color:var(--acc)}
.mods li small{color:var(--faint);font-family:var(--mono);font-size:12px}
.drawer-foot{margin-top:auto;padding:20px 28px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}
.drawer-foot small{color:var(--faint);font-size:13px}
.drawer .mods li{opacity:0;transform:translateY(8px)}
.drawer.open .mods li{opacity:1;transform:none;transition:opacity .35s ease,transform .45s var(--ease);transition-delay:calc(var(--i) * 40ms + 180ms)}
.course.enter{animation:pop .35s var(--ease) both;animation-delay:calc(min(var(--i),8) * 35ms)}
@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.98)}}
.empty{display:none;grid-column:1/-1;text-align:center;padding:72px 20px;border:1px dashed var(--line-2);border-radius:var(--r)}
.empty.show{display:block}
.empty i{font-size:34px;color:var(--mute)}
.empty h3{font-family:var(--display);font-weight:600;font-size:24px;margin:12px 0 6px}
.empty p{color:var(--mute);margin-bottom:16px}
.empty-alt{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:20px}
.cat-foot{display:flex;justify-content:center;margin-top:40px}
.cat-foot .btn[hidden]{display:none}

/* ---------- Opiniones ---------- */
.ops-title{font-size:clamp(38px,5vw,68px);margin-bottom:48px;max-width:14ch}
.ops{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}
.op{border-radius:var(--r);border:1px solid var(--line);padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:28px}
.op blockquote{font-size:17px;line-height:1.5;color:var(--fg);max-width:48ch}
.op-main{background:var(--acc);color:var(--acc-ink);border-color:transparent;padding:clamp(28px,4vw,48px)}
.op-main > i{font-size:44px}
.op-main blockquote{font-family:var(--display);font-weight:500;font-size:clamp(24px,2.6vw,34px);letter-spacing:-.02em;line-height:1.2;color:var(--acc-ink)}
.op-side{display:grid;gap:16px}
.op figcaption{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--mute)}
.op-main figcaption{color:color-mix(in oklab,var(--acc-ink) 75%,transparent)}
.op figcaption img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.op figcaption b{display:block;color:var(--fg);font-weight:600}
.op-main figcaption b{color:var(--acc-ink)}

/* ---------- WhatsApp ---------- */
.wa{position:fixed;right:20px;bottom:20px;z-index:55;display:flex;align-items:center;gap:10px;height:56px;padding:0 20px 0 16px;border-radius:999px;
  background:#1f9d55;color:#fff;font-weight:600;font-size:15px;box-shadow:0 14px 34px -12px rgba(0,0,0,.5);
  opacity:0;transform:translateY(16px) scale(.96);pointer-events:none;transition:opacity .25s ease,transform .3s var(--ease)}
.wa.show{opacity:1;transform:none;pointer-events:auto}
.wa:active{transform:scale(.96)}
.wa i{font-size:26px}
@media (max-width:767px){.wa{right:14px;bottom:14px;width:56px;padding:0;justify-content:center}.wa span{display:none}}

/* ---------- Cookies ---------- */
.cookies{position:fixed;left:20px;bottom:20px;z-index:80;width:min(420px,calc(100% - 40px));padding:22px;border-radius:var(--r);background:var(--bg-2);border:1px solid var(--line-2);box-shadow:var(--shadow);
  transform:translateY(calc(100% + 40px));transition:transform .5s var(--ease-drawer)}
.cookies.show{transform:none}
.cookies.hide{transform:translateY(calc(100% + 40px));transition:transform .25s var(--ease)}
.cookies h3{font-family:var(--display);font-weight:600;font-size:20px;letter-spacing:-.02em;margin-bottom:6px}
.cookies p{color:var(--mute);font-size:14px}
.cookies p a{color:var(--fg);text-decoration:underline}
.cookies-row{display:flex;gap:8px;margin-top:16px}
.cookies-row .btn{flex:1;justify-content:center;height:46px;padding:0 16px}
@media (max-width:767px){.cookies{left:12px;bottom:12px;width:calc(100% - 24px)}}
@media (max-width:767px){.ops{grid-template-columns:1fr}}

/* ---------- Cómo funciona (sticky) ---------- */
.how{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:start}
.how-left{position:sticky;top:120px}
.how-left h2{font-size:clamp(38px,5vw,68px)}
.how-left p{color:var(--mute);margin-top:18px;font-size:18px;max-width:40ch}
.steps{display:flex;flex-direction:column;gap:16px}
.step{display:grid;grid-template-columns:auto 1fr;gap:28px;padding:36px;border-radius:var(--r);background:var(--bg-2);border:1px solid var(--line)}
.step .big{font-family:var(--display);font-weight:300;font-size:72px;line-height:.8;color:var(--acc);letter-spacing:-.04em}
.step h3{font-family:var(--display);font-weight:600;font-size:28px;letter-spacing:-.03em}
.step p{color:var(--mute);margin-top:8px;max-width:46ch}

/* ---------- FAQ ---------- */
.faq{max-width:880px;margin:0 auto}
.faq h2{font-size:clamp(38px,5vw,68px);margin-bottom:40px;text-align:center}
.qa{border-top:1px solid var(--line)}
.qa:last-child{border-bottom:1px solid var(--line)}
.qa button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0;text-align:left;font-family:var(--display);font-size:clamp(19px,2vw,23px);font-weight:500;letter-spacing:-.02em}
.qa .pm{flex:none;width:36px;height:36px;border-radius:50%;border:1px solid var(--line-2);display:grid;place-items:center;transition:transform .25s var(--ease),background-color .2s ease,color .2s ease,border-color .2s ease}
.qa button:active .pm{transform:scale(.9)}
.qa[open-state="true"] .pm{transform:rotate(45deg);background:var(--acc);color:var(--acc-ink);border-color:var(--acc)}
.qa[open-state="true"] button:active .pm{transform:rotate(45deg) scale(.9)}
.qa .ans{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s var(--ease)}
.qa[open-state="true"] .ans{grid-template-rows:1fr}
.qa .ans > div{overflow:hidden}
.qa .ans p{color:var(--mute);padding-bottom:26px;max-width:62ch;opacity:0;transform:translateY(-6px);transition:opacity .15s ease,transform .2s var(--ease)}
.qa[open-state="true"] .ans p{opacity:1;transform:none;transition:opacity .3s ease .08s,transform .35s var(--ease) .05s}

/* ---------- CTA + footer ---------- */
.cta{border-radius:28px;background:var(--acc);color:var(--acc-ink);padding:clamp(40px,7vw,96px);display:grid;grid-template-columns:1.3fr .7fr;gap:40px;align-items:end;overflow:hidden;position:relative}
.cta h2{font-size:clamp(40px,6vw,88px)}
.cta p{font-size:18px;opacity:.8;margin-bottom:24px}
.cta .btn{background:var(--acc-ink);color:var(--acc)}
.cta .btn .ar{background:var(--acc);color:var(--acc-ink)}
footer{padding:96px 0 32px}
.foot-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:64px}
.foot-top p{color:var(--mute);max-width:32ch;margin-top:14px;font-size:15px}
.foot-top h4{font-size:13px;color:var(--faint);font-weight:500;margin-bottom:14px}
.foot-top ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.foot-top ul a{color:var(--mute);font-size:15px;transition:color .2s}
.foot-top ul a:hover{color:var(--fg)}
.wordmark{font-family:var(--display);font-weight:800;font-size:clamp(80px,19vw,300px);letter-spacing:-.04em;line-height:.8;color:var(--bg-3);user-select:none;padding-bottom:.05em}
.foot-bot{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:24px;border-top:1px solid var(--line);color:var(--faint);font-size:13px}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .grid{grid-template-columns:repeat(3,1fr)}
  .nav-links{display:none}
  .menu-btn{display:grid}
}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .stack{height:440px;margin-top:8px}
  .cover{width:230px}
  .c2{left:28%}
  .bento{grid-template-columns:1fr 1fr;grid-auto-rows:200px}
  .t-a{grid-column:span 2;grid-row:span 2}
  .t-b,.t-c,.t-d,.t-e,.t-f{grid-column:span 1}
  .how{grid-template-columns:1fr;gap:40px}
  .how-left{position:static}
  .cta{grid-template-columns:1fr}
  .foot-top{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  .hero{padding-top:100px}
  .nav .btn{height:40px;padding:0 16px}
  .chips{flex-wrap:wrap;overflow:visible}
  .trust{grid-template-columns:1fr;gap:14px}
  .grid{grid-template-columns:1fr 1fr;gap:10px}
  .course-body{padding:14px}
  .course h3{font-size:16px}
  .course .meta span{display:none}
  .bento{grid-template-columns:1fr;grid-auto-rows:auto}
  .tile{min-height:190px}
  .t-a{grid-column:auto;grid-row:auto;min-height:340px}
  .t-b,.t-c,.t-d,.t-e,.t-f{grid-column:auto}
  .rutas-head .arrows{display:none}
  .step{padding:24px;gap:18px}
  .step .big{font-size:52px}
  .cat-bar{flex-direction:column;align-items:stretch}
  .search{width:100%}
  .foot-top{grid-template-columns:1fr}
}
@media (max-width:420px){
  .cover{width:190px}
  .stack{height:380px}
  .chip-float{bottom:10px}
}

/* ---------- Mobile menu ---------- */
/* Opens from the menu button (origin-aware); closing is faster than opening */
.sheet{position:fixed;inset:0;z-index:60;background:var(--bg);padding:96px clamp(16px,4vw,40px) 40px;display:flex;flex-direction:column;gap:6px;
  clip-path:circle(0 at calc(100% - 40px) 36px);transition:clip-path .3s var(--ease),visibility 0s .3s;visibility:hidden}
.sheet.open{clip-path:circle(150% at calc(100% - 40px) 36px);visibility:visible;transition:clip-path .55s var(--ease-drawer),visibility 0s}
.sheet a{font-family:var(--display);font-weight:600;font-size:40px;letter-spacing:-.04em;padding:6px 0;border-bottom:1px solid var(--line);
  opacity:0;transform:translateY(12px);transition:opacity .15s ease,transform .15s ease}
.sheet.open a{opacity:1;transform:none;transition:opacity .4s ease,transform .5s var(--ease);transition-delay:calc(var(--i) * 45ms + 120ms)}
.sheet .close{position:absolute;top:15px;right:clamp(16px,4vw,40px);width:42px;height:42px;border-radius:50%;border:1px solid var(--line-2);display:grid;place-items:center;font-size:18px}

/* ---------- Reduced motion ---------- */
/* Reduced motion = no movement, but gentle fades stay because they help reading */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .intro{display:none}
  .js [data-r],.js .h-in{transform:none;filter:none}
  .js .hero h1 .ln > span{transform:none}
  .js .stack .cover{translate:none}
  .js .ruta[data-r] .ruta-img{clip-path:none}
  .stack-inner{transform:none!important}
  .marquee-track{animation:none}
  .course.enter{animation:fade .2s ease both}
  .sheet,.sheet.open{clip-path:none;transition:opacity .2s ease,visibility 0s}
  .sheet{opacity:0}.sheet.open{opacity:1}
  .sheet a,.sheet.open a{transform:none}
}
@keyframes fade{from{opacity:0}}
/* Real catalogue and commerce: same design tokens as supplied model. */
.course-img{aspect-ratio:4/3;display:block;padding:14px}.course-img img{object-fit:contain;filter:none}.course .meta{gap:10px}.course .price{font-size:20px;color:var(--fg);font-weight:650}.content-link{font-size:13px;color:var(--mute);text-decoration:underline;text-underline-offset:4px}.catalog-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;font-size:13px;color:var(--mute)}select{font:inherit;border:1px solid var(--line-2);border-radius:10px;background:var(--bg);color:var(--fg);padding:10px}.real-pack{display:flex;justify-content:center;align-items:center;gap:0;background:var(--bg-3);padding:24px}.real-pack img{width:33.33%;height:100%;object-fit:contain;filter:none}.real-pack img:nth-child(1){transform:rotate(-8deg) translateX(10px)}.real-pack img:nth-child(3){transform:rotate(8deg) translateX(-10px)}.real-pack img:nth-child(2){z-index:1}.ruta:hover .real-pack img{transform:none}.ruta-foot button{font-weight:600;white-space:nowrap}.ruta-foot span{font-size:12px;color:var(--mute)}.ruta-foot b{font-size:18px;color:var(--fg)}.tile .bgimg img{object-fit:cover;filter:blur(2px) brightness(.35)}.tile .count{font-family:var(--mono);font-size:11px}.stack .cover img{object-fit:contain;background:var(--bg-3);filter:none}.stack .cap strong{font-size:16px}.stack .cap{background:linear-gradient(transparent,rgba(0,0,0,.9));color:#fff}.stack .cap small{color:#eee}.drawer{width:min(660px,100%)}.drawer-body{padding-top:64px;flex:1}.detail-cover{height:230px;object-fit:contain;border-radius:12px;background:var(--bg-2);padding:12px}.detail-purchase,.total{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.detail-purchase>strong,.total strong{font-size:25px}.muted{color:var(--mute);font-size:14px}.basket-row{display:flex;align-items:flex-start;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.basket-row img{width:66px;height:84px;object-fit:contain;flex:none;background:var(--bg-2)}.basket-row>div{flex:1;min-width:0;font-size:14px}.basket-row p{margin-top:6px;font-weight:600}.remove{font-size:12px;text-decoration:underline;color:var(--mute);padding:8px 0}.course-content{overflow-wrap:anywhere;line-height:1.8}.course-content p,.course-content ul,.course-content ol{margin:16px 0}.course-content ul,.course-content ol{padding-left:24px}.course-content img{max-width:100%;height:auto;margin:18px auto}.course-content img[src$=".svg"]{width:1em;height:1em;display:inline-block;margin:0;vertical-align:middle}.course-content h2,.course-content h3,.course-content h4{margin:24px 0 12px;font-family:var(--display);font-size:24px;line-height:1.3}.course-content table{display:block;overflow:auto}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--fg);color:var(--bg);padding:14px 22px;border-radius:30px;z-index:100;opacity:0;pointer-events:none;transition:.25s;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.cart-count{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:var(--fg);color:var(--bg);font-size:12px}.product-page{padding-top:130px;padding-bottom:70px}.breadcrumb{display:block;color:var(--mute);margin-bottom:30px}.product-head{display:grid;grid-template-columns:.65fr 1fr;gap:50px;align-items:start;margin-bottom:60px}.product-head>img{width:100%;height:400px;object-fit:contain;background:var(--bg-2);border-radius:var(--r);padding:25px}.product-head h1{font-size:clamp(30px,4vw,52px);margin:20px 0}.product-head p{color:var(--mute);margin:20px 0}.product-price{font-family:var(--display);font-size:32px}.product-page>.course-content{max-width:880px;margin:30px auto 60px}.category-grid{margin-top:40px}.detail-footer{padding:40px 0}.checkout-layout{display:grid;grid-template-columns:1fr .85fr;gap:60px;align-items:start}.checkout-box{border:1px solid var(--line-2);background:var(--bg-2);border-radius:var(--r);padding:30px}.checkout-layout h1{font-size:clamp(36px,5vw,60px);margin-bottom:30px}.checkout-layout h2{font-family:var(--display);margin:24px 0 16px;font-size:24px}.checkout-layout label{display:block;margin:18px 0;font-size:14px}.checkout-layout input:not([type=checkbox]){display:block;width:100%;margin-top:8px;padding:14px;background:var(--bg-2);border:1px solid var(--line-2);border-radius:10px}.accept-label{display:flex!important;gap:12px;align-items:flex-start}.accept-label input{margin-top:6px}.pay-method{width:100%;text-align:left;padding:18px;border:1px solid var(--line-2);border-radius:12px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;gap:15px}.pay-method strong{font-size:17px}.pay-method small{display:block;color:var(--mute);font-size:12px;margin-top:4px}.pay-method:disabled{opacity:.5;cursor:not-allowed}.payment-status{border-left:3px solid var(--acc);padding:14px;margin:20px 0;color:var(--mute);background:var(--bg-2)}.order-panel{max-width:760px;margin:auto}.order-panel h1{font-size:48px;margin-bottom:24px}.order-panel p{margin:20px 0}.order-ref{font-family:var(--mono);overflow-wrap:anywhere}.nojs-link{margin-top:20px}.nav .btn{white-space:nowrap}
@media(max-width:900px){.checkout-layout{grid-template-columns:1fr;gap:32px}.product-head{gap:28px}.drawer-body{padding:60px 22px 28px}}
@media(max-width:600px){.catalog-tools{flex-direction:column;align-items:flex-start}.product-head{grid-template-columns:1fr}.product-head>img{height:280px}.product-page{padding-top:100px}.detail-purchase{flex-wrap:wrap}.drawer-body h3{font-size:27px}.checkout-box{padding:20px}.course .price{font-size:18px}.course-body{padding:14px}.course h3{font-size:17px}.grid{gap:10px}.cart-trigger{padding:0 12px;font-size:12px}.nav .logo{font-size:20px}.real-pack{padding:18px}.course-img{padding:8px}.detail-footer{padding:30px 20px}.checkout-layout h1{font-size:40px}}

/* Course pricing: transparent source reference and clear selling price. */
.price-pair{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;text-align:left;line-height:1.15}
.reference-price,.our-price{display:flex;flex-direction:column;gap:7px}.reference-price span,.our-price span{font-size:10px;font-weight:600;letter-spacing:.025em;line-height:1.4}.reference-price{color:var(--muted,#8a8a85)}.reference-price del{font-size:19px;font-weight:500;text-decoration-thickness:1px}.our-price strong{font-size:30px;letter-spacing:-1.2px;color:var(--acc,#df512b);font-weight:750}.our-price span{color:var(--text,inherit)}
.course .meta{align-items:flex-end;gap:10px}.course .price-pair{gap:12px}.course .reference-price span{max-width:110px;font-size:9px}.course .reference-price del{font-size:16px}.course .our-price strong{font-size:25px}.course .meta button{flex-shrink:0}
.detail-purchase{padding:22px 0;border-top:1px solid var(--line,#7773);border-bottom:1px solid var(--line,#7773);gap:20px}.detail-purchase .our-price strong,.product-head .our-price strong{font-size:42px}.reference-note{font-size:11px;line-height:1.65;color:var(--muted,#92928b);max-width:760px;margin:16px 0 28px}.reference-note a{text-decoration:underline;text-underline-offset:3px}.product-head .price-pair{margin:24px 0}.course-content{max-width:900px;margin:48px auto;line-height:1.8}.course-content h2,.course-content h3,.course-content h4{line-height:1.3;letter-spacing:-.025em;margin:30px 0 16px}.course-content h3{font-size:23px}.course-content h4{font-size:20px}.course-content p{margin:14px 0}.course-content li{margin:10px 0}.course-content img{height:auto;max-width:100%;border-radius:10px}.course-content>h4:first-of-type{font-size:15px;color:var(--muted,#92928b)}
@media(max-width:600px){.detail-purchase{align-items:stretch;flex-direction:column}.detail-purchase .btn{width:100%}.course .meta{flex-wrap:wrap}.course .price-pair{flex:1}.product-head .our-price strong{font-size:36px}}

.pack-pricing{width:100%;margin:18px 0;padding:20px;border:1px solid var(--line,#8884);border-radius:16px;background:var(--surface,#88888808)}.pack-reference,.pack-separate,.pack-final{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0}.pack-reference{font-size:11px;color:var(--muted,#8c8c86)}.pack-reference del{font-size:16px;white-space:nowrap}.pack-separate{font-size:12px}.pack-final{border-top:1px solid var(--line,#8884);padding-top:16px;align-items:flex-end}.pack-final>span{font-size:12px;display:grid;gap:8px}.pack-final b{width:fit-content;padding:5px 9px;border-radius:20px;background:#d94e2720;color:var(--acc,#d94e27)}.pack-final strong{font-size:32px;font-weight:750;letter-spacing:-1px;white-space:nowrap}.pack-pricing>p{font-size:11px!important;margin:12px 0 0!important;color:var(--acc,#d94e27)}.ruta-foot{display:flex;flex-direction:column;align-items:stretch!important}.ruta-foot>button{align-self:flex-end}.ruta-foot .pack-pricing{padding:14px;margin:0 0 12px}.ruta-foot .pack-final strong{font-size:28px}.discount-summary{margin-top:20px}.discount-summary>div{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin:12px 0}.discount-line,.saving-note{color:var(--acc,#d94e27)}.discount-line b{white-space:nowrap}.saving-note{font-size:12px;line-height:1.6}.pack-includes{margin-top:30px}.promotion-banner{max-width:1240px;margin:0 auto 28px;padding:18px 24px;background:#df512b10;border:1px solid #df512b30;border-radius:12px;font-size:13px;line-height:1.7}

/* Clear two-step checkout and accessible payment selection. */
.checkout-intro{font-size:15px;line-height:1.7;color:var(--muted);margin:14px 0 32px}.checkout-step{display:flex;align-items:center;gap:12px;margin:30px 0 20px}.checkout-step>b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ink,#191a17);color:var(--bg,#fff);font-size:13px}.checkout-step h2{font-size:21px;letter-spacing:-.6px}.payment-options{display:grid;gap:12px}.pay-choice{width:100%;display:flex;align-items:center;gap:15px;text-align:left;padding:20px;border:1px solid var(--line,#7775);border-radius:14px;background:transparent;color:inherit;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}.pay-choice:hover{border-color:var(--acc,#d94e27)}.pay-choice.selected{border:2px solid var(--acc,#d94e27);padding:19px;background:#df512b08}.payment-copy{display:flex;flex:1;flex-direction:column;gap:6px}.payment-copy strong{font-size:15px;font-weight:650}.payment-copy small{font-size:12px;color:var(--muted);line-height:1.5}.payment-icon{display:grid;place-items:center;flex-shrink:0;width:46px;height:38px;border-radius:8px;font-size:24px;font-weight:800;background:#7771}.card-icon{color:var(--ink,#222)}.paypal-icon{background:#e7efff;color:#164899;font-style:italic}.crypto-icon{background:#fff0d4;color:#9f6500}.payment-check{width:19px;height:19px;border:1px solid var(--line,#888);border-radius:50%;flex-shrink:0}.selected .payment-check{border:5px solid var(--acc,#d94e27)}.method-help{font-size:12px;line-height:1.6;min-height:38px;color:var(--muted);margin:16px 0}.checkout-submit{width:100%;display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:58px;padding:18px 24px;border:0;border-radius:12px;background:var(--acc,#d94e27);color:white;font-weight:650;font-size:16px;cursor:pointer;transition:filter .2s}.checkout-submit:hover:enabled{filter:brightness(.9)}.checkout-submit:disabled{background:var(--ink,#24251f);color:var(--bg,#fff);opacity:.45;cursor:not-allowed}.checkout-notice{font-size:12px;line-height:1.65;border-radius:9px;background:#7771;padding:14px 16px;margin:16px 0}.payment-reassurance{font-size:11px;line-height:1.6;color:var(--muted);text-align:center;margin:15px 0}.pay-choice:focus-visible,.checkout-submit:focus-visible{outline:3px solid var(--acc,#d94e27);outline-offset:4px}.checkout-box{align-self:start;position:sticky;top:105px}.checkout-box .basket-row img{object-fit:contain;background:#7771}.checkout-box del{font-size:11px;color:var(--muted)}.latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.latest-description{margin:-8px 0 26px;color:var(--muted);font-size:14px}.eyebrow{display:block;font-size:10px;letter-spacing:.14em;font-weight:650;color:var(--acc,#d94e27);margin-bottom:12px}.latest-section .course{display:flex;flex-direction:column}.latest-section .course-img{height:260px}.latest-section .course-img img{object-fit:contain;height:100%;width:100%}
@media(max-width:760px){.latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.latest-section .course-img{height:210px}.checkout-box{position:static}.pay-choice{padding:16px;gap:12px}.pay-choice.selected{padding:15px}.payment-copy strong{font-size:14px}.payment-copy small{font-size:11px}.checkout-step h2{font-size:20px}.checkout-intro{font-size:14px}.payment-icon{width:37px;height:34px}.latest-section .price-pair{flex-direction:column;align-items:flex-start}}
@media(max-width:420px){.latest-section .course-img{height:175px}.payment-options{gap:10px}.pay-choice{gap:10px}.payment-copy small{max-width:210px}}

/* Mobile layout: consistent gutters, readable commerce cards, lighter motion. */
:root{--muted:var(--mute);--ink:var(--fg);--text:var(--fg);--surface:var(--bg-2)}
[hidden]{display:none!important}main,.wrap,.hero-grid,.checkout-layout,.product-head,.course-body,.ruta-body{min-width:0}.pack-grid{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:20px;padding-bottom:0}.pack-grid .ruta{min-width:0;transform:none}.pack-filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 14px}.pack-filters button{padding:10px 18px;border:1px solid var(--line-2);border-radius:30px;min-height:44px;font-size:13px}.pack-filters [aria-pressed=true]{background:var(--fg);color:var(--bg);border-color:var(--fg)}.pack-results{font-size:12px;color:var(--mute);margin-bottom:24px}.pack-more{display:flex;justify-content:center;margin-top:28px}.pack-offer{position:absolute;top:14px;right:14px;border-radius:30px;background:var(--acc);color:var(--acc-ink);padding:6px 12px;font-size:12px;font-weight:650}.rutas-head .arrows{display:none}.pack-grid .ruta-img{aspect-ratio:16/9}.pack-grid .ruta-foot .btn{align-self:stretch;justify-content:center}.pack-grid .ruta-body{padding:20px}.pack-grid .ruta h3{font-size:24px;line-height:1.15}.pack-grid .pack-reference{align-items:flex-start}.pack-grid .pack-reference span{max-width:150px}.pack-grid .pack-final strong{font-size:27px}.pack-grid .pack-pricing{border:0;padding:0;background:none}.pack-grid .ruta-body>p{font-size:14px;line-height:1.65}.pack-grid .ruta-foot{padding-top:12px}
@media(max-width:1000px){.pack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 html{scroll-behavior:auto;scroll-padding-top:88px}body{overflow-x:clip}body::after{display:none}.wrap{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}.nav .wrap{gap:10px}.nav .logo{font-size:21px}.nav .btn{padding:0 12px;height:42px;font-size:12px}.nav .logo-mark{width:30px;height:30px}.nav .btn .cart-count{min-width:21px;height:21px}.nav .menu-btn{flex-shrink:0}.sec{padding:54px 0}.sec-head{margin-bottom:26px}.sec-head h2{font-size:36px;line-height:1.06}.hero{padding-top:102px;padding-bottom:24px;min-height:0}.hero-grid{gap:18px}.hero h1{font-size:clamp(37px,10vw,58px);letter-spacing:-.045em;line-height:1.04;margin-bottom:20px}.hero p.lead{font-size:16px;line-height:1.65}.hero-search{margin-top:24px;padding-left:40px}.hero-search>i{left:14px}.hero-search input{font-size:16px;height:46px}.hero-search .btn{height:46px;padding:0 17px;font-size:13px}.hero-search .btn .ar{display:none}.quick{gap:6px;font-size:12px}.quick button{height:40px;padding:0 11px}.stack{height:315px;max-width:390px;width:100%;margin:8px auto 0;perspective:none}.cover{width:43%;box-shadow:0 15px 30px -18px #0008}.c1{left:3%;top:42px;transform:rotate(-8deg)}.c2{left:29%;top:12px;transform:rotate(3deg)}.c3{right:1%;top:64px;transform:rotate(9deg)}.stack .cap{padding:10px}.stack .cap strong{font-size:11px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.stack .cap small{font-size:8px}.chip-float{display:none}.trust{padding-top:20px;gap:14px}.trust i{width:36px;height:36px;font-size:19px}.trust b{font-size:13px}.trust span{font-size:12px}.latest-description{font-size:13px;line-height:1.6;margin:0 0 22px}.catalog-tools{gap:12px;margin-bottom:20px}.catalog-tools label{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}.catalog-tools select{flex:1;max-width:245px;min-height:44px}.chips{gap:7px}.chip{padding:9px 12px;font-size:12px;min-height:40px}.promotion-banner{margin:0 20px 24px;padding:15px 16px;font-size:12px}.drawer{width:100%;max-width:none;border-left:0}.drawer-body{padding:72px 20px calc(30px + env(safe-area-inset-bottom));gap:14px;scrollbar-gutter:stable}.drawer-close{top:14px;right:18px}.drawer-body h3{font-size:28px;line-height:1.14;padding-right:22px}.detail-cover{height:210px}.course-content{font-size:15px;line-height:1.75;margin:20px 0}.course-content h3{font-size:21px}.course-content h4{font-size:19px}.detail-purchase{gap:16px}.detail-purchase .btn,.drawer-body>.btn{width:100%;justify-content:center;min-height:50px}.basket-row{gap:12px;padding:16px 0}.basket-row img{width:55px;height:72px}.total strong{font-size:25px}.reference-note{font-size:11px;line-height:1.6}.pack-pricing{padding:16px}.pack-reference{gap:12px}.pack-reference del{font-size:15px}.pack-final strong{font-size:29px}.product-page{padding-top:100px;padding-bottom:40px}.product-head{gap:24px;margin-bottom:26px}.product-head h1{font-size:32px;line-height:1.08}.product-head>img{height:260px;padding:16px}.product-head .btn{width:100%;justify-content:center}.checkout-layout{gap:30px}.checkout-layout h1{font-size:36px;line-height:1.06;margin-bottom:18px}.checkout-intro{margin-bottom:24px}.checkout-step{margin:24px 0 14px}.checkout-step h2{margin:0;font-size:20px}.checkout-box{padding:20px;border-radius:16px}.checkout-layout input:not([type=checkbox]){font-size:16px;min-height:50px}.pay-choice{min-height:82px}.checkout-submit{min-height:54px}.pack-filters{gap:7px;margin-top:0}.pack-filters button{font-size:12px;padding:9px 14px}.pack-grid{gap:20px}.pack-grid .ruta-body{gap:12px}.step{padding:22px 18px;gap:14px}.cta{padding:30px 22px;gap:24px;border-radius:20px}.cta h2{font-size:37px}.cta .btn{justify-self:start;max-width:100%}.foot-top{gap:24px}.sheet a{font-size:32px;min-height:56px}.toast{bottom:calc(18px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 36px);font-size:13px;padding:12px 18px}.js .h-in,.js [data-r],.js .stack .cover{opacity:1;transform:none;translate:none;filter:none;clip-path:none}.marquee-track{animation-duration:60s}
}
@media(max-width:600px){
 .grid,.latest-grid{grid-template-columns:1fr;gap:14px}.course,.latest-section .course{display:grid;grid-template-columns:105px minmax(0,1fr);align-items:stretch;min-width:0;border-radius:15px}.course .course-img,.latest-section .course-img{height:auto;aspect-ratio:auto;min-height:170px;padding:12px 8px;display:flex;align-items:center}.course .course-img img,.latest-section .course-img img{width:100%;height:auto;max-height:160px;object-fit:contain}.course-body{padding:16px 14px 14px 10px;display:flex;flex-direction:column}.course h3{font-size:17px;line-height:1.25;margin:8px 0 12px;-webkit-line-clamp:3}.course .tag{font-size:10px}.course .meta{flex-wrap:wrap;gap:12px;margin-top:auto;align-items:flex-end}.course .price-pair,.latest-section .price-pair{flex-direction:row;gap:14px;align-items:flex-end;flex-basis:100%}.course .reference-price{max-width:100px}.course .reference-price span{display:block;font-size:9px;line-height:1.3}.course .our-price span{display:block;font-size:9px}.course .reference-price del{font-size:14px}.course .our-price strong{font-size:25px}.course .meta button{padding:10px 15px;min-height:42px;border-radius:30px;background:var(--fg);color:var(--bg);font-size:12px;width:100%;text-align:center}.course .content-link{font-size:12px;margin-top:12px;padding:4px 0}.pack-grid{grid-template-columns:1fr}.pack-grid .ruta-img{aspect-ratio:1.85}.pack-grid .ruta h3{font-size:25px}.pack-grid .ruta-body{padding:22px}.pack-grid .pack-final strong{font-size:32px}.pack-grid .pack-reference span{max-width:none}.search input{font-size:16px}.t-a{min-height:270px}.tile{min-height:170px;padding:22px}.tile h3{font-size:27px}
}
@media(max-width:360px){.wrap{padding-left:16px;padding-right:16px}.nav .logo{font-size:19px}.nav .btn{padding:0 9px}.course,.latest-section .course{grid-template-columns:86px minmax(0,1fr)}.course-body{padding-right:12px}.course .price-pair{gap:10px}.course .our-price strong{font-size:23px}.hero h1{font-size:36px}.hero-search input::placeholder{font-size:13px}.hero-search .btn{padding:0 13px}.stack{height:285px}.pack-grid .ruta-body{padding:18px}.pack-final strong{font-size:27px}.pay-choice{padding:14px}.pay-choice.selected{padding:13px}}
@media(max-width:767px){.hero-grid{grid-template-columns:minmax(0,1fr)}.hero-grid>div{min-width:0;max-width:100%}.hero-search{width:100%;max-width:100%}.hero-search .mag-wrap{flex-shrink:0}.hero-search input{width:0}.hero-glow{max-width:100vw}.nav .wrap>*{min-width:0}.hero h1 .ln>span{max-width:100%}.tile{overflow:hidden}.pack-reference,.pack-separate{flex-wrap:wrap}}
@media(max-width:767px){html,body{width:100%;max-width:100%;overflow-x:hidden}.hero-grid{width:100%}.drawer{overflow-x:hidden}.hero-glow{right:-160px}}

.pack-collection .pack-grid{padding-inline:0;scroll-padding-inline:0}.pack-collection .pack-filters{margin-left:0;margin-right:0}.pack-collection .pack-results{margin-left:0;margin-right:0}

/* Price hierarchy: course price first, compact secondary add control. */
.course .meta{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:auto;padding-top:14px}.course .price-pair,.latest-section .course .price-pair{flex-basis:100%;display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:14px;width:100%;min-width:0}.course .reference-price{gap:5px;flex:1;min-width:0}.course .reference-price span{display:block;font-size:10px;max-width:130px;color:var(--mute)}.course .reference-price del{font-size:16px;line-height:1.15;font-weight:450;color:var(--mute)}.course .our-price{gap:5px;flex-shrink:0}.course .our-price span{display:block;font-size:10px;color:var(--fg)}.course .our-price strong{font-size:32px;line-height:1.05;letter-spacing:-1.1px;font-weight:750;color:var(--fg)}.course .meta button{width:auto;min-width:0;min-height:40px;height:auto;padding:8px 14px;font-size:12px;line-height:1.2;border:1px solid var(--line-2);border-radius:9px;background:transparent;color:var(--fg);font-weight:550;box-shadow:none}.course .meta button:hover{border-color:var(--acc);background:var(--acc-soft)}.course .content-link{font-size:12px;margin-top:10px;align-self:flex-start}.course .meta{border-top:1px solid var(--line)}
.priced-row{gap:16px;align-items:flex-start}.priced-row img{width:64px;height:88px}.basket-title{font-size:14px;line-height:1.45;font-weight:550;display:block}.basket-prices{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:15px}.basket-original,.basket-ours{display:flex;flex-direction:column;gap:5px}.basket-original{color:var(--mute)}.basket-original span,.basket-ours span{font-size:10px;line-height:1.4;font-weight:450}.basket-original del{font-size:16px;line-height:1.2;font-weight:450;text-decoration-thickness:1px}.basket-ours strong{font-size:28px;line-height:1.05;font-weight:750;letter-spacing:-.8px;color:var(--fg)}.priced-row .basket-base{font-size:11px;line-height:1.6;font-weight:400;color:var(--mute);margin-top:12px}.priced-row .remove{font-size:11px;min-height:36px;margin-top:4px;padding:6px 0}.basket-reference-note{font-size:11px;color:var(--mute);line-height:1.65;margin:12px 0 4px}.discount-summary .summary-reference{color:var(--mute);font-size:11px}.summary-reference del{white-space:nowrap}.checkout-box .basket-ours strong{font-size:27px}.drawer .total strong,.checkout-box .total strong{font-size:31px}
@media(max-width:600px){.course .price-pair,.latest-section .course .price-pair{gap:10px;align-items:flex-end}.course .reference-price{max-width:100px}.course .reference-price span{font-size:9px;line-height:1.3}.course .reference-price del{font-size:14px}.course .our-price span{font-size:9px}.course .our-price strong{font-size:29px;letter-spacing:-1px}.course .meta button{width:auto;min-height:40px;padding:8px 13px;font-size:12px;border-radius:9px}.course .meta{gap:10px;padding-top:12px}.course .content-link{font-size:11px;padding:3px 0;margin-top:7px}.priced-row{gap:12px}.priced-row img{width:50px;height:72px}.basket-title{font-size:14px}.basket-prices{gap:10px;margin-top:12px}.basket-original span,.basket-ours span{font-size:9px}.basket-original del{font-size:14px}.basket-ours strong,.checkout-box .basket-ours strong{font-size:26px}.priced-row .basket-base{font-size:10px}.drawer .total strong,.checkout-box .total strong{font-size:29px}}
@media(max-width:360px){.course .price-pair,.latest-section .course .price-pair{gap:7px}.course .reference-price{max-width:84px}.course .our-price strong{font-size:26px}.course .reference-price del{font-size:13px}.basket-prices{gap:14px}.basket-ours strong{font-size:25px}}

/* Balanced course composition and consistent action spacing. */
.course .course-body{gap:12px;padding:22px}.course h3{line-height:1.28;margin:0 0 6px}.course .course-img,.latest-section .course .course-img{aspect-ratio:1/1;height:auto;display:flex;align-items:center;justify-content:center;padding:18px}.course .course-img img,.latest-section .course .course-img img{width:100%;height:100%;object-fit:contain;max-height:none}.course .meta{display:grid;grid-template-columns:minmax(0,1fr);row-gap:22px;column-gap:0;padding-top:18px;margin-top:auto;align-items:start}.course .meta .price-pair{margin:0;min-width:0}.course .meta button{justify-self:start;align-self:start;margin:0;min-height:42px;padding:10px 15px}.course .content-link{margin-top:2px;min-height:30px;display:inline-flex;align-items:center}.course .our-price strong{line-height:1.1}.basket-prices{margin-top:18px}.priced-row{padding-top:22px;padding-bottom:22px}.priced-row .remove{margin-top:12px}.pack-grid .ruta-foot .btn{margin-top:16px}.detail-purchase{padding-top:26px;padding-bottom:26px;gap:26px}.detail-purchase .price-pair{row-gap:16px}.detail-cover{height:270px}.product-head>img{height:440px;padding:18px}
@media(max-width:1000px) and (min-width:601px){.course .course-body{padding:18px}.course .our-price strong{font-size:29px}.course .reference-price span{max-width:108px}}
@media(max-width:600px){.course,.latest-section .course{grid-template-columns:118px minmax(0,1fr)}.course .course-body{padding:20px 16px 16px 10px;gap:12px}.course h3{font-size:17px;line-height:1.3;margin:6px 0 8px}.course .course-img,.latest-section .course .course-img{height:auto;aspect-ratio:auto;min-height:220px;padding:14px 9px;align-items:center;justify-content:center}.course .course-img img,.latest-section .course .course-img img{height:auto;max-height:205px;max-width:100%;width:100%;object-fit:contain}.course .meta{row-gap:20px;padding-top:16px}.course .meta button{margin:0;padding:9px 14px;min-height:42px}.course .reference-price{max-width:92px}.course .our-price strong{font-size:28px}.course .price-pair,.latest-section .course .price-pair{gap:8px;align-items:flex-end}.course .content-link{margin-top:0;padding:0;min-height:28px}.detail-cover{height:250px}.product-head>img{height:310px}.detail-purchase{gap:24px}.basket-prices{margin-top:16px}.priced-row .remove{margin-top:10px}}
@media(max-width:360px){.course,.latest-section .course{grid-template-columns:96px minmax(0,1fr)}.course .course-body{padding:18px 14px 16px 8px}.course .course-img,.latest-section .course .course-img{padding:12px 7px;min-height:210px}.course .our-price strong{font-size:26px}.course .reference-price{max-width:82px}.course .meta{row-gap:20px}.course .reference-price del{font-size:13px}.course .our-price span{font-size:9px}}
@media(max-width:339px){.course,.latest-section .course{grid-template-columns:1fr}.course .course-img,.latest-section .course .course-img{height:230px;min-height:0;padding:18px}.course .course-img img,.latest-section .course .course-img img{height:100%;width:auto;max-height:100%;max-width:100%}.course .course-body{padding:20px}.course .reference-price{max-width:120px}.course .our-price strong{font-size:29px}}
@media(min-width:601px){.latest-section .course .course-img{height:300px;aspect-ratio:auto}}

/* Compact reference and selling price share one baseline in every view. */
.price-pair,.course .price-pair,.latest-section .course .price-pair{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:flex-end;gap:18px;line-height:1.15}
.reference-price,.course .reference-price{flex:0 0 auto;max-width:none;gap:6px;min-width:0}
.reference-price span,.course .reference-price span,.our-price span,.course .our-price span{display:block;max-width:none;font-size:10px;line-height:1.4;white-space:nowrap}
.reference-price del,.course .reference-price del{display:block;font-size:16px;line-height:1.2;white-space:nowrap;color:var(--mute);font-weight:450}
.our-price,.course .our-price{flex:0 0 auto;gap:6px}
.our-price strong,.course .our-price strong{display:block;font-size:32px;line-height:1;white-space:nowrap;color:var(--fg);letter-spacing:-1px}
.basket-prices{flex-flow:row nowrap;justify-content:flex-start;align-items:flex-end;gap:24px}
.basket-original span,.basket-ours span{white-space:nowrap}.basket-original del,.basket-ours strong{white-space:nowrap;line-height:1}
.product-head .our-price strong,.detail-purchase .our-price strong{font-size:42px}
.quantity-offer{border:1px solid var(--line-2);border-radius:24px;padding:36px!important;margin-bottom:64px;background:var(--bg);box-shadow:0 12px 40px #00000006;overflow:hidden}
.offer-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.offer-kicker{display:block;font-family:var(--mono);font-size:10px;font-weight:600;letter-spacing:.1em;color:var(--acc);margin-bottom:14px}.offer-heading h2{font-family:var(--display);font-size:clamp(30px,4vw,48px);line-height:1.05;letter-spacing:-.045em;font-weight:650}.offer-heading h2 em{font-style:normal;color:var(--acc)}.offer-heading>p{font-size:14px;line-height:1.7;color:var(--mute)}
.offer-tiers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.offer-tier{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:24px;background:var(--bg-2);border:1px solid var(--line);border-radius:14px}.offer-tier>span{font-size:12px;line-height:1.5;font-weight:600}.offer-tier>strong{font-family:var(--display);font-size:clamp(42px,5vw,64px);font-weight:650;line-height:1.1;letter-spacing:-.06em;margin:20px 0 12px;white-space:nowrap}.offer-tier strong small{font-size:.48em;letter-spacing:-.02em;margin-left:3px}.offer-tier>p{font-size:11px;line-height:1.6;color:var(--mute)}.offer-tier.offer-pack{background:var(--acc);border-color:var(--acc);color:#fff;transition:transform .2s,box-shadow .2s}.offer-pack>p{color:#fff}.offer-pack p span{display:inline-block;margin-left:8px}.offer-pack:hover{transform:translateY(-3px);box-shadow:0 8px 24px #df512b30}.offer-pack:focus-visible{outline:3px solid var(--fg);outline-offset:4px}.offer-conditions{font-size:11px;line-height:1.65;color:var(--mute);margin-top:20px;max-width:800px}
@media(max-width:800px){.quantity-offer{padding:26px!important}.offer-tiers{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-tier>strong{font-size:54px}.offer-heading{align-items:flex-start;flex-direction:column;gap:16px}.offer-heading>p br{display:none}}
@media(max-width:600px){.price-pair,.course .price-pair,.latest-section .course .price-pair{gap:14px}.course .reference-price del{font-size:14px}.course .our-price strong{font-size:28px}.course .reference-price span,.course .our-price span{font-size:9px}.basket-prices{gap:18px}.basket-ours strong{font-size:26px}.basket-original del{font-size:14px}.quantity-offer{width:calc(100% - 32px);padding:22px 18px!important;border-radius:20px;margin-bottom:40px}.offer-heading{margin-bottom:24px}.offer-heading h2{font-size:36px}.offer-kicker{font-size:9px;letter-spacing:.06em}.offer-heading>p{font-size:13px}.offer-tiers{gap:10px}.offer-tier{padding:18px 14px;border-radius:12px}.offer-tier>span{font-size:11px}.offer-tier>strong{font-size:48px;margin:14px 0 8px}.offer-tier>p{font-size:10px}.offer-conditions{font-size:10px;margin-top:18px}}
@media(max-width:360px){.course .price-pair,.latest-section .course .price-pair{gap:10px}.course .reference-price del{font-size:13px}.course .our-price strong{font-size:26px}.offer-tier>strong{font-size:42px}.basket-prices{gap:14px}}

.quantity-offer{max-width:1240px;width:calc(100% - 80px)}.offer-tier>span{min-height:3em}.reference-price del,.course .reference-price del{height:32px;display:flex;align-items:flex-end;line-height:1}.product-head .reference-price del,.detail-purchase .reference-price del{height:42px}.basket-original del{height:28px;display:flex;align-items:flex-end;line-height:1}.checkout-box .basket-original del{height:27px}
@media(max-width:600px){.quantity-offer{width:calc(100% - 32px)}.course .reference-price del{height:28px}.basket-original del,.checkout-box .basket-original del{height:26px}}
@media(max-width:360px){.course .reference-price del{height:26px}}

/* Balanced, full-width price columns. */
.price-pair,.course .price-pair,.latest-section .course .price-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;gap:12px;align-items:end;text-align:center}
.reference-price,.course .reference-price,.our-price,.course .our-price{max-width:none;min-width:0;align-items:center;gap:7px}
.our-price,.course .our-price{border-left:1px solid var(--line);padding-left:12px}
.reference-price del,.course .reference-price del{height:26px;justify-content:center;font-size:15px}
.our-price strong,.course .our-price strong{font-size:26px;line-height:1;height:26px;color:var(--acc);font-weight:650;letter-spacing:-.6px}
.our-price span,.course .our-price span{color:var(--acc);font-weight:600}
.detail-purchase .price-pair{flex:1;min-width:220px;max-width:360px}.product-head .price-pair{max-width:430px}
.product-head .our-price strong,.detail-purchase .our-price strong{font-size:32px;height:32px}.product-head .reference-price del,.detail-purchase .reference-price del{height:32px}
.basket-prices{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%;text-align:center}
.basket-original,.basket-ours{align-items:center;min-width:0}.basket-ours{padding-left:12px;border-left:1px solid var(--line)}
.basket-original del,.checkout-box .basket-original del{justify-content:center;height:24px;font-size:15px}.basket-ours strong,.checkout-box .basket-ours strong{font-size:24px;height:24px;font-weight:650;color:var(--acc);letter-spacing:-.5px}.basket-ours span{color:var(--acc)}
@media(max-width:600px){.price-pair,.course .price-pair,.latest-section .course .price-pair{gap:8px}.course .our-price{padding-left:8px}.course .our-price strong{font-size:22px;height:24px;line-height:24px}.course .reference-price del{font-size:13px;height:24px}.course .reference-price span,.course .our-price span{font-size:9px}.basket-prices{gap:8px}.basket-ours{padding-left:8px}.basket-ours strong,.checkout-box .basket-ours strong{font-size:22px;height:24px;line-height:24px}.basket-original del,.checkout-box .basket-original del{font-size:13px;height:24px}.detail-purchase .price-pair{max-width:none;min-width:0}}
@media(max-width:360px){.course .our-price strong{font-size:21px}.course .reference-price del{font-size:12px}}

@media(max-width:600px){.course .price-pair,.latest-section .course .price-pair{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.course .our-price strong{font-size:20px}}

/* Clear, coordinated purchase action below the two prices. */
.course .meta button{display:flex;align-items:center;justify-content:center;gap:12px;justify-self:stretch;width:100%;min-height:46px;padding:12px 16px;border:1px solid var(--acc);border-radius:10px;background:var(--acc);color:var(--acc-ink);font-size:13px;line-height:1.3;font-weight:650;letter-spacing:0;box-shadow:0 3px 8px #00000008;transition:background .18s,transform .18s,box-shadow .18s}.course .meta button span{display:block;font-size:20px;font-weight:400;line-height:1}.course .meta button:hover{background:color-mix(in oklab,var(--acc) 90%,var(--fg));border-color:var(--acc);box-shadow:0 5px 12px #00000012;transform:translateY(-1px)}.course .meta button:focus-visible{outline:3px solid var(--fg);outline-offset:3px}.course .meta button:active{transform:translateY(0);box-shadow:none}.course .content-link{align-self:center;justify-content:center;width:100%}
@media(max-width:600px){.course .meta button{min-height:44px;padding:11px 10px;font-size:12px;gap:8px}.course .meta{row-gap:20px}}

/* Checkout action remains visible while the course list scrolls. */
.drawer-body:has(.cart-review){overflow:hidden;gap:12px;min-height:0;padding-bottom:0}.cart-review{display:flex;flex-direction:column;flex:1;min-height:0;gap:0}.cart-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:100px;padding-right:8px}.cart-checkout-footer{flex:none;border-top:1px solid var(--line-2);background:var(--bg);padding:20px 0 max(22px,env(safe-area-inset-bottom));box-shadow:0 -14px 20px -18px #0004}.cart-total{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.cart-total>div{display:grid;gap:6px}.cart-total span{font-size:13px;font-weight:550}.cart-total small{font-size:11px;color:var(--mute);line-height:1.5}.cart-total>strong{font-family:var(--display);font-size:31px;letter-spacing:-1px;line-height:1.1;white-space:nowrap}.cart-checkout-button{display:flex!important;align-items:center;justify-content:space-between!important;width:100%;min-height:62px;padding:18px 24px;font-size:17px;font-weight:650;border-radius:12px;background:var(--acc);color:var(--acc-ink)}.cart-checkout-button>span:last-child{font-size:25px;font-weight:400}.cart-next-step{text-align:center;color:var(--mute);font-size:11px;margin-top:10px}.cart-payment-summary{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:14px 0 0}.cart-payment-summary>span{font-size:10px;color:var(--mute)}.cart-payment-summary>div{display:flex;gap:6px;flex-wrap:wrap}.cart-payment-summary>div>span{font-size:10px;border:1px solid var(--line-2);border-radius:5px;padding:5px 8px;background:var(--bg-2);color:var(--fg);font-weight:550}.cart-payment-summary>small{width:100%;font-size:10px;line-height:1.5;color:var(--mute);text-align:center}.cart-delivery-note{font-size:10px;color:var(--mute);line-height:1.65;text-align:center;margin-top:12px}.cart-delivery-note a{text-decoration:underline;text-underline-offset:2px}.cart-scroll .basket-reference-note{font-size:10px;padding-bottom:20px}.cart-scroll .discount-summary{margin-bottom:18px}.cart-scroll .priced-row:first-child{padding-top:10px}
@media(max-width:600px){.drawer-body:has(.cart-review){padding-top:66px;gap:10px}.cart-checkout-footer{padding-top:16px}.cart-total{margin-bottom:16px;gap:10px}.cart-total>strong{font-size:28px}.cart-total span{font-size:12px}.cart-total small{font-size:10px}.cart-checkout-button{min-height:58px;font-size:16px;padding:16px 20px}.cart-scroll .priced-row{padding-block:17px}.cart-scroll{padding-right:4px}.cart-payment-summary{padding-top:12px;gap:7px}.cart-delivery-note{font-size:9px;margin-top:10px}}
@media(max-height:640px){.cart-payment-summary,.cart-delivery-note{display:none}.cart-checkout-footer{padding-top:12px;padding-bottom:12px}.cart-total{margin-bottom:12px}.cart-next-step{margin-top:6px}}

.editorial-section{border-bottom:1px solid var(--line)}.editorial-item{min-width:0;display:flex;flex-direction:column}.editorial-item>.course{flex:1}.editorial-reason{padding:14px 4px 0;color:var(--mute);font-size:12px;line-height:1.65}.editorial-footnote{margin-top:32px;padding:24px 0;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:12px 28px;font-size:11px;color:var(--mute)}.editorial-footnote>a{color:var(--acc);text-decoration:underline;text-underline-offset:4px}.editorial-footnote>p{flex-basis:100%;max-width:780px;line-height:1.75}.selection-method{max-width:960px;padding-top:140px;padding-bottom:80px}.selection-method h1{font-size:clamp(32px,5vw,54px);line-height:1.1;margin:18px 0 30px;letter-spacing:-.035em}.selection-method h2{font-size:25px;margin:40px 0 18px}.selection-method p,.selection-method li{font-size:15px;line-height:1.85;max-width:800px;margin-bottom:16px}.selection-method ol{padding-left:24px}.selection-table{overflow-x:auto;margin:25px 0}.selection-table table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;min-width:570px}.selection-table th,.selection-table td{padding:16px 12px;border-bottom:1px solid var(--line);line-height:1.6}.selection-table td a{color:var(--acc);text-decoration:underline}.selection-method .btn{margin-top:24px}@media(max-width:600px){.editorial-footnote{font-size:10px}.selection-method{padding-top:110px}.selection-method p,.selection-method li{font-size:14px}.editorial-reason{font-size:11px}}
/* Global course search, reachable from every shopping page. */
.has-header-search{padding-top:58px}.nav .header-search{display:flex;align-items:center;gap:16px;padding-top:0;padding-bottom:12px;height:auto;min-height:0}.header-search>label{font-size:11px;color:var(--mute);white-space:nowrap}.header-search-field{position:relative;flex:1;min-width:0;display:flex;background:var(--bg-2);border:1px solid var(--line-2);border-radius:9px}.header-search-field:focus-within{border-color:var(--acc);box-shadow:0 0 0 2px #d6512520}.header-search input{font:inherit;min-width:0;flex:1;border:0;background:transparent;color:var(--fg);padding:12px 15px;outline:none;font-size:13px}.header-search button{font:inherit;font-size:12px;border:0;border-left:1px solid var(--line);padding:0 18px;color:var(--acc);background:transparent;cursor:pointer;white-space:nowrap}.header-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--bg);border:1px solid var(--line-2);border-radius:12px;box-shadow:0 20px 60px #0003;max-height:60dvh;overflow-y:auto;padding:8px;z-index:95}.header-search-results[hidden]{display:none}.header-search-results p{font-size:12px;color:var(--mute);padding:10px 12px;line-height:1.6}.header-search-hit{display:flex;align-items:center;gap:13px;padding:12px;border-radius:8px}.header-search-hit:hover,.header-search-hit:focus-visible{background:var(--bg-2);outline:2px solid var(--acc);outline-offset:-2px}.header-search-hit img{width:38px;height:50px;object-fit:contain;flex:none}.header-search-hit>span{flex:1;min-width:0;display:grid;gap:5px}.header-search-hit strong{font-size:13px;line-height:1.4;font-weight:550}.header-search-hit small{font-size:10px;color:var(--mute)}.header-search-hit>b{font-size:12px;color:var(--acc);white-space:nowrap}.header-search-all{display:block;padding:14px 12px;color:var(--acc);font-size:12px;border-top:1px solid var(--line)}.has-header-search section[id]{scroll-margin-top:158px}@media(max-width:600px){.nav .header-search{gap:0;padding-bottom:10px}.header-search>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.header-search input{font-size:16px;padding:10px 12px}.header-search button{padding:0 12px;font-size:11px}.header-search-hit{padding:10px 7px;gap:8px}.header-search-hit strong{font-size:12px}.header-search-hit img{width:30px;height:43px}.header-search-hit>b{font-size:11px}.header-search-results{left:0;right:0;max-height:55dvh}.has-header-search{padding-top:56px}} 
