/* =========================================================
   Dron Kiki Studio — estilos
   Paleta tomada del retrato: pizarra azulada + tonos tierra
   ========================================================= */
:root {
  --bg: #0b0f15;
  --bg-1: #0d1117;
  --bg-2: #1c2430;
  --bg-3: #263141;
  --line: rgba(232, 228, 220, .12);
  --text: #e8e4dc;
  --muted: #8a96a6;
  --accent: #d98a3d;
  --accent-2: #f0b46e;
  --accent-glow: rgba(217, 138, 61, .35);
  --radius: 18px;
  --gutter: 16px;
  --maxw: 1200px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Lenis (scroll suave con inercia) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
/* animaciones CSS infinitas en pausa cuando su sección no se ve */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }
/* las hélices de los logos no giran: evita repintar el menú fijo en cada frame */
.nav__logo .prop { animation: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

.mono { font-family: var(--font-mono); letter-spacing: .04em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.eyebrow {
  color: var(--accent);
  font-size: .78rem;
  text-transform: uppercase;
  margin: 0 0 14px;
}

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s, color .3s;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #140d06; box-shadow: 0 10px 30px -10px var(--accent-glow); }
.btn--accent:hover { background: var(--accent-2); box-shadow: 0 16px 40px -10px var(--accent-glow); }
.btn--ghost { border-color: var(--line); background: rgba(13, 17, 23, .55); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn--small { padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
/* mini hélice que gira al pasar el ratón */
.btn__prop {
  width: 14px; height: 14px; flex: none;
  position: relative;
}
.btn__prop::before, .btn__prop::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 3px; border-radius: 3px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.btn__prop::after { transform: translate(-50%, -50%) rotate(90deg); }
.btn:hover .btn__prop { animation: spin .25s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hélices del SVG del dron ---------- */
.prop { transform-box: fill-box; transform-origin: center; animation: spin .12s linear infinite; }
.prop--rev { animation-direction: reverse; }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(ellipse at center, var(--bg-2), var(--bg) 70%);
  display: grid; place-items: center;
}
.preloader__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at center, #000 10%, transparent 65%);
}
.preloader__inner { position: relative; text-align: center; width: min(320px, 80vw); }
.preloader__drone { width: 120px; height: 120px; color: var(--text); margin: 0 auto; display: block; filter: drop-shadow(0 0 24px var(--accent-glow)); animation: hover 1.6s ease-in-out infinite; }
.preloader__shadow { width: 80px; height: 10px; margin: 18px auto 28px; border-radius: 50%; background: rgba(0,0,0,.6); filter: blur(6px); animation: shadow 1.6s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-10px); } }
@keyframes shadow { 50% { transform: scaleX(.8); opacity: .6; } }
.preloader__log { list-style: none; margin: 0 0 18px; padding: 0; font-size: .78rem; color: var(--muted); min-height: 1.6em; position: relative; }
.preloader__log li { position: absolute; inset: 0; opacity: 0; }
.preloader__log li.ok { color: var(--accent); }
.preloader__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.preloader__pct { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- Cursor retícula ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150;
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s, opacity .3s;
}
.cursor::before, .cursor::after {
  content: ""; position: absolute; background: var(--accent);
  left: 50%; top: -8px; width: 1px; height: calc(100% + 16px); transform: translateX(-50%);
}
.cursor::after { top: 50%; left: -8px; height: 1px; width: calc(100% + 16px); transform: translateY(-50%); }
.cursor span { position: absolute; inset: 0; background: var(--bg); border-radius: 50%; margin: 6px; opacity: .0; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(217,138,61,.1); }
@media (hover: hover) and (pointer: fine) {
  .cursor { opacity: 1; }
  body, a, button { cursor: none; }
  input, textarea, select { cursor: text; }
}

/* ---------- Dron de scroll ---------- */
.scroll-drone {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  color: var(--text);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
.scroll-drone.is-visible { opacity: .95; }
/* halo estático en lugar de filter: drop-shadow (que se recalculaba en cada frame) */
.scroll-drone::before { content: ""; position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(217,138,61,.28), transparent 65%); }
.scroll-drone svg { position: relative; }
.scroll-drone svg { width: 100%; height: 100%; }
@media (max-width: 899px) { .scroll-drone { display: none; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 15, 21, .94); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.nav__logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; font-size: 1.05rem; }
.nav__logo b { color: var(--accent); font-weight: 700; }
.nav__logo-mark { width: 30px; height: 30px; color: var(--text); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { font-size: .95rem; color: var(--muted); position: relative; transition: color .3s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav__burger { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--bg);
    clip-path: circle(0% at calc(100% - 38px) 38px);
    transition: clip-path .7s var(--ease);
  }
  .nav__links.is-open { clip-path: circle(150% at calc(100% - 38px) 38px); }
  .nav__links a:not(.btn) { font-family: var(--font-head); font-size: 1.8rem; color: var(--text); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__video { position: absolute; inset: 0; z-index: -2; background: var(--bg-2) center/cover no-repeat; }
.hero__video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.78vh;
  transform: translate(-50%, -50%) scale(1.15);
  border: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__video iframe.is-ready { opacity: 1; }
.hero__video.is-static { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.18) translate(-2%, 2%); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(11,15,21,.35), rgba(11,15,21,.85) 75%),
    linear-gradient(180deg, rgba(11,15,21,.5) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}
.hero__hud { position: absolute; inset: 88px var(--gutter) 28px; pointer-events: none; }
.hud-corner { position: absolute; width: 28px; height: 28px; border: 2px solid rgba(232,228,220,.55); }
.hud-corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud-reticle { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; transform: translate(-50%, -50%); border: 1px solid rgba(232,228,220,.25); border-radius: 50%; }
.hud-reticle::before, .hud-reticle::after { content: ""; position: absolute; background: rgba(232,228,220,.35); }
.hud-reticle::before { left: -30px; right: -30px; top: 50%; height: 1px; }
.hud-reticle::after { top: -30px; bottom: -30px; left: 50%; width: 1px; }
.hud-reticle span { position: absolute; inset: 40px; border-radius: 50%; background: var(--accent); }
.hud-horizon { position: absolute; left: 20%; right: 20%; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,138,61,.5) 20%, transparent 40%, transparent 60%, rgba(217,138,61,.5) 80%, transparent); }
.hud-stat { position: absolute; top: 44px; font-size: .74rem; color: rgba(232,228,220,.8); }
.hud-stat p { margin: 0 0 4px; }
.hud-stat b { color: var(--accent-2); font-weight: 600; }
.hud-stat--left { left: 44px; }
.hud-stat--right { right: 44px; text-align: right; }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; margin-right: 8px; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hud-compass { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(360px, 60%); overflow: hidden; font-size: .7rem; color: rgba(232,228,220,.6); padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.hud-compass::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 0; border: 5px solid transparent; border-bottom-color: var(--accent); transform: translateX(-50%); }
.hud-compass__strip { white-space: nowrap; display: inline-block; }

