/* ==========================================================================
   LMCZ Jurídico & Fiscal — design tokens
   Paleta medida directo del logo real (#1E4C59). Dos colores, sin acentos.
   ========================================================================== */

:root {
  --color-primary: #1e4c59;
  --color-primary-dark: #163a44;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f5f5;
  --color-text: #0a0a0a;
  --color-text-muted: #55606a;
  --color-on-primary: #ffffff;
  --color-border: #e3e6e7;

  --font-display: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Switzer", "Helvetica Neue", Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;
  --space-8: 9rem;

  --radius-sm: 10px;
  --radius-md: 16px;
  --container: 1180px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-base: 450ms;
}

/* ---- view transitions (native cross-page motion) ---- */
@view-transition {
  navigation: auto;
}
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: page-out 380ms var(--ease-out) forwards; }
::view-transition-new(root) { animation: page-in 420ms var(--ease-out) forwards; }
::view-transition-old(site-header),
::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }
@keyframes page-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* ---- reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }

.container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ---- eyebrow / labels ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: inline-block;
  position: relative;
  padding-bottom: var(--space-2);
}
.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background: var(--color-primary);
}
.eyebrow--on-primary { color: var(--color-primary); }
.eyebrow--on-primary::after { background: var(--color-primary); }

/* ---- header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 32px; width: 32px; object-fit: contain; }
.brand__text {
  display: flex;
  flex-direction: column;
  padding-left: 0.6rem;
  border-left: 1px solid var(--color-border);
  line-height: 1.2;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.brand__tagline {
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--color-primary); background: rgba(30, 76, 89, 0.09); }
.nav-links a[aria-current="page"] {
  color: var(--color-on-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: 0 4px 14px -6px rgba(30, 76, 89, 0.55);
}

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 4px 0;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-on-primary);
  box-shadow: 0 10px 24px -10px rgba(30, 76, 89, 0.55);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  box-shadow: 0 14px 30px -8px rgba(30, 76, 89, 0.6);
}
.btn--ghost-on-primary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--ghost-on-primary:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: var(--color-on-primary); }
.btn { transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform 150ms var(--ease-out); }
[data-magnetic] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
}

/* ---- sections ---- */
section { position: relative; overflow: hidden; padding: var(--space-7) 0; background: rgba(255, 255, 255, 0.5); }
.section--soft { background: linear-gradient(165deg, rgba(255, 255, 255, 0.5) 0%, rgba(244, 245, 245, 0.5) 60%, rgba(238, 241, 241, 0.5) 100%); }
.section--primary { position: relative; overflow: hidden; background: linear-gradient(165deg, rgba(255, 255, 255, 0.5) 0%, rgba(244, 245, 245, 0.5) 55%, rgba(238, 241, 241, 0.5) 100%); color: var(--color-text); }
.section--primary p { color: var(--color-text-muted); }
.section--primary .container { position: relative; z-index: 1; }

.section-head { max-width: 640px; margin-bottom: var(--space-5); }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: var(--space-2); }

/* ---- structure background (blueprint motif) ---- */
.structure-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--color-primary);
  overflow: hidden;
  pointer-events: none;
}
.structure-bg--on-primary { color: var(--color-primary); }
.structure-lines .s-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.6;
  animation: draw-line 1100ms var(--ease-out) forwards;
}
.structure-lines .s-line:nth-child(1) { animation-delay: 120ms; }
.structure-lines .s-line:nth-child(2) { animation-delay: 300ms; }
.structure-lines .s-line:nth-child(3) { animation-delay: 480ms; }
.structure-lines .s-line:nth-child(4) { animation-delay: 660ms; }
.structure-lines .s-line:nth-child(5) { animation-delay: 840ms; }
.structure-nodes .s-node {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(0);
}
.structure-nodes .s-node:nth-child(1) { animation: node-in 450ms var(--ease-out) 1100ms forwards, node-pulse 3400ms ease-in-out 1600ms infinite; }
.structure-nodes .s-node:nth-child(2) { animation: node-in 450ms var(--ease-out) 1300ms forwards, node-pulse 3400ms ease-in-out 1800ms infinite; }
.structure-nodes .s-node:nth-child(3) { animation: node-in 450ms var(--ease-out) 1500ms forwards, node-pulse 3400ms ease-in-out 2000ms infinite; }
.structure-nodes .s-node:nth-child(4) { animation: node-in 450ms var(--ease-out) 1700ms forwards, node-pulse 3400ms ease-in-out 2200ms infinite; }
.structure-nodes .s-node:nth-child(5) { animation: node-in 450ms var(--ease-out) 1900ms forwards, node-pulse 3400ms ease-in-out 2400ms infinite; }
.structure-nodes .s-node:nth-child(6) { animation: node-in 450ms var(--ease-out) 2100ms forwards, node-pulse 3400ms ease-in-out 2600ms infinite; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes node-in { to { opacity: 0.9; transform: scale(1); } }
@keyframes node-pulse { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) {
  .structure-lines .s-line { animation: none; stroke-dashoffset: 0; }
  .structure-nodes .s-node { animation: none; opacity: 0.75; transform: scale(1); }
}

/* ---- hero mouse-follow glow ---- */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 18%), rgba(30, 76, 89, 0.14), transparent 70%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow { display: none; }
}

