/* ===================================================================
   VALUHCATY ARTE — academia de dibujo y pintura (estilo Domestika)
   Verde pastel + negro + dorado · Montserrat + Cormorant Garamond
   ================================================================ */

:root {
  --brand-green: #98cf74;
  --green: var(--brand-green);
  --green-2: #bce8a8;
  --green-3: #b0d98d;
  --green-deep: #4f8b34;
  --green-ink: #2c5a1c;
  --arena: #e8e1dd;
  --arena-2: #f1ece7;
  --paper: #ffffff;
  --paper-2: #f7f3ef;
  --green-mist: #e9f3dd;
  --ink: #25282a;
  --ink-2: #3a3d3f;
  --ink-soft: #5d6063;
  --gold: #a5802f;
  --gold-2: #c19a45;
  --gold-hi: #e0bd6d;
  --line: rgba(37,40,42,.13);
  --line-2: rgba(37,40,42,.07);
  --cta: #25282a;
  --cta-text: #f7f4f0;

  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --fs-h1: clamp(2.1rem, 4.2vw, 3.3rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.1rem, 1.7vw, 1.35rem);

  --wrap: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --section-pad-y: clamp(2.75rem, 5.5vw, 4.25rem);
  --shadow-card: 0 16px 40px -26px rgba(22,23,15,.42);
  --shadow-pop: 0 26px 60px -30px rgba(22,23,15,.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* El reset de arriba pisa el `margin: auto` con el que el navegador centra
   todo <dialog> nativo — sin esto, cualquier modal se va a la esquina
   superior izquierda en vez de quedar centrado. */
dialog { margin: auto; }
html { overflow-x: clip; max-width: 100vw; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: clamp(.98rem, 1vw, 1.05rem); line-height: 1.6; color: var(--ink); background: var(--arena); overflow-x: clip; max-width: 100vw; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
::selection { background: var(--ink); color: var(--green); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 2.4rem); margin-inline: auto; }
.section { padding-block: var(--section-pad-y); position: relative; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ink); color: var(--green); padding: .7rem 1.1rem; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Reveals ---------- */
[data-animate] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-animate].in { opacity: 1; transform: none; }
.reveal-paint { clip-path: inset(0 100% 0 0); opacity: 1 !important; transform: none !important; transition: clip-path 1s var(--ease); }
.reveal-paint.in { clip-path: inset(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font); font-weight: 600; font-size: .92rem; padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .16s var(--ease), background .25s, color .25s, border-color .25s; line-height: 1; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-cta { background: var(--cta); color: var(--cta-text); }
.btn-cta:hover { background: #000; }
.btn-cta.is-done { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--green); }
.btn-gold { background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: #201703; }
.btn-gold:hover { filter: brightness(1.07); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; background: var(--ink); color: var(--green); }
.btn-sm:hover { background: var(--gold); color: var(--ink); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head h2, .rail-head h2 { font-family: var(--font-serif); font-size: var(--fs-h2); font-weight: 600; }
.section-head p { color: var(--ink-soft); max-width: 46ch; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-2); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 1.2rem; width: min(var(--wrap), 100% - 2.4rem); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand-badge { width: 52px; height: 52px; flex: none; }
.brand-badge circle { fill: var(--brand-green); }
.ba-arc { font-family: var(--font); font-size: 8px; font-weight: 700; letter-spacing: .5px; fill: var(--ink); }
.ba-name { font-family: var(--font-serif); font-size: 15px; font-weight: 600; letter-spacing: 1px; fill: var(--ink); }
.ba-arte { font-family: var(--font-serif); font-size: 18px; font-weight: 600; font-style: italic; fill: var(--ink); }
.ba-sub { font-family: var(--font); font-size: 6.5px; font-weight: 600; letter-spacing: 1px; fill: var(--ink); }
.brand-word { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .02em; }
.brand-word em { font-style: italic; color: var(--gold); }

.hsearch { flex: 1; max-width: 420px; position: relative; margin-inline: auto; }
.hsearch input { width: 100%; height: 44px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 0 1rem 0 2.6rem; font-family: var(--font); font-size: .92rem; color: var(--ink); }
.hsearch input:focus { border-color: var(--ink); outline: none; }
.hsearch svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); pointer-events: none; }
.header-nav { display: flex; align-items: center; gap: 1.3rem; margin-left: auto; }
.header-nav > a { font-size: .9rem; font-weight: 500; position: relative; }
.header-nav > a:hover { color: var(--gold); }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: none; cursor: pointer; color: var(--ink); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .68rem; font-weight: 700; display: none; align-items: center; justify-content: center; }
.cart-count.has { display: inline-flex; }
.cart-count.bump { animation: bump .3s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { position: fixed; top: 0; right: 0; z-index: 90; width: min(80%, 320px); height: 100dvh; background: var(--ink); color: var(--green); padding: 5.5rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 1.2rem; transform: translateX(100%); transition: transform .4s var(--ease); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-serif); font-size: 1.5rem; }
.mobile-nav a.btn { font-family: var(--font); font-size: 1rem; margin-top: auto; }
.nav-backdrop { position: fixed; inset: 0; z-index: 85; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: opacity .3s; }
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Category chip strip ---------- */
.disc-strip { border-bottom: 1px solid var(--line-2); background: var(--arena); position: sticky; top: 72px; z-index: 40; }
.disc-strip-inner { display: flex; gap: .6rem; overflow-x: auto; padding: .8rem 0; scrollbar-width: none; width: min(var(--wrap), 100% - 2.4rem); margin-inline: auto; }
.disc-strip-inner::-webkit-scrollbar { display: none; }
.disc-strip a { flex: none; padding: .5rem 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.disc-strip a:hover { background: var(--ink); color: var(--green); border-color: var(--ink); }

/* ---------- Rails ---------- */
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.rail-head .rail-title { display: flex; flex-direction: column; gap: .1rem; }
.rail-head .eyebrow { margin: 0; }
.rail-nav { display: flex; gap: .5rem; }
.rail-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1.1rem; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.rail-nav button:hover { background: var(--ink); color: var(--green); border-color: var(--ink); }
.course-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 300px); gap: 1.3rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1.2rem; margin: 0 -.2rem; scrollbar-width: thin; }
.course-rail::-webkit-scrollbar { height: 8px; }
.course-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.course-rail .c-card { scroll-snap-align: start; }

