/* ==========================================================================
   Luna Skate — sitio público
   Colores administrables desde Admin → Ajustes → Marca (variables --c-*)
   ========================================================================== */

:root {
  --c-primary: #FF5A1F; --c-secondary: #1D3FD6; --c-accent: #FFC21A; --c-dark: #141414; --c-light: #F5F0E6;
  --on-primary: #141414; --on-secondary: #fff; --on-accent: #141414;
  --ink: var(--c-dark);
  --paper: var(--c-light);
  --white: #fff;
  --muted: color-mix(in srgb, var(--ink) 62%, transparent);
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Permanent Marker", "Comic Sans MS", cursive;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --hdr-h: 84px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::after { /* grano de papel */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .site-footer { overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; }
p { margin: 0 0 1em; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }
.center { text-align: center; }
.center.btn-row, .btn-row.center { justify-content: center; }
.mt { margin-top: 40px; }
.muted { color: var(--muted); font-size: .9em; }
.anchor { display: block; position: relative; top: calc(-1 * var(--hdr-h)); visibility: hidden; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--f-hand); color: var(--c-primary); font-size: clamp(1rem, 1.6vw, 1.25rem);
  display: inline-block; transform: rotate(-2deg); margin: 0 0 .6em; letter-spacing: .02em;
}
.eyebrow--light { color: var(--c-accent); }
.sec-title, .phero-title, .hero-title, .cta-title, .evf-title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .95;
}
.sec-title { font-size: clamp(2.3rem, 5.6vw, 4.6rem); margin-bottom: .35em; text-wrap: balance; }
.sec-intro { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 640px; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center .sec-intro, .center .sec-intro { margin-inline: auto; }
.lead { font-size: 1.25rem; line-height: 1.5; font-weight: 500; }
.h-sm { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; margin: 48px 0 20px; }
.prose { font-size: 1.05rem; }
.prose--lg { font-size: 1.15rem; }
.prose h2, .prose h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; margin-top: 1.4em; }
.prose h2 { font-size: 2rem; } .prose h3 { font-size: 1.5rem; }
.prose a { color: var(--c-primary); font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding: 8px 0 8px 20px; border-left: 5px solid var(--c-primary); font-size: 1.2em; font-weight: 500; }
.prose img { border-radius: var(--r-sm); margin: 1em 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--r-sm); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--c-primary); --fg: var(--on-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.1;
  box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { padding: .65em 1.15em; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--ink { --bg: var(--ink); --fg: #fff; border-color: var(--ink); box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 35%, transparent); }
.btn--outline { --bg: transparent; --fg: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; }
.btn--wa { --bg: #25D366; --fg: #0b2b17; }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: #fff; box-shadow: 4px 4px 0 rgba(255,255,255,.35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr-h);
  transition: background .3s, box-shadow .3s, transform .35s var(--ease), color .3s;
}
.hdr-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; position: relative; text-decoration: none; }
.brand-logo { height: 58px; width: auto; transition: filter .3s, opacity .3s; }
.brand-logo--light { position: absolute; left: 0; top: 0; opacity: 0; }
.brand-text { display: flex; gap: 8px; align-items: center; font-family: var(--f-display); font-size: 1.8rem; text-transform: uppercase; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 14px; font-weight: 700; text-decoration: none; border-radius: 999px; font-size: .98rem; transition: background .2s, color .2s; }
.nav > ul > li > a:hover, .nav > ul > li.is-active > a { background: color-mix(in srgb, currentColor 12%, transparent); }
.nav li.is-active > a { box-shadow: inset 0 -3px 0 var(--c-primary); border-radius: 999px 999px 8px 8px; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 8px 0 0; padding: 8px; background: #fff; color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a:hover { background: var(--paper); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid currentColor; background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* Encabezado sólido (páginas sin portada) */
.hdr-solid main { padding-top: var(--hdr-h); }
.hdr-solid .site-header, .site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line); color: var(--ink);
}
/* Encabezado sobre portada */
.hdr-overlay .site-header:not(.is-scrolled) { color: #fff; }
.hdr-overlay .site-header:not(.is-scrolled) .brand-logo--auto { filter: brightness(0) invert(1); }
.hdr-overlay .site-header:not(.is-scrolled) .brand-logo--light { opacity: 1; }
.hdr-overlay .site-header:not(.is-scrolled) .brand-logo--light ~ .brand-logo, .hdr-overlay .site-header:not(.is-scrolled) .brand-logo:not(.brand-logo--light):has(+ .brand-logo--light) { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { color: #fff !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none; transform: none; }
.menu-open .site-header .brand-logo--auto { filter: brightness(0) invert(1); }

/* Menú móvil */
.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: calc(var(--hdr-h) + 24px) var(--gut) 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .6s var(--ease);
}
.mnav:not([hidden]) { display: flex; }
.menu-open .mnav { clip-path: circle(150% at calc(100% - 44px) 42px); }
.mnav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mnav li { counter-increment: m; border-bottom: 1px solid rgba(255,255,255,.12); }
.mnav li > a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.6rem); text-transform: uppercase; text-decoration: none; line-height: 1; }
.mnav li > a::before { content: counter(m, decimal-leading-zero); font-family: var(--f-hand); font-size: .9rem; color: var(--c-primary); }
.mnav li > a:hover { color: var(--c-primary); }
.mnav-sub { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 0 14px 34px; }
.mnav-sub a { opacity: .8; }
.mnav-foot { display: grid; gap: 8px; margin-top: 32px; opacity: .9; }
.mnav-foot a { text-decoration: none; }

/* Redes */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid currentColor; transition: .2s var(--ease); }
.socials a:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--on-primary); transform: rotate(-8deg) scale(1.06); }
.socials--ink { margin-top: 24px; }

