/* ====================================================================
   SSI S.A.S — Sections
   Hero, Products, Services, CTA, Clients, Timeline
   ==================================================================== */

/* ──────────────────────────────────────────────────────────────────
   HERO (Home)
   ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradShift 16s ease infinite;
  overflow: hidden;
  color: #fff;
  padding: clamp(60px, 10vw, 100px) 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(0, 153, 204, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0, 212, 170, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 10%, rgba(245, 166, 35, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
/* Data mesh (grid de datos abstracta) */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 170, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 20px; border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.6s infinite;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.hero h1 .gold   { color: var(--gold); }
.hero h1 .mint   { color: var(--mint); }
.hero-sub {
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 560px;
}
.hero-stat {
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero visual — Solutions preview grid (replaces data-orb) */
.hero-solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}
.hero-sol-card {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--t-base);
  overflow: hidden;
}
.hero-sol-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
}
.hero-sol-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.hero-sol-card.hs-mint::before { background: linear-gradient(135deg, #00D4AA, #0099CC); opacity: 0.25; }
.hero-sol-card.hs-gold::before { background: linear-gradient(135deg, #F5A623, #F97316); opacity: 0.25; }
.hero-sol-card.hs-cyan::before { background: linear-gradient(135deg, #06B6D4, #3B82F6); opacity: 0.25; }
.hero-sol-card.hs-violet::before { background: linear-gradient(135deg, #7C3AED, #5B21B6); opacity: 0.25; }
.hero-sol-card .hs-icon {
  font-size: 1.7rem;
  line-height: 1;
}
.hero-sol-card .hs-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero-sol-card .hs-tag {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.hero-sol-card .hs-metric {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hero-sol-card .hs-metric strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-sol-card .hs-metric span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
}
@media (max-width: 600px) {
  .hero-solutions-grid { max-width: 100%; gap: 12px; }
  .hero-sol-card { padding: 16px 14px; }
  .hero-sol-card .hs-title { font-size: 0.95rem; }
}

/* Hero visual — orb/data sphere */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.data-orb {
  position: relative;
  width: clamp(280px, 40vw, 400px);
  height: clamp(280px, 40vw, 400px);
}
.data-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: linear-gradient(var(--azul-midnight), var(--azul-midnight)) padding-box,
              var(--grad-accent) border-box;
}
.data-orb-ring:nth-child(1) { transform: scale(1.00); opacity: 0.22; animation: spinRing 20s linear infinite; }
.data-orb-ring:nth-child(2) { transform: scale(0.80); opacity: 0.40; animation: spinRing 14s linear infinite reverse; }
.data-orb-ring:nth-child(3) { transform: scale(0.60); opacity: 0.65; animation: spinRing 10s linear infinite; }
.data-orb-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: var(--shadow-glow);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  animation: float 5s ease-in-out infinite;
}
.data-orb-core .core-icon {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--azul-midnight);
  line-height: 1;
}
.data-orb-core .core-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--azul-midnight);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
}
.data-orb-tag {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 29, 80, 0.9);
  border: 1px solid rgba(0, 212, 170, 0.35);
  color: var(--mint);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  animation: float 3.5s ease-in-out infinite;
}
.data-orb-tag.t1 { top: 8%; left: -8%; }
.data-orb-tag.t2 { top: 30%; right: -12%; animation-delay: 0.8s; }
.data-orb-tag.t3 { bottom: 20%; left: -10%; animation-delay: 1.6s; }
.data-orb-tag.t4 { bottom: 6%; right: -2%; animation-delay: 2.2s; }

/* ──────────────────────────────────────────────────────────────────
   HERO Variante "Inner Page" (About, Contact, Services)
   ────────────────────────────────────────────────────────────────── */
.hero-inner {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradShift 16s ease infinite;
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 90px);
  position: relative;
  overflow: hidden;
}
.hero-inner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0, 153, 204, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 100%, rgba(0, 212, 170, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 170, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner .container { position: relative; z-index: 1; }
.hero-inner-title {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}
.hero-inner-title h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 18px;
}
.hero-inner-title p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 620px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.7); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb span.separator { color: rgba(255, 255, 255, 0.35); }
.breadcrumb span.current { color: var(--mint); font-weight: 600; }

/* Hero inner — text block (center aligned) */
.hero-inner-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-inner-text h1 {
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.hero-inner-text h1 .gold { color: var(--gold); }
.hero-inner-text h1 .mint { color: var(--mint); }
.hero-inner-text p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}
.hero-inner-text .hero-btns {
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 0;
}
.hero-inner-text .hero-stats {
  margin: 32px auto 0;
}
.hero-inner-text .section-label { margin-bottom: 22px; }

/* Hero inner — with visual grid (2 cols) */
.hero-inner-tall { padding: clamp(100px, 12vw, 150px) 0 clamp(70px, 10vw, 110px); }
.hero-inner-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-inner-grid .hero-inner-text {
  text-align: left;
  margin: 0;
}
.hero-inner-grid .hero-inner-text p { margin: 0; }
.hero-inner-grid .hero-inner-text .hero-btns { justify-content: flex-start; }
.hero-inner-grid .hero-inner-text .hero-stats { margin: 32px 0 0; }
.hero-inner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Consultant badge (FDW hero) */
.consultant-badge {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: var(--radius-full);
}
.consultant-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--azul-midnight);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
}
.consultant-badge strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}
.consultant-badge span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