/* ---- floating shapes (dark sections) ---- */
.floating-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.floating-shapes span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: drift 15s ease-in-out infinite;
}
.floating-shapes span:nth-child(1) { width: 46px; height: 46px; top: 18%; left: 8%; animation-duration: 16s; }
.floating-shapes span:nth-child(2) { width: 22px; height: 22px; top: 68%; left: 20%; border-radius: 50%; animation-duration: 12s; animation-delay: -3s; }
.floating-shapes span:nth-child(3) { width: 34px; height: 34px; top: 24%; right: 12%; animation-duration: 18s; animation-delay: -6s; }
.floating-shapes span:nth-child(4) { width: 16px; height: 16px; bottom: 18%; right: 26%; border-radius: 50%; animation-duration: 10s; animation-delay: -2s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(14px, -18px) rotate(12deg); }
}
@media (prefers-reduced-motion: reduce) {
  .floating-shapes span { animation: none; }
}

/* ---- hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-8) 0 var(--space-7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 245, 245, 0.86) 55%, rgba(244, 245, 245, 0.97) 100%),
    url("generated/hero-structure.webp") center 62% / cover no-repeat;
}

/* ---- visual panel (photography showcase) ---- */
.visual-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
}
.visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  transition: transform 1100ms var(--ease-out);
}
.visual-panel.is-visible img { transform: scale(1); }
.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 76, 89, 0.05) 0%, rgba(30, 76, 89, 0.3) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .visual-panel img { transition: none; transform: scale(1); }
}
.hero__content { position: relative; z-index: 1; max-width: 780px; }

/* ---- hero split layout (statue visual + floating stat cards) ---- */
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: center;
}
.hero__text { max-width: 560px; }
.hero__visual { position: relative; display: flex; justify-content: center; padding: var(--space-4) 0; }
.hero__visual img {
  width: 100%;
  height: auto;
  max-width: 172px;
  display: block;
  filter: drop-shadow(0 20px 22px rgba(10, 20, 24, 0.22));
}
.hero__stat-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px -18px rgba(10, 20, 24, 0.35);
  padding: var(--space-2) var(--space-3);
  z-index: 2;
  transition: transform var(--dur-base) var(--ease-out);
}
.hero__stat-card:hover { transform: translateY(-3px); }
.hero__stat-card--top { top: 6%; left: -4%; }
.hero__stat-card--bottom { bottom: 8%; right: -6%; }
.hero__stat-card__value { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--color-primary); line-height: 1; }
.hero__stat-card__label { font-size: 0.72rem; color: var(--color-text-muted); margin-top: 3px; max-width: 128px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; margin-bottom: var(--space-2); }
  .hero__stat-card--top { top: -2%; left: 2%; }
  .hero__stat-card--bottom { bottom: 4%; right: 2%; }
}

/* ---- pillar color icon badges ---- */
.pillar__icon {
  width: 72px;
  height: auto;
  margin-bottom: var(--space-2);
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}
.pillar:hover .pillar__icon { transform: scale(1.06) rotate(-3deg); }
@media (prefers-reduced-motion: reduce) {
  .pillar__icon { transition: none; }
}

