/* ================================================================
   sdtelc — stylesheet  |  mobile-first, BEM-light, no frameworks
   ================================================================ */

/* ── Local fonts ─────────────────────────────────────────────────── */
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/Montserrat-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/Montserrat-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/Montserrat-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/Montserrat-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/Montserrat-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/Montserrat-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

@font-face { font-family: 'Titillium'; src: url('/assets/fonts/Titillium-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Titillium'; src: url('/assets/fonts/Titillium-Semibold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Titillium'; src: url('/assets/fonts/Titillium-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Titillium'; src: url('/assets/fonts/Titillium-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

/* ── Reset & base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — Pantone official */
  --c-deep:    #2A0924;
  --c-dark:    #511447;
  --c-mid:     #8E217C;
  --c-orange:  #E95420;
  --c-orange2: #F06535;
  --c-white:   #FFFFFF;
  --c-gray:    #F6F6F6;
  --c-text:    #3D1A35;
  --c-muted:   #7A6A78;

  /* Gradients */
  --g-hero:    linear-gradient(135deg, #2A0924 0%, #511447 35%, #8E217C 65%, #E95420 100%);
  --g-card:    linear-gradient(135deg, #511447 0%, #8E217C 100%);
  --g-orange:  linear-gradient(135deg, #E95420 0%, #F06535 100%);

  /* Spacing */
  --section-pad: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 6vw, 6%);

  /* Type */
  --font:         'Montserrat', sans-serif;
  --font-display: 'Titillium', 'Montserrat', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Transitions */
  --t:            0.25s ease;
  --ease-expo:    cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(42,9,36,.08);
  --shadow-md:   0 4px 20px rgba(42,9,36,.12);
  --shadow-lg:   0 12px 40px rgba(42,9,36,.18);
  --shadow-glow: 0 0 0 3px rgba(142,33,124,.28);

  /* Stagger */
  --stagger-delay: 0.1s;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; }

/* ── Focus styles ────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--c-orange2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Scroll progress bar ─────────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-mid), var(--c-orange2));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── Scroll-fade utility ─────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Stagger animation system ────────────────────────────────────── */
.stagger-group > * {
  transition-delay: calc(var(--i, 0) * var(--stagger-delay));
}

/* ── Counter animation ───────────────────────────────────────────── */
.count-up {
  display: inline-block;
}

/* ── Typography helpers ──────────────────────────────────────────── */
.label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--c-deep);
  margin-bottom: 0.9rem;
}
.section-title span { color: var(--c-orange); }

.section-sub {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 580px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: transform var(--t), box-shadow var(--t), opacity var(--t);
  text-align: center;
  min-height: 48px;
}

.btn-primary {
  background: var(--g-orange);
  color: var(--c-white);
  box-shadow: 0 6px 24px rgba(233,84,32,.35);
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(233,84,32,.5); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--c-white);
}
.btn-outline:hover  { background: rgba(255,255,255,0.1); border-color: var(--c-white); }

.btn-ghost {
  background: rgba(142,33,124,0.1);
  color: var(--c-mid);
}
.btn-ghost:hover { background: rgba(142,33,124,0.18); }

/* ── Navbar ──────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 6%, 4rem);
  height: 68px;
  background: rgba(42,9,36,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--t), box-shadow var(--t);
}

#navbar.scrolled {
  background: rgba(42,9,36,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color var(--t);
}
.nav-links a:hover { color: var(--c-orange2); }

.nav-cta {
  display: none;
}

#hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
#hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* Mobile nav overlay */
#nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 901;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
#nav-overlay.open { opacity: 1; pointer-events: all; }

/* Mobile nav panel */
#nav-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(300px, 82vw);
  height: 100dvh;
  background: var(--c-deep);
  z-index: 902;
  display: flex;
  flex-direction: column;
  padding: 80px 2rem 2.5rem;
  gap: 0;
  transition: right 0.32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
#nav-menu.open { right: 0; }

.nav-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}
.nav-menu-links li a {
  display: block;
  padding: 0.9rem 0;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--t);
}
.nav-menu-links li a:hover { color: var(--c-orange2); }

.nav-menu-cta {
  margin-top: auto;
}

/* ── Hero ────────────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  background: var(--g-hero);
  display: flex;
  align-items: center;
  padding: 96px clamp(1.25rem, 6%, 6%) 4rem;
  position: relative;
  overflow: hidden;
}

/* Canvas — full bleed behind content */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
}
.hero-orb--1 {
  width: 480px; height: 480px;
  top: -160px; right: -80px;
  background: radial-gradient(circle, rgba(142,33,124,0.28) 0%, transparent 70%);
  animation: orbFloat1 12s ease-in-out infinite;
}
.hero-orb--2 {
  width: 320px; height: 320px;
  bottom: -80px; left: 10%;
  background: radial-gradient(circle, rgba(233,84,32,0.2) 0%, transparent 70%);
  animation: orbFloat2 16s ease-in-out infinite;
}
.hero-orb--3 {
  width: 240px; height: 240px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(81,20,71,0.22) 0%, transparent 70%);
  animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-30px, 20px) scale(1.05); }
  66%       { transform: translate(20px, -15px) scale(0.97); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(40px, -30px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50%       { transform: translate(-50%, -20px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  flex-shrink: 0;
}

/* Hero badge with pulsing dot */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.38rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-orange2);
  flex-shrink: 0;
  animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,101,53,.7); }
  50%       { box-shadow: 0 0 0 5px rgba(240,101,53,.0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
}
.hero-title span {
  background: linear-gradient(90deg, #F4B26B, var(--c-orange2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,0.76);
  line-height: 1.72;
  margin-bottom: 2.2rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.8rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
}
.stat-num sup {
  font-size: 1rem;
  color: var(--c-orange2);
  font-weight: 700;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── Hero visual — NOC dashboard (desktop only) ──────────────────── */
.hero-visual {
  display: none;
  position: relative;
  z-index: 2;
  flex: 1;
  padding-left: 3rem;
  max-width: 420px;
}

.noc-panel {
  background: rgba(20, 6, 18, 0.82);
  border: 1px solid rgba(142,33,124,0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(142,33,124,.15),
    0 24px 64px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.07);
}

.noc-titlebar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(142,33,124,.2);
}
.noc-dots {
  display: flex;
  gap: 5px;
}
.noc-dots .dot-r { width: 10px; height: 10px; border-radius: 50%; background: #FF5F56; }
.noc-dots .dot-y { width: 10px; height: 10px; border-radius: 50%; background: #FFBD2E; }
.noc-dots .dot-g { width: 10px; height: 10px; border-radius: 50%; background: #27C93F; }
.noc-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.05em;
  flex: 1;
}
.noc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(39,201,63,.12);
  border: 1px solid rgba(39,201,63,.3);
  color: #27C93F;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
}
.noc-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #27C93F;
  animation: pulseGlow 1.5s ease-in-out infinite;
}

.noc-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(142,33,124,.15);
  border-bottom: 1px solid rgba(142,33,124,.15);
}
.noc-metric {
  background: rgba(10,4,9,.5);
  padding: 0.85rem 1rem;
}
.noc-metric-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.noc-metric-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.noc-green  { color: #27C93F; }
.noc-orange { color: #F06535; }
.noc-blue   { color: #9DCEFF; }
.noc-metric-bar {
  height: 3px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
}
.noc-metric-fill {
  height: 100%;
  border-radius: 2px;
  opacity: 0.75;
}

.noc-topology {
  padding: 0.9rem 1rem 0.5rem;
}
.noc-topo-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(255,255,255,.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.topo-svg {
  width: 100%;
  height: auto;
  display: block;
}

.noc-statusbar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.65rem 1rem;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(142,33,124,.15);
  flex-wrap: wrap;
}
.noc-status-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.04em;
}
.noc-ok { color: #27C93F; }
.noc-status-ts {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(255,255,255,.22);
}

/* ── Capacity strip — marquee ────────────────────────────────────── */
.tech-strip {
  background: var(--c-deep);
  padding: 1.1rem clamp(1.25rem, 6%, 6%);
  display: flex;
  align-items: center;
  gap: 0 1.8rem;
  overflow: hidden;
}
.strip-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
  flex-shrink: 0;
}
.strip-tags {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.strip-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.strip-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.52);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.strip-tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-orange);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Sections — shared ───────────────────────────────────────────── */
section { padding: var(--section-pad); }

.section-header { margin-bottom: 3rem; }

/* ── Services ────────────────────────────────────────────────────── */
#servicios { background: var(--c-gray); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--c-white);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(142,33,124,0.09);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-expo);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g-card);
}
/* Shimmer sweep on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.28) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0s;
  pointer-events: none;
}
.service-card:hover::after {
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-expo);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--g-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-deep);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.87rem;
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.s-tag {
  background: rgba(142,33,124,0.08);
  color: var(--c-mid);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
}

/* ── Why sdtelc ──────────────────────────────────────────────────── */
#por-que { background: var(--c-white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.why-visual {
  display: none;
}
.why-visual-card {
  background: var(--g-hero);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.why-visual-card img {
  width: 130px;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1);
}
.why-visual-card h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 0.4rem; }
.why-visual-card p  { font-size: 0.85rem; opacity: 0.72; font-style: italic; }

