/* Base */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Concepto: liquid glass sobre luces rojas en movimiento. Paneles translúcidos muy redondeados con brillo especular que sigue al cursor. */
:root {
  --bg: #070708;
  --fg: #f6f2f0;
  --muted: #bdb5b2;
  --red: #ff2a1f;
  --red-soft: #ff6a58;
  --red-deep: #7a0b08;
  --glass-1: rgba(255, 255, 255, 0.11);
  --glass-2: rgba(255, 255, 255, 0.035);
  --glass-edge: rgba(255, 255, 255, 0.2);
  --glass-hi: rgba(255, 255, 255, 0.34);
  --r-xl: 32px;
  --r-lg: 26px;
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 40px;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.wrap { position: relative; z-index: 1; max-width: 1200px; margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 3px; border-radius: 12px; }
.grad { background: linear-gradient(100deg, #ff8a78, var(--red) 55%, #d4150c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fade { background: linear-gradient(180deg, #fff 30%, #c9bfbc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad .w { background: linear-gradient(100deg, #ff8a78, var(--red) 55%, #d4150c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fade .w { background: linear-gradient(180deg, #fff 30%, #c9bfbc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* fondo de luces */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
.b1 { width: 52vmax; height: 52vmax; left: -14vmax; top: -16vmax; background: radial-gradient(circle at 40% 40%, var(--red), var(--red-deep) 70%); animation: drift1 22s ease-in-out infinite alternate; }
.b2 { width: 44vmax; height: 44vmax; right: -16vmax; top: 24vh; background: radial-gradient(circle at 50% 50%, #ff4a2e, #5a0907 72%); animation: drift2 26s ease-in-out infinite alternate; opacity: .7; }
.b3 { width: 40vmax; height: 40vmax; left: 20vw; bottom: -22vmax; background: radial-gradient(circle at 50% 50%, #b3100a, transparent 72%); animation: drift3 30s ease-in-out infinite alternate; opacity: .8; }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, transparent 30%, rgba(7, 7, 8, .55) 100%); }

/* vidrio líquido */
.glass { position: relative; isolation: isolate; border-radius: var(--r-xl); border: 1px solid var(--glass-edge);
  background: linear-gradient(135deg, var(--glass-1), var(--glass-2));
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 -1px 0 rgba(255, 255, 255, 0.06), inset 0 0 40px rgba(255, 255, 255, 0.03), 0 24px 70px -28px rgba(0, 0, 0, 0.8); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, 0.2), transparent 62%); opacity: .0; transition: opacity .35s; }
.glass:hover::before { opacity: 1; }
.glass::after { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; z-index: 1; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent); opacity: .7; }
.tilt { transition: transform .25s ease-out; will-change: transform; }

.progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red-deep), var(--red-soft)); border-radius: 0 3px 3px 0; }

/* barra flotante */
.top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 50; margin-top: 12px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 18px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap; }
.brand img { height: 28px; width: auto; display: block; }
.brand sup { font-size: 22px; line-height: 0; font-weight: 700; color: var(--red-soft); margin-left: 2px; vertical-align: baseline; position: relative; top: -7px; text-shadow: 0 0 14px rgba(255, 42, 31, 0.7); }
.links { display: flex; align-items: center; gap: 2px; }
.links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; font: 600 15px var(--font-display); letter-spacing: -0.01em; color: #fff; text-decoration: none; cursor: pointer; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(180deg, #ff5a49, var(--red) 55%, #d4150c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -8px 16px rgba(120, 8, 4, 0.35), 0 14px 40px -10px rgba(255, 42, 31, 0.75);
  transition: transform .2s ease-out, box-shadow .2s; will-change: transform; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 38%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent); transform: skewX(-20deg); }
.btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -8px 16px rgba(120, 8, 4, 0.35), 0 20px 50px -10px rgba(255, 42, 31, 0.95); }
.btn:hover::after { animation: shine .75s; }
.btn.sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn.ghost { color: var(--fg); background: linear-gradient(135deg, var(--glass-1), var(--glass-2)); border-color: var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-hi), 0 14px 40px -20px rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }

/* hero */
.hero { text-align: center; display: grid; justify-items: center; padding-block: 72px 36px; }
.orb { position: relative; width: clamp(150px, 19vw, 200px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; animation: floaty 6s ease-in-out infinite;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.02) 70%);
  border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -20px 40px rgba(255, 42, 31, 0.25), 0 40px 90px -20px rgba(255, 42, 31, 0.7); }