/* ---------- Course card ---------- */
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.4rem; }
.c-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.c-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.c-cover { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--green-3); }
.c-cover img, .c-cover video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.c-card:hover .c-cover img, .c-card:hover .c-cover video { transform: scale(1.07); }
.c-badge { position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: .3rem .6rem; border-radius: 6px; text-transform: uppercase; }
.c-badge--new { background: var(--gold); color: var(--ink); }
.c-cover-cta { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(22,23,15,.82)); color: #fff; font-size: .82rem; font-weight: 600; padding: 1.6rem .9rem .7rem; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.c-card:hover .c-cover-cta { opacity: 1; transform: none; }
.c-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.c-area { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.c-body h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.25; }
.c-body h3 a:hover { color: var(--gold); }
.c-doc { font-size: .84rem; color: var(--ink-soft); }
.c-meta { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--ink-soft); margin-top: .1rem; }
.c-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }
.c-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .7rem; }
.c-precio { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.c-precio s { font-weight: 500; font-size: .82rem; color: var(--ink-soft); margin-right: .2rem; }

/* ---------- Home: hero-less intro band ---------- */
/* Fondo verde claro (antes lo tenía el hero): la sección ya no depende del
   verde del body, así que necesita su propio color explícito. */
.intro { background: var(--green-mist); padding-block: clamp(2rem, 4vw, 3.4rem) var(--section-pad-y); }
.intro-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.intro h1 { font-family: var(--font-serif); font-size: var(--fs-h1); font-weight: 600; margin-bottom: .9rem; }
.intro h1 em { font-style: italic; color: var(--gold); }
.intro p { color: var(--ink-2); font-size: 1.08rem; max-width: 44ch; margin-bottom: 1.4rem; }
.intro-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.intro-marks { display: flex; gap: 1.5rem; margin-top: 1.6rem; flex-wrap: wrap; }
.intro-mark { display: flex; flex-direction: column; }
.intro-mark strong { font-family: var(--font-serif); font-size: 1.7rem; color: var(--ink); }
.intro-mark span { font-size: .82rem; color: var(--ink-soft); }
/* Antes había acá una carta de pigmentos con nombre propio (blanco de titanio,
   siena tostada…). El concepto estaba al revés: no se enseña una lista de colores,
   se enseña a generar paletas. Ahora la franja se recalcula según la armonía
   elegida, así el bloque muestra la idea en vez de contarla. */
.intro-color { padding: 1.5rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.color-word { font-family: var(--font-serif); font-size: clamp(2.2rem, 4.6vw, 3.1rem); font-weight: 600; line-height: .95; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.intro .color-lead { font-family: var(--font-serif); font-size: 1.06rem; font-style: italic; line-height: 1.45; color: var(--ink-2); max-width: none; margin: .7rem 0 1.2rem; }
.color-band { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; border-radius: 10px; overflow: hidden; }
.color-band span { display: block; aspect-ratio: 1 / 1.28; border-radius: 8px; box-shadow: inset 0 -8px 18px rgba(0,0,0,.14); transition: background-color .55s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.intro .color-read { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; margin: .9rem 0 1rem; max-width: none; font-size: .88rem; color: var(--ink-soft); min-height: 2.8em; }
.color-read strong { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; font-style: italic; color: var(--green-ink); }
.color-armonias { display: flex; flex-wrap: wrap; gap: .4rem; }
.color-armonias button, .color-regen { font-family: inherit; font-size: .76rem; letter-spacing: .02em; padding: .42rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.color-armonias button:hover, .color-regen:hover { border-color: var(--green-deep); color: var(--green-ink); }
.color-armonias button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--green); }
.color-regen { margin-top: .8rem; border-style: dashed; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .color-band span { transition: none; } }

/* ---------- Area tiles ---------- */
/* Con solo dos disciplinas, auto-fill de antes creaba columnas vacías y las cards
   quedaban chicas y pegadas a la izquierda. auto-fit + minmax con un techo evita
   que se estiren de más, y justify-content:center las agrupa en el medio aunque
   el total de disciplinas cambie (2, 3…). */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 440px)); justify-content: center; gap: 2.2rem; }
.area-tile { display: flex; flex-direction: column; gap: .5rem; padding: 0 0 1.7rem; overflow: hidden; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.area-tile > :not(.area-thumb) { padding-inline: 1.7rem; }
/* Todas las miniaturas miden igual aunque las fotos vengan de cualquier proporción. */
.area-thumb { display: block; aspect-ratio: 1 / 1; margin-bottom: 1.3rem; background: var(--green-mist); overflow: hidden; }
.area-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area-inicial { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-serif); font-size: 4rem; font-weight: 600; color: var(--green-deep); background: linear-gradient(140deg, var(--green-mist), var(--green-2)); }
.area-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); background: var(--ink); }
.area-tile:hover .area-name { color: var(--green); }
.area-tile:hover .area-count { color: var(--gold-hi); }
.area-name { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; }
.area-count { font-size: .92rem; color: var(--ink-soft); }
.areas-cta { display: flex; justify-content: center; margin-top: 2.4rem; }

/* ---------- Manifiesto ARTE ---------- */
.manifiesto { background: var(--ink); color: var(--green); overflow: hidden; text-align: center; }
.arte-big { font-family: var(--font-serif); font-weight: 600; font-size: clamp(4.5rem, 20vw, 15rem); line-height: .9; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.5px var(--gold-hi); background: linear-gradient(var(--gold-hi), var(--gold-hi)) left center no-repeat; background-size: 0% 100%; -webkit-background-clip: text; background-clip: text; transition: background-size 1.5s var(--ease); }
.arte-big.in { background-size: 100% 100%; }
.manifiesto p { max-width: 40ch; margin: 1.2rem auto 0; color: rgba(245,247,238,.8); font-size: 1.1rem; }