/* ---------- Secciones ---------- */
.sec { padding-block: clamp(64px, 10vw, 120px); position: relative; }
.sec--tight { padding-block: clamp(40px, 6vw, 72px); }
.pad-top { padding-top: calc(clamp(40px, 7vw, 80px)); }
.sec--light { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--dark .sec-intro, .sec--secondary .sec-intro { color: rgba(255,255,255,.75); }
.sec--primary { background: var(--c-primary); color: var(--on-primary); }
.sec--primary .eyebrow { color: var(--ink); }
.sec--primary .sec-intro, .sec--accent .sec-intro { color: color-mix(in srgb, currentColor 78%, transparent); }
.sec--secondary { background: var(--c-secondary); color: var(--on-secondary); }
.sec--secondary .eyebrow, .sec--dark .eyebrow { color: var(--c-accent); }
.sec--accent { background: var(--c-accent); color: var(--on-accent); }
.sec--accent .eyebrow { color: var(--ink); }

/* ---------- Portada carrusel ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero--full { height: 100svh; min-height: 600px; }
.hero--large { height: 82svh; min-height: 540px; }
.hero--medium { height: 64svh; min-height: 460px; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.hero-slide.is-active .hero-bg img { transform: scale(1); }
.hero-slide:not(.is-poster) .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.78) 100%),
              linear-gradient(90deg, rgba(0,0,0,.45), transparent 60%);
}
.hero-slide.is-poster { background: var(--c-primary); }
.hero-slide.is-poster .hero-bg img:not(.hero-blur) { object-fit: contain; transform: none; padding: calc(var(--hdr-h) + 10px) 16px 70px; }
.hero-blur { position: absolute; inset: -40px; width: calc(100% + 80px) !important; height: calc(100% + 80px) !important; filter: blur(40px) saturate(1.3); opacity: .7; }
.hero-content { padding-bottom: clamp(96px, 14vh, 150px); position: relative; }
.hero-title { font-size: clamp(3.6rem, 13vw, 11rem); margin: 0 0 .12em; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero-slide.is-active .hero-title { animation: rise .9s var(--ease) both .15s; }
.hero-slide.is-active .eyebrow { animation: rise .8s var(--ease) both; }
.hero-slide.is-active .hero-text, .hero-slide.is-active .btn { animation: rise .9s var(--ease) both .3s; }
.hero-text { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 560px; margin-bottom: 28px; opacity: .92; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-ui { position: absolute; left: 0; right: 0; bottom: 32px; margin: auto; z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 24px; pointer-events: none; }
.hero-ui > * { pointer-events: auto; }
.hero-count { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: .06em; }
.hero-count b { font-weight: 400; font-size: 1.6rem; color: var(--c-primary); margin-right: 4px; }
.hero-count span { opacity: .7; }
.hero-bars { display: flex; gap: 8px; }
.hero-bars button { width: 48px; height: 24px; border: 0; background: transparent; padding: 0; position: relative; }
.hero-bars button::before, .hero-bars i { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); }
.hero-bars i { background: #fff; transform-origin: left; transform: scaleX(0); }
.hero-bars button.is-active i { animation: bar var(--dur, 6000ms) linear forwards; }
.hero.is-paused .hero-bars button.is-active i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-scroll { position: absolute; left: var(--gut); bottom: 30px; z-index: 3; display: none; align-items: center; gap: 10px; text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll i { width: 2px; height: 36px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@media (min-width: 900px) { .hero-scroll { display: flex; } }

/* ---------- Portada de página ---------- */
.phero { position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink); }
.phero.sec--primary { color: var(--on-primary); background: var(--c-primary); }
.phero.sec--secondary { color: var(--on-secondary); background: var(--c-secondary); }
.phero.sec--accent { color: var(--on-accent); background: var(--c-accent); }
.phero.sec--light { color: var(--ink); background: var(--paper); }
.phero.sec--white { color: var(--ink); background: #fff; }
.phero--large { min-height: 78svh; } .phero--medium { min-height: 58svh; } .phero--small { min-height: 40svh; }
.phero-bg { position: absolute; inset: 0; z-index: -1; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; animation: slowzoom 14s ease-out both; }
.phero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.1) 40%, rgba(0,0,0,.72)); }
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.phero-in { padding-top: calc(var(--hdr-h) + 40px); padding-bottom: clamp(64px, 9vw, 110px); position: relative; }
.phero-in > * { animation: rise .9s var(--ease) both; }
.phero-in > *:nth-child(2) { animation-delay: .1s; } .phero-in > *:nth-child(3) { animation-delay: .2s; } .phero-in > *:nth-child(4) { animation-delay: .3s; }
.phero-title { font-size: clamp(3rem, 10vw, 8.5rem); margin: 0 0 .15em; }
.phero-text { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 620px; opacity: .92; margin-bottom: 26px; }
.phero-edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 34px; fill: var(--paper); }
.hdr-solid main > .phero:first-child { margin-top: calc(-1 * var(--hdr-h)); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .9rem; margin-bottom: 18px; opacity: .85; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs--dark { color: var(--muted); }

/* ---------- Cinta ---------- */
.marquee { --bg: var(--c-primary); --fg: var(--on-primary); background: var(--bg); color: var(--fg); overflow: hidden; position: relative; z-index: 2;
  border-block: 3px solid var(--ink); padding: 16px 0; }
.marquee--secondary { --bg: var(--c-secondary); --fg: var(--on-secondary); }
.marquee--dark { --bg: var(--ink); --fg: #fff; border-color: var(--c-primary); }
.marquee--accent { --bg: var(--c-accent); --fg: var(--on-accent); }
.marquee.is-tilt { transform: rotate(-2deg) scale(1.04); margin-block: -18px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track > div { display: flex; align-items: center; }
.marquee span { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1; white-space: nowrap; padding: 0 22px; }
.marquee i { display: inline-flex; } .marquee i .ico { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Texto + imagen ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev .split-text { order: 2; }
.split-media { position: relative; }
.frame { margin: 0; border: 3px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 12px 12px 0 var(--c-primary), 12px 12px 0 3px var(--ink); transform: rotate(1.5deg); transition: transform .5s var(--ease); background: var(--ink); }
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .8s var(--ease); }
.split-media:hover .frame { transform: rotate(0); }
.split-media:hover .frame img { transform: scale(1.04); }
.frame--tilt { transform: rotate(-1.5deg); box-shadow: 12px 12px 0 var(--c-secondary), 12px 12px 0 3px var(--ink); }
.sticker {
  position: absolute; top: -18px; left: -18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-accent); color: var(--on-accent); border: 3px solid var(--ink); border-radius: 999px; padding: 10px 18px;
  font-family: var(--f-hand); font-size: 1.1rem; transform: rotate(-8deg); box-shadow: var(--shadow-sm); white-space: nowrap;
}
.sticker--blue { background: var(--c-secondary); color: var(--on-secondary); top: auto; bottom: -16px; left: auto; right: 12px; transform: rotate(4deg); }
.sticker--yellow { background: var(--c-accent); color: var(--on-accent); }
.deco-moon { position: absolute; right: -26px; bottom: -26px; width: 92px; height: 92px; border-radius: 50%; background: var(--c-secondary); color: #fff; display: grid; place-items: center; border: 3px solid var(--ink); animation: spin 18s linear infinite; }
.deco-moon .ico { width: 44px; height: 44px; fill: var(--c-accent); stroke: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Rejillas y tarjetas ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.fcard { display: flex; flex-direction: column; text-decoration: none; position: relative; border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fcards--sticker .fcard { background: #fff; color: var(--ink); border: 2.5px solid var(--ink); box-shadow: var(--shadow); padding: 28px; }
.fcards--sticker .fcard:nth-child(3n+2) { transform: rotate(.8deg); } .fcards--sticker .fcard:nth-child(3n) { transform: rotate(-.8deg); }
.fcards--sticker .fcard:hover { transform: translate(-3px, -3px) rotate(0); box-shadow: 10px 10px 0 var(--ink); }
.fcard-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--c-primary); color: var(--on-primary); border: 2.5px solid var(--ink); margin-bottom: 20px; transform: rotate(-6deg); transition: transform .3s var(--ease); }
.fcard:nth-child(3n+2) .fcard-ico { background: var(--c-secondary); color: var(--on-secondary); }
.fcard:nth-child(3n) .fcard-ico { background: var(--c-accent); color: var(--on-accent); }
.fcard:hover .fcard-ico { transform: rotate(6deg) scale(1.06); }
.fcard-ico .ico { width: 30px; height: 30px; }
.fcard h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; margin-bottom: .4em; }
.fcard p { color: var(--muted); margin: 0; }
.sec--dark .fcard p, .sec--secondary .fcard p { color: rgba(255,255,255,.72); }
.fcards--sticker .fcard p { color: color-mix(in srgb, var(--ink) 70%, transparent); }
.fcard .more, .wcard .more, .pcard .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .95rem; }
.fcard .more .ico, .wcard .more .ico, .pcard .more .ico { transition: transform .2s var(--ease); }
.fcard:hover .more .ico, .wcard:hover .more .ico, .pcard:hover .more .ico { transform: translateX(4px); }
.fcards--image .fcard { background: var(--ink); color: #fff; overflow: hidden; min-height: 440px; justify-content: flex-end; border: 2.5px solid var(--ink); }
.fcards--image .fcard-img { position: absolute; inset: 0; }
.fcards--image .fcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fcards--image .fcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85)); }
.fcards--image .fcard:hover .fcard-img img { transform: scale(1.07); }
.fcards--image .fcard-body { position: relative; padding: 28px; }
.fcards--image .fcard h3 { font-size: 2.1rem; }
.fcards--image .fcard p { color: rgba(255,255,255,.82); }
.fcards--image .fcard .more { color: var(--c-accent); }
.fcards--image .fcard-ico { position: relative; margin: 24px 0 0 24px; }
.fcards--minimal .fcard { padding: 8px 0; }
.fcards--minimal .fcard-ico { background: transparent; border: 0; color: var(--c-primary); width: auto; height: auto; justify-content: start; transform: none; }

