/* ==========================================================================
   Magnetiqo Corporation — Estilos globales (v2 · dark premium)
   Fondo casi negro con tinte azul marino, monocromo, títulos en dos tonos,
   superficies con bisel brillante y luces suaves.
   Tipografía: Geist (Google Fonts)
   ========================================================================== */

:root {
  --bg: #050608;
  --bg-2: #08090C;
  --surface: #0D0F12;
  --surface-2: #121418;
  --surface-3: #191C21;
  --light: #F2F3F5;               /* fondo de las zonas claras */
  --navy: #0D1B2A;                /* color de marca: se usa como tinte en las luces */
  --glow: rgba(70,110,170,.28);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22,.9,.3,1);
  --font: 'Geist', 'Inter', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --header-h: 72px;
}

/* ---------- Tema OSCURO (por defecto + bloques oscuros dentro de zonas claras) ---------- */
:root, .theme-dark, .theme-light .cta-box, .theme-light .phone, .theme-light .mock, .theme-light .media-ph, .theme-light .reel {
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.12);
  --line-3: rgba(255,255,255,.2);
  --text: #F2F3F5;
  --text-2: #D0D3D8;
  --muted: #9BA1AA;
  --dim: #6A707A;
  --bevel: inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 0 1px rgba(255,255,255,.02);
  --soft: rgba(255,255,255,.025);
  --soft-2: rgba(255,255,255,.06);
  --card-bg: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  --card-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 0 1px rgba(255,255,255,.02);
  --shine: linear-gradient(180deg, #FFFFFF 0%, #C9CCD2 100%);
  --inv-bg: linear-gradient(180deg, #FFFFFF, #CFD3D9);
  --inv-fg: #050608;
  --inv-solid: #FFFFFF;
  --pop: #FFFFFF;
  --btn-p-bg: linear-gradient(180deg, #FFFFFF, #D8DBE0);
  --btn-p-fg: #050608;
  --btn-p-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255,255,255,.15), 0 8px 30px -8px rgba(255,255,255,.35);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --glow-spot: rgba(255,255,255,.07);
  --art: none;
  --focus-line: rgba(255,255,255,.4);
  --focus-ring: rgba(255,255,255,.06);
}
.theme-dark, .theme-light .cta-box, .theme-light .phone, .theme-light .mock { color: var(--text); }

/* ---------- Tema CLARO ---------- */
.theme-light {
  --line: rgba(10,12,16,.08);
  --line-2: rgba(10,12,16,.13);
  --line-3: rgba(10,12,16,.24);
  --text: #0A0B0D;
  --text-2: #2B3038;
  --muted: #555B65;
  --dim: #8A9099;
  --bevel: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(10,12,16,.04);
  --soft: #FFFFFF;
  --soft-2: rgba(10,12,16,.05);
  --card-bg: #FFFFFF;
  --card-shadow: 0 1px 2px rgba(10,12,16,.04), 0 20px 40px -28px rgba(10,12,16,.35);
  --shine: linear-gradient(180deg, #0A0B0D 0%, #3E434B 100%);
  --inv-bg: linear-gradient(180deg, #2A2D33, #0A0B0D);
  --inv-fg: #FFFFFF;
  --inv-solid: #0A0B0D;
  --pop: #0A0B0D;
  --btn-p-bg: linear-gradient(180deg, #2A2D33, #08090B);
  --btn-p-fg: #FFFFFF;
  --btn-p-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(10,12,16,.9), 0 10px 24px -10px rgba(10,12,16,.55);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0B0D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --glow-spot: rgba(10,12,16,.035);
  --art: invert(1);
  --focus-line: rgba(10,12,16,.45);
  --focus-ring: rgba(10,12,16,.06);
  color: var(--text); background: var(--light);
}
.theme-light ::selection { background: #0A0B0D; color: #fff; }
.theme-light .card:hover { box-shadow: 0 1px 2px rgba(10,12,16,.05), 0 28px 50px -26px rgba(10,12,16,.45); }
.theme-light .field select option { background: #fff; color: #0A0B0D; }
.theme-light .eyebrow::before { box-shadow: none; }
.theme-light .ph { color: #8A5300; background: rgba(230,160,40,.12); border-color: rgba(190,120,20,.55); }

/* Zona clara: hoja con esquinas redondeadas que se superpone al negro */
.zone { position: relative; z-index: 1; margin-inline: clamp(6px, 1vw, 14px); border-radius: clamp(24px, 3vw, 40px); overflow: hidden; }
.zone + .zone { margin-top: clamp(6px, 1vw, 14px); }
.zone::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); pointer-events: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; font-weight: 400;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* grano sutil sobre toda la web */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .035;
  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");
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-weight: 500; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 .6em; color: var(--text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(255,255,255,.9); color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--inv-solid); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 500; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1180px, 100% - 64px); } }
.container-sm { width: min(820px, 100% - 32px); margin-inline: auto; }

/* ---------- Iconos ---------- */
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografía ---------- */
.h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); letter-spacing: -.045em; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.04em; }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.035em; }
.dim, .grad-text { color: var(--dim); }
.shine { background: var(--shine); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--muted); max-width: 560px; }
.small { font-size: .86rem; color: var(--muted); }
.mono { font-family: var(--mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 12px 6px 10px;
  font-size: .78rem; font-weight: 500; letter-spacing: .01em; color: var(--text-2);
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--soft); box-shadow: var(--bevel);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--inv-solid); box-shadow: 0 0 10px rgba(255,255,255,.8); }

/* ---------- Placeholder visible ---------- */
.ph {
  display: inline-block; padding: .05em .45em; border-radius: 6px; font-weight: 500; font-size: .9em; font-family: var(--mono); letter-spacing: -.01em;
  color: #F3D58F; background: rgba(243,213,143,.08); border: 1px dashed rgba(243,213,143,.55);
}
.media-ph {
  position: relative; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 16px;
  background: radial-gradient(120% 90% at 50% 0%, #1A1E25 0%, #0B0D10 70%); color: var(--dim); font-size: .78rem;
}
.media-ph::before { content: ''; position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,.12); border-radius: 12px; pointer-events: none; }
.media-ph .i { width: 22px; height: 22px; color: var(--muted); margin: 0 auto 8px; }