/* ---- attorney spotlight card ---- */
.attorney-spotlight {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.attorney-spotlight__photo {
  position: relative;
  flex-shrink: 0;
  width: 180px;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(10, 20, 24, 0.4);
}
.attorney-spotlight__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.attorney-spotlight__badge {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  right: var(--space-2);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.attorney-spotlight__text h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: var(--space-1); }
.attorney-spotlight__text .lede { margin-top: var(--space-2); max-width: 480px; }
@media (max-width: 860px) {
  .attorney-spotlight { flex-direction: column; text-align: center; }
  .attorney-spotlight__photo { width: 160px; height: 196px; }
}

/* ---- page-hero (secondary pages intro) ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-6);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .structure-bg { opacity: 0.7; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  margin-top: var(--space-2);
  letter-spacing: -0.01em;
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-top: var(--space-3);
}
.hero__actions { display: flex; gap: var(--space-2); margin-top: var(--space-4); flex-wrap: wrap; }

/* ---- intro firm (logo + presentation) ---- */
.intro-firm {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.intro-firm__logo {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.intro-firm__text h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-top: var(--space-1);
}
.intro-firm__text .lede {
  margin-top: var(--space-2);
  max-width: 640px;
}
.intro-firm__text .btn {
  margin-top: var(--space-3);
}
@media (max-width: 860px) {
  .intro-firm { flex-direction: column; text-align: center; gap: var(--space-3); }
  .intro-firm__text .lede { max-width: none; }
}

/* ---- pillars grid ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.pillar {
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #ffffff 0%, #fbfcfc 100%);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 32px -20px rgba(30, 76, 89, 0.35);
}
.pillar__index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}
.pillar h3 { font-size: 1.2rem; margin-top: var(--space-2); }
.pillar p { color: var(--color-text-muted); margin-top: var(--space-1); }

.closing-note {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ---- statement (dark) block ---- */
.statement { text-align: left; }
.statement h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  max-width: 760px;
  margin-top: var(--space-3);
}
.statement h2 strong { color: var(--color-primary); font-weight: 700; }

/* ---- simple content blocks (Nosotros / Soluciones / Bolsa) ---- */
.prose { max-width: 720px; }
.prose p + p { margin-top: var(--space-2); }
.placeholder-note {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-soft);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.card {
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #ffffff 0%, #fbfcfc 100%);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 32px -20px rgba(30, 76, 89, 0.35);
}
.card h3 { font-size: 1.05rem; }
.card p { color: var(--color-text-muted); margin-top: var(--space-1); font-size: 0.92rem; }
.card__icon {
  width: 64px;
  height: auto;
  margin-bottom: var(--space-2);
  transition: transform var(--dur-base) var(--ease-out);
}
.card:hover .card__icon { transform: scale(1.06) rotate(-2deg); }
@media (prefers-reduced-motion: reduce) {
  .card__icon { transition: none; }
}

/* ---- stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
}
.stat__label {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---- team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.person { text-align: left; }
.person__avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}
.person__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.person__avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(30, 76, 89, 0.5) 100%);
}
.person__avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 66%);
  background-size: 220% 220%;
  background-position: -40% -40%;
  animation: avatar-sheen 6s ease-in-out infinite;
}
.person:nth-child(2) .person__avatar::after { animation-delay: 1.4s; }
.person:nth-child(3) .person__avatar::after { animation-delay: 2.8s; }
.person:nth-child(4) .person__avatar::after { animation-delay: 4.2s; }
@keyframes avatar-sheen {
  0%, 30% { background-position: -40% -40%; }
  70%, 100% { background-position: 140% 140%; }
}
.person__avatar { transition: transform var(--dur-base) var(--ease-out); }
.person:hover .person__avatar { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  .person__avatar::after { animation: none; }
  .person__avatar { transition: none; }
}
.person__name { font-weight: 600; font-size: 1rem; }
.person__role { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.2rem; }

/* ---- values ---- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.value__mark {
  width: 68px;
  height: auto;
  margin-bottom: var(--space-2);
  transition: transform var(--dur-base) var(--ease-out);
}
.value:hover .value__mark { transform: scale(1.06) rotate(-3deg); }
@media (prefers-reduced-motion: reduce) {
  .value__mark { transition: none; }
}
.value h3 { font-size: 1.1rem; }
.value p { color: var(--color-text-muted); margin-top: var(--space-1); font-size: 0.95rem; }

/* ---- job listing ---- */
.job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease-out);
}
.job:hover { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .job { transition: none; }
}
.job__title { font-size: 1.15rem; font-weight: 600; }
.job__meta { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.25rem; }