/* =========================================================
   INNER PAGE EXTRAS — visuals, forms, lists, diagrams
   ========================================================= */

/* Grid align center helper */
.grid-align-center { align-items: center; gap: 44px; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* Visual stat box (sobre-nosotros) */
.visual-box {
  background: linear-gradient(145deg, #fff, var(--azul-ice));
  border: 1.5px solid var(--gris-2);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}
.visual-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.visual-stat {
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gris-2);
}
.visual-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.visual-stat span {
  display: block;
  font-size: 0.78rem;
  color: var(--subtexto);
  margin-top: 8px;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.visual-quote {
  padding: 18px 22px;
  background: var(--azul-midnight);
  color: #fff;
  border-radius: var(--radius);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  border-left: 4px solid var(--gold);
}

/* Team avatar */
.team-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--grad-corporate);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}

/* Light card-glass (sobre fondo claro) */
.card-glass-light {
  background: linear-gradient(145deg, #fff, var(--azul-ice));
  border: 1px solid var(--gris-2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
}
.card-glass-light h4 { margin-bottom: 8px; font-size: 1rem; }

/* Muted card */
.card-muted {
  opacity: 0.72;
  border-style: dashed;
  background: var(--azul-ice);
}

/* Plain list (✓/✗ bullets) */
.plain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plain-list li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--subtexto);
  line-height: 1.6;
  align-items: flex-start;
}
.plain-list li code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.82rem;
  background: var(--azul-pale);
  color: var(--azul-real);
  padding: 1px 6px;
  border-radius: 4px;
}
.green-tick { color: var(--verde); font-weight: 900; flex-shrink: 0; }
.red-x      { color: var(--rojo); font-weight: 900; flex-shrink: 0; }

/* Contact list (contacto.html) */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-icon.azul { background: linear-gradient(135deg, #EBF2FF, #D6E8FF); color: var(--azul-real); }
.contact-icon.mint { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: var(--verde); }
.contact-icon.gold { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: var(--gold-dark); }
.contact-icon.cyan { background: linear-gradient(135deg, #CFFAFE, #A5F3FC); color: var(--cyan); }
.contact-list h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--azul-midnight);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.contact-list p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--subtexto);
  margin: 0;
}
.contact-list a { color: var(--azul-real); font-weight: 600; }
.contact-list a:hover { color: var(--azul-mid); }

/* Contact form */
.contact-form {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 40px);
  border: 1.5px solid var(--gris-2);
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  color: var(--azul-midnight);
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.contact-form p { font-size: 0.92rem; color: var(--subtexto); }
.contact-form label {
  display: block;
  margin-bottom: 18px;
}
.contact-form label span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  background: var(--blanco);
  border: 1.5px solid var(--gris-2);
  border-radius: var(--radius);
  color: var(--texto);
  transition: all var(--t-fast);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--azul-real);
  box-shadow: 0 0 0 4px rgba(0, 61, 165, 0.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row label { margin-bottom: 18px; }
.form-result {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--verde-pale);
  color: var(--verde);
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}
.form-result.show { display: block; }