/* ---------- Botones (píldora) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .7em 1.35em; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--soft); color: var(--text); font-weight: 500; font-size: .92rem; line-height: 1.1;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; box-shadow: var(--bevel);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn:hover { border-color: var(--line-3); background: var(--soft-2); transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--btn-p-bg); color: var(--btn-p-fg); border-color: transparent; box-shadow: var(--btn-p-shadow); }
.btn-primary:hover { background: var(--btn-p-bg); filter: brightness(1.08); box-shadow: var(--btn-p-shadow); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); transition: transform .8s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-wa .i { color: #25D366; }
.btn-sm { min-height: 36px; padding: .5em 1em; font-size: .84rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; font-size: .9rem; color: var(--text); }
.link-arrow .i { width: .95em; height: .95em; transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Tile de icono con bisel (estilo app) ---------- */
.tile {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: #E8EAED;
  background: linear-gradient(180deg, #24272D 0%, #111316 100%); border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 20px -6px rgba(0,0,0,.8);
}
.tile .i { width: 20px; height: 20px; }
.tile.is-active, .tile-light { background: var(--inv-bg); color: var(--inv-fg); border-color: transparent; box-shadow: inset 0 1px 0 #fff, 0 0 24px -4px rgba(255,255,255,.4); }
.tile-lg { width: 56px; height: 56px; border-radius: 16px; }
.tile-lg .i { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(5,6,8,.72); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-bottom-color: var(--line); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 1.02rem; }
.brand img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(40,110,255,.35)); }
.brand small { display: block; font-weight: 400; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-text { line-height: 1; }

.site-nav { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: flex-end; }
.site-nav ul { display: flex; align-items: center; gap: 2px; margin-inline: auto; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); }
.site-nav ul a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: .88rem; color: var(--muted); border-radius: 999px; transition: color .25s, background .25s; }
.site-nav ul a:hover { color: var(--text); }
.site-nav ul a[aria-current="page"] { color: var(--text); background: var(--soft-2); box-shadow: var(--bevel); }
.nav-ico { display: none !important; }
.lock-ico { width: .9em; height: .9em; opacity: .6; }
.lock-open { display: none; }
.is-unlocked .lock-closed { display: none; }
.is-unlocked .lock-open { display: block; opacity: .9; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--soft); cursor: pointer; place-items: center; box-shadow: var(--bevel); }
.nav-toggle .i { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 16px;
    padding: calc(var(--header-h) + 24px) 20px 32px; background: #050608; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 8px; margin: 0; padding: 12px; border-radius: 22px; background: var(--surface); }
  .site-nav ul a { display: flex; gap: 14px; padding: 8px; font-size: 1rem; color: var(--text); border-radius: 14px; border: 1px solid var(--line); background: var(--soft); }
  .site-nav ul a[aria-current="page"] { background: linear-gradient(180deg, #1C1F24, #0E1013); border-color: var(--line-3); }
  .site-nav ul a[aria-current="page"] .nav-ico { background: var(--inv-bg); color: var(--inv-fg); }
  .nav-ico { display: inline-grid !important; width: 38px; height: 38px; border-radius: 10px; }
  .nav-ico .i { width: 18px; height: 18px; }
  .lock-ico { margin-left: auto; margin-right: 6px; }
  .site-nav .btn { width: 100%; min-height: 50px; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .nav-toggle .i-menu { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav-open { overflow: hidden; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.section > .container, .section > .container-sm { position: relative; z-index: 1; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head.split > div { max-width: 620px; }

/* Luces */
.spot-top { position: absolute; z-index: 0; pointer-events: none; top: -360px; left: 50%; width: min(1300px, 150vw); height: 780px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(130,160,210,.22), rgba(70,110,170,.08) 55%, transparent 100%); }
.spot-center { position: absolute; z-index: 0; pointer-events: none; top: 50%; left: 50%; width: min(900px, 140vw); height: 600px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); }
.beam { position: absolute; z-index: 0; top: 0; left: 50%; width: 1px; height: 360px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(255,255,255,.4), transparent); pointer-events: none; }
.bg-grid { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }
.bg-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(60% 50% at 50% 0%, rgba(70,110,170,.16), transparent 70%); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- Tarjetas ---------- */
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transition: border-color .4s, background .4s, transform .5s var(--ease), box-shadow .4s;
}
.card:hover { border-color: var(--line-2); }
.card h3 { font-size: 1.2rem; letter-spacing: -.025em; margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.card-link::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* Luz que sigue al cursor (main.js pone --mx/--my) */
.glow-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), var(--glow-spot), transparent 45%);
}
.glow-card:hover::after { opacity: 1; }

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   INICIO
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 0; text-align: center; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 900px; margin: 0 auto .4em; }
.hero .lead { margin: 0 auto 32px; max-width: 540px; }
.hero .btn-row { justify-content: center; }
.hero-note { margin-top: 18px; font-size: .8rem; color: var(--dim); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .i { width: 14px; height: 14px; }

/* Abanico de tarjetas verticales (reels / piezas) */
.fan { position: relative; height: clamp(320px, 44vw, 500px); margin-top: clamp(40px, 6vw, 64px);
  mask-image: linear-gradient(180deg, #000 60%, transparent 98%); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 98%); }
/* Todas las tarjetas comparten el mismo punto de giro (abajo, fuera de la tarjeta): así se abren como cartas en la mano */
.fan-card {
  --w: clamp(140px, 17vw, 220px);
  position: absolute; left: 50%; top: 24px; width: var(--w); aspect-ratio: 9 / 16; margin-left: calc(var(--w) / -2);
  border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(160deg, #1D2127 0%, #0A0B0E 60%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), -18px 30px 60px -20px rgba(0,0,0,.95);
  transform-origin: 50% 175%;
  transform: rotate(var(--r));
  transition: transform 1s var(--ease), filter .6s;
  filter: brightness(var(--b, 1));
  animation: fanIn 1.4s var(--ease) both; animation-delay: var(--dl, 0s);
}
.fan:hover .fan-card { transform: rotate(calc(var(--r) * 1.25)) translateY(-8px); }
.fan-card:hover { filter: brightness(1.15); }
@keyframes fanIn { from { opacity: 0; transform: rotate(0deg) translateY(80px); } }
.fan-card::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 45%, transparent 60%); }
.fan-card img, .fan-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-1 { --r: -30deg; --b: .7;  --dl: .25s; z-index: 1; }
.fc-2 { --r: -15deg; --b: .85; --dl: .15s; z-index: 2; }
.fc-3 { --r: 0deg;   --b: 1;   --dl: .05s; z-index: 3; }
.fc-4 { --r: 15deg;  --b: .85; --dl: .15s; z-index: 2; }
.fc-5 { --r: 30deg;  --b: .7;  --dl: .25s; z-index: 1; }
.fc-3 { background: radial-gradient(120% 80% at 30% 10%, #4A6C9E 0%, #1B2A44 35%, #0A0D13 75%); border-color: rgba(255,255,255,.22); }
.fc-3::after { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 200deg at 60% 60%, transparent, rgba(160,190,255,.25), transparent 40%, rgba(255,255,255,.12), transparent 70%); filter: blur(20px); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fc-top { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; font-size: .62rem; font-family: var(--mono); color: rgba(255,255,255,.7); letter-spacing: .04em; }
.fc-dot { display: inline-flex; align-items: center; gap: 5px; }
.fc-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #FF4D4D; box-shadow: 0 0 8px #FF4D4D; }
.fc-body { position: absolute; z-index: 3; inset: auto 12px 14px 12px; text-align: left; }
.fc-body strong { display: block; font-size: .82rem; font-weight: 500; letter-spacing: -.01em; }
.fc-body span { font-size: .66rem; color: rgba(255,255,255,.55); }
.fc-center { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; }
.fc-play { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); }
.fc-play .i { width: 20px; height: 20px; margin-left: 3px; }
.fc-bars { display: flex; align-items: flex-end; gap: 4px; height: 70px; }
.fc-bars i { width: 8px; border-radius: 3px; background: linear-gradient(180deg, #fff, rgba(255,255,255,.25)); height: var(--h); }
.fc-wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.fc-wave i { width: 3px; border-radius: 3px; background: rgba(255,255,255,.75); height: var(--h); animation: wave 1.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes wave { 50% { transform: scaleY(.35); } }
.fc-chat { display: grid; gap: 6px; width: 78%; }
.fc-chat span { font-size: .6rem; padding: 6px 9px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.8); text-align: left; }
.fc-chat span:nth-child(2) { justify-self: end; background: rgba(255,255,255,.85); color: var(--inv-fg); }
.fc-browser { width: 80%; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0D0F12; }
.fc-browser b { display: block; height: 14px; background: #1A1D22; }
.fc-browser i { display: block; height: 7px; margin: 8px; border-radius: 4px; background: rgba(255,255,255,.12); }
.fc-browser i:nth-of-type(1) { width: 60%; background: rgba(255,255,255,.4); }
.fc-browser i:nth-of-type(3) { width: 40%; }
@media (max-width: 640px) { .fan-card { --w: 34vw; } .fc-1 { --r: -24deg; } .fc-2 { --r: -12deg; } .fc-4 { --r: 12deg; } .fc-5 { --r: 24deg; } }

/* ---------- Logos / marcas ---------- */
.logos-title { text-align: center; font-size: .86rem; color: var(--muted); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 500; font-size: 1rem; letter-spacing: -.02em; color: #9CA1AA; transition: color .3s; }
.brand-logo:hover { color: var(--pop); }
.brand-logo img { height: 28px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .7; }
.brand-logo .mono-logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.1); font-size: .62rem; font-weight: 600; color: var(--pop); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 32px 24px; border-left: 1px solid var(--line); }
.stat:nth-child(odd) { border-left: 0; }
@media (min-width: 860px) { .stat:nth-child(odd) { border-left: 1px solid var(--line); } .stat:first-child { border-left: 0; } }
@media (max-width: 859px) { .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat-tag { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: .68rem; color: var(--muted); background: var(--soft-2); border: 1px solid var(--line); margin-bottom: 14px; }
.stat-num { display: block; font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; margin-bottom: 10px; }
.stat-num .shine { display: inline; }
.stat p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- Bento de servicios ---------- */
.bento { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, 1fr); } .bento .wide { grid-column: span 2; } }
.bento .card { display: flex; flex-direction: column; min-height: 230px; padding: 26px; overflow: hidden; }
.bento .card .tile { margin-top: auto; }
.bento-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bento .card h3 { font-size: 1.25rem; }
.bento .card p { max-width: 380px; margin-bottom: 26px; }
.bento-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.bento-foot .link-arrow { color: var(--muted); font-size: .84rem; }
.bento .card:hover .bento-foot .link-arrow { color: var(--pop); }
.bento-art { filter: var(--art); position: absolute; right: -10px; bottom: -10px; width: 55%; max-width: 300px; opacity: .55; pointer-events: none; }

/* ---------- Filas de características ---------- */
.feature { display: grid; gap: 40px; align-items: center; padding: clamp(40px, 6vw, 72px) 0; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.1fr; gap: 72px; } .feature.reverse > :first-child { order: 2; } }
.feature h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.04em; }
.feature p { color: var(--muted); max-width: 460px; }
.dot-list { display: grid; gap: 10px; margin: 22px 0 30px; }
.dot-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text-2); }
.dot-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--inv-solid); flex: none; }

