/* LAYOUT: la identidad de siempre (menta, logo ce x ci, Poppins) con imagen a sangre y filas editoriales.
   Bandas de color alternadas: papel, tinta y menta; la imagen manda dentro de cada banda. */
:root {
  --tinta: #0A0A0A;      /* Tinta: el negro de siempre de CEXCI */
  --papel: #F6F5F0;      /* Papel: blanco cálido, el segundo neutro */
  --menta: #69FFBE;      /* Menta: el verde de CEXCI, único acento */
  --lila: #DD85FF;       /* Solo la x del logotipo */
  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 3.2vw, 48px);
  --mega: clamp(3rem, 11vw, 11rem);
  --xl: clamp(2.2rem, 5.6vw, 5.6rem);
  --l: clamp(1.25rem, 2.2vw, 1.9rem);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: var(--font); font-weight: 300; font-size: 1rem; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }

/* bandas: cada una define sus colores */
.on-papel { --bg: var(--papel); --fg: var(--tinta); --dim: rgba(10,10,10,.66); --line: rgba(10,10,10,.2); --btn-bg: var(--tinta); --btn-fg: var(--papel); --badge-bg: var(--menta); --badge-fg: var(--tinta); }
.on-tinta { --bg: var(--tinta); --fg: var(--papel); --dim: rgba(246,245,240,.68); --line: rgba(246,245,240,.25); --btn-bg: var(--menta); --btn-fg: var(--tinta); --badge-bg: var(--menta); --badge-fg: var(--tinta); }
.on-menta { --bg: var(--menta); --fg: var(--tinta); --dim: rgba(10,10,10,.72); --line: rgba(10,10,10,.85); --btn-bg: var(--tinta); --btn-fg: var(--menta); --badge-bg: var(--tinta); --badge-fg: var(--menta); }
[class*="on-"] { background: var(--bg); color: var(--fg); }
.band { padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); padding-block: clamp(56px, 9vw, 130px); }
.inner { max-width: 1400px; margin: 0 auto; }

/* tipografía: Poppins en tallas grandes, oraciones en minúscula, cerradas */
.mega, .xl, .t { font-weight: 800; letter-spacing: -.045em; line-height: .92; text-wrap: balance; }
.mega { font-size: var(--mega); }
.xl { font-size: var(--xl); }
.lede { font-size: var(--l); font-weight: 400; line-height: 1.35; letter-spacing: -.015em; max-width: 34ch; text-wrap: balance; }
.small { font-size: .875rem; color: var(--dim); }
p { max-width: 62ch; }
h3.sub { font-size: var(--l); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 10px; text-wrap: balance; }

/* botones, etiquetas, enlaces */
.btn { display: inline-block; padding: .75em 1.5em; background: var(--btn-bg); color: var(--btn-fg); border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--fg); }
.link { font-weight: 600; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-block; justify-self: start; background: var(--badge-bg); color: var(--badge-fg); font-weight: 600; font-size: .78rem; padding: .3em .9em; border-radius: 999px; }
.tag.off { background: transparent; color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); }