/* Animated connection lines */
.why-conn-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.7;
}
.conn-line {
  animation: dashMove 4s linear infinite;
}
.conn-line:nth-child(2) { animation-delay: -1s; }
.conn-line:nth-child(3) { animation-delay: -2s; }
.conn-line:nth-child(4) { animation-delay: -0.5s; }
.conn-line:nth-child(5) { animation-delay: -3s; }
.conn-line:nth-child(6) { animation-delay: -1.5s; }
@keyframes dashMove {
  to { stroke-dashoffset: -28; }
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}
.why-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.1rem;
  border-radius: 14px;
  transition: background 0.2s ease;
}
.why-item:hover {
  background: rgba(142,33,124,.04);
}
.why-num {
  min-width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--g-card);
  color: var(--c-white);
  font-size: 0.82rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-item h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-deep);
  margin-bottom: 0.3rem;
}
.why-item p {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ── Network as Code ─────────────────────────────────────────────── */
#automatizacion {
  background: var(--c-deep);
  position: relative;
  overflow: hidden;
}
#automatizacion::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(142,33,124,0.14);
  top: -180px; right: -80px;
  pointer-events: none;
}
#automatizacion .label        { color: var(--c-orange2); }
#automatizacion .section-title { color: var(--c-white); }
#automatizacion .section-sub   { color: rgba(255,255,255,0.62); }

