/* =================================================================
   TBCS Design System v2.0
   TechBridge Consulting Systems
   Archivo único de estilos — un cambio aquí actualiza todo el sitio
   ================================================================= */

/* ─── 1. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Colores base */
  --color-bg:        #080D16;
  --color-surface:   #0E1623;
  --color-surface-2: #121D2E;
  --color-border:    rgba(133, 170, 214, 0.18);
  --color-border-lg: rgba(133, 170, 214, 0.3);

  /* Azul de marca */
  --color-blue:      #00A3FF;
  --color-blue-lt:   #39C2FF;
  --color-blue-dim:  rgba(0, 163, 255, 0.14);
  --color-blue-glow: rgba(0, 163, 255, 0.32);

  /* Texto */
  --color-text:      #F9FAFB;
  --color-text-sub:  #9CA3AF;
  --color-text-muted:#6B7280;

  /* Tipografía */
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;

  /* Espaciado de secciones */
  --section-py: 5rem;

  /* Radios */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;

  /* Transiciones */
  --transition: 0.2s ease;
}

/* ─── 2. RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='1.2' cy='1.2' r='1.1' fill='%2300A3FF' fill-opacity='0.22'/%3E%3C/svg%3E");
  background-size: 26px 26px;
  opacity: 0.12;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ─── 3. TIPOGRAFÍA ─────────────────────────────────────────────── */
.t-display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--color-text);
}
.t-h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
}
.t-h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}
.t-body { font-size: 0.9375rem; color: var(--color-text-sub); line-height: 1.7; }
.t-small { font-size: 0.8125rem; color: var(--color-text-sub); line-height: 1.6; }
.t-xs    { font-size: 0.75rem;   color: var(--color-text-muted); }
.t-accent { color: var(--color-blue-lt); }

/* ─── 4. LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-py) 0; }
.section--surface {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: inset 0 1px 0 rgba(0, 163, 255, 0.08), inset 0 -1px 0 rgba(0, 163, 255, 0.06);
}

/* Grid helpers */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }

/* ─── 5. NAVEGACIÓN ─────────────────────────────────────────────── */
#tbcs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.nav-logo-main {
  height: 95px;
  width: auto;
  max-width: 575px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
.nav-logo-icon {
  display: none;
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-sub);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--color-text); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--color-blue);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover { background: var(--color-blue-lt); transform: translateY(-1px); box-shadow: 0 0 0 3px rgba(57, 194, 255, 0.18); }

.nav-mobile-btn {
  display: none;
  padding: 0.5rem;
  color: var(--color-text-sub);
  transition: color var(--transition);
}
.nav-mobile-btn:hover { color: var(--color-text); }
.nav-mobile-btn svg { width: 24px; height: 24px; }

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  background: rgba(11, 15, 26, 0.98);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(20px);
}
.nav-mobile-menu.open { display: block; }

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-sub);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}
.nav-mobile-link:hover { color: var(--color-text); }
.nav-mobile-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
  padding: 0.875rem;
  border-radius: var(--radius-sm);
  background: var(--color-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: background var(--transition);
}
.nav-mobile-cta:hover { background: var(--color-blue-lt); }

@media (max-width: 768px) {
  .nav-inner { height: 118px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-logo-main { display: none; }
  .nav-logo-icon { display: block; }
}

/* ─── 6. BOTONES ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  padding: 0.875rem 2rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 0 0 0 var(--color-blue-glow);
}
.btn--primary:hover {
  background: var(--color-blue-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--color-blue-glow);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-sub);
  border: 1px solid var(--color-border-lg);
}
.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-blue-lt);
  border: 1px solid rgba(37, 99, 235, 0.35);
}
.btn--ghost:hover {
  background: var(--color-blue-dim);
  border-color: var(--color-blue);
  color: var(--color-text);
}

.btn--sm { font-size: 0.8125rem; padding: 0.625rem 1.25rem; }
.btn--lg { font-size: 1.0625rem; padding: 1.125rem 2.5rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ─── 7. ETIQUETAS / BADGES ─────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #93C5FD;
  background: rgba(37, 99, 235, 0.08);
}
.label svg { width: 13px; height: 13px; stroke: #93C5FD; fill: none; stroke-width: 2; }

.badge-new {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
  border: 1px solid rgba(37, 99, 235, 0.35);
  vertical-align: middle;
  margin-left: 6px;
}
.badge-live {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(2, 12, 27, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 2rem;
  padding: 0.22rem 0.75rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: blink-badge 2s ease-in-out infinite;
}
@keyframes blink-badge {
  0%, 100% { color: #38bdf8; border-color: rgba(56, 189, 248, 0.35); text-shadow: 0 0 8px rgba(56, 189, 248, 0.6); }
  50%       { color: rgba(56, 189, 248, 0.4); border-color: rgba(56, 189, 248, 0.1); text-shadow: none; }
}

/* ─── 8. SECCIÓN HEADER (título de sección) ─────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .rule {
  width: 40px;
  height: 3px;
  background: var(--color-blue);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}
.section-header p {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  max-width: 520px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* ─── 9. CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: rgba(0, 163, 255, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--color-blue-lt);
  opacity: 0.9;
}

/* Variante destacada para servicios nuevos */
.card--featured {
  border-color: rgba(37, 99, 235, 0.25);
}
.card--featured:hover {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.18);
}