/* cabecera: logo, enlaces y donar. En móvil, menú a pantalla completa */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 61; background: #fff; color: var(--tinta); border-bottom: 1px solid rgba(10,10,10,.08); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px max(var(--gut), env(safe-area-inset-right, 0px)) 10px max(var(--gut), env(safe-area-inset-left, 0px)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.logo { width: 42px; height: 42px; border-radius: 50%; background: var(--menta); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: .72rem; letter-spacing: .02em; color: var(--tinta); }
.logo i { font-style: normal; color: var(--lila); }
.links { display: none; gap: clamp(12px, 1.8vw, 26px); align-items: center; }
.links a { font-weight: 600; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.links a:hover { border-color: var(--tinta); }
.links a.donar { background: var(--menta); border: 0; padding: 8px 16px; border-radius: 999px; }
.menu-btn { font: inherit; font-weight: 600; font-size: .85rem; background: var(--tinta); color: #fff; border: 0; border-radius: 999px; padding: .6em 1.3em; cursor: pointer; }
@media (min-width: 1060px) { .links { display: flex; } .menu-btn { display: none; } }

.menu { position: fixed; inset: 0; z-index: 70; background: var(--tinta); color: var(--papel); display: flex; flex-direction: column; justify-content: center;
  padding: calc(80px + env(safe-area-inset-top, 0px)) max(var(--gut), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gut), env(safe-area-inset-left, 0px)); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu a.item { font-weight: 800; letter-spacing: -.04em; font-size: clamp(2.2rem, 8vh, 4.6rem); line-height: 1.08; text-decoration: none; }
.menu a.item:hover, .menu a.item:focus-visible { color: var(--menta); outline: none; }
.menu .close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: max(var(--gut), env(safe-area-inset-right, 0px)); font: inherit; font-weight: 600; font-size: .85rem; background: var(--menta); color: var(--tinta); border: 0; border-radius: 999px; padding: .6em 1.3em; cursor: pointer; }
.menu .foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px 26px; color: rgba(246,245,240,.68); font-size: .9rem; }

/* hero: imagen a sangre y un solo gesto, la lámpara que se enciende desde la pantalla */
@property --r { syntax: "<percentage>"; inherits: false; initial-value: 170%; }
.hero { position: relative; height: clamp(540px, 84svh, 900px); display: flex; align-items: flex-end; overflow: hidden; background: var(--tinta); color: #fff; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; max-width: none; --r: 170%;
  -webkit-mask-image: radial-gradient(circle at 26% 42%, #000 0, #000 calc(var(--r) - 40%), transparent var(--r));
          mask-image: radial-gradient(circle at 26% 42%, #000 0, #000 calc(var(--r) - 40%), transparent var(--r));
  animation: lampara 2.8s cubic-bezier(.3,.1,.2,1) both; }
@keyframes lampara { from { --r: 0%; } to { --r: 170%; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,.88), rgba(10,10,10,.3) 45%, rgba(10,10,10,0) 70%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(22px, 3.5vw, 48px); display: grid; gap: clamp(18px, 2.6vw, 32px); }
.hero h1 { font-size: clamp(2.3rem, 5.8vw, 5.8rem); max-width: 19ch; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 40px; }
.hero-foot p { font-size: 1.05rem; font-weight: 400; max-width: 42ch; }
.hero .btn { background: var(--menta); color: var(--tinta); }
.hero .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }

/* perforaciones de película, de la identidad original */
.sprockets { height: 22px; color: var(--tinta); background-image: radial-gradient(circle, currentColor 3px, transparent 3.2px); background-size: 24px 24px; background-position: 12px center; }

/* qué es qué */
.what-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 14px clamp(24px, 5vw, 80px); align-items: end; padding-block: clamp(22px, 3.4vw, 44px); border-top: 2px solid var(--line); }
.what-row:last-child { border-bottom: 2px solid var(--line); }
.what-row .mega { font-size: clamp(2.8rem, 8vw, 8rem); }
.what-row p { font-size: var(--l); font-weight: 400; line-height: 1.35; letter-spacing: -.015em; }
.what-row .link { display: inline-block; margin-top: 12px; font-size: .95rem; }

/* imagen a sangre con título */
.bleed { position: relative; display: flex; align-items: flex-end; overflow: hidden; min-height: clamp(360px, 62vh, 700px); color: #fff; }
.bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,.75), rgba(10,10,10,0) 60%); }
.bleed .mega { position: relative; z-index: 2; padding: 0 max(var(--gut), env(safe-area-inset-left, 0px)) .1em; }
.head { display: grid; gap: 18px; padding-bottom: clamp(24px, 4vw, 56px); }