.mock { position: relative; border-radius: 26px; padding: 18px; min-height: 340px; overflow: hidden;
  background: linear-gradient(180deg, #111317, #08090B); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 50px 100px -40px rgba(0,0,0,.9); }
.mock::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 0%, rgba(110,140,190,.18), transparent 70%); pointer-events: none; }
.mock > * { position: relative; }

/* Visor de cámara */
.viewfinder { position: relative; height: 100%; min-height: 304px; border-radius: 16px; overflow: hidden; background: radial-gradient(80% 70% at 50% 40%, #252A33, #0A0B0E 75%); }
.viewfinder img, .viewfinder video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.vf-corner { position: absolute; width: 22px; height: 22px; border-color: rgba(255,255,255,.7); border-style: solid; border-width: 0; }
.vf-corner.tl { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
.vf-corner.tr { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
.vf-corner.bl { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
.vf-corner.br { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
.vf-hud { position: absolute; top: 22px; left: 50px; right: 50px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: .7rem; color: rgba(255,255,255,.8); }
.vf-rec { display: inline-flex; align-items: center; gap: 6px; }
.vf-rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #FF4D4D; box-shadow: 0 0 10px #FF4D4D; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.vf-focus { position: absolute; top: 50%; left: 50%; width: 90px; height: 90px; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.5); border-radius: 10px; }
.vf-focus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--inv-solid); }
.vf-chips { position: absolute; left: 16px; right: 16px; bottom: 50px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; color: #E3E5E8; background: rgba(10,11,14,.6); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.chip .i { width: 13px; height: 13px; }
.vf-note { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: .66rem; color: var(--dim); }

/* IA: avatar + voz */
.ai-wrap { display: grid; gap: 14px; }
.ai-head { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.avatar { position: relative; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8EA6CC, #2A3A55 60%, #0D1218); border: 1px solid rgba(255,255,255,.2); }
.avatar::after { content: ''; position: absolute; right: 0; bottom: 2px; width: 12px; height: 12px; border-radius: 50%; background: #3DDC84; border: 2px solid #0D0F12; }
.ai-head strong { display: block; font-weight: 500; font-size: .95rem; }
.ai-head span { font-size: .76rem; color: var(--muted); }
.ai-tag { margin-left: auto; font-family: var(--mono); font-size: .66rem; padding: 4px 8px; border-radius: 6px; background: var(--soft-2); border: 1px solid var(--line); color: #C9CCD2; }
.voice { padding: 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.voice-top { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-bottom: 14px; }
.voice .fc-wave { height: 56px; justify-content: space-between; }
.voice .fc-wave i { width: 3px; }
.ai-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-gen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ai-gen div { aspect-ratio: 3 / 4; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(160deg, #1E232B, #0B0D10); position: relative; overflow: hidden; }
.ai-gen div::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Sin permanencia: interruptores */
.toggles { display: grid; gap: 10px; }
.toggle-row { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.toggle-row strong { display: block; font-weight: 500; font-size: .94rem; }
.toggle-row span { font-size: .78rem; color: var(--muted); }
.switch { position: relative; margin-left: auto; width: 46px; height: 26px; border-radius: 999px; background: #22252B; border: 1px solid var(--line-2); flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #5E636C; transition: transform .4s var(--ease); }
.switch.on { background: var(--inv-bg); border-color: transparent; }
.switch.on::after { transform: translateX(20px); background: #050608; }
.contract { margin-top: 6px; padding: 16px; border-radius: 16px; border: 1px dashed var(--line-2); display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--muted); }
.contract s { color: var(--dim); }

/* Todo en uno: mini dashboard */
.dash { display: grid; grid-template-columns: 150px 1fr; gap: 12px; min-height: 304px; }
@media (max-width: 520px) { .dash { grid-template-columns: 1fr; } .dash-side { display: none; } }
.dash-side { padding: 12px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.dash-side .who { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-size: .74rem; }
.dash-side .who .avatar { width: 26px; height: 26px; }
.dash-side .who .avatar::after { display: none; }
.dash-item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; font-size: .74rem; color: var(--muted); }
.dash-item .i { width: 14px; height: 14px; }
.dash-item.on { color: var(--pop); background: var(--soft-2); box-shadow: var(--bevel); }
.dash-main { display: grid; gap: 12px; align-content: start; }
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-card { padding: 12px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.dash-card small { display: block; font-size: .64rem; color: var(--muted); margin-bottom: 6px; }
.dash-card b { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.5); width: var(--w, 70%); }
.dash-card em { display: inline-block; margin-top: 8px; font-style: normal; font-size: .6rem; padding: 2px 6px; border-radius: 5px; background: rgba(61,220,132,.12); color: #6EE7A8; }
.dash-chart { padding: 14px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.dash-chart small { font-size: .7rem; color: var(--muted); }
.dash-chart svg { width: 100%; height: 130px; margin-top: 8px; }

/* ---------- Órbita de herramientas ---------- */
.orbit-wrap { position: relative; display: grid; place-items: center; padding: 10px 0 30px; }
.orbit { --size: min(560px, 88vw); --R: calc(var(--size) * .4); position: relative; width: var(--size); aspect-ratio: 1; }
.orbit::before { content: ''; position: absolute; top: 50%; left: -30vw; right: -30vw; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent); }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); inset: 10%; }
.ring.r2 { inset: 26%; border-color: rgba(255,255,255,.05); }
.ring.r3 { inset: -4%; border-color: rgba(255,255,255,.035); }
.orbit-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; display: grid; place-items: center; }
.orbit-core::before { content: ''; position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(150,180,230,.3), transparent); }
.stack { position: relative; width: 70%; aspect-ratio: 1; }
.stack i { position: absolute; left: 0; right: 0; height: 100%; top: calc(var(--n) * -9%);
  transform: rotateX(60deg) rotateZ(45deg); border-radius: 14%;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(160,170,185,.55) 60%, rgba(255,255,255,.2));
  border: 1px solid rgba(255,255,255,.6); box-shadow: 0 10px 30px rgba(0,0,0,.6), inset 0 0 20px rgba(255,255,255,.3);
  opacity: calc(1 - var(--n) * .12); animation: lift 4s ease-in-out infinite; animation-delay: calc(var(--n) * .15s); }
@keyframes lift { 50% { translate: 0 -6px; } }
.orbit-track { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.orbit-node { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px;
  transform: rotate(var(--a)) translateX(var(--R)) rotate(calc(var(--a) * -1)); }
.orbit-node .tile { width: 52px; height: 52px; border-radius: 50%; font-size: .72rem; font-weight: 600; animation: spin 60s linear infinite reverse; }
.orbit-node .tile span { font-size: .7rem; }
.orbit:hover .orbit-track, .orbit:hover .orbit-node .tile { animation-play-state: paused; }

.tools { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-top: 48px; }
.tool-group { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--soft); }
.tool-group h3 { font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.tool-list { display: grid; gap: 8px; }
.tool { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-2); }
.tool .mono, .tool img { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font); font-size: .6rem; font-weight: 600; color: var(--pop);
  background: linear-gradient(180deg, #2A2D33, #121418); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); object-fit: contain; }

/* ---------- Cómo trabajamos (acordeón + teléfono) ---------- */
.how { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .how { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.phone { position: relative; width: min(320px, 82vw); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2A2D33, #0B0C0F 40%, #1A1C20); border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 60px 120px -40px rgba(0,0,0,1), 0 0 120px -40px var(--glow); }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: radial-gradient(90% 50% at 50% 0%, #1B2433, #07080A 70%); padding: 52px 20px 20px; display: flex; flex-direction: column; }
.phone-screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone-screen .brand { justify-content: center; margin-bottom: 18px; font-size: .9rem; }
.phone-screen h4 { text-align: center; font-size: 1.35rem; margin-bottom: 6px; }
.phone-screen p { text-align: center; font-size: .72rem; color: var(--muted); margin-bottom: 18px; }
.p-field { margin-bottom: 10px; }
.p-field small { display: block; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.p-field div { height: 36px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-size: .7rem; color: var(--dim); display: flex; align-items: center; padding: 0 12px; }
.p-btn { margin-top: auto; height: 42px; border-radius: 999px; display: grid; place-items: center; font-size: .78rem; font-weight: 500; background: var(--inv-bg); color: var(--inv-fg); }
.p-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.p-slots span { padding: 8px 0; border-radius: 9px; text-align: center; font-size: .66rem; border: 1px solid var(--line); background: var(--soft); color: var(--muted); }
.p-slots span.on { background: var(--inv-solid); color: var(--inv-fg); border-color: var(--inv-solid); }

.acc { display: grid; gap: 10px; }
.acc details { border-radius: 18px; border: 1px solid var(--line); background: var(--soft); transition: background .3s, border-color .3s; }
.acc details[open] { background: var(--card-bg); border-color: var(--line-2); box-shadow: var(--card-shadow); }
.acc summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 500; letter-spacing: -.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc-num { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.acc-chev { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: transform .4s var(--ease), background .3s, color .3s; }
.acc-chev .i { width: 14px; height: 14px; }
.acc details[open] .acc-chev { transform: rotate(180deg); background: var(--inv-solid); color: var(--inv-fg); border-color: var(--inv-solid); }
.acc-body { padding: 0 20px 20px 52px; color: var(--muted); font-size: .94rem; }
.acc details[open] .acc-body { animation: drop .5s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.faq { max-width: 760px; margin-inline: auto; }
.faq .acc-body { padding-left: 20px; }

/* ---------- CTA ---------- */
.cta-box { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px); text-align: center;
  background: linear-gradient(180deg, #111317, #08090B); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.cta-box .bg-grid { mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 75%); }
.cta-box .bg-orbs { background: radial-gradient(50% 60% at 50% 100%, rgba(110,140,200,.22), transparent 70%); }
.cta-box h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 760px; margin-inline: auto; letter-spacing: -.045em; }
.cta-box .lead { margin: 0 auto 30px; }
.cta-box .btn-row { justify-content: center; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } }
.contact-direct { display: grid; gap: 10px; margin-top: 30px; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); transition: border-color .3s, background .3s; }
.contact-link:hover { border-color: var(--line-3); background: var(--soft); }
.contact-link .tile { width: 40px; height: 40px; }
.contact-link strong { display: block; font-weight: 500; font-size: .92rem; }
.contact-link span span, .contact-link > span > span { font-size: .84rem; color: var(--muted); word-break: break-all; }
.contact-link > .i { margin-left: auto; color: var(--dim); }

.form { padding: clamp(22px, 4vw, 36px); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .78rem; font-weight: 500; color: var(--text-2); margin-bottom: 7px; }
.field label .opt { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--soft);
  font-size: .95rem; color: var(--text); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C919A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.field select option { background: #0D0F12; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus-line); background: var(--soft-2); box-shadow: 0 0 0 4px var(--focus-ring); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #E5484D; }
.form-note { font-size: .78rem; color: var(--dim); margin: 12px 0 0; }
.form-note a { text-decoration: underline; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .88rem; display: none; border: 1px solid; }
.form-status.is-ok { display: block; background: rgba(61,220,132,.08); color: #8EEDB8; border-color: rgba(61,220,132,.3); }
.form-status.is-error { display: block; background: rgba(229,72,77,.08); color: #FF9B9E; border-color: rgba(229,72,77,.3); }
.form-status.is-info { display: block; background: rgba(243,213,143,.06); color: #F3D58F; border-color: rgba(243,213,143,.3); }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .88rem; color: var(--muted); background: linear-gradient(180deg, #07080A, #050608); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.site-footer .brand { color: var(--text); margin-bottom: 14px; }
.footer-tag { max-width: 300px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--soft); transition: border-color .3s, color .3s; }
.socials a:hover { border-color: var(--line-3); color: var(--pop); }
.socials .i { width: 16px; height: 16px; }
.site-footer h4 { font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--text); margin-bottom: 14px; }
.footer-list li + li { margin-top: 9px; }
.footer-list a, .footer-list span { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; word-break: break-word; }
.footer-list a:hover { color: var(--pop); }
.footer-list .i { width: 15px; height: 15px; }
.footer-big { margin-top: 56px; font-size: clamp(3rem, 13vw, 11rem); font-weight: 600; letter-spacing: -.07em; line-height: .8; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .78rem; color: var(--dim); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a:hover { color: var(--pop); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 8px; border-radius: 999px;
  background: linear-gradient(180deg, #1D2025, #0C0D10); border: 1px solid var(--line-3); color: var(--pop); font-size: .86rem; font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 20px 40px -12px rgba(0,0,0,.9); transition: transform .35s var(--ease), border-color .3s; }
.wa-float:hover { transform: translateY(-2px); border-color: rgba(37,211,102,.6); }
.wa-ic { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #25D366; color: var(--pop); }
.wa-ic::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulse 2.6s ease-out infinite; }
.wa-ic .i { width: 20px; height: 20px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 600px) { .wa-float { padding: 0; width: 54px; justify-content: center; } .wa-label { display: none; } .wa-ic { width: 44px; height: 44px; } }

/* ==========================================================================
   PÁGINAS INTERIORES
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; text-align: center; padding: calc(var(--header-h) + clamp(64px, 10vw, 120px)) 0 clamp(56px, 8vw, 90px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -.045em; max-width: 880px; margin: 0 auto .4em; }
.page-hero .lead { margin: 0 auto 28px; }
.page-hero .btn-row { justify-content: center; }
.access-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 12px; border-radius: 999px; font-size: .76rem; color: var(--muted); border: 1px solid var(--line); background: var(--soft); }
.access-pill .i { width: 13px; height: 13px; }

/* ---------- Acceso ---------- */
.access-page { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 32px 16px; overflow: hidden; }
.access-card { position: relative; z-index: 1; width: min(420px, 100%); padding: clamp(28px, 6vw, 40px); border-radius: 28px; text-align: center;
  background: linear-gradient(180deg, rgba(20,22,26,.85), rgba(10,11,14,.85)); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,.9); }
.access-card .brand { justify-content: center; margin-bottom: 30px; text-align: left; }
.access-lock { margin: 0 auto 22px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(180deg, #2A2D33, #111316); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 50px -10px var(--glow); }
.access-lock .i { width: 24px; height: 24px; }
.access-card h1 { font-size: clamp(1.5rem, 4vw, 1.8rem); letter-spacing: -.035em; margin-bottom: .4em; }
.access-card p { color: var(--muted); font-size: .92rem; }
.access-card p strong { color: var(--pop) !important; font-weight: 500; }
.pass-field { position: relative; margin: 24px 0 12px; text-align: left; }
.pass-field input { width: 100%; min-height: 52px; padding: 14px 52px 14px 16px; border-radius: 14px; font-size: 1rem; background: var(--soft); border: 1px solid var(--line-2); color: var(--pop); transition: border-color .25s, box-shadow .25s; }
.pass-field input::placeholder { color: var(--dim); }
.pass-field input:focus { outline: none; border-color: var(--focus-line); box-shadow: 0 0 0 4px var(--focus-ring); }
.pass-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pass-toggle:hover { color: var(--pop); }
.pass-toggle .i-eye-off { display: none; }
.pass-toggle[aria-pressed="true"] .i-eye { display: none; }
.pass-toggle[aria-pressed="true"] .i-eye-off { display: block; }
.access-error { min-height: 1.4em; font-size: .84rem; color: #FF9B9E; margin: 0 0 12px; }
.access-card.shake { animation: shake .45s; }
@keyframes shake { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
.access-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; font-size: .78rem; color: var(--dim); }
.access-divider::before, .access-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.access-back { display: inline-block; margin-top: 20px; font-size: .84rem; color: var(--muted); }
.access-back:hover { color: var(--pop); }

/* ---------- Servicios ---------- */
html:has(.svc-nav) { scroll-padding-top: calc(var(--header-h) + 76px); }
.svc-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(5,6,8,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-nav ul { position: relative; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: inline-block; white-space: nowrap; padding: 7px 13px; border-radius: 999px; font-size: .82rem; color: var(--muted); border: 1px solid transparent; transition: all .25s; }
.svc-nav a:hover { color: var(--pop); }
.svc-nav a.is-active { color: var(--pop); border-color: var(--line-2); background: var(--soft-2); box-shadow: var(--bevel); }

.svc-list { display: grid; gap: 10px; }
.svc { border-radius: 20px; border: 1px solid var(--line); background: var(--soft); transition: border-color .3s, background .3s; overflow: hidden; }
.svc:hover { border-color: var(--line-2); }
.svc[open] { border-color: var(--line-2); background: var(--card-bg); box-shadow: var(--card-shadow); }
.svc summary { display: flex; align-items: center; gap: 16px; padding: 18px clamp(16px, 3vw, 24px); cursor: pointer; list-style: none; }
.svc summary::-webkit-details-marker { display: none; }
.svc-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 13px; color: #E8EAED;
  background: linear-gradient(180deg, #24272D, #111316); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.svc[open] .svc-icon { background: var(--inv-bg); color: var(--inv-fg); }
.svc-icon .i { width: 20px; height: 20px; }
.svc-head { flex: 1; min-width: 0; }
.svc-title { display: block; font-size: clamp(1.02rem, 2vw, 1.2rem); font-weight: 500; letter-spacing: -.025em; color: var(--text); }
.svc-sub { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.svc-price { flex: none; text-align: right; font-size: .74rem; color: var(--dim); }
.svc-price strong { display: block; font-size: 1.05rem; font-weight: 500; color: var(--text); letter-spacing: -.02em; }
.svc-chev { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .4s var(--ease), background .3s, color .3s; }
.svc-chev .i { width: 15px; height: 15px; }
.svc[open] .svc-chev { transform: rotate(180deg); background: var(--inv-solid); color: var(--inv-fg); border-color: var(--inv-solid); }
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font-size: .66rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; margin-left: 8px;
  background: var(--inv-bg); color: var(--inv-fg); }
@media (max-width: 640px) {
  .svc summary { flex-wrap: wrap; gap: 12px; }
  .svc-icon { width: 40px; height: 40px; }
  .svc-head { flex-basis: calc(100% - 110px); }
  .svc-price { order: 3; flex-basis: 100%; text-align: left; padding-left: 52px; }
  .badge { margin: 6px 0 0; }
}
.svc-body { padding: 4px clamp(16px, 3vw, 24px) clamp(20px, 3vw, 26px); border-top: 1px solid var(--line); }
.svc[open] .svc-body { animation: drop .5s var(--ease); }
.svc-desc { font-size: 1rem; color: var(--text-2); margin: 20px 0 22px; max-width: 780px; }
.svc-cols { display: grid; gap: 24px; }
@media (min-width: 820px) { .svc-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
.svc-cols h4, .svc-block h4 { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .93rem; color: var(--text-2); }
.check-list li::before { content: ''; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--soft-2) var(--check) center / 9px no-repeat; }
.ol-steps { counter-reset: s; }
.ol-steps li { counter-increment: s; position: relative; padding-left: 34px; margin-bottom: 9px; font-size: .93rem; color: var(--text-2); }
.ol-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--mono); font-size: .76rem; color: var(--dim); }
.price-table { display: grid; gap: 8px; margin-top: 22px; }
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.price-row span { color: var(--text); font-weight: 500; font-size: .94rem; }
.price-row small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; margin-top: 2px; }
.price-row strong { font-weight: 500; color: var(--text); font-size: 1.05rem; white-space: nowrap; letter-spacing: -.02em; }
.option-grid { display: grid; gap: 12px; margin-top: 6px; }
@media (min-width: 820px) { .option-grid { grid-template-columns: 1fr 1fr; } }
.option { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); }
.option-tag { display: inline-block; font-family: var(--mono); font-size: .7rem; color: var(--muted); border: 1px solid var(--line-2); padding: 3px 8px; border-radius: 6px; margin-bottom: 12px; }
.option h5 { font-size: 1.05rem; letter-spacing: -.02em; margin: 0 0 12px; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-top: 18px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line-2); font-size: .88rem; color: var(--text-2); }
.note .i { margin-top: 2px; color: var(--pop); }
.note.warn { background: rgba(229,72,77,.06); border-color: rgba(229,72,77,.3); color: #FFB3B5; }
.note.warn .i { color: #FF6B70; }

.plans { display: grid; gap: 14px; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; } }
.plan { display: flex; flex-direction: column; padding: 30px 26px; }
.plan h3 { font-size: 1.45rem; letter-spacing: -.035em; }
.plan-kicker { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-bottom: 14px; display: block; }
.plan-quote { color: var(--muted) !important; font-size: .9rem !important; min-height: 3.2em; }
.plan-price { font-size: 2.4rem; font-weight: 500; letter-spacing: -.05em; margin: 20px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan-price .ph { font-size: .45em; vertical-align: middle; letter-spacing: 0; }
.plan-price small { font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan .check-list { margin-bottom: 26px; flex: 1; }
.plan .btn { width: 100%; }
.plan.is-featured { background: radial-gradient(100% 60% at 50% 0%, rgba(130,160,210,.18), transparent 70%), linear-gradient(180deg, #15181D, #0A0B0E); border-color: var(--line-3); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 40px 80px -30px rgba(0,0,0,.9); }
@media (min-width: 980px) { .plan.is-featured { transform: translateY(-12px); } }
.plan-flag { position: absolute; top: 22px; right: 22px; font-size: .64rem; font-weight: 500; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-fg); }

.pack { display: grid; gap: 28px; padding: clamp(26px, 4vw, 40px); border-radius: 26px; background: var(--card-bg); border: 1px solid var(--line-2); box-shadow: var(--card-shadow); }
@media (min-width: 900px) { .pack { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.pack-price { font-size: clamp(3rem, 7vw, 4.4rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; margin-bottom: 10px; }
.pack-price small { font-size: 1rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.pack-items { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.pack-item { padding: 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.pack-item b { display: block; font-size: 1.9rem; font-weight: 500; letter-spacing: -.05em; line-height: 1; margin-bottom: 6px; }
.pack-item span { font-size: .84rem; color: var(--muted); }

.conditions { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.condition { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.condition .i { width: 20px; height: 20px; margin-top: 2px; color: var(--pop); }
.condition p { margin: 0; font-size: .92rem; color: var(--text-2); }

/* ---------- Portafolio ---------- */
.filters { display: flex; gap: 6px; overflow-x: auto; padding: 5px; margin: 0 auto 32px; width: fit-content; max-width: 100%; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn { flex: none; padding: 8px 15px; border-radius: 999px; border: 1px solid transparent; background: none; font-size: .84rem; color: var(--muted); cursor: pointer; transition: all .25s; }
.filter-btn:hover { color: var(--pop); }
.filter-btn[aria-pressed="true"] { background: var(--inv-bg); color: var(--inv-fg); }
.filter-btn .count { opacity: .5; font-size: .8em; margin-left: 5px; font-family: var(--mono); }

.case-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.case { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; padding: 8px; background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--card-shadow); transition: border-color .4s, transform .5s var(--ease); }
.case:hover { border-color: var(--line-3); transform: translateY(-4px); }
.case-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.case-media img, .case-media .media-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.case-media img[src*="/portadas/"], .modal-hero img[src*="/portadas/"] { object-fit: contain; object-position: center; background: #fff; }
.case-media img[src*="/webs/"], .modal-hero img[src*="/webs/"] { object-fit: cover; object-position: left top; }
.case-media { background: #fff; }
.case:hover .case-media img, .case:hover .case-media .media-ph { transform: scale(1.04); }
.case-body { padding: 18px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.case-client { font-size: 1.15rem; letter-spacing: -.025em; margin-bottom: 6px; }
.case-summary { color: var(--muted); font-size: .9rem; margin-bottom: 16px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 9px; border-radius: 6px; font-size: .7rem; color: var(--text-2); background: var(--soft-2); border: 1px solid var(--line); }
.case-open { align-self: flex-start; margin-top: 16px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 500; font-size: .86rem; color: var(--text); }
.empty-state { grid-column: 1 / -1; padding: 48px 24px; text-align: center; border-radius: 20px; border: 1px dashed var(--line-2); color: var(--muted); }
.empty-state a { color: var(--pop); }
.is-hidden { display: none !important; }

.modal { width: min(920px, 100% - 24px); max-height: calc(100svh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: 26px; background: #0B0C0F; color: var(--text); box-shadow: 0 60px 120px -30px rgba(0,0,0,1); overflow: hidden; }
.modal::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(8px); }
.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-inner { max-height: calc(100svh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-3); background: rgba(5,6,8,.7); backdrop-filter: blur(8px); color: var(--pop); cursor: pointer; transition: transform .3s var(--ease); }
.modal-close:hover { transform: rotate(90deg); }
.modal-hero { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .modal-hero { aspect-ratio: 16 / 9; } }
.modal-hero img, .modal-hero .media-ph { width: 100%; height: 100%; object-fit: cover; }
.modal-hero { background: #fff; }

.modal-content { padding: clamp(22px, 4vw, 40px); }
.modal-content h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 14px 0 8px; }
.case-facts { display: grid; gap: 10px; margin: 26px 0; }
@media (min-width: 760px) { .case-facts { grid-template-columns: repeat(3, 1fr); } }
.case-fact { padding: 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.case-fact h4 { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.case-fact p, .case-fact ul { font-size: .9rem; margin: 0; color: var(--text-2); }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 12px 0 26px; }
.gallery > * { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #0D0F12; }
.gallery > *:has(img[src*="/webs/"]) { grid-column: span 2; aspect-ratio: 16 / 10; }
.gallery img[src*="/webs/"] { object-position: left top; }
.gallery img, .gallery video, .gallery .media-ph { width: 100%; height: 100%; object-fit: cover; }
.case-links { display: flex; flex-wrap: wrap; gap: 8px; }

.reels { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .reels { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1080px) { .reels { grid-template-columns: repeat(4, 1fr); } }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); isolation: isolate; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.reel video, .reel img, .reel .media-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.reel:hover video, .reel:hover .media-ph { transform: scale(1.04); }
.reel-info { position: absolute; inset: auto 0 0; z-index: 2; padding: 50px 14px 14px; background: linear-gradient(transparent, rgba(5,6,8,.95)); }
.reel-info strong { display: block; font-size: .88rem; font-weight: 500; letter-spacing: -.01em; }
.reel-info span { font-size: .74rem; color: var(--muted); }
.reel-play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.reel.is-playing .reel-play { opacity: 0; transform: scale(.8); }
.reel-link { position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .72rem; background: rgba(5,6,8,.7); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.reel-link:hover { background: var(--inv-solid); color: var(--inv-fg); }
.reel-link .i { width: 12px; height: 12px; }

.web-card { overflow: hidden; padding: 8px; }
.web-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); }
.web-shot::before { content: ''; position: absolute; inset: 0 0 auto; height: 26px; z-index: 1; background: #15171B; border-bottom: 1px solid var(--line); }
.web-shot::after { content: ''; position: absolute; top: 10px; left: 12px; z-index: 2; width: 34px; height: 7px; background: radial-gradient(circle at 3.5px 3.5px, #3A3D43 3.5px, transparent 4px), radial-gradient(circle at 17px 3.5px, #3A3D43 3.5px, transparent 4px), radial-gradient(circle at 30.5px 3.5px, #3A3D43 3.5px, transparent 4px); }
.web-shot img, .web-shot .media-ph { width: 100%; height: 100%; object-fit: cover; object-position: top; padding-top: 26px; transition: transform 1.2s var(--ease); }
.web-card:hover .web-shot img { transform: translateY(-4%); }
.web-body { padding: 18px 14px 12px; }
.web-body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.web-body p { font-size: .88rem; margin-bottom: 16px; }

.bts { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
@media (min-width: 800px) { .bts { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; } }
.bts-item { position: relative; border-radius: 20px; overflow: hidden; margin: 0; border: 1px solid var(--line); }
.bts-item.wide { grid-column: span 2; }
.bts-item.tall { grid-row: span 2; }
.bts-item img, .bts-item video, .bts-item .media-ph { width: 100%; height: 100%; object-fit: cover; }
.bts-item figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 5px 10px; border-radius: 8px; font-size: .74rem; background: rgba(5,6,8,.75); border: 1px solid var(--line); backdrop-filter: blur(6px); }

/* ---------- Legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose p { color: var(--muted); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- Fotografía: galería abierta ---------- */
.photo-gallery { grid-column: 1 / -1; display: grid; gap: 44px; }
.photo-group-title { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 16px; }
.photo-group-title span { font-family: var(--mono); font-size: .75rem; font-weight: 400; color: var(--muted); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); }
.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
@media (max-width: 520px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.photo-item { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #0D0F12; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-item:hover img { transform: scale(1.04); }
.photo-caption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; font-size: .74rem; color: #fff; background: rgba(5,6,8,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.photo-item:hover .photo-caption, .photo-item:focus-visible .photo-caption { opacity: 1; transform: none; }
@media (hover: none) { .photo-caption { opacity: 1; transform: none; } }

/* Reels arriba cuando se filtra por "Reels y video" */
.reels-slot { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }

/* Insignia de plataforma (canales de YouTube) */
.case-media { position: relative; }
.platform-badge { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px; border-radius: 999px;
  font-size: .78rem; font-weight: 500; color: #0A0B0D; background: rgba(255,255,255,.92); border: 1px solid rgba(10,12,16,.1);
  box-shadow: 0 6px 18px -8px rgba(10,12,16,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.platform-badge .i { width: 20px; height: 20px; }

/* Reels agrupados por temática */
.reel-groups { display: grid; gap: 44px; }
.reel-group .photo-group-title { color: var(--text); }