/* Variante dashed (placeholder) */
.card--dashed {
  border-style: dashed;
  border-color: rgba(37, 99, 235, 0.2);
}

/* ─── 10. ICON BOX ──────────────────────────────────────────────── */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-blue-dim);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
}
.icon-box svg {
  width: 22px;
  height: 22px;
  stroke: #93C5FD;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-box--sm { width: 40px; height: 40px; }
.icon-box--sm svg { width: 18px; height: 18px; }

/* ─── 11. LISTA DE CHECKS ───────────────────────────────────────── */
.check-list { margin: 0; padding: 0; }
.check-list li {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
}
.check-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-blue-lt);
  flex-shrink: 0;
}
.check-list--white li { color: rgba(255,255,255,0.75); }
.check-list--white li::before { background: #fff; }

/* ─── 12. SERVICE TAG ───────────────────────────────────────────── */
.service-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 0.5rem;
}

/* ─── 13. TECH TAG ──────────────────────────────────────────────── */
.tech-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.12);
  color: #93C5FD;
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin: 2px 2px 0 0;
}

/* ─── 14. LINK CON FLECHA ───────────────────────────────────────── */
.arrow-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-blue-lt);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.arrow-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.arrow-link:hover { gap: 9px; }

/* ─── 15. STAT CARD ─────────────────────────────────────────────── */
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.stat-card .stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1;
}
.stat-card .stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}

/* ─── 16. STEP ──────────────────────────────────────────────────── */
.step {
  text-align: center;
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--color-blue-dim);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #93C5FD;
  margin: 0 auto 1rem;
}
.step h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ─── 17. EVENT CARD (Invitaciones) ─────────────────────────────── */
.event-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.event-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-3px);
}
.event-card svg {
  width: 32px;
  height: 32px;
  stroke: #93C5FD;
  fill: none;
  stroke-width: 1.5;
  margin: 0 auto 0.75rem;
  display: block;
}
.event-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}
.event-card p {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* ─── 18. PORTFOLIO CARD ────────────────────────────────────────── */

/* Badge "Nuevo" sobre la card */
.portfolio-card--accent {
  position: relative;
}
.portfolio-card--accent .badge-live {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 4;
}

/* Card destacada (Nexora Health) */
.portfolio-card--accent {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15), 0 8px 32px rgba(37, 99, 235, 0.12);
}
.portfolio-card--accent:hover {
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3), 0 16px 48px rgba(37, 99, 235, 0.2);
}

.portfolio-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.12);
}
.portfolio-card--dashed {
  border-style: dashed;
  border-color: rgba(37, 99, 235, 0.2);
}
.portfolio-thumb {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.04);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-thumb svg {
  width: 32px;
  height: 32px;
  stroke: #374151;
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 0.6rem;
}
.portfolio-thumb span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.portfolio-body {
  padding: 1.125rem;
}
.portfolio-body h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}
.portfolio-body p {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

/* Invitación (formato vertical) */
.inv-thumb {
  aspect-ratio: 9 / 16;
  max-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.04);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.inv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inv-thumb svg {
  width: 28px;
  height: 28px;
  stroke: #374151;
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 0.6rem;
}
.inv-thumb span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ─── Carrusel de invitación ──────────────────────────────────────── */
.inv-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 320px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(37, 99, 235, 0.04);
}
.inv-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.inv-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.inv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.inv-slide:hover img {
  transform: scale(1.04);
}
/* Slide vacío (placeholder) */
.inv-slide--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.inv-slide--empty svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 0.5rem;
}
.inv-slide--empty span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
/* Botones prev / next */
.inv-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.inv-carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.08);
}
.inv-carousel-btn svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.inv-carousel-prev { left: 0.5rem; }
.inv-carousel-next { right: 0.5rem; }
/* Dots */
.inv-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}
.inv-carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.inv-carousel-dots .dot.active {
  background: #fff;
  transform: scale(1.4);
}

/* ─── Lightbox ────────────────────────────────────────────────────── */
.tbcs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s;
  cursor: pointer;
}
.tbcs-lightbox.open {
  opacity: 1;
}
.tbcs-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.tbcs-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.tbcs-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.tbcs-lightbox-close svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