/* talleres */
.ws { border-top: 2px solid var(--line); }
.ws-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 20px clamp(20px, 4vw, 60px); padding-block: clamp(26px, 4vw, 52px); border-bottom: 2px solid var(--line); align-items: start; }
.ws-mode { display: grid; gap: 14px; align-content: start; }
.ws-mode .xl { font-size: clamp(2.2rem, 4.4vw, 4.4rem); }
dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin-top: 16px; font-size: .92rem; }
dl.facts dt { color: var(--dim); font-weight: 500; }
.steps { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; gap: 10px; align-items: start; font-size: .92rem; }
.steps li::before { content: counter(s); width: 2rem; height: 2rem; border-radius: 50%; background: var(--badge-bg); color: var(--badge-fg); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.price { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ws-side { display: grid; gap: 16px; }
.ws-row.off { opacity: .6; }

/* molino */
.mol-row { display: grid; grid-template-columns: clamp(110px, 17vw, 250px) minmax(0, 1fr) minmax(0, 24ch); gap: 18px clamp(20px, 4vw, 60px); padding-block: clamp(24px, 3.5vw, 46px); border-top: 2px solid var(--line); align-items: end; }
.mol-row:last-of-type { border-bottom: 2px solid var(--line); }
.mol-row .poster { aspect-ratio: 2 / 3; width: 100%; object-fit: cover; }
.mol-row .noposter { aspect-ratio: 2 / 3; border: 2px dashed var(--line); display: grid; place-items: end start; padding: 12px; color: var(--dim); font-size: .8rem; }
.mol-row .t { font-size: clamp(2.2rem, 5vw, 5rem); margin-bottom: 14px; overflow-wrap: anywhere; }
.mol-row.lead { grid-template-columns: clamp(150px, 26vw, 400px) minmax(0, 1fr) minmax(0, 24ch); }
.mol-row.lead .t { font-size: clamp(3.2rem, 9vw, 9rem); }
.kicker { font-weight: 600; font-size: .85rem; color: var(--dim); margin-bottom: 8px; }
.mol-row.minor { opacity: .75; }
.mol-side { display: grid; gap: 12px; align-content: end; justify-items: start; }

/* cinema canino */
.next { position: relative; min-height: clamp(500px, 82vh, 860px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.next > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,.9), rgba(10,10,10,.25) 60%, rgba(10,10,10,.5)); }
.next-in { position: relative; z-index: 2; width: 100%; display: grid; gap: 18px; }
.next .date { font-size: clamp(3.6rem, 14vw, 14rem); color: var(--menta); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.next .btn { background: var(--menta); color: var(--tinta); }
.fn { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 18px clamp(20px, 4vw, 60px); padding-block: clamp(22px, 3.2vw, 42px); border-top: 2px solid var(--line); align-items: start; }
.fn:last-child { border-bottom: 2px solid var(--line); }
.fn .date { font-size: clamp(2.6rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
.fn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* cine en línea */
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.strip img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.film { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4px 30px; padding-block: 16px; border-top: 2px solid var(--line); align-items: baseline; }
.film:last-child { border-bottom: 2px solid var(--line); }
.film b { font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.4rem, 3vw, 2.7rem); line-height: 1.05; }
.film span { color: var(--dim); font-size: .92rem; }
.line2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }

/* editorial */
.edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.edit > img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; max-width: none; }
.edit-in { padding-block: clamp(40px, 6vw, 100px); padding-left: clamp(20px, 4vw, 64px); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: space-between; }
.next-book { border-top: 2px solid var(--line); padding-top: 20px; }

/* tienda */
.shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-width: none; }
.shop-cap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-cap p { padding: 12px var(--gut) 0; font-weight: 500; font-size: .9rem; }

/* nosotros */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.big { font-size: clamp(1.5rem, 3.4vw, 3.3rem); font-weight: 600; line-height: 1.14; letter-spacing: -.03em; max-width: 30ch; text-wrap: balance; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--line); }
.three > div { padding: 20px 20px 0 0; display: grid; gap: 8px; align-content: start; }
.three h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.support { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; border-top: 2px solid var(--line); padding-top: 24px; }
.support p { font-size: var(--l); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 30ch; }

