/* Copy Center Jr. — Industrial Skeuomorphism (luz desde arriba-izquierda) */

:root {
  --chassis: #e0e5ec;
  --panel: #f0f2f5;
  --recess: #d1d9e6;
  --ink: #2d3436;
  --ink-2: #4a5568;
  --accent: #ff4757;
  --accent-fg: #fff;
  --shadow-c: #babecc;
  --hi: #fff;
  --deep: #a3b1c6;
  --charcoal: #2d3436;
  --slate: #2c3e50;
  --cyan: #00AEEF;
  --magenta: #EC008C;
  --yellow: #FFF200;
  --green: #22c55e;

  --sh-card: 8px 8px 16px var(--shadow-c), -8px -8px 16px var(--hi);
  --sh-float: 12px 12px 24px var(--shadow-c), -12px -12px 24px var(--hi), inset 1px 1px 0 rgba(255,255,255,.5);
  --sh-press: inset 6px 6px 12px var(--shadow-c), inset -6px -6px 12px var(--hi);
  --sh-rec: inset 4px 4px 8px var(--shadow-c), inset -4px -4px 8px var(--hi);
  --sh-sharp: 4px 4px 8px rgba(0,0,0,.15), -1px -1px 1px rgba(255,255,255,.8);
  --sh-red: 4px 4px 8px rgba(166,50,60,.4), -4px -4px 8px rgba(255,100,110,.4);
  --glow: 0 0 10px 2px rgba(255,71,87,.6);
  --ease: cubic-bezier(.175, .885, .32, 1.275);

  --gutter: 24px;
  --nav-h: 76px;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --screws:
    radial-gradient(circle at 12px 12px, rgba(0,0,0,.22) 2.5px, rgba(255,255,255,.75) 3px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 12px) 12px, rgba(0,0,0,.22) 2.5px, rgba(255,255,255,.75) 3px 4px, transparent 4.5px),
    radial-gradient(circle at 12px calc(100% - 12px), rgba(0,0,0,.22) 2.5px, rgba(255,255,255,.75) 3px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), rgba(0,0,0,.22) 2.5px, rgba(255,255,255,.75) 3px 4px, transparent 4.5px);
  --screws-dark:
    radial-gradient(circle at 12px 12px, #000 2.5px, rgba(255,255,255,.25) 3px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 12px) 12px, #000 2.5px, rgba(255,255,255,.25) 3px 4px, transparent 4.5px),
    radial-gradient(circle at 12px calc(100% - 12px), #000 2.5px, rgba(255,255,255,.25) 3px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #000 2.5px, rgba(255,255,255,.25) 3px 4px, transparent 4.5px);
  --carbon:
    linear-gradient(135deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0 / 8px 8px,
    linear-gradient(225deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0 / 8px 8px,
    linear-gradient(315deg, rgba(0,0,0,.35) 25%, transparent 25%) 4px 4px / 8px 8px,
    linear-gradient(45deg, rgba(0,0,0,.35) 25%, transparent 25%) 4px 4px / 8px 8px;
  --m-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  --m-drop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2.5s6.5 6.6 6.5 11.5a6.5 6.5 0 0 1-13 0C5.5 9.100 12 2.500 12 2.500z'/%3E%3C/svg%3E");
  --m-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 3v18M4.200 7.500l15.600 9M19.800 7.500l-15.600 9'/%3E%3C/svg%3E");
  --scan: linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,.25) 50%) 0 0 / 100% 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Inter', system-ui, sans-serif; font-weight: 500; font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--chassis); overflow-x: hidden; position: relative;
  background-image: radial-gradient(1200px 700px at 8% -5%, rgba(255,255,255,.75), transparent 60%);
  background-repeat: no-repeat;
}
/* Textura de plástico mate */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--noise); opacity: .22; mix-blend-mode: overlay;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--chassis), 0 0 0 4px var(--accent), var(--glow); }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.icon { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); }