/* ─── 19. PRICING CARD ──────────────────────────────────────────── */
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.price-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-4px);
}
.price-card--featured {
  background: var(--color-blue);
  border-color: var(--color-blue-lt);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.3);
}
.price-card--featured:hover {
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
}
.price-tier {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.price-tier--white { color: rgba(255,255,255,0.6); }
.price-amount {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-amount--white { color: #fff; }
.price-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0;
}
.price-amount--white span { color: rgba(255,255,255,0.6); }
.price-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.price-desc--white { color: rgba(255,255,255,0.6); }
.price-cta-white {
  display: block;
  text-align: center;
  background: #fff;
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}
.price-cta-white:hover { transform: translateY(-1px); }

/* ─── 20. HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}
.hero--sub {
  min-height: auto;
  padding: 6.5rem 0;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  margin: 1rem;
  border: 1px solid rgba(57, 194, 255, 0.18);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(57, 194, 255, 0.2);
  top: -160px;
  right: -100px;
  left: auto;
  transform: none;
  pointer-events: none;
  opacity: 0.55;
}
.hero-glow--right {
  width: 260px;
  height: 260px;
  top: auto;
  bottom: -80px;
  right: 8%;
  border: 1px dashed rgba(57, 194, 255, 0.3);
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ─── 21. CTA SECTION ───────────────────────────────────────────── */
.cta-box {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid rgba(57, 194, 255, 0.35);
  border-radius: var(--radius-xl);
  background: rgba(8, 13, 22, 0.65);
  padding: 3.5rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(57, 194, 255, 0.08);
}
.cta-box p {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  max-width: 500px;
  margin: 0.75rem auto 2rem;
  line-height: 1.7;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}
@media (min-width: 640px) {
  .cta-grid { grid-template-columns: repeat(4, 1fr); }
}
.cta-item {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.cta-item svg {
  width: 16px;
  height: 16px;
  stroke: #93C5FD;
  fill: none;
  stroke-width: 2;
}

/* ─── 22. FOOTER ────────────────────────────────────────────────── */
#tbcs-footer {
  background: #070A12;
  border-top: 1px solid var(--color-border);
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 0.8fr 1fr; }
}
.footer-logo {
  height: 81px;
  width: auto;
  max-width: 507px;
  margin-bottom: 1rem;
  opacity: 0.95;
  object-fit: contain;
}
.footer-grid > div:first-child {
  padding: 0;
  border: 0;
  background: transparent;
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer-copy {
  font-size: 0.72rem;
  color: #374151;
}
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.footer-link {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--color-text); }
.footer-link--accent { color: #60A5FA; }
.footer-link--accent:hover { color: var(--color-blue-lt); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: #374151;
}

/* ─── 23. WHATSAPP ──────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.whatsapp-label {
  background: #128C7E;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37,211,102,0.25);
  opacity: 0.9;
  transition: opacity var(--transition), transform var(--transition);
  position: relative;
  animation: wa-label 3s ease-in-out infinite;
}
.whatsapp-label::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 18px;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #128C7E;
}
.whatsapp-fab:hover .whatsapp-label { opacity: 1; transform: translateY(-3px); }
@keyframes wa-label {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  transition: transform var(--transition);
  animation: wa-pulse 2.5s ease infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); animation: none; }
.whatsapp-btn img { width: 30px; height: 30px; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.3), 0 0 0 0 rgba(37,211,102,0.5); }
  70%       { box-shadow: 0 6px 20px rgba(37,211,102,0.3), 0 0 0 14px rgba(37,211,102,0); }
}

/* ─── 24. ANIMACIONES ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* delay helpers */
.delay-1 { transition-delay: 60ms; }
.delay-2 { transition-delay: 120ms; }
.delay-3 { transition-delay: 180ms; }
.delay-4 { transition-delay: 240ms; }
.delay-5 { transition-delay: 300ms; }

/* ─── 25. INFO NOTICE (placeholder para imágenes) ───────────────── */
.notice {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(37,99,235,0.3);
  background: rgba(37,99,235,0.04);
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  text-align: center;
  margin-bottom: 2rem;
}
.notice code {
  font-family: 'Courier New', monospace;
  background: rgba(37,99,235,0.15);
  color: #93C5FD;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.8em;
}

/* ─── 26. FORM STYLES ───────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-sub);
  margin-bottom: 0.5rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-text-muted); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 0.35rem;
  display: none;
}
.form-error.visible { display: block; }
.form-message {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #86efac;
}
.form-message.error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}
.form-radio-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form-radio-label,
.form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--color-text-sub);
  cursor: pointer;
}
.form-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}
input[type="radio"], input[type="checkbox"] {
  accent-color: var(--color-blue);
  width: 15px;
  height: 15px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-info-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-blue-lt);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── 27. RESPONSIVE HELPERS ────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --section-py: 3.5rem; }
  .t-display { font-size: 2.25rem; }
  .t-h2 { font-size: 1.75rem; }
  .btn--lg { font-size: 0.9375rem; padding: 0.875rem 1.75rem; }
  .cta-box { padding: 2rem 1.25rem; }
  .hero { min-height: 80vh; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