footer { padding-bottom: calc(clamp(24px, 4vw, 48px) + env(safe-area-inset-bottom, 0px)); }
footer .mega { font-size: clamp(5rem, 28vw, 30rem); line-height: .8; margin-bottom: clamp(20px, 3vw, 40px); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 20px 60px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 22px; font-size: .92rem; }
.foot-cols div { display: grid; gap: 4px; align-content: start; }

@media (max-width: 860px) {
  .what-row, .ws-row, .fn, .edit, .film, .line2 { grid-template-columns: minmax(0, 1fr); }
  .mol-row, .mol-row.lead { grid-template-columns: 38% minmax(0, 1fr); align-items: start; }
  .mol-row .t, .mol-row.lead .t { font-size: 10.5vw; }
  .mol-row > div:nth-child(2) { grid-column: 2; }
  .mol-side { grid-column: 1 / -1; }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip img:nth-child(n+4) { display: none; }
  .three { grid-template-columns: minmax(0, 1fr); }
  .three > div { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .edit > img { min-height: 0; aspect-ratio: 3 / 4; max-height: 80vh; }
  .shop-cap p { padding-right: 12px; }
  .mega { font-size: clamp(2.6rem, 14vw, 5rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero > img { animation: none; --r: 170%; }
  .btn { transition: none; }
}

/* acentos por sección, de la identidad original: pequeños, nunca como fondo */
:root { --oro: #FFD348; --bronce: #C98240; }
.swatch { display: block; width: 56px; height: 8px; border-radius: 2px; }
.swatch.oro { background: var(--oro); } .swatch.bronce { background: var(--bronce); } .swatch.lila { background: var(--lila); }
.links a.donar { white-space: nowrap; }

/* molino en portada */
.mol-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--line); }
.mol-svc { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3.5vw, 48px) clamp(16px, 3vw, 48px) clamp(24px, 3.5vw, 48px) 0; }
.mol-svc + .mol-svc { padding-left: clamp(16px, 3vw, 48px); border-left: 2px solid var(--line); }
.mol-svc .xl { font-size: clamp(2rem, 4.4vw, 4.4rem); }
.mol-svc .btn { justify-self: start; }
.credits { display: grid; grid-template-columns: repeat(3, minmax(0, 110px)) minmax(0, 1fr); gap: 16px; align-items: end; border-top: 2px solid var(--line); padding-top: clamp(20px, 3vw, 36px); }
.credits img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
@media (max-width: 860px) {
  .mol-services { grid-template-columns: minmax(0, 1fr); }
  .mol-svc + .mol-svc { padding-left: 0; border-left: 0; border-top: 2px solid var(--line); }
  .credits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .credits > div { grid-column: 1 / -1; }
}

/* ===== página de Molino ===== */
.pendiente { border: 2px dashed currentColor; border-radius: 12px; padding: 10px 14px; font-size: .88rem; opacity: .8; max-width: 62ch; }
.mhero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); min-height: clamp(520px, 80vh, 820px); }
.mhero-text { display: flex; align-items: center; }
.mhero > img { width: 100%; height: 100%; object-fit: cover; max-width: none; min-height: 360px; }
.ruta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.ruta a { text-decoration: none; display: grid; gap: 6px; align-content: start; border-top: 3px solid var(--line); padding-top: 16px; }
.ruta a:hover .t { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .15em; }
.t.t, .ruta .t, .links3 .t { font-size: clamp(1.4rem, 2.8vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.cop { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.credits-light { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.credits-light img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.pasos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); counter-reset: p; margin-top: 18px; }
.pasos li { counter-increment: p; display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--line); padding-top: 14px; }
.pasos li::before { content: counter(p); width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--badge-bg); color: var(--badge-fg); display: grid; place-items: center; font-weight: 700; }
.pasos b { font-size: 1.2rem; letter-spacing: -.02em; font-weight: 700; }
.pasos span { color: var(--dim); font-size: .95rem; }