/* ---------- Tipografía ---------- */
.h1 { font-size: clamp(2.6rem, 9vw, 4.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; filter: drop-shadow(0 1px 1px #fff); }
.h2 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; filter: drop-shadow(0 1px 0 #fff); }
.hl { color: var(--accent); }
.label {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2);
}
.label .icon { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.2; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 52ch; color: var(--ink-2); }


/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border-radius: 16px; text-decoration: none; font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase;
  background: var(--chassis); color: var(--ink); box-shadow: var(--sh-card);
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), color 150ms, filter 150ms;
}
.btn:hover { color: var(--accent); box-shadow: var(--sh-float); }
.btn:active { transform: translateY(2px); box-shadow: var(--sh-press); }
.btn--primary { background: var(--accent); color: var(--accent-fg); border: 1px solid rgba(255,255,255,.2); box-shadow: var(--sh-red); text-shadow: 0 1px 1px rgba(0,0,0,.2); }
.btn--primary:hover { color: #fff; filter: brightness(1.1); box-shadow: var(--sh-red); }
.btn--primary:active { box-shadow: inset 4px 4px 8px rgba(120,20,30,.5), inset -3px -3px 6px rgba(255,120,130,.4); }
.btn--sm { min-height: 44px; padding: 0 20px; border-radius: 12px; font-size: .78rem; }
.btn .icon { width: 1.35em; height: 1.35em; }
.btn--block { width: 100%; }

/* ---------- Ticker superior ---------- */
.ticker { background: var(--charcoal); color: var(--chassis); position: relative; overflow: hidden; box-shadow: inset 0 -2px 6px rgba(0,0,0,.5); }
.ticker::after { content: ''; position: absolute; inset: 0; background: var(--scan); pointer-events: none; opacity: .7; }
.ticker__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex: none; }
.ticker__item { display: flex; align-items: center; gap: 18px; padding: 9px 18px 9px 0; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: #cfd8e3; }
.ticker__item::after { content: ''; width: 11px; height: 11px; background: var(--accent); -webkit-mask: var(--m-spark) center / contain no-repeat; mask: var(--m-spark) center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--chassis); box-shadow: 0 6px 14px rgba(163,177,198,.55), 0 -1px 0 #fff inset; }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { width: 52px; height: 52px; border-radius: 50%; background: var(--chassis); box-shadow: var(--sh-float); display: grid; place-items: center; flex: none; }
.brand__mark img { width: 32px; height: 32px; object-fit: contain; }
.brand__name { font-weight: 800; letter-spacing: -.03em; line-height: 1; font-size: 1.15rem; filter: drop-shadow(0 1px 0 #fff); }
.brand__name small { display: block; font-family: var(--mono); font-weight: 700; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.nav__links { display: none; align-items: center; gap: 6px; }
.nav__links a:not(.btn) { text-decoration: none; font-family: var(--mono); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 12px 14px; border-radius: 12px; transition: all 200ms; }
.nav__links a:not(.btn):hover { color: var(--accent); box-shadow: var(--sh-rec); background: var(--chassis); }
.nav__links .btn { margin-left: 8px; }
.burger { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--chassis); box-shadow: var(--sh-card); transition: all 150ms var(--ease); }
.burger:active { transform: translateY(2px); box-shadow: var(--sh-press); }
.burger .i-close, .burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.burger[aria-expanded="true"] { box-shadow: var(--sh-press); color: var(--accent); }
.drawer { display: none; padding: 8px var(--gutter) 22px; background: var(--chassis); }
.drawer.is-open { display: grid; gap: 14px; animation: slide .2s ease-out; }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } }
.drawer a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; border-radius: 14px; text-decoration: none; background: var(--chassis); box-shadow: var(--sh-card); font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.drawer a:active { box-shadow: var(--sh-press); transform: translateY(2px); }
.drawer a.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--sh-red); }

/* ---------- Panel base (módulo atornillado) ---------- */
.panel { position: relative; background-color: var(--chassis); background-image: var(--screws); border-radius: 16px; box-shadow: var(--sh-card); }
.vents { position: absolute; top: 18px; right: 34px; display: flex; gap: 4px; }
.vents i { width: 4px; height: 24px; border-radius: 99px; background: var(--recess); box-shadow: inset 1px 1px 2px rgba(0,0,0,.2); }
.groove { height: 8px; border-radius: 99px; background: var(--recess); box-shadow: inset 0 1px 3px rgba(0,0,0,.2); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; position: relative; }
.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__copy { display: grid; gap: 24px; justify-items: start; }
.hero__badge { padding: 10px 18px; border-radius: 99px; box-shadow: var(--sh-rec); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px; width: 100%; }
.hero__cta .btn { width: 100%; }
.hero__specs { display: flex; flex-wrap: wrap; gap: 10px; }
.spec { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 8px; box-shadow: var(--sh-sharp); background: var(--panel); }