/* ---------- Método ---------- */
.metodo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.metodo-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.5rem 1.3rem; }
.metodo-n { font-family: var(--font-serif); font-size: 2.2rem; font-style: italic; color: var(--gold); line-height: 1; display: block; margin-bottom: .6rem; }
.metodo-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.metodo-card p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Docentes ---------- */
.docentes { background: var(--green-2); }
.docentes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.doc-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.doc-card img { width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.doc-info { padding: 1rem 1.1rem 1.2rem; }
.doc-tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.doc-info h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; margin: .2rem 0 .1rem; }
.doc-info p { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Dibujo en tableta ---------- */
.tablet-drawing .section-head p { margin: .65rem auto 0; }
.tablet-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); max-width: 980px; margin-inline: auto; align-items: start; }
.tablet-step { min-width: 0; overflow: hidden; background: rgba(255,255,255,.78); border: 1px solid rgba(22,23,15,.12); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.tablet-step.is-playing { transform: translateY(-7px); border-color: var(--gold); box-shadow: 0 24px 52px -27px rgba(22,23,15,.68); }
.tablet-step.is-complete .tablet-step-index { background: var(--green-deep); color: #fff; }
.tablet-video-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink); }
.tablet-video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--ink); }
.tablet-step-index { position: absolute; top: .8rem; left: .8rem; z-index: 1; width: 2.55rem; height: 2.55rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: .76rem; font-weight: 700; letter-spacing: .06em; box-shadow: 0 8px 22px rgba(22,23,15,.2); pointer-events: none; transition: background .25s, color .25s; }
.tablet-step figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; padding: .9rem 1rem 1rem; }
.tablet-step figcaption strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; }
.tablet-step figcaption span { color: var(--ink-soft); font-size: .8rem; text-align: right; }
.paper-process-head { margin-top: clamp(2.5rem, 6vw, 4rem); }
.paper-process-head h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }

/* ---------- Aula virtual + idea de curso ---------- */
.home-feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); align-items: stretch; }
.home-feature-card { min-width: 0; height: 100%; padding: clamp(1.5rem, 3vw, 2.4rem); background: rgba(255,255,255,.76); border: 1px solid rgba(22,23,15,.1); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.aulaprev-inner { display: flex; flex-direction: column; gap: 2rem; height: 100%; }
.aulaprev-copy h2 { font-family: var(--font-serif); font-size: var(--fs-h2); font-weight: 600; margin-bottom: 1rem; }
.aulaprev-copy ul { list-style: none; display: grid; gap: .7rem; margin: 1.2rem 0 1.6rem; }
.aulaprev-copy li { position: relative; padding-left: 1.7rem; color: var(--ink-2); }
.aulaprev-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.aulaprev-shot { margin-top: auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-pop); aspect-ratio: 16/9; }
.aulaprev-shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonios ---------- */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.test-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.test-stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; }
.test-card blockquote { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.4; color: var(--ink); }
.test-who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.test-av { width: 42px; height: 42px; border-radius: 50%; background: var(--green-3); display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.test-who strong { font-size: .92rem; }
.test-who span { display: block; font-size: .78rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; padding: 1.1rem .2rem; font-weight: 600; font-size: 1.02rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { position: relative; width: 16px; height: 16px; flex: none; }
.qa summary span::before, .qa summary span::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold); transition: transform .3s var(--ease); }
.qa summary span::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.qa summary span::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.qa[open] summary span::after { transform: translate(-50%,-50%) scaleY(0); }
.qa-body { padding: 0 .2rem 1.2rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- CTA final ---------- */
.cta-final { background: linear-gradient(135deg, var(--green-3), var(--green-2)); text-align: center; }
.cta-final .inner { max-width: 640px; margin-inline: auto; }
.cta-final h2 { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; margin-bottom: 1rem; }
.cta-final p { color: var(--ink-2); margin-bottom: 1.8rem; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--green); padding-top: var(--section-pad-y); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand-badge { width: 76px; height: 76px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(245,247,238,.6); font-size: .92rem; max-width: 32ch; }
.footer-col h2 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; color: rgba(245,247,238,.78); font-size: .92rem; margin-bottom: .55rem; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-bottom { border-top: 1px solid rgba(245,247,238,.14); padding: 1.4rem 0 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { color: rgba(245,247,238,.55); font-size: .82rem; }
.footer-bottom a { color: var(--gold-hi); }

/* ---------- Cart drawer ---------- */
.cart-drawer { position: fixed; top: 0; right: 0; z-index: 120; width: min(420px, 92vw); height: 100dvh; background: var(--paper); box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; }
.cart-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); line-height: 1; width: 40px; height: 40px; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: .8rem; align-items: center; }
.cart-item img, .cart-item video { width: 88px; height: 60px; object-fit: cover; border-radius: 8px; }
.cart-item-body h4 { font-size: .92rem; font-weight: 600; line-height: 1.25; }
.cart-item-body span { font-size: .76rem; color: var(--ink-soft); display: block; margin: .1rem 0; }
.cart-item-body strong { font-size: .95rem; }
.cart-remove { background: none; border: none; font-size: 1.3rem; color: var(--ink-soft); cursor: pointer; width: 32px; height: 32px; }
.cart-remove:hover { color: #b3402e; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.cart-foot { border-top: 1px solid var(--line); padding: 1.3rem 1.4rem 1.6rem; }
.cart-row { display: flex; justify-content: space-between; margin-bottom: .5rem; font-size: .95rem; }
.cart-row.ahorro { color: var(--gold); }
.cart-row.total { font-size: 1.2rem; font-weight: 700; margin: .6rem 0 1rem; }
.cart-note { font-size: .76rem; color: var(--ink-soft); text-align: center; margin-top: .8rem; }

/* ---------- Catálogo page ---------- */
.cat-head { padding-block: clamp(1.6rem, 3vw, 2.4rem) 0; }
.cat-head h1 { font-family: var(--font-serif); font-size: var(--fs-h1); font-weight: 600; }
.cat-head p { color: var(--ink-soft); margin-top: .4rem; }
.cat-toolbar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: 1.4rem 0 1rem; }
.cat-search { position: relative; flex: 1; min-width: 220px; }
.cat-search input { width: 100%; height: 46px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 0 1rem 0 2.7rem; font-family: var(--font); font-size: .95rem; }
.cat-search input:focus { border-color: var(--ink); outline: none; }
.cat-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); }
.cat-selects { display: flex; gap: .7rem; }
.cat-selects select { height: 46px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 0 2.2rem 0 1rem; font-family: var(--font); font-size: .9rem; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2361654f' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.chips-cat { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .6rem; margin-bottom: 1.2rem; scrollbar-width: none; }
.chips-cat::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-family: var(--font); font-size: .85rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--green); border-color: var(--ink); }
.cat-count { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1rem; }
.empty { grid-column: 1/-1; text-align: center; padding: 3.5rem 1rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.empty h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); }