/* Arch diagram — positioned spokes (FDW hero) */
.arch-diagram { position: relative; }
.arch-diagram .arch-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 2;
}
.arch-diagram .arch-spokes {
  position: relative;
  min-height: 400px;
  display: block;
}
.arch-diagram .arch-spoke {
  position: absolute;
  padding: 10px 16px;
  background: #fff;
  border: 1.5px solid var(--gris-2);
  border-radius: var(--radius-full);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--azul-midnight);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  white-space: nowrap;
}
.arch-diagram .arch-spoke.s1 { top: 6%;  left: 44%; }
.arch-diagram .arch-spoke.s2 { top: 20%; right: 4%; }
.arch-diagram .arch-spoke.s3 { top: 58%; right: 0%; }
.arch-diagram .arch-spoke.s4 { bottom: 4%; left: 58%; }
.arch-diagram .arch-spoke.s5 { bottom: 8%; left: 8%; }
.arch-diagram .arch-spoke.s6 { top: 40%; left: 0%; }
.arch-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.arch-lines line { animation: blink 2.5s ease infinite; }

/* Silo grid (FDW problem visual) */
.problem-visual { text-align: center; }
.silo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 380px;
  margin: 0 auto;
}
.silo {
  background: #fff;
  border: 1.5px dashed var(--rojo);
  border-radius: var(--radius);
  padding: 18px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--azul-midnight);
  box-shadow: var(--shadow-sm);
  line-height: 1.4;
}
.silo-caption {
  margin-top: 20px;
  font-weight: 700;
  color: var(--rojo);
  font-size: 0.95rem;
}