.orb::before, .orb::after { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); animation: ring 4.5s ease-out infinite; }
.orb::after { animation-delay: 2.2s; }
.orb img { width: 46%; height: auto; display: block; transition: transform .25s ease-out; filter: drop-shadow(0 10px 20px rgba(120, 8, 4, 0.55)); }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; padding: 9px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #ffd9d4; animation: rise .8s .15s both; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.6s ease-in-out infinite; }
.hero h1 { margin-top: 26px; font-size: clamp(42px, 8.4vw, 108px); font-weight: 800; line-height: 1; max-width: 12ch; }
.hero h1 .w { display: inline-block; animation: wordin .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 90ms + 250ms); }
.lede { margin-top: 26px; max-width: 54ch; font-size: clamp(17px, 2vw, 20px); color: var(--muted); animation: rise .9s .8s both; }
.cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; animation: rise .9s 1s both; }
.chips { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 860px; animation: rise 1s 1.15s both; }
.chip { padding: 22px 20px; border-radius: var(--r-lg); display: grid; gap: 2px; }
.chip b { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.04em; }
.chip span { color: var(--muted); font-size: 14px; }

/* cinta */
.tape { margin-top: 64px; overflow: hidden; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tape-track { display: flex; gap: 12px; width: max-content; animation: marquee 36s linear infinite; padding-block: 4px; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-track span { padding: 12px 24px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 16px; white-space: nowrap; border: 1px solid var(--glass-edge); background: linear-gradient(135deg, var(--glass-1), var(--glass-2)); box-shadow: inset 0 1px 0 var(--glass-hi); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* secciones */
section { padding-block: 84px 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #ffd9d4; margin-bottom: 20px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(36px, 5.6vw, 70px); font-weight: 800; }
.sec-head p { color: var(--muted); max-width: 46ch; }

@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
@keyframes reveal { from { opacity: 0.1; transform: translateY(44px) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* quiénes somos */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.story { grid-column: span 7; padding: 38px; display: grid; gap: 18px; align-content: center; color: var(--muted); font-size: 18px; min-width: 0; }
.story b { color: var(--fg); font-weight: 600; }
.years { grid-column: span 5; padding: 34px 38px; display: grid; align-content: center; min-width: 0; background: radial-gradient(circle at 100% 0, rgba(255, 42, 31, 0.4), transparent 60%), linear-gradient(135deg, var(--glass-1), var(--glass-2)); }
.years b { font-family: var(--font-display); font-weight: 800; font-size: clamp(86px, 12vw, 150px); line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.years span { color: var(--muted); margin-top: 6px; }
.pt { grid-column: span 3; padding: 26px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.pt h3 { font-size: 20px; letter-spacing: -0.02em; }
.pt p { color: var(--muted); font-size: 15px; }
.dot { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px; background: linear-gradient(180deg, #ff5a49, var(--red)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 24px -8px rgba(255, 42, 31, 0.8); }
.dot svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* servicios */
.svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc { padding: 34px 30px 30px; display: grid; gap: 14px; align-content: start; min-height: 340px; min-width: 0; }
.svc .dot { width: 58px; height: 58px; border-radius: 20px; margin-bottom: 18px; }
.svc .dot svg { width: 28px; height: 28px; }
.svc h3 { font-size: clamp(26px, 3vw, 34px); }
.svc p { color: var(--muted); }
.svc .more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #ffd9d4; }
.svc .more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.svc:hover .more svg { transform: translateX(6px); }

/* calidad */
.res { padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.res h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.res .lead { margin-top: 18px; color: var(--muted); max-width: 42ch; }
.rows { margin-top: 28px; display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.row b { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; }
.row span { color: var(--muted); font-size: 15px; }
.row em { font-style: normal; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.row.top8 { border-color: rgba(255, 90, 72, 0.5); background: rgba(255, 42, 31, 0.12); }
.row.top8 b { color: var(--red-soft); }
.rframe { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.12); }
.rbox { position: absolute; left: 0; top: 0; aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid; transform-origin: 0 0; transform: scale(.001); transition: transform 1.1s cubic-bezier(.2, .9, .2, 1); }
.rbox span { position: absolute; right: 12px; bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: 12px; }
.rbox.hd { width: 25%; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.14); color: #fff; z-index: 3; transition-delay: .55s; }
.rbox.k4 { width: 50%; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); color: #f1e8e5; z-index: 2; transition-delay: .3s; }
.rbox.k8 { width: 100%; border-color: rgba(255, 106, 88, 0.7); background: linear-gradient(135deg, rgba(255, 42, 31, 0.28), rgba(255, 42, 31, 0.06)); color: var(--red-soft); z-index: 1; }
.rframe.on .rbox { transform: none; }

/* presentación */
.pres { padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.pres h2 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 800; }
.pres p { margin-top: 18px; color: var(--muted); max-width: 40ch; }
.pres .cta { justify-content: flex-start; margin-top: 28px; animation: none; }
.player { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.18); background: radial-gradient(70% 90% at 70% 20%, rgba(255, 42, 31, 0.6), transparent 70%), radial-gradient(60% 80% at 10% 90%, rgba(122, 11, 8, 0.8), transparent 70%), #0d0707; box-shadow: inset 0 1px 0 var(--glass-hi); }
.play { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.5); background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 20px 50px -10px rgba(255, 42, 31, 0.8); transition: transform .3s; }
.play::before { content: ""; position: absolute; width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); animation: ring2 2.6s ease-out infinite; }
.play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.player:hover .play { transform: scale(1.1); }
.player small { position: absolute; left: 18px; bottom: 14px; font-weight: 600; font-size: 13px; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.9); }

/* trabajos */
.works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.work { display: grid; gap: 14px; padding: 12px 12px 18px; text-decoration: none; min-width: 0; }
.thumb { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); display: grid; place-items: center; }
.thumb i { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.work:hover .thumb i { transform: scale(1.1); }
.t1 i { background: radial-gradient(60% 80% at 75% 25%, #ff5a49, transparent 70%), linear-gradient(135deg, #1a0707, #6b0e09); }
.t2 i { background: radial-gradient(70% 70% at 20% 30%, #ff7a5c, transparent 70%), linear-gradient(160deg, #190909, #4a0a07); }
.t3 i { background: radial-gradient(60% 80% at 60% 80%, #ff3b2a, transparent 70%), linear-gradient(120deg, #120606, #7a0b08); }
.t4 i { background: radial-gradient(70% 70% at 80% 70%, #ff6a58, transparent 70%), linear-gradient(200deg, #1c0808, #580a07); }
.thumb .play { width: 68px; height: 68px; position: relative; }
.thumb .play::before { width: 68px; height: 68px; }
.thumb .play svg { width: 20px; height: 20px; }
.thumb small { position: absolute; z-index: 2; left: 14px; top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.work .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 6px; }
.work h3 { font-size: clamp(17px, 1.8vw, 21px); letter-spacing: -0.03em; line-height: 1.12; }
.work .go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--glass-edge); background: rgba(255, 255, 255, 0.08); transition: background .25s, transform .25s; }
.work .go svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.work:hover .go { background: var(--red); transform: rotate(45deg); }
.works-foot { margin-top: 28px; display: flex; justify-content: center; }

/* proceso */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: 60px; line-height: 1; letter-spacing: -0.06em; }
.step h3 { font-size: 24px; letter-spacing: -0.03em; }
.step p { color: var(--muted); font-size: 16px; }

/* contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.cinfo { padding: 40px; display: grid; gap: 22px; min-width: 0; }
.cinfo h2 { font-size: clamp(38px, 5.2vw, 66px); font-weight: 800; }
.cinfo > p { color: var(--muted); max-width: 40ch; }
.data { display: grid; gap: 10px; margin-top: 4px; }
.drow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); text-decoration: none; color: inherit; transition: background .25s, border-color .25s, transform .25s; }
a.drow:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 106, 88, 0.6); transform: translateY(-2px); }
.open { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font: 600 13px var(--font-display); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); background: linear-gradient(180deg, #ff5a49, var(--red) 60%, #d4150c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 22px -8px rgba(255, 42, 31, 0.8); white-space: nowrap; }
.open svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
a.drow:hover .open svg { transform: translate(3px, -3px); }
.drow .dot { width: 44px; height: 44px; border-radius: 15px; margin: 0; }
.drow small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.drow .v { font-weight: 500; font-size: 15px; overflow-wrap: break-word; display: block; }
.form { padding: 38px; display: grid; gap: 22px; min-width: 0; }
.form h3 { font-size: 30px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .lbl { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--glass-edge); background: rgba(255, 255, 255, 0.06); font-size: 15px; font-weight: 500; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.opt:hover span { background: rgba(255, 255, 255, 0.12); }
.opt input:checked + span { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: linear-gradient(180deg, #ff5a49, var(--red) 60%, #d4150c); transform: scale(1.03); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 26px -8px rgba(255, 42, 31, 0.8); }
.opt input:focus-visible + span { outline: 2px solid var(--red-soft); outline-offset: 2px; }
input[type="text"], textarea { width: 100%; min-height: 50px; padding: 12px 18px; font: 400 16px var(--font-body); color: var(--fg); background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
input[type="text"]::placeholder, textarea::placeholder { color: #867d7a; }
input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--red-soft); box-shadow: 0 0 0 4px rgba(255, 42, 31, 0.18); }
textarea { min-height: 104px; resize: vertical; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.two > div { min-width: 0; }
.out { padding: 16px 18px; border-radius: 20px; border: 1px dashed rgba(255, 255, 255, 0.25); color: var(--muted); font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; background: rgba(0, 0, 0, 0.2); }
.form .cta { margin-top: 0; justify-content: flex-start; animation: none; align-items: center; }
.status { font-size: 14px; color: var(--muted); }

footer.site { margin-top: 84px; padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; border-radius: 999px; color: var(--muted); font-size: 14px; }
.rights { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.rights b { color: var(--fg); font-weight: 600; }
.rights .reg { color: var(--red-soft); font-size: 17px; font-weight: 700; position: relative; top: -2px; text-shadow: 0 0 12px rgba(255, 42, 31, 0.7); }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .brand { color: var(--fg); }

@keyframes drift1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-20vmax, -10vmax) scale(1.1); } }
@keyframes drift3 { to { transform: translate(16vmax, -12vmax) scale(1.2); } }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@keyframes ring { from { transform: scale(.92); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
@keyframes ring2 { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes wordin { from { opacity: 0; transform: translateY(.45em); filter: blur(14px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .3; } }
@keyframes shine { to { left: 130%; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1000px) {
  .links a:not(.keep) { display: none; }
  .sec-head, .res, .pres, .contact { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .svcs { grid-template-columns: minmax(0, 1fr); }
  .svc { min-height: 0; }
  .story, .years { grid-column: span 12; }
  .pt { grid-column: span 6; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res, .pres { padding: 28px; }
}
@media (max-width: 640px) {
  .works { gap: 12px; }
  .work { padding: 10px 10px 14px; }
  .work .go { width: 34px; height: 34px; }
  .work h3 { font-size: 16px; }
  .thumb .play { width: 54px; height: 54px; }
  .thumb .play::before { width: 54px; height: 54px; }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .chip { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 20px; }
  .pt { grid-column: span 12; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .story, .years, .cinfo, .form { padding: 26px; }
  .res, .pres { padding: 20px; }
  .row { grid-template-columns: 56px minmax(0, 1fr); }
  .row em { grid-column: 2; }
  .drow { grid-template-columns: 44px minmax(0, 1fr); }
  .drow .open { grid-column: 2; justify-self: start; }
  section { padding-block: 64px 8px; }
  .hero { padding-block: 48px 24px; }
  footer.site { border-radius: 28px; justify-content: center; text-align: center; }
  .brand span.t { display: none; }
  .brand { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rbox { transform: none; }
}
/* Videos y fotos propios */
.thumb .clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .8s cubic-bezier(.2, .8, .2, 1); background: transparent; }
.work:hover .thumb .clip { transform: scale(1.06); }
.thumb .clip.off { display: none; }
.thumb .play { position: relative; z-index: 2; transition: opacity .3s, transform .3s; }
.thumb.playing .play { opacity: 0; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; z-index: 2; display: none; }
.player.has-video video { display: block; }
.player .fallback { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; color: inherit; }
.player.has-video .fallback { display: none; }
.photo { grid-column: span 12; margin: 0; padding: 10px; aspect-ratio: 21 / 8; overflow: hidden; }
.photo[hidden] { display: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block; }
@media (max-width: 640px) { .photo { aspect-ratio: 4 / 3; } }

/* Reproductor flotante */
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); animation: lbin .3s both; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 6, 0.8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); cursor: pointer; }
.lb-panel { position: relative; width: min(440px, 100%); max-height: 100%; padding: 12px 12px 18px; display: grid; gap: 14px; animation: lbpop .4s cubic-bezier(.2, .9, .2, 1) both; }
.lb-panel video { width: 100%; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); aspect-ratio: 9 / 16; object-fit: contain; background: #000; border-radius: 22px; display: block; }
.lb-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-inline: 6px; flex-wrap: wrap; }
.lb-meta h3 { font-size: 20px; letter-spacing: -0.03em; }
.lb-ig { font-size: 14px; font-weight: 600; color: #ffd9d4; text-decoration: none; }
.lb-ig:hover { color: #fff; text-decoration: underline; }
.lb-msg { padding: 12px 16px; border-radius: 16px; background: rgba(255, 42, 31, 0.15); border: 1px solid rgba(255, 106, 88, 0.5); font-size: 14px; color: #ffd9d4; }
.lb-msg[hidden] { display: none; }
.lb-close, .lb-nav { position: absolute; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(20, 20, 22, 0.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: background .2s, transform .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--red); transform: scale(1.08); }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: -14px; right: -14px; }
.lb-nav { top: 42%; }
.lb-nav.prev { left: -64px; }
.lb-nav.next { right: -64px; }
.lb-nav[hidden] { display: none; }
.work { cursor: pointer; }
.work:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 4px; }
@media (max-width: 760px) {
  .lb-close { top: 8px; right: 8px; }
  .lb-nav { top: 38%; width: 40px; height: 40px; }
  .lb-nav.prev { left: 18px; }
  .lb-nav.next { right: 18px; }
}
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbpop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

