/* ═══════════════════════════════════════════════════════════════
   LOGICSOFT – LANDING PAGE CSS
   Brand Colors:
     #1D334A  (Dark navy blue)
     #060B24  (Deep midnight)
     #72C9E2  (Accent cyan)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
  --color-primary: #1D334A;
  --color-dark: #060B24;
  --color-accent: #72C9E2;
  --color-accent-2: #4db8d8;
  --color-accent-3: #a8e0ef;
  --color-surface: #0d1a2d;
  --color-surface-2: #112035;
  --color-surface-3: #162840;
  --color-border: rgba(114,201,226,0.15);
  --color-border-hover: rgba(114,201,226,0.35);
  --color-text: #e2eaf0;
  --color-text-muted: #8fa8be;
  --color-text-heading: #ffffff;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-glow: 0 0 30px rgba(114,201,226,0.15);
  --shadow-card: 0 4px 24px rgba(6,11,36,0.6);
  --shadow-card-hover: 0 8px 40px rgba(6,11,36,0.8), 0 0 60px rgba(114,201,226,0.1);

  --transition-fast: 200ms cubic-bezier(0.4,0,0.2,1);
  --transition-med: 350ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 600ms cubic-bezier(0.4,0,0.2,1);

  --nav-h: 100px;
  --container: 1240px;
  --section-py: clamp(80px, 10vw, 140px);
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background-color: var(--color-dark);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── Global keyframes (must be early) ──────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ─── Section base ──────────────────────────────────────────── */
.section { padding: var(--section-py) 0; }

/* ─── Section Header ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: clamp(56px, 7vw, 96px); }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(114,201,226,0.08);
  border: 1px solid rgba(114,201,226,0.2);
  border-radius: var(--radius-pill);
  padding: 7px 20px;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}
.text-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #a8e0ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition-med);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  color: var(--color-dark);
  box-shadow: 0 4px 24px rgba(114,201,226,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(114,201,226,0.5);
}

.btn--secondary {
  background: rgba(255,255,255,0.06);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}
.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  background: rgba(114,201,226,0.08);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

.btn--secondary-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
}
.btn--secondary-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn--sm { padding: 11px 22px; font-size: 0.875rem; }

/* ─── Reveal animations (JS-driven, activadas via .reveal-ready) ── */
.reveal {
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
}
.reveal-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background var(--transition-med), box-shadow var(--transition-med);
}
.nav-header.scrolled {
  background: rgba(6,11,36,0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(114,201,226,0.1), var(--shadow-card);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { height: 88px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transform: translateX(-50%);
  transition: width var(--transition-fast);
}
.nav-link:hover { color: var(--color-text-heading); }
.nav-link:hover::after { width: 60%; }

.nav-link--cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  color: var(--color-dark) !important;
  font-weight: 700;
  padding: 8px 20px;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  box-shadow: 0 4px 16px rgba(114,201,226,0.4);
  transform: translateY(-1px);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-med);
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(6,11,36,0.97);
  backdrop-filter: blur(20px);
  padding: 20px clamp(20px, 5vw, 40px) 32px;
  border-bottom: 1px solid var(--color-border);
  z-index: 899;
  animation: menuSlide 0.3s ease;
}
.mobile-menu[hidden] { display: none; }
@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.mobile-link:hover { color: var(--color-accent); padding-left: 8px; }
.mobile-link--cta {
  margin-top: 16px;
  display: inline-flex;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: var(--color-dark) !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
}

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 40px 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(29,51,74,0.6) 0%, var(--color-dark) 70%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(114,201,226,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114,201,226,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.3;
  animation: particleFloat linear infinite;
}
.p1 { width: 4px; height: 4px; top: 20%; left: 15%; animation-duration: 8s; animation-delay: 0s; }
.p2 { width: 3px; height: 3px; top: 60%; left: 80%; animation-duration: 11s; animation-delay: 2s; }
.p3 { width: 5px; height: 5px; top: 80%; left: 30%; animation-duration: 9s; animation-delay: 4s; }
.p4 { width: 3px; height: 3px; top: 35%; left: 70%; animation-duration: 13s; animation-delay: 1s; }
.p5 { width: 4px; height: 4px; top: 50%; left: 50%; animation-duration: 10s; animation-delay: 3s; }
@keyframes particleFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0.3; }
  50%  { transform: translateY(-40px) scale(1.3); opacity: 0.6; }
  100% { transform: translateY(0) scale(1); opacity: 0.3; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(114,201,226,0.08);
  border: 1px solid rgba(114,201,226,0.2);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--color-text-heading);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, #a8e0ef 50%, #72C9E2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 32px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-text-heading);
  line-height: 1;
}
.stat > span:not(.stat-num):not(.stat-label) {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

/* Hero actions */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 22vw, 340px);
  height: clamp(200px, 22vw, 340px);
  pointer-events: none;
  z-index: 5;
}
.hv-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(114,201,226,0.15);
  animation: spin linear infinite;
}
.hv-ring--1 { animation-duration: 20s; }
.hv-ring--2 { inset: 14%; border-color: rgba(114,201,226,0.1); animation-duration: 15s; animation-direction: reverse; }
.hv-ring--3 { inset: 28%; border-color: rgba(114,201,226,0.2); animation-duration: 10s; border-style: dashed; }
@keyframes spin { to { transform: rotate(360deg); } }