/* Use-case before/after (FDW) */
.usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.usecase-col {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid;
}
.usecase-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.usecase-col ul li {
  font-size: 0.92rem;
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}
.usecase-col ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
}
.usecase-col ul li code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.82rem;
  background: var(--azul-pale);
  color: var(--azul-real);
  padding: 1px 6px;
  border-radius: 4px;
}
.usecase-before {
  background: #FEF2F2;
  border-color: rgba(220, 38, 38, 0.25);
}
.usecase-before ul li { color: #7f1d1d; }
.usecase-before ul li::before { background: var(--rojo); }
.usecase-after {
  background: #F0FDF4;
  border-color: rgba(22, 163, 74, 0.25);
}
.usecase-after ul li { color: #14532d; }
.usecase-after ul li::before { background: var(--verde); }
.usecase-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.usecase-label.bad  { background: var(--rojo); color: #fff; }
.usecase-label.good { background: var(--verde); color: #fff; }

/* Code-block token aliases (c-* classes used in HTML) */
.code-block .c-kw   { color: #c084fc; font-weight: 600; }
.code-block .c-fn   { color: #7dd3fc; }
.code-block .c-bool { color: #fbbf24; font-weight: 600; }
.code-block .c-cm   { color: #64748b; font-style: italic; }
.code-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-left: 56px;
  position: relative;
  min-height: 16px;
}
.code-dots em {
  color: #64748b;
  font-style: normal;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.78rem;
  margin-left: 8px;
}

/* Hub-and-Spoke viz (sincronizacion-distribuida hero) */
.hub-spoke-viz {
  position: relative;
  width: clamp(320px, 42vw, 420px);
  height: clamp(320px, 42vw, 420px);
  margin: 0 auto;
}
.hub-central {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34%; height: 34%;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--azul-midnight);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 3;
  border: 5px solid rgba(255,255,255,0.15);
}
.hub-icon {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1;
}
.hub-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 4px;
}
.spoke-node {
  position: absolute;
  padding: 8px 14px;
  background: rgba(0, 29, 80, 0.85);
  color: #fff;
  border: 1px solid rgba(0, 212, 170, 0.4);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  animation: float 4s ease-in-out infinite;
}
.spoke-node.sp-1 { top: 0%; left: 38%; }
.spoke-node.sp-2 { top: 22%; right: 0%; animation-delay: 0.4s; }
.spoke-node.sp-3 { bottom: 22%; right: 0%; animation-delay: 0.8s; }
.spoke-node.sp-4 { bottom: 0%; left: 38%; animation-delay: 1.2s; }
.spoke-node.sp-5 { bottom: 22%; left: 0%; animation-delay: 1.6s; }
.spoke-node.sp-6 { top: 22%; left: 0%; animation-delay: 2.0s; }
.hub-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hub-lines .hl {
  stroke: rgba(0, 212, 170, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  animation: blink 2s ease infinite;
}

/* Score gauge (OmniUX Edge hero) */
.score-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.score-ring {
  position: relative;
  width: clamp(240px, 32vw, 320px);
  height: clamp(240px, 32vw, 320px);
}
.score-ring svg { width: 100%; height: 100%; }
.score-value {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
.score-value strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 900;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.score-value span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 8px;
}
.score-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 320px;
}
.score-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  text-align: center;
  backdrop-filter: blur(8px);
}
.score-tag.ok {
  background: rgba(0, 212, 170, 0.18);
  color: var(--mint);
  border: 1px solid rgba(0, 212, 170, 0.4);
}
.score-tag.warn {
  background: rgba(245, 166, 35, 0.18);
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.4);
}

/* WiFi analysis viz (OmniUX) */
.wifi-viz {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(145deg, var(--azul-midnight), var(--azul-real));
  padding: 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.wifi-band {
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  gap: 14px;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: 'Space Grotesk', sans-serif;
}
.wifi-band > span { letter-spacing: 0.02em; }
.wifi-band em {
  font-style: normal;
  font-size: 0.78rem;
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
}
.wifi-band .wifi-bar {
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.wifi-band.b1 .wifi-bar::after,
.wifi-band.b2 .wifi-bar::after,
.wifi-band.b3 .wifi-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  border-radius: var(--radius-full);
}
.wifi-band.b1 .wifi-bar::after { width: 85%; background: linear-gradient(90deg, var(--gold), var(--rojo)); }
.wifi-band.b2 .wifi-bar::after { width: 42%; background: var(--grad-accent); }
.wifi-band.b3 .wifi-bar::after { width: 12%; background: var(--mint); }

/* Workflow preview (Cuentas de cobro hero) */
.workflow-preview {
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}
.wf-step {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: 'Space Grotesk', sans-serif;
  transition: all var(--t-base);
}
.wf-step.done {
  color: var(--mint);
  background: rgba(0,212,170,0.1);
  border-color: rgba(0,212,170,0.3);
}
.wf-step.active {
  color: var(--gold);
  background: rgba(245,166,35,0.12);
  border-color: rgba(245,166,35,0.4);
  box-shadow: 0 0 0 2px rgba(245,166,35,0.15);
  animation: pulse 1.8s ease-in-out infinite;
}

/* Calendar mock (ClubConnect Hub hero) */
.calendar-mock {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-xl);
  color: var(--azul-midnight);
  width: 100%;
  max-width: 340px;
}
.cal-header {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
  text-align: center;
  color: var(--azul-midnight);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--subtexto-2);
  padding: 6px 0;
  letter-spacing: 0.02em;
}
.cal-day.w { color: var(--azul-real); }
.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  background: var(--gris);
  color: var(--texto);
  transition: all var(--t-fast);
}
.cal-cell.booked { background: rgba(0,212,170,0.18); color: var(--verde); }
.cal-cell.today {
  background: var(--grad-gold);
  color: var(--azul-midnight);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(245,166,35,0.4);
}
.cal-legend {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--subtexto);
  font-weight: 600;
}
.cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cal-legend i {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.cal-legend .dot-booked { background: rgba(0,212,170,0.5); }
.cal-legend .dot-today  { background: var(--gold); }
.cal-legend .dot-free   { background: var(--gris-3); }

/* QR card (ClubConnect) */
.qr-viz {
  display: flex;
  justify-content: center;
  align-items: center;
}
.qr-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  text-align: center;
  max-width: 280px;
  border: 2px solid var(--mint);
}
.qr-square {
  width: 180px; height: 180px;
  margin: 0 auto 18px;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--gris-2);
  position: relative;
}
.qr-pattern {
  width: 100%; height: 100%;
  background-image:
    linear-gradient(45deg, var(--azul-midnight) 25%, transparent 25%, transparent 75%, var(--azul-midnight) 75%),
    linear-gradient(45deg, var(--azul-midnight) 25%, transparent 25%, transparent 75%, var(--azul-midnight) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  border: 8px solid var(--azul-midnight);
  border-radius: 4px;
}
.qr-card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  color: var(--verde);
  font-size: 1rem;
  margin-bottom: 4px;
}
.qr-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--subtexto);
  font-weight: 600;
}
.qr-meta {
  margin-top: 10px;
  font-size: 0.75rem !important;
  color: var(--subtexto-2) !important;
  font-weight: 500 !important;
}