.fx { animation: rise .7s var(--ease) both; }
.fx:nth-child(2) { animation-delay: .08s; } .fx:nth-child(3) { animation-delay: .16s; } .fx:nth-child(4) { animation-delay: .24s; } .fx:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Equipo CSS */
.device { position: relative; max-width: 480px; margin-inline: auto; width: 100%; padding: 0 12px; transition: transform .5s var(--ease); }
.device:hover { transform: scale(1.02); }
.device__body { position: relative; border-radius: 28px; background: linear-gradient(145deg, #3a4246, #262c2f); padding: 18px; box-shadow: 18px 18px 36px #a9afbd, -14px -14px 30px #fff, inset 1px 1px 0 rgba(255,255,255,.18); }
.device__body::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--carbon); mix-blend-mode: overlay; pointer-events: none; }
.device__body::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--screws-dark); pointer-events: none; }
.device__sbtn { position: absolute; right: -6px; width: 6px; height: 46px; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #555e63, #2d3436); box-shadow: 2px 2px 3px rgba(0,0,0,.35); }
.device__sbtn:nth-of-type(1) { top: 70px; } .device__sbtn:nth-of-type(2) { top: 132px; }
.device__sbtn--l { right: auto; left: -6px; top: 100px; border-radius: 4px 0 0 4px; }
.device__top { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 14px; color: #9aa6b5; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; position: relative; z-index: 1; }
.device__top span { display: inline-flex; align-items: center; gap: 8px; }
.device__top .icon { width: 14px; height: 14px; color: var(--accent); stroke-width: 2.4; }
.screen { position: relative; z-index: 1; border-radius: 14px; background: #05080a; box-shadow: inset 0 0 28px rgba(0,0,0,.9), inset 3px 3px 10px rgba(0,0,0,.8); overflow: hidden; padding: 18px; color: #e0e5ec; border: 3px solid #12171a; }
.screen::after { content: ''; position: absolute; inset: 0; background: var(--scan); pointer-events: none; }
.screen__logo { display: grid; place-items: center; padding: 6px 0 16px; }
.screen__logo img { width: 42%; height: auto; filter: drop-shadow(0 0 14px rgba(0,174,239,.45)); }
.inks { display: grid; gap: 9px; }
.ink { display: grid; grid-template-columns: 22px 1fr 40px; align-items: center; gap: 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; color: #9aa6b5; }
.ink__bar { height: 9px; border-radius: 99px; background: #151b1f; box-shadow: inset 1px 1px 3px #000; overflow: hidden; }
.ink__bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--c); box-shadow: 0 0 8px var(--c); animation: fill 1.4s var(--ease) .4s both; }
@keyframes fill { from { width: 0; } }
.prompt { margin-top: 16px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: #7ee787; text-transform: uppercase; }
.prompt::after { content: '_'; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.device__slot { position: relative; z-index: 1; margin: 18px 10px 0; height: 12px; border-radius: 99px; background: #0b0f11; box-shadow: inset 0 3px 6px #000, 0 1px 0 rgba(255,255,255,.12); }
.device__paper { position: relative; z-index: 0; margin: -8px 28px 0; background: #fff; border-radius: 0 0 6px 6px; padding: 26px 18px 14px; text-align: center; box-shadow: 4px 6px 10px rgba(0,0,0,.2); transform: rotate(-1.2deg); transform-origin: top; animation: out 1s var(--ease) .8s both; }
.device__paper strong { display: block; font-family: var(--mono); font-size: 1.05rem; letter-spacing: .06em; }
.device__paper small { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
@keyframes out { from { transform: translateY(-46px) rotate(-1.2deg); opacity: 0; } }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; position: relative; }
.section__head { display: grid; gap: 14px; margin-bottom: 44px; justify-items: start; }
.section__head p { max-width: 52ch; color: var(--ink-2); }

/* ---------- Strip técnico oscuro ---------- */
.strip { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.strip::before { content: ''; position: absolute; inset: 0; background: var(--carbon); opacity: .5; mix-blend-mode: overlay; pointer-events: none; }
.strip__grid { display: grid; grid-template-columns: repeat(2, 1fr); position: relative; }
.stat { padding: 30px 12px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.stat b { display: block; font-family: var(--mono); font-size: clamp(2rem, 6vw, 3rem); font-weight: 500; line-height: 1; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.4); }
.stat b em { color: var(--accent); font-style: normal; }
.stat span { display: block; margin-top: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #a8b2d1; }

/* ---------- Servicios ---------- */
.cards { display: grid; gap: 28px; grid-template-columns: 1fr; }
.card { padding: 44px 28px 30px; display: flex; flex-direction: column; gap: 16px; transition: transform 300ms ease-out, box-shadow 300ms ease-out; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-float); }
.card__head { display: flex; align-items: center; gap: 16px; }
.card__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--chassis); box-shadow: var(--sh-float); color: var(--accent); transition: transform 200ms; flex: none; }
.card:hover .card__icon { transform: scale(1.1) rotate(12deg); }
.card__icon .icon { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; filter: drop-shadow(0 1px 0 #fff); }
.card__mod { position: absolute; top: 20px; left: 34px; font-family: var(--mono); font-size: .62rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); }
.card p { font-size: .98rem; color: var(--ink-2); }
.leds { display: grid; gap: 10px; padding: 14px 16px; border-radius: 12px; box-shadow: var(--sh-rec); }
.leds li { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 600; }
.leds li::before { content: ''; width: 16px; height: 16px; flex: none; background: var(--accent); -webkit-mask: var(--m-check) center / contain no-repeat; mask: var(--m-check) center / contain no-repeat; }
.card--wide .leds { grid-template-columns: 1fr; }
.card--dark { background-color: var(--charcoal); background-image: var(--screws-dark); color: #fff; justify-content: center; }
.card--dark h3 { color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); font-size: 1.7rem; }
.card--dark p { color: #cfd8e3; }
.card--dark .vents i { background: #1d2224; box-shadow: inset 1px 1px 2px #000; }
.card--dark .card__mod { color: #a8b2d1; }
.card--dark:hover { box-shadow: 14px 14px 28px var(--shadow-c), -12px -12px 24px #fff; }

/* ---------- Galería ---------- */
.gallery { background: var(--recess); box-shadow: inset 0 8px 14px rgba(163,177,198,.7), inset 0 -8px 14px rgba(255,255,255,.7); }
.gallery__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 20px; }
.gallery__title { display: grid; gap: 14px; }
.gallery__ctrl { display: flex; align-items: center; gap: 16px; }
.key { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--chassis); box-shadow: var(--sh-card); color: var(--ink); transition: all 150ms var(--ease); }
.key:hover { color: var(--accent); box-shadow: var(--sh-float); }
.key:active { transform: translateY(2px); box-shadow: var(--sh-press); }
.key .icon { width: 24px; height: 24px; }
.key--prev .icon { transform: scaleX(-1); }
.lcd { min-width: 96px; text-align: center; padding: 14px 12px; border-radius: 10px; background: #0b0f11; color: var(--accent); font-family: var(--mono); font-weight: 500; letter-spacing: .14em; text-shadow: 0 0 8px rgba(255,71,87,.8); box-shadow: inset 0 3px 8px #000, 0 1px 0 #fff; position: relative; overflow: hidden; }
.lcd::after { content: ''; position: absolute; inset: 0; background: var(--scan); }

.track { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 46px max(var(--gutter), calc((100vw - 72rem) / 2 + var(--gutter))) 56px; margin-inline: calc(50% - 50vw); scroll-padding-inline: max(var(--gutter), calc((100vw - 72rem) / 2 + var(--gutter))); scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.tile { flex: none; width: clamp(224px, 64vw, 292px); scroll-snap-align: start; position: relative; }
.tile:nth-child(odd) { --r: -1deg; } .tile:nth-child(even) { --r: 1deg; margin-top: 14px; }
.tile__btn { display: block; width: 100%; padding: 12px 12px 54px; position: relative; background: var(--panel); border-radius: 6px; box-shadow: var(--sh-card); transform: rotate(var(--r, 0deg)); transition: transform 300ms ease-out, box-shadow 300ms ease-out; text-align: left; }
.tile__btn:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--sh-float); }
.tile__btn::before { content: ''; position: absolute; z-index: 3; top: -13px; left: 50%; width: 84px; height: 26px; margin-left: -42px; background: rgba(240,242,245,.78); transform: rotate(var(--tape, -3deg)); box-shadow: 0 2px 4px rgba(0,0,0,.14), inset 0 0 0 1px rgba(255,255,255,.6); }
.tile:nth-child(even) .tile__btn { --tape: 3deg; }
.tile__img { display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 3px; background: #05080a; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.tile__btn img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.tile__tag { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) skewX(-8deg) rotate(-1deg); max-width: calc(100% - 20px); width: max-content; background: rgba(255,230,0,.55); padding: 5px 14px; font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; box-shadow: 0 2px 4px rgba(0,0,0,.12); color: var(--ink); text-align: center; }
.tile__zoom { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--chassis); box-shadow: var(--sh-sharp); color: var(--ink); }
.tile__zoom .icon { width: 18px; height: 18px; }
.gallery__hint { margin-top: -10px; }

dialog.lightbox { border: 0; background: var(--chassis); padding: 14px; width: min(94vw, 560px); max-height: 94vh; border-radius: 20px; box-shadow: 20px 20px 50px rgba(0,0,0,.5), inset 1px 1px 0 #fff; overflow: visible; color: var(--ink); }
dialog.lightbox::backdrop { background: rgba(20,24,26,.92); }
.lightbox__body { position: relative; display: grid; gap: 14px; max-height: calc(94vh - 28px); }
.lightbox__img { background: #05080a; border-radius: 10px; display: grid; place-items: center; overflow: hidden; box-shadow: var(--sh-rec); }
.lightbox__img img { max-width: 100%; max-height: calc(94vh - 150px); width: auto; height: auto; object-fit: contain; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox__cap { font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.lightbox__nav { display: flex; gap: 12px; }
.lightbox__nav .key { width: 46px; height: 46px; }
.lightbox__close { position: absolute; top: -34px; right: -8px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-red); }
.lightbox__close:active { transform: translateY(2px); }

/* ---------- Papeles (panel oscuro) ---------- */
.dark { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.dark::before { content: ''; position: absolute; inset: 0; background: var(--carbon); opacity: .45; mix-blend-mode: overlay; pointer-events: none; }
.dark .h2 { color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.dark .label { color: #a8b2d1; }
.dark .lead, .dark .section__head p { color: #cfd8e3; }
.paper__grid { display: grid; gap: 56px; position: relative; }
.keys { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 34px; }
.keycap { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 12px; background: linear-gradient(160deg, #eceff4, #cdd5e0); color: var(--ink); font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 0 #8996a8, 0 8px 14px rgba(0,0,0,.5), inset 1px 1px 0 #fff; transition: transform 150ms var(--ease), box-shadow 150ms var(--ease); }
.keycap:hover { transform: translateY(2px); box-shadow: 0 2px 0 #8996a8, 0 5px 10px rgba(0,0,0,.5), inset 1px 1px 0 #fff; }
.keycap i { width: 14px; height: 16px; flex: none; background: var(--accent); -webkit-mask: var(--m-drop) center / contain no-repeat; mask: var(--m-drop) center / contain no-repeat; }
.keycap:nth-child(3n+1) i { background: var(--cyan); }
.keycap:nth-child(3n+2) i { background: var(--magenta); }
.keycap:nth-child(3n) i { background: #e6d800; }
.paper__sell { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: #cfd8e3; }
.tag { font-family: var(--mono); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 8px; background: rgba(255,230,0,.9); color: var(--ink); transform: skewX(-8deg); box-shadow: 0 3px 6px rgba(0,0,0,.4); }
.sheets { display: flex; align-items: flex-end; gap: 16px; padding: 10px 6px 18px; }
.sheet { flex: none; display: flex; align-items: flex-end; justify-content: center; padding: 10px 4px; border-radius: 3px; background: #fff; color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; line-height: 1.1; width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); --u: min(10px, calc((100vw - 2 * var(--gutter) - 64px) / 41)); box-shadow: 6px 8px 14px rgba(0,0,0,.55); border-top: 5px solid var(--bar); }
.sheet--1 { --w: 8.5; --h: 11; --bar: #d1d9e6; } .sheet--2 { --w: 8.5; --h: 14; --bar: var(--yellow); }
.sheet--3 { --w: 11; --h: 17; --bar: var(--cyan); } .sheet--4 { --w: 13; --h: 19; --bar: var(--magenta); }
.sheets__cap { margin-top: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #a8b2d1; }

/* ---------- Trámites ---------- */
.tramites { display: grid; gap: 40px; align-items: center; padding: 40px 26px 34px; }
.tramites .h2 { margin: 14px 0 16px; }
.tramites p { color: var(--ink-2); max-width: 40ch; margin-bottom: 26px; }
.slots { display: grid; gap: 16px; }
.slot { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; box-shadow: var(--sh-rec); font-weight: 700; letter-spacing: -.01em; transition: box-shadow 200ms; }
.slot:hover { box-shadow: var(--sh-rec), 0 0 0 2px rgba(255,71,87,.5); }
.slot .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--chassis); box-shadow: var(--sh-sharp); color: var(--accent); flex: none; }
.slot .ic .icon { width: 22px; height: 22px; }
.slot small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; color: var(--ink-2); }

/* ---------- Ubicación ---------- */
.loc { display: grid; gap: 36px; }
.bezel { position: relative; border-radius: 24px; background: linear-gradient(145deg, #3a4246, #262c2f); padding: 16px; box-shadow: 16px 16px 32px var(--shadow-c), -12px -12px 24px #fff; min-height: 380px; display: flex; }
.bezel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--carbon); mix-blend-mode: overlay; pointer-events: none; }
.bezel::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--screws-dark); pointer-events: none; }
.bezel__screen { position: relative; flex: 1; border-radius: 12px; overflow: hidden; background: #05080a; box-shadow: inset 0 0 20px #000; border: 3px solid #12171a; min-height: 340px; }
.bezel__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bezel__label .icon { width: 14px; height: 14px; color: var(--accent); stroke-width: 2.4; }
.bezel__label { position: absolute; z-index: 2; bottom: 28px; left: 28px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px; background: rgba(5,8,10,.85); color: #cfd8e3; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.info { padding: 40px 28px 30px; display: flex; flex-direction: column; gap: 24px; }
.info h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; filter: drop-shadow(0 1px 0 #fff); }
.info__row { display: flex; gap: 16px; align-items: flex-start; }
.info__row .ic { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--chassis); box-shadow: var(--sh-float); color: var(--accent); }
.info__row .ic .icon { width: 24px; height: 24px; }
.info__row small { display: block; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }
.info__row strong { font-size: 1.15rem; font-weight: 700; line-height: 1.3; display: block; }
.info__row a { text-decoration: none; }
.info__row a:hover { color: var(--accent); }
.info__btns { display: grid; gap: 16px; margin-top: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: #fff; padding: 56px 0 120px; position: relative; overflow: hidden; margin-top: 64px; }
.footer::before { content: ''; position: absolute; inset: 0; background: var(--carbon); opacity: .45; mix-blend-mode: overlay; pointer-events: none; }
.footer .brand__mark { background: var(--chassis); }
.footer .brand__name { color: #fff; filter: none; }
.footer .brand__name small { color: #a8b2d1; }
.footer__row { display: grid; gap: 32px; position: relative; }
.footer__big { font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-top: 24px; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.4); }
.footer__meta { display: grid; gap: 12px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #cfd8e3; align-content: end; }
.footer__meta a { text-decoration: none; }
.footer__meta a:hover { color: var(--accent); }
.footer__leds { display: flex; gap: 6px; margin-top: 36px; position: relative; }
.footer__leds i { width: 44px; height: 10px; border-radius: 3px; box-shadow: inset 0 1px 2px rgba(255,255,255,.4), 0 2px 4px rgba(0,0,0,.5); }
.footer__leds i:nth-child(1) { background: var(--cyan); } .footer__leds i:nth-child(2) { background: var(--magenta); }
.footer__leds i:nth-child(3) { background: var(--yellow); } .footer__leds i:nth-child(4) { background: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #4ade80, #16a34a 75%); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); box-shadow: 8px 8px 16px rgba(0,0,0,.28), -3px -3px 8px rgba(255,255,255,.7), 0 0 14px 2px rgba(34,197,94,.55); transition: transform 150ms var(--ease), box-shadow 150ms var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
.wa-float:active { transform: translateY(2px); box-shadow: inset 4px 4px 8px rgba(0,0,0,.3), 0 0 10px rgba(34,197,94,.5); }
.wa-float .icon { width: 34px; height: 34px; }
.wa-float::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(34,197,94,.7); animation: ping 2.4s ease-out infinite; pointer-events: none; }
.wa-float__label { position: absolute; right: calc(100% + 16px); top: 50%; translate: 0 -50%; padding: 8px 14px; border-radius: 10px; background: var(--chassis); color: var(--ink); box-shadow: var(--sh-card); font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; display: none; }
@keyframes ping { 0% { transform: scale(.9); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .hero__cta .btn { width: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
  .card--wide .leds { grid-template-columns: 1fr 1fr; }
  .strip__grid { grid-template-columns: repeat(4, 1fr); }
  .stat:last-child { border-right: 0; }
  .wa-float__label { display: block; }
  .slots { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --gutter: 48px; --nav-h: 84px; }
  .hero { padding: 88px 0 112px; }
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .section { padding: 96px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .paper__grid { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
  .sheet { --u: 10.5px; }
  .tramites { grid-template-columns: 1fr 1.1fr; gap: 64px; padding: 56px 56px 48px; }
  .slots { grid-template-columns: 1fr; }
  .loc { grid-template-columns: 1.5fr 1fr; gap: 40px; }
  .bezel { min-height: 520px; }
  .footer__row { grid-template-columns: 1fr auto; }
  .tile { width: 292px; }
  .wa-float { right: 28px; bottom: 28px; width: 72px; height: 72px; }
}
@media (max-width: 639px) {
  .section { padding: 56px 0; }
  .card { padding: 44px 22px 26px; }
  .lightbox__close { right: -4px; }
  .vents { right: 28px; }
  .sheet { --u: min(10px, calc((100vw - 2 * var(--gutter) - 64px) / 41)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .wa-float::before, .fx, .ink__bar i, .device__paper, .prompt::after { animation: none !important; }
  * { transition-duration: .01ms !important; }
}
.footer .brand__mark { box-shadow: 0 4px 10px rgba(0,0,0,.5), inset 1px 1px 0 #fff; }

@media (min-width: 1024px) {
  .burger, .drawer { display: none !important; }
  .nav__links { display: flex; }
}

/* ---------- Precios ---------- */
.prices { display: grid; gap: 28px; }
.price { padding: 44px 28px 30px; display: flex; flex-direction: column; gap: 16px; transition: transform 300ms ease-out, box-shadow 300ms ease-out; }
.price:hover { transform: translateY(-4px); box-shadow: var(--sh-float); }
.price__head { display: flex; align-items: center; gap: 16px; }
.price__lcd { align-self: flex-start; display: inline-flex; align-items: baseline; gap: 14px; padding: 16px 24px; border-radius: 12px; background: #0b0f11; color: var(--accent); font-family: var(--mono); font-size: clamp(2.6rem, 8vw, 3.8rem); font-weight: 500; line-height: 1; text-shadow: 0 0 10px rgba(255,71,87,.7); box-shadow: inset 0 3px 8px #000, 0 1px 0 #fff; position: relative; overflow: hidden; }
.price__lcd::after { content: ''; position: absolute; inset: 0; background: var(--scan); pointer-events: none; }
.price__lcd small { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #a8b2d1; text-shadow: none; }
.prices__note { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; justify-content: space-between; }
.prices__note p { color: var(--ink-2); max-width: 52ch; }

/* ---------- Proceso ---------- */
.steps { position: relative; display: grid; gap: 22px; }
.pipe { display: none; }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
.step__node { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--chassis); box-shadow: var(--sh-float); display: grid; place-items: center; color: var(--accent); transition: transform 200ms var(--ease); }
.step:hover .step__node { transform: scale(1.08) rotate(8deg); }
.step__node .icon { width: 32px; height: 32px; }
.step__n { position: absolute; top: -4px; right: -8px; padding: 3px 8px; border-radius: 6px; background: var(--charcoal); color: #fff; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; box-shadow: var(--sh-sharp); }
.step h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; filter: drop-shadow(0 1px 0 #fff); }
.step p { font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
.process__foot { margin-top: 44px; padding: 20px 24px; border-radius: 14px; box-shadow: var(--sh-rec); display: flex; align-items: center; gap: 16px; font-weight: 600; }
.process__foot .icon { color: var(--accent); width: 28px; height: 28px; }

/* ---------- Diseño ---------- */
.design { display: grid; gap: 52px; align-items: center; }
.design .lead { margin: 16px 0 0; }
.dchips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 32px; }
.dchip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; box-shadow: var(--sh-rec); font-weight: 700; font-size: .95rem; }
.dchip .icon { color: var(--accent); width: 24px; height: 24px; }
.collage { position: relative; width: 100%; max-width: 460px; height: 440px; margin-inline: auto; }
.print { position: absolute; width: 46%; margin: 0; padding: 9px 9px 36px; background: var(--panel); border-radius: 4px; box-shadow: var(--sh-card); transition: transform 300ms ease-out; }
.print img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.print figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.print::before { content: ''; position: absolute; top: -12px; left: 50%; width: 70px; height: 24px; margin-left: -35px; background: rgba(255,230,0,.55); transform: skewX(-8deg) rotate(-2deg); box-shadow: 0 2px 4px rgba(0,0,0,.12); }
.print--1 { left: 0; top: 10px; transform: rotate(-5deg); }
.print--2 { right: 0; top: 0; transform: rotate(4deg); }
.print--3 { left: 27%; bottom: 0; transform: rotate(-1deg); z-index: 2; }
.print:hover { transform: rotate(0) translateY(-6px); z-index: 3; }

/* ---------- Reseñas y redes ---------- */
.reviews { display: grid; gap: 28px; }
.rev { padding: 46px 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.rev h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; filter: drop-shadow(0 1px 0 #fff); }
.rev p { color: var(--ink-2); max-width: 44ch; }
.rev .btn { align-self: flex-start; margin-top: auto; }
.socials { display: grid; gap: 16px; margin-top: 6px; }
.social { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; text-decoration: none; background: var(--chassis); box-shadow: var(--sh-card); transition: transform 150ms var(--ease), box-shadow 150ms var(--ease); }
.social:hover { box-shadow: var(--sh-float); }
.social:active { transform: translateY(2px); box-shadow: var(--sh-press); }
.social .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--chassis); box-shadow: var(--sh-float); color: var(--accent); flex: none; }
.social .ic .icon { width: 26px; height: 26px; }
.social b { display: block; font-size: 1.05rem; letter-spacing: -.01em; }
.social small { display: block; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.social > .icon:last-child { margin-left: auto; color: var(--ink-2); width: 22px; height: 22px; }
.footer__social { display: flex; gap: 14px; margin-top: 6px; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #3a4246; box-shadow: 4px 4px 8px rgba(0,0,0,.45), -2px -2px 6px rgba(255,255,255,.06), inset 1px 1px 0 rgba(255,255,255,.12); transition: all 150ms var(--ease); }
.footer__social a:hover { color: var(--accent); transform: translateY(-2px); }
.footer__social a:active { transform: translateY(2px); box-shadow: inset 3px 3px 6px rgba(0,0,0,.5); }
.footer__social .icon { width: 22px; height: 22px; }

@media (min-width: 640px) {
  .prices { grid-template-columns: 1fr 1fr; }
  .dchips { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: start; }
  .pipe { display: block; position: absolute; top: 32px; left: 10%; right: 10%; height: 12px; border-radius: 99px; background: var(--recess); box-shadow: inset 0 1px 3px rgba(0,0,0,.25); }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .step__node { width: 84px; height: 84px; }
  .design { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .collage { height: 500px; max-width: 500px; }
  .dchips { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1.2fr 1fr; gap: 32px; }
}
@media (max-width: 639px) {
  .collage { height: 400px; }
}
