/* ==========================================================================
   iXpert Technologies - Estilos Principales
   Estética: Dark Luxury Minimalist / Apple-inspired Tech Ecosystem
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Variables de Diseño y Tokens --- */
:root {
  /* Paleta Base - Espacio Profundo / Slate */
  --bg-primary: #07090e;
  --bg-secondary: #0c1017;
  --bg-tertiary: #131924;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(24, 32, 50, 0.85);
  --bg-glass: rgba(13, 17, 26, 0.75);
  --bg-glass-nav: rgba(7, 9, 14, 0.82);

  /* Bordes y Separadores */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-card-hover: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(255, 255, 255, 0.15);

  /* Colores de Acento por Unidad de Negocio */
  /* 1. Store: Emerald Diamond (Alineado al logo oficial) */
  --store-accent: #10b981;
  --store-accent-glow: rgba(16, 185, 129, 0.35);
  --store-gradient: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  
  /* 2. Academy: Electric Azure / Royal Blue (Alineado al logo oficial) */
  --academy-accent: #1279e8;
  --academy-accent-glow: rgba(18, 121, 232, 0.35);
  --academy-gradient: linear-gradient(135deg, #0066eb 0%, #1279e8 50%, #60a5fa 100%);

  /* 3. Solutions: Emerald & Cyan Mint (Alineado al logo oficial) */
  --solutions-accent: #00f5a0;
  --solutions-accent-glow: rgba(0, 245, 160, 0.35);
  --solutions-gradient: linear-gradient(135deg, #059669 0%, #00f5a0 50%, #00d9f5 100%);

  /* Tipografía */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #07090e;

  /* Fuentes */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;

  /* Dimensiones y Efectos */
  --nav-height: 76px;
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Sombras y Luces */
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 50px -10px rgba(14, 165, 233, 0.15);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reseteo y Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fondo con efecto Mesh radial sutil */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: 
    radial-gradient(circle 800px at 15% 10%, rgba(14, 165, 233, 0.07), transparent 70%),
    radial-gradient(circle 700px at 85% 15%, rgba(139, 92, 246, 0.08), transparent 70%),
    radial-gradient(circle 900px at 50% 60%, rgba(16, 185, 129, 0.05), transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Estilos de Enlaces y Tipografías */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Header / Navbar Fijo --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--bg-glass-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

/* Logotipo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 245, 160, 0.22));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 4px 16px rgba(0, 245, 160, 0.38));
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-accent {
  background: linear-gradient(135deg, #00f5a0, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-domain-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Enlaces de Navegación */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--store-accent), var(--academy-accent));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.has-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-new {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Botón CTA Navbar */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.22);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Botón Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section (Above the Fold - Máxima Prioridad)
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 16px);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 32px auto;
}

/* Badge de Estado */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-badge-crystal {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.7));
  animation: pulse-crystal 3s ease-in-out infinite alternate;
}

@keyframes pulse-crystal {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 4px rgba(0, 245, 160, 0.4)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(0, 245, 160, 0.8)); }
}

.badge-brand-slogan {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  background: linear-gradient(90deg, #00f5a0 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-dot-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.45, 0, 0.2, 1);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  line-height: 1.12;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .gradient-brand {
  background: linear-gradient(135deg, #38bdf8 10%, #818cf8 50%, #34d399 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
}

/* --- HUB CARDS (Las 3 Unidades Clave Above The Fold) --- */
.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 10px;
}

.hub-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  text-align: left;
}

/* Efecto Spotlight Hover */
.hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hub-card:hover::before {
  opacity: 1;
}

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