.hero__content { position: relative; padding: 120px var(--gutter) 80px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.9rem, 15vw, 10.5rem);
  line-height: .9;
  letter-spacing: -.03em;
  margin: 0 0 24px;
}
.hero__title .outline, .hero__title .outline .char { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.hero__title .char { display: inline-block; }
.hero__sub { max-width: 560px; font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: rgba(232,228,220,.85); margin: 0 0 34px; }
.hero__sub strong { color: var(--accent-2); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); font-size: .7rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: drop 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 899px) {
  .hud-stat, .hud-compass { display: none; }
  .hero__scroll { display: none; }
}

/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--bg-1); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-size: clamp(.9rem, 2vw, 1.15rem); color: var(--muted); }
.marquee__track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.section__head { margin-bottom: clamp(40px, 6vw, 70px); max-width: 720px; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0 0 18px;
}
.section__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.section__title .word > span { display: inline-block; }
.section__lead { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 600px; }
/* "lente" que se abre: transición fly-through */
.lens { transform-origin: 50% 0; }
/* iris de cámara: un solo elemento fijo que se anima con transform/opacity (barato para la GPU) */
.iris { position: fixed; left: 50%; top: 50%; z-index: 70; width: 60vmin; height: 60vmin; margin: -30vmin 0 0 -30vmin; border-radius: 50%; border: 2px solid var(--accent); pointer-events: none; opacity: 0; will-change: transform, opacity; }
.iris::before, .iris::after { content: ""; position: absolute; background: var(--accent); opacity: .6; }
.iris::before { left: 50%; top: -6%; bottom: -6%; width: 1px; }
.iris::after { top: 50%; left: -6%; right: -6%; height: 1px; }