/* ---- contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.contact-item { margin-bottom: var(--space-3); }
.contact-item .eyebrow { font-size: 0.68rem; }
.contact-item a, .contact-item p { font-size: 1.05rem; margin-top: var(--space-1); }

/* ---- footer ---- */
.site-footer {
  padding: var(--space-5) 0 var(--space-4);
  border-top: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, #eaeded 100%);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.footer-col p, .footer-col a { font-size: 0.92rem; display: block; margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---- ambient aura background (one fixed layer behind the whole page) ---- */
.aura-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(28px);
}
.aura-bg span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.85;
}
.aura-bg span:nth-child(1) {
  width: 24vw;
  height: 24vw;
  max-width: 260px;
  max-height: 260px;
  top: 4%;
  left: 4%;
  background: var(--color-primary);
  animation: aura-drift-a 24s ease-in-out infinite;
}
.aura-bg span:nth-child(2) {
  width: 20vw;
  height: 20vw;
  max-width: 220px;
  max-height: 220px;
  top: 10%;
  right: 6%;
  background: #4f8c99;
  animation: aura-drift-b 26s ease-in-out infinite;
}
.aura-bg span:nth-child(3) {
  width: 18vw;
  height: 18vw;
  max-width: 200px;
  max-height: 200px;
  bottom: 12%;
  left: 10%;
  background: var(--color-primary-dark);
  opacity: 0.7;
  animation: aura-drift-c 30s ease-in-out infinite;
}
.aura-bg span:nth-child(4) {
  width: 22vw;
  height: 22vw;
  max-width: 240px;
  max-height: 240px;
  bottom: 6%;
  right: 4%;
  background: var(--color-primary);
  animation: aura-drift-a 27s ease-in-out infinite reverse;
  animation-delay: -6s;
}
.aura-bg span:nth-child(5) {
  width: 16vw;
  height: 16vw;
  max-width: 180px;
  max-height: 180px;
  top: 44%;
  left: 42%;
  background: #4f8c99;
  opacity: 0.65;
  animation: aura-drift-b 22s ease-in-out infinite reverse;
  animation-delay: -4s;
}
@keyframes aura-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, 5%) scale(1.15); }
}
@keyframes aura-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6%, -4%) scale(1.12); }
}
@keyframes aura-drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -6%) scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .aura-bg span { animation: none; }
}

/* ---- ambient circuit lines (one fixed layer, ties the whole page together) ---- */
.circuit-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.circuit-bg svg { width: 100%; height: 100%; display: block; }
.circuit-lines path {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.5;
  opacity: 0.16;
}
.circuit-nodes circle {
  fill: var(--color-primary);
  opacity: 0.3;
}
.circuit-lines__pulse {
  stroke-dasharray: 10 14;
  animation: circuit-flow 7s linear infinite;
}
@keyframes circuit-flow { to { stroke-dashoffset: -48; } }
.circuit-nodes circle:nth-child(3n) { animation: circuit-node-pulse 4200ms ease-in-out infinite; }
.circuit-nodes circle:nth-child(3n + 1) { animation: circuit-node-pulse 4200ms ease-in-out infinite; animation-delay: -1400ms; }
.circuit-nodes circle:nth-child(3n + 2) { animation: circuit-node-pulse 4200ms ease-in-out infinite; animation-delay: -2800ms; }
@keyframes circuit-node-pulse { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.42; } }
@media (prefers-reduced-motion: reduce) {
  .circuit-lines__pulse { animation: none; }
  .circuit-nodes circle { animation: none !important; opacity: 0.3; }
}