.hv-center {
  position: absolute;
  inset: 36%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.85; }
}

.hv-orbit { position: absolute; inset: 0; animation: spin linear infinite; }
.hv-orbit--1 { animation-duration: 12s; }
.hv-orbit--2 { animation-duration: 18s; animation-direction: reverse; }
.hv-orbit--3 { animation-duration: 9s; }
.hv-orbit--4 { animation-duration: 22s; animation-direction: reverse; }

.hv-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: counterSpin linear infinite;
}
.hv-orbit--1 .hv-icon { animation-duration: 12s; }
.hv-orbit--2 .hv-icon { animation-duration: 18s; animation-direction: normal; }
.hv-orbit--3 .hv-icon { animation-duration: 9s; }
.hv-orbit--4 .hv-icon { animation-duration: 22s; animation-direction: normal; }
@keyframes counterSpin { to { transform: translateX(-50%) translateY(-50%) rotate(-360deg); } }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}
.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(114,201,226,0.4);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: 0.3; }
}
.hero-scroll span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════════════════════ */
.services-section { background: var(--color-dark); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* Separadores de grupo dentro del grid de servicios */
.services-group-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 4px;
}
.services-group-label:first-child { margin-top: 0; }
.services-group-label span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap;
}
.services-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(114,201,226,0.25) 0%, transparent 100%);
}

.service-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  overflow: hidden;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
}
.service-card:hover { border-color: var(--color-border-hover); transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.service-card:hover::before { opacity: 1; }

.card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(114,201,226,0.07) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.service-card:hover .card-glow { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-med);
  flex-shrink: 0;
}
.service-card:hover .card-icon { transform: scale(1.08) rotate(-2deg); }

.card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.3;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(114,201,226,0.08);
  border: 1px solid rgba(114,201,226,0.15);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  letter-spacing: 0.04em;
}

.card-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition-med), transform var(--transition-med);
}
.service-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* Reveal delays for cards */
.service-card[data-delay="0"]   { transition-delay: 0ms; }
.service-card[data-delay="100"] { transition-delay: 80ms; }
.service-card[data-delay="200"] { transition-delay: 160ms; }
.service-card[data-delay="300"] { transition-delay: 240ms; }

/* ══════════════════════════════════════════════════════════════
   AUTOMATION SECTION
══════════════════════════════════════════════════════════════ */
.automation-section {
  background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-surface) 50%, var(--color-dark) 100%);
  position: relative;
}
.automation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.auto-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

