/* ==========================================================================
   CORFIS - DISEÑO FUSIONADO, MINIMALISTA Y LLAMATIVO
   Inspirado en la potencia de marca y el Hero Split Bento de Image 1 & Image 2
   ========================================================================== */

/* --------------------------------------------------------------------------
   VARIABLES DEL SISTEMA
   -------------------------------------------------------------------------- */
:root {
  --brand-red: #D32F2F;
  --brand-red-dark: #B71C1C;
  --brand-red-subtle: rgba(211, 47, 47, 0.12);
  --brand-red-border: rgba(211, 47, 47, 0.45);
  --brand-red-glow: rgba(211, 47, 47, 0.25);
  
  --brand-blue: #2563EB;
  --brand-blue-dark: #1D4ED8;
  --brand-green: #10B981;
  --brand-whatsapp: #25D366;
  --brand-whatsapp-hover: #1EBE5D;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modo Oscuro (Predeterminado) */
[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #0B0F19;
  --bg-top: #060910;
  --bg-surface: #111726;
  --bg-surface-alt: #161F33;
  --bg-glass: rgba(11, 15, 25, 0.85);

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);

  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-light: #6B7280;

  --card-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --client-filter: brightness(0) invert(1) opacity(0.7);
  --client-hover: brightness(0) invert(1) opacity(1);

  --hub-web-bg: #161E2E;
  --hub-web-border: rgba(255, 255, 255, 0.1);
}

/* Modo Claro */
[data-theme="light"] {
  color-scheme: light;
  --bg-page: #F8FAFC;
  --bg-top: #F1F5F9;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --bg-glass: rgba(248, 250, 252, 0.9);

  --border: #E2E8F0;
  --border-hover: #CBD5E1;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;

  --card-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --client-filter: grayscale(100%) opacity(0.75);
  --client-hover: grayscale(0%) opacity(1);

  --hub-web-bg: #1E293B;
  --hub-web-border: transparent;
}

/* --------------------------------------------------------------------------
   RESETS Y TIPOGRAFÍA BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: var(--font-text);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   UTILIDADES & BOTONES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-red { color: var(--brand-red); }
.text-blue { color: var(--brand-blue); }
.w-full { width: 100%; }
.mt-3 { margin-top: 1rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--text-main) 30%, var(--brand-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn i {
  width: 16px;
  height: 16px;
}

.btn svg,
.wa-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--brand-red);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--brand-red-glow);
}

.btn-secondary {
  background: var(--bg-surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--bg-surface-alt);
  border-color: var(--text-main);
}

.btn-blue {
  background: #1660F2;
  color: #FFFFFF;
}

.btn-blue:hover {
  background: #124EC9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 96, 242, 0.35);
}

.btn-whatsapp {
  background: var(--brand-whatsapp);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: var(--brand-whatsapp-hover);
  transform: translateY(-2px);
}

.btn-whatsapp-pill {
  background: rgba(37, 211, 102, 0.12);
  color: #22C55E;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
}

.btn-whatsapp-pill:hover {
  background: var(--brand-whatsapp);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.84rem;
  padding: 0.5rem 1.15rem;
}

.btn-lg {
  font-size: 0.98rem;
  padding: 0.95rem 1.9rem;
}

.shadow-lift {
  box-shadow: 0 6px 20px var(--brand-red-glow);
}

/* Encabezados de Sección */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title-wrap {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
  background: var(--brand-red-subtle);
  border: 1px solid rgba(211, 47, 47, 0.22);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.title-main {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.desc-main {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--bg-top);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-brand-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.top-info-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-info-links a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-info-links a i {
  width: 13px;
  height: 13px;
}

.top-info-links a:hover {
  color: var(--brand-red);
}

/* --------------------------------------------------------------------------
   STICKY NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 76px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
  box-shadow: var(--card-shadow);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Adaptativo HD Claro / Oscuro */
.logo-dark {
  display: block;
}

.logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block !important;
}

[data-theme="dark"] .logo-light {
  display: none !important;
}

[data-theme="light"] .logo-dark {
  display: none !important;
}

[data-theme="light"] .logo-light {
  display: block !important;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}

.navbar-logo:hover img {
  transform: scale(1.03);
}

.drawer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-red);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.theme-btn:hover {
  border-color: var(--border-hover);
  transform: rotate(15deg);
}