/* Responsive — inner page extras */
@media (max-width: 900px) {
  .hero-inner-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner-grid .hero-inner-text { text-align: center; }
  .hero-inner-grid .hero-inner-text .hero-btns { justify-content: center; }
  .usecase-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .visual-stat-row { grid-template-columns: 1fr 1fr; }
  .arch-diagram .arch-spokes { min-height: 320px; }
}
@media (max-width: 600px) {
  .silo-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-spoke-viz { width: 300px; height: 300px; }
  .spoke-node { font-size: 0.66rem; padding: 6px 10px; }
}

/* ──────────────────────────────────────────────────────────────────
   PRODUCTS SECTION (Showcase)
   ────────────────────────────────────────────────────────────────── */
.products {
  background: linear-gradient(180deg, var(--gris) 0%, #fff 100%);
}
.product-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gris-2);
  transition: all var(--t-slow);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--azul-pale);
}
.product-card-header {
  padding: 36px 32px 24px;
  position: relative;
  overflow: hidden;
}
.product-card-header.theme-mint {
  background: linear-gradient(135deg, #001D50 0%, #003DA5 60%, #00D4AA 200%);
  color: #fff;
}
.product-card-header.theme-gold {
  background: linear-gradient(135deg, #001D50 0%, #1A56C8 60%, #F5A623 200%);
  color: #fff;
}
.product-card-header.theme-cyan {
  background: linear-gradient(135deg, #001D50 0%, #003DA5 60%, #0099CC 200%);
  color: #fff;
}
.product-card-header::before {
  content: '';
  position: absolute;
  width: 200%; height: 200%;
  top: -50%; right: -100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.product-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}
.product-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}
.product-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
  position: relative;
}
.product-card-body {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--subtexto);
}
.product-features li::before {
  content: '✓';
  color: var(--verde);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--gris-2);
}
.product-card-footer .tech-stack {
  display: flex;
  gap: 6px;
}
.product-card-footer .tech-stack .tech-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--azul-real);
  transition: gap var(--t-fast);
}
.product-link:hover { gap: 10px; color: var(--azul-mid); }

/* ──────────────────────────────────────────────────────────────────
   SERVICES SECTION
   ────────────────────────────────────────────────────────────────── */
.services {
  background: var(--blanco);
}
.service-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1.5px solid var(--gris-2);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--azul-pale);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 {
  color: var(--azul-midnight);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}
.service-card .chip { margin-top: 18px; }

/* Featured service (pagina detalle) */
.service-hero-card {
  background: linear-gradient(145deg, #fff, var(--gris));
  border: 1.5px solid var(--gris-2);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

/* ──────────────────────────────────────────────────────────────────
   CLIENTS / LOGOS BAND
   ────────────────────────────────────────────────────────────────── */
.clients {
  padding: clamp(50px, 7vw, 80px) 0;
  background: linear-gradient(180deg, #fff 0%, var(--azul-pale) 100%);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1050px;
  margin: 40px auto 0;
}
.client-logo {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gris-2);
  transition: all var(--t-base);
  min-height: 92px;
  filter: grayscale(70%);
  opacity: 0.78;
}
.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--azul-pale);
}
.client-logo svg, .client-logo img { max-height: 44px; max-width: 100%; }
.client-logo .client-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--azul-midnight);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────────────────────────────
   TECH STACK BAND
   ────────────────────────────────────────────────────────────────── */
.tech-band {
  background: linear-gradient(135deg, #000D30 0%, #001D50 100%);
  padding: 60px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tech-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
}
.tech-band-header { text-align: center; margin-bottom: 40px; position: relative; z-index: 1; }
.tech-band-header h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.tech-band-header p  { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }
.tech-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.tech-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--t-fast);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.tech-logo:hover { color: var(--mint); }
.tech-logo .tech-bullet {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad-accent);
}

/* ──────────────────────────────────────────────────────────────────
   TIMELINE / STEPS
   ────────────────────────────────────────────────────────────────── */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 20px; bottom: 20px;
  width: 3px;
  background: linear-gradient(180deg, var(--azul-real), var(--azul-mid), var(--mint));
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  gap: 28px;
  padding: 0 0 36px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-real), var(--azul-mid));
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 61, 165, 0.35);
  border: 4px solid #fff;
  position: relative;
  z-index: 1;
}
.timeline-item:last-child .timeline-num {
  background: var(--grad-accent);
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.5);
}
.timeline-body { flex: 1; padding-top: 4px; }
.timeline-body h3,
.timeline-item > div h3,
.timeline-item > div h4 {
  color: var(--azul-midnight);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  padding-top: 4px;
}
.timeline-body p,
.timeline-item > div p { font-size: 0.92rem; line-height: 1.7; color: var(--subtexto); }