.auto-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 36px 0 44px;
}
.auto-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.af-icon {
  width: 48px;
  height: 48px;
  background: rgba(114,201,226,0.08);
  border: 1px solid rgba(114,201,226,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-med), border-color var(--transition-med);
}
.auto-feature:hover .af-icon {
  background: rgba(114,201,226,0.15);
  border-color: rgba(114,201,226,0.4);
}
.auto-feature strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}
.auto-feature span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Flow diagram */
.auto-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  width: 100%;
  max-width: 320px;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  position: relative;
  z-index: 2;
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
}
.flow-node:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.flow-node--trigger { border-left: 3px solid #F59E0B; }
.flow-node--process { border-left: 3px solid var(--color-accent); }
.flow-node--action  { border-left: 3px solid #8B5CF6; }
.flow-node--output  { border-left: 3px solid #25D366; }
.flow-node--result  { border-left: 3px solid #10B981; }

.fn-icon {
  width: 44px;
  height: 44px;
  background: rgba(114,201,226,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow-node span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-heading);
}

.flow-arrow {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, rgba(114,201,226,0.4) 0%, rgba(114,201,226,0.1) 100%);
  position: relative;
  z-index: 1;
}
.flow-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(114,201,226,0.4);
}

/* Animated pulse on flow */
.flow-node {
  animation: flowNodePulse 3s ease-in-out infinite;
}
.flow-node:nth-child(1) { animation-delay: 0s; }
.flow-node:nth-child(3) { animation-delay: 0.6s; }
.flow-node:nth-child(5) { animation-delay: 1.2s; }
.flow-node:nth-child(7) { animation-delay: 1.8s; }
.flow-node:nth-child(9) { animation-delay: 2.4s; }
@keyframes flowNodePulse {
  0%,100% { box-shadow: none; }
  50%      { box-shadow: 0 0 16px rgba(114,201,226,0.12); }
}

/* ══════════════════════════════════════════════════════════════
   SOLUTIONS SECTION
══════════════════════════════════════════════════════════════ */
.solutions-section { background: var(--color-dark); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
}
.solution-item:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.solution-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(114,201,226,0.06);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
  user-select: none;
  pointer-events: none;
}

.solution-icon {
  width: 52px;
  height: 52px;
  background: rgba(114,201,226,0.08);
  border: 1px solid rgba(114,201,226,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-med), border-color var(--transition-med);
}
.solution-item:hover .solution-icon {
  background: rgba(114,201,226,0.15);
  border-color: rgba(114,201,226,0.4);
}

.solution-body h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 10px;
  line-height: 1.3;
}
.solution-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   PROCESS SECTION
══════════════════════════════════════════════════════════════ */
.process-section {
  background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-surface) 50%, var(--color-dark) 100%);
  position: relative;
}
.process-section::before, .process-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}
.process-section::before { top: 0; }
.process-section::after  { bottom: 0; }

.process-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 180px;
  max-width: 260px;
  scroll-snap-align: center;
  position: relative;
  padding: 0 10px;
}

.ps-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(114,201,226,0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.ps-connector {
  position: absolute;
  top: 54px;
  left: calc(50% + 48px);
  right: calc(-50% + 48px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(114,201,226,0.2));
  z-index: 0;
}

.ps-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  width: 100%;
  z-index: 1;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
}
.ps-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.ps-icon {
  width: 60px;
  height: 60px;
  background: rgba(114,201,226,0.08);
  border: 1px solid rgba(114,201,226,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background var(--transition-med), border-color var(--transition-med);
}
.ps-card:hover .ps-icon {
  background: rgba(114,201,226,0.15);
  border-color: var(--color-accent);
}

.ps-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}
.ps-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   TECHNOLOGIES SECTION
══════════════════════════════════════════════════════════════ */
.tech-section { background: var(--color-dark); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
  cursor: default;
}
.tech-item:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}
.tech-item:hover .tech-icon svg { filter: drop-shadow(0 0 10px rgba(114,201,226,0.4)); }

.tech-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-med);
}
.tech-item:hover .tech-icon { transform: scale(1.1); }

.tech-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.tech-item:hover span { color: var(--color-accent); }

/* Reveal delays for tech */
.tech-item[data-delay="80"]  { transition-delay: 80ms; }
.tech-item[data-delay="160"] { transition-delay: 160ms; }
.tech-item[data-delay="240"] { transition-delay: 240ms; }
.tech-item[data-delay="320"] { transition-delay: 320ms; }
.tech-item[data-delay="400"] { transition-delay: 400ms; }