/* ---------- EQUIPO ---------- */
.equipment { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%); }
.equipment__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 768px) { .equipment__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1024px) { .equipment__grid { gap: 72px; } }
.equipment__visual { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin: 0 auto; }
.equipment__ring { position: absolute; inset: 6%; border: 1px dashed rgba(217,138,61,.4); border-radius: 50%; animation: spin 40s linear infinite; }
.equipment__ring--2 { inset: 20%; border-style: solid; border-color: var(--line); animation-duration: 25s; animation-direction: reverse; }
.equipment__ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.equipment__visual::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(217,138,61,.22), transparent 65%); }
.equipment__drone { position: absolute; inset: 28%; width: 44%; height: 44%; color: var(--text); z-index: 1; animation: hover 3s ease-in-out infinite; }
.equipment__tag--tl { left: 2%; top: 12%; }
.equipment__tag--tr { right: 0; top: 6%; }
.equipment__tag--bl { left: 0; bottom: 12%; }
.equipment__tag--br { right: 2%; bottom: 6%; }
.equipment__tag { position: absolute; font-size: .66rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(13,17,23,.8); color: var(--accent-2); white-space: nowrap; }
.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.spec { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(28,36,48,.4); display: grid; gap: 4px; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.spec:hover { border-color: rgba(217,138,61,.5); background: rgba(28,36,48,.75); transform: translateX(6px); }
.spec__k { font-size: .7rem; color: var(--accent); text-transform: uppercase; }
.spec__v { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; }
.spec__d { color: var(--muted); font-size: .95rem; }

/* ---------- SERVICIOS ---------- */
.services__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.service {
  position: relative; overflow: hidden;
  padding: 32px 28px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(38,49,65,.6), rgba(13,17,23,.6));
  transition: border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(217,138,61,.16), transparent 50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service:hover { border-color: rgba(217,138,61,.45); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.service:hover::before { opacity: 1; }
.service__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(217,138,61,.12); color: var(--accent); margin-bottom: 22px; }
.service__icon svg { width: 26px; height: 26px; }
.service__n { position: absolute; top: 28px; right: 26px; font-size: .72rem; color: var(--muted); }
.service h3 { font-family: var(--font-head); font-size: 1.4rem; margin: 0 0 10px; letter-spacing: -.01em; }
.service p { color: var(--muted); margin: 0 0 22px; font-size: .97rem; flex: 1; }
.service__cta { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; }
.service__cta::after { content: "→"; transition: transform .3s var(--ease); }
.service:hover .service__cta::after { transform: translateX(6px); }

/* ---------- TRABAJOS ---------- */
.works { background: var(--bg-1); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .88rem; color: var(--muted); transition: all .3s; cursor: pointer; }
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active { background: var(--accent); color: #140d06; border-color: var(--accent); }
.works__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) and (max-width: 899px) { .works__grid { grid-template-columns: 1fr 1fr; } .work.is-featured:first-child { grid-column: span 2; } }
@media (min-width: 900px) {
  .works__grid { grid-template-columns: repeat(6, 1fr); }
  .work { grid-column: span 2; }
  .work.is-featured { grid-column: span 3; }
}
.work {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 0; text-align: left; cursor: pointer;
  isolation: isolate;
}
.work.is-hidden { display: none; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) brightness(.85); }
.work:hover img { transform: scale(1.12); filter: saturate(1.1) brightness(1); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,21,0) 35%, rgba(11,15,21,.92)); z-index: 1; }
.work__hud { position: absolute; inset: 14px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s; }
.work:hover .work__hud { opacity: 1; }
.work__hud .hud-corner { width: 18px; height: 18px; border-color: var(--accent); }
.work__meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.work__tag { font-size: .68rem; color: var(--accent-2); text-transform: uppercase; display: flex; gap: 10px; }
.work__title { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.25; margin: 6px 0 0; }
.work__play {
  position: absolute; left: 50%; top: 45%; z-index: 2;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(217,138,61,.92); color: #140d06;
  transform: scale(.7); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.work__play svg { width: 22px; height: 22px; margin-left: 3px; }
.work:hover .work__play, .work:focus-visible .work__play { transform: scale(1); opacity: 1; animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgba(217,138,61,0); } 100% { box-shadow: 0 0 0 0 rgba(217,138,61,0); } }
@media (hover: none) { .work__play { opacity: 1; transform: scale(.85); } }
.works__more { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- PROCESO ---------- */
.process__wrap { position: relative; }
.process__path { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; display: none; }
@media (min-width: 900px) { .process__path { display: block; } .process__steps { padding-top: 140px; } }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(28,36,48,.35); position: relative; }
.step::before { content: ""; position: absolute; top: -8px; left: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.step__n { font-size: .72rem; color: var(--accent); }
.step h3 { font-family: var(--font-head); font-size: 1.3rem; margin: 8px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- SOBRE MÍ ---------- */
.about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%); }
.about__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 768px) { .about__grid { grid-template-columns: .9fr 1.1fr; gap: 40px; } }
@media (min-width: 1024px) { .about__grid { gap: 80px; } }
.about__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; max-width: 480px; width: 100%; justify-self: center; background: var(--bg-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo .hud-corner { border-color: var(--accent); width: 24px; height: 24px; margin: 16px; }
.about__cover { position: absolute; inset: 0; background: var(--bg-2); transform-origin: 50% 100%; transform: scaleY(0); }
.about__scan { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: var(--accent); box-shadow: 0 0 20px 4px var(--accent-glow); opacity: 0; }
.about__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; font-size: .72rem; padding: 10px 14px; border-radius: 10px; background: rgba(11,15,21,.85); }
.about__photo figcaption span:first-child { color: var(--accent); }
.about__text p:not(.eyebrow) { color: rgba(232,228,220,.82); font-size: 1.05rem; }
.about__text strong { color: var(--accent-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.stat { padding: 18px 14px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.stat b { display: block; font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--accent); line-height: 1.1; }
.stat span { font-size: .78rem; color: var(--muted); }

/* ---------- CONTACTO ---------- */
.contact { background: radial-gradient(ellipse at 80% 20%, rgba(217,138,61,.08), transparent 50%), var(--bg-1); }
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.contact__links { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 10px; }
.contact__links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.contact__links a:hover { border-color: var(--accent); background: rgba(217,138,61,.06); transform: translateX(6px); }
.contact__links span { font-size: .72rem; color: var(--accent); }
.contact__links b { font-weight: 500; font-size: .98rem; overflow-wrap: anywhere; text-align: right; }
.form { padding: clamp(22px, 4vw, 38px); border-radius: 24px; border: 1px solid var(--line); background: rgba(28,36,48,.45); display: grid; gap: 16px; align-self: start; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field span { font-size: .7rem; color: var(--muted); text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(11,15,21,.6);
  color: var(--text); font: inherit; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
  color-scheme: dark;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(217,138,61,.15); }
.field .is-invalid { border-color: #e5484d; }
.form__note { margin: 0; font-size: .74rem; color: var(--muted); text-align: center; }
.form__note.is-error { color: #ff8b8f; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { margin: 0; color: var(--muted); font-size: .76rem; }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,7,10,.88); backdrop-filter: blur(10px); }
.modal__box { position: relative; width: min(1100px, 100%); }
.modal__frame { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), 0 0 60px -20px var(--accent-glow); }
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__title { font-family: var(--font-head); margin: 16px 0 0; font-size: 1.1rem; }
.modal__close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(13,17,23,.8); cursor: pointer; transition: border-color .3s, transform .3s; }
.modal__close:hover { border-color: var(--accent); transform: rotate(90deg); }

/* ---------- Ajustes móvil ---------- */
@media (max-width: 599px) {
  .section { padding: 72px 0; }
  .hero__title .outline, .hero__title .outline .char { -webkit-text-stroke-width: 1.5px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__hud { inset: 80px var(--gutter) 20px; }
  /* filtros en una sola fila deslizable */
  .section__head--row { flex-direction: column; align-items: stretch; }
  .filters { min-width: 0; max-width: calc(100% + var(--gutter) * 2); flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .work { aspect-ratio: 16/11; }
  .work__title { font-size: 1.02rem; }
  .equipment__tag { font-size: .58rem; padding: 5px 8px; }
  .spec { padding: 18px 20px; }
  .service { padding: 26px 22px 22px; }
  .about__photo { max-width: 360px; }
  .stats { gap: 8px; }
  .stat { padding: 14px 8px; }
  .contact__links a { padding: 14px 16px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .modal__close { top: -48px; }
}
/* tablet */
@media (min-width: 600px) and (max-width: 1023px) {
  .about__photo { max-width: 420px; }
}

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .scroll-drone { display: none; }
}