/* ---------- Ficha de curso ---------- */
.crumbs { padding-block: 1.2rem; font-size: .84rem; color: var(--ink-soft); }
.crumbs a:hover { color: var(--gold); }
.cd-top { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.5rem; align-items: start; padding-bottom: var(--section-pad-y); }
.cd-main .eyebrow { color: var(--gold); }
.cd-main h1 { font-family: var(--font-serif); font-size: var(--fs-h1); font-weight: 600; margin-bottom: 1rem; }
.cd-lead { font-size: 1.12rem; color: var(--ink-2); margin-bottom: 1.4rem; max-width: 56ch; }
.cd-meta { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.cd-meta span { padding: .4rem .85rem; border-radius: 999px; background: var(--green-2); font-size: .82rem; font-weight: 500; }
.cd-doc { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line-2); }
.cd-doc img { width: 76px; height: 90px; object-fit: cover; border-radius: 10px; flex: none; }
.cd-doc strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; margin: .1rem 0; }
.cd-doc p { font-size: .88rem; color: var(--ink-soft); }
.cd-side { position: sticky; top: 92px; }
.cd-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); padding-bottom: 1.3rem; }
.cd-cover { aspect-ratio: 3/2; overflow: hidden; background: var(--green-3); }
.cd-cover img, .cd-cover video { width: 100%; height: 100%; object-fit: cover; }
.cd-trailer video { display: block; width: min(100%, 900px); aspect-ratio: 16/9; margin-top: 1.5rem; background: #111; }
.cd-precio { display: flex; align-items: baseline; gap: .6rem; padding: 1.2rem 1.3rem .6rem; }
.cd-precio strong { font-size: 1.8rem; font-family: var(--font-serif); }
.cd-precio s { color: var(--ink-soft); font-size: 1rem; }
.cd-off { background: var(--gold); color: var(--ink); font-size: .74rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; }
.cd-card .btn { margin: .4rem 1.3rem 0; width: calc(100% - 2.6rem); }
.cd-incluye { list-style: none; padding: 1.2rem 1.3rem 0; display: grid; gap: .55rem; }
.cd-incluye li { position: relative; padding-left: 1.5rem; font-size: .88rem; color: var(--ink-2); }
.cd-incluye li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.cd-sec { padding-block: 1.6rem; border-top: 1px solid var(--line-2); }
.cd-sec h2 { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 1rem; }
.draw-wrap { position: relative; display: inline-block; }
.draw-wrap .draw { position: absolute; left: 0; bottom: -8px; width: 100%; height: 8px; overflow: visible; }
.draw-wrap .draw path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.draw-wrap .draw.drawn path { transition: stroke-dashoffset 1s var(--ease); stroke-dashoffset: 0; }
.cd-result { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem; }
.cd-result li { position: relative; padding-left: 1.7rem; color: var(--ink-2); }
.cd-result li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.cd-programa { display: grid; gap: .7rem; }
.mod { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mod summary { display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; }
.mod summary::-webkit-details-marker { display: none; }
.mod-n { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); flex: none; }
.mod-t { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; }
.mod-c { margin-left: auto; font-size: .8rem; color: var(--ink-soft); flex: none; }
.mod-clases { list-style: none; padding: 0 1.3rem 1rem; }
.cl { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; border-top: 1px solid var(--line-2); font-size: .92rem; }
.cl-ico { color: var(--gold); flex: none; }
.cl-t { flex: 1; }
.cl-prev { font-size: .72rem; font-weight: 600; color: var(--ink); background: var(--green-2); padding: .15rem .5rem; border-radius: 6px; }
.cl-dur { color: var(--ink-soft); font-size: .82rem; flex: none; }
.cd-req { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cd-req h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; margin-bottom: .8rem; }
.cd-req ul { list-style: none; display: grid; gap: .5rem; }
.cd-req li { position: relative; padding-left: 1.4rem; color: var(--ink-2); font-size: .95rem; }
.cd-req li::before { content: "·"; position: absolute; left: .3rem; color: var(--gold); font-weight: 700; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--paper); border-top: 1px solid var(--line); padding: .8rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transform: translateY(120%); transition: transform .35s var(--ease); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.4); }
.sticky-cta.show { transform: translateY(0); }
.sc-precio { font-weight: 700; font-size: 1.15rem; }
.cd-loading { text-align: center; padding: 4rem 1rem; color: var(--ink-soft); }