/* Variantes de Card por Unidad */
/* 1. Store Card */
.hub-card.card-store {
  border-top: 2px solid rgba(16, 185, 129, 0.6);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(18, 24, 38, 0.75) 100%);
}
.hub-card.card-store:hover {
  border-color: rgba(16, 185, 129, 0.8);
  box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.3);
}
.hub-card.card-store .hub-icon-wrap {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.03));
  color: var(--store-accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.hub-card.card-store .btn-hub {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 20px -5px rgba(16, 185, 129, 0.35);
}
.hub-card.card-store .btn-hub:hover {
  background: linear-gradient(135deg, #10b981, #34d399);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(16, 185, 129, 0.5);
}

/* 2. Academy Card */
.hub-card.card-academy {
  border-top: 2px solid rgba(18, 121, 232, 0.6);
  background: linear-gradient(180deg, rgba(18, 121, 232, 0.06) 0%, rgba(18, 24, 38, 0.75) 100%);
}
.hub-card.card-academy:hover {
  border-color: rgba(18, 121, 232, 0.8);
  box-shadow: 0 25px 50px -12px rgba(18, 121, 232, 0.3);
}
.hub-card.card-academy .hub-icon-wrap {
  background: linear-gradient(135deg, rgba(18, 121, 232, 0.15), rgba(18, 121, 232, 0.03));
  color: var(--academy-accent);
  border: 1px solid rgba(18, 121, 232, 0.3);
}
.hub-card.card-academy .btn-hub {
  background: linear-gradient(135deg, #0066eb, #1279e8);
  color: #ffffff;
  border: 1px solid rgba(18, 121, 232, 0.5);
  box-shadow: 0 8px 20px -5px rgba(18, 121, 232, 0.35);
}
.hub-card.card-academy .btn-hub:hover {
  background: linear-gradient(135deg, #1279e8, #60a5fa);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(18, 121, 232, 0.5);
}

/* 3. Solutions Card (Destacado Especial) */
.hub-card.card-solutions {
  border-top: 2px solid rgba(16, 185, 129, 0.6);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(18, 24, 38, 0.75) 100%);
}
.hub-card.card-solutions:hover {
  border-color: rgba(16, 185, 129, 0.8);
  box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.3);
}
.hub-card.card-solutions .hub-icon-wrap {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(6, 182, 212, 0.05));
  color: var(--solutions-accent);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.hub-card.card-solutions .btn-hub {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 20px -5px rgba(16, 185, 129, 0.35);
}
.hub-card.card-solutions .btn-hub:hover {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(16, 185, 129, 0.5);
}

/* Elementos internos de cada card */
.hub-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  min-height: 64px;
}

.hub-brand-store,
.hub-brand-academy,
.hub-brand-solutions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hub-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.hub-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.hub-card-brand-title {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  min-height: 34px;
}

.hub-store-logo-img {
  height: 42px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 14px rgba(16, 185, 129, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hub-card:hover .hub-store-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 20px rgba(16, 185, 129, 0.6));
}

.hub-academy-logo-img {
  height: 48px;
  width: auto;
  max-width: 215px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 14px rgba(18, 121, 232, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hub-card:hover .hub-academy-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 20px rgba(18, 121, 232, 0.6));
}

.hub-solutions-wordmark {
  height: 34px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 14px rgba(16, 185, 129, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hub-card:hover .hub-solutions-wordmark {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 20px rgba(16, 185, 129, 0.6));
}

.hub-store-text,
.hub-solutions-text {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ffffff;
  text-transform: uppercase;
  padding-left: 2px;
  line-height: 1.2;
  margin-top: 3px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.hub-card.card-store:hover .hub-store-text,
.card-store-detail:hover .hub-store-text,
.hub-card.card-solutions:hover .hub-solutions-text {
  color: #34d399;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.hub-solutions-logo-img {
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 14px rgba(139, 92, 246, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hub-card:hover .hub-solutions-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 20px rgba(139, 92, 246, 0.6));
}

.unit-detail-logo-img {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.card-store-detail .unit-detail-logo-img {
  filter: drop-shadow(0 2px 14px rgba(16, 185, 129, 0.35));
}

.card-academy-detail .unit-detail-logo-img {
  filter: drop-shadow(0 2px 10px rgba(18, 121, 232, 0.3));
}

.hub-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.hub-tag.tag-new {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.hub-body {
  margin-bottom: 20px;
}

.hub-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.hub-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hub-features-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-features-list li svg {
  flex-shrink: 0;
  color: #94a3b8;
}

.hub-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-hub {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-hub svg {
  transition: transform 0.3s ease;
}

.btn-hub:hover svg {
  transform: translateX(4px);
}

#cta-solutions:hover svg {
  transform: translateY(3px);
}

.hub-domain-url {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  font-family: monospace;
}

/* Indicador de Scroll hacia abajo */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.hero-scroll-indicator:hover {
  opacity: 1;
  color: var(--text-primary);
}

.mouse-scroll-icon {
  width: 18px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
}

.mouse-scroll-icon::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 5px;
  background: #ffffff;
  border-radius: 2px;
  animation: scroll-wheel 1.8s infinite ease-in-out;
}

@keyframes scroll-wheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* ==========================================================================
   Secciones Comunes
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 12px;
}

.section-tag.tag-purple {
  color: #c084fc;
}

.section-tag.tag-emerald {
  color: #34d399;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Sección Ecosistema en Detalle
   ========================================================================== */
.ecosystem-section {
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.units-detailed-wrap {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

/* Grid de Store & Academy */
.dual-units-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.unit-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.unit-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.unit-detail-card.card-store-detail::before {
  background: var(--store-gradient);
}

.unit-detail-card.card-academy-detail::before {
  background: var(--academy-gradient);
}

.unit-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.unit-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-store-detail .unit-badge-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--store-accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-academy-detail .unit-badge-icon {
  background: rgba(18, 121, 232, 0.12);
  color: var(--academy-accent);
  border: 1px solid rgba(18, 121, 232, 0.3);
}

.unit-detail-title {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.unit-detail-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.unit-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.perk-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.perk-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.perk-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   iXpert Solutions - Showcase Flagship (Énfasis Especial)
   ========================================================================== */
.solutions-flagship-card {
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08), transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08), transparent 50%),
              var(--bg-secondary);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-xl);
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.solutions-flagship-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--solutions-gradient);
}

.solutions-headline-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.solutions-headline-left {
  max-width: 640px;
}

.solutions-flagship-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.solutions-flagship-title {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.solutions-flagship-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Grilla de 4 Servicios Clave de Solutions */
.solutions-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-4px);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.service-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Barra inferior de Solutions */
.solutions-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  flex-wrap: wrap;
  gap: 20px;
}

.solutions-metrics {
  display: flex;
  gap: 32px;
  align-items: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #34d399;
}

.metric-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Sección: Por Qué Elegir iXpert (Pilares de Confianza)
   ========================================================================== */
.why-us-section {
  background: var(--bg-primary);
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: left;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}

.pillar-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 18px;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Sección de Contacto / Leads para Solutions (#solutions-contact)
   ========================================================================== */
.contact-section {
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-primary) 0%, #090d14 100%);
  padding: 90px 0 110px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-col {
  padding-right: 16px;
}

.contact-info-col .section-tag {
  margin-bottom: 12px;
}

.contact-info-col h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.contact-lead-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.channel-icon.icon-whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.25);
}