/* ---- scroll-driven "book" section reveal ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    main > section {
      transform-origin: top center;
      animation-name: book-open;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    @keyframes book-open {
      from { transform: perspective(1400px) rotateX(-16deg); opacity: 0.55; box-shadow: 0 50px 70px -35px rgba(10, 20, 24, 0.4); }
      to { transform: perspective(1400px) rotateX(0deg); opacity: 1; box-shadow: 0 0 0 rgba(10, 20, 24, 0); }
    }
  }
}

/* ---- scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .job { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
}

body.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg);
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  gap: var(--space-2);
  animation: nav-drop 260ms var(--ease-out);
}
@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  body.nav-open .nav-links { animation: none; }
}

/* ==========================================================================
   HOMEPAGE — dark signal theme (Inicio only, scoped to body.theme-dark)
   El azul de marca (#1e4c59) se conserva íntegro y se usa en piezas reales
   (nav activo, hover de botón outline, footer); el glow es un tinte más
   brillante del MISMO tono (~193°), no un color nuevo.
   ========================================================================== */
body.theme-dark {
  --noir-bg: #272c31;
  --noir-bg-elevated: #333a42;
  --noir-border: rgba(94, 209, 230, 0.18);
  --noir-text: #eaf6f8;
  --noir-text-muted: #7fa3ac;
  --glow: #33d3e6;
  --glow-soft: rgba(51, 211, 230, 0.35);
  background: var(--noir-bg);
  color: var(--noir-text);
}
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3 { color: var(--noir-text); }
body.theme-dark .lede,
body.theme-dark .hero p.lede { color: var(--noir-text-muted); }
body.theme-dark section,
body.theme-dark .section--soft,
body.theme-dark .section--primary { background: transparent; }

/* header / nav — floating glass pill */
body.theme-dark .site-header {
  top: var(--space-2);
  max-width: calc(var(--container) - 40px);
  margin: 0 auto;
  background: rgba(46, 52, 58, 0.72);
  border: none;
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 8px 32px -14px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--noir-border) inset;
}
body.theme-dark .site-header__inner { padding: 0.4rem var(--space-2); }
body.theme-dark .brand__name { color: var(--noir-text); }
body.theme-dark .brand__tagline { color: var(--noir-text-muted); }
body.theme-dark .brand__text { border-left-color: var(--noir-border); }
body.theme-dark .nav-links a { color: var(--noir-text); }
body.theme-dark .nav-links a:hover { color: var(--glow); background: rgba(51, 211, 230, 0.08); }
body.theme-dark .nav-links a[aria-current="page"] {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 18px -2px var(--glow-soft);
}
body.theme-dark .nav-toggle span { background: var(--noir-text); }
body.theme-dark.nav-open .nav-links { background: var(--noir-bg-elevated); border-bottom-color: var(--noir-border); }

/* buttons */
body.theme-dark .btn--primary {
  background: var(--glow);
  color: #04141a;
  box-shadow: 0 0 0 1px rgba(51, 211, 230, 0.4) inset, 0 16px 36px -10px rgba(51, 211, 230, 0.55);
}
body.theme-dark .btn--primary:hover {
  background: #52e2f2;
  box-shadow: 0 0 0 1px rgba(51, 211, 230, 0.55) inset, 0 20px 44px -8px rgba(51, 211, 230, 0.75);
}
body.theme-dark .btn--outline { color: var(--noir-text); border-color: var(--noir-border); }
body.theme-dark .btn--outline:hover { background: var(--color-primary); color: #ffffff; border-color: var(--color-primary); }

/* ambient layers recolored into the signal palette */
body.theme-dark .circuit-lines path { stroke: var(--glow); opacity: 0.35; }
body.theme-dark .circuit-nodes circle { fill: var(--glow); opacity: 0.55; }
body.theme-dark .aura-bg { filter: blur(70px); }
body.theme-dark .aura-bg span { opacity: 0.32; }
body.theme-dark .aura-bg span:nth-child(1),
body.theme-dark .aura-bg span:nth-child(4) { background: var(--color-primary); }
body.theme-dark .aura-bg span:nth-child(2),
body.theme-dark .aura-bg span:nth-child(5) { background: var(--glow); }
body.theme-dark .aura-bg span:nth-child(3) { background: var(--color-primary-dark); }
body.theme-dark .hero-glow {
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 18%), rgba(51, 211, 230, 0.18), transparent 70%);
}
body.theme-dark .floating-shapes span {
  border-color: rgba(51, 211, 230, 0.35);
  box-shadow: 0 0 12px -2px rgba(51, 211, 230, 0.4);
}