/* ---------- Alumno ---------- */
.al-head { padding-block: clamp(1.6rem,3vw,2.4rem) 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.al-head h1 { font-family: var(--font-serif); font-size: var(--fs-h1); font-weight: 600; }
.al-demo-tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: var(--green-2); padding: .35rem .7rem; border-radius: 999px; }
.al-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.6rem 0; }
.al-stats > div { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.2rem; text-align: center; }
.al-stats strong { display: block; font-family: var(--font-serif); font-size: 2rem; }
.al-stats span { font-size: .85rem; color: var(--ink-soft); }
.al-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.3rem; }
.al-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.al-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.al-body { padding: 1rem 1.1rem 1.2rem; }
.al-body h3 { font-size: 1.05rem; margin: .2rem 0 .7rem; }
.al-bar { height: 7px; background: var(--green-2); border-radius: 6px; overflow: hidden; margin-bottom: .6rem; }
.al-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 6px; }
.al-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.al-foot span { font-size: .82rem; color: var(--ink-soft); }
.al-gate { text-align: center; max-width: 520px; margin: 3rem auto; padding: 2.5rem 1.5rem; background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line-2); }
.al-gate h2 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 600; margin-bottom: .7rem; }
.al-gate p { color: var(--ink-soft); margin-bottom: 1.5rem; }