/* ══════════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-py) 0;
  text-align: center;
  background: var(--color-surface);
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.cta-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: -200px;
  left: -150px;
  animation: orbFloat 12s ease-in-out infinite;
}
.cta-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(114,201,226,0.3) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: orbFloat 15s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-30px) scale(1.05); }
}

.cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.cta-content { position: relative; z-index: 2; }

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-text-heading);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cta-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer { background: var(--color-dark); position: relative; }
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.footer-top { padding: clamp(64px, 9vw, 120px) 0 72px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 300px;
}

.footer-logo img { height: 100px; width: auto; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer-contact-item:hover { color: var(--color-accent); }

.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-med);
}
.social-link:hover {
  background: rgba(114,201,226,0.12);
  border-color: rgba(114,201,226,0.4);
  color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-nav h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--color-accent); padding-left: 6px; }

.footer-cta-col h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-cta-col p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.footer-nit {
  margin-top: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   FLOATING ELEMENTS
══════════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  animation: waPulse 2.5s ease-in-out infinite;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.3); }
  50%      { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 12px rgba(37,211,102,0); }
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--color-surface-2);
  color: var(--color-text-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  border: 1px solid var(--color-border);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-med);
}
.back-to-top:hover {
  background: rgba(114,201,226,0.12);
  border-color: rgba(114,201,226,0.4);
  color: var(--color-accent);
  transform: translateY(-3px);
}
.back-to-top[hidden] { display: none; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .auto-layout { grid-template-columns: 1fr; }
  .auto-diagram { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-logo img { height: 72px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow-x: visible;
  }
  .process-step { min-width: unset; max-width: 400px; width: 100%; }
  .ps-connector { display: none; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats { gap: 0; }
  .stat { padding: 10px 20px; }
  .services-group-label { margin: 24px 0 8px; }
}

@media (max-width: 480px) {
  :root { --nav-h: 88px; }
  .hero { padding: calc(var(--nav-h) + 24px) 24px 64px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-trust { gap: 16px; flex-direction: column; align-items: flex-start; text-align: left; margin: 0 auto; }
  .stat-divider { display: none; }
  .hero-stats { gap: 12px; }
  .stat { padding: 8px 16px; }
}

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

/* ─── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-dark); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

/* ─── Print ───────────────────────────────────────────────────── */
@media print {
  .nav-header, .whatsapp-float, .back-to-top, .hero-canvas, .cta-canvas { display: none; }
  body { background: #fff; color: #000; }
}

/* ─── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   DESARROLLO A LA MEDIDA
══════════════════════════════════════════════════════════════ */
.devmedida-section {
  background: var(--color-dark);
  position: relative;
}
.devmedida-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}
.devmedida-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.devmedida-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
}
.devmedida-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-med);
}
.devmedida-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.devmedida-card:hover::before { opacity: 1; }
.dmc-icon {
  width: 76px;
  height: 76px;
  background: rgba(114,201,226,0.06);
  border: 1px solid rgba(114,201,226,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.devmedida-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 14px;
  line-height: 1.3;
}
.devmedida-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.dmc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dmc-list li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}
.dmc-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}
.devmedida-cta {
  margin-top: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.devmedida-cta p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
}
.devmedida-cta p strong {
  color: var(--color-text-heading);
}

/* ══════════════════════════════════════════════════════════════
   POR QUÉ LOGICSOFT
══════════════════════════════════════════════════════════════ */
.whyus-section {
  background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(29,51,74,0.4) 0%, var(--color-dark) 65%);
  position: relative;
}
.whyus-section::before,
.whyus-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}
.whyus-section::before { top: 0; }
.whyus-section::after { bottom: 0; }
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.whyus-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
}
.whyus-item:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.wi-icon {
  width: 60px;
  height: 60px;
  background: rgba(114,201,226,0.06);
  border: 1px solid rgba(114,201,226,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-med), border-color var(--transition-med);
}
.whyus-item:hover .wi-icon {
  background: rgba(114,201,226,0.12);
  border-color: rgba(114,201,226,0.35);
}
.whyus-item h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.3;
}
.whyus-item p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .devmedida-grid { grid-template-columns: 1fr; }
  .whyus-grid { grid-template-columns: 1fr; }
  .devmedida-card { padding: 32px 24px; }
  .whyus-item { padding: 32px 24px; }
}

/* ══════════════════════════════════════════════════════════════
   QUIÉNES SOMOS
══════════════════════════════════════════════════════════════ */
.quienes-section {
  background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-surface) 50%, var(--color-dark) 100%);
  position: relative;
}
.quienes-section::before,
.quienes-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}
.quienes-section::before { top: 0; }
.quienes-section::after  { bottom: 0; }

/* Párrafo introductorio */
.quienes-intro {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}
.quienes-intro p {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}
.quienes-intro p strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* Grid Misión / Visión */
.quienes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 56px;
}

.quienes-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
}
.quienes-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
}
.quienes-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.quienes-card:hover::before { opacity: 1; }

.quienes-num {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(114,201,226,0.05);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 28px;
  user-select: none;
  pointer-events: none;
}

.quienes-icon {
  width: 64px;
  height: 64px;
  background: rgba(114,201,226,0.07);
  border: 1px solid rgba(114,201,226,0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background var(--transition-med), border-color var(--transition-med);
}
.quienes-card:hover .quienes-icon {
  background: rgba(114,201,226,0.14);
  border-color: rgba(114,201,226,0.35);
}

.quienes-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.quienes-card p {
  font-size: 0.97rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* Valores clave */
.quienes-valores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  padding: 36px 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
.qv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.qv-item svg { flex-shrink: 0; }

@media (max-width: 768px) {
  .quienes-grid { grid-template-columns: 1fr; }
  .quienes-card { padding: 36px 28px; }
  .quienes-valores { padding: 28px 24px; gap: 14px 20px; }
  .qv-item { white-space: normal; }
}