/* intro-firm */
body.theme-dark .intro-firm__logo {
  background: rgba(255, 255, 255, 0.96);
  padding: 14px;
  box-shadow: 0 0 30px -6px rgba(51, 211, 230, 0.4);
}

/* hero */
body.theme-dark .hero {
  background:
    radial-gradient(1100px 620px at 78% 8%, rgba(51, 211, 230, 0.16), transparent 60%),
    radial-gradient(760px 520px at 8% 92%, rgba(30, 76, 89, 0.4), transparent 65%),
    var(--noir-bg);
}
body.theme-dark .hero h1 {
  text-shadow: 0 0 26px rgba(51, 211, 230, 0.5), 0 0 64px rgba(51, 211, 230, 0.22);
  animation: glow-breathe 5s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { text-shadow: 0 0 22px rgba(51, 211, 230, 0.42), 0 0 56px rgba(51, 211, 230, 0.18); }
  50% { text-shadow: 0 0 32px rgba(51, 211, 230, 0.68), 0 0 84px rgba(51, 211, 230, 0.32); }
}
body.theme-dark .hero__visual { position: relative; }
body.theme-dark .hero__visual::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(51, 211, 230, 0.32), transparent 72%);
  filter: blur(6px);
}
body.theme-dark .hero__visual img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 36px rgba(51, 211, 230, 0.4)) saturate(0.85) brightness(1.04);
}
body.theme-dark .hero__stat-card {
  background: rgba(46, 52, 58, 0.78);
  border: 1px solid var(--noir-border);
  box-shadow: 0 0 0 1px rgba(51, 211, 230, 0.08) inset, 0 20px 45px -20px rgba(0, 0, 0, 0.75), 0 0 24px -8px rgba(51, 211, 230, 0.4);
  backdrop-filter: blur(12px);
}
body.theme-dark .hero__stat-card__value { color: var(--glow); text-shadow: 0 0 16px rgba(51, 211, 230, 0.5); }
body.theme-dark .hero__stat-card__label { color: var(--noir-text-muted); }
@media (prefers-reduced-motion: reduce) {
  body.theme-dark .hero h1 { animation: none; }
}

