/* Perejil Games — estilos del sitio. Un solo archivo, sin dependencias externas. */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap; src: url('/assets/fonts/bricolage-latin.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); }

:root {
  --bg: #0a0f0c;
  --bg-2: #0e1510;
  --surface: #131c16;
  --surface-2: #1a251d;
  --line: rgba(232, 243, 226, .1);
  --line-2: rgba(232, 243, 226, .18);
  --text: #eef3ea;
  --muted: #a2b2a4;
  --faint: #6f8072;
  --green: #86e39a;
  --green-2: #4cc46a;
  --green-deep: #1f4d2a;
  --amber: #f3b544;
  --el-yellow: #ffd23f;
  --el-ink: #121212;
  --el-sky: #8fd3f5;
  --oe-cream: #efe5cf;
  --oe-paper: #f7f0e1;
  --oe-ink: #2c2618;
  --oe-terra: #c4693a;
  --oe-olive: #5d6b2f;
  --radius: 28px;
  --radius-sm: 16px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--green); color: #08110b; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: #08110b; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  --b: var(--green); --c: #08110b;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px;
  border-radius: 999px; background: var(--b); color: var(--c); font: 700 16px/1 var(--body); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--b); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost { --b: transparent; --c: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.06); box-shadow: none; }
.btn-dark { --b: #111; --c: #fff; }
.btn-light { --b: #fff; --c: #111; }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font: 700 12.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); }
.chip .dot.live { animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, currentColor 0%, transparent); } }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(10, 15, 12, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 46px; height: 46px; border-radius: 14px; background: #fbf7ec; padding: 2px; object-fit: contain; transform: rotate(-4deg); transition: transform .4s var(--ease); }
.brand:hover .brand-logo { transform: rotate(4deg) scale(1.05); }
.brand-name { font: 800 21px/1 var(--display); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); margin-left: 8px; }
.lang a, .lang span { padding: 6px 11px; border-radius: 999px; font: 700 13px/1 var(--body); text-decoration: none; color: var(--muted); }
.lang span { background: var(--text); color: var(--bg); }
.lang a:hover { color: var(--text); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--pad) 24px; background: rgba(10, 15, 12, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
  .nav a { font-size: 19px; padding: 14px 16px; color: var(--text); }
  .nav .lang { align-self: flex-start; margin: 10px 0 0 8px; }
  .nav .lang a, .nav .lang span { font-size: 14px; padding: 8px 14px; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .site-header { background: rgba(10, 15, 12, .97); }
}

/* ---------- Fondo con brillo y grano ---------- */
.glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow::before, .glow::after { content: ''; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .32; }
.glow::before { background: radial-gradient(circle, #2f8f4a, transparent 65%); top: -30vmax; left: -15vmax; }
.glow::after { background: radial-gradient(circle, #b9852c, transparent 65%); top: -10vmax; right: -30vmax; opacity: .2; }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Portada ---------- */
.hero { position: relative; padding-block: clamp(36px, 7vw, 96px) clamp(64px, 9vw, 120px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: .92; letter-spacing: -.04em; margin: 22px 0 26px; }
.hero h1 em { font-style: normal; color: var(--green); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--amber); border-radius: 99px; transform: scaleX(0); transform-origin: left; animation: underline 1s .6s var(--ease) forwards; z-index: -1; }
@keyframes underline { to { transform: scaleX(1); } }
.hero .lead { margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; justify-self: center; width: 100%; }
.collage > * { position: absolute; }
.collage .c-oe { inset: 4% 0 30% 10%; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(3deg); background: var(--oe-cream); }
.collage .c-oe img { width: 100%; height: 100%; object-fit: cover; }
.collage .c-el { width: 41%; left: 0; bottom: 0; transform: rotate(-7deg); }
.collage .c-badge { width: 30%; right: 2%; bottom: 6%; aspect-ratio: 1; border-radius: 50%; background: #fbf7ec; padding: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: rotate(8deg); animation: float 7s ease-in-out infinite; }
.collage .c-badge img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.collage .c-tag { right: 4%; top: 0; background: var(--amber); color: #1b1405; font: 800 15px/1 var(--display); padding: 12px 16px; border-radius: 14px; transform: rotate(6deg); box-shadow: 0 16px 30px -12px rgba(0,0,0,.6); }
@keyframes float { 50% { transform: rotate(4deg) translateY(-10px); } }

.phone { position: relative; border-radius: 13% / 6%; padding: 3.2%; background: #0d0d0d; box-shadow: 0 0 0 1.5px #2b2b2b inset, 0 30px 70px -25px rgba(0,0,0,.85); }
.phone img, .phone video { width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 10.5% / 4.9%; background: #f1ead6; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .collage { max-width: 520px; margin-top: 8px; }
  .collage .c-el { left: 4%; }
}

/* ---------- Cinta ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { font: 800 clamp(20px, 2.4vw, 30px)/1 var(--display); letter-spacing: -.02em; padding: 22px 0; display: inline-flex; align-items: center; white-space: nowrap; }
.ticker-track span::after { content: '✦'; color: var(--green); font-size: .6em; margin: 0 32px; }
.ticker-track span:nth-child(3n+2) { color: var(--amber); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Encabezado de sección ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 72px); margin-top: 16px; letter-spacing: -.035em; }
.sec-head p { max-width: 44ch; }

/* ---------- Tarjetas de juego ---------- */
.games { display: grid; gap: clamp(18px, 2vw, 24px); }
.game {
  position: relative; border-radius: clamp(26px, 3vw, 40px); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(520px, 52vw, 640px); isolation: isolate;
}
.game-body { padding: clamp(28px, 4.4vw, 64px); display: flex; flex-direction: column; gap: 20px; justify-content: center; position: relative; z-index: 2; }
.game h3 { font-size: clamp(44px, 5.8vw, 84px); letter-spacing: -.04em; line-height: .9; }
.game .desc { font-size: clamp(17px, 1.5vw, 20px); max-width: 40ch; }
.game .facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 6px; }
.game .facts li { font: 600 14px/1 var(--body); padding: 9px 13px; border-radius: 999px; }
.game-art { position: relative; min-height: 320px; }

.game-el { background: var(--el-yellow); color: var(--el-ink); }
.game-el::before { content: ''; position: absolute; inset: auto 0 0 0; height: 18px; z-index: 3; background: repeating-linear-gradient(-45deg, var(--el-ink) 0 16px, var(--el-yellow) 16px 32px); }
.game-el .chip { background: var(--el-ink); color: var(--el-yellow); border-color: transparent; }
.game-el h3 { font-style: italic; transform: skewX(-6deg); transform-origin: left; text-transform: uppercase; font-stretch: 85%; text-shadow: 4px 4px 0 #fff; -webkit-text-stroke: 0; }
.game-el .facts li { background: rgba(0,0,0,.08); }
.game-el .rainbow { display: flex; gap: 5px; }
.game-el .rainbow i { width: 28px; height: 8px; border-radius: 2px; }
.game-el .game-art { background: radial-gradient(120% 90% at 70% 40%, var(--el-sky), #5bb8e8 60%, #3d9bd0); }
.game-el .game-art::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.6px); background-size: 14px 14px; opacity: .6; }
.fan { position: absolute; inset: 0; z-index: 1; }
.fan .phone { position: absolute; width: clamp(150px, 19vw, 240px); top: 50%; left: 50%; transition: transform .6s var(--ease); }
.fan .phone:nth-child(1) { transform: translate(-112%, -46%) rotate(-10deg); }
.fan .phone:nth-child(2) { transform: translate(-50%, -54%) rotate(0); z-index: 2; }
.fan .phone:nth-child(3) { transform: translate(12%, -46%) rotate(10deg); }
.game-el:hover .fan .phone:nth-child(1) { transform: translate(-122%, -48%) rotate(-13deg); }
.game-el:hover .fan .phone:nth-child(2) { transform: translate(-50%, -57%) rotate(0) scale(1.02); }
.game-el:hover .fan .phone:nth-child(3) { transform: translate(22%, -48%) rotate(13deg); }

.game-oe { background: var(--oe-cream); color: var(--oe-ink); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.game-oe .game-body { order: 2; }
.game-oe .chip { background: var(--oe-terra); color: #fff8ee; border-color: transparent; }
.game-oe h3 { font-family: var(--display); }
.game-oe h3 .o { color: var(--oe-terra); }
.game-oe h3 .e { color: var(--oe-olive); }
.game-oe .facts li { background: rgba(60, 45, 20, .08); }
.game-oe .btn { --b: var(--oe-terra); --c: #fff8ee; }
.game-oe .btn-ghost { --b: transparent; --c: var(--oe-ink); border-color: rgba(44, 38, 24, .25); }
.game-oe .btn-ghost:hover { background: rgba(44, 38, 24, .06); }
.game-oe .game-art { overflow: hidden; }
.game-oe .game-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform 1.2s var(--ease); }
.game-oe:hover .game-art img { transform: scale(1.04); }
.game-oe .game-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, var(--oe-cream)); }
.hexes { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.4L28 64.8 0 48.6V16.2zM28 64.8v32.4' fill='none' stroke='%23c9b994' stroke-width='1'/%3E%3C/svg%3E"); background-size: 42px auto; mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); }

@media (max-width: 880px) {
  .game, .game-oe { grid-template-columns: 1fr; min-height: 0; }
  .game-oe .game-body { order: 0; }
  .game-art { min-height: clamp(340px, 90vw, 480px); }
  .game-oe .game-art { min-height: clamp(260px, 62vw, 420px); }
  .game-oe .game-art::after { background: linear-gradient(180deg, var(--oe-cream), transparent 22%); }
  .fan .phone { width: clamp(120px, 34vw, 200px); }
}

/* ---------- OpenEvolution: modos ---------- */
.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.mode { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .3s var(--ease), border-color .3s; }
.mode:hover { transform: translateY(-4px); border-color: var(--line-2); }
.mode .ico { font-size: 26px; line-height: 1; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.06); margin-bottom: 6px; }
.mode h4 { font-size: 21px; letter-spacing: -.02em; }
.mode p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 980px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .modes { grid-template-columns: 1fr; } }

/* ---------- Estudio ---------- */
.studio { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.studio-art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.studio-art .disc { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 200deg, var(--green-2), var(--amber), var(--green-deep), var(--green-2)); animation: spin 24s linear infinite; filter: blur(.5px); }
.studio-art .disc::after { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--bg); }
.studio-art img { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 50%; object-fit: cover; background: #fbf7ec; }
@keyframes spin { to { transform: rotate(360deg); } }
.studio h2 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.04em; margin: 16px 0 22px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.value { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.value b { display: block; font: 800 20px/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.value span { color: var(--muted); font-size: 15.5px; line-height: 1.5; display: block; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } .studio-art { max-width: 340px; } }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; } }

/* ---------- Tarjetas finales ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cta-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; min-height: 300px; justify-content: flex-end; background: var(--surface); border: 1px solid var(--line); }
.cta-card h3 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.03em; }
.cta-card p { color: var(--muted); max-width: 40ch; }
.cta-card.green { background: linear-gradient(150deg, #1f5a31, #123a20); border-color: transparent; }
.cta-card.green p { color: #cfe6d3; }
.cta-card .big-ico { position: absolute; right: -10px; top: -20px; font-size: 150px; line-height: 1; opacity: .14; transform: rotate(12deg); pointer-events: none; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(56px, 8vw, 96px) 28px; margin-top: clamp(40px, 6vw, 80px); }
.foot-big { font: 800 clamp(40px, 7.4vw, 112px)/.9 var(--display); letter-spacing: -.045em; margin-bottom: clamp(36px, 5vw, 64px); }
.foot-big a { text-decoration: none; color: var(--green); transition: color .2s; }
.foot-big a:hover { color: var(--amber); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--muted); }
.foot-grid a:hover { color: var(--text); }
.foot-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot-brand p { color: var(--muted); max-width: 30ch; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.foot-bottom a { color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Páginas interiores ---------- */
.page-hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 64px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(46px, 7vw, 100px); letter-spacing: -.045em; line-height: .92; margin: 18px 0 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); }

/* ---------- Leyendas del Ascensor (página) ---------- */
.el-page { --accent: var(--el-yellow); }
.el-hero { background: var(--el-yellow); color: var(--el-ink); border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 88px); }
.el-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 20px; background: repeating-linear-gradient(-45deg, var(--el-ink) 0 18px, var(--el-yellow) 18px 36px); }
.el-hero .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(0,0,0,.09) 1.5px, transparent 1.6px); background-size: 16px 16px; }
.el-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.el-hero-text { padding-bottom: clamp(48px, 7vw, 110px); }
.el-hero .chip { background: var(--el-ink); color: var(--el-yellow); border-color: transparent; }
.el-title { font-size: clamp(56px, 10vw, 150px); font-style: italic; text-transform: uppercase; line-height: .84; letter-spacing: -.03em; transform: skewX(-7deg); transform-origin: left bottom; margin: 24px 0 26px; font-stretch: 85%; }
.el-title span { display: block; }
.el-title span:last-child { color: #fff; -webkit-text-stroke: 3px var(--el-ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--el-ink); }
.el-hero .lead { color: #2a2a1a; font-weight: 500; margin-bottom: 30px; }
.el-hero .btn-ghost { --c: var(--el-ink); border-color: rgba(0,0,0,.3); }
.el-hero .btn-ghost:hover { background: rgba(0,0,0,.06); }
.el-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-weight: 600; font-size: 15px; color: #3a3a24; }
.el-hero .meta span::before { content: '✓ '; font-weight: 800; }
.el-hero .phone { width: min(100%, 330px); justify-self: center; transform: rotate(4deg) translateY(10%); margin-top: 10px; }
@media (max-width: 860px) { .el-hero-grid { grid-template-columns: 1fr; } .el-hero-text { padding-bottom: 8px; } .el-hero .phone { width: min(70%, 300px); transform: rotate(3deg) translateY(12%); } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 24px 28px; overflow: hidden; }
.step .n { font: 800 64px/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--el-yellow); display: block; margin-bottom: 18px; }
.step h3 { font-size: 23px; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.step .floor { position: absolute; top: 26px; right: 24px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 800 16px/1 var(--display); color: #111; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split h2 { font-size: clamp(36px, 4.8vw, 64px); letter-spacing: -.035em; margin: 16px 0 20px; }
.acts { display: grid; gap: 10px; margin-top: 28px; }
.act { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.act b { font: 800 34px/1 var(--display); color: var(--el-yellow); width: 44px; }
.act strong { display: block; font: 800 20px/1.1 var(--display); letter-spacing: -.02em; }
.act span { color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { border-radius: 24px; padding: 26px; background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(48px, 5.4vw, 72px)/1 var(--display); letter-spacing: -.05em; color: var(--el-yellow); }
.stat span { color: var(--muted); font-weight: 600; }
.stat:nth-child(2) b { color: var(--el-sky); }
.stat:nth-child(3) b { color: #ff8fa3; }
.stat:nth-child(4) b { color: var(--green); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.modes-el { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.modes-el .mode:first-child { grid-row: span 2; background: linear-gradient(160deg, #3a3210, #1d1a0b); border-color: rgba(255, 210, 63, .25); justify-content: flex-end; }
.modes-el .mode:first-child h4 { font-size: 30px; color: var(--el-yellow); }
@media (max-width: 900px) { .modes-el { grid-template-columns: 1fr 1fr; } .modes-el .mode:first-child { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 520px) { .modes-el { grid-template-columns: 1fr; } }

.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--pad) 26px; margin-inline: calc(-1 * var(--pad)); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.gallery .phone { flex: 0 0 clamp(200px, 22vw, 260px); scroll-snap-align: center; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.gallery figcaption { color: var(--muted); font-size: 15px; font-weight: 600; text-align: center; }

.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.details div { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.details dt { font: 700 12.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.details dd { margin: 0; font-weight: 600; }
.details dd a { color: var(--green); }
@media (max-width: 860px) { .details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .details { grid-template-columns: 1fr; } }

.final { text-align: center; border-radius: clamp(28px, 4vw, 48px); padding: clamp(48px, 8vw, 110px) var(--pad); background: var(--el-yellow); color: var(--el-ink); position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,0,0,.09) 1.5px, transparent 1.6px); background-size: 16px 16px; }
.final > * { position: relative; }
.final h2 { font-size: clamp(42px, 7vw, 100px); font-style: italic; text-transform: uppercase; transform: skewX(-6deg); letter-spacing: -.03em; margin-bottom: 22px; font-stretch: 85%; }
.final p { max-width: 46ch; margin: 0 auto 30px; font-weight: 500; }
.final .actions { justify-content: center; }

/* ---------- Preguntas ---------- */
.faq-tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.faq-tabs button { font: 700 15px/1 var(--body); color: var(--muted); background: none; border: 0; padding: 12px 18px; border-radius: 999px; cursor: pointer; }
.faq-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 700 18.5px/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); font: 600 20px/1 var(--body); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 70ch; }
.faq details p a { color: var(--green); }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }

/* ---------- Formularios (abren el correo) ---------- */
.form { display: grid; gap: 16px; position: sticky; top: 100px; }
.form h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form select, .form textarea { width: 100%; font: 500 16px/1.4 var(--body); color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(134, 227, 154, .15); }
.form .note { font-size: 14px; color: var(--faint); }
.form .note a { color: var(--muted); }
@media (max-width: 480px) { .form .row { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
a.contact-item:hover { border-color: var(--green); transform: translateY(-2px); }
.contact-item span { font: 700 12.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.contact-item b { font: 700 clamp(18px, 2vw, 22px)/1.2 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: 15px; }
.toc a { color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 10px; }
.toc a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.legal article { max-width: 72ch; }
.legal article h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.02em; margin: 44px 0 14px; scroll-margin-top: 100px; }
.legal article h2:first-child { margin-top: 0; }
.legal article p, .legal article li { color: #cbd6cc; }
.legal article p + p { margin-top: 14px; }
.legal article a { color: var(--green); }
.legal article ul { padding-left: 20px; display: grid; gap: 8px; }
.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
.summary div { padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.summary b { display: block; font: 800 19px/1.15 var(--display); margin-bottom: 6px; }
.summary span { color: var(--muted); font-size: 15px; line-height: 1.5; display: block; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .toc { position: static; display: none; } .summary { grid-template-columns: 1fr; } }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .06s; } .js .reveal.d2 { transition-delay: .12s; } .js .reveal.d3 { transition-delay: .18s; }
.rise { animation: rise .7s var(--ease) both; }
.rise.d1 { animation-delay: .06s; } .rise.d2 { animation-delay: .12s; } .rise.d3 { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero h1 em::after { transform: none; }
}
