/* Tech: misma estructura y peso de marca que la web de cine (Anton, bloques numerados, líneas), con carácter electrónico:
   Space Mono, esquinas rectas, acento verde azulado y cuadrícula. Sin cursiva serif ni detalles de papel. */
:root { --bg: #0a0d10; --bg-2: #0f1418; --fg: #e8ece9; --muted: #8a949a; --line: rgba(232, 236, 233, 0.14); --accent: #5eead4; --ink: #07100e;
  --display: "Anton", Impact, sans-serif; --mono: "Space Mono", ui-monospace, monospace; --gutter: clamp(24px, 5vw, 72px); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body { min-height: 100svh; display: flex; flex-direction: column; color: var(--fg); font: 400 16px/1.6 var(--mono); -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
  background-attachment: fixed; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 0%, transparent 0%, var(--bg) 85%); opacity: 0.96; }
.mono { font-family: var(--mono); }
em { font-style: normal; color: var(--accent); }
a { color: inherit; }

.tech-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 14px var(--gutter); background: rgba(10, 13, 16, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(232, 236, 233, 0.75); }
.tech-top b { font-weight: 700; color: var(--fg); }
.tech-top span { margin-right: auto; color: var(--accent); }
.tech-top a { text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; letter-spacing: 0.12em; color: var(--fg); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.tech-top a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

main { flex: 1; }
.t-hero, .t-block { padding: clamp(56px, 9vw, 120px) var(--gutter); }
.t-hero { padding-top: clamp(64px, 12vh, 140px); }
.t-block { border-top: 1px solid var(--line); background: linear-gradient(var(--bg), var(--bg)); }
.t-kicker { font-size: 12px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 22px; }
.t-name { font: 400 clamp(60px, 12.5vw, 190px)/0.88 var(--display); text-transform: uppercase; }
.t-name em { display: block; margin-top: 0.06em; font: 400 0.52em/0.95 var(--display); }
.t-role { margin-top: 30px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.t-lead { margin-top: 18px; max-width: 40ch; font: 400 clamp(18px, 2.2vw, 24px)/1.45 var(--mono); color: #cfd5d2; }
.t-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.t-btn { display: inline-block; padding: 12px 20px; border: 1px solid var(--line); border-radius: 2px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--fg); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.t-btn:hover { border-color: var(--accent); color: var(--accent); }
.t-btn--solid { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 700; }
.t-btn--solid:hover { background: transparent; color: var(--accent); }

.t-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.t-num { font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.t-title { font: 400 clamp(48px, 8.5vw, 124px)/0.9 var(--display); text-transform: uppercase; }

.t-grid { display: grid; gap: 16px; }
.t-card { padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: 2px; background: rgba(15, 20, 24, 0.85); transition: border-color 0.25s; }
.t-card:hover { border-color: var(--accent); }
.t-card h3 { font: 400 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 14px; }
.t-card p { font-size: 15px; line-height: 1.65; color: #c5ccc9; }
.t-stack { margin-top: 18px; font-size: 12px !important; letter-spacing: 0.08em; color: var(--accent) !important; }

.t-case { display: grid; gap: 36px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 2px; background: rgba(15, 20, 24, 0.85); }
.t-case__name { font: 400 clamp(44px, 7vw, 88px)/0.95 var(--display); text-transform: uppercase; }
.t-case__desc { margin-top: 16px; max-width: 36ch; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: #d6dcd9; }
.t-status { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: 12px; letter-spacing: 0.08em; line-height: 1.5; color: var(--muted); }
.t-dot { flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #3ddc84; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 70% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.t-rows > div { display: grid; gap: 6px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.t-rows > div:last-child { border-bottom: 1px solid var(--line); }
.t-rows dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.t-rows dd { font-size: 15px; line-height: 1.65; color: #c5ccc9; }
.t-rows--stack dd { font-size: 16px; color: var(--fg); }

.t-contact .t-lead { margin-top: 0; }
.t-mail { display: inline-block; margin-top: 26px; font: 400 clamp(22px, 4.4vw, 52px)/1.1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; text-decoration: none; word-break: break-word; border-bottom: 2px solid var(--accent); padding-bottom: 4px; transition: color 0.25s; }
.t-mail:hover { color: var(--accent); }
.t-title em { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.tech-foot { display: flex; justify-content: space-between; gap: 12px; padding: 18px var(--gutter) 24px; border-top: 1px solid var(--line); background: var(--bg); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

@media (min-width: 760px) { .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .t-case { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
  .t-rows > div { grid-template-columns: 150px minmax(0, 1fr); }
  .t-rows--stack { max-width: 900px; }
}
@media (min-width: 1100px) { .t-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .t-dot, .t-title em { animation: none; } }

/* Entrada desde la web de cine */
.enter body::after { content: ""; position: fixed; inset: 0; z-index: 100; background: var(--bg); animation: reveal 0.9s 0.15s cubic-bezier(0.7, 0, 0.3, 1) forwards; pointer-events: none; }
@keyframes reveal { to { transform: translateY(-100%); visibility: hidden; } }
.enter .tech-top, .enter .t-hero > * { opacity: 0; transform: translateY(10px); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.enter .tech-top { animation-delay: 0.45s; }
.enter .t-hero > :nth-child(1) { animation-delay: 0.55s; } .enter .t-hero > :nth-child(2) { animation-delay: 0.7s; } .enter .t-hero > :nth-child(3) { animation-delay: 0.85s; } .enter .t-hero > :nth-child(4) { animation-delay: 1s; } .enter .t-hero > :nth-child(5) { animation-delay: 1.15s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.t-lead--wide { max-width: 62ch; margin-top: 0; }
.t-case--compact { margin-top: 16px; grid-template-columns: 1fr !important; }