/* Talleres */
.wcard { display: flex; flex-direction: column; background: #fff; color: var(--ink); border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wcard:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.wcard-img { position: relative; aspect-ratio: 4/3; background: var(--ink); overflow: hidden; border-bottom: 2.5px solid var(--ink); }
.wcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wcard:hover .wcard-img img { transform: scale(1.06) rotate(.5deg); }
.wcard-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--c-primary); background: repeating-linear-gradient(45deg, #1d1d1d 0 14px, #232323 14px 28px); }
.wcard-ph .ico { width: 64px; height: 64px; }
.wcard-ico { position: absolute; left: 16px; bottom: -1px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--c-primary); color: var(--on-primary); border: 2.5px solid var(--ink); border-bottom: 0; border-radius: 14px 14px 0 0; }
.wcard-tag { position: absolute; top: 14px; right: 14px; background: var(--c-accent); color: var(--on-accent); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; transform: rotate(3deg); }
.wcard-tag--off { background: #fff; color: var(--ink); }
.wcard-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.wcard h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.75rem; margin-bottom: .35em; }
.wcard p { color: color-mix(in srgb, var(--ink) 70%, transparent); font-size: .98rem; margin-bottom: 14px; }
.wcard .more { margin-top: auto; padding-top: 6px; color: var(--c-primary); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.chips li, .chip-price { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); }
.chips .ico { width: 14px; height: 14px; }
.chip-price { background: var(--c-accent); color: var(--on-accent); border-color: var(--ink); }