/* ──────────────────────────────────────────────────────────────────
   CTA
   ────────────────────────────────────────────────────────────────── */
.cta {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradShift 18s ease infinite;
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(245, 166, 35, 0.1) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 60%);
}
.cta .container { position: relative; z-index: 1; max-width: 760px; }
.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 18px;
}
.cta h2 em { font-style: normal; color: var(--gold); }
.cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-guarantee {
  margin-top: 32px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.cta-guarantee strong { color: rgba(255, 255, 255, 0.8); }

/* ──────────────────────────────────────────────────────────────────
   ROI / METRICS BAND (fondo oscuro)
   ────────────────────────────────────────────────────────────────── */
.metrics-band {
  background: var(--grad-corporate);
  padding: clamp(60px, 8vw, 90px) 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.metrics-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0, 153, 204, 0.1) 0%, transparent 70%);
}
.metrics-band .container { position: relative; z-index: 1; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.metric-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--t-base);
}
.metric-item:last-child { border-right: none; }
.metric-item:hover { background: rgba(255, 255, 255, 0.06); }
.metric-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}
.metric-label {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  font-weight: 500;
}

/* ──────────────────────────────────────────────────────────────────
   CODE BLOCK (mostrar FDW examples)
   ────────────────────────────────────────────────────────────────── */
