/* ===== Colores de marca (cámbialos aquí) ===== */
:root {
  --bg: #0a0706;            /* negro cálido */
  --bg-2: #15100e;          /* tarjetas */
  --bg-3: #201814;
  --line: rgba(255, 255, 255, .09);
  --text: #fff7f2;          /* blanco */
  --muted: #b8a69c;
  --dim: #4e3f38;           /* texto apagado */
  --accent: #e8141c;        /* rojo principal */
  --accent-2: #ff2d2d;      /* rojo claro */
  --accent-3: #b5000f;      /* rojo oscuro */
  --soft: #ff8a8a;          /* resaltados */
  --grad: linear-gradient(110deg, #ff4747 0%, #f21b1b 28%, #d90b1a 60%, #b5000f 85%, #7a0012 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,45,45,.22), rgba(181,0,15,.22));
  --light: #fff1f1;         /* fondo de secciones claras */
  --ink: #140b07;           /* texto oscuro */
  --wa: #25d366;
  --r: 24px;
  --ease: cubic-bezier(.65, .05, 0, 1);      /* curva suave tipo Juan Mora */
  --ease-out: cubic-bezier(.22, .9, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; font-feature-settings: "cv11", "ss01"; letter-spacing: -.011em; font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.muted { color: var(--muted); }
.tiny { font-size: .78rem; margin-top: 12px; text-align: center; }
::selection { background: var(--accent); color: #fff; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.label { font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 18px; line-height: 1.5; font-weight: 600; }
.label.right { text-align: right; }
.h-xl { font-size: clamp(2.4rem, 6.6vw, 6.6rem); max-width: 15ch; margin-bottom: clamp(40px, 6vw, 80px); }
.h-md { font-size: clamp(2rem, 4vw, 3rem); }
.h-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.center-head { text-align: center; margin-bottom: 48px; }
.sub { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.sub b, .card p b { color: var(--soft); font-weight: 600; }

/* Secciones claras (blanco cálido) */
.light { --text: var(--ink); --muted: #74625a; --dim: #d9c8be; --line: rgba(20,11,7,.1); --bg-2: #fff; --bg-3: #f4e6dc; --soft: var(--accent-3); background: var(--light); color: var(--text); }
.round { border-radius: 40px 40px 0 0; }
.round + .section, .round + footer { margin-top: 0; }

/* ===== Botones con flecha animada ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 16px 28px; border-radius: 999px; border: 0; background: var(--grad); background-size: 160% 100%; background-position: 0 0; color: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 40px -12px rgba(217,11,26, .7); transition: transform .5s var(--ease-out), background-position .6s var(--ease-out), box-shadow .5s; }
.btn:hover { transform: translateY(-3px); background-position: 100% 0; box-shadow: 0 18px 50px -12px rgba(217,11,26, .9); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.btn.block { width: 100%; }
.btn.disabled { opacity: .35; pointer-events: none; }
/* Flecha en un circulito: al pasar el mouse sale volando en diagonal y entra otra */
.btn { padding-right: 8px; }
.bt { padding-right: 14px; }
.bi { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #fff; color: var(--accent-3); box-shadow: inset 0 -3px 6px rgba(160,20,10,.18), 0 3px 8px rgba(120,20,0,.25); transition: transform .7s var(--ease), background .4s, color .4s; }
.ar { position: absolute; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--ease); }
.ar2 { transform: translate(-170%, 170%); }
.btn:hover .ar1, .nav-cta:hover .ar1, .cta-card:hover .ar1 { transform: translate(170%, -170%); }
.btn:hover .ar2, .nav-cta:hover .ar2, .cta-card:hover .ar2 { transform: none; }
.btn:hover .bi, .nav-cta:hover .bi { transform: rotate(45deg) scale(1.08); }
.btn:hover .bi .ar, .nav-cta:hover .bi .ar { rotate: -45deg; }
.btn.ghost .bi { background: var(--grad); color: #fff; }
.nav-cta { padding: 6px 6px 6px 18px; }
.nav-cta .bt { padding-right: 10px; }
.nav-cta .bi { width: 28px; height: 28px; }
.nav-cta .ar { width: 13px; height: 13px; }
.product .btn .bi { width: 28px; height: 28px; }
.product .btn .ar { width: 13px; height: 13px; }

/* ===== Pantalla de carga (cortina con degradado) ===== */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--grad); color: #fff; transition: transform 1.1s var(--ease), border-radius 1.1s var(--ease); }
.loader.done { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 12% 12%; pointer-events: none; }
.loader-name { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: -.03em; overflow: hidden; }
.loader-name span { display: inline-block; animation: rise .9s var(--ease) both; }
.loader-name span:last-child { animation-delay: .12s; }
.loader-name i { width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: pop .6s .3s var(--ease) both; }
.loader-line { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: #fff; transform-origin: 0 50%; animation: grow 1.3s .2s var(--ease) both; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* ===== Cursor que sigue al mouse ===== */
/* Punto pequeño; sobre enlaces se convierte en una etiqueta al costado del puntero (no tapa el contenido) */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: flex; align-items: center; width: 10px; height: 10px; margin: -5px 0 0 -5px; padding: 0; border-radius: 999px; background: var(--grad); opacity: 0; box-shadow: 0 6px 20px -6px rgba(217,11,26,.8); transition: margin .5s var(--ease), padding .5s var(--ease), opacity .3s, width .5s var(--ease), height .5s var(--ease); }
.cursor.on { opacity: 1; }
.cursor-label { color: #fff; font-size: .74rem; font-weight: 700; white-space: nowrap; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .5s var(--ease), opacity .3s; }
.cursor.big { width: auto; height: 30px; padding: 0 13px; margin: 18px 0 0 18px; }
.cursor.big .cursor-label { max-width: 160px; opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ===== Barra de oferta ===== */
.promo { position: fixed; top: 0; left: 0; right: 0; height: 40px; z-index: 55; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; background: #080504; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .8rem; white-space: nowrap; overflow: hidden; color: #fff7f2; transition: transform .6s var(--ease), background .3s; }
.promo:hover { background: #120b08; }
.promo::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, #ff4747, #d90b1a, #b5000f, transparent); background-size: 200% 100%; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.promo b { font-weight: 700; }
.promo .sm-only { display: none; }
.cd { display: inline-flex; align-items: center; }
.cd i { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 700; font-size: .75rem; color: #fff; background: var(--grad); padding: 1px 6px; border-radius: 5px; }
.cd small { color: #b8a69c; font-size: .62rem; margin: 0 6px 0 3px; }
.promo-arrow { color: var(--accent); transition: transform .3s var(--ease-out); }
.promo:hover .promo-arrow { transform: translateX(3px); }
body.scrolled .promo { transform: translateY(-100%); }

/* ===== Menú: ancho y transparente arriba, cápsula flotante al bajar ===== */
.nav { position: fixed; left: 0; right: 0; top: 40px; z-index: 50; display: flex; justify-content: center; transition: top .7s var(--ease), padding .7s var(--ease); }
.no-promo .nav { top: 0; }
.nav-inner { position: relative; width: 100%; max-width: 100%; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 clamp(16px, 3vw, 40px); color: #fff7f2; border: 1px solid transparent; border-radius: 0; background: transparent; transition: max-width .8s var(--ease), height .7s var(--ease), border-radius .8s var(--ease), background .5s, border-color .5s, padding .7s var(--ease), box-shadow .5s, color .4s; }
body.scrolled .nav { top: 12px; padding: 0 16px; }
body.scrolled .nav-inner { max-width: 1240px; height: 64px; border-radius: 999px; padding: 0 10px 0 14px; background: rgba(16, 11, 9, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: rgba(255,255,255,.1); box-shadow: 0 12px 40px rgba(0,0,0,.45); }
/* Menú sobre secciones claras */
body.scrolled.nav-light .nav-inner { background: rgba(255, 247, 241, .86); border-color: rgba(20,11,7,.1); color: var(--ink); box-shadow: 0 12px 40px rgba(120,40,10,.18); }
body.nav-light .nav-inner { color: var(--ink); }
body.nav-light .nav-links a { color: rgba(20,11,7,.6); }
body.nav-light .nav-links a:hover { color: var(--ink); background: rgba(20,11,7,.06); }
body.nav-light .icon-btn { color: rgba(20,11,7,.6); }
body.nav-light .menu-btn span { background: var(--ink); }

.logo { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; flex: none; white-space: nowrap; }
.logo i { font-style: normal; margin: 0 3px; color: var(--accent); }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: -.02em; }
.logo-img { height: 36px; width: auto; display: block; }
.nav-links { justify-self: center; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font-size: .88rem; }
body.nav-light .nav-links { background: rgba(20,11,7,.04); border-color: rgba(20,11,7,.08); }
.nav-links a { padding: 8px 16px; border-radius: 999px; white-space: nowrap; color: rgba(255,247,242,.62); transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,247,242,.62); transition: color .2s, background .2s; }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.icon-btn:hover { color: var(--accent); }
.nav-text { padding: 8px 12px; font-size: .88rem; font-weight: 600; }
.nav-text:hover { color: var(--accent); }
.nav-cta { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: .88rem; white-space: nowrap; box-shadow: 0 8px 24px -10px rgba(217,11,26,.8); transition: transform .4s var(--ease-out); }
.nav-cta:active { transform: scale(.97); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn.open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ===== Inicio ===== */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1s; }
.hero-video.ready { opacity: .3; }
.hero-video.hidden { display: none; }
.hero-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-glow span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 16s ease-in-out infinite; }
.hero-glow span:nth-child(1) { width: 44vw; height: 44vw; right: -10vw; top: -14vw; background: #f01818; }
.hero-glow span:nth-child(2) { width: 30vw; height: 30vw; right: 20vw; bottom: -8vw; background: #b5000f; opacity: .4; animation-duration: 20s; animation-direction: reverse; }
.hero-glow span:nth-child(3) { width: 22vw; height: 22vw; left: -6vw; top: 30vh; background: #ff4747; opacity: .18; animation-duration: 18s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(3vw, 3vw) scale(1.12); } }
.hero-3d { position: absolute; z-index: -1; right: -2vw; top: 50%; width: min(56vw, 820px); aspect-ratio: 1; transform: translateY(-44%); opacity: 0; transition: opacity 1.6s .4s; pointer-events: none; }
.ready-page .hero-3d.ready { opacity: 1; }
@media (max-width: 980px) { .hero-3d { width: 80vw; right: -18vw; top: 42%; } .ready-page .hero-3d.ready { opacity: .75; } }
@media (max-width: 640px) { .hero-3d { width: 110vw; right: -35vw; top: 30%; } .ready-page .hero-3d.ready { opacity: .6; } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(to top, var(--bg), transparent); }
.hero-inner { display: flex; flex-direction: column; justify-content: space-between; padding: 150px 0 56px; }
.hero-top { display: flex; justify-content: space-between; }
.hero-title { font-size: clamp(2.8rem, 8.6vw, 9.2rem); font-weight: 800; line-height: .98; margin: 48px 0; letter-spacing: -.05em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.3s var(--ease); }
.hero-title .ln:nth-child(2) > span { transition-delay: .1s; }
.hero-title .ln:nth-child(3) > span { transition-delay: .2s; }
.ready-page .hero-title .ln > span { transform: none; }
.hero-title em { font-style: normal; }
.hero-bottom { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: opacity 1s .5s, transform 1s .5s var(--ease); }
.hero-top { opacity: 0; transition: opacity 1s .6s; }
.ready-page .hero-bottom, .ready-page .hero-top { opacity: 1; transform: none; }

/* ===== Tarjetas de links ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-flow: dense; }
.bento .card:last-child { grid-column: 1 / -1; min-height: 220px; }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 300px; padding: 30px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); isolation: isolate; transition: transform .6s var(--ease-out), border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; background: var(--g); transition: opacity .6s, transform 1s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg-2) 35%, rgba(21,16,14,.2)); }
.card:hover { transform: translateY(-6px); border-color: rgba(232,20,28,.55); }
.card:hover::before { opacity: .95; transform: scale(1.08); }
.card.wide { grid-column: span 2; }
.card .ico { position: absolute; top: 26px; left: 30px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--accent-3); display: grid; place-items: center; font-size: 1rem; transition: transform .6s var(--ease); }
.card:hover .ico { transform: rotate(-20deg) scale(1.1); }
.card h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.card p { color: var(--muted); font-size: .95rem; max-width: 44ch; }
.c-a { --g: radial-gradient(circle at 80% 20%, #f21b1b, transparent 60%); }
.c-b { --g: radial-gradient(circle at 70% 10%, #b5000f, transparent 60%); }
.c-c { --g: radial-gradient(circle at 90% 30%, #ff4747, transparent 60%); }
.c-d { --g: radial-gradient(circle at 85% 20%, #d90b1a, transparent 55%), radial-gradient(circle at 40% 0%, #ff4747, transparent 50%); }
.c-e { --g: radial-gradient(circle at 70% 20%, #7a0012, transparent 60%); }
.c-f { --g: radial-gradient(circle at 80% 10%, #ff2d2d, transparent 60%), radial-gradient(circle at 20% 0%, #b5000f, transparent 50%); }

/* ===== Texto gigante que se mueve con el scroll ===== */
.big-marquee { overflow: hidden; padding: 30px 0; display: grid; gap: 4px; }
.big-track { display: flex; align-items: center; gap: 36px; width: max-content; white-space: nowrap; will-change: transform; }
.big-track span { font-size: clamp(3.4rem, 10vw, 9rem); font-weight: 800; letter-spacing: -.05em; text-transform: uppercase; line-height: 1; }
.big-track span:not(.grad-text) { color: transparent; -webkit-text-stroke: 1.5px rgba(255,247,242,.35); }
.big-track b { font-size: 2.4rem; color: var(--accent); }

/* ===== Texto que se ilumina ===== */
.scroll-words { font-size: clamp(2rem, 5.2vw, 5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; color: var(--dim); }
.scroll-words .w { transition: color .3s; }
.scroll-words .w.on { color: var(--text); }
.scroll-words .w.on.hot { color: var(--accent); }

/* ===== Servicios (sección clara) ===== */
.services { border-top: 1px solid var(--line); }
.srv { position: relative; display: grid; grid-template-columns: 70px 1fr 1fr; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.srv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s var(--ease); }
.srv:hover::before { transform: scaleY(1); }
.srv-n { color: var(--muted); font-size: .9rem; font-weight: 700; transition: color .4s; padding-left: 0; }
.srv h3 { font-size: clamp(1.8rem, 4.6vw, 3.8rem); transition: color .4s, transform .7s var(--ease); }
.srv p { color: var(--muted); max-width: 42ch; justify-self: end; transition: color .4s; }
.srv:hover h3, .srv:hover p, .srv:hover .srv-n { color: #fff; }
.srv:hover h3 { transform: translateX(16px); }

/* ===== Trabajos ===== */
.filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); cursor: pointer; font-size: .9rem; transition: all .3s; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--grad); border-color: transparent; color: #fff; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(16px, (100vw - 1280px) / 2) 20px; scroll-padding-inline: max(16px, (100vw - 1280px) / 2); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.work { flex: 0 0 min(440px, 82vw); scroll-snap-align: start; }
.work.is-hidden { display: none; }
.work-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.work-media > div { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.work:hover .work-media > div { transform: scale(1.06); }
.work-ph { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-size: .9rem; color: #fff; border: 1px dashed rgba(255,255,255,.6); padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.play { position: absolute; right: 18px; top: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); font-size: .85rem; }
.work-info { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px 0; gap: 12px; }
.work-info h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.tag { font-size: .75rem; color: var(--muted); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }

/* Revelado de imágenes con máscara */
.js [data-mask] { position: relative; overflow: hidden; }
.js [data-mask]::after { content: ""; position: absolute; inset: -1px; z-index: 3; background: var(--bg); transform-origin: 50% 0; transition: transform 1.4s var(--ease); pointer-events: none; }
.js [data-mask].in::after { transform: scaleY(0); }
.js [data-mask] > * { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.js [data-mask].in > * { transform: none; }
.js .work:hover [data-mask].in > div { transform: scale(1.06); }

.ba-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; margin-top: 80px; padding: 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; }
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; user-select: none; }
.ba-img { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; }
.ba-img span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; }
.ba-before { background: repeating-linear-gradient(45deg, #2a2320 0 14px, #241e1b 14px 28px); }
.ba-after { background: var(--grad); clip-path: inset(0 0 0 var(--pos)); justify-content: flex-end; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; translate: -50% 0; pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ===== Casos de trabajo ===== */
.case { display: grid; grid-template-columns: minmax(260px, .75fr) 1.6fr; gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.case:nth-child(even) { grid-template-columns: 1.6fr minmax(260px, .75fr); }
.case:nth-child(even) .case-info { order: 2; }
.case-info { position: sticky; top: 110px; align-self: start; display: grid; gap: 24px; }
.case-num { font-size: clamp(4rem, 9vw, 8rem); font-weight: 800; line-height: .8; letter-spacing: -.06em; }
.case-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.case-head h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.case-head h3 span { display: block; color: var(--muted); font-weight: 400; font-size: .58em; letter-spacing: -.02em; margin-top: 8px; }
.pill-year { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: .8rem; }
.case-row { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.case-row .label { margin: 0; }
.case-info p { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; transition: background .3s, color .3s, border-color .3s; }
.pills span:hover { background: var(--grad); color: #fff; border-color: transparent; }
/* Galería con tamaños variados: grande, alto, ancho, cuadrados */
.case-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.2vw, 16px); align-content: start; }
.case-grid figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--bg-2); grid-column: span 3; aspect-ratio: 1; }
.case-grid figure:nth-child(5n+1) { grid-column: span 6; aspect-ratio: 16 / 8.5; }
.case-grid figure:nth-child(5n+2) { grid-column: span 2; aspect-ratio: 3 / 4.2; }
.case-grid figure:nth-child(5n+3) { grid-column: span 4; aspect-ratio: auto; }
.case-grid figure:nth-child(5n+4) { grid-column: span 3; aspect-ratio: 1; }
.case-grid figure:nth-child(5n+5) { grid-column: span 3; aspect-ratio: 1; }
.case-grid img, .case-grid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-grid figure:hover img, .case-grid figure:hover video, .case-grid figure:hover .ph { transform: scale(1.05); }
.case-grid .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .85rem; transition: transform 1.2s var(--ease); }
.case-grid figcaption { position: absolute; z-index: 2; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(10,7,6,.55); backdrop-filter: blur(10px); color: #fff; font-size: .75rem; font-weight: 600; }

/* ===== Quién soy ===== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 28px; background: radial-gradient(circle at 30% 20%, rgba(255,45,45,.7), transparent 60%), radial-gradient(circle at 80% 90%, rgba(181,0,15,.7), transparent 60%), var(--bg-2); display: grid; place-items: center; color: #fff; }
.about-photo span { border: 1px dashed rgba(255,255,255,.5); padding: 8px 16px; border-radius: 999px; font-size: .9rem; }
.about-text .h-md { margin-bottom: 18px; }
.about-text > .muted { font-size: 1.05rem; max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
.stat { padding: 22px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); font-size: .85rem; }

/* ===== Cotizador ===== */
.quote { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.quote-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.opt:hover { transform: translateY(-2px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-check { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--dim); margin-top: 3px; transition: all .25s; }
.opt-body { display: flex; flex-direction: column; line-height: 1.35; }
.opt-body strong { font-weight: 600; }
.opt-body small { color: var(--muted); font-size: .84rem; margin-top: 4px; }
.opt-price { grid-column: 2; color: var(--accent); margin-top: 8px; font-weight: 700; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--grad-soft), var(--bg-2); }
.opt:has(input:checked) .opt-check { border-color: var(--accent); background: var(--grad); box-shadow: inset 0 0 0 4px var(--bg-2); }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.quote-summary { position: sticky; top: 96px; padding: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); }
.quote-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; font-size: .92rem; }
.quote-list li { display: flex; justify-content: space-between; gap: 12px; }
.urgent { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: .92rem; }
.urgent small { color: var(--muted); }
.urgent input { position: absolute; opacity: 0; }
.switch { flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--bg-3); position: relative; transition: background .3s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); transition: transform .4s var(--ease), background .3s; }
.urgent input:checked + .switch { background: var(--grad); }
.urgent input:checked + .switch::after { transform: translateX(18px); background: #fff; }
.urgent input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 22px; border-top: 1px solid var(--line); }
.quote-total strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Tienda ===== */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.product { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease-out), border-color .4s; }
.product:hover { transform: translateY(-6px); border-color: rgba(232,20,28,.55); }
.product-cover { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.product-cover > div { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.product:hover .product-cover > div { transform: scale(1.08); }
.badge { position: absolute; z-index: 1; top: 14px; left: 14px; background: #fff; color: var(--accent-3); font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.product-body p { font-size: .9rem; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price s { color: var(--muted); font-size: .8rem; }
.price strong { font-size: 1.45rem; font-weight: 800; color: var(--accent); }
.product .btn { padding: 11px 20px; font-size: .9rem; }

/* ===== Reseñas en columnas que se mueven ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-height: 680px; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); }
.rev-col { display: flex; flex-direction: column; gap: 16px; animation: up var(--dur, 40s) linear infinite; }
.rev-col:nth-child(2) { animation-direction: reverse; }
.reviews:hover .rev-col { animation-play-state: paused; }
@keyframes up { to { transform: translateY(-50%); } }
.t-card { margin: 0; padding: 26px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); }
.stars { color: var(--accent-2); letter-spacing: 2px; font-size: .9rem; margin-bottom: 12px; }
.t-card blockquote { margin: 0; color: var(--muted); font-size: .95rem; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; line-height: 1.25; font-size: .9rem; margin-top: 18px; }
.t-card figcaption small { display: block; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; }

/* ===== Preguntas frecuentes (estilo editorial) ===== */
.faq-section { overflow: hidden; }
.faq-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(255,45,45,.22), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(181,0,15,.16), transparent 70%); }
.faq-head { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.faq-head .h-xl { margin-bottom: 0; }
.faq-side { display: grid; gap: 18px; justify-items: start; }
.faq { position: relative; border-top: 1px solid var(--line); counter-reset: q; }
.faq-item { position: relative; border-bottom: 1px solid var(--line); counter-increment: q; isolation: isolate; }
.faq-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,45,45,.14), rgba(181,0,15,.1) 60%, transparent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.faq-item:hover::before, .faq-item.open::before { transform: scaleX(1); }
.faq-q { width: 100%; display: grid; grid-template-columns: clamp(48px, 8vw, 110px) 1fr auto; align-items: center; gap: 16px; padding: clamp(22px, 3vw, 34px) clamp(8px, 1.5vw, 20px); background: none; border: 0; text-align: left; cursor: pointer; color: var(--text); }
.faq-q::before { content: counter(q, decimal-leading-zero); font-size: .85rem; font-weight: 700; color: var(--muted); transition: color .4s; }
.faq-q span { font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 2.2rem); letter-spacing: -.035em; line-height: 1.15; transition: transform .7s var(--ease), color .4s; }
.faq-q:hover span, .faq-item.open .faq-q span { transform: translateX(10px); color: var(--accent-3); }
.faq-item.open .faq-q::before { color: var(--accent); }
.faq-q i { flex: none; position: relative; width: clamp(38px, 4vw, 52px); height: clamp(38px, 4vw, 52px); border-radius: 50%; border: 1px solid var(--line); color: var(--text); transition: background .5s, border-color .5s, transform .8s var(--ease), color .3s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; translate: -50% -50%; transition: transform .6s var(--ease); }
.faq-q i::after { transform: rotate(90deg); }
.faq-q:hover i { transform: rotate(90deg); }
.faq-item.open .faq-q i { background: var(--grad); border-color: transparent; color: #fff; transform: rotate(180deg); }
.faq-item.open .faq-q i::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); max-width: 60ch; font-size: clamp(.95rem, 1.3vw, 1.1rem); padding: 0 clamp(8px, 1.5vw, 20px) clamp(24px, 3vw, 34px) calc(clamp(48px, 8vw, 110px) + 16px + clamp(8px, 1.5vw, 20px)); opacity: 0; transform: translateY(-10px); transition: opacity .5s .1s, transform .7s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { opacity: 1; transform: none; }

/* ===== Contacto: tarjeta grande con relleno animado ===== */
.cta-card { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: clamp(420px, 70vh, 720px); border-radius: clamp(28px, 5vw, 64px); border: 1px solid rgba(255,90,90,.35); overflow: hidden; isolation: isolate; background: radial-gradient(80% 80% at 50% 0%, rgba(232,20,28,.25), transparent 70%), var(--bg-2); box-shadow: inset 0 0 120px rgba(232,20,28,.25), 0 30px 120px -40px rgba(217,11,26,.6); }
.cta-fill { position: absolute; left: 6%; bottom: 10%; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); z-index: -1; transform: scale(0); transition: transform 1.1s var(--ease); }
.cta-card:hover .cta-fill { transform: scale(60); }
.cta-top { padding: clamp(28px, 6vw, 90px) clamp(24px, 6vw, 90px) 0; }
.cta-title { font-size: clamp(2.2rem, 6vw, 6rem); max-width: 14ch; }
.cta-sub { margin-top: 18px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 600; transition: color .5s; }
.cta-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 4vw, 48px) clamp(24px, 6vw, 90px); border-top: 1px solid rgba(255,255,255,.12); }
.cta-arrow-big { position: relative; flex: none; display: grid; place-items: center; width: clamp(64px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent); color: var(--accent); transition: transform .9s var(--ease), color .5s, border-color .5s, background .5s; }
.cta-arrow-big .ar { width: 46%; height: 46%; stroke-width: 2; }
.cta-arrow-big .ar2 { transform: translateX(-160%); }
.cta-card:hover .cta-arrow-big .ar1 { transform: translateX(160%); }
.cta-talk { font-size: clamp(2.6rem, 9vw, 8.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: color .5s; }
.cta-card:hover .cta-arrow-big { transform: translateX(clamp(16px, 3vw, 48px)); color: var(--accent-3); border-color: #fff; background: #fff; }
.cta-card:hover .cta-talk, .cta-card:hover .cta-sub { color: #fff; -webkit-text-fill-color: #fff; }

/* ===== Final (nombre gigante con brillo en los bordes) ===== */
.footer { position: relative; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.footer-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.footer-video.hidden { display: none; }
.footer-bg { position: absolute; inset: 0; z-index: -1; box-shadow: inset 0 0 160px 40px rgba(232,20,28,.45); }
.footer-bg span { position: absolute; border-radius: 50%; filter: blur(100px); }
.footer-bg span:first-child { width: 50vw; height: 50vw; left: -10vw; bottom: -20vw; background: rgba(255,45,45,.45); animation: float 18s ease-in-out infinite; }
.footer-bg span:last-child { width: 45vw; height: 45vw; right: -10vw; top: -10vw; background: rgba(181,0,15,.4); animation: float 22s ease-in-out infinite reverse; }
.footer-inner { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(90px, 12vh, 140px) 0 96px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-col { display: grid; gap: 6px; font-weight: 600; }
.footer-col.right { text-align: right; justify-items: end; }
.footer-col a { transition: color .3s, transform .5s var(--ease); }
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.giant { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; flex-wrap: wrap; margin-top: 60px; }
.giant-word { display: grid; gap: 10px; }
.giant-word.right { text-align: right; justify-items: end; margin-left: auto; }
.giant-name { display: block; font-size: clamp(4rem, 17vw, 17rem); font-weight: 800; letter-spacing: -.07em; line-height: .82; }
.giant-word small { font-size: clamp(.9rem, 1.6vw, 1.4rem); font-weight: 700; color: var(--text); }
.giant-word small i { font-style: normal; color: var(--muted); font-weight: 400; }

/* ===== WhatsApp flotante ===== */
/* Botón WhatsApp en 3D: esfera brillante con relieve y sombra */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; perspective: 400px;
  background: radial-gradient(circle at 32% 26%, rgba(255,210,210,.95) 0, rgba(255,120,120,.6) 12%, transparent 34%), radial-gradient(circle at 70% 85%, #b3061f 0, transparent 55%), linear-gradient(145deg, #ff4747, #e8141c 50%, #9a0010);
  box-shadow: inset -7px -9px 16px rgba(110,0,20,.55), inset 5px 6px 10px rgba(255,255,255,.4), 0 5px 0 #8e0a14, 0 16px 30px -8px rgba(217,11,26,.9), 0 26px 40px -18px rgba(0,0,0,.7);
  animation: bob 3.2s ease-in-out infinite; transition: transform .5s var(--ease-out), box-shadow .5s; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; filter: drop-shadow(0 2px 2px rgba(120,0,20,.55)); transition: transform .6s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,70,70,.8); animation: ring 2.4s var(--ease-out) infinite; }
.wa-float::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 70%; height: 10px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); animation: shadow 3.2s ease-in-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotateX(0); } 50% { transform: translateY(-6px) rotateX(10deg); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: .8; } 50% { transform: scaleX(.75); opacity: .45; } }
.wa-float:hover { animation-play-state: paused; transform: translateY(-4px) scale(1.08); box-shadow: inset -7px -9px 16px rgba(110,0,20,.55), inset 5px 6px 10px rgba(255,255,255,.45), 0 7px 0 #8e0a14, 0 22px 40px -8px rgba(217,11,26,1); }
.wa-float:hover svg { transform: rotate(-12deg) scale(1.08); }
.wa-float:active { transform: translateY(3px) scale(.98); box-shadow: inset -6px -8px 14px rgba(110,0,20,.6), inset 5px 6px 10px rgba(255,255,255,.35), 0 2px 0 #8e0a14, 0 10px 20px -8px rgba(217,11,26,.9); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Inclinación 3D con brillo que sigue al mouse ===== */
.tilt { --rx: 0deg; --ry: 0deg; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .8s var(--ease-out), border-color .4s; }
.tilt.tilting { transition: transform .15s linear, border-color .4s; }
.card.tilt:hover, .product.tilt:hover { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px); }
.tilt .ico, .tilt h3, .tilt .badge { transform: translateZ(30px); }
.stat.tilt, .product.tilt { position: relative; }
.stat.tilt::after, .product.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,130,130,.22), transparent 55%); opacity: 0; transition: opacity .4s; }
.stat.tilt:hover::after, .product.tilt:hover::after { opacity: 1; }

/* ===== Animaciones al hacer scroll ===== */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wd > span { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); }
[data-split].in .wd > span { transform: none; }
.wd .grad-text { padding-right: .05em; }

/* ===== Tablet y celular ===== */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
  .quote, .ba-wrap, .case, .case:nth-child(even), .faq-head { grid-template-columns: 1fr; }
  .about { grid-template-columns: minmax(220px, .7fr) 1.3fr; gap: 32px; }
  .case:nth-child(even) .case-info { order: 0; }
  .quote-summary, .case-info { position: static; }
  .case-info { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .case-num, .case-head { grid-column: 1 / -1; }
  .srv { grid-template-columns: 50px 1fr; }
  .srv p { grid-column: 2; justify-self: start; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .reviews .rev-col:nth-child(3) { display: none; }
}
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  body.scrolled .nav-inner { padding: 0 6px 0 12px; }
}
@media (max-width: 820px) {
  .hide-sm { display: none; }
}
@media (max-width: 700px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { width: min(100%, 340px); aspect-ratio: 1; }
}
@media (max-width: 420px) {
  .logo-name { display: none; }
  .nav-cta { padding: 10px 16px; }
}
@media (max-width: 640px) {
  .promo { gap: 6px; font-size: .74rem; }
  .promo #promoTitle { display: none; }
  .promo .sm-only { display: inline; }
  .cd small { margin: 0 4px 0 2px; }
  .bento { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .card { min-height: 250px; padding: 24px; }
  .card .ico { left: 24px; top: 22px; }
  .quote-options { grid-template-columns: 1fr; }
  .case-info { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case-grid figure, .case-grid figure:nth-child(n) { grid-column: span 1; aspect-ratio: 1; }
  .case-grid figure:nth-child(5n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .case-grid figure:nth-child(5n+3) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .faq-q { grid-template-columns: 34px 1fr auto; gap: 10px; padding-inline: 4px; }
  .faq-a p { padding: 0 4px 24px 48px; }
  .cta-bottom { flex-direction: row; }
  .giant { flex-direction: column; align-items: stretch; }
  .giant-name { font-size: 27vw; }
  .hero-top .label { font-size: .68rem; }
  .hero-bottom { flex-direction: column; }
  .hero-bottom .btn { width: 100%; }
  .ba-wrap { padding: 20px; }
  .reviews { grid-template-columns: 1fr; max-height: 560px; }
  .reviews .rev-col:nth-child(2) { display: none; }
  .round { border-radius: 28px 28px 0 0; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 18px; }
  .wa-float svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero-title .ln > span, .wd > span { transform: none; }
}

/* ================= LOGO DAVAL ================= */
.lg { display: block; overflow: hidden; fill: currentColor; }
.lg use { transform-box: fill-box; }

/* Navbar: las letras suben al cargar y ruedan al pasar el mouse */
.logo-roll { position: relative; display: block; height: 24px; aspect-ratio: 1053.3 / 444.88; color: #fff; }
body.nav-light:not(.menu-open) .logo-roll { color: var(--ink); }
.logo-roll .lg { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-roll use { transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.lg-b { fill: url(#lgGrad); }
.logo-roll .lg-b use { transform: translateY(115%); }
.logo:hover .lg-a use { transform: translateY(-115%); }
.logo:hover .lg-b use { transform: none; }
.js:not(.ready-page) .logo-roll .lg-a use { transform: translateY(115%); }
.ready-page .logo-roll .lg-a use { animation: lgIn 1s var(--ease) backwards; animation-delay: calc(.2s + var(--i) * 70ms); }
@keyframes lgIn { from { transform: translateY(115%) rotate(6deg); } }

/* Pantalla de carga */
.loader-logo { display: grid; justify-items: center; gap: 18px; color: #fff; }
.lg-load { width: min(62vw, 460px); height: auto; }
.lg-load use { animation: lgIn 1.1s var(--ease) both; animation-delay: calc(.1s + var(--i) * 90ms); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.loader.done .lg-load use { animation: none; transform: translateY(-115%); }
.loader-sub { overflow: hidden; font-size: clamp(.7rem, 1.4vw, .85rem); font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.loader-sub span { display: block; animation: rise 1s .6s var(--ease) both; }

/* Footer: logo gigante */
.giant { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 60px; width: 100%; }
.lg-giant { width: 100%; height: auto; color: #fff; }
.lg-giant use { transition: transform 1.3s var(--ease), fill .4s; transition-delay: calc(var(--i) * 90ms), 0s; }
.js .lg-giant:not(.in) use { transform: translateY(110%); }
.lg-giant.in use:hover { fill: url(#lgGrad); transform: translateY(-4%); transition-delay: 0s; transition-duration: .5s; }
.giant-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.giant-meta small { font-size: clamp(.9rem, 1.6vw, 1.4rem); font-weight: 700; }
.giant-meta small i { font-style: normal; color: var(--muted); font-weight: 400; }

/* ================= MENÚ PANTALLA COMPLETA ================= */
.mmenu { position: fixed; inset: 0; z-index: 45; display: none; flex-direction: column; justify-content: space-between; padding: 150px clamp(20px, 6vw, 48px) 36px; visibility: hidden; pointer-events: none; transition: visibility 0s 1s; }
.mmenu.open { visibility: visible; pointer-events: auto; transition: none; }
.mmenu-bg { position: absolute; inset: 0; background: radial-gradient(70% 50% at 100% 100%, rgba(232,20,28,.45), transparent 70%), radial-gradient(60% 40% at 0% 0%, rgba(181,0,15,.3), transparent 70%), var(--bg); clip-path: circle(0% at calc(100% - 44px) 78px); transition: clip-path 1s var(--ease); }
.mmenu.open .mmenu-bg { clip-path: circle(150% at calc(100% - 44px) 78px); }
.mmenu-links { position: relative; display: grid; gap: 2px; counter-reset: mm; }
.mmenu-links a { display: flex; align-items: baseline; gap: 14px; overflow: hidden; color: var(--text); font-size: clamp(2.4rem, 11vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.1; }
.mmenu-links a span { display: block; transform: translateY(110%); transition: transform .7s var(--ease); }
.mmenu-links a::before { counter-increment: mm; content: "0" counter(mm); font-size: .8rem; font-weight: 600; letter-spacing: 0; color: var(--accent); opacity: 0; transition: opacity .4s; }
.mmenu.open .mmenu-links a span { transform: none; transition-duration: .9s; transition-delay: calc(.25s + var(--i) * 70ms); }
.mmenu.open .mmenu-links a::before { opacity: 1; transition-delay: calc(.4s + var(--i) * 70ms); }
.mmenu-links a:hover span, .mmenu-links a:active span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mmenu-foot { position: relative; display: flex; gap: 22px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .8s var(--ease); }
.mmenu-foot a { font-weight: 600; color: var(--muted); }
.mmenu.open .mmenu-foot { opacity: 1; transform: none; transition-delay: .7s; }
body.menu-open .nav-inner { color: #fff7f2; }
body.menu-open .menu-btn span { background: #fff; }
body.menu-open.scrolled .nav-inner { background: rgba(16,11,9,.6); border-color: rgba(255,255,255,.1); }
@media (max-width: 1100px) { .mmenu { display: flex; } }
@media (max-width: 640px) { .mmenu { padding-top: 130px; } .giant-meta { flex-direction: column; } }

/* ================= TIPOGRAFÍA: Anton (títulos) + Inter (texto) ================= */
h1, h2, .hero-title, .h-xl, .h-md, .cta-title, .srv h3, .big-track span, .case-num, .stat strong, .quote-total strong, .cta-talk, .mmenu-links a, .scroll-words {
  font-family: "Anton", "Impact", "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: .005em;
}
.hero-title { line-height: 1.02; }
.h-xl, .cta-title { line-height: 1.04; }
.srv h3 { letter-spacing: .01em; }
.big-track span, .cta-talk { letter-spacing: .01em; }
.scroll-words { line-height: 1.12; }
.mmenu-links a { line-height: 1.12; letter-spacing: .01em; }
.mmenu-links a::before { font-family: "Inter", sans-serif; }
h3, .card h3, .case-head h3, .faq-q span { font-family: "Inter", -apple-system, sans-serif; font-weight: 700; letter-spacing: -.025em; }

/* Iconos de redes en el menú */
.mmenu-foot { gap: 12px; }
.mmenu-foot .soc { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: transform .5s var(--ease), background .4s, border-color .4s; }
.mmenu-foot .soc svg { width: 22px; height: 22px; fill: currentColor; }
.mmenu-foot .soc svg[fill="none"] { fill: none; }
.mmenu-foot .soc:hover, .mmenu-foot .soc:active { background: var(--grad); border-color: transparent; transform: translateY(-3px) rotate(-6deg); }

/* Espacio del logo dentro del navbar */
.logo { padding-left: 6px; }
body.scrolled .nav-inner { padding-left: 26px; }
@media (max-width: 1100px) { body.scrolled .nav-inner { padding-left: 22px; } }
@media (max-width: 420px) { .logo { padding-left: 2px; } body.scrolled .nav-inner { padding-left: 18px; } }

/* ================= NAVBAR MÓVIL PREMIUM ================= */
.menu-btn { width: auto; height: 46px; padding: 0 6px 0 18px; align-items: center; gap: 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font: 600 .88rem/1 "Inter", sans-serif; letter-spacing: -.01em; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .4s, border-color .4s, transform .3s; }
.menu-btn:active { transform: scale(.96); }
.mb-txt { position: relative; display: block; height: 1em; overflow: hidden; font-style: normal; }
.mb-txt b { display: block; font-weight: 600; transition: transform .6s var(--ease); }
.mb-txt b + b { position: absolute; left: 0; top: 0; transform: translateY(120%); }
.menu-btn.open .mb-txt b:first-child { transform: translateY(-120%); }
.menu-btn.open .mb-txt b + b { transform: none; }
.mb-lines { position: relative; display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); box-shadow: 0 4px 14px rgba(232,20,28,.45), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .7s var(--ease); }
.menu-btn .mb-lines span { left: 10px; right: 10px; height: 1.8px; border-radius: 2px; background: #fff; }
.menu-btn .mb-lines span:first-child { top: 13px; }
.menu-btn .mb-lines span:last-child { top: 19px; left: 14px; }
.menu-btn.open .mb-lines { transform: rotate(180deg); }
.menu-btn.open .mb-lines span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn.open .mb-lines span:last-child { left: 10px; transform: translateY(-3px) rotate(-45deg); }
body.nav-light:not(.menu-open) .menu-btn { color: var(--ink); background: rgba(20,11,7,.06); border-color: rgba(20,11,7,.12); }
body.nav-light .menu-btn .mb-lines span { background: #fff; }
@media (max-width: 1100px) { .menu-btn { display: inline-flex; } }

@media (max-width: 640px) {
  .nav-actions .icon-btn, .nav-actions .nav-cta { display: none; }
  .nav-inner { height: 68px; }
  body.scrolled .nav { padding: 0 12px; }
  body.scrolled .nav-inner { height: 60px; padding: 0 7px 0 20px; background: linear-gradient(180deg, rgba(30,14,14,.78), rgba(12,8,8,.78)); border-color: rgba(255,255,255,.1); box-shadow: 0 14px 40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); }
  .logo-roll { height: 22px; }
}

/* Parte de abajo del menú: estado, botón y redes */
.mmenu-bottom { position: relative; display: grid; gap: 18px; }
.mmenu-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; opacity: 0; transition: opacity .4s; }
.mmenu-status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2ee66b; }
.mmenu-status i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2ee66b; animation: ring 1.8s ease-out infinite; }
.mmenu-cta { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 24px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 1.05rem; box-shadow: 0 16px 40px rgba(232,20,28,.35), inset 0 1px 0 rgba(255,255,255,.3); opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .8s var(--ease); }
.mmenu-cta b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--accent); }
.mmenu-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mmenu.open .mmenu-status { opacity: 1; transition-delay: .55s; }
.mmenu.open .mmenu-cta { opacity: 1; transform: none; transition-delay: .6s; }
.mmenu-foot { border-top: 0; padding-top: 0; }
.mb-txt { display: grid; height: 1.15em; line-height: 1.15; }
.mb-txt b, .mb-txt b + b { grid-area: 1 / 1; position: static; text-align: right; }
.mb-txt b + b { transform: translateY(120%); }

/* Servicios: espacio interno y relleno con esquinas suaves */
.srv { padding-inline: clamp(16px, 3vw, 40px); }
.srv::before { border-radius: 20px; }
.srv:hover h3 { transform: translateX(10px); }
@media (max-width: 640px) { .srv { padding-inline: 16px; gap: 14px; } .srv::before { border-radius: 16px; } }

/* Tracking más junto en Anton */
h1, h2, .hero-title, .h-xl, .h-md, .cta-title, .srv h3, .big-track span, .case-num, .stat strong, .quote-total strong, .cta-talk, .mmenu-links a, .scroll-words { letter-spacing: -.012em; }
.hero-title, .big-track span, .cta-talk, .case-num { letter-spacing: -.018em; }

/* ================= LIQUID GLASS ================= */
:root {
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 45%, rgba(255,255,255,.09) 100%);
  --glass-edge: rgba(255,255,255,.22);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(255,255,255,.08), inset 1px 0 0 rgba(255,255,255,.12), inset 0 0 22px rgba(255,255,255,.05), 0 12px 36px rgba(0,0,0,.38);
  --glass-blur: blur(22px) saturate(190%) brightness(1.08);
}
/* Barra flotante */
body.scrolled .nav-inner,
body.menu-open.scrolled .nav-inner {
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03) 50%, rgba(255,255,255,.07)), rgba(14,8,8,.34);
  border-color: var(--glass-edge);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
body.scrolled.nav-light:not(.menu-open) .nav-inner {
  background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.42) 50%, rgba(255,255,255,.6));
  border-color: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(20,11,7,.06), 0 12px 36px rgba(120,10,20,.16);
}
@media (max-width: 640px) {
  body.scrolled .nav-inner { background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03) 50%, rgba(255,255,255,.07)), rgba(14,8,8,.34); }
}
/* Pastilla de links */
.nav-links { background: var(--glass-bg); border-color: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 14px rgba(255,255,255,.04); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
body.nav-light .nav-links { background: rgba(255,255,255,.5); border-color: rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(120,10,20,.08); }

/* Botón de menú: círculo de vidrio, sin texto */
.menu-btn { width: 46px; height: 46px; padding: 0; justify-content: center; gap: 0; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.menu-btn:hover { background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.08)); }
.mb-lines { width: 20px; height: 14px; border-radius: 0; background: none; box-shadow: none; }
.menu-btn .mb-lines span { left: 0; right: 0; height: 2px; background: #fff; }
.menu-btn .mb-lines span:first-child { top: 3px; }
.menu-btn .mb-lines span:last-child { top: 9px; left: 6px; }
.menu-btn.open .mb-lines { transform: rotate(90deg); }
.menu-btn.open .mb-lines span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn.open .mb-lines span:last-child { left: 0; transform: translateY(-3px) rotate(-45deg); }
body.nav-light:not(.menu-open) .menu-btn { background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.95); box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(120,10,20,.12); }
body.nav-light:not(.menu-open) .menu-btn .mb-lines span { background: var(--ink); }

/* Ícono de WhatsApp del navbar en vidrio */
.nav-actions .icon-btn { background: var(--glass-bg); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }

/* Botón "Cotizar ahora" con brillo de vidrio */
.nav-cta, .mmenu-cta { position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 6px rgba(80,0,10,.35), 0 10px 28px rgba(232,20,28,.35); }

/* Botón del menú: vidrio rojo */
.mmenu-cta { background: linear-gradient(135deg, rgba(255,80,80,.9), rgba(217,11,26,.82) 50%, rgba(122,0,18,.85)); border: 1px solid rgba(255,255,255,.28); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.mmenu-cta b { background: rgba(255,255,255,.95); box-shadow: inset 0 -2px 4px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.2); }

/* Redes: solo íconos */
.mmenu-foot { gap: 26px; padding-left: 4px; }
.mmenu-foot .soc { width: auto; height: auto; background: none; border: 0; border-radius: 0; color: rgba(255,255,255,.85); }
.mmenu-foot .soc svg { width: 26px; height: 26px; }
.mmenu-foot .soc:hover, .mmenu-foot .soc:active { background: none; color: var(--accent-2); transform: translateY(-3px) scale(1.08); }

/* ================= NAVBAR: íconos sin círculo ================= */
.nav-actions .icon-btn, .menu-btn, body.nav-light:not(.menu-open) .menu-btn { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-btn { width: 40px; }
.menu-btn:hover { background: none; }
.menu-btn .mb-lines { width: 24px; }
.nav-actions .icon-btn svg { width: 21px; height: 21px; }
.nav-actions .icon-btn { color: rgba(255,247,242,.85); }

/* ================= HERRAMIENTAS: íconos 3D ================= */
.tools { overflow: hidden; }
.tools-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.tools-sub { color: var(--muted); max-width: 44ch; font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 26px; }
.tools-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; background: var(--glass-bg); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.tools-list i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }

.tools-stage { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; justify-self: center; }
.tools-orb { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255,60,60,.55), rgba(181,0,15,.25) 45%, transparent 70%); filter: blur(40px); }
.tool { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; container-type: inline-size; filter: blur(var(--b)); transform: translate3d(var(--mx, 0), var(--my, 0), 0); will-change: transform; }
.tile { --bgc: #001e36; --fg: #31a8ff; --edge: #000d18;
  position: relative; width: 100%; height: 100%; display: grid; place-items: center; border-radius: 24%;
  background: radial-gradient(120% 80% at 30% 0%, rgba(255,255,255,.2), transparent 55%), linear-gradient(160deg, color-mix(in srgb, var(--bgc) 80%, #fff 8%), var(--bgc));
  box-shadow: inset 0 1.6cqw 1.6cqw rgba(255,255,255,.28), inset 0 -4cqw 7cqw rgba(0,0,0,.5), inset 0 0 0 .8cqw rgba(255,255,255,.07),
    0 5cqw 0 var(--edge), 0 9cqw 6cqw rgba(0,0,0,.35), 0 22cqw 34cqw rgba(0,0,0,.55), 0 0 40cqw color-mix(in srgb, var(--fg) 28%, transparent);
  transform: rotate(var(--r)) perspective(400px) rotateX(10deg) rotateY(-8deg);
  animation: toolFloat 6s ease-in-out infinite; animation-delay: var(--dl);
}
.tile::after { content: ""; position: absolute; inset: 3% 8% 52%; border-radius: 40% 40% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0)); pointer-events: none; }
.tile b { font: 700 44cqw/1 "Inter", sans-serif; letter-spacing: -.03em; color: var(--fg); text-shadow: 0 0 8cqw color-mix(in srgb, var(--fg) 55%, transparent), 0 1cqw 0 rgba(0,0,0,.35); }
@keyframes toolFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7cqw; } }
.t-ps .tile { --bgc: #001e36; --fg: #31a8ff; --edge: #000a14; }
.t-ai .tile { --bgc: #330000; --fg: #ff9a00; --edge: #170000; }
.t-pr .tile { --bgc: #00005b; --fg: #9999ff; --edge: #00002a; }
.t-ae .tile { --bgc: #00005b; --fg: #d291ff; --edge: #00002a; }
.t-id .tile { --bgc: #49021f; --fg: #ff3366; --edge: #22000d; }
.t-ext .tile { --bgc: #00005b; --fg: #00e4bb; --edge: #00002a; }
.t-dv .tile { --bgc: #18181c; --fg: #ff6a3d; --edge: #050506; }
.dv { position: relative; width: 62%; aspect-ratio: 1; }
.dv span { position: absolute; width: 52%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen; filter: saturate(1.2); box-shadow: inset 0 1.5cqw 2cqw rgba(255,255,255,.4); }
.dv span:nth-child(1) { left: 24%; top: 2%; background: radial-gradient(circle at 35% 30%, #7fe3ff, #00a8e8 70%); }
.dv span:nth-child(2) { left: 2%; top: 42%; background: radial-gradient(circle at 35% 30%, #9cff9a, #2fbf4a 70%); }
.dv span:nth-child(3) { left: 46%; top: 42%; background: radial-gradient(circle at 35% 30%, #ffb08a, #ff3d2e 70%); }

@media (max-width: 900px) {
  .tools-grid { grid-template-columns: 1fr; }
  .tools-stage { max-width: 480px; }
}

/* ================= LIQUID GLASS EN TODA LA PÁGINA ================= */
.lglass, .btn.ghost, .chip, .stat, .quote-summary, .product {
  background: var(--glass-bg); border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(255,255,255,.05), inset 0 0 24px rgba(255,255,255,.035), 0 18px 44px rgba(0,0,0,.35);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.btn.ghost { color: var(--text); }
.btn.ghost:hover { background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08)); }
.chip:hover { color: #fff; }
.chip.active, .chip.on { background: var(--grad); border-color: rgba(255,255,255,.3); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 22px rgba(232,20,28,.35); }
.product:hover { border-color: rgba(255,255,255,.26); }
/* Brillos rojos detrás del vidrio para que se note el efecto */
#cotizar, #tienda, #herramientas { isolation: isolate; }
#cotizar::before, #tienda::before { content: ""; position: absolute; z-index: -1; width: min(60vw, 720px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232,20,28,.35), transparent 65%); filter: blur(30px); pointer-events: none; }
#cotizar::before { right: -10%; top: 20%; }
#tienda::before { left: -12%; top: 25%; }
.case-grid figcaption { background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }

/* ================= ÍCONOS 3D REPARTIDOS ================= */
.deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.section > .wrap { position: relative; z-index: 1; }
.deco .tool { width: var(--sz); }
.light .deco .tile { box-shadow: inset 0 1.6cqw 1.6cqw rgba(255,255,255,.28), inset 0 -4cqw 7cqw rgba(0,0,0,.5), inset 0 0 0 .8cqw rgba(255,255,255,.07), 0 5cqw 0 var(--edge), 0 9cqw 8cqw rgba(60,0,10,.25), 0 22cqw 34cqw rgba(120,0,20,.25); }
.hero .deco { z-index: 2; }
@media (max-width: 640px) {
  .deco .tool { width: calc(var(--sz) * .6); }
  .deco .m-hide { display: none; }
}

/* ================= MENÚ ABIERTO: solo logo y X ================= */
.nav-actions > :not(.menu-btn) { transition: opacity .35s, transform .5s var(--ease); }
body.menu-open .nav-actions > :not(.menu-btn) { opacity: 0; transform: translateY(-8px); pointer-events: none; }
body.menu-open .nav-links { opacity: 0; pointer-events: none; }

/* Partículas */
.mmenu-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1s .3s; }
.mmenu.open .mmenu-fx { opacity: 1; }

/* ================= BOTÓN COTIZAR: 3D liquid glass ================= */
.mmenu-bottom { gap: 30px; }
.mmenu-cta { position: relative; overflow: hidden; isolation: isolate; height: 76px; padding: 0 10px 0 26px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04)), rgba(40,4,8,.35);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -10px 22px rgba(255,40,50,.25), inset 0 0 0 1px rgba(255,255,255,.05),
    0 6px 0 rgba(110,0,14,.85), 0 22px 50px rgba(232,20,28,.45);
  backdrop-filter: blur(24px) saturate(200%); -webkit-backdrop-filter: blur(24px) saturate(200%);
}
.mc-liquid { position: absolute; z-index: -1; inset: -40% -10%; background:
  radial-gradient(40% 70% at 20% 60%, rgba(255,70,70,.95), transparent 70%),
  radial-gradient(35% 80% at 70% 40%, rgba(200,0,20,.9), transparent 70%),
  radial-gradient(30% 60% at 95% 70%, rgba(255,120,110,.7), transparent 70%);
  filter: blur(10px); animation: liquid 7s ease-in-out infinite alternate; }
@keyframes liquid { 0% { transform: translateX(-6%) rotate(0deg) scale(1); } 50% { transform: translateX(5%) rotate(4deg) scale(1.08); } 100% { transform: translateX(-2%) rotate(-3deg) scale(1.02); } }
.mc-shine { position: absolute; z-index: 1; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 3.6s 1.2s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0% { left: -40%; } 45%, 100% { left: 130%; } }
.mc-txt { position: relative; z-index: 2; display: grid; gap: 2px; text-shadow: 0 1px 8px rgba(80,0,10,.45); }
.mc-txt strong { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
.mc-txt small { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.78); }
.mmenu-cta .mc-ico { position: relative; z-index: 2; width: 56px; height: 56px; color: var(--accent-3);
  background: radial-gradient(circle at 35% 25%, #fff, #f3e9ea 60%, #d9c9cb);
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.12), inset 0 2px 2px #fff, 0 3px 0 rgba(120,0,15,.55), 0 10px 22px rgba(0,0,0,.35);
  transition: transform .6s var(--ease); }
.mmenu-cta .mc-ico svg { width: 20px; height: 20px; }
.mmenu-cta:hover .mc-ico, .mmenu-cta:active .mc-ico { transform: rotate(45deg) scale(1.06); }
.mmenu-cta:active { transform: translateY(3px); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -10px 22px rgba(255,40,50,.25), 0 3px 0 rgba(110,0,14,.85), 0 14px 34px rgba(232,20,28,.4); }
.mmenu-foot { padding: 4px 0 0 6px; gap: 30px; }

/* ================= FLECHAS PREMIUM: resorte + magnético ================= */
:root {
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);
}
/* Sin giros raros: el círculo solo crece con rebote */
.btn:hover .bi, .nav-cta:hover .bi { transform: none; }
.btn:hover .bi .ar, .nav-cta:hover .bi .ar { rotate: none; }
.bi { transition: transform .9s var(--spring), background .4s, box-shadow .4s; }
.btn:hover .bi, .nav-cta:hover .bi, .mmenu-cta:hover .mc-ico { scale: 1.12; }
.btn, .nav-cta { transition: transform .6s var(--spring), background-position .8s var(--ease), box-shadow .5s; }
/* La flecha sale disparada en diagonal y la nueva entra con rebote, un poco después */
.ar { transition: transform .55s cubic-bezier(.5, 0, .75, 0), opacity .3s; }
.ar2 { transform: translate(-130%, 130%) scale(.6); opacity: 0; }
.btn:hover .ar1, .nav-cta:hover .ar1, .cta-card:hover .ar1, .mmenu-cta:hover .ar1 { transform: translate(140%, -140%) scale(.6); opacity: 0; }
.btn:hover .ar2, .nav-cta:hover .ar2, .cta-card:hover .ar2, .mmenu-cta:hover .ar2 { transform: none; opacity: 1; transition: transform .8s var(--spring) .12s, opacity .25s .12s; }
/* Flecha grande de "Hablemos": sale a la derecha y entra desde la izquierda */
.cta-arrow-big .ar2 { transform: translateX(-140%); opacity: 0; }
.cta-card:hover .cta-arrow-big .ar1 { transform: translateX(140%); opacity: 0; }
.cta-card:hover .cta-arrow-big .ar2 { transform: none; opacity: 1; }
.cta-arrow-big { transition: transform .9s var(--spring), background .4s, color .4s, border-color .4s; }
/* Botón del menú */
.mmenu-cta .mc-ico { overflow: hidden; display: grid; place-items: center; transition: scale .9s var(--spring); }
.mmenu-cta:hover .mc-ico, .mmenu-cta:active .mc-ico { transform: none; }
.mmenu-cta .mc-ico .ar { width: 20px; height: 20px; }
/* Efecto magnético (lo mueve main.js) */
[data-magnet] { translate: var(--tx, 0) var(--ty, 0); transition: translate .5s var(--spring); }
[data-magnet] .bi { translate: var(--ix, 0) var(--iy, 0); transition: translate .5s var(--spring), transform .9s var(--spring), scale .9s var(--spring); }
@media (prefers-reduced-motion: reduce) { [data-magnet], [data-magnet] .bi { translate: none; } }

/* ================= NAVBAR: un solo borde, vidrio rojizo ================= */
.nav-links, body.nav-light .nav-links { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-links a:hover { background: rgba(255,255,255,.08); }
body.scrolled .nav-inner,
body.menu-open.scrolled .nav-inner {
  background: linear-gradient(135deg, rgba(255,90,90,.22), rgba(150,0,20,.12) 45%, rgba(255,60,60,.16)), rgba(28,6,8,.42);
  border-color: rgba(255,120,120,.32);
  box-shadow: inset 0 1px 0 rgba(255,190,190,.45), inset 0 -1px 0 rgba(255,80,80,.12), inset 0 0 26px rgba(255,40,50,.12), 0 14px 40px rgba(90,0,10,.45);
}
@media (max-width: 640px) {
  body.scrolled .nav-inner { background: linear-gradient(135deg, rgba(255,90,90,.22), rgba(150,0,20,.12) 45%, rgba(255,60,60,.16)), rgba(28,6,8,.42); }
}

/* ================= BOTÓN COTIZAR DEL MENÚ (limpio) ================= */
.mmenu-cta { height: auto; min-height: 84px; padding: 18px 30px 18px 30px; gap: 20px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,95,95,.92), rgba(220,14,28,.9) 48%, rgba(140,0,18,.92));
  border: 1px solid rgba(255,170,170,.45);
  box-shadow: inset 0 1.5px 0 rgba(255,220,220,.7), inset 0 -12px 24px rgba(90,0,10,.35), 0 18px 44px rgba(200,10,25,.4); }
.mmenu-cta::before { content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 999px 999px 40% 40% / 999px 999px 30% 30%; background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0)); pointer-events: none; }
.mc-txt { gap: 0; line-height: 1.2; }
.mc-txt strong { font-size: 1.12rem; line-height: 1.2; }
.mc-txt small { font-size: .8rem; line-height: 1.3; }
.mc-arrow { position: relative; flex: none; width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mmenu-cta:active { transform: scale(.98); }

/* ================= MENÚ: cortina doble ================= */
.mmenu-curtain, .mmenu-bg { clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.mmenu-curtain { position: absolute; inset: 0; background: var(--grad); }
.mmenu-bg { transition-delay: 0s; }
.mmenu.open .mmenu-curtain { clip-path: inset(0 0 0 0); transition-delay: 0s; }
.mmenu.open .mmenu-bg { clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease) .14s; }
.mmenu:not(.open) .mmenu-curtain { transition-delay: .12s; }
.mmenu-links a { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mmenu-links a span { transform: translateY(115%) rotate(5deg); transform-origin: 0 100%; transition: transform .45s var(--ease); }
.mmenu.open .mmenu-links a span { transform: none; transition: transform 1s var(--ease); transition-delay: calc(.42s + var(--i) * 70ms); }
.mmenu-links a::before { transition: opacity .3s; }
.mmenu.open .mmenu-links a::before { transition: opacity .6s; transition-delay: calc(.6s + var(--i) * 70ms); }
.mmenu-bottom { opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .5s var(--ease); }
.mmenu.open .mmenu-bottom { opacity: 1; transform: none; transition: opacity .7s .8s, transform 1s var(--ease) .8s; }
.mmenu.open .mmenu-cta, .mmenu-cta { opacity: 1; transform: none; transition: transform .3s; }
.mmenu.open .mmenu-foot, .mmenu-foot { opacity: 1; transform: none; }
.mmenu { transition: visibility 0s 1.1s; }
.mmenu-links a:hover span { transform: translateX(10px); transition-delay: 0s; transition-duration: .5s; }

/* ================= CASOS EN CELULAR: distribución ordenada ================= */
@media (max-width: 640px) {
  .case-grid figure:nth-child(5n+3) { grid-column: span 1; aspect-ratio: 1; }
  .case-grid figure:nth-child(5n+2), .case-grid figure:nth-child(5n+3) { aspect-ratio: 3 / 4; }
}

/* Evita que los brillos decorativos ensanchen la página en celular */
html { overflow-x: clip; }
#cotizar, #tienda { overflow-x: clip; }

/* ================= PANTALLA DE CARGA (nueva) ================= */
.loader { display: block; background: var(--bg); color: #fff; transition: transform 1.1s var(--ease); border-radius: 0; }
.loader.done { transform: translateY(-100%); border-radius: 0; }
.ld-red { position: fixed; inset: 0; z-index: 299; background: var(--grad); pointer-events: none; transition: transform 1.1s var(--ease) .14s; }
.ld-red.done { transform: translateY(-100%); }
.ld-glow { position: absolute; left: 50%; top: 50%; width: min(80vw, 720px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(232,20,28,.35), transparent 65%); filter: blur(40px); animation: ldPulse 2.4s ease-in-out infinite; }
@keyframes ldPulse { 50% { scale: 1.12; opacity: .7; } }
.ld-logo { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(64vw, 520px); animation: ldFocus 1.3s var(--ease) both; }
@keyframes ldFocus { from { filter: blur(18px); opacity: 0; scale: 1.08; } to { filter: none; opacity: 1; scale: 1; } }
.lg-load { width: 100%; height: auto; }
.lg-load use { animation: ldLetter 1.1s var(--ease) both; animation-delay: calc(.15s + var(--i) * 80ms); }
@keyframes ldLetter { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }
.loader.done .lg-load use { animation: none; transform: translateY(-30%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; transition-delay: calc(var(--i) * 40ms); }
.ld-foot { position: absolute; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); bottom: clamp(28px, 5vh, 52px); display: flex; justify-content: space-between; align-items: flex-end; }
.ld-tag { font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); animation: rise 1s .4s var(--ease) both; }
.ld-count { font-family: "Anton", sans-serif; font-size: clamp(3.4rem, 10vw, 8rem); line-height: .85; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ld-count small { font-size: .4em; margin-left: 4px; color: var(--accent-2); }
.ld-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.ld-bar i { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.loader-logo, .loader-line { display: none; }

/* ================= INICIO SIN 3D ================= */
.hero-3d { display: none; }

/* ================= NAVBAR: más angosto al bajar, sin vidrio en menú y footer ================= */
body.scrolled .nav-inner { max-width: min(940px, 100%); }
@media (max-width: 1100px) { body.scrolled .nav-inner { max-width: min(640px, 100%); } }
@media (max-width: 640px) { body.scrolled .nav { padding: 0 20px; } }
body.menu-open .nav-inner, body.menu-open.scrolled .nav-inner,
body.at-footer:not(.menu-open) .nav-inner, body.at-footer.scrolled .nav-inner {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}

/* ================= MENÚ: más aire y animación con desenfoque ================= */
.mmenu-curtain { display: none; }
.mmenu-bg { clip-path: none; opacity: 0; background: radial-gradient(70% 50% at 100% 100%, rgba(232,20,28,.32), transparent 70%), radial-gradient(60% 40% at 0% 0%, rgba(181,0,15,.22), transparent 70%), rgba(10,7,6,.9);
  backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: opacity .6s ease, backdrop-filter .8s ease, -webkit-backdrop-filter .8s ease; }
.mmenu.open .mmenu-bg { clip-path: none; opacity: 1; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transition: opacity .7s ease, backdrop-filter .9s ease, -webkit-backdrop-filter .9s ease; }
.mmenu { padding: 128px clamp(28px, 8vw, 64px) 40px; transition: visibility 0s .8s; }
.mmenu-links { gap: 6px; }
.mmenu-links a { font-size: clamp(2rem, 8.4vw, 3.6rem); line-height: 1.1; padding: 8px 0; gap: 16px; border-bottom-color: rgba(255,255,255,.06); }
.mmenu-links a span { transform: translateY(30%); filter: blur(14px); opacity: 0; transition: transform .45s var(--ease), filter .4s ease, opacity .35s ease; }
.mmenu.open .mmenu-links a span { transform: none; filter: blur(0); opacity: 1; transition: transform 1.1s var(--ease), filter .9s ease, opacity .8s ease; transition-delay: calc(.18s + var(--i) * 80ms); }
.mmenu-links a::before { filter: blur(6px); }
.mmenu.open .mmenu-links a::before { filter: none; }
.mmenu-bottom { display: grid; justify-items: center; gap: 30px; padding-top: 36px; filter: blur(10px); }
.mmenu.open .mmenu-bottom { filter: none; transition: opacity .8s .6s, transform 1s var(--ease) .6s, filter .8s .6s; }
.mmenu-cta { width: min(100%, 420px); min-height: 0; padding: 14px 22px 14px 24px; border-radius: 999px; }
.mc-txt strong { font-size: 1rem; }
.mc-txt small { font-size: .74rem; }
.mc-arrow { width: 20px; height: 20px; }
.mmenu-foot { justify-content: center; gap: 26px; padding: 0; }
.mmenu-foot .soc svg { width: 19px; height: 19px; }
.mmenu-foot .soc { color: rgba(255,255,255,.6); }
.mmenu-foot .soc:hover { color: #fff; transform: translateY(-2px); }

/* ================= MENOS PÍLDORAS CON BORDE ================= */
.pills { gap: 6px 0; }
.pills span { padding: 0; border: 0; border-radius: 0; background: none !important; font-size: .95rem; font-weight: 500; color: var(--text) !important; }
.pills span + span::before { content: "·"; margin: 0 10px; color: var(--accent); }
.pill-year { padding: 0; background: none; color: var(--accent-2); font-family: "Anton", sans-serif; font-size: 1.1rem; font-weight: 400; letter-spacing: .02em; }
.chip { border: 0 !important; }
.case-grid figcaption { border: 0; padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-weight: 600; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.badge { box-shadow: none; }

/* ================= FOTO "QUIÉN SOY": misma altura que el texto ================= */
.about { align-items: stretch; }
.about-photo { aspect-ratio: auto; height: 100%; min-height: 360px; }
@media (max-width: 700px) { .about-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; min-height: 0; } }

/* ================= TIENDA EN CARRUSEL ================= */
.shop { position: relative; margin-top: 10px; }
.products { display: flex !important; grid-template-columns: none !important; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; perspective: 1400px;
  padding: 40px calc(50% - min(170px, 39vw)) 50px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.products::-webkit-scrollbar { display: none; }
.products .product { --d: 0; --ad: 0; flex: 0 0 min(340px, 78vw); margin: 0 clamp(6px, 1.2vw, 14px); scroll-snap-align: center; cursor: pointer;
  transform: translateZ(calc(var(--ad) * -160px)) rotateY(calc(var(--d) * -24deg)) scale(calc(1 - var(--ad) * .08));
  filter: blur(calc(var(--ad) * 4px + var(--mb, 0px))) saturate(calc(1 - var(--ad) * .45));
  opacity: calc(1 - var(--ad) * .45);
  transition: box-shadow .6s, border-color .6s; }
.products .product.is-center { cursor: default; border-color: rgba(255,120,120,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 30px 80px rgba(232,20,28,.35), 0 0 0 1px rgba(255,90,90,.25); }
.shop-nav { position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: var(--glass-bg); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.35); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); transition: scale .5s var(--spring), background .3s; }
.shop-nav:hover { scale: 1.1; background: var(--grad); }
.shop-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.shop-nav.prev { left: clamp(0px, 4vw, 60px); }
.shop-nav.next { right: clamp(0px, 4vw, 60px); }
.shop-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.shop-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.2); cursor: pointer; transition: width .6s var(--spring), background .3s; }
.shop-dots button.on { width: 28px; background: var(--grad); }
@media (max-width: 640px) { .shop-nav { display: none; } }

/* Métodos de pago */
.pay { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; }
.pay-label { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pay-icons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; color: rgba(255,255,255,.75); }
.pm { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1; }
.pm-yape { font-size: 1.15rem; letter-spacing: -.04em; }
.pm-plin { font-style: italic; font-size: 1.15rem; }
.pm-visa { font-style: italic; font-weight: 900; font-size: 1.2rem; letter-spacing: .01em; }
.pm-pp { font-style: italic; }
.pm-mc { position: relative; width: 40px; height: 24px; }
.pm-mc i { position: absolute; top: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.75); }
.pm-mc i:first-child { left: 0; }
.pm-mc i:last-child { right: 0; background: rgba(255,255,255,.4); }
.pm-bank { font-size: .9rem; font-weight: 600; }
.pm-bank svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ================= FOOTER NUEVO ================= */
.footer { min-height: 0; display: block; border-top: 0; }
.footer-inner { display: grid; gap: clamp(56px, 8vw, 96px); padding: clamp(100px, 14vw, 170px) 0 32px; }
.ft-title { font-size: clamp(2.6rem, 7.4vw, 7rem); line-height: 1.02; max-width: 13ch; margin-bottom: 30px; }
.ft-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.ft-mail { font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.ft-mail:hover { color: var(--accent-2); border-color: var(--accent-2); }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1); }
.ft-col { display: grid; align-content: start; gap: 10px; }
.ft-col .label { margin-bottom: 6px; }
.ft-col a, .ft-col span { color: rgba(255,247,242,.8); font-size: .98rem; width: fit-content; transition: color .3s, translate .5s var(--spring); }
.ft-col a:hover { color: #fff; translate: 4px 0; }
.footer .pay { align-items: flex-start; margin-top: 0; }
.footer .pay-icons { justify-content: flex-start; }
.footer .giant { margin-top: 0; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: var(--muted); }
.ft-bottom i { font-style: normal; }
.ft-top { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.ft-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .5s var(--spring); }
.ft-top:hover svg { translate: 0 -4px; }
@media (max-width: 900px) { .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer-inner { padding-bottom: 100px; } .ft-bottom { flex-direction: column; align-items: flex-start; } }
.footer-inner { grid-template-columns: minmax(0, 1fr); }
/* En el footer: sin borde de vidrio, pero con un degradado suave detrás para que se lea */
.nav::before { content: ""; position: absolute; left: 0; right: 0; top: -60px; height: 150px; z-index: -1; background: linear-gradient(180deg, rgba(10,7,6,.95) 40%, rgba(10,7,6,0)); opacity: 0; transition: opacity .5s; pointer-events: none; }
body.at-footer:not(.menu-open) .nav::before { opacity: 1; }

/* Logos oficiales de pago (Visa, Mastercard, PayPal) en blanco */
.pm svg { fill: currentColor; display: block; }
.pm-visa svg { height: 18px; width: auto; }
.pm-mc2 svg { height: 24px; width: auto; }
.pm-pp2 { gap: 6px; font-style: italic; }
.pm-pp2 svg { height: 20px; width: auto; }
.products .product.is-center { filter: blur(var(--mb, 0px)); opacity: 1; }

/* ================= CARRUSEL DE TIENDA v2: siempre centrado ================= */
.products { --step: calc(min(340px, 78vw) * .86 + clamp(16px, 2vw, 30px)); --drag: 0px;
  display: grid !important; overflow: visible; scroll-snap-type: none; padding: 40px 0 50px; perspective: 1400px; touch-action: pan-y; user-select: none; }
.shop { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.products { -webkit-mask-image: none; mask-image: none; }
.shop-nav { z-index: 20; }
.products .product { --p: 0; --ap: 0; grid-area: 1 / 1; justify-self: center; width: min(340px, 78vw); margin: 0; flex: none;
  transform: translateX(calc(var(--p) * var(--step) + var(--drag))) translateZ(calc(var(--ap) * -160px)) rotateY(calc(var(--p) * -24deg)) scale(calc(1 - var(--ap) * .08));
  filter: blur(calc(var(--ap) * 4px)) saturate(calc(1 - var(--ap) * .45));
  opacity: calc(1 - var(--ap) * .45);
  transition: transform .9s var(--ease), filter .7s ease, opacity .7s ease, box-shadow .6s, border-color .6s; }
.products .product.is-center { filter: none; opacity: 1; }
.products.moving .product { filter: blur(calc(var(--ap) * 4px + 5px)) saturate(calc(1 - var(--ap) * .45)); }
.products.moving .product.is-center { filter: blur(2px); }
.products .product.far { opacity: 0; pointer-events: none; }
.products .product.jump { transition: none; }
.products.dragging .product { transition: filter .3s, opacity .3s; cursor: grabbing; }

/* ================= TODOS LOS BOTONES: estilo vidrio rojo (como "Cotizar mi proyecto") ================= */
.btn, .nav-cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,95,95,.95), rgba(220,14,28,.92) 48%, rgba(140,0,18,.95));
  border: 1px solid rgba(255,170,170,.45);
  box-shadow: inset 0 1.5px 0 rgba(255,220,220,.7), inset 0 -10px 20px rgba(90,0,10,.35), 0 14px 34px rgba(200,10,25,.32);
  color: #fff;
}
.btn::before, .nav-cta::before { content: ""; position: absolute; z-index: -1; inset: 1px 1px 50% 1px; border-radius: 999px 999px 40% 40% / 999px 999px 30% 30%; background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,0)); pointer-events: none; }
.btn:hover, .nav-cta:hover { background: linear-gradient(135deg, rgba(255,110,110,1), rgba(232,20,34,.95) 48%, rgba(150,0,20,.98)); box-shadow: inset 0 1.5px 0 rgba(255,225,225,.8), inset 0 -10px 20px rgba(90,0,10,.35), 0 18px 44px rgba(220,10,25,.45); }
.btn { padding: 15px 24px 15px 26px; }
.nav-cta { padding: 9px 16px 9px 18px; }
/* Botón secundario: mismo vidrio pero oscuro */
.btn.ghost { background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 50%, rgba(255,255,255,.08)); border-color: rgba(255,255,255,.24); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.4), inset 0 -10px 20px rgba(0,0,0,.25), 0 14px 34px rgba(0,0,0,.3); color: #fff; }
.btn.ghost:hover { background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.08)); color: #fff; }
.light .btn.ghost { color: var(--ink); background: rgba(20,11,7,.05); border-color: rgba(20,11,7,.15); box-shadow: inset 0 1.5px 0 #fff; }
/* Flecha sola, sin círculo blanco */
.bi, .btn.ghost .bi, .nav-cta .bi, .product .btn .bi { width: 20px; height: 20px; background: none !important; box-shadow: none !important; border-radius: 0; color: currentColor; scale: 1 !important; }
.bt { padding-right: 16px; }
.nav-cta .bt { padding-right: 10px; }
.ar, .nav-cta .ar, .product .btn .ar { width: 17px; height: 17px; stroke-width: 2.2; }

/* ================= BOTONES SIN MOVIMIENTO: solo se iluminan ================= */
.btn, .nav-cta, .btn:hover, .nav-cta:hover, .btn:active, .nav-cta:active { transform: none; translate: none !important; }
.btn .ar2, .nav-cta .ar2 { display: none; }
.btn .ar1, .nav-cta .ar1, .btn:hover .ar1, .nav-cta:hover .ar1 { transform: none !important; opacity: 1 !important; }
.btn .bi, .nav-cta .bi { translate: none !important; transform: none !important; }
.btn::after, .nav-cta::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 140% at 50% -20%, rgba(255,255,255,.35), transparent 55%); opacity: 0; transition: opacity .5s ease; }
.btn:hover::after, .nav-cta:hover::after { opacity: 1; }
.btn, .nav-cta { transition: box-shadow .5s ease, background .5s ease, border-color .5s ease; }
.btn:hover, .nav-cta:hover { border-color: rgba(255,200,200,.7); }
.btn.ghost::after { background: radial-gradient(120% 140% at 50% -20%, rgba(255,255,255,.22), transparent 55%); }

/* ================= ETIQUETA DEL CURSOR: vidrio negro con letras rojas ================= */
.cursor.big { height: 34px; padding: 0 15px; background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.02)), rgba(12,7,7,.72);
  border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 30px rgba(0,0,0,.45);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); }
.cursor.big .cursor-label { color: #ff4d55; font-weight: 700; letter-spacing: -.01em; max-width: 240px; }

/* ================= PUNTOS DEL CARRUSEL más fluidos ================= */
.shop-dots { gap: 10px; margin-top: 10px; }
.shop-dots button { position: relative; width: 8px; height: 8px; overflow: hidden; background: rgba(255,255,255,.18);
  transition: width .7s cubic-bezier(.22,1,.36,1), background .5s ease; }
.shop-dots button.on { width: 34px; background: rgba(255,255,255,.18); }
.shop-dots button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.shop-dots button.on::after { animation: dotFill 4s linear forwards; }
.shop-dots.paused button.on::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* ================= Sin cortes: el carrusel se difumina arriba y abajo también ================= */
.shop { padding: 20px 0 40px; margin-top: -10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 80%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 80%, transparent); mask-composite: intersect; }

/* ================= NAVBAR: transición premium con desenfoque ================= */
.nav-inner { transition: max-width 1.1s cubic-bezier(.22,1,.36,1), height .9s cubic-bezier(.22,1,.36,1), border-radius 1s cubic-bezier(.22,1,.36,1), padding .9s cubic-bezier(.22,1,.36,1),
  background .8s ease, border-color .8s ease, box-shadow .8s ease, backdrop-filter .8s ease, -webkit-backdrop-filter .8s ease, color .4s; }
.nav-inner.morph-in { animation: navIn 1s cubic-bezier(.22,1,.36,1); }
.nav-inner.morph-out { animation: navOut .9s cubic-bezier(.22,1,.36,1); }
@keyframes navIn {
  0% { filter: blur(10px); opacity: .35; transform: translateY(-14px) scale(1.04, .92); }
  55% { filter: blur(2px); opacity: 1; }
  100% { filter: none; opacity: 1; transform: none; }
}
@keyframes navOut {
  0% { filter: blur(8px); opacity: .4; transform: translateY(8px) scale(.97); }
  100% { filter: none; opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .nav-inner.morph-in, .nav-inner.morph-out { animation: none; } }

/* ================= TARJETA "HABLEMOS" premium ================= */
.cta2 { --mx: 70%; --my: 80%; min-height: clamp(440px, 72vh, 700px); border: 0; border-radius: clamp(28px, 4vw, 48px); color: var(--text);
  background: linear-gradient(160deg, #1a0c0c 0%, #0d0808 55%, #140707 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 120px -40px rgba(200,10,25,.55);
  transition: box-shadow 1s ease; }
/* Borde fino con degradado */
.cta2::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,140,140,.55), rgba(255,255,255,.08) 35%, rgba(255,255,255,.04) 60%, rgba(232,20,28,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .8s; }
.cta-fill, .cta-arrow-big, .cta-talk { display: none; }
/* Aurora roja que se mueve lento */
.cta-aura { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: .55; transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.22,1,.36,1); }
.cta-aura i { position: absolute; border-radius: 50%; }
.cta-aura i:nth-child(1) { width: 55%; aspect-ratio: 1; right: 0; bottom: 0; background: #e8141c; animation: aura1 14s ease-in-out infinite alternate; }
.cta-aura i:nth-child(2) { width: 40%; aspect-ratio: 1; right: 30%; bottom: 10%; background: #7a0012; animation: aura2 18s ease-in-out infinite alternate; }
.cta-aura i:nth-child(3) { width: 30%; aspect-ratio: 1; left: 5%; top: 5%; background: #ff4747; opacity: .5; animation: aura1 20s ease-in-out infinite alternate-reverse; }
@keyframes aura1 { to { transform: translate(-12%, -10%) scale(1.15); } }
@keyframes aura2 { to { transform: translate(14%, -8%) scale(.9); } }
.cta2:hover .cta-aura { opacity: .95; transform: scale(1.08); }
/* Luz que sigue al mouse */
.cta-spot { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .8s ease; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,120,120,.18), transparent 60%); }
.cta2:hover .cta-spot { opacity: 1; }
/* Grano fino tipo película */
.cta-grain { position: absolute; inset: 0; z-index: -1; opacity: .08; pointer-events: none; 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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cta2 .cta-top { padding: clamp(30px, 6vw, 84px) clamp(24px, 6vw, 84px) 0; }
.cta-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(18px, 3vw, 30px); font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,247,242,.7); }
.cta-kicker i { width: 26px; height: 1px; background: var(--grad); }
.cta2 .cta-title { font-size: clamp(2.6rem, 6.4vw, 6.4rem); max-width: 13ch; line-height: 1.02; }
.cta2 .cta-title em { font-style: normal; }
.cta2 .cta-sub { margin-top: 20px; max-width: 44ch; color: rgba(255,247,242,.66); font-weight: 500; }
.cta2 .cta-bottom { align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; padding: clamp(22px, 4vw, 44px) clamp(24px, 6vw, 84px) clamp(26px, 4.5vw, 54px); border-top: 1px solid rgba(255,255,255,.08); }
.cta-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; color: rgba(255,247,242,.72); }
.cta-points li { display: flex; align-items: center; gap: 10px; }
.cta-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent); }
.cta-go { display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 26px); margin-left: auto; }
.cta-roll { position: relative; display: inline-grid; overflow: hidden; padding-bottom: .06em; font-family: "Anton", sans-serif; font-size: clamp(3rem, 9vw, 8rem); line-height: 1; letter-spacing: -.015em; }
.cta-roll span { grid-area: 1 / 1; transition: transform .9s cubic-bezier(.22,1,.36,1), filter .7s ease, opacity .7s ease; }
.cta-roll span:first-child { background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.75)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-roll span:last-child { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(105%); filter: blur(10px); opacity: 0; }
.cta2:hover .cta-roll span:first-child { transform: translateY(-105%); filter: blur(10px); opacity: 0; }
.cta2:hover .cta-roll span:last-child { transform: none; filter: none; opacity: 1; }
.cta-arrow { width: clamp(38px, 5vw, 72px); height: auto; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .9s cubic-bezier(.22,1,.36,1), stroke .5s, filter .5s; }
.cta2:hover .cta-arrow { transform: translateX(12px); stroke: #ff4d55; filter: drop-shadow(0 0 14px rgba(232,20,28,.7)); }
.cta2:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 50px 140px -40px rgba(232,20,28,.75); }
.cta2:hover .cta-sub { color: rgba(255,247,242,.82); -webkit-text-fill-color: currentColor; }
@media (max-width: 640px) {
  .cta2 .cta-bottom { flex-direction: column; align-items: flex-start; }
  .cta-go { margin-left: 0; }
}

/* ================= NAVBAR v3: solo el fondo de vidrio aparece con desenfoque; el contenido queda nítido ================= */
:root { --ramp: cubic-bezier(.65, 0, .35, 1); }
.nav-inner.morph-in, .nav-inner.morph-out { animation: none; }
.nav-inner { isolation: isolate;
  transition: max-width 1.2s var(--ramp), height 1s var(--ramp), border-radius 1.1s var(--ramp), padding 1s var(--ramp), color .5s ease; }
body.scrolled .nav-inner, body.scrolled.nav-light .nav-inner, body.menu-open.scrolled .nav-inner, body.at-footer.scrolled .nav-inner {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav-inner::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,90,90,.22), rgba(150,0,20,.12) 45%, rgba(255,60,60,.16)), rgba(28,6,8,.42);
  border: 1px solid rgba(255,120,120,.32);
  box-shadow: inset 0 1px 0 rgba(255,190,190,.45), inset 0 -1px 0 rgba(255,80,80,.12), inset 0 0 26px rgba(255,40,50,.12), 0 14px 40px rgba(90,0,10,.45);
  backdrop-filter: blur(22px) saturate(190%); -webkit-backdrop-filter: blur(22px) saturate(190%);
  opacity: 0; transform: scale(.94, .8); filter: blur(10px);
  transition: opacity .9s var(--ramp), transform 1.1s var(--ramp), filter 1s var(--ramp), background .6s ease, border-color .6s ease; }
body.scrolled .nav-inner::after { opacity: 1; transform: none; filter: blur(0); }
body.scrolled.nav-light:not(.menu-open) .nav-inner::after { background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.45) 50%, rgba(255,255,255,.62)); border-color: rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 12px 36px rgba(120,10,20,.16); }
body.menu-open .nav-inner::after, body.at-footer .nav-inner::after { opacity: 0; transform: scale(.96); filter: blur(10px); }
.cta2:hover .cta-aura { opacity: .75; }
.cta-roll span:last-child { background: linear-gradient(180deg, #fff 20%, #ffd2d4); -webkit-background-clip: text; background-clip: text; filter: blur(10px) drop-shadow(0 0 0 transparent); }
.cta2:hover .cta-roll span:last-child { filter: drop-shadow(0 0 24px rgba(255,60,70,.55)); }
.cta2:hover .cta-arrow { stroke: #fff; }

/* ================= PÁGINA DE TIENDA ================= */
.see-shop { display: flex; justify-content: center; margin-top: 34px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; font-size: .9rem; font-weight: 600; color: rgba(255,247,242,.7); transition: color .3s; }
.back-link:hover { color: #fff; }
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shop-hero { padding-top: clamp(150px, 18vw, 220px); padding-bottom: 30px; overflow: clip; }
.shop-hero-glow { position: absolute; right: -10%; top: -20%; width: min(70vw, 820px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232,20,28,.4), transparent 65%); filter: blur(40px); pointer-events: none; }
.shop-title { font-size: clamp(3rem, 8vw, 7.4rem); line-height: 1.02; max-width: 12ch; }
.shop-title em { font-style: normal; }
.shop-sub { margin-top: 20px; max-width: 52ch; color: rgba(255,247,242,.7); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.shop-filters { justify-content: flex-start; margin: 36px 0 0; }
.shop-list { padding-top: 40px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.shop-item { display: flex; flex-direction: column; transition-delay: var(--d, 0ms); }
.shop-item .product-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-item .product-foot { margin-top: auto; }
.shop-item .btn.block { width: 100%; justify-content: center; margin-top: 6px; }
.cat-tag { position: absolute; z-index: 1; right: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: #fff; background: rgba(12,7,7,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.link-more { background: none; border: 0; padding: 0; color: #fff; font: 600 .9rem "Inter", sans-serif; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.35); transition: color .3s, border-color .3s; }
.link-more:hover { color: #ff6a70; border-color: #ff6a70; }
.shop-steps .steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.steps li { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--glass-bg); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 44px rgba(0,0,0,.3); }
.steps b { display: block; font-family: "Anton", sans-serif; font-weight: 400; font-size: 2.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.qa { display: grid; gap: 10px; margin: 34px 0 30px; max-width: 820px; }
.qa details { border-bottom: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.qa summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--accent-2); font-size: 1.4rem; line-height: 1; transition: transform .4s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin-top: 12px; max-width: 60ch; }
@media (max-width: 800px) { .shop-steps .steps { grid-template-columns: 1fr; } }
.shop-item[data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .5s, box-shadow .5s; }

/* Ventana de detalle */
.pmodal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(6,3,3,.55); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0);
  opacity: 0; visibility: hidden; transition: opacity .5s ease, backdrop-filter .6s ease, -webkit-backdrop-filter .6s ease, visibility 0s .6s; }
.pmodal.open { opacity: 1; visibility: visible; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: opacity .5s ease, backdrop-filter .6s ease, -webkit-backdrop-filter .6s ease; }
.pm-card { position: relative; width: min(940px, 100%); max-height: calc(100svh - 40px); overflow: auto; border-radius: 30px;
  background: linear-gradient(160deg, #1a0c0c, #0d0808 60%); border: 1px solid rgba(255,140,140,.25); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 120px rgba(0,0,0,.6);
  transform: translateY(30px) scale(.97); filter: blur(10px); transition: transform .8s cubic-bezier(.22,1,.36,1), filter .6s ease; }
.pmodal.open .pm-card { transform: none; filter: none; }
.pm-body { display: grid; grid-template-columns: 1fr 1.1fr; }
.pm-cover { position: relative; min-height: 360px; }
.pm-info { padding: clamp(24px, 4vw, 44px); display: grid; align-content: start; gap: 12px; }
.pm-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.pm-label { margin: 10px 0 0; }
.pm-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pm-list li { display: flex; gap: 10px; align-items: baseline; color: rgba(255,247,242,.85); }
.pm-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); translate: 0 -2px; }
.pm-format { color: rgba(255,247,242,.7); font-size: .92rem; }
.pm-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,.1); }
.pm-note { font-size: .82rem; color: var(--muted); }
.pm-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(12,7,7,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pm-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 720px) { .pm-body { grid-template-columns: 1fr; } .pm-cover { min-height: 220px; } }

/* ================= PÁGINA DE LINKS ================= */
.page-links { min-height: 100svh; }
.links-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.links-bg i { position: absolute; border-radius: 50%; filter: blur(80px); }
.links-bg i:nth-child(1) { width: 70vw; max-width: 700px; aspect-ratio: 1; right: -20%; top: -20%; background: rgba(232,20,28,.45); animation: aura1 16s ease-in-out infinite alternate; }
.links-bg i:nth-child(2) { width: 60vw; max-width: 600px; aspect-ratio: 1; left: -25%; bottom: -15%; background: rgba(122,0,18,.6); animation: aura2 20s ease-in-out infinite alternate; }
.links-bg i:nth-child(3) { width: 30vw; max-width: 300px; aspect-ratio: 1; left: 30%; top: 40%; background: rgba(255,71,71,.18); animation: aura1 24s ease-in-out infinite alternate-reverse; }
.links-wrap { width: min(520px, 100% - 40px); margin: 0 auto; padding: clamp(48px, 9vh, 90px) 0 40px; display: grid; gap: 30px; }
.links-head { display: grid; justify-items: center; text-align: center; gap: 16px; }
.links-avatar { width: 104px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: rgba(255,255,255,.75);
  background: radial-gradient(circle at 30% 25%, rgba(255,80,80,.7), transparent 60%), radial-gradient(circle at 75% 85%, rgba(122,0,18,.9), transparent 60%), #1a0b0b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 4px rgba(255,255,255,.06), 0 20px 50px rgba(200,10,25,.35); }
.links-logo { width: 150px; height: auto; color: #fff; }
.links-bio { color: rgba(255,247,242,.72); max-width: 34ch; }
.links-list { display: grid; gap: 12px; }
.link-btn { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 22px 16px 24px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.03) 50%, rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.35), inset 0 -10px 20px rgba(0,0,0,.2), 0 12px 30px rgba(0,0,0,.3);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); transition: box-shadow .5s ease, border-color .5s ease, background .5s ease; }
.link-btn.main { background: linear-gradient(135deg, rgba(255,95,95,.95), rgba(220,14,28,.92) 48%, rgba(140,0,18,.95)); border-color: rgba(255,170,170,.45); box-shadow: inset 0 1.5px 0 rgba(255,220,220,.7), inset 0 -10px 20px rgba(90,0,10,.35), 0 14px 34px rgba(200,10,25,.4); }
.link-btn::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(120% 140% at 50% -20%, rgba(255,255,255,.3), transparent 55%); opacity: 0; transition: opacity .5s ease; }
.link-btn:hover::after { opacity: 1; }
.link-btn:hover { border-color: rgba(255,200,200,.6); }
.lb-txt { display: grid; gap: 1px; line-height: 1.25; }
.lb-txt strong { font-size: 1.02rem; font-weight: 700; }
.lb-txt small { font-size: .8rem; color: rgba(255,255,255,.72); }
.lb-arrow { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.links-social { display: flex; justify-content: center; gap: 28px; }
.links-social a { color: rgba(255,255,255,.65); transition: color .3s; }
.links-social a:hover { color: #fff; }
.links-social svg { width: 21px; height: 21px; display: block; }
.links-social a[data-link="tiktok"] svg { fill: currentColor; }
.links-foot { text-align: center; font-size: .8rem; color: var(--muted); }
.links-foot i { font-style: normal; }
.links-foot a { color: rgba(255,255,255,.8); }

/* Logos de Yape y Plin (en blanco) */
.pm-yape2 svg { height: 30px; width: auto; fill: currentColor; }
.pm-plin2 img { height: 26px; width: auto; display: block; opacity: .85; }
.pm-yape2 svg { height: 42px; margin: -8px 0 -4px; }
.pm-plin2 img { height: 28px; }

/* ================= FOOTER NEGRO Y ELEGANTE ================= */
.footer { background: #050303; border-top: 1px solid rgba(255,255,255,.06); }
.footer-bg, .footer-video { display: none !important; }
.footer-inner { gap: clamp(40px, 6vw, 70px); padding: clamp(70px, 9vw, 110px) 0 30px; }
.ft-top-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 40px; }
.ft-logo { width: 120px; height: auto; color: #fff; }
.ft-tag { color: rgba(255,247,242,.55); font-size: .95rem; max-width: 40ch; }
.ft-top-row .ft-mail { justify-self: end; }
.ft-cols { border-top: 1px solid rgba(255,255,255,.07); padding-top: 44px; }
.ft-col .label { color: rgba(255,247,242,.4); }
.ft-col a, .ft-col span { color: rgba(255,247,242,.75); }
.footer .pay { padding-top: 34px; border-top: 1px solid rgba(255,255,255,.07); }
.footer .pay-icons { color: rgba(255,255,255,.55); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.07); color: rgba(255,247,242,.4); }
@media (max-width: 800px) { .ft-top-row { grid-template-columns: 1fr; } .ft-top-row .ft-mail { justify-self: start; } }
/* "Hablemos": sin rectángulo de fondo al pasar el mouse */
.cta-roll span:last-child { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; filter: blur(10px); }
.cta2:hover .cta-roll span:last-child { filter: none; text-shadow: 0 0 28px rgba(255,60,70,.65); }

/* ================= PANTALLA DE CARGA ESTILO VIDEOJUEGO ================= */
.loader.gl { display: block; background: transparent; transform: none !important; transition: none; overflow: hidden; }
.ld-red { display: none !important; }
.gl-slices { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(7, 1fr); }
.gl-slice { background: #070404; transition: transform 1s cubic-bezier(.76, 0, .24, 1), filter .8s ease; transition-delay: calc(var(--s) * 55ms); }
.loader.done .gl-slice { filter: blur(6px); }
.loader.done .gl-slice:nth-child(odd) { transform: translateX(-104%); }
.loader.done .gl-slice:nth-child(even) { transform: translateX(104%); }
.gl-stage { position: absolute; inset: 0; transition: opacity .5s ease, filter .6s ease, transform .9s cubic-bezier(.76,0,.24,1); }
.loader.done .gl-stage { opacity: 0; filter: blur(14px); transform: scale(1.06); }
/* Fondo vivo */
.gl-aura i { position: absolute; border-radius: 50%; filter: blur(90px); }
.gl-aura i:first-child { width: 60vw; aspect-ratio: 1; left: -10vw; bottom: -30vw; background: rgba(200,10,25,.45); animation: aura1 9s ease-in-out infinite alternate; }
.gl-aura i:last-child { width: 50vw; aspect-ratio: 1; right: -12vw; top: -25vw; background: rgba(120,0,40,.5); animation: aura2 11s ease-in-out infinite alternate; }
.gl-scan { position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px); animation: scanMove 8s linear infinite; }
@keyframes scanMove { to { background-position: 0 120px; } }
.gl-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.75) 100%); pointer-events: none; }
/* Esquinas tipo HUD */
.gl-corner { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(255,255,255,.5); animation: hudIn 1s cubic-bezier(.22,1,.36,1) both; }
.gl-corner.tl { left: 22px; top: 22px; border-top-width: 1.5px; border-left-width: 1.5px; }
.gl-corner.tr { right: 22px; top: 22px; border-top-width: 1.5px; border-right-width: 1.5px; }
.gl-corner.bl { left: 22px; bottom: 22px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.gl-corner.br { right: 22px; bottom: 22px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
@keyframes hudIn { from { opacity: 0; scale: 1.6; } }
.gl-hud { position: absolute; left: 60px; right: 60px; top: 28px; display: flex; justify-content: space-between; font: 600 .68rem/1 "Inter", sans-serif; letter-spacing: .3em; color: rgba(255,255,255,.55); animation: rise 1s .2s var(--ease) both; }
/* Logo con efecto RGB y escaneo */
.gl-logo { position: absolute; left: 50%; top: 46%; width: min(66vw, 560px); aspect-ratio: 1053.3 / 444.88; translate: -50% -50%; }
.gl-layer { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); animation: glReveal 1.4s .25s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes glReveal { to { clip-path: inset(0 0 0 0); } }
.gl-svg { width: 100%; height: auto; display: block; }
.gl-layer.base { color: #fff; filter: drop-shadow(0 0 30px rgba(255,40,60,.35)); }
.gl-layer.red { color: #ff2a3a; mix-blend-mode: screen; opacity: .75; animation: glReveal 1.4s .25s cubic-bezier(.76,0,.24,1) forwards, rgbR 3.2s 1.6s steps(1) infinite; }
.gl-layer.cyan { color: #22e4ff; mix-blend-mode: screen; opacity: .55; animation: glReveal 1.4s .25s cubic-bezier(.76,0,.24,1) forwards, rgbC 3.2s 1.6s steps(1) infinite; }
@keyframes rgbR { 0%, 86%, 100% { translate: -2px 0; } 88% { translate: -9px 2px; } 91% { translate: 6px -2px; } 94% { translate: -3px 0; } }
@keyframes rgbC { 0%, 86%, 100% { translate: 2px 0; } 88% { translate: 9px -2px; } 91% { translate: -6px 2px; } 94% { translate: 3px 0; } }
.gl-beam { position: absolute; top: -12%; bottom: -12%; left: 0; width: 2px; background: #fff; box-shadow: 0 0 18px 4px rgba(255,60,70,.9), 0 0 60px 10px rgba(255,30,50,.5); opacity: 0; animation: glBeam 1.4s .25s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes glBeam { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.loader.glitch .gl-layer.red { animation: none; translate: -14px 3px; }
.loader.glitch .gl-layer.cyan { animation: none; translate: 14px -3px; }
.loader.glitch .gl-logo { animation: glShake .38s steps(2) both; }
@keyframes glShake { 25% { transform: translate(4px, -2px) skewX(6deg); } 50% { transform: translate(-5px, 2px) skewX(-4deg); } 75% { transform: translate(2px, 1px); } }
/* Parte de abajo */
.gl-bottom { position: absolute; left: clamp(28px, 6vw, 70px); right: clamp(28px, 6vw, 70px); bottom: 64px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.gl-tip { max-width: 44ch; font-size: .88rem; color: rgba(255,255,255,.75); display: grid; gap: 6px; animation: rise 1s .4s var(--ease) both; }
.gl-tip b { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: #ff4d55; }
#glTip { transition: opacity .35s ease, filter .35s ease, transform .35s ease; }
#glTip.out { opacity: 0; filter: blur(6px); transform: translateY(6px); }
.gl-status { display: flex; align-items: center; gap: 12px; flex: none; animation: rise 1s .5s var(--ease) both; }
.gl-ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: #ff3b47; border-right-color: #ff3b47; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gl-load { font: 600 .7rem/1 "Inter", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.gl-num { font-family: "Anton", sans-serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: right; }
.gl-bar { position: absolute; left: clamp(28px, 6vw, 70px); right: clamp(28px, 6vw, 70px); bottom: 36px; display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; }
.gl-bar i { height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); transition: background .3s ease, box-shadow .3s ease; }
.gl-bar i.on { background: linear-gradient(90deg, #ff4747, #e8141c); box-shadow: 0 0 10px rgba(255,40,60,.7); }
@media (max-width: 640px) {
  .gl-hud { left: 40px; right: 40px; font-size: .58rem; letter-spacing: .22em; }
  .gl-bottom { flex-direction: column; align-items: flex-start; bottom: 60px; }
  .gl-status { align-self: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .gl-layer.red, .gl-layer.cyan { animation: glReveal .01s forwards; } .gl-scan { animation: none; } }

/* ================= SIN CORTES ENTRE SECCIONES ================= */
.round, .section.light { border-radius: clamp(28px, 4vw, 56px); }
.section.light + .section, .section.light + section { margin-top: 0; }
.footer { border-top: 0; }
.section.cta { padding-bottom: clamp(60px, 8vw, 110px); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -120px; height: 120px; background: linear-gradient(180deg, transparent, #050303); pointer-events: none; }

/* ================= FORMULARIO DE CONTACTO ================= */
.contact { overflow-x: clip; }
.contact::before { content: ""; position: absolute; z-index: -1; left: -15%; top: 10%; width: min(60vw, 700px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232,20,28,.28), transparent 65%); filter: blur(30px); pointer-events: none; }
.contact { isolation: isolate; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact-sub { margin-top: 18px; color: rgba(255,247,242,.7); max-width: 44ch; font-size: 1.05rem; }
.contact-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: rgba(255,247,242,.8); }
.contact-points li { display: flex; gap: 10px; align-items: center; }
.contact-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent); }
.cform { display: grid; gap: 16px; padding: clamp(22px, 3.4vw, 40px); border-radius: 30px;
  background: linear-gradient(140deg, rgba(255,255,255,.09), rgba(255,255,255,.02) 50%, rgba(255,255,255,.05)), rgba(16,9,9,.6);
  border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 30px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: grid; gap: 8px; }
.cf-field > span { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,247,242,.65); }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.35); color: #fff; font: 500 .98rem "Inter", sans-serif; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; }
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-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='%23ffffff' 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: 40px; }
.cf-field select option { background: #140b0b; color: #fff; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(255,255,255,.35); }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { border-color: rgba(255,90,100,.7); box-shadow: 0 0 0 4px rgba(232,20,28,.18); background: rgba(0,0,0,.5); }
.cf-field.bad input, .cf-field.bad textarea { border-color: #ff4d55; }
.cf-error { min-height: 1.2em; color: #ff6a70; font-size: .88rem; }
.cf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } .cf-actions .btn { width: 100%; justify-content: center; } }

/* ================= LOGO DE CARGA: más pequeño, 3D y neón ================= */
.gl-logo { width: min(46vw, 340px); top: 45%; perspective: 900px; }
.gl-tilt { position: absolute; inset: 0; transform-style: preserve-3d; animation: glTilt 6s ease-in-out infinite; }
@keyframes glTilt { 0%, 100% { transform: rotateX(14deg) rotateY(-18deg); } 50% { transform: rotateX(8deg) rotateY(18deg); } }
/* Volumen: capas apiladas que forman el grosor */
.gl-depth { color: hsl(355, 90%, calc(30% - var(--k) * 1.8%)); transform: translate3d(calc(var(--k) * .9px), calc(var(--k) * 1.1px), calc(var(--k) * -1px)); }
.gl-depth:first-child { filter: drop-shadow(0 18px 24px rgba(0,0,0,.7)); }
/* Cara frontal en neón */
.gl-layer.base { color: #fff4f5; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px #ff3b47) drop-shadow(0 0 22px #ff1a2a) drop-shadow(0 0 48px rgba(232,20,28,.8));
  animation: glReveal 1.4s .25s cubic-bezier(.76,0,.24,1) forwards, neonFlicker 4.5s 1.8s infinite; }
@keyframes neonFlicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .55; } }
.gl-layer.red, .gl-layer.cyan { opacity: .35; }
/* Tubo de neón bajo el logo */
.gl-neon { position: absolute; left: 6%; right: 6%; bottom: -26%; height: 3px; border-radius: 3px; background: #ff5a63;
  box-shadow: 0 0 6px #ff3b47, 0 0 16px #ff1a2a, 0 0 36px rgba(232,20,28,.9), 0 0 70px rgba(232,20,28,.5);
  transform: scaleX(0); animation: neonLine 1s 1.3s cubic-bezier(.22,1,.36,1) forwards, neonFlicker 4.5s 2.4s infinite; }
@keyframes neonLine { to { transform: scaleX(1); } }
.gl-neon::after { content: ""; position: absolute; left: 10%; right: 10%; top: 14px; height: 40px; background: radial-gradient(ellipse at center top, rgba(255,40,60,.35), transparent 70%); filter: blur(6px); }
@media (prefers-reduced-motion: reduce) { .gl-tilt { animation: none; transform: rotateX(10deg) rotateY(-12deg); } }

/* ================= SALIDA DE LA CARGA: difuminado + desenfoque ================= */
.loader.done .gl-slice { transform: none !important; filter: none; }
.loader.gl { transition: opacity 1.2s cubic-bezier(.65,0,.35,1), filter 1.2s cubic-bezier(.65,0,.35,1), backdrop-filter 1.2s ease; }
.loader.gl.done { opacity: 0; filter: blur(24px); pointer-events: none; }
.loader.gl.done .gl-stage { opacity: 1; filter: none; transform: scale(1.12); transition: transform 1.4s cubic-bezier(.65,0,.35,1); }
/* El inicio entra desenfocado y se aclara */
.js .hero { filter: blur(18px); opacity: .4; transform: scale(1.04); transition: filter 1.4s cubic-bezier(.65,0,.35,1), opacity 1.2s ease, transform 1.6s cubic-bezier(.22,1,.36,1); }
.ready-page .hero { filter: none; opacity: 1; transform: none; }
.js .nav { opacity: 0; filter: blur(8px); transition: opacity 1s ease .3s, filter 1s ease .3s, top .7s var(--ease), padding .7s var(--ease); }
.ready-page .nav { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) { .js .hero, .js .nav { filter: none; opacity: 1; transform: none; } }

/* ================= ANIMACIONES MÁS RÁPIDAS ================= */
.js [data-reveal] { transform: translateY(22px); transition: opacity .55s ease-out, transform .6s cubic-bezier(.22,1,.36,1); }
.wd > span { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.js [data-mask]::after { transition: transform .75s cubic-bezier(.65,0,.35,1); }
.js [data-mask] > * { transition: transform 1s cubic-bezier(.22,1,.36,1); }
.shop-item[data-reveal] { transition: opacity .55s ease-out, transform .6s cubic-bezier(.22,1,.36,1), border-color .5s, box-shadow .5s; }
.js .lg-giant:not(.in) use { transform: translateY(60%); }
.js .hero { transition: filter .8s cubic-bezier(.65,0,.35,1), opacity .7s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.loader.gl { transition: opacity .7s cubic-bezier(.65,0,.35,1), filter .7s cubic-bezier(.65,0,.35,1); }
.gl-layer, .gl-layer.base, .gl-layer.red, .gl-layer.cyan { animation-duration: .9s; animation-delay: .1s; }
.gl-beam { animation-duration: .9s; animation-delay: .1s; }
.gl-neon { animation-delay: .7s, 1.4s; }

/* ================= CELULARES: menos efectos pesados ================= */
@media (max-width: 768px), (hover: none) {
  /* Menos desenfoque de vidrio (es lo que más pesa en celulares) */
  .nav-inner::after, .mmenu-bg, .cform, .link-btn, .tools-list li, .shop-nav, .pm-close, .cat-tag,
  .btn, .nav-cta, .btn.ghost, .chip, .stat, .quote-summary, .product, .steps li, .cursor.big { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .nav-inner::after { background: linear-gradient(135deg, rgba(255,90,90,.2), rgba(150,0,20,.1) 45%, rgba(255,60,60,.14)), rgba(20,6,8,.88); }
  body.scrolled.nav-light:not(.menu-open) .nav-inner::after { background: rgba(255,255,255,.92); }
  .mmenu.open .mmenu-bg { background: radial-gradient(70% 50% at 100% 100%, rgba(232,20,28,.3), transparent 70%), rgba(10,7,6,.97); }
  .cform { background: rgba(22,12,12,.92); }
  .stat, .quote-summary, .product, .steps li { background: rgba(255,255,255,.05); }
  /* Brillos fijos en lugar de animados */
  .cta-aura i, .links-bg i, .gl-aura i, .footer-bg span, .hero-glow span { animation: none !important; }
  .cta-aura, .links-bg i, .gl-aura i { filter: blur(40px); }
  .cta-grain, .gl-scan { display: none; }
  /* Carrusel sin desenfoque (el desenfoque en movimiento pesa mucho) */
  .products .product, .products.moving .product, .products.moving .product.is-center { filter: none !important; }
  .products .product:not(.is-center) { opacity: .45; }
  /* Pantalla de carga más simple */
  .gl-depth:nth-child(even) { display: none; }
  .gl-layer.base { filter: drop-shadow(0 0 8px #ff3b47) drop-shadow(0 0 22px rgba(232,20,28,.8)); }
  .gl-tilt { animation-duration: 4s; }
  /* Entrada del inicio sin desenfoque (más ligera) */
  .js .hero { filter: none; transform: none; transition: opacity .5s ease; }
  .js .nav { filter: none; }
  .loader.gl.done { filter: none; }
  /* Menú: aparece más rápido */
  .mmenu.open .mmenu-links a span { transition-duration: .6s, .5s, .45s; transition-delay: calc(.08s + var(--i) * 45ms); filter: none; }
  .mmenu-links a span { filter: none; }
  .mmenu.open .mmenu-bottom { transition-delay: .3s, .3s, 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .wd > span, .js [data-mask] > * { transition: none; transform: none; opacity: 1; }
}

/* ================= LOGOS DE PAGO: siempre en una sola línea ================= */
.pay-icons { display: block; width: 100%; overflow: hidden; }
.pay-track { display: flex; width: max-content; margin: 0 auto; }
.footer .pay-track { margin: 0; }
.pay-set { display: flex; flex-wrap: nowrap; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; flex: none; }
.pay-set .pm { flex: none; }
.pay-set.dup { display: none; }
@media (max-width: 768px) {
  .pay-icons { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .pay-track, .footer .pay-track { margin: 0; animation: payRoll 16s linear infinite; }
  .pay-set.dup { display: flex; }
  .pay-set { gap: 26px; padding-right: 26px; }
  .footer .pay, .pay { align-items: stretch; }
  .pay-label { text-align: center; }
  .footer .pay-label { text-align: left; }
}
@keyframes payRoll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pay-track { animation: none; } }

/* ================= CASOS: el año nunca se corta ================= */
.case > *, .case-info > * { min-width: 0; }
.case-head h3 { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
.case-head .pill-year { flex: none; white-space: nowrap; }
@media (max-width: 980px) { .case { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .case-head { flex-direction: column; gap: 6px; }
  .case-head .pill-year { order: -1; font-size: 1rem; }
}