.auto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.auto-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.auto-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  display: flex;
  gap: 1rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.auto-feature:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(142,33,124,.4);
}
.feat-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auto-feature h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.25rem;
}
.auto-feature p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
}

/* ── VS Code-style code block ────────────────────────────────────── */
.code-block {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(142,33,124,.35),
    0 0 40px rgba(142,33,124,.15),
    0 20px 60px rgba(0,0,0,.5);
  background: #1e1e2e;
}

/* Tab bar */
.code-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #181825;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.code-tab-dots {
  display: flex;
  gap: 5px;
  margin-right: 0.5rem;
}
.code-tab-dots .dot-r { width: 10px; height: 10px; border-radius: 50%; background: #FF5F56; }
.code-tab-dots .dot-y { width: 10px; height: 10px; border-radius: 50%; background: #FFBD2E; }
.code-tab-dots .dot-g { width: 10px; height: 10px; border-radius: 50%; background: #27C93F; }
.code-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #1e1e2e;
  border: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid #1e1e2e;
  border-radius: 6px 6px 0 0;
  padding: 0.3rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: -1px;
}

/* Code body with gutter */
.code-inner {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.code-gutter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 1.2rem 0.8rem 1.2rem 1rem;
  background: #181825;
  border-right: 1px solid rgba(255,255,255,.05);
  user-select: none;
  flex-shrink: 0;
}
.ln {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,.2);
  line-height: 1.75;
  min-width: 1.5ch;
  text-align: right;
}
.code-body {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.75;
  white-space: pre;
  padding: 1.2rem 1.4rem;
  flex: 1;
  color: rgba(255,255,255,.85);
}

/* Syntax colors */
.cc { color: rgba(255,255,255,0.28); }
.ck { color: var(--c-orange2); }
.cs { color: #A8D8A8; }
.cv { color: #9DCEFF; }

/* Blinking cursor */
.cursor {
  display: inline-block;
  width: 8px; height: 1.1em;
  background: rgba(255,255,255,.7);
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Data-driven ops ─────────────────────────────────────────────── */
#data-science { background: var(--c-gray); }

.ds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.ds-card {
  background: var(--c-white);
  border-radius: 18px;
  padding: 1.7rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  position: relative;
  border-left: 3px solid transparent;
  border-image: var(--g-card) 1;
  overflow: hidden;
}
.ds-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.ds-icon {
  margin: 0 auto 0.6rem;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(142,33,124,.07);
  border-radius: 50%;
}
/* Live metric badge */
.ds-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(39,201,63,.08);
  border: 1px solid rgba(39,201,63,.22);
  border-radius: 50px;
  padding: 0.18rem 0.65rem;
  margin-bottom: 0.75rem;
}
.ds-metric-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #27C93F;
  animation: pulseGlow 2s ease-in-out infinite;
}
.ds-metric-val {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: #27C93F;
  letter-spacing: 0.04em;
}
.ds-card h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--c-deep);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.ds-card p {
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.68;
}

/* ── Cloud Infrastructure ────────────────────────────────────────── */
#cloud {
  background: var(--c-deep);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
#cloud::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(233,84,32,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(142,33,124,.15) 0%, transparent 60%);
  pointer-events: none;
}
#cloud .section-header {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}
#cloud .label        { color: var(--c-orange2); }
#cloud .section-title { color: var(--c-white); }
#cloud .section-sub   { color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto; }

