:root {
  --bg: #000;
  --panel: rgba(0, 0, 0, 0.7);
  --fg: #e8ecf1;
  --muted: #b4bcc8;
  --accent: #7dd3c0;
  --line: #232a35;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#matrix { position: fixed; top: 0; left: 0; z-index: -1; display: block; background: var(--bg); }
header, main, footer { width: calc(100% - 32px); max-width: 960px; margin-left: auto; margin-right: auto; }
header, footer, .panel { background: var(--panel); border-radius: 14px; }

/* Encabezado y menú */
header { margin-top: 16px; padding: 14px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.logo {
  height: 56px; width: auto; max-width: 160px;
  border-radius: 10px; background: #fff; padding: 4px;
  object-fit: contain;
}
.mark {
  width: 56px; height: 56px; border-radius: 10px;
  border: 1px solid var(--line); background: #141922;
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px; letter-spacing: 0.5px; color: var(--accent);
}
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand strong { font-size: 16px; letter-spacing: 0.5px; }
.brand span { font-size: 13px; color: var(--muted); }
.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  color: var(--muted); text-decoration: none;
  font-size: 15px; padding: 10px 12px; border-radius: 8px;
}
.site-nav a:hover { color: var(--fg); }
.site-nav a[aria-current="page"] { color: var(--accent); background: rgba(125, 211, 192, 0.12); }
.site-nav a:focus-visible, a.btn:focus-visible, a.mail:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* Contenido */
main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px 0; }
.panel { padding: clamp(24px, 6vw, 56px); }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125,211,192,.55); }
  70% { box-shadow: 0 0 0 10px rgba(125,211,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(125,211,192,0); }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
h1 {
  font-size: clamp(40px, 8.5vw, 92px);
  line-height: 0.98; font-weight: 700; letter-spacing: -0.03em;
}
h1.page-title { font-size: clamp(32px, 6vw, 56px); line-height: 1.05; }
h1 em { font-style: normal; color: var(--accent); }
p.service {
  margin-top: 24px;
  font-size: clamp(18px, 2.6vw, 24px); font-weight: 600; color: var(--fg);
}
p.service + p.service { margin-top: 6px; }
p.lead {
  margin-top: 14px; max-width: 540px;
  font-size: clamp(16px, 2.1vw, 19px); line-height: 1.55; color: var(--muted);
}
.contact { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
a.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 10px;
  background: var(--accent); color: #0b1f1a; text-decoration: none;
  font-weight: 600; font-size: 16px;
  transition: transform .15s ease, filter .15s ease;
}
a.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.who { display: flex; flex-direction: column; gap: 2px; }
.who span { font-size: 13px; color: var(--muted); }
a.mail { color: var(--fg); text-decoration: none; font-size: 16px; border-bottom: 1px solid var(--line); padding-bottom: 2px; align-self: flex-start; }
a.mail:hover { border-color: var(--accent); }

/* Colaboradores */
.team { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.photo {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 12px;
  background: #0b0f14; border: 1px dashed rgba(125, 211, 192, 0.35);
  display: grid; place-items: center;
}
.photo span { font-size: 56px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member h2 { margin-top: 16px; font-size: 20px; line-height: 1.25; }
.member p { margin-top: 4px; font-size: 16px; color: var(--muted); }

footer { margin-bottom: 16px; padding: 14px 20px; font-size: 13px; color: var(--muted); }