.niveles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: 8px; }
.nivel-card { background: #fff; border: 2px solid var(--tinta); border-radius: 20px; padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 14px; align-content: start; }
.nivel-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0; }
.chip { justify-self: start; background: var(--menta); color: var(--tinta); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .3em 1em; }
.nivel-card dl { display: grid; gap: 4px; margin: 0; font-size: .92rem; }
.nivel-card dt { font-weight: 700; margin-top: 8px; }
.nivel-card dd { margin: 0; color: var(--dim); }
.todos { margin-top: clamp(28px, 4vw, 48px); border-top: 2px solid var(--line); padding-top: 22px; }
.dias { margin-top: clamp(28px, 4vw, 48px); border-top: 2px solid var(--line); padding-top: 22px; }
.dias ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; padding: 0; }
.dias li { display: grid; gap: 2px; border: 2px solid var(--tinta); border-radius: 14px; padding: 8px 16px; min-width: 88px; }
.dias li.prov { border-style: dashed; opacity: .75; }
.dias li span { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }

/* catálogo */
.nivel-group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nivel-group legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: block; padding: .6em 1.3em; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--fg); font-weight: 600; font-size: .9rem; }
.pill input:checked + span { background: var(--btn-bg); color: var(--btn-fg); box-shadow: none; }
.pill input:focus-visible + span { outline: 3px solid var(--fg); outline-offset: 3px; }
.kits { border-top: 2px solid var(--line); }
.kit { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 360px) 170px; gap: 14px clamp(14px, 2.4vw, 32px); padding-block: 22px; border-bottom: 2px solid var(--line); align-items: start; }
.kit h4 { margin: 0 0 4px; font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.kit .para { font-weight: 500; }
.kit-info { display: grid; gap: 6px; align-content: start; justify-items: start; min-width: 0; }
.kit-precios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.precio { display: grid; gap: 2px; padding: 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); align-content: start; }
.precio b { font-size: .98rem; letter-spacing: -.02em; }
.precio.activo { box-shadow: inset 0 0 0 2px var(--menta); }
.kit-acc { display: grid; gap: 6px; justify-items: start; }
.kit-acc .btn { font-size: .82rem; padding: .65em 1.2em; border: 0; cursor: pointer; font-family: inherit; }
.en-cot { min-height: 1.2em; color: var(--menta); }
.thumb { width: 88px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: rgba(128,128,128,.16); display: grid; place-items: center; color: var(--dim); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat { border-top: 2px solid var(--line); }
.cat:last-child { border-bottom: 2px solid var(--line); }
.cat summary { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 16px 0; cursor: pointer; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; list-style: none; }
.cat summary::-webkit-details-marker { display: none; }
.cat summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; }
.cat[open] summary::after { content: "−"; }
.pieza { display: grid; grid-template-columns: 56px minmax(0, 1fr) 130px 170px; gap: 12px 20px; align-items: center; padding-block: 12px; border-top: 1px solid var(--line); }
.pieza .thumb { width: 56px; border-radius: 12px; }
.pieza-info { display: grid; gap: 4px; min-width: 0; }
.pieza .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pieza-precio { font-weight: 700; letter-spacing: -.02em; }