.theme-btn i {
  width: 17px;
  height: 17px;
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--bg-surface);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
  transition: right var(--transition);
}

.mobile-drawer.open { right: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  background: none;
  color: var(--text-main);
  padding: 4px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.drawer-link:hover { color: var(--brand-red); }

.drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   HERO SECTION: FUSIÓN DE IMAGE 1 & IMAGE 2 (SPLIT LAYOUT)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

/* Capa de Fondo Temático Profesional Sutil (Nace bajo el menú) */
.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.12;
  filter: grayscale(100%) contrast(125%) brightness(0.9);
  transform: scale(1.02);
}

[data-theme="light"] .hero-bg-image {
  opacity: 0.07;
  filter: grayscale(100%) contrast(115%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black 20%, transparent 85%);
}

[data-theme="light"] .hero-bg-grid {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, 
      rgba(6, 9, 16, 0.6) 0%, 
      transparent 18%, 
      transparent 65%, 
      var(--bg-page) 100%
    ),
    radial-gradient(ellipse 95% 80% at 50% 35%, 
      transparent 0%, 
      rgba(11, 15, 25, 0.6) 65%, 
      var(--bg-page) 100%
    );
}

[data-theme="light"] .hero-bg-overlay {
  background: 
    linear-gradient(180deg, 
      rgba(241, 245, 249, 0.6) 0%, 
      transparent 18%, 
      transparent 65%, 
      var(--bg-page) 100%
    ),
    radial-gradient(ellipse 95% 80% at 50% 35%, 
      transparent 0%, 
      rgba(248, 250, 252, 0.6) 65%, 
      var(--bg-page) 100%
    );
}

.hero-ambient-glow {
  position: absolute;
  top: -80px;
  right: 8%;
  width: 650px;
  height: 520px;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.1) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-ambient-glow-blue {
  position: absolute;
  top: 15%;
  left: -80px;
  width: 580px;
  height: 520px;
  background: radial-gradient(circle, rgba(22, 96, 242, 0.09) 0%, transparent 70%);
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Left Content Column */
.hero-content-col {
  display: flex;
  flex-direction: column;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.22);
  padding: 0.32rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 2.7vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.15rem;
}

.highlight-red {
  color: #EF4444;
}

.highlight-blue {
  color: #1660F2;
}

.hero-desc {
  font-size: clamp(0.96rem, 1.1vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 1.75rem;
}

.hero-desc strong {
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  width: 100%;
}

.hero-actions .btn {
  padding: 0.72rem 1.15rem;
  font-size: 0.86rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3 CUADROS INDEPENDIENTES DE MÉTRICAS (COMPACTOS & EQUILIBRADOS)
   -------------------------------------------------------------------------- */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  width: 100%;
}

.hero-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.05rem 1rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.stat-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-badge i {
  width: 16px;
  height: 16px;
}

.badge-rose {
  background: rgba(251, 113, 133, 0.14);
  color: #FB7185;
}

.badge-blue {
  background: rgba(56, 189, 248, 0.14);
  color: #38BDF8;
}

.badge-green {
  background: rgba(52, 211, 153, 0.14);
  color: #34D399;
}

.stat-big-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.stat-plus {
  color: var(--brand-red);
  font-size: 1.2rem;
  font-weight: 800;
  margin-left: 2px;
}

.stat-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.stat-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.stat-card-exp:hover { border-color: rgba(251, 113, 133, 0.45); }
.stat-card-cli:hover { border-color: rgba(56, 189, 248, 0.45); }
.stat-card-custom:hover { border-color: rgba(52, 211, 153, 0.45); }

/* --------------------------------------------------------------------------
   RIGHT COLUMN: BENTO CARD BOX (COLORES PASTEL PROFESIONALES, NADA CHILLÓN)
   -------------------------------------------------------------------------- */
.hero-card-col {
  display: flex;
  justify-content: center;
}

.connect-card-box {
  width: 100%;
  max-width: 490px;
  background: #0D1525;
  border: 1.5px solid rgba(244, 114, 182, 0.28); /* Borde sutil pastel rosa-vino */
  border-radius: 28px;
  padding: 2rem 1.85rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 25px rgba(244, 114, 182, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.connect-card-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45), 0 0 30px rgba(244, 114, 182, 0.12);
}

.connect-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.35rem;
}