/* ---------- Aula ---------- */
.aula-grid { display: grid; grid-template-columns: 320px 1fr; min-height: calc(100dvh - 72px); }
.aula-side { background: var(--paper); border-right: 1px solid var(--line); padding: 1.4rem; overflow-y: auto; }
.aula-back { font-size: .85rem; color: var(--ink-soft); }
.aula-back:hover { color: var(--gold); }
.aula-side h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; margin: .6rem 0 1rem; }
.aula-prog { margin-bottom: 1.4rem; }
.aula-prog-bar { height: 7px; background: var(--green-2); border-radius: 6px; overflow: hidden; margin-bottom: .4rem; }
.aula-prog-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); width: 0; transition: width .4s var(--ease); }
.aula-prog span { font-size: .8rem; color: var(--ink-soft); }
.aula-mod { margin-bottom: 1.2rem; }
.aula-mod h4 { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.aula-mod ul { list-style: none; display: grid; gap: .2rem; }
.aula-cl { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: .6rem .5rem; border-radius: 8px; font-family: var(--font); font-size: .88rem; color: var(--ink); transition: background .2s; }
.aula-cl:hover { background: var(--green); }
.aula-cl.active { background: var(--green-2); font-weight: 600; }
.aula-cl .ck { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; }
.aula-cl.done .ck { background: var(--gold); border-color: var(--gold); position: relative; }
.aula-cl.done .ck::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .6rem; color: var(--ink); }
.aula-cl-t { flex: 1; }
.aula-cl-d { font-size: .76rem; color: var(--ink-soft); flex: none; }
.aula-main { padding: 1.6rem clamp(1rem, 3vw, 2.4rem); max-width: 900px; }
.aula-menu { display: none; margin-bottom: 1rem; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-family: var(--font); cursor: pointer; }
.aula-stage { margin-bottom: 1.4rem; }
.stage-media { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ink), #2a2c1e); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; color: var(--green); }
.stage-tipo { position: absolute; top: 1rem; left: 1rem; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); }
.stage-play { font-size: 3rem; color: var(--gold-hi); }
.stage-demo { font-size: .85rem; color: rgba(245,247,238,.6); }
.stage-head { display: flex; align-items: baseline; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.stage-mod { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.stage-head h2 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; flex: 1 1 100%; }
.stage-dur { color: var(--ink-soft); font-size: .85rem; }
.aula-bar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.aula-notes label { display: block; font-size: .82rem; color: var(--ink-soft); margin-bottom: .5rem; }
.aula-notes textarea { width: 100%; min-height: 120px; border: 1.5px solid var(--line); border-radius: var(--radius); padding: .9rem; font-family: var(--font); font-size: .92rem; resize: vertical; background: var(--paper); }
.aula-notes textarea:focus { border-color: var(--ink); outline: none; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.toast { display: flex; align-items: center; gap: .6rem; background: var(--ink); color: var(--green); padding: .8rem 1.2rem; border-radius: 999px; box-shadow: var(--shadow-pop); font-size: .9rem; animation: toast-in .3s var(--ease); }
.toast svg { width: 18px; height: 18px; color: var(--gold-hi); flex: none; }
.toast.hiding { animation: toast-out .22s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }
/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .intro-inner { grid-template-columns: 1fr; }
  .home-feature-row { grid-template-columns: 1fr; }
  .intro-color { max-width: 460px; }
  .metodo-grid, .docentes-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: 1fr 1fr; }
  .cd-top { grid-template-columns: 1fr; }
  .cd-side { position: static; margin-top: 1.5rem; }
  .aula-grid { grid-template-columns: 1fr; }
  .aula-side { position: fixed; top: 72px; left: 0; bottom: 0; width: min(80%, 320px); z-index: 50; transform: translateX(-100%); transition: transform .35s var(--ease); border-right: 1px solid var(--line); }
  .aula-side.open { transform: translateX(0); box-shadow: var(--shadow-pop); }
  .aula-menu { display: inline-block; }
}
@media (max-width: 760px) {
  .header-nav > a, .brand-word { display: none; }
  .nav-toggle { display: flex; }
  .hsearch { max-width: none; }
  .test-grid, .cd-req, .metodo-grid, .docentes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .disc-strip { top: 72px; }
  .tablet-sequence { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78vw); justify-content: start; max-width: none; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: thin; padding: .4rem .1rem 1rem; }
  .tablet-step { scroll-snap-align: center; }
}
@media (max-width: 480px) {
  .header-inner { gap: .6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .intro-marks { gap: 1rem; }
  .course-rail { grid-auto-columns: minmax(240px, 78%); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .reveal-paint { clip-path: none !important; }
  .arte-big { background-size: 100% 100% !important; }
  .wsp-float::before { animation: none !important; }
}

/* ===================================================================
   Video de apertura · obras · sobre mí · pedido de curso
   ================================================================ */

/* El video es formato reel (9:16). Desktop: hero partido, texto a un lado y
   el video en una tarjeta vertical al otro (a lo ancho completo se volvería
   gigante). Mobile: el video pasa a ocupar todo el ancho, texto superpuesto abajo.
   Sin padding-block: la tarjeta toca el borde superior e inferior del hero
   (ocupa el 100% del alto de la sección), igual que ya pasaba en mobile. */
/* Fondo verde saturado (antes lo tenía la sección siguiente) y título en
   serif, igual que el resto de los titulares. */
.hero-video { position: relative; background: var(--green); overflow: hidden; }
/* Trazos decorativos del hero. pathLength=1 normaliza el dasharray sin medir nada. */
.hv-doodle { position: absolute; z-index: 1; pointer-events: none; }
.hv-doodle path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hv-doodle.drawn path { transition: stroke-dashoffset 1.3s var(--ease); stroke-dashoffset: 0; }
.hv-doodle.drawn path:nth-child(2) { transition-delay: .12s; }
.hv-doodle.drawn path:nth-child(3) { transition-delay: .24s; }
.hv-doodle.drawn path:nth-child(4) { transition-delay: .36s; }
.hv-doodle.drawn path:nth-child(5) { transition-delay: .48s; }
.hv-doodle--espiral { top: 9%; left: 4.5%; width: clamp(70px, 7.5vw, 110px); color: var(--green-ink); opacity: .45; transform: rotate(-14deg); }
.hv-doodle--gesto { bottom: 8%; left: 5%; width: clamp(230px, 30vw, 430px); color: var(--gold); opacity: .55; }
.hv-doodle--trama { top: 13%; right: 45%; width: clamp(54px, 5.5vw, 84px); color: var(--green-deep); opacity: .5; transform: rotate(8deg); }
@media (prefers-reduced-motion: reduce) { .hv-doodle path { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; } }
.hv-marcas { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.7rem; margin: 1.35rem 0 0; padding: 0; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.hv-marcas li { position: relative; }
.hv-marcas li + li::before { content: '·'; position: absolute; left: -1.05rem; color: var(--gold); font-weight: 700; }
.hv-inner { position: relative; z-index: 2; width: min(var(--wrap), 100% - 2.4rem); margin-inline: auto; padding-block: 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hv-copy { color: var(--ink); }
.hv-copy h1 { font-family: var(--font-serif); font-size: var(--fs-h1); font-weight: 600; color: var(--ink); text-wrap: balance; }
.hv-copy h1 em { font-style: italic; color: var(--gold); }
.hv-copy p { margin-top: .6rem; font-size: clamp(.98rem, 1.3vw, 1.14rem); color: var(--ink-2); max-width: 40rem; }
.hv-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.hv-stage { display: flex; justify-content: center; }
/* El límite va por ANCHO, nunca por alto: un max-height recorta la caja y rompe
   el 9:16 (queda un rectángulo más chato). 44vh de ancho ⇒ 78vh de alto exactos. */
.hv-frame { position: relative; width: min(100%, 22rem, 44vh); aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-pop); }
.hv-frame video, .hv-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-frame video { cursor: pointer; }
.hv-placeholder { background: radial-gradient(120% 120% at 30% 20%, var(--green-3), var(--green-deep) 55%, var(--ink) 100%); }

/* El video arranca muteado (los navegadores no dejan autoplay con sonido);
   este botón lo activa, y el click sobre el video hace lo mismo. */
.hv-sound { position: absolute; z-index: 3; top: .75rem; right: .75rem; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: rgba(22,23,15,.55); color: #fff; font-family: var(--font); font-size: .76rem; font-weight: 600; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s var(--ease); }
.hv-sound:hover { background: rgba(22,23,15,.8); }
.hv-sound svg { width: 16px; height: 16px; flex: none; }
.hv-sound .ico-on { display: none; }
.hv-sound.is-on .ico-off { display: none; }
.hv-sound.is-on .ico-on { display: block; }
@media (max-width: 940px) {
  /* En mobile el video es full-bleed: los trazos no tienen dónde vivir. */
  .hv-doodle { display: none; }
  .hv-marcas { color: rgba(255,255,255,.88); }
  .hv-inner { grid-template-columns: 1fr; width: 100%; padding-block: 0; gap: 0; }
  .hv-stage { width: 100%; }
  .hv-frame { width: 100%; max-width: none; border-radius: 0; box-shadow: none; }
  /* Acá el texto va encima del video, así que vuelve a blanco sobre el velo. */
  .hv-copy { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(1.25rem, 5vw, 2.2rem); color: var(--cta-text); background: linear-gradient(to top, rgba(22,23,15,.88) 0%, rgba(22,23,15,.32) 55%, rgba(22,23,15,.06) 100%); }
  .hv-copy h1 { color: #fff; }
  .hv-copy p { color: rgba(255,255,255,.9); }
  .hv-cta .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
  .hv-cta .btn-ghost:hover { background: rgba(255,255,255,.14); }
}

/* Obras: la grilla se adapta sola a cualquier proporción de imagen o video. */
.obras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.obra { position: relative; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.obra:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }

/* El botón de abrir se estira sobre toda la tarjeta (sigue siendo un botón real,
   así funciona con teclado); el de WhatsApp queda por encima para no perderlo. */
.obra-abrir { position: static; border: 0; padding: 0; background: none; font: inherit; color: var(--gold); font-weight: 600; font-size: .85rem; text-align: left; cursor: pointer; align-self: flex-start; }
.obra-abrir::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.obra-abrir:hover { color: var(--green-ink); }
.obra-wsp { position: relative; z-index: 2; }
.obra-media { position: relative; background: var(--paper-2); }
/* 1:1 y recortando: con `height:auto` + `contain` cada obra medía distinto según su
   proporción y la grilla quedaba despareja. La obra completa se ve en el modal. */
.obra-media { aspect-ratio: 1 / 1; }
.obra-media img, .obra-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.obra-vendida { position: absolute; top: .7rem; left: .7rem; background: var(--ink); color: var(--cta-text); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }
.obra figcaption { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.obra figcaption h3 { font-size: 1.05rem; }
.obra-ficha { font-size: .82rem; color: var(--ink-soft); }
.obra figcaption p { font-size: .9rem; color: var(--ink-2); }
.obra figcaption .btn { margin-top: auto; align-self: flex-start; }

/* Obra abierta */
/* El diálogo se ajusta al ancho real de la imagen (width:fit-content) en vez de
   forzar siempre un rectángulo ancho fijo: una obra vertical (la mayoría acá,
   retratos y estudios) quedaba nadando en un fondo oscuro enorme a los costados
   y se veía "chica". El cuerpo de texto sí tiene un ancho propio, así una obra
   angosta no aprieta la descripción a un caño. */
.obra-dialog { border: none; border-radius: var(--radius-lg); padding: 0; width: fit-content; max-width: min(58rem, 94vw); max-height: 92vh; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-pop); overflow: hidden; }
.obra-dialog::backdrop { background: rgba(22,23,15,.66); backdrop-filter: blur(3px); }
.obra-dialog-close { position: absolute; z-index: 3; top: .6rem; right: .7rem; width: 38px; height: 38px; display: grid; place-items: center; border: none; border-radius: 50%; background: rgba(22,23,15,.6); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.obra-dialog-close:hover { background: var(--ink); }
.obra-dialog-media { background: var(--ink); display: flex; justify-content: center; }
.obra-dialog-media img, .obra-dialog-media video { display: block; width: auto; height: auto; max-width: min(58rem, 94vw); max-height: 62vh; }
.obra-dialog-body { width: min(30rem, 88vw); max-width: 100%; padding: clamp(1.1rem, 2.5vw, 1.7rem); display: grid; gap: .5rem; justify-items: start; }
.obra-dialog-body h2 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; }
.obra-dialog-body p { color: var(--ink-2); font-size: .95rem; }
.obra-dialog-body .btn { margin-top: .4rem; }
@media (max-width: 640px) { .obra-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; border-radius: 0; } .obra-dialog-media, .obra-dialog-media img, .obra-dialog-media video { max-height: 52vh; } }

/* Sobre mí */
.sobremi-inner { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.sobremi-inner.has-photos { grid-template-columns: 1.05fr .95fr; }
.sobremi-inner:not(.has-photos) .sobremi-copy { width: min(100%, 78ch); }
.sobremi-copy p + p { margin-top: .8rem; }
.sobremi-copy h3 { margin: clamp(2rem, 4vw, 3rem) 0 .8rem; font-family: var(--font-serif); font-size: clamp(1.55rem, 2.5vw, 2rem); font-weight: 600; }
.sobremi-highlight { margin-block: clamp(1.5rem, 3vw, 2.25rem) !important; padding: 1.25rem 1.4rem; background: rgba(255,255,255,.7); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.35; }
.sobremi-signoff { margin-top: clamp(1.5rem, 3vw, 2.25rem) !important; font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.45rem); font-style: italic; }
.sobremi-signoff strong { display: block; margin-top: .35rem; font-family: var(--font); font-size: .82rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.sobremi-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.sobremi-fotos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.sobremi-fotos img:nth-child(2n) { transform: translateY(1.4rem); }
@media (max-width: 860px) { .sobremi-inner.has-photos { grid-template-columns: 1fr; } .sobremi-fotos img:nth-child(2n) { transform: none; } }

/* Pedir un curso */
.pedido { background: rgba(255,255,255,.76); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); }
.pedido-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.home-feature-row .pedido-inner { grid-template-columns: 1fr; }
.pedido form { display: grid; gap: .7rem; }
.pedido label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.pedido input, .pedido textarea { font: inherit; font-weight: 400; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.pedido textarea { min-height: 5.5rem; resize: vertical; }
.pedido-estado { font-size: .85rem; color: var(--green-ink); min-height: 1.2rem; }
@media (max-width: 780px) { .pedido-inner { grid-template-columns: 1fr; } }

/* Inscripción */
.checkout-dialog { border: none; border-radius: var(--radius-lg); padding: 0; width: min(46rem, 94vw); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-pop); }
.checkout-dialog::backdrop { background: rgba(22,23,15,.55); backdrop-filter: blur(3px); }
.checkout-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line-2); }
.checkout-head h2 { font-size: 1.2rem; }
.checkout-close { border: none; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.checkout-body { padding: 1.2rem 1.4rem 1.5rem; display: grid; gap: 1rem; }
.checkout-list { list-style: none; display: grid; gap: .4rem; font-size: .9rem; }
.checkout-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line-2); }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.checkout-grid label, .checkout-body > label { display: grid; gap: .3rem; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.checkout-grid input, .checkout-body input, .checkout-body select { font: inherit; font-weight: 400; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.checkout-pay { display: flex; gap: .6rem; flex-wrap: wrap; }
.checkout-pay label { display: flex; align-items: center; gap: .45rem; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font-size: .86rem; font-weight: 600; cursor: pointer; }
.checkout-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; font-weight: 700; padding-top: .6rem; border-top: 1px solid var(--line); }
.checkout-error { color: #a12a2a; font-size: .85rem; min-height: 1.1rem; }
.checkout-result { padding: 1.4rem; display: grid; gap: .7rem; }
.cd-cerrado { background: var(--paper-2); border: 1px dashed var(--line); border-radius: 10px; padding: .8rem; text-align: center; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 620px) { .checkout-grid { grid-template-columns: 1fr; } }

.section-head--center { justify-content: center; text-align: center; }
.section--flush { padding-top: 0; }

.sello { display: block; width: 100%; height: auto; }
.sello-fondo { fill: var(--brand-green); }
.sello-arco { font-family: var(--font); font-size: 15.5px; font-weight: 500; letter-spacing: .66em; fill: var(--ink); }
.sello-nombre { font-family: var(--font-serif); font-size: 29px; font-weight: 500; letter-spacing: .05em; fill: var(--ink); }
.sello-arte { font-family: 'Great Vibes', var(--font-serif); font-size: 58px; fill: var(--ink); }

.bienvenida { position: relative; isolation: isolate; overflow: hidden; display: flex; width: 100%; aspect-ratio: 16 / 9; min-height: min(84svh, 660px); color: #fff; }
.bienvenida-escena { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.bienvenida-inner { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: clamp(1rem, 1.6vw, 1.5rem) clamp(1.5rem, 5.8vw, 5.2rem); text-align: center; }

.bienvenida-sello { display: grid; place-items: center; width: clamp(104px, 15.8vw, 253px); aspect-ratio: 1; }
.bienvenida-sello .sello { width: 85%; filter: drop-shadow(0 18px 34px rgba(28,22,10,.4)); }

.bienvenida-titulo { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; font-weight: 400; line-height: 1; letter-spacing: 0; }
.bienvenida-saludo { margin-top: clamp(1.05rem, 3.68vw, 3.3rem); font-family: 'Fraunces', var(--font-serif); font-size: clamp(1.2rem, 4.15vw, 4.1rem); line-height: 1.05; text-transform: uppercase; text-wrap: balance; text-shadow: 0 2px 28px rgba(38,30,14,.45); }
.bienvenida-marca { margin-top: clamp(.1rem, .62vw, .56rem); font-family: 'Fraunces', var(--font-serif); font-size: clamp(2.5rem, 9.17vw, 9.2rem); line-height: .94; text-transform: uppercase; text-shadow: 0 4px 44px rgba(38,30,14,.48); }
.bienvenida-banda { align-self: stretch; margin-top: clamp(.95rem, 4.23vw, 3.8rem); padding-block: clamp(.12rem, .35vw, .32rem); background: rgba(188,232,168,.82); border-block: 1px solid rgba(255,255,255,.3); text-align: center; }
.bienvenida-arte { display: inline-block; margin-right: -.27em; font-family: 'Tenor Sans', var(--font); font-size: clamp(1.02rem, 3.89vw, 3.9rem); line-height: 1; letter-spacing: .27em; text-shadow: 0 0 32px rgba(22,32,10,.82), 0 0 11px rgba(22,32,10,.58), 0 1px 2px rgba(22,32,10,.42); }

.bienvenida-pie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: baseline; gap: .5rem .4rem; width: 100%; margin-top: clamp(1.25rem, 4.3vw, 3.9rem); padding-inline: clamp(1.2rem, 5.6vw, 5rem); font-family: 'Tenor Sans', var(--font); font-size: clamp(.76rem, 1.84vw, 1.85rem); line-height: 1.3; text-align: left; text-shadow: 0 1px 14px rgba(26,22,13,.55); }
.bienvenida-pie > :nth-child(2) { text-align: center; text-transform: uppercase; letter-spacing: .05em; }
.bienvenida-pie a { text-underline-offset: .25em; transition: text-decoration-color .25s; text-decoration: underline; text-decoration-color: transparent; }
.bienvenida-pie a:hover { text-decoration-color: rgba(255,255,255,.75); }

@keyframes bienvenidaEntra { from { opacity: 0; transform: translateY(26px); } }
@keyframes bienvenidaPinta { from { clip-path: inset(0 100% 0 0); } }
.bienvenida-sello, .bienvenida-saludo, .bienvenida-marca, .bienvenida-pie { animation: bienvenidaEntra .8s var(--ease) backwards; }
.bienvenida-saludo { animation-delay: .12s; }
.bienvenida-marca { animation-delay: .2s; }
.bienvenida-banda { animation: bienvenidaPinta 1.15s var(--ease) .34s backwards; }
.bienvenida-pie { animation-delay: .56s; }
@media (prefers-reduced-motion: reduce) {
  .bienvenida-sello, .bienvenida-saludo, .bienvenida-marca, .bienvenida-banda, .bienvenida-pie { animation: none; }
}

.presentacion { display: grid; grid-template-columns: 67.4% 32.6%; background: var(--paper); }
.presentacion-marca { display: grid; place-items: center; padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 3vw, 3rem); }
.presentacion-marca .sello { width: min(72%, 640px); }
.presentacion-texto { display: grid; align-content: center; justify-items: center; padding: clamp(2.2rem, 4.5vw, 4rem) clamp(1.4rem, 2.6vw, 2.4rem); background: var(--arena); font-family: 'Tenor Sans', var(--font); font-size: clamp(.95rem, 1.667vw, 1.65rem); line-height: 1.375; color: var(--ink); text-align: center; }
.presentacion-texto p { max-width: 16.4em; }

@media (max-width: 940px) {
  .presentacion { grid-template-columns: 1fr; }
  .presentacion-marca { padding-block: clamp(2.2rem, 7vw, 3.4rem) clamp(1.4rem, 4vw, 2rem); }
  .presentacion-marca .sello { width: min(78%, 420px); }
}
@media (max-width: 760px) {
  .bienvenida { aspect-ratio: auto; min-height: min(90svh, 680px); }
  .bienvenida-sello { width: min(44vw, 200px); }
  .bienvenida-saludo { margin-top: clamp(1.2rem, 6.4vw, 2.4rem); font-size: clamp(1.05rem, 5.9vw, 1.9rem); }
  .bienvenida-marca { margin-top: clamp(.05rem, .5vw, .2rem); font-size: clamp(2.3rem, 13.8vw, 4.6rem); }
  .bienvenida-banda { margin-top: clamp(1.3rem, 7vw, 2.6rem); padding-block: clamp(.16rem, 1vw, .4rem); }
  .bienvenida-arte { font-size: clamp(1rem, 5.6vw, 1.85rem); }
  .bienvenida-pie { grid-template-columns: 1fr; justify-items: center; gap: .4rem; margin-top: clamp(1.4rem, 7vw, 2.6rem); font-size: clamp(.78rem, 3.4vw, 1.05rem); text-align: center; }
  .bienvenida-pie > :nth-child(2) { order: -1; }
}