/* Pilares (misión / visión) */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.pillar { position: relative; padding: 40px 32px 36px; border: 2.5px solid var(--ink); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.sec--dark .pillar, .sec--secondary .pillar { background: transparent; border-color: rgba(255,255,255,.3); box-shadow: none; }
.pillar:nth-child(2) { background: var(--c-primary); color: var(--on-primary); }
.sec--dark .pillar:nth-child(2), .sec--secondary .pillar:nth-child(2) { border-color: var(--c-primary); }
.pillar-num { position: absolute; top: -22px; right: 24px; font-family: var(--f-display); font-size: 3.2rem; line-height: 1; -webkit-text-stroke: 2px var(--ink); color: var(--c-accent); }
.pillar h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.pillar p { font-size: 1.12rem; line-height: 1.55; margin: 0; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; }
.stat span { font-weight: 600; opacity: .85; }

/* Testimonios */
.bigquote { margin: 0 auto; max-width: 980px; text-align: center; position: relative; }
.bigquote-mark { display: block; font-family: var(--f-display); font-size: 11rem; line-height: .7; color: var(--c-primary); height: 90px; }
.bigquote blockquote { margin: 0; }
.bigquote blockquote p { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.02; margin-bottom: 28px; text-wrap: balance; }
.bigquote figcaption, .qcard figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.bigquote figcaption img, .qcard figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid currentColor; }
.bigquote small, .qcard small { display: block; opacity: .7; }
.quotes { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; }
.qcard { flex: 0 0 min(420px, 85%); scroll-snap-align: start; margin: 0; padding: 32px; border-radius: var(--r); background: #fff; color: var(--ink); border: 2.5px solid var(--ink); box-shadow: var(--shadow); }
.qcard-mark { font-family: var(--f-display); font-size: 5rem; line-height: .6; color: var(--c-primary); display: block; height: 36px; }
.qcard blockquote { margin: 0 0 20px; font-size: 1.15rem; font-weight: 500; }

/* FAQ */
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq-a { padding-bottom: 20px; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; padding-block: clamp(72px, 11vw, 140px); isolation: isolate; text-align: center; }
.cta.has-img { color: #fff; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.cta-in { display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(2.6rem, 7vw, 6rem); max-width: 1000px; margin-bottom: .3em; text-wrap: balance; }
.cta p { font-size: 1.2rem; max-width: 620px; margin-bottom: 30px; opacity: .88; }
.cta .btn-row { justify-content: center; }
.cta-deco .ico { position: absolute; z-index: -1; opacity: .18; width: 240px; height: 240px; fill: currentColor; stroke: none; }
.cta-deco .ico:first-child { left: -60px; top: -40px; animation: spin 30s linear infinite; }
.cta-deco .ico:last-child { right: -40px; bottom: -60px; }
.sec--primary.cta .btn--ink { --bg: var(--ink); }
.sec--dark.cta .btn--ink, .sec--secondary.cta .btn--ink { --bg: #fff; --fg: var(--ink); border-color: #fff; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cinfo { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.cinfo li { display: flex; gap: 14px; align-items: center; }
.cinfo-ico { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.cinfo-ico--wa { background: #25D366; }
.cinfo small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .65; font-weight: 700; }
.cinfo a, .cinfo span { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.cinfo a:hover { color: var(--c-primary); }
.cinfo--big li { padding: 12px 0; border-bottom: 1.5px dashed var(--line); }
.map { margin-top: 40px; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 380px; border: 0; }
.map--frame { margin: 0; } .map--frame iframe { height: 460px; }

/* Formularios */
.lform { background: #fff; color: var(--ink); border: 2.5px solid var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.side-card .lform { border: 0; box-shadow: none; padding: 0; background: transparent; }
.lform-title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; margin-bottom: 18px; }
.lform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.lf { display: flex; flex-direction: column; gap: 6px; }
.lf--full { grid-column: 1 / -1; }
.lf label { font-size: .85rem; font-weight: 700; }
.lf input, .lf select, .lf textarea, .news-form input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s;
}
.lf input:focus, .lf select:focus, .lf textarea:focus, .news-form input:focus { outline: none; border-color: var(--ink); background: #fff; }
.lf textarea { resize: vertical; min-height: 110px; }
.form-msg { margin: 12px 0 0; font-weight: 700; min-height: 1em; }
.form-msg.is-ok { color: #0f7a3a; } .form-msg.is-err { color: #c62828; }
.form-legal { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.lform.is-sent .lform-grid, .lform.is-sent > .btn { opacity: .45; pointer-events: none; }
.lform.is-loading .btn { opacity: .7; pointer-events: none; }

/* Eventos: lista */
.elist { display: grid; gap: 14px; }
.erow { display: grid; grid-template-columns: 110px 140px 1fr 56px; align-items: center; gap: 22px; padding: 16px; border: 2.5px solid var(--ink); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: .3s var(--ease); }
.erow:hover { transform: translateX(6px); box-shadow: -6px 6px 0 var(--c-primary); }
.erow-date { text-align: center; background: var(--c-primary); color: var(--on-primary); border-radius: 14px; padding: 12px 6px; border: 2px solid var(--ink); }
.erow-date strong { display: block; font-family: var(--f-display); font-size: 2.6rem; line-height: 1; font-weight: 400; }
.erow-date span { font-weight: 800; text-transform: uppercase; font-size: .8rem; }
.erow-img { width: 140px; height: 96px; object-fit: cover; border-radius: 12px; }
.erow h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; margin: 0 0 4px; }
.erow p { margin: 0; color: var(--muted); }
.erow-go { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); transition: .3s var(--ease); }
.erow:hover .erow-go { background: var(--ink); color: #fff; transform: rotate(45deg); }

/* Evento destacado */
.evf { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(72px, 10vw, 130px); isolation: isolate; }
.evf-noise { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(600px 400px at 85% 10%, color-mix(in srgb, var(--c-primary) 45%, transparent), transparent 70%),
              radial-gradient(500px 400px at 5% 90%, color-mix(in srgb, var(--c-secondary) 55%, transparent), transparent 70%); }
.evf-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.evf-poster { position: relative; }
.evf-poster img { width: 100%; border-radius: var(--r); border: 3px solid #fff; transform: rotate(-3deg); box-shadow: 16px 16px 0 var(--c-primary); transition: transform .5s var(--ease); }
.evf-poster:hover img { transform: rotate(0) scale(1.02); }
.evf-poster .sticker { top: auto; bottom: -14px; left: auto; right: -6px; transform: rotate(6deg); }
.evf-title { font-size: clamp(3rem, 8vw, 6.5rem); margin-bottom: .1em; color: var(--c-primary); }
.evf-sub { font-size: 1.25rem; opacity: .85; }
.evf-meta { list-style: none; padding: 0; margin: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 700; font-size: 1.1rem; }
.evf-meta li { display: flex; align-items: center; gap: 8px; }
.evf-meta .ico { color: var(--c-accent); }
.evf-past { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1.5px dashed rgba(255,255,255,.3); }
.evf-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 24px 0 30px; }
.evf-cat { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.18); }
.evf-cat .ico { color: var(--c-accent); margin-top: 2px; }
.evf-cat strong { display: block; font-size: 1.05rem; }
.evf-cat span { font-size: .9rem; opacity: .75; }
.countdown { display: flex; gap: 10px; margin-bottom: 20px; }
.countdown > div { min-width: 86px; text-align: center; padding: 14px 8px; border-radius: 16px; background: var(--c-primary); color: var(--on-primary); border: 2.5px solid #fff; }
.countdown > div:nth-child(even) { transform: rotate(2deg); background: var(--c-accent); color: var(--on-accent); }
.countdown b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.countdown span { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.countdown--light > div { border-color: var(--ink); box-shadow: var(--shadow-sm); }

/* Galerías */
.gallery--masonry { columns: 3 280px; column-gap: 16px; }
.gallery--masonry .gitem { break-inside: avoid; margin-bottom: 16px; }
.gallery--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery--grid .gitem img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery--strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px var(--gut) 20px; scrollbar-width: thin; cursor: grab; }
.gallery--strip .gitem { flex: 0 0 auto; height: clamp(280px, 42vw, 460px); scroll-snap-align: center; }
.gallery--strip .gitem img { height: 100%; width: auto; max-width: none; }
.gallery--strip .gitem:nth-child(odd) { transform: rotate(-1deg); } .gallery--strip .gitem:nth-child(even) { transform: rotate(1deg) translateY(12px); }
.gitem { display: block; position: relative; overflow: hidden; border-radius: 16px; border: 2.5px solid var(--ink); background: var(--ink); }
.gitem img { width: 100%; transition: transform .7s var(--ease), opacity .3s; }
.gitem:hover img { transform: scale(1.05); }
.gcap { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--ink); padding: 4px 10px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
[data-drag-scroll].is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
[data-drag-scroll].is-dragging a { pointer-events: none; }

.acard { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 2.5px solid var(--ink); aspect-ratio: 4/5; color: #fff; text-decoration: none; background: var(--ink); box-shadow: var(--shadow); }
.acard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.acard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.85)); }
.acard:hover img { transform: scale(1.06); }
.acard-body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.acard h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; margin: 0; }

/* Proyectos */
.pcards { display: grid; gap: 28px; }
.pcard { display: grid; grid-template-columns: 1.1fr 1fr; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: .3s var(--ease); }
.pcard:nth-child(even) .pcard-img { order: 2; }
.pcard:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.pcard-img { position: relative; min-height: 320px; background: var(--c-secondary); }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.pcard-num { font-family: var(--f-display); font-size: 3rem; line-height: 1; -webkit-text-stroke: 2px var(--ink); color: transparent; margin-bottom: 10px; }
.pcard h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.pcard .more { color: var(--c-primary); }

/* Noticias */
.ncard { display: flex; flex-direction: column; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; transition: .3s var(--ease); }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ncard-img img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.ncard-body { padding: 22px; }
.ncard time { font-size: .85rem; font-weight: 700; color: var(--c-primary); }
.ncard h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.ncard p { color: var(--muted); margin: 0; }

/* Aliados */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; margin-top: 20px; }
.logo-item img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: .3s; }
.logo-item:hover img { filter: none; opacity: 1; }

/* Video */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow); background: var(--ink); cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--ink); background: var(--c-primary); color: var(--on-primary); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.video-play .ico { width: 38px; height: 38px; fill: currentColor; margin-left: 6px; }
.video:hover .video-play { transform: scale(1.1) rotate(-6deg); }