.cloud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
  margin-bottom: 2rem;
}
@media (min-width: 640px)  { .cloud-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cloud-grid { grid-template-columns: repeat(4, 1fr); } }

.cloud-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform var(--t), border-color var(--t), background var(--t);
  position: relative;
  overflow: hidden;
}
.cloud-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  transition: opacity var(--t);
}
.cloud-card.aws::before   { background: linear-gradient(90deg, #FF9900, #FFB84D); }
.cloud-card.gcp::before   { background: linear-gradient(90deg, #4285F4, #34A853, #FBBC05, #EA4335); }
.cloud-card.azure::before { background: linear-gradient(90deg, #0078D4, #50e6ff); }
.cloud-card.oci::before   { background: linear-gradient(90deg, #C74634, #F05A28); }

.cloud-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
}

.cloud-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.cloud-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.cloud-card.aws   .cloud-logo { background: rgba(255,153,0,.15);   color: #FF9900; }
.cloud-card.gcp   .cloud-logo { background: rgba(66,133,244,.15);  color: #4285F4; }
.cloud-card.azure .cloud-logo { background: rgba(0,120,212,.15);   color: #50E6FF; }
.cloud-card.oci   .cloud-logo { background: rgba(199,70,52,.15);   color: #F05A28; }

.cloud-card-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.cloud-card-short {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 0.1rem;
}

.cloud-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cloud-services li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}
.cloud-services li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--c-orange2);
  font-size: 0.65rem;
  top: 0.1em;
}

/* K8s callout */
.k8s-callout {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .k8s-callout {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }
}
.k8s-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #326CE5, #54a0ff);
  border-radius: 16px 16px 0 0;
}

.k8s-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(50,108,229,.12);
  border: 1px solid rgba(50,108,229,.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.k8s-body {
  flex: 1;
  min-width: 0;
}
.k8s-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.k8s-body p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.k8s-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.k8s-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  background: rgba(50,108,229,.15);
  border: 1px solid rgba(50,108,229,.3);
  color: #7AB4FF;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ── Mission / Vision / Values ───────────────────────────────────── */
#mision { background: var(--c-white); }
.mvv-header { text-align: center; margin: 0 auto 3rem; max-width: 560px; }

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.mvv-card {
  border-radius: 20px;
  padding: 2.4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mvv-card.purple  { background: var(--g-card); color: var(--c-white); }
.mvv-card.light   { background: var(--c-gray); }
.mvv-card.orange  { background: var(--g-orange); color: var(--c-white); }

/* Decorative background pattern */
.mvv-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.04) 0%, transparent 50%);
}

.mvv-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
  position: relative;
  z-index: 1;
}
.mvv-card.purple .mvv-icon,
.mvv-card.orange .mvv-icon { background: rgba(255,255,255,0.15); }
.mvv-card.light  .mvv-icon { background: var(--g-card); }

.mvv-card h3 {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}
.mvv-card.light h3 { color: var(--c-deep); }

.mvv-card p {
  font-size: 0.86rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.mvv-card.light p  { color: var(--c-muted); }
.mvv-card.purple p,
.mvv-card.orange p { color: rgba(255,255,255,0.85); }

/* ── Contact ─────────────────────────────────────────────────────── */
#contacto {
  background: var(--g-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -120px; left: -80px;
  pointer-events: none;
}
#contacto::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -60px; right: -40px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(1.75rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--c-white);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 1rem;
}
.cta-title span { color: var(--c-orange2); }
.cta-sub {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  margin-bottom: 2.5rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

/* Honeypot */
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tabindex: -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.88rem 1.1rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.09);
  color: var(--c-white);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  min-height: 48px;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.42); }
.form-field select option          { color: var(--c-deep); background: var(--c-white); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.13);
  box-shadow: var(--shadow-glow);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

#submit-btn {
  width: 100%;
  background: var(--g-orange);
  color: var(--c-white);
  border: none;
  border-radius: 50px;
  padding: 1rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity var(--t), transform var(--t);
  box-shadow: 0 6px 28px rgba(233,84,32,.4);
  min-height: 52px;
}
#submit-btn:hover   { opacity: 0.88; transform: translateY(-2px); }
#submit-btn:active  { transform: translateY(0); }
#submit-btn.loading { opacity: 0.65; cursor: not-allowed; }
#submit-btn:disabled { cursor: not-allowed; }

.form-result {
  display: none;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 500;
}
.form-result.success {
  background: rgba(39,201,63,0.15);
  border: 1px solid rgba(39,201,63,0.35);
  color: #C8F5CC;
}
.form-result.error {
  background: rgba(255,95,86,0.15);
  border: 1px solid rgba(255,95,86,0.35);
  color: #FFD0CD;
}

/* ── Footer ──────────────────────────────────────────────────────── */
footer {
  background: var(--c-deep);
  padding: 3rem clamp(1.25rem, 6%, 6%) 1.75rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img {
  height: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: 0.9rem;
}
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 0.9rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-col ul a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.48);
  transition: color var(--t);
}
.footer-col ul a:hover { color: var(--c-orange2); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--c-orange);
  font-weight: 600;
  font-style: italic;
}

