/* ============================================================
   RÉPLICA FIEL — estilos reales de cada proyecto, aislados por scope.
   Valores extraídos del código fuente (no inventados). Ver README.
   Cada .t-<proj> fija los tokens y la fuente reales del proyecto y
   resetea la superficie de preview; las clases internas reproducen
   los strings de Tailwind / CSS tal como están en el repo.
   ============================================================ */

.t-nexo, .t-sige, .t-sland, .t-dc, .t-pf {
  border-radius: 12px;
  padding: 4px;
}
.t-nexo *, .t-sige *, .t-sland *, .t-dc *, .t-pf * { box-sizing: border-box; }

/* =========================================================
   1) NEXO SD  — nexosdweb/app/globals.css + ESTILOS.md
   Tailwind v4 · HeroUI · colores hardcoded inline
   ========================================================= */
.t-nexo {
  --bg: #071423;
  --primary: #0b2a5b;
  --secondary: #1477f8;
  --accent: #25c6da;
  --success: #10b981;
  --muted: #a0aec0;
  --fg: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--fg);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--bg);
}
.t-nexo h1, .t-nexo h2, .t-nexo h3 { font-family: "Poppins", sans-serif; }

.t-nexo .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 8px;
  background: #1477f8; color: #fff;
  font-weight: 500; font-size: 14px; border: 0; cursor: pointer;
  transition: all 0.2s;
}
.t-nexo .btn-primary:hover, .t-nexo .btn-primary.is-hover {
  background: rgba(20, 119, 248, 0.9);
  box-shadow: 0 0 30px rgba(20, 119, 248, 0.45);
  transform: translateY(-2px);
}
.t-nexo .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #a0aec0; font-weight: 500; font-size: 14px; cursor: pointer;
  transition: all 0.2s;
}
.t-nexo .btn-secondary:hover, .t-nexo .btn-secondary.is-hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.t-nexo .btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 12px;
  background: #1477f8; color: #fff;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 16px;
  border: 0; cursor: pointer; transition: all 0.2s;
}
.t-nexo .btn-cta:hover, .t-nexo .btn-cta.is-hover {
  box-shadow: 0 0 40px rgba(20, 119, 248, 0.5); transform: scale(1.02);
}
.t-nexo .btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 260px; padding: 16px; border-radius: 12px;
  background: linear-gradient(90deg, #1477f8, #25c6da);
  color: #fff; font-weight: 600; border: 0; cursor: pointer;
  transition: all 0.3s;
}
.t-nexo .btn-submit:hover, .t-nexo .btn-submit.is-hover {
  box-shadow: 0 0 35px rgba(20, 119, 248, 0.35); transform: scale(1.01);
}
.t-nexo .btn-primary:disabled, .t-nexo .btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.t-nexo .field { display: flex; flex-direction: column; gap: 6px; width: 280px; }
.t-nexo .field label { font-size: 12px; color: #a0aec0; font-weight: 500; }
.t-nexo .input {
  width: 100%; border-radius: 12px; padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; font-size: 14px; font-family: inherit;
  transition: all 0.2s;
}
.t-nexo .input::placeholder { color: rgba(160, 174, 192, 0.4); }
.t-nexo .input:focus, .t-nexo .input.is-focus { outline: none; border-color: #1477f8; }
.t-nexo .input.is-error { border-color: #f24d67; }

.t-nexo .card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 22px; width: 280px;
  transition: all 0.5s;
}
.t-nexo .card:hover, .t-nexo .card.is-hover { border-color: rgba(20, 119, 248, 0.3); }
.t-nexo .card h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.t-nexo .card p { color: #a0aec0; font-size: 13px; margin: 0; }

.t-nexo .glass-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  padding: 20px; width: 260px;
}
.t-nexo .icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 119, 248, 0.08);
  border: 1px solid rgba(20, 119, 248, 0.15);
  color: #25c6da;
}
.t-nexo .eyebrow {
  font-size: 12px; color: #25c6da;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.t-nexo .gradient-text {
  background: linear-gradient(90deg, #1477f8, #25c6da);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: "Poppins", sans-serif; font-weight: 900; font-size: 30px;
}
.t-nexo .accent-line {
  height: 1px; width: 220px;
  background: linear-gradient(90deg, transparent, #1477f8, #25c6da, transparent);
}
.t-nexo .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #a0aec0;
}
.t-nexo .success-badge {
  width: 56px; height: 56px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
}
.t-nexo .nav {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 22px; border-radius: 12px;
  background: rgba(7, 20, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.t-nexo .nav a { font-size: 14px; color: #a0aec0; position: relative; transition: color 0.2s; }
.t-nexo .nav a:hover { color: #fff; }
.t-nexo .nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px; background: #25c6da; transition: width 0.3s;
}
.t-nexo .nav a:hover::after { width: 100%; }
.t-nexo .nav .nav-cta {
  margin-left: auto; padding: 10px 20px; border-radius: 8px;
  background: #1477f8; color: #fff; font-size: 14px; font-weight: 500;
}

/* =========================================================
   2) SIGE ERP  — sige-cesp/App/frontend
   Tailwind v4 · Headless UI · sin dark mode
   ========================================================= */
.t-sige {
  --navy: #1b2a4a;
  --navy-deep: #101a30;
  --crimson: #8c1d2b;
  --bone: #f7f6f3;
  --slate: #3a4256;
  --gold: #b8985e;
  --mist: #dce1ea;
  --success: #2f6f52; --success-bg: #eaf3ee; --success-border: #bfddcb;
  --warning: #8a6d3a; --warning-bg: #fbf3e4; --warning-border: #e9d3a5;
  --error-bg: #f7e8e9; --error-border: #e3b8bd;
  font-family: "Public Sans", system-ui, sans-serif;
  background: var(--bone);
  color: var(--slate);
}
.t-sige h1, .t-sige h2, .t-sige h3, .t-sige .font-display { font-family: "Fraunces", serif; }

.t-sige .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 8px; background: #1b2a4a; color: #fff;
  padding: 8px 12px; font-size: 14px; font-weight: 500;
  border: 0; cursor: pointer; transition: background 0.15s;
}
.t-sige .btn:hover, .t-sige .btn.is-hover { background: #101a30; }
.t-sige .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.t-sige .btn--lg { padding: 8px 16px; }

.t-sige .field { display: flex; flex-direction: column; width: 280px; }
.t-sige .label { display: block; font-size: 14px; font-weight: 500; color: rgba(58, 66, 86, 0.8); }
.t-sige .input {
  margin-top: 4px; width: 100%; border-radius: 8px;
  border: 1px solid #dce1ea; padding: 8px 12px;
  font-size: 14px; color: #3a4256; font-family: inherit; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.t-sige .input:focus, .t-sige .input.is-focus {
  outline: none; border-color: #1b2a4a; box-shadow: 0 0 0 2px rgba(27, 42, 74, 0.2);
}
.t-sige .input:disabled { opacity: 0.5; }

.t-sige .select-btn {
  margin-top: 4px; width: 280px; border-radius: 8px;
  border: 1px solid #dce1ea; padding: 8px 12px; background: #fff;
  font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  cursor: pointer;
}
.t-sige .select-btn .ph { color: rgba(58, 66, 86, 0.4); }
.t-sige .select-btn svg { width: 16px; height: 16px; color: rgba(58, 66, 86, 0.6); }
.t-sige .select-panel {
  margin-top: 4px; width: 280px; border-radius: 8px;
  border: 1px solid #dce1ea; background: #fff; padding: 4px 0;
  font-size: 14px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.t-sige .select-panel .opt { padding: 8px 12px; color: #3a4256; cursor: pointer; }
.t-sige .select-panel .opt:hover { background: rgba(27, 42, 74, 0.1); }
.t-sige .select-panel .opt.is-selected { font-weight: 600; color: #1b2a4a; }

.t-sige .badge {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 2px 10px; font-size: 12px; font-weight: 500; border: 1px solid;
}
.t-sige .badge--success { border-color: #bfddcb; background: #eaf3ee; color: #2f6f52; }
.t-sige .badge--warning { border-color: #e9d3a5; background: #fbf3e4; color: #8a6d3a; }
.t-sige .badge--error { border-color: #e3b8bd; background: #f7e8e9; color: #8c1d2b; }

.t-sige .tooltip-chip {
  position: relative; display: inline-block;
  border-radius: 6px; background: #1b2a4a; color: #f7f6f3;
  padding: 6px 10px; font-size: 12px; font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}
.t-sige .tooltip-chip::after {
  content: ""; position: absolute; left: 50%; bottom: -3px;
  width: 6px; height: 6px; background: #1b2a4a;
  transform: translateX(-50%) rotate(45deg);
}

.t-sige .skel { border-radius: 4px; background: #dce1ea; animation: t-pulse 1.6s ease-in-out infinite; }
@keyframes t-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.t-sige .stat-tile {
  border-radius: 8px; border-left: 4px solid #1b2a4a; background: #fff;
  padding: 16px 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); width: 190px;
}
.t-sige .stat-tile--crimson { border-left-color: #8c1d2b; }
.t-sige .stat-tile b { font-family: "Fraunces", serif; font-size: 24px; color: #1b2a4a; display: block; }
.t-sige .stat-tile span { font-size: 12px; color: rgba(58, 66, 86, 0.7); }

.t-sige .pw-meter { width: 280px; }
.t-sige .pw-meter .segs { display: flex; gap: 4px; }
.t-sige .pw-meter .seg { height: 6px; flex: 1; border-radius: 999px; background: #dce1ea; transition: background 0.15s; }
.t-sige .pw-meter .seg.lv1 { background: #8c1d2b; }
.t-sige .pw-meter .seg.lv2 { background: #8a6d3a; }
.t-sige .pw-meter .seg.lv3 { background: #2f6f52; }
.t-sige .pw-meter .lbl { margin-top: 6px; font-size: 12px; font-weight: 500; }
.t-sige .pw-meter .lbl.lv1 { color: #8c1d2b; }
.t-sige .pw-meter .lbl.lv3 { color: #2f6f52; }
.t-sige .pw-meter ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; color: rgba(58, 66, 86, 0.6); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.t-sige .pw-meter li.ok { color: #2f6f52; }

.t-sige .sidebar {
  width: 220px; background: #1b2a4a; border-radius: 10px; padding: 12px;
}
.t-sige .sidebar .navlink {
  position: relative; display: flex; align-items: center; gap: 12px;
  border-radius: 8px; padding: 8px 12px; font-size: 14px; font-weight: 500;
  color: rgba(247, 246, 243, 0.6); transition: background 0.15s, color 0.15s;
}
.t-sige .sidebar .navlink:hover { background: rgba(255, 255, 255, 0.05); color: #f7f6f3; }
.t-sige .sidebar .navlink.is-active { background: rgba(255, 255, 255, 0.1); color: #f7f6f3; }
.t-sige .sidebar .navlink.is-active::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 3px; height: 20px; transform: translateY(-50%);
  border-radius: 0 999px 999px 0; background: #b8985e;
}
.t-sige .sidebar .navlink i { width: 18px; height: 18px; border-radius: 5px; background: currentColor; opacity: 0.55; flex-shrink: 0; }

.t-sige .toast {
  display: flex; align-items: center; gap: 10px;
  background: #f7f6f3; border: 1px solid #dce1ea; color: #3a4256;
  border-radius: 8px; padding: 12px 14px; font-size: 13px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); width: 300px;
}
.t-sige .toast i { width: 8px; height: 8px; border-radius: 999px; background: #2f6f52; flex-shrink: 0; }

.t-sige .wordmark {
  font-family: "Fraunces", serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #1b2a4a;
}
.t-sige .pager { display: flex; align-items: center; gap: 6px; }
.t-sige .pager button {
  border-radius: 8px; border: 1px solid #dce1ea; background: #fff;
  padding: 6px 12px; font-size: 13px; color: #3a4256; cursor: pointer;
}
.t-sige .pager button.is-active { background: #1b2a4a; color: #fff; border-color: #1b2a4a; }
.t-sige .pager button:disabled { opacity: 0.5; }

/* =========================================================
   3) SIGE LANDING  — cesp-landing/src
   Tailwind v4 (+ config v3 legacy) · framer-motion · colores inline
   ========================================================= */
.t-sland {
  --navy: #1b2a4a;
  --crimson: #8c1d2b;
  --bone: #f7f6f3;
  --slate: #3a4256;
  --gold: #b8985e;
  font-family: "Inter", system-ui, sans-serif;
  background: #f7f6f3;
  color: #3a4256;
}
.t-sland h1, .t-sland h2, .t-sland h3, .t-sland .font-display { font-family: "Fraunces", serif; }

.t-sland .btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px; border-radius: 12px;
  background: #8c1d2b; color: #b8985e;
  border: 1px solid rgba(184, 152, 94, 0.25);
  font-weight: 600; font-size: 16px; cursor: pointer; transition: all 0.2s;
}
.t-sland .btn-primary:hover, .t-sland .btn-primary.is-hover {
  background: rgba(140, 29, 43, 0.9);
  box-shadow: 0 10px 40px -8px rgba(184, 152, 94, 0.45);
}
.t-sland .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 12px;
  border: 1px solid rgba(27, 42, 74, 0.2); color: #1b2a4a;
  font-weight: 500; font-size: 16px; background: transparent; cursor: pointer; transition: all 0.2s;
}
.t-sland .btn-secondary:hover, .t-sland .btn-secondary.is-hover {
  background: rgba(184, 152, 94, 0.1); border-color: #b8985e;
}
.t-sland .btn-mobile {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 2px;
  background: #1b2a4a; color: #fff; font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); cursor: pointer;
}

.t-sland .navlink {
  position: relative; font-weight: 700; font-size: 16px; color: #1b2a4a;
  padding: 8px 0; cursor: pointer;
}
.t-sland .navlink::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 0; height: 2px; background: #1b2a4a; transition: width 0.3s;
}
.t-sland .navlink:hover::after, .t-sland .navlink.is-hover::after { width: 100%; }

.t-sland .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; color: #8c1d2b; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500;
}
.t-sland .eyebrow i { width: 32px; height: 1px; background: #b8985e; display: block; }

.t-sland .headline {
  font-family: "Fraunces", serif; font-weight: 600;
  font-size: 34px; line-height: 1.15; color: #1b2a4a;
}
.t-sland .headline span { color: #8c1d2b; }

.t-sland .dropdown {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 8px; border: 1px solid rgba(27, 42, 74, 0.1);
  padding: 20px; backdrop-filter: blur(12px); width: 260px;
}
.t-sland .dropdown .sede-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px; border-radius: 6px; transition: background 0.15s;
}
.t-sland .dropdown .sede-item:hover { background: rgba(27, 42, 74, 0.05); }
.t-sland .dropdown .sede-item b { font-size: 15px; font-weight: 700; color: #1b2a4a; display: block; }
.t-sland .dropdown .sede-item span { font-size: 12px; color: rgba(27, 42, 74, 0.7); }
.t-sland .dropdown .sede-item .pin { width: 15px; height: 15px; border-radius: 3px 3px 3px 8px; background: #1b2a4a; flex-shrink: 0; margin-top: 2px; }

.t-sland .card {
  background: #fff; border: 1px solid rgba(27, 42, 74, 0.1);
  border-radius: 16px; padding: 22px; width: 280px;
  box-shadow: 0 2px 20px rgba(27, 42, 74, 0.06);
}
.t-sland .card h3 { font-family: "Fraunces", serif; font-size: 19px; color: #1b2a4a; margin: 0 0 6px; }
.t-sland .card p { font-size: 13px; color: #3a4256; margin: 0; }

.t-sland .header-bar {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 22px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27, 42, 74, 0.1);
  box-shadow: 0 2px 20px rgba(27, 42, 74, 0.08);
}
.t-sland .wordmark b { font-family: "Fraunces", serif; font-size: 18px; font-weight: 700; color: #1b2a4a; letter-spacing: 0.02em; }
.t-sland .wordmark span { font-size: 10px; color: rgba(27, 42, 74, 0.7); letter-spacing: 0.15em; text-transform: uppercase; display: block; }

/* =========================================================
   4) diecast-house  — diecast-house/docs/DESIGN-SYSTEM.md + components/ui
   Tailwind v4 · primitivas propias (cn + variantes)
   ========================================================= */
.t-dc {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-tertiary: #1a1a1a;
  --bg-elevated: #222222;
  --surface: #181818;
  --text-primary: #f5f5f5;
  --text-secondary: #a3a3a3;
  --text-tertiary: #666666;
  --metal-bright: #c4c4c4;
  --metal-mid: #8e8e8e;
  --metal-dark: #3a3a3a;
  --metal-line: #2a2a2a;
  --accent: #a6192e;
  --accent-hover: #c41e35;
  --accent-muted: #7a1120;
  --success: #1a7a4a;
  --warning: #b87333;
  --error: #8b1a1a;
  --info: #2a5a7a;
  --ease-luxury: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(196, 196, 196, 0.1);
  --shadow-modal: 0 24px 64px rgba(0, 0, 0, 0.8);
  --shadow-button: 0 2px 8px rgba(166, 25, 46, 0.3);
  font-family: "Inter", system-ui, sans-serif;
  background: #0a0a0a;
  color: #f5f5f5;
}
.t-dc .font-display { font-family: "Playfair Display", Georgia, serif; }

.t-dc .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 2px; font-family: "Inter", sans-serif;
  font-size: 0.8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer; border: 0;
  transition: all 0.2s var(--ease-luxury);
}
.t-dc .btn--sm { padding: 8px 12px; }
.t-dc .btn--md { padding: 12px 24px; }
.t-dc .btn--lg { padding: 16px 32px; font-size: 0.9375rem; }
.t-dc .btn--primary { background: #a6192e; color: #fff; }
.t-dc .btn--primary:hover, .t-dc .btn--primary.is-hover { background: #c41e35; box-shadow: var(--shadow-button); }
.t-dc .btn--secondary { background: transparent; color: #c4c4c4; border: 1px solid #3a3a3a; }
.t-dc .btn--secondary:hover, .t-dc .btn--secondary.is-hover { border-color: #8e8e8e; background: #1a1a1a; }
.t-dc .btn--ghost { background: transparent; color: #8e8e8e; padding: 8px 12px; }
.t-dc .btn--ghost:hover, .t-dc .btn--ghost.is-hover { color: #f5f5f5; }
.t-dc .btn--danger { background: transparent; color: #8b1a1a; border: 1px solid rgba(139, 26, 26, 0.3); }
.t-dc .btn--danger:hover, .t-dc .btn--danger.is-hover { background: rgba(139, 26, 26, 0.1); }
.t-dc .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.t-dc .spin {
  width: 16px; height: 16px; border: 2px solid currentColor;
  border-right-color: transparent; border-radius: 50%;
  animation: t-spin 0.7s linear infinite;
}
@keyframes t-spin { to { transform: rotate(360deg); } }

.t-dc .badge {
  display: inline-flex; align-items: center; border-radius: 2px;
  padding: 4px 12px; font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid;
}
.t-dc .badge--round { border-radius: 999px; }
.t-dc .badge--accent { background: #7a1120; color: #a6192e; border-color: rgba(166, 25, 46, 0.3); }
.t-dc .badge--success { background: rgba(26, 122, 74, 0.1); color: #1a7a4a; border-color: rgba(26, 122, 74, 0.3); }
.t-dc .badge--warning { background: rgba(184, 115, 51, 0.1); color: #b87333; border-color: rgba(184, 115, 51, 0.3); }
.t-dc .badge--default { background: #1a1a1a; color: #a3a3a3; border-color: #2a2a2a; }
.t-dc .badge--error { background: rgba(139, 26, 26, 0.1); color: #8b1a1a; border-color: rgba(139, 26, 26, 0.3); }
.t-dc .badge--info { background: rgba(42, 90, 122, 0.1); color: #2a5a7a; border-color: rgba(42, 90, 122, 0.3); }

.t-dc .field { display: flex; flex-direction: column; width: 280px; }
.t-dc .field .label {
  font-size: 0.75rem; font-weight: 500; color: #a3a3a3;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.t-dc .input {
  width: 100%; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 2px;
  padding: 12px 16px; font-size: 0.9375rem; color: #f5f5f5; font-family: inherit;
  transition: border-color 0.2s;
}
.t-dc .input::placeholder { color: #666666; }
.t-dc .input:focus, .t-dc .input.is-focus { outline: none; border-color: #8e8e8e; }
.t-dc .input.is-error { border-color: #8b1a1a; }
.t-dc .field .err { margin-top: 4px; font-size: 0.8125rem; color: #8b1a1a; }
.t-dc .select-wrap { position: relative; width: 280px; }
.t-dc .select-wrap svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #c4c4c4; pointer-events: none; }
.t-dc select.input { appearance: none; }

.t-dc .card {
  border-radius: 0; border: 1px solid #2a2a2a; background: #121212;
  padding: 24px; width: 300px; box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s var(--ease-luxury), transform 0.2s var(--ease-luxury);
}
.t-dc .card:hover, .t-dc .card.is-hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.t-dc .card--elevated { border-color: rgba(58, 58, 58, 0.5); }
.t-dc .card--surface { background: #1a1a1a; border-color: rgba(42, 42, 42, 0.5); }
.t-dc .card .c-title { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 600; color: #f5f5f5; }
.t-dc .card .c-content { font-size: 0.9375rem; color: #a3a3a3; margin-top: 8px; line-height: 1.6; }
.t-dc .card .c-footer { margin-top: 24px; display: flex; gap: 12px; }

.t-dc .modal {
  background: #222222; border: 1px solid #3a3a3a; border-radius: 8px;
  box-shadow: var(--shadow-modal); width: 340px; overflow: hidden;
}
.t-dc .modal .m-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px; border-bottom: 1px solid rgba(58, 58, 58, 0.5);
}
.t-dc .modal .m-head h2 { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 600; }
.t-dc .modal .m-body { padding: 24px; color: #a3a3a3; font-size: 0.9375rem; }

.t-dc .spinner { animation: t-spin 0.8s linear infinite; color: #a6192e; }
.t-dc .spinner--metal { color: #c4c4c4; }
.t-dc .spinner--text { color: #f5f5f5; }

.t-dc .empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 24px; width: 340px;
}
.t-dc .empty .e-icon { color: #c4c4c4; margin-bottom: 24px; }
.t-dc .empty h3 { font-family: "Playfair Display", serif; font-size: 2rem; font-weight: 600; margin: 0 0 8px; }
.t-dc .empty p { font-size: 0.9375rem; color: #a3a3a3; max-width: 34ch; margin: 0 0 24px; }

.t-dc .texture { width: 240px; height: 90px; border: 1px solid #2a2a2a; }
.t-dc .carbon-fiber {
  background-color: #0a0a0a;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}
.t-dc .metal-brushed {
  background: linear-gradient(90deg, #121212 0%, #141414 10%, #121212 20%, #151515 30%, #121212 40%, #141414 50%, #121212 60%, #151515 70%, #121212 80%, #141414 90%, #121212 100%);
}
.t-dc .blueprint-line { align-self: center; width: 240px; height: 1px; background: linear-gradient(90deg, transparent 0%, #2a2a2a 20%, #2a2a2a 80%, transparent 100%); }
.t-dc .type-scale-row { border-color: #2a2a2a; }

/* =========================================================
   5) Portafolio  — portafolio/  (Next 12 · MUI 5 · Emotion · SCSS)
   ========================================================= */
.t-pf {
  --primary: #0092ff;
  --purple: #360a5c;
  --link: #0000ee;
  font-family: "Montserrat", system-ui, sans-serif;
  background: #ffffff;
  color: #000000;
}
.t-pf h1, .t-pf h2, .t-pf h3 { font-family: "Montserrat", sans-serif; }

.t-pf .mui-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 5000px; padding: 8px 22px;
  background: #0092ff; color: #fff; border: 0;
  font-family: inherit; font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em; cursor: pointer;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s, background 0.2s;
}
.t-pf .mui-btn:hover, .t-pf .mui-btn.is-hover { background: #0077d4; }
.t-pf .mui-btn--outlined { background: transparent; color: #0092ff; border: 1px solid rgba(0, 146, 255, 0.5); box-shadow: none; }
.t-pf .mui-btn--text { background: transparent; color: #0092ff; box-shadow: none; }

.t-pf .fx-btn {
  background: none; border: 2px solid; font: inherit; font-family: "Montserrat", sans-serif;
  line-height: 1; padding: 0.75em 1.5em; margin: 0.25em; cursor: pointer;
  color: var(--color, #0092ff);
  --hover: #0092ff;
  transition: 0.25s;
}
.t-pf .fx-btn:hover, .t-pf .fx-btn:focus { border-color: var(--hover); color: #fff; }
.t-pf .fx-btn.fill:hover { box-shadow: inset 0 0 0 2em var(--hover); }
.t-pf .fx-btn.raise:hover { box-shadow: 0 0.5em 0.5em -0.4em var(--hover); transform: translateY(-0.25em); }
.t-pf .fx-btn.up:hover { box-shadow: inset 0 -3.25em 0 0 var(--hover); }
.t-pf .fx-btn.slide:hover { box-shadow: inset 6.5em 0 0 0 var(--hover); }
.t-pf .fx-btn.close:hover { box-shadow: inset -3.5em 0 0 0 var(--hover), inset 3.5em 0 0 0 var(--hover); }
.t-pf .fx-btn.pulse:hover { animation: t-pf-pulse 1s; box-shadow: 0 0 0 2em transparent; }
@keyframes t-pf-pulse { 0% { box-shadow: 0 0 0 0 var(--hover); } }
.t-pf .fx-btn.offset {
  padding: 0.75em 2.5em;
  --color: #360a5c;
  box-shadow: 0.3em 0.3em 0 0 var(--color), inset 0.3em 0.3em 0 0 var(--color);
}
.t-pf .fx-btn.offset:hover { box-shadow: 0 0 0 0 var(--hover), inset 6em 3.5em 0 0 var(--hover); }

.t-pf .mui-field { position: relative; width: 280px; }
.t-pf .mui-field input, .t-pf .mui-field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: #000;
  padding: 16.5px 14px; border: 1px solid rgba(0, 0, 0, 0.23); border-radius: 4px;
  background: #fff; transition: border-color 0.15s;
}
.t-pf .mui-field textarea { resize: vertical; min-height: 96px; }
.t-pf .mui-field input:focus, .t-pf .mui-field textarea:focus { outline: none; border: 2px solid #0092ff; padding: 15.5px 13px; }
.t-pf .mui-field label {
  position: absolute; top: -8px; left: 9px; padding: 0 5px;
  background: #fff; font-size: 12px; color: rgba(0, 0, 0, 0.6);
}
.t-pf .mui-field input:focus + label, .t-pf .mui-field.is-focus label { color: #0092ff; }

.t-pf .pf-link { color: #0000ee; cursor: pointer; text-decoration: none; }
.t-pf .pf-link:hover { text-decoration: underline; }
.t-pf .pf-link.visited { color: #551a8b; }

.t-pf .br-card {
  border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.14);
  padding: 20px; width: 280px; background: #fff;
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
}
.t-pf .br-card h3 { margin: 0 0 6px; font-size: 16px; }
.t-pf .br-card p { margin: 0; font-size: 13px; color: #737373; }

.t-pf .cursor-ball { width: 20px; height: 20px; border: 3px solid #0092ff; border-radius: 50%; }

.t-pf .pf-h1 { font-size: 32px; color: #000; margin: 0; }
.t-pf .pf-h2 { font-size: 24px; color: #292929; line-height: 1.3em; margin: 0; }
.t-pf .pf-h3 { font-size: 18px; color: #737373; line-height: 1.3em; margin: 0; }

/* generic helpers reused inside stages */
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