/* Vacíos / avisos */
.empty { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; }
.empty--big { flex-direction: column; text-align: center; padding: 60px 20px; border: 2.5px dashed var(--line); border-radius: var(--r); font-size: 1.2rem; }
.empty--big .ico { width: 56px; height: 56px; color: var(--c-primary); }
.notice { display: flex; gap: 10px; align-items: center; padding: 16px 20px; background: #fff; border: 2px dashed var(--ink); border-radius: 14px; font-weight: 600; }

/* ---------- Páginas de detalle ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail-side { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 22px; }
.side-card { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); position: relative; }
.side-ico { position: absolute; top: -26px; right: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--c-primary); color: var(--on-primary); border: 2.5px solid var(--ink); transform: rotate(8deg); }
.side-ico .ico { width: 28px; height: 28px; }
.side-price { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; margin-bottom: 16px; }
.side-price small { font-family: var(--f-body); font-size: .95rem; color: var(--muted); }
.side-poster { border-radius: 14px; margin-bottom: 18px; width: 100%; }
.dlist { margin: 0 0 20px; display: grid; }
.dlist > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1.5px dashed var(--line); }
.dlist dt { display: flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 600; }
.dlist dt .ico { width: 18px; height: 18px; color: var(--c-primary); }
.dlist dd { margin: 0; font-weight: 700; text-align: right; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cat-card { position: relative; padding: 26px 22px 22px; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.cat-num { position: absolute; top: -16px; left: 18px; background: var(--c-primary); color: var(--on-primary); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; font-family: var(--f-display); font-size: 1.2rem; }
.cat-card h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; margin-bottom: .3em; }
.cat-card p { color: var(--muted); margin-bottom: 10px; }
.agenda { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--ink); }
.agenda li { position: relative; padding: 10px 0 18px 24px; display: grid; gap: 2px; }
.agenda li::before { content: ""; position: absolute; left: -9px; top: 14px; width: 15px; height: 15px; border-radius: 50%; background: var(--c-primary); border: 2.5px solid var(--ink); }
.agenda-when { font-weight: 800; color: var(--c-primary); }

/* Tienda */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters a { padding: 9px 18px; border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; font-weight: 700; background: #fff; }
.filters a.is-active, .filters a:hover { background: var(--ink); color: #fff; }
.prod { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.prod-img { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; border: 2.5px solid var(--ink); background: #fff; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod:hover .prod-img { box-shadow: var(--shadow); transform: translate(-3px, -3px); }
.prod:hover .prod-img img { transform: scale(1.05); }
.prod-body { padding: 14px 4px 0; }
.prod-body small { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; }
.prod h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.price { font-weight: 800; margin: 0; } .price s, .pdp-price s { color: var(--muted); font-weight: 500; margin-left: 6px; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdp-main { border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; aspect-ratio: 1; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumbs button { width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: #fff; }
.pdp-thumbs button.is-active { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-price { font-family: var(--f-display); font-size: 2.6rem; margin: 0 0 14px; }
.stock { font-weight: 700; color: #0f7a3a; } .stock.is-out { color: #c62828; }
.pdp-order { margin-top: 16px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; }
.pdp-order summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; }
.pdp-order .lform { border: 0; box-shadow: none; padding-top: 0; }

/* 404 */
.nf-big { font-family: var(--f-display); font-size: clamp(8rem, 30vw, 18rem); line-height: .9; margin: 0; display: flex; justify-content: center; align-items: center; color: var(--c-primary); -webkit-text-stroke: 3px var(--ink); }
.nf-big span { display: inline-grid; place-items: center; width: .8em; height: .8em; border-radius: 50%; background: var(--c-secondary); color: #fff; border: 3px solid var(--ink); margin: 0 .05em; animation: spin 6s linear infinite; }
.nf-big span .ico { width: 55%; height: 55%; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(64px, 9vw, 110px); overflow: hidden; position: relative; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: 40px; }
.ftr-logo img { height: 70px; width: auto; margin-bottom: 18px; }
.ftr-logo img.on-dark { filter: brightness(0) invert(1); }
.ftr-brand p { opacity: .75; max-width: 320px; }
.site-footer h3 { font-family: var(--f-hand); font-weight: 400; color: var(--c-primary); font-size: 1.2rem; margin-bottom: 16px; }
.ftr-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr-col a { text-decoration: none; opacity: .85; transition: .2s; }
.ftr-col a:hover { opacity: 1; color: var(--c-primary); }
.ftr-contact li { display: flex; gap: 10px; align-items: center; }
.ftr-contact .ico { color: var(--c-primary); width: 18px; height: 18px; }
.ftr-news p { opacity: .75; }
.news-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.news-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.news-form input:focus { background: rgba(255,255,255,.12); border-color: #fff; }
.news-form .btn { box-shadow: none; border-color: var(--c-primary); }
.news-form .form-msg { grid-column: 1 / -1; font-size: .9rem; }
.news-form .form-msg.is-ok { color: #7ee2a8; }
.ftr-giant { margin-top: clamp(48px, 7vw, 90px); white-space: nowrap; line-height: .8; user-select: none; }
.ftr-giant span { display: block; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(5rem, 21vw, 22rem); text-align: center; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, #fff 28%, transparent); transition: color .6s; }
.ftr-giant:hover span { color: var(--c-primary); -webkit-text-stroke-color: var(--c-primary); }
.ftr-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; opacity: .7; }
.ftr-bottom p { margin: 0; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; align-items: center; gap: 10px; background: #25D366; color: #0b2b17; border: 2.5px solid var(--ink); border-radius: 999px; padding: 12px; box-shadow: var(--shadow-sm); text-decoration: none; font-weight: 800; transition: .3s var(--ease); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), margin .4s; }
.wa-float:hover span, .wa-float.is-peek span { max-width: 200px; margin-right: 6px; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,10,.94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); margin: auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: 12px; }
.lb-close, .lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-prev .ico { transform: rotate(180deg); }
.lb-next { right: 14px; }
.lb-close:hover, .lb-nav:hover { background: #fff; color: var(--ink); }

/* Toasts */
.toasts { position: fixed; top: calc(var(--hdr-h) + 10px); left: 50%; transform: translateX(-50%); z-index: 150; display: grid; gap: 8px; width: min(92vw, 520px); }
.toast { padding: 14px 18px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff; font-weight: 700; box-shadow: var(--shadow-sm); animation: rise .5s var(--ease) both; }
.toast--success { background: #d8f7e4; } .toast--error { background: #ffe0dc; }

/* Aparición al hacer scroll */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.fcards--sticker .fcard[data-reveal].is-in:nth-child(3n+2) { transform: rotate(.8deg); }
.fcards--sticker .fcard[data-reveal].is-in:nth-child(3n) { transform: rotate(-.8deg); }
.fcards--sticker .fcard[data-reveal].is-in:hover { transform: translate(-3px, -3px); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-actions { margin-left: auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 860px) {
  :root { --hdr-h: 72px; }
  .brand-logo { height: 48px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr 1fr; }
  .split, .contact, .evf-in, .pdp, .pcard { grid-template-columns: 1fr; }
  .split--rev .split-text { order: 0; }
  .pcard:nth-child(even) .pcard-img { order: 0; }
  .pcard-img { min-height: 240px; }
  .evf-poster { max-width: 420px; }
  .erow { grid-template-columns: 90px 1fr 44px; }
  .erow-img { display: none; }
  .erow-go { width: 44px; height: 44px; }
  .fcards--image .fcard { min-height: 380px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .prods.grid--4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hdr-cta { display: none; }
  .lform-grid { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .hero-ui { justify-content: space-between; bottom: 22px; }
  .hero-bars button { width: 34px; }
  .countdown > div { min-width: 0; flex: 1; }
  .countdown b { font-size: 2rem; }
  .wa-float { right: 14px; bottom: 14px; }
  .sticker { left: 8px; top: -14px; font-size: .95rem; }
  .deco-moon { width: 70px; height: 70px; right: -8px; bottom: -18px; }
  .deco-moon .ico { width: 34px; height: 34px; }
  .frame { box-shadow: 8px 8px 0 var(--c-primary), 8px 8px 0 3px var(--ink); }
  .lightbox { padding: 60px 10px; }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .gallery--masonry { columns: 2 140px; column-gap: 10px; }
  .gallery--masonry .gitem { margin-bottom: 10px; }
  .dlist dd { max-width: 60%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
@media print {
  .site-header, .mnav, .wa-float, .site-footer, .hero-ui { display: none !important; }
  body::after { display: none; }
}

/* ==========================================================================
   Tienda: carrito, checkout y pedido
   ========================================================================== */
.cart-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; text-decoration: none; transition: transform .2s var(--ease); }
.cart-btn:hover { transform: rotate(-8deg); }
.cart-btn b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--c-primary); color: var(--on-primary); border: 2px solid var(--ink); font-size: .75rem; display: grid; place-items: center; }
.cart-btn.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-10deg); } }
.menu-open .cart-btn { opacity: 0; pointer-events: none; }

.buy { display: grid; gap: 14px; margin: 18px 0 12px; }
.variants { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.variants legend { font-weight: 800; margin-bottom: 8px; font-size: .95rem; }
.vchip input { position: absolute; opacity: 0; pointer-events: none; }
.vchip span { display: inline-block; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-weight: 700; cursor: pointer; transition: .15s; }
.vchip input:checked + span { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--c-primary); }
.vchip input:focus-visible + span { outline: 3px solid var(--c-secondary); outline-offset: 2px; }
.vchip.is-out span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 52px; border: 0; background: transparent; font-size: 1.3rem; font-weight: 700; }
.qty button:hover { background: var(--paper); }
.qty input { width: 48px; border: 0; text-align: center; font: 700 1.05rem var(--f-body); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 34px; height: 40px; }
.qty--sm input { width: 36px; }
.pdp-wa { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: #128c4a; text-decoration: none; }
.pdp-wa .ico { width: 20px; height: 20px; }

.cart { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-lines { display: grid; gap: 12px; }
.cline { display: grid; grid-template-columns: 88px 1fr auto 110px 40px; gap: 16px; align-items: center; padding: 14px; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r); }
.cline-img { width: 88px; height: 88px; border-radius: 12px; overflow: hidden; display: block; background: var(--paper); }
.cline-img img { width: 100%; height: 100%; object-fit: cover; }
.cline-info { display: grid; gap: 2px; min-width: 0; }
.cline-info a { text-decoration: none; }
.cline-info small { font-weight: 700; color: var(--c-primary); }
.cline-total { text-align: right; font-size: 1.05rem; white-space: nowrap; }
.cline-rm { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; }
.cline-rm:hover { border-color: #c62828; color: #c62828; }
.cline-rm .ico { width: 16px; height: 16px; }
.back-link { font-weight: 700; margin-top: 8px; text-decoration: none; }
.summary { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); position: sticky; top: calc(var(--hdr-h) + 20px); }
.summary h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; margin-bottom: 16px; }
.summary--flat { position: static; box-shadow: none; }
.sum { margin: 16px 0 20px; display: grid; }
.sum > div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1.5px dashed var(--line); }
.sum dt { color: var(--muted); } .sum dd { margin: 0; font-weight: 700; }
.sum-disc dd { color: #0f7a3a; }
.sum-total { border-bottom: 0 !important; padding-top: 14px !important; }
.sum-total dt { color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.sum-total dd { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1; }
.secure { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.secure .ico { width: 16px; height: 16px; color: #0f7a3a; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; font: inherit; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper); text-transform: uppercase; }
.coupon--on { justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: #e3f7ea; font-weight: 600; }
.coupon--on span { display: flex; gap: 6px; align-items: center; }
.coupon--on button { border: 0; background: none; text-decoration: underline; font-weight: 700; }
.mini-lines { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-weight: 700; }
.mini-img { position: relative; width: 56px; height: 56px; border-radius: 10px; background: var(--paper); border: 1.5px solid var(--line); }
.mini-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.mini-img b { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; display: grid; place-items: center; padding: 0 5px; }
.mini-name { display: grid; font-size: .95rem; } .mini-name small { color: var(--muted); font-weight: 500; }

.checkout { display: grid; gap: 22px; }
.step { margin: 0; padding: 26px; border: 2.5px solid var(--ink); border-radius: var(--r); background: #fff; }
.step legend { display: flex; align-items: center; gap: 10px; padding: 0 10px; font-family: var(--f-display); text-transform: uppercase; font-size: 1.6rem; }
.step legend span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--c-primary); color: var(--on-primary); border: 2px solid var(--ink); font-size: 1.1rem; }
.opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: .15s; }
.opt:hover { border-color: var(--ink); }
.opt:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--c-primary) 8%, #fff); box-shadow: 3px 3px 0 var(--ink); }
.opt input { width: 20px; height: 20px; accent-color: var(--c-primary); margin: 0; }
.opt-body { display: grid; gap: 2px; } .opt-body small { color: var(--muted); } .opt-body .hint { color: var(--c-primary); font-weight: 700; }
.opt-price { font-weight: 800; }
.opt-ico .ico { color: var(--muted); }
.opt.is-disabled { opacity: .45; pointer-events: none; }
.addr { margin-top: 18px; }
.addr[hidden] { display: none; }
.mt-s { margin-top: 16px; }
.terms { margin: 14px 0 8px; } .terms summary { cursor: pointer; font-weight: 700; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--c-primary); }

.wrap--mid { max-width: 1000px; }
.order-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 30px; }
.order-badge { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #06371b; border: 3px solid var(--ink); box-shadow: var(--shadow-sm); transform: rotate(-8deg); }
.order-badge .ico { width: 38px; height: 38px; stroke-width: 2.4; }
.order-badge.is-off { background: #ffe0dc; color: #c62828; }
.track { list-style: none; display: flex; padding: 0; margin: 0 0 30px; counter-reset: t; }
.track li { flex: 1; position: relative; text-align: center; font-size: .85rem; font-weight: 700; color: var(--muted); padding-top: 34px; }
.track li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2.5px solid var(--line); z-index: 1; }
.track li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.track li:first-child::before { display: none; }
.track li.is-done { color: var(--ink); }
.track li.is-done span { background: var(--c-primary); border-color: var(--ink); }
.track li.is-done::before { background: var(--ink); }
.track li.is-current span { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c-primary) 30%, transparent); }
.pay-box { padding: 24px; margin-bottom: 22px; border: 2.5px dashed var(--ink); border-radius: var(--r); background: #fff8e6; }
.pay-box h2 { display: flex; gap: 10px; align-items: center; font-size: 1.3rem; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

@media (max-width: 960px) {
  .cart, .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  .cline { grid-template-columns: 70px 1fr 36px; grid-template-areas: "img info rm" "img qty total"; gap: 10px 12px; }
  .cline-img { grid-area: img; width: 70px; height: 70px; } .cline-info { grid-area: info; } .cline .qty { grid-area: qty; justify-self: start; }
  .cline-total { grid-area: total; align-self: center; } .cline-rm { grid-area: rm; width: 34px; height: 34px; }
  .step { padding: 18px 14px; }
  .opt { grid-template-columns: 20px 1fr; } .opt-price, .opt-ico { grid-column: 2; }
  .track li { font-size: .7rem; }
  .order-head { flex-direction: column; }
  .cart-btn { width: 44px; height: 44px; }
}
.cart-btn b[hidden] { display: none; }