/* ── Tools Section ───────────────────────────────────────────────── */
#herramientas {
  padding: var(--section-pad);
  background: var(--c-gray);
}

.tools-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.tools-header .section-sub { margin: 0 auto; }

.tools-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}

.tool-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(142,33,124,.08);
  transition: transform var(--t), box-shadow var(--t);
}
.tool-card--live {
  border-color: rgba(142,33,124,.2);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.tool-card--live:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(142,33,124,.14);
}
.tool-card--soon {
  opacity: 0.72;
  cursor: default;
}
.tool-card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(142,33,124,.08);
  border-radius: 12px;
}
.tool-card-content { flex: 1; }
.tool-card-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-deep);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.tool-card-content p {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.tool-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-orange);
  letter-spacing: 0.03em;
  transition: color var(--t);
}
.tool-card--live:hover .tool-card-link { color: var(--c-orange2); }

.tool-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  background: rgba(142,33,124,.08);
  color: var(--c-mid);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* ═══════════════════════════════════════════════════════════════════
   Tablet ≥ 640px
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .services-grid    { grid-template-columns: 1fr 1fr; }
  .form-row         { grid-template-columns: 1fr 1fr; }
  .mvv-grid         { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top       { grid-template-columns: 1fr 1fr; }
  .footer-bottom    { flex-direction: row; justify-content: space-between; align-items: center; }
  .tools-grid       { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   Desktop ≥ 1024px
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* Nav */
  #hamburger  { display: none; }
  .nav-links  { display: flex; }
  .nav-cta    { display: inline-flex; align-items: center; }

  /* Hero — two columns */
  #hero {
    align-items: center;
    gap: 3rem;
  }
  .hero-inner { max-width: 560px; }
  .hero-visual { display: flex; align-items: center; }
  .hero-btns  { gap: 1rem; }

  /* Services */
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  /* Why */
  .why-grid   { grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
  .why-visual { display: block; }

  /* Automation */
  .auto-grid  { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }

  /* Footer */
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  /* Tools */
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── CASOS DE USO ──────────────────────────────────────────────── */
#casos {
  background: var(--c-white);
  padding: var(--section-pad);
}

.casos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.caso-card {
  background: var(--c-gray);
  border-radius: 16px;
  padding: 2rem 2rem 1.75rem;
  border: 1px solid rgba(142, 33, 124, 0.12);
  transition: border-color var(--t), box-shadow var(--t);
}

.caso-card:hover {
  border-color: rgba(142, 33, 124, 0.35);
  box-shadow: 0 4px 24px rgba(142, 33, 124, 0.08);
}

.caso-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-orange);
  background: rgba(233, 84, 32, 0.1);
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 1rem;
}

.caso-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-deep);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.caso-card > p {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.caso-outcomes {
  list-style: none;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.caso-outcomes li {
  font-size: 0.875rem;
  color: var(--c-text);
  padding-left: 1.25rem;
  position: relative;
}

.caso-outcomes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-mid);
}

.caso-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.caso-stack span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-mid);
  background: rgba(142, 33, 124, 0.08);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

@media (min-width: 768px) {
  .casos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .casos-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════
   Reduced motion — disable all animations
   ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-orb,
  .hero-badge-dot,
  .noc-live-dot,
  .ds-metric-dot,
  .conn-line,
  .cursor,
  .strip-inner {
    animation: none !important;
  }
  #hero-canvas { display: none; }
}

/* ── Language toggle ────────────────────────────────────────────── */
.lang-toggle {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
  min-height: 32px;
}
.lang-toggle:hover {
  border-color: rgba(255,255,255,0.65);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