/* system — connected signal line replacing an icon/heading/text card grid */
body.theme-dark .system { position: relative; max-width: 760px; margin-top: var(--space-2); }
body.theme-dark .system__line {
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 23px;
  width: 2px;
  background: linear-gradient(180deg, var(--glow) 0%, rgba(51, 211, 230, 0.15) 100%);
  box-shadow: 0 0 12px 1px rgba(51, 211, 230, 0.5);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 900ms var(--ease-out) 200ms;
}
body.theme-dark .system.is-visible .system__line { transform: scaleY(1); }
body.theme-dark .system__row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}
body.theme-dark .system__row:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
body.theme-dark .system__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #ffffff, #eef7f8 60%);
  box-shadow: 0 0 0 4px var(--noir-bg), 0 0 18px -4px rgba(51, 211, 230, 0.6);
}
body.theme-dark .system__icon img { width: 26px; height: 26px; object-fit: contain; }
body.theme-dark .system__tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 0.2rem;
}
body.theme-dark .system__body h3 { font-size: 1.15rem; }
body.theme-dark .system__body p { color: var(--noir-text-muted); margin-top: 0.4rem; }
body.theme-dark .system__body a { color: var(--glow); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  body.theme-dark .system__line { transition: none; }
}
body.theme-dark .system__line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--noir-text);
  box-shadow: 0 0 12px 3px rgba(51, 211, 230, 0.9);
  animation: signal-travel 3.6s linear infinite;
  animation-delay: 1.2s;
}
@keyframes signal-travel {
  0% { top: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-dark .system__line::after { display: none; }
}

/* extra motion — stronger ambient drift, hero float, brighter circuit flow */
body.theme-dark .aura-bg span:nth-child(1) { animation: aura-drift-dark-a 13s ease-in-out infinite; }
body.theme-dark .aura-bg span:nth-child(2) { animation: aura-drift-dark-b 14s ease-in-out infinite; }
body.theme-dark .aura-bg span:nth-child(3) { animation: aura-drift-dark-c 16s ease-in-out infinite; }
body.theme-dark .aura-bg span:nth-child(4) { animation: aura-drift-dark-a 15s ease-in-out infinite reverse; animation-delay: -5s; }
body.theme-dark .aura-bg span:nth-child(5) { animation: aura-drift-dark-b 12s ease-in-out infinite reverse; animation-delay: -3s; }
@keyframes aura-drift-dark-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(11%, 9%) scale(1.3); }
}
@keyframes aura-drift-dark-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12%, -8%) scale(1.22); }
}
@keyframes aura-drift-dark-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(9%, -12%) scale(0.82); }
}
body.theme-dark .circuit-lines__pulse { animation-duration: 4.2s; }
body.theme-dark .circuit-nodes circle:nth-child(3n) { animation-duration: 3000ms; }
body.theme-dark .circuit-nodes circle:nth-child(3n + 1) { animation-duration: 3000ms; }
body.theme-dark .circuit-nodes circle:nth-child(3n + 2) { animation-duration: 3000ms; }
body.theme-dark .hero__visual img { animation: hero-float 6.5s ease-in-out infinite; }
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
body.theme-dark .btn--primary { animation: btn-pulse 3.4s ease-in-out infinite; }
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(51, 211, 230, 0.4) inset, 0 16px 36px -10px rgba(51, 211, 230, 0.55); }
  50% { box-shadow: 0 0 0 1px rgba(51, 211, 230, 0.55) inset, 0 18px 42px -8px rgba(51, 211, 230, 0.8); }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-dark .aura-bg span { animation: none; }
  body.theme-dark .hero__visual img { animation: none; }
  body.theme-dark .btn--primary { animation: none; }
}

/* statement */
body.theme-dark .section--primary {
  background: radial-gradient(900px 500px at 20% 20%, rgba(51, 211, 230, 0.12), transparent 60%), var(--noir-bg);
}
body.theme-dark .statement h2 strong {
  color: var(--glow);
  text-shadow: 0 0 24px rgba(51, 211, 230, 0.5);
}

/* contact banner */
.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.contact-banner__heading { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: var(--space-2); }
body.theme-dark .contact-banner {
  background: rgba(46, 52, 58, 0.6);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: 0 0 40px -14px rgba(51, 211, 230, 0.28);
}