.channel-detail h4 {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.channel-detail p, .channel-detail a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.channel-detail a:hover {
  color: #ffffff;
}

/* Tarjeta de Formulario */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  position: relative;
}

.form-header-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-header-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-label span.req {
  color: #f43f5e;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-select option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 95px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.98rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 25px -4px rgba(16, 185, 129, 0.4);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(16, 185, 129, 0.55);
}

.btn-whatsapp-direct {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.92rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp-direct:hover {
  background: rgba(37, 211, 102, 0.2);
  color: #ffffff;
  border-color: rgba(37, 211, 102, 0.5);
}

/* Mensaje de confirmación de formulario */
.form-success-banner {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-top: 16px;
}

.form-success-banner.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Mensaje de error de formulario */
.form-error-banner {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-top: 16px;
}

.form-error-banner.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Footer Corporativo
   ========================================================================== */
.site-footer {
  background: #040609;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 32px 0;
  position: relative;
  z-index: 10;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand-info {
  max-width: 320px;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 245, 160, 0.2));
  margin-bottom: 8px;
}

.footer-slogan {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00f5a0 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0 24px 0;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

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

.external-tag {
  font-size: 0.65rem;
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-info li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-info li svg {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   Drawer de Navegación Móvil
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 99;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-nav-drawer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 245, 160, 0.2));
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-hub-shortcuts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}