/* cotizador */
.cot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.cot-left { display: grid; gap: 18px; }
.campo { display: grid; gap: 8px; justify-items: start; }
.campo label { font-weight: 600; font-size: .9rem; }
.campo select { font: inherit; font-weight: 600; padding: .65em 1em; border-radius: 12px; border: 2px solid var(--fg); background: #fff; color: var(--tinta); min-width: 150px; }
.carrito { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line); }
.carrito .vacio { padding: 20px 0; display: grid; gap: 6px; border-bottom: 2px solid var(--line); }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px 14px; align-items: center; padding-block: 14px; border-bottom: 2px solid var(--line); }
.item-t { display: grid; gap: 2px; min-width: 0; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qb { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--fg); background: transparent; color: var(--fg); font: inherit; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.qn { min-width: 2ch; text-align: center; font-weight: 700; }
.qx { background: none; border: 0; font: inherit; font-size: .85rem; text-decoration: underline; color: var(--fg); cursor: pointer; padding: 10px 4px; }
.sugerencia { background: var(--menta); color: var(--tinta); border-radius: 16px; padding: 16px; display: grid; gap: 10px; justify-items: start; margin-top: 12px; font-size: .92rem; }
.sugerencia .btn.ghost { color: var(--tinta); box-shadow: inset 0 0 0 2px var(--tinta); }
.cot-right { background: var(--tinta); color: var(--papel); border-radius: 24px; padding: clamp(18px, 2.6vw, 32px); position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); --btn-bg: var(--menta); --btn-fg: var(--tinta); --fg: var(--papel); --dim: rgba(246,245,240,.68); }
.cot-right .small { color: var(--dim); }
.tot { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-block: 10px; border-bottom: 1px solid rgba(246,245,240,.2); }
.tot b { font-size: 1.15rem; letter-spacing: -.02em; }
.tot.grande b { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; color: var(--menta); }
.cot-right .btn { background: var(--menta); color: var(--tinta); border: 0; cursor: pointer; font-family: inherit; }
.cot-right .btn.ghost { background: transparent; color: var(--papel); box-shadow: inset 0 0 0 2px var(--papel); }
.cot-right .btn[aria-disabled="true"] { opacity: .5; }

.alumnos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.faq details { border-top: 2px solid var(--line); }
.faq details:last-child { border-bottom: 2px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--dim); }
.links3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.links3 a { text-decoration: none; display: grid; gap: 6px; border-top: 3px solid var(--line); padding-top: 16px; }
.links3 a:hover .t { color: var(--menta); }

.cartbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--tinta); color: var(--papel); padding: 10px max(var(--gut), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gut), env(safe-area-inset-left, 0px)); font-size: .9rem; font-weight: 500; box-shadow: 0 -1px 0 rgba(246,245,240,.2); }
.cartbar[hidden], .toast[hidden] { display: none; }
.cartbar .btn { background: var(--menta); color: var(--tinta); padding: .6em 1.3em; }
.toast { position: fixed; z-index: 55; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: min(92vw, 520px); background: var(--menta); color: var(--tinta); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .9rem; }

@media (max-width: 1000px) {
  .kit { grid-template-columns: 72px minmax(0, 1fr); }
  .kit .thumb { width: 72px; }
  .kit-precios, .kit-acc { grid-column: 1 / -1; }
  .pieza { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .pieza .thumb { width: 48px; }
  .pieza-precio { grid-column: 2; }
  .pieza .kit-acc { grid-column: 3; grid-row: 1 / span 2; }
  .cot { grid-template-columns: minmax(0, 1fr); }
  .cot-right { position: static; }
}
@media (max-width: 860px) {
  .mhero { grid-template-columns: minmax(0, 1fr); }
  .mhero > img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .ruta, .niveles, .pasos, .links3, .cop, .alumnos, .faq { grid-template-columns: minmax(0, 1fr); }
  .item { grid-template-columns: minmax(0, 1fr) auto; }
  .qx { grid-column: 1 / -1; justify-self: start; padding-left: 0; }
}

/* ===== Molino: su propia estética, en dorado ===== */
.molino { --menta: var(--oro); }
.molino::before { background: var(--tinta); }
.molino .top { background: var(--tinta); color: var(--papel); border-bottom: 1px solid rgba(255, 211, 72, .35); }
.molino .links a:hover { border-color: var(--oro); }
.molino .menu-btn { background: var(--oro); color: var(--tinta); }
.molino .mega, .molino .xl { text-transform: uppercase; letter-spacing: -.02em; }
.brand-logo { height: 46px; width: auto; display: block; }
.foot-logo { height: 90px; width: auto; display: block; margin-bottom: 8px; }
.barra { display: block; width: 100%; max-width: 220px; height: 14px; background: var(--oro); }
.mhero-logo { margin: 0; line-height: 0; }
.mhero-logo img { width: min(520px, 82%); height: auto; }
.molino-mini { width: min(260px, 60%); height: auto; }
.busca { font-size: var(--l); font-weight: 500; line-height: 1.3; letter-spacing: -.015em; max-width: 40ch; margin-bottom: clamp(24px, 4vw, 48px); }
.aportes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); border-top: 3px solid var(--tinta); padding-top: 20px; }
.aportes ul { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.aportes li { padding-left: 18px; position: relative; }
.aportes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--oro); border: 2px solid var(--tinta); border-radius: 50%; }
.pasos5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pasos5 li::before { background: var(--tinta); color: var(--oro); }
.pasos5 span { color: var(--dim); }
.cop-foot { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 5vw, 64px); border-top: 2px solid var(--line); padding-top: 28px; }
.rentacta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 5vw, 80px); align-items: center; }
.logo-tinta { width: 100%; height: auto; }
.on-papel .pasos li::before { background: var(--tinta); color: var(--oro); }
@media (max-width: 860px) {
  .aportes, .cop-foot, .rentacta { grid-template-columns: minmax(0, 1fr); }
  .pasos5 { grid-template-columns: minmax(0, 1fr); }
  .logo-tinta { max-width: 240px; }
}
@media (max-width: 400px) { .brand-logo { height: 38px; } }