.code-block {
  background: #0a1628;
  border-radius: var(--radius);
  padding: 24px 28px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, Monaco, monospace;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #e2e8f0;
  border: 1px solid rgba(0, 212, 170, 0.2);
  box-shadow: 0 12px 36px rgba(0, 29, 80, 0.3);
  position: relative;
}
.code-block::before {
  content: '';
  position: absolute;
  top: 12px; left: 16px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 20px 0 0 #f59e0b, 40px 0 0 #10b981;
}
.code-block pre { margin-top: 16px; white-space: pre; }
.code-block .tok-keyword { color: #c084fc; font-weight: 600; }
.code-block .tok-string  { color: #86efac; }
.code-block .tok-comment { color: #64748b; font-style: italic; }
.code-block .tok-func    { color: #fbbf24; }
.code-block .tok-table   { color: #7dd3fc; }

/* ──────────────────────────────────────────────────────────────────
   ARCHITECTURE DIAGRAM (Hub-and-Spoke / FDW)
   ────────────────────────────────────────────────────────────────── */
.arch-diagram {
  padding: clamp(30px, 4vw, 50px);
  background: linear-gradient(145deg, var(--gris), #fff);
  border: 1.5px solid var(--gris-2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
}
.arch-hub {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--grad-corporate);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin: 0 auto 40px;
  box-shadow: 0 16px 40px rgba(0, 61, 165, 0.35);
  position: relative;
  border: 5px solid #fff;
}
.arch-hub::before, .arch-hub::after {
  content: '';
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 212, 170, 0.35);
  animation: spinRing 20s linear infinite;
}
.arch-hub::after { inset: -24px; animation-duration: 28s; animation-direction: reverse; }
.arch-hub-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.arch-hub-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 900;
  margin-top: 4px;
}
.arch-spokes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.arch-spoke {
  background: #fff;
  border: 1.5px solid var(--gris-2);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
}
.arch-spoke:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.arch-spoke-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.arch-spoke-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--azul-midnight);
}
.arch-spoke-detail {
  font-size: 0.72rem;
  color: var(--subtexto);
  margin-top: 4px;
}

/* ──────────────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 20px; }
  .data-orb { width: min(320px, 80vw); height: min(320px, 80vw); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2) { border-right: none; }
  .metric-item:nth-child(1), .metric-item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .arch-spokes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(3) { grid-column: 1 / -1; border-right: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .hero-stat:nth-child(2) { border-right: none; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 18px; }
  .timeline-num { width: 40px; height: 40px; font-size: 1rem; }
}

/* ──────────────────────────────────────────────────────────────────
   SHIFTIQ — Workflow dot, ROI bars, Plans, Erlang demo
   ────────────────────────────────────────────────────────────────── */

/* Workflow step with numbered dot + rich content */
.wf-step {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wf-dot {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.wf-step.done .wf-dot { background: rgba(0,212,170,0.2); border-color: var(--mint); color: var(--mint); }
.wf-step.active .wf-dot { background: rgba(245,166,35,0.2); border-color: var(--gold); color: var(--gold); }
.wf-step > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.wf-step h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: inherit;
}
.wf-step p {
  font-size: 0.78rem;
  margin: 0;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.wf-step.done p, .wf-step.active p { color: rgba(255,255,255,0.75); }

/* ROI bars */
.roi-bars {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.roi-row {
  display: grid;
  grid-template-columns: 220px 1fr 90px;
  align-items: center;
  gap: 16px;
}
.roi-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--azul-midnight);
  font-size: 0.95rem;
}
.roi-bar {
  height: 14px;
  background: var(--azul-ice);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(0, 29, 80, 0.08);
}
.roi-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.roi-val {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--azul-real);
  text-align: right;
}

/* Savings highlight box */
.savings-box {
  max-width: 780px;
  margin: 48px auto 0;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--azul-ice), #fff);
  border: 1px solid rgba(0, 29, 80, 0.08);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.savings-box small {
  color: var(--gris);
  font-size: 0.85rem;
}

/* Pricing plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  background: #fff;
  border: 1px solid rgba(0, 29, 80, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
  position: relative;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--azul-real);
}
.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--azul-real);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.plan-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--azul-midnight);
  line-height: 1;
  margin: 4px 0;
}
.plan-price span {
  font-size: 0.95rem;
  color: var(--gris);
  font-weight: 500;
  margin-left: 4px;
}
.plan-meta {
  font-size: 0.85rem;
  color: var(--gris);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 29, 80, 0.06);
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan-features li {
  font-size: 0.92rem;
  color: var(--gris-oscuro);
  line-height: 1.45;
}
.plan-features li:first-letter { font-weight: 700; }
.plan-card .btn { margin-top: 12px; width: 100%; justify-content: center; }
.plan-featured {
  background: linear-gradient(160deg, var(--azul-midnight), var(--azul-real));
  border-color: var(--gold);
  color: #fff;
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}
.plan-featured:hover { transform: scale(1.04) translateY(-4px); }
.plan-featured .plan-name { color: var(--gold); }
.plan-featured .plan-price { color: #fff; }
.plan-featured .plan-price span { color: rgba(255,255,255,0.7); }
.plan-featured .plan-meta { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.15); }
.plan-featured .plan-features li { color: rgba(255,255,255,0.92); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--azul-midnight);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

/* Erlang C live demo */
.erlang-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(145deg, #fff, var(--azul-ice));
  padding: 36px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 29, 80, 0.08);
}
.erlang-inputs, .erlang-outputs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.erlang-inputs h4, .erlang-outputs h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--azul-real);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.e-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.e-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--azul-midnight);
}
.e-field input {
  padding: 12px 14px;
  border: 1px solid rgba(0, 29, 80, 0.15);
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--azul-midnight);
  background: #fff;
  transition: all var(--t-base);
}
.e-field input:focus {
  border-color: var(--azul-real);
  box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.12);
}
.e-out {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 29, 80, 0.06);
}
.e-out span {
  font-size: 0.88rem;
  color: var(--gris);
  font-weight: 500;
}
.e-out strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--azul-midnight);
}
.e-out.highlight {
  background: linear-gradient(135deg, var(--azul-midnight), var(--azul-real));
  border-color: var(--gold);
}
.e-out.highlight span { color: rgba(255,255,255,0.8); }
.e-out.highlight strong {
  color: var(--gold);
  font-size: 1.6rem;
}

/* Price tag (for consultancy packs) */
.price-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--azul-real);
  margin: 8px 0 14px;
}

/* Product theme variant — violet (ShiftIQ) */
.product-card-header.theme-violet {
  background: linear-gradient(135deg, #5B21B6, #7C3AED);
}

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-4px); }
  .roi-row { grid-template-columns: 1fr; gap: 6px; }
  .roi-val { text-align: left; }
  .erlang-demo { grid-template-columns: 1fr; padding: 24px; }
}