/* footer */
body.theme-dark .site-footer {
  background: linear-gradient(180deg, #2c3137 0%, #272c31 100%);
  border-top-color: var(--noir-border);
}
body.theme-dark .footer-col h4 { color: var(--noir-text-muted); }
body.theme-dark .footer-col p,
body.theme-dark .footer-col a { color: var(--noir-text); }
body.theme-dark .footer-col a:hover { color: var(--glow); }
body.theme-dark .footer-bottom { color: var(--noir-text-muted); border-top-color: var(--noir-border); }

/* ==========================================================================
   HOMEPAGE THEME — extended to secondary pages (Nosotros, Servicios,
   Soluciones, Bolsa de Trabajo) via the same body.theme-dark scope.
   ========================================================================== */

/* page-hero (secondary-page intro banner) */
body.theme-dark .page-hero {
  background:
    radial-gradient(1000px 560px at 82% 0%, rgba(51, 211, 230, 0.14), transparent 60%),
    var(--noir-bg);
}
body.theme-dark .page-hero h1 {
  text-shadow: 0 0 24px rgba(51, 211, 230, 0.4), 0 0 56px rgba(51, 211, 230, 0.18);
}

/* section-head — keeps headings legible over the fixed circuit-line background */
body.theme-dark .section-head h2 {
  text-shadow: 0 0 14px var(--noir-bg), 0 0 14px var(--noir-bg), 0 0 30px var(--noir-bg), 0 0 10px rgba(51, 211, 230, 0.35);
}

/* ghost-on-primary button (used on the Servicios statement block) */
body.theme-dark .btn--ghost-on-primary {
  color: var(--noir-text);
  border: 1px solid var(--noir-border);
}
body.theme-dark .btn--ghost-on-primary:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* attorney spotlight (Nosotros) */
body.theme-dark .attorney-spotlight__photo {
  box-shadow: 0 0 0 1px var(--noir-border), 0 24px 48px -20px rgba(0, 0, 0, 0.7), 0 0 32px -10px rgba(51, 211, 230, 0.4);
}
body.theme-dark .attorney-spotlight__badge {
  background: rgba(46, 52, 58, 0.85);
  color: var(--glow);
  border: 1px solid var(--noir-border);
  backdrop-filter: blur(6px);
}
body.theme-dark .attorney-spotlight__role {
  color: var(--noir-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
}

/* stats (Nosotros) */
body.theme-dark .stat__value { color: var(--glow); text-shadow: 0 0 18px rgba(51, 211, 230, 0.45); }
body.theme-dark .stat__label { color: var(--noir-text-muted); }

/* team grid (Nosotros) */
body.theme-dark .person__avatar { background: var(--noir-bg-elevated); box-shadow: 0 0 0 1px var(--noir-border); }
body.theme-dark .person__avatar::before { background: linear-gradient(180deg, transparent 55%, rgba(39, 44, 49, 0.75) 100%); }
body.theme-dark .person__name { color: var(--noir-text); }
body.theme-dark .person__role { color: var(--noir-text-muted); }

/* visual-panel (photography showcase — Servicios, Soluciones, Bolsa) */
body.theme-dark .visual-panel {
  box-shadow: 0 0 0 1px var(--noir-border), 0 30px 60px -30px rgba(0, 0, 0, 0.75), 0 0 40px -14px rgba(51, 211, 230, 0.3);
}
body.theme-dark .visual-panel::after {
  background: linear-gradient(180deg, rgba(39, 44, 49, 0.1) 0%, rgba(39, 44, 49, 0.55) 100%);
}

/* text-list — plain heading+paragraph rows, no icon/card (Bolsa de Trabajo) */
body.theme-dark .text-list { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: var(--space-2); max-width: 640px; }
body.theme-dark .text-list__item { padding: var(--space-3) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
body.theme-dark .text-list__item h3 { font-size: 1.1rem; }
body.theme-dark .text-list__item p { color: var(--noir-text-muted); margin-top: 0.35rem; }

/* job listing (Bolsa de Trabajo) */
body.theme-dark .job { border-bottom-color: rgba(255, 255, 255, 0.08); }
body.theme-dark .job__title { color: var(--noir-text); }
body.theme-dark .job__meta { color: var(--noir-text-muted); }

/* selector — command-list component for Soluciones' 4 situations
   (deliberately not a card grid: full-width rows, no persistent line,
   row itself highlights on hover, distinct from the Signal List) */
body.theme-dark .selector { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: var(--space-2); }
body.theme-dark .selector__row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
body.theme-dark .selector__row:hover {
  background: rgba(51, 211, 230, 0.06);
  transform: translateX(var(--space-3));
}
body.theme-dark .selector__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at 35% 30%, #ffffff, #eef7f8 60%);
  box-shadow: 0 0 18px -4px rgba(51, 211, 230, 0.5);
}
body.theme-dark .selector__icon img { width: 24px; height: 24px; object-fit: contain; }
body.theme-dark .selector__body { flex: 1; }
body.theme-dark .selector__body h3 { font-size: 1.05rem; }
body.theme-dark .selector__body p { color: var(--noir-text-muted); margin-top: 0.25rem; font-size: 0.92rem; }
body.theme-dark .selector__go {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--noir-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--noir-text-muted);
  transition: transform var(--dur-base) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
body.theme-dark .selector__row:hover .selector__go {
  transform: translateX(4px);
  color: var(--glow);
  border-color: var(--glow);
}
@media (prefers-reduced-motion: reduce) {
  body.theme-dark .selector__row,
  body.theme-dark .selector__go { transition: none; }
}
@media (max-width: 860px) {
  body.theme-dark .selector__row { flex-wrap: wrap; }
}