.mobile-hub-btn {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   Animaciones Reveal al hacer scroll
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints Optimizados
   ========================================================================== */

/* 1. Laptops y Tablets Horizontales (<= 1080px) */
@media (max-width: 1080px) {
  .hub-cards-grid {
    gap: 16px;
  }
  .hub-card {
    padding: 22px 18px;
  }
  .solutions-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* 2. Tablets y Móviles en Horizontal / Vertical (<= 860px) */
@media (max-width: 860px) {
  :root {
    --nav-height: 64px;
  }

  .site-header {
    height: var(--nav-height);
  }

  .brand-logo-img {
    height: 32px;
  }

  .brand-domain-tag {
    font-size: 0.68rem;
  }

  .nav-links,
  .nav-actions .btn-whatsapp {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-actions .btn-primary {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  /* Hero Section */
  .hero-section {
    padding-top: calc(var(--nav-height) + 16px);
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-content {
    margin: 0 auto 24px auto;
    max-width: 640px;
  }

  .hero-badge {
    padding: 6px 14px;
    font-size: 0.76rem;
    margin-bottom: 14px;
    gap: 8px;
    max-width: 100%;
  }

  .hero-badge-crystal {
    width: 16px;
    height: 16px;
  }

  .badge-brand-slogan {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
  }

  .hero-title br {
    display: none;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.55;
    max-width: 560px;
  }

  /* Hub Cards en Móvil */
  .hub-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 8px;
  }

  .hub-card {
    padding: 22px 20px;
    border-radius: 18px;
  }

  .hub-header {
    min-height: auto;
    margin-bottom: 14px;
  }

  .hub-store-logo-img {
    height: 36px;
  }

  .hub-academy-logo-img {
    height: 40px;
  }

  .hub-solutions-wordmark {
    height: 28px;
  }

  .hub-store-text,
  .hub-solutions-text {
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    margin-top: 2px;
  }

  .hub-body {
    margin-bottom: 14px;
  }

  .hub-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .hub-features-list {
    gap: 6px;
  }

  .hub-features-list li {
    font-size: 0.8rem;
  }

  .hub-footer {
    gap: 8px;
  }

  .btn-hub {
    padding: 11px 16px;
    font-size: 0.88rem;
  }

  .hub-domain-url {
    font-size: 0.72rem;
  }

  /* Secciones Generales */
  .section {
    padding: 56px 0;
  }

  .section-header {
    margin: 0 auto 32px auto;
  }

  .section-tag {
    font-size: 0.74rem;
    margin-bottom: 8px;
  }

  .section-title {
    font-size: clamp(1.55rem, 4.8vw, 2.1rem);
    line-height: 1.22;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* Dual Units: Store & Academy */
  .dual-units-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .unit-detail-card {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .unit-detail-header {
    margin-bottom: 16px;
  }

  .unit-detail-logo-img {
    height: 32px;
  }

  .unit-badge-icon {
    width: 46px;
    height: 46px;
  }

  .unit-detail-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .unit-detail-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .unit-detail-card .btn {
    width: 100%;
    justify-content: center;
  }

  /* Solutions Flagship Card */
  .solutions-flagship-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .solutions-headline-box {
    margin-bottom: 24px;
    gap: 16px;
  }

  .solutions-flagship-tag {
    font-size: 0.74rem;
    padding: 5px 12px;
    margin-bottom: 10px;
  }

  .solutions-flagship-title {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .solutions-flagship-desc {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .solutions-headline-box .btn {
    width: 100%;
    justify-content: center;
  }

  .solutions-services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .service-card {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .service-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }

  .service-name {
    font-size: 0.98rem;
    margin-bottom: 4px;
  }

  .service-text {
    font-size: 0.83rem;
    line-height: 1.48;
  }

  .solutions-cta-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
  }

  .solutions-cta-bar .btn-whatsapp-direct {
    width: 100%;
    justify-content: center;
  }

  /* Pilares */
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pillar-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .pillar-number {
    font-size: 0.76rem;
    margin-bottom: 10px;
  }

  .pillar-icon-box {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }

  .pillar-title {
    font-size: 1.08rem;
    margin-bottom: 6px;
  }

  .pillar-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Contacto */
  .contact-section {
    padding: 60px 0 70px 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info-col {
    padding-right: 0;
  }

  .contact-info-col h2 {
    font-size: clamp(1.45rem, 4.6vw, 1.9rem);
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .contact-lead-text {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .contact-channels-list {
    gap: 14px;
    margin-bottom: 24px;
  }

  .channel-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }

  .channel-detail h4 {
    font-size: 0.9rem;
  }

  .channel-detail p,
  .channel-detail a {
    font-size: 0.84rem;
  }

  .contact-form-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .form-header-title {
    font-size: 1.25rem;
  }

  .form-header-subtitle {
    font-size: 0.84rem;
    margin-bottom: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Footer */
  .site-footer {
    padding: 50px 0 28px 0;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }

  .footer-logo-img {
    height: 36px;
  }

  .footer-slogan {
    font-size: 0.72rem;
  }

  .footer-desc {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .footer-column h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-contact-info {
    gap: 10px;
  }

  .footer-contact-info li {
    font-size: 0.84rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 20px;
    font-size: 0.78rem;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}

/* 3. Dispositivos Móviles Estándar (<= 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  /* Hero compacto y proporcionado */
  .hero-section {
    padding-top: calc(var(--nav-height) + 12px);
    padding-bottom: 36px;
  }

  .hero-content {
    margin: 0 auto 18px auto;
  }

  .hero-badge {
    padding: 5px 12px;
    font-size: 0.72rem;
    gap: 6px;
    margin-bottom: 12px;
  }

  .hero-badge-crystal {
    width: 15px;
    height: 15px;
  }

  .badge-brand-slogan {
    font-size: 0.69rem;
    letter-spacing: 0.05em;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 1.95rem);
    line-height: 1.18;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hub-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .hub-store-logo-img {
    height: 32px;
  }

  .hub-academy-logo-img {
    height: 36px;
  }

  .hub-solutions-wordmark {
    height: 24px;
  }

  .hub-desc {
    font-size: 0.85rem;
    line-height: 1.48;
    margin-bottom: 10px;
  }

  .btn-hub {
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  /* Dual Units Perks a 1 Columna (evita que se apiñen en 2 columnas) */
  .unit-perks-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .perk-item {
    padding: 12px 14px;
  }

  .perk-title {
    font-size: 0.85rem;
    margin-bottom: 3px;
  }

  .perk-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  /* Métricas de Solutions balanceadas */
  .solutions-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    text-align: center;
    gap: 8px;
  }

  .metric-number {
    font-size: 1.15rem;
  }

  .metric-label {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  /* Pilares a 1 columna */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pillar-card {
    padding: 18px 16px;
  }

  /* Formulario de contacto */
  .contact-form-card {
    padding: 20px 16px;
  }

  .form-header-title {
    font-size: 1.18rem;
  }

  .form-header-subtitle {
    font-size: 0.8rem;
    margin-bottom: 16px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .form-textarea {
    min-height: 80px;
  }

  .btn-submit {
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .btn-whatsapp-direct {
    padding: 11px 16px;
    font-size: 0.86rem;
  }
}

/* 4. Pantallas Pequeñas / Compactas (<= 420px) */
@media (max-width: 420px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-badge {
    padding: 4px 10px;
    font-size: 0.68rem;
  }

  .badge-brand-slogan {
    font-size: 0.66rem;
  }

  .hub-card {
    padding: 16px 14px;
  }

  .unit-detail-card {
    padding: 18px 14px;
  }

  .solutions-flagship-card {
    padding: 18px 14px;
  }

  .solutions-flagship-tag {
    font-size: 0.68rem;
    padding: 4px 8px;
  }

  .solutions-flagship-title {
    font-size: 1.28rem;
  }

  .contact-form-card {
    padding: 18px 14px;
  }

  .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .btn-hub {
    padding: 9px 12px;
    font-size: 0.84rem;
  }
}