/* Formulario de coproducción */
.proponer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 5vw, 64px); border-top: 3px solid var(--tinta); padding-top: 28px; }
#form-coprod { display: grid; gap: 18px; }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fld { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld label, .fld legend { font-weight: 600; font-size: .9rem; padding: 0; }
.fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld input[type=url], .fld select, .fld textarea { font: inherit; width: 100%; box-sizing: border-box; padding: .7em .9em; border-radius: 12px; border: 2px solid var(--tinta); background: #fff; color: var(--tinta); }
.fld textarea { resize: vertical; }
.fld [aria-invalid=true] { border-color: #B3261E; box-shadow: 0 0 0 2px #B3261E; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 3px solid var(--tinta); outline-offset: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.checks legend { width: 100%; margin-bottom: 6px; }
.checks label, .ok { font-weight: 500; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.checks input, .ok input { width: 20px; height: 20px; accent-color: var(--tinta); }
.ferr { color: #B3261E; font-weight: 600; }
.form-ok { display: grid; gap: 12px; padding: 24px; border: 2px solid var(--tinta); border-radius: 18px; background: #fff; }
@media (max-width: 860px) { .proponer { grid-template-columns: minmax(0, 1fr); } .f2 { grid-template-columns: minmax(0, 1fr); } }

.cop-line { font-weight: 500; font-size: 1rem; display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.cop-line i { font-style: normal; color: var(--oro); }

/* Cinema Canino: verde bosque y bronce del logo */
body.canino { --tinta: #06210F; --menta: #C98240; }
body.canino .top { background: var(--tinta); color: var(--papel); border-bottom: 1px solid rgba(201,130,64,.4); }
body.canino .links a:hover { border-color: var(--bronce); }
body.canino .menu-btn { background: var(--bronce); color: var(--tinta); }
body.canino .on-papel { --dim: rgba(6,33,15,.68); --line: rgba(6,33,15,.2); }
body.canino .on-menta { --dim: rgba(6,33,15,.78); --line: rgba(6,33,15,.85); }
body.canino .next .date { color: var(--bronce); }
.canino-h1 { margin: 0; line-height: 0; }
.canino-h1 img { height: clamp(200px, 36vh, 360px); width: auto; display: block; }

.foto-par { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); margin-top: clamp(28px, 4vw, 56px); }
.foto-par img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (max-width: 560px) { .foto-par { grid-template-columns: minmax(0, 1fr); } .foto-par img { aspect-ratio: 4 / 3; } }
@media (max-width: 700px) { .shop, .shop-cap { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shop-cap p { font-size: .78rem; } }

/* Cine en línea */
body.streaming { --menta: var(--lila); }
body.streaming .top { background: var(--tinta); color: var(--papel); border-bottom: 1px solid rgba(221,133,255,.35); }
body.streaming .links a:hover { border-color: var(--lila); }
body.streaming .menu-btn { background: var(--lila); color: var(--tinta); }
.sthero-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); align-items: center; }
.stlogo { margin: 0; line-height: 0; }
.stlogo img { width: min(360px, 80%); height: auto; display: block; }
.peli { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 44px); align-items: center; padding-block: clamp(20px, 3vw, 36px); border-top: 2px solid var(--line); }
.peli:last-child { border-bottom: 2px solid var(--line); }
.peli img { width: 100%; height: auto; display: block; }
.peli h3 { font-size: clamp(1.7rem, 3.6vw, 3.4rem); }
.peli-meta { margin: 6px 0 10px; color: var(--dim); }
.peli p:not(.peli-meta) { max-width: 56ch; }
.arch { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
.arch li { display: grid; gap: 4px; align-content: start; }
.arch img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; filter: grayscale(1); opacity: .75; margin-bottom: 6px; }
.arch b { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.arch span { font-size: .8rem; color: var(--dim); }
.sel { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.sel img { width: 100%; height: auto; }
@media (max-width: 860px) { .sthero-in, .sel { grid-template-columns: minmax(0, 1fr); } .stlogo img { width: min(240px, 60%); } .peli { grid-template-columns: 110px minmax(0, 1fr); } .peli .actions { grid-column: 1 / -1; } }


.tarjetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.tarjeta { background: var(--tinta); color: var(--papel); border: 2px solid var(--lila); border-radius: 6px; padding: 12px; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.tarjeta .poster { background: #000; padding: 0; line-height: 0; }
.tarjeta .poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: #000; display: block; }
.tarjeta-in { display: grid; gap: 10px; align-content: start; padding: 0 6px 8px; }
.tarjeta-in h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.tarjeta .dir { color: var(--lila); font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.tarjeta-in p:not(.dir) { font-size: .92rem; color: rgba(246,245,240,.82); }
.tarjeta .btn { justify-self: start; margin-top: 6px; background: var(--lila); color: var(--tinta); }
.tarjeta .btn.off { background: transparent; color: rgba(246,245,240,.6); box-shadow: inset 0 0 0 1.5px rgba(246,245,240,.3); cursor: default; }
.tarjeta.ya .poster img { filter: grayscale(.6); opacity: .85; }
.tag-sel { justify-self: start; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1.5px solid rgba(246,245,240,.5); border-radius: 999px; padding: .15em .8em; }
@media (max-width: 960px) { .tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tarjetas { grid-template-columns: minmax(0, 1fr); } }
.on-papel .sel img, .sel img { filter: none; }

.fotos2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.fotos2 img{width:100%;aspect-ratio:4/3;object-fit:cover;max-width:none;display:block}
.foot-cols a,.foot-cols .link,a.link{display:inline-block;padding-block:8px}
.tarjeta .dir{font-size:.8rem}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.vback{display:inline-block;font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;padding-block:8px;opacity:.75}
.vgate{border:2px solid var(--lila);border-radius:6px;padding:clamp(22px,4vw,44px);max-width:640px;display:grid;gap:14px}
.vgate form{display:grid;gap:12px}
.vgate input[type=email]{width:100%;padding:14px;border-radius:6px;border:1px solid var(--line);background:transparent;color:var(--fg);font:inherit}
.vgate .skip{background:none;border:0;color:var(--dim);text-decoration:underline;cursor:pointer;font:inherit;padding:10px 0;justify-self:start;text-align:left}
.vframe{position:relative;aspect-ratio:16/9;background:#000;border-radius:6px;overflow:hidden}
.vframe iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vcols{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:clamp(24px,5vw,72px)}
.vposter{width:100%;max-width:320px;aspect-ratio:2/3;object-fit:contain;background:#000;border-radius:6px;display:block}
@media(max-width:800px){.vcols{grid-template-columns:1fr}}
.vcomm form{display:grid;gap:14px;max-width:560px}
.vthanks{color:var(--lila);font-weight:600}
button.btn{font-family:inherit;font-weight:600;font-size:inherit;border:0;cursor:pointer}