.connect-tag {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #FB7185; /* Tono pastel coral/rose suave, no chillón */
  letter-spacing: 0.02em;
}

.connect-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

/* Individual Bento Hub Cards */
.hub-card {
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hub-card:hover {
  transform: translateY(-4px);
}

.hub-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.45rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hub-text {
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Card 1: Web (Pastel Slate) */
.hub-web {
  background: #172133;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.hub-web .hub-text {
  color: #94A3B8;
}

.hub-web:hover {
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Card 2: App (Pastel Slate Blue / Soft Muted Cornflower - NO Chillón) */
.hub-app {
  background: linear-gradient(140deg, #264366 0%, #1A304B 100%);
  border: 1px solid rgba(147, 197, 253, 0.25);
  box-shadow: 0 6px 20px rgba(26, 48, 75, 0.35);
}

.hub-app .hub-text {
  color: #BAE6FD;
}

.hub-app:hover {
  background: linear-gradient(140deg, #2D4F78 0%, #203B5C 100%);
  border-color: rgba(147, 197, 253, 0.4);
  box-shadow: 0 10px 26px rgba(26, 48, 75, 0.5);
}

/* Card 3: Software Empresarial (Pastel Rose Wine / Warm Brick - NO Chillón) */
.hub-software {
  grid-column: span 2;
  background: linear-gradient(140deg, #542229 0%, #3D161C 100%);
  border: 1px solid rgba(251, 113, 133, 0.25);
  padding: 1.65rem 1.55rem;
  box-shadow: 0 6px 20px rgba(61, 22, 28, 0.35);
}

.hub-software .hub-text {
  color: #FECDD3;
}

.hub-software:hover {
  background: linear-gradient(140deg, #632831 0%, #4A1B22 100%);
  border-color: rgba(251, 113, 133, 0.4);
  box-shadow: 0 10px 26px rgba(61, 22, 28, 0.5);
}

/* Modo Claro: Colores Pastel Bento & Métricas */
[data-theme="light"] .hero-stat-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .hero-stat-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .connect-card-box {
  background: #FFFFFF;
  border-color: #FBCFE8;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .connect-tag {
  color: #E11D48;
}

[data-theme="light"] .hub-web {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
[data-theme="light"] .hub-web .hub-title { color: #0F172A; }
[data-theme="light"] .hub-web .hub-text { color: #64748B; }

[data-theme="light"] .hub-app {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
}
[data-theme="light"] .hub-app .hub-title { color: #1E40AF; }
[data-theme="light"] .hub-app .hub-text { color: #2563EB; }

[data-theme="light"] .hub-software {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.08);
}
[data-theme="light"] .hub-software .hub-title { color: #9F1239; }
[data-theme="light"] .hub-software .hub-text { color: #E11D48; }

/* --------------------------------------------------------------------------
   SERVICIOS
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.service-card-red {
  border-color: rgba(211, 47, 47, 0.38);
}

.service-card-red:hover {
  border-color: rgba(211, 47, 47, 0.7);
  box-shadow: 0 12px 32px rgba(211, 47, 47, 0.12);
}

.service-card-blue {
  border-color: rgba(22, 96, 242, 0.38);
}

.service-card-blue:hover {
  border-color: rgba(22, 96, 242, 0.7);
  box-shadow: 0 12px 32px rgba(22, 96, 242, 0.12);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon.icon-red {
  background: var(--brand-red);
  color: #FFFFFF;
}

.service-icon.icon-blue {
  background: #1660F2;
  color: #FFFFFF;
}

.service-icon i {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  stroke-width: 2.2;
}

.service-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.service-tag.text-blue {
  color: #1660F2;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.erp-pills-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.erp-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  transition: background-color var(--transition), border-color var(--transition);
}

.erp-pill:hover {
  background: var(--bg-surface);
  border-color: var(--border-hover);
}

.erp-pill i {
  width: 16px;
  height: 16px;
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.erp-pill.pill-blue i {
  color: #1660F2;
}

.erp-pill strong {
  color: var(--text-main);
}

.clean-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.clean-check-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.clean-check-list li i {
  width: 15px;
  height: 15px;
  color: var(--brand-red);
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --------------------------------------------------------------------------
   NOSOTROS: PILARES & MISIÓN/VISIÓN/VALORES BENTO
   -------------------------------------------------------------------------- */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.pillar-card-red {
  border-color: rgba(211, 47, 47, 0.38);
}
.pillar-card-red:hover {
  border-color: rgba(211, 47, 47, 0.7);
  box-shadow: 0 12px 32px rgba(211, 47, 47, 0.12);
}

.pillar-card-blue {
  border-color: rgba(22, 96, 242, 0.38);
}
.pillar-card-blue:hover {
  border-color: rgba(22, 96, 242, 0.7);
  box-shadow: 0 12px 32px rgba(22, 96, 242, 0.12);
}

.pillar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon-box.icon-red {
  background: var(--brand-red);
  color: #FFFFFF;
}

.pillar-icon-box.icon-blue {
  background: #1660F2;
  color: #FFFFFF;
}

.pillar-icon-box i {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  stroke-width: 2.2;
}

.pillar-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  width: fit-content;
}

.pillar-footer-badge i {
  width: 14px;
  height: 14px;
  color: var(--brand-red);
}

.pillar-card-blue .pillar-footer-badge i {
  color: #1660F2;
}

/* Bento Misión, Visión y Valores */
.corporate-mvv-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.98fr 1.28fr;
  gap: 1.25rem;
}

.mvv-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.65rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), border-color var(--transition);
}

.mvv-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.mvv-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.mvv-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mvv-icon-badge.icon-red {
  background: rgba(211, 47, 47, 0.12);
  color: var(--brand-red);
  border: 1px solid rgba(211, 47, 47, 0.25);
}

.mvv-icon-badge.icon-blue {
  background: rgba(22, 96, 242, 0.12);
  color: #1660F2;
  border: 1px solid rgba(22, 96, 242, 0.25);
}

.mvv-icon-badge i {
  width: 20px;
  height: 20px;
}

.mvv-tag {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mvv-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.mvv-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.mvv-pill-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-red);
  background: var(--brand-red-subtle);
  border: 1px solid rgba(211, 47, 47, 0.2);
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  width: fit-content;
  white-space: nowrap;
}

.mvv-pill-highlight.pill-blue {
  color: #1660F2;
  background: rgba(22, 96, 242, 0.1);
  border-color: rgba(22, 96, 242, 0.2);
}

.mvv-pill-highlight i {
  width: 14px;
  height: 14px;
}

.values-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.32rem 0.6rem;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  transition: all var(--transition);
}

.value-chip:hover {
  background: var(--brand-red-subtle);
  border-color: rgba(211, 47, 47, 0.4);
  color: var(--brand-red);
  transform: translateY(-2px);
}

.value-chip i {
  width: 13px;
  height: 13px;
  color: var(--brand-red);
}

/* --------------------------------------------------------------------------
   PLANES WEB
   -------------------------------------------------------------------------- */
.currency-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.currency-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.currency-pills {
  display: inline-flex;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.pill-btn {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition);
}

.pill-btn.active {
  background: var(--brand-red);
  color: #FFFFFF;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), border-color var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.featured-pricing {
  border-color: var(--brand-red);
  box-shadow: 0 10px 30px var(--brand-red-glow);
}

.badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.card-head {
  margin-bottom: 1.5rem;
}

.card-level {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-red);
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0.2rem 0 0.75rem 0;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.price-symbol {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-val {
  font-family: var(--font-heading);
  font-size: 2.55rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.price-term {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-left: 0.35rem;
  white-space: nowrap;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.feature-list li i {
  width: 15px;
  height: 15px;
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list li strong {
  color: var(--text-main);
}

.domain-hosting-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.domain-hosting-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.domain-part {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  white-space: nowrap;
}

.domain-part strong {
  color: var(--text-main);
  font-weight: 700;
}

.hosting-part {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.28rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.hosting-plus {
  grid-column: 1;
  grid-row: 1;
  color: var(--text-muted);
}

.hosting-title {
  grid-column: 2;
  grid-row: 1;
  color: var(--text-muted);
}

.hosting-sub {
  grid-column: 2;
  grid-row: 2;
  color: var(--text-muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   NUESTROS CLIENTES (GRID RESPONSIVE EN FILAS Y COLUMNAS)
   -------------------------------------------------------------------------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1040px;
  margin: 2.75rem auto 0 auto;
  width: 100%;
}

.client-box {
  width: 100%;
  height: 104px;
  background: var(--bg-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.client-box:hover {
  transform: translateY(-5px) scale(1.03);
  background: #172238;
  border-color: #2563EB;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.3);
  z-index: 5;
}

[data-theme="light"] .client-box {
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .client-box:hover {
  background: #F8FAFC;
  border-color: #2563EB;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.2);
}

.client-box img {
  max-width: 156px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-box img.logo-tall {
  max-height: 72px;
  max-width: 150px;
}

.client-box:hover img {
  transform: scale(1.06) translateZ(0);
}

@media (max-width: 992px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 780px;
  }
}

@media (max-width: 680px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
    margin-top: 2rem;
  }

  .client-box {
    height: 88px;
    padding: 0.65rem 0.9rem;
  }

  .client-box img {
    max-width: 130px;
    max-height: 50px;
  }
}

@media (max-width: 400px) {
  .clients-grid {
    gap: 0.75rem;
  }

  .client-box {
    height: 80px;
    padding: 0.5rem 0.75rem;
  }

  .client-box img {
    max-width: 115px;
    max-height: 44px;
  }
}

/* --------------------------------------------------------------------------
   CONTACTO
   -------------------------------------------------------------------------- */
.contact-split-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.direct-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.direct-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-icon i {
  width: 18px;
  height: 18px;
}

.direct-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.direct-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.email-copy-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-icon-btn {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition), transform var(--transition);
}

.copy-icon-btn:hover {
  color: var(--brand-blue);
  transform: scale(1.15);
}

.copy-icon-btn:focus-visible {
  color: var(--brand-blue);
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.copy-icon-btn i,
.copy-icon-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.copy-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translate(-50%, 4px);
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.copy-badge.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.wa-direct-panel {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.wa-direct-panel h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.wa-direct-panel p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Formulario */
.form-container {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.form-container h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.form-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.input-field {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.input-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-size: 0.92rem;
  transition: border-color var(--transition);
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  border-color: var(--brand-red);
  background: var(--bg-surface);
}

.success-alert {
  text-align: center;
  padding: 2rem 1rem;
}

.success-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.success-check i { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   FOOTER MODERNO Y ELEGANTE
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: #080D1A;
  padding: 4.5rem 0 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Ambient line glow on top */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(22, 96, 242, 0.5) 25%, 
    rgba(211, 47, 47, 0.5) 75%, 
    transparent 100%
  );
  z-index: 1;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 80px;
  background: radial-gradient(ellipse at top, rgba(22, 96, 242, 0.12), transparent 70%);
  pointer-events: none;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.5fr 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Columna de Marca (Izquierda) */
.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 42px;
  width: auto;
  display: block;
}

.footer-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(211, 47, 47, 0.12);
  color: #EF4444;
  border: 1px solid rgba(211, 47, 47, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: pulse-dot-anim 2s infinite;
}

@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.footer-desc {
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0;
}

.footer-meta-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.footer-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #94A3B8;
}

.footer-meta-item svg {
  color: #1660F2;
}

.meta-dot {
  color: rgba(255, 255, 255, 0.2);
}

/* Columna de Navegación (Centro) */
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin: 0;
}

.footer-nav-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
}

.footer-nav-links a {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 500;
  color: #94A3B8;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-nav-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.footer-nav-links a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-nav-links a:hover::before {
  background: #1660F2;
  box-shadow: 0 0 6px #1660F2;
}

/* Columna Redes Sociales (Derecha) */
.footer-social-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-social-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E2E8F0;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.social-circle svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), fill 0.25s ease;
  display: block;
}

/* Efectos Hover Específicos para cada Red Social */
.social-circle.social-facebook:hover {
  background: rgba(24, 119, 242, 0.18);
  border-color: #1877F2;
  color: #1877F2;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.45);
}

.social-circle.social-twitter:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

.social-circle.social-instagram:hover {
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.25), rgba(225, 48, 108, 0.25), rgba(188, 24, 136, 0.25));
  border-color: #E1306C;
  color: #FD1D1D;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.45);
}

.social-circle.social-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25D366;
  color: #25D366;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.social-circle:hover svg {
  transform: scale(1.12);
}

/* Fila Inferior (Copyright y Sello) */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0;
}

.footer-bottom-badge {
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  letter-spacing: 0.02em;
}

/* Responsive Footer */
@media (max-width: 960px) {
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-social-col {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 3.5rem 0 2rem 0;
  }
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-social-col {
    grid-column: span 1;
  }
  .footer-nav-links {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   FLOATING WHATSAPP & SCROLL TOP
   -------------------------------------------------------------------------- */
.wa-floating-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wa-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
}

.wa-float-btn:hover { transform: scale(1.08); }

.wa-float-btn svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
  display: block;
}

.wa-popup-box {
  width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 12px;
}

.wa-popup-head {
  background: #075E54;
  color: #FFFFFF;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-popup-head img,
.wa-avatar-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 3px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: block;
}

.wa-popup-head h4 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2px;
}

.wa-popup-head span {
  font-size: 0.72rem;
  opacity: 0.9;
  line-height: 1.2;
}

.wa-popup-head button {
  background: none;
  color: #FFFFFF;
  margin-left: auto;
}

.wa-popup-body {
  padding: 1rem;
  background: var(--bg-surface-alt);
  font-size: 0.84rem;
  color: var(--text-main);
}

.wa-popup-foot {
  padding: 0.6rem 0.8rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wa-popup-foot input {
  flex-grow: 1;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
}

.wa-popup-foot button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-popup-foot button i { width: 14px; height: 14px; }

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 1400;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

.scroll-top-btn i { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .eyebrow-row {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats-grid {
    margin: 1rem auto 0 auto;
    max-width: 580px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
  .corporate-mvv-grid {
    grid-template-columns: 1fr;
  }
  .contact-split-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .top-bar, .nav-links, .cta-header { display: none; }
  .mobile-toggle { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .hero-actions { flex-wrap: wrap; justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .hero-stats-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .connect-bento-grid { grid-template-columns: 1fr; }
  .hub-software { grid-column: span 1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-container { padding: 1.75rem 1.25rem; }
}
