/* ==========================================================================
   X BRANDS — Executive Master Stylesheet (v2.1.0)
   Aesthetic: Architectural Corporate Luxury, Credibility, Seriousness & Modernity
   Strictly Zero SaaS/AI clichés, Zero rounded-full, Zero neon glows, Zero exaggerated shadows
   ========================================================================== */

:root {
  /* Core Architectural Palette (Solid Sculpted Surfaces) */
  --bg-dark: #07080B;
  --bg-surface: #0E1119;
  --bg-surface-elevated: #151924;
  --bg-card: #0E1119;
  --bg-card-hover: #151A26;
  --bg-chip: #141824;
  --bg-btn-solid: #1B2030;
  --bg-btn-solid-hover: #262D42;

  /* Executive Brand Accents (Refined, Muted, Dignified — Not Neon) */
  --xms-gold: #C5A059;
  --xms-gold-muted: rgba(197, 160, 89, 0.16);
  --xms-gold-border: transparent;

  --loxi-blue: #7F9CFF;
  --loxi-blue-muted: rgba(127, 156, 255, 0.16);
  --loxi-blue-border: transparent;

  --x2-blue: #00A3E0;
  --x2-blue-muted: rgba(0, 163, 224, 0.16);
  --x2-blue-border: transparent;

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;

  /* Subtle Divider & Zero-Outline Tokens */
  --border-subtle: transparent;
  --border-medium: transparent;
  --border-hover: transparent;
  --divider-subtle: rgba(255, 255, 255, 0.05);

  /* Precise Architectural Radii (Strictly 2px - 6px, NEVER rounded-full) */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;

  /* Typography Stacks */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Transitions */
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   SCROLL MOTION & REVEAL SYSTEM (Inspired by x2media.marketing)
   Signature cubic-bezier(0.16, 1, 0.3, 1) ease with progressive stagger
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Subtle Ambient Float Animation */
@keyframes ambientFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-10px, 12px) scale(1.05);
    opacity: 0.8;
  }
}

/* Accessible Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   1. NAVIGATION BAR (Clean, Architectural, Responsive)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(7, 8, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 13px 0;
  background: rgba(7, 8, 11, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.has-modal-open .site-header {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nav-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.brand-brandmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
  flex-shrink: 0;
}

.brandmark-img {
  height: 26px;
  width: auto;
  display: block;
}

.brandmark-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-chip);
  border: none;
  font-weight: 600;
}

/* Centered Desktop Navigation */
.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 6px 2px;
  white-space: nowrap !important;
  flex-shrink: 0;
  position: relative;
  line-height: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: #FFFFFF;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

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

/* Nav Right Group */
.nav-right-group {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Primary Executive CTA Button (Crisp, Solid White, Non-SaaS) */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #07080B;
  background: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta-btn:hover {
  background: #E2E8F0;
  transform: translateY(-1px);
}

/* Mobile Nav Toggle (2 clean architectural bars, Solid) */
.mobile-nav-toggle {
  display: none;
  background: var(--bg-chip);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.mobile-nav-toggle .toggle-bar {
  width: 18px;
  height: 1.5px;
  background: #FFFFFF;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.mobile-nav-toggle:hover {
  background: var(--bg-btn-solid);
}

.mobile-nav-toggle.active {
  background: var(--bg-btn-solid-hover);
}

.mobile-nav-toggle.active .toggle-bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.mobile-nav-toggle.active .toggle-bar:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 61px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(7, 8, 11, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--divider-subtle);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85);
  z-index: 999;
  padding: 20px 0 28px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.mobile-drawer-link {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: none;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-drawer-link:hover,
.mobile-drawer-link:active {
  background: var(--bg-card-hover);
}

.drawer-link-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 2px;
}

.drawer-link-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
}

.drawer-link-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.mobile-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  background: #FFFFFF;
  color: #07080B;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

/* ==========================================================================
   2. HERO SECTION (Cinema Background Video + Dignified Typography)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 130px 0 70px;
}

/* ── Hero Loading Screen ── */
.hero-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--bg-dark);
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.hero-loader-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}

.hero-loader-logo img {
  height: 20px;
  width: auto;
  filter: brightness(0.7);
}

.hero-loader-bar {
  width: 100px;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.hero-loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.7), transparent);
  animation: loaderSweep 1.4s ease-in-out infinite;
}

@keyframes loaderSweep {
  0%   { left: -40%; }
  100% { left: 120%; }
}

/* Fullscreen Video Background */
.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  filter: contrast(1.0) brightness(1.05);
  transition: opacity 1.2s ease;
}

.hero-video.video-ready {
  opacity: 0.72;
}

/* Cinematic Vignette — más luminoso, con acento de color sutil al centro */
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(127, 156, 255, 0.05) 0%, transparent 65%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.45) 0%, rgba(7, 8, 11, 0.18) 40%, rgba(7, 8, 11, 0.78) 100%),
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 50%, rgba(7, 8, 11, 0.55) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Architectural Top Label (Solid) */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 6px 14px;
  border: none;
  border-radius: var(--radius-xs);
  background: var(--bg-chip);
  margin-bottom: 28px;
}

.hero-label-indicator {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--text-primary);
}

.hero-label-desktop-sub {
  display: inline;
}

/* Main Display Title (Solid, Strong, No Rainbow/Neon Gradient) */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-tagline strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* Hero Action CTAs (Solid Surfaces) */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #07080B;
  background: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: #E2E8F0;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--bg-btn-solid);
  border: none;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: var(--bg-btn-solid-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Desktop Trio Strip (Clean, Solid, Non-repetitive) */
.hero-trio-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: none;
  white-space: nowrap;
}

.trio-item {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.trio-bullet {
  width: 5px;
  height: 5px;
  border-radius: 1px;
}

.bullet-xms { background: var(--xms-gold); }
.bullet-loxi { background: var(--loxi-blue); }
.bullet-x2 { background: var(--x2-blue); }

.trio-sep {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* ==========================================================================
   3. SECTION SHARED STYLES
   ========================================================================== */
.section {
  position: relative;
  padding: 96px 0;
  border-bottom: 1px solid var(--divider-subtle);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

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

/* ==========================================================================
   THE STRATEGIC FRICTION ("The Problem + The Opportunity" - Botanical Vein Backdrop)
   ========================================================================== */
.friction-section {
  background-color: #080A12;
  position: relative;
  overflow: hidden;
}

/* Botanical Vein Texture (BACKGROUND_X2 MEDIA-05.png) */
.friction-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 8, 11, 0.7) 0%, rgba(8, 10, 18, 0.45) 30%, rgba(8, 10, 18, 0.55) 75%, rgba(7, 8, 11, 0.7) 100%),
    url('../BACKGROUNDS%20PNG/BACKGROUND_X2%20MEDIA-05.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.68;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Floating Cyan Accent */
.friction-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 163, 224, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: ambientFloat 12s ease-in-out infinite alternate;
}

.friction-section .container {
  position: relative;
  z-index: 1;
}

.friction-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.friction-statement {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.friction-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
}

.friction-highlight {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #E2E8F0;
  border-left: 2px solid var(--x2-blue);
  padding-left: 18px;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.02);
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.friction-stats-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.friction-stat-card {
  background: var(--bg-surface);
  border: none;
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: var(--transition);
}

.friction-stat-card:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.friction-stat-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--x2-blue);
  margin-bottom: 8px;
}

.friction-stat-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
}

.friction-stat-label {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   4. THE 3 BRANDS SHOWCASE (XMS • LOXI • X2 MEDIA - Solid Surfaces)
   ========================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-card {
  position: relative;
  background: var(--bg-surface);
  border: none;
  border-radius: var(--radius-md);
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, rgba(255, 255, 255, 0.2));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.brand-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

/* Card Accents (Refined, Non-Neon) */
.brand-card-xms { --card-accent: var(--xms-gold); }
.brand-card-loxi { --card-accent: var(--loxi-blue); }
.brand-card-x2 { --card-accent: var(--x2-blue); }

.card-top {
  margin-bottom: 24px;
}

.brand-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  border: none;
}

.brand-badge-xms {
  color: var(--xms-gold);
  background: var(--xms-gold-muted);
}

.brand-badge-loxi {
  color: var(--loxi-blue);
  background: var(--loxi-blue-muted);
}

.brand-badge-x2 {
  color: var(--x2-blue);
  background: var(--x2-blue-muted);
}

.brand-id {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dim);
}

.brand-logo-area {
  height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.brand-logo-img {
  max-height: 38px;
  max-width: 170px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.brand-role {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.role-xms { color: var(--xms-gold); }
.role-loxi { color: var(--loxi-blue); }
.role-x2 { color: var(--x2-blue); }

.brand-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Feature bullets */
.brand-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 18px;
}

.brand-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.feature-check {
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--text-muted);
}

/* Leader snippet (Solid) */
.brand-leader-snippet {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-chip);
  border: none;
  margin-bottom: 22px;
}

.leader-avatar-mini {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.74rem;
  background: var(--bg-surface-elevated);
  border: none;
  color: #FFFFFF;
}

.leader-info-mini h5 {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
}

.leader-info-mini p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Card Button Group (Solid Buttons, Zero Outlines, Generous Separation) */
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.btn-brand-site {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  color: #FFFFFF;
  background: var(--bg-btn-solid);
  border: none;
}

.btn-brand-site:hover {
  background: #FFFFFF;
  color: #07080B;
}

.btn-brand-exec {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  min-height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  color: var(--text-secondary);
  background: var(--bg-chip);
  border: none;
}

.btn-brand-exec:hover {
  color: #FFFFFF;
  background: var(--bg-btn-solid);
}

/* ==========================================================================
   5. INTEGRATED ECOSYSTEM FLOW ("The Impact Continuum" - Liquid Fluid + Blueprint Grid)
   ========================================================================== */
.ecosystem-section {
  background-color: #07090E;
  position: relative;
  overflow: hidden;
}

/* Fluid Liquid Texture (BACKGROUND_X2 MEDIA-03.png) */
.ecosystem-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 8, 11, 0.7) 0%, rgba(8, 10, 17, 0.42) 25%, rgba(8, 10, 17, 0.52) 75%, rgba(7, 8, 11, 0.7) 100%),
    radial-gradient(circle at 50% 35%, rgba(127, 156, 255, 0.055) 0%, transparent 70%),
    url('../BACKGROUNDS%20PNG/BACKGROUND_X2%20MEDIA-03.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

/* Architectural Blueprint Grid Overlay (56px) */
.ecosystem-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.ecosystem-section .container {
  position: relative;
  z-index: 1;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.flow-step-card {
  position: relative;
  background: var(--bg-surface);
  border: none;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
}

.flow-step-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.flow-step-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.flow-step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.flow-step-brand {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
  border: none;
}

.flow-brand-xms {
  color: var(--xms-gold);
  background: var(--xms-gold-muted);
}

.flow-brand-loxi {
  color: var(--loxi-blue);
  background: var(--loxi-blue-muted);
}

.flow-brand-x2 {
  color: var(--x2-blue);
  background: var(--x2-blue-muted);
}

.flow-brand-joint {
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.1);
}

.flow-step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Mobile Carousel Indicator (Hidden by default on desktop) */
.mobile-carousel-indicator {
  display: none;
}

/* ==========================================================================
   6. EXECUTIVE LEADERSHIP SECTION (Solid Surfaces)
   ========================================================================== */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.leader-card {
  background: var(--bg-surface);
  border: none;
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.leader-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.leader-avatar-lg {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  border: none;
  background: var(--bg-surface-elevated);
}

.avatar-carlos { color: var(--xms-gold); }
.avatar-juancarlos { color: var(--loxi-blue); }
.avatar-andres { color: var(--x2-blue); }

.leader-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.leader-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.leader-company {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.leader-tagline {
  font-size: 0.84rem;
  font-style: italic;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 22px;
  flex-grow: 1;
}

.btn-leader-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--bg-btn-solid);
  border: none;
  text-decoration: none;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.btn-leader-card:hover {
  background: #FFFFFF;
  color: #07080B;
}

/* ==========================================================================
   7. INSTITUTIONAL CO-BRANDING (NAHREP at Avance - Subtle Azure Liquid Backdrop)
   ========================================================================== */
.partnership-section {
  background-color: #07090F;
  position: relative;
  overflow: hidden;
}

/* Azure Fluid Texture (BACKGROUND_X2 MEDIA-02.png) */
.partnership-section::before {
  content: '';
  position: absolute;
  top: -16%;
  bottom: -16%;
  left: 0;
  right: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 8, 11, 0.65) 0%, rgba(7, 9, 15, 0.5) 20%, rgba(7, 9, 15, 0.5) 80%, rgba(7, 8, 11, 0.65) 100%),
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(197, 160, 89, 0.05) 0%, rgba(0, 163, 224, 0.06) 55%, transparent 80%),
    url('../BACKGROUNDS%20PNG/BACKGROUND_X2%20MEDIA-02.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.52;
  filter: contrast(1.05) brightness(1.1);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.partnership-section .container {
  position: relative;
  z-index: 1;
}

.partnership-box {
  background: var(--bg-surface);
  border: none;
  border-radius: var(--radius-md);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.partner-logo-img {
  height: 34px;
  width: auto;
}

.partner-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
}

.partnership-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 26px;
}

.partnership-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.partnership-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--bg-btn-solid);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.partnership-btn:hover {
  background: #FFFFFF;
  color: #07080B;
}

@media (max-width: 640px) {
  .partnership-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .partnership-actions .partnership-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   7. WHY X BRANDS (The Integrated Advantage - Solid Surfaces)
   ========================================================================== */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.advantage-card {
  border-radius: var(--radius-md);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  border: none;
}

.advantage-card-silos {
  background: #120D10;
}

.advantage-card-xbrands {
  background: #0E1320;
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.advantage-card-xbrands::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(90deg, var(--xms-gold), var(--loxi-blue), var(--x2-blue));
}

.advantage-header {
  margin-bottom: 26px;
}

.advantage-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
  font-weight: 700;
}

.tag-silos { color: #EF4444; }
.tag-xbrands { color: #10B981; }

.advantage-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
}

.advantage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.advantage-icon-silo {
  color: #EF4444;
  margin-top: 3px;
  flex-shrink: 0;
}

.advantage-icon-check {
  color: #10B981;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   8. CLOSING MANIFEST & CTA SECTION (Official Alliance Statement)
   ========================================================================== */
.closing-section {
  position: relative;
  text-align: center;
  padding: 110px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--divider-subtle);
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 255, 255, 0.025), transparent 70%);
}

.closing-box {
  max-width: 860px;
  margin: 0 auto;
}

.closing-quote-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.closing-quote-primary {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.closing-quote-secondary {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 720px;
  margin: 0 auto 28px;
}

.closing-punchline {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 38px;
}

.closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 32px;
  background-color: #040507;
  border-top: 1px solid var(--divider-subtle);
}

/* Fluid Liquid Texture (BACKGROUND_X2 MEDIA-03.webp) */
.site-footer::before {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  right: 0;
  background-image:
    linear-gradient(180deg, rgba(4, 5, 7, 0.88) 0%, rgba(6, 8, 14, 0.72) 50%, rgba(4, 5, 7, 0.94) 100%),
    url('../BACKGROUNDS%20PNG/BACKGROUND_X2%20MEDIA-03.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.footer-brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-address {
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.01em;
}

.footer-agency-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.footer-agency-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-agency-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-badge-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-badge-link:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile Optimized)
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brands-grid,
  .flow-grid,
  .leaders-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .friction-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .desktop-nav,
  .nav-links {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .mobile-nav-drawer {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Site Header Mobile */
  .site-header {
    padding: 12px 0;
    background: rgba(7, 8, 11, 0.94);
  }

  .brandmark-img {
    height: 22px;
  }

  .brandmark-badge {
    display: none; /* Hide 'Collective' badge on mobile to keep header clean and spacious */
  }

  .nav-cta-btn {
    height: 36px;
    padding: 0 13px;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    gap: 6px;
  }

  /* Hero Section: Uncluttered, Breathable, No Repetition */
  .hero-section {
    min-height: 100svh;
    padding: 85px 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile: boost video brightness to compensate iOS/Safari dark rendering */
  .hero-video.video-ready {
    opacity: 0.82;
    filter: contrast(1.0) brightness(1.15);
  }

  /* Mobile: lighten overlay so video/poster is more visible on iPhone */
  .hero-overlay-gradient {
    background:
      radial-gradient(ellipse 70% 55% at 50% 42%, rgba(127, 156, 255, 0.04) 0%, transparent 65%),
      linear-gradient(180deg, rgba(7, 8, 11, 0.35) 0%, rgba(7, 8, 11, 0.1) 40%, rgba(7, 8, 11, 0.68) 100%),
      radial-gradient(ellipse 80% 60% at 50% 50%, transparent 50%, rgba(7, 8, 11, 0.45) 100%);
  }

  /* Mobile: boost background section opacities for iPhone */
  .friction-section::before {
    opacity: 0.78;
  }

  .ecosystem-section::before {
    opacity: 0.74;
  }

  .partnership-section::before {
    opacity: 0.62;
    filter: contrast(1.0) brightness(1.15);
  }

  .hero-inner {
    padding: 0 4px;
  }

  .hero-label {
    margin-bottom: 16px;
    padding: 5px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  /* Hide the duplicate brand names from the top label on mobile */
  .hero-label-desktop-sub {
    display: none !important;
  }

  /* Title: Perfectly scaled for mobile, tight line-height */
  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  /* Concise, punchy tagline */
  .hero-tagline {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 26px;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 0; /* No bottom margin since trio strip is hidden on mobile */
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.82rem;
  }

  /* Hide the repeated trio strip on mobile to eliminate clutter and redundancy */
  .desktop-only-strip {
    display: none !important;
  }

  /* Sections & Cards */
  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .brand-card {
    padding: 26px 20px 24px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  /* Connected Ecosystem, Executive Leadership & Global Services: Horizontal Snap Scroll */
  .flow-grid,
  .leaders-grid,
  .global-services-grid {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 6px 0 20px 0;
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
    max-width: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  }

  .flow-step-card:first-child,
  .leader-card:first-child,
  .service-card:first-child {
    margin-left: 20px !important;
  }

  .flow-step-card:last-child,
  .leader-card:last-child,
  .service-card:last-child {
    margin-right: 20px !important;
  }

  .flow-grid::-webkit-scrollbar,
  .leaders-grid::-webkit-scrollbar,
  .global-services-grid::-webkit-scrollbar {
    height: 3px;
  }

  .flow-grid::-webkit-scrollbar-track,
  .leaders-grid::-webkit-scrollbar-track,
  .global-services-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 2px;
    margin: 0 20px;
  }

  .flow-grid::-webkit-scrollbar-thumb,
  .leaders-grid::-webkit-scrollbar-thumb,
  .global-services-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
  }

  .flow-step-card,
  .leader-card,
  .service-card {
    flex: 0 0 84%;
    max-width: 320px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
  }

  .flow-step-card {
    padding: 24px 20px;
  }

  .leader-card {
    padding: 28px 20px 22px;
  }

  .service-card {
    padding: 26px 20px 24px;
  }

  /* Mobile Carousel Indicator (Pills & Swipe Hint) */
  .mobile-carousel-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 6px;
  }

  .carousel-dot {
    width: 8px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 1px;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
  }

  .carousel-dot.active {
    width: 24px;
    background: #FFFFFF;
  }

  .carousel-swipe-hint {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-left: 6px;
  }

  .partnership-box {
    padding: 26px 18px;
  }

  .partner-logo-img {
    height: 26px;
  }

  .partner-logos {
    flex-direction: column;
    gap: 12px;
  }

  .partner-divider {
    width: 30px;
    height: 1px;
  }

  /* Friction / Problem Section Mobile */
  .friction-statement {
    font-size: 1.85rem;
  }

  .friction-lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Advantage Section Mobile */
  .advantage-card {
    padding: 26px 20px;
  }

  .advantage-title {
    font-size: 1.25rem;
  }

  /* Closing Manifest Mobile */
  .closing-section {
    padding: 72px 0 60px;
  }

  .closing-quote-primary {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .closing-quote-secondary {
    font-size: 0.98rem;
  }

  .closing-punchline {
    font-size: 1.15rem;
    margin-bottom: 28px;
  }

  .closing-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .closing-actions .btn-hero-primary,
  .closing-actions .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Showreel Modal Header Mobile Optimization */
  .showreel-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: max(14px, env(safe-area-inset-top, 14px)) 16px 14px !important;
    background: linear-gradient(180deg, rgba(3, 4, 7, 0.97) 0%, rgba(3, 4, 7, 0.75) 60%, transparent 100%) !important;
    gap: 12px;
  }

  .showreel-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .showreel-brandmark-img {
    height: 19px;
  }

  .showreel-header-badge {
    padding: 2px 6px;
    font-size: 0.6rem;
  }

  .showreel-header-center {
    display: none; /* Ocultar texto central en móvil para dar máxima respiración */
  }

  .showreel-header-right {
    flex-shrink: 0;
  }

  .showreel-close-btn {
    padding: 7px 14px;
    font-size: 0.72rem;
    gap: 6px;
    min-height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .hero-tagline {
    font-size: 0.9rem;
  }

  .flow-grid,
  .leaders-grid,
  .global-services-grid {
    margin-left: -16px;
    margin-right: -16px;
    padding: 6px 0 20px 0;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
    gap: 12px;
  }

  .flow-step-card:first-child,
  .leader-card:first-child,
  .service-card:first-child {
    margin-left: 16px !important;
  }

  .flow-step-card:last-child,
  .leader-card:last-child,
  .service-card:last-child {
    margin-right: 16px !important;
  }

  .flow-step-card,
  .leader-card,
  .service-card {
    flex: 0 0 85%;
    max-width: 295px;
  }

  .flow-grid::-webkit-scrollbar-track,
  .leaders-grid::-webkit-scrollbar-track,
  .global-services-grid::-webkit-scrollbar-track {
    margin: 0 16px;
  }
}

/* ==========================================================================
   New Components: Showreel Modal, Marquee, Global Services & Contact Form
   (CERO OUTLINES · Superficies de Contraste Sólido Sobrio · CSuite Elegante)
   ========================================================================== */

/* 1. Showreel Button & Fullscreen Theater Modal */
.btn-hero-showreel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #111624;
  border: none; /* CERO OUTLINE */
  outline: none;
  border-radius: 4px; /* NO rounded-full */
  padding: 16px 30px;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.btn-hero-showreel:hover {
  background: #1C2436;
  transform: translateY(-2px);
  box-shadow: none;
}

.showreel-play-icon {
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  border: none; /* CERO OUTLINE */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.showreel-play-icon svg {
  margin-left: 2px;
}

.btn-hero-showreel:hover .showreel-play-icon {
  background: #FFFFFF;
  color: #07080B;
}

/* Modal Fullscreen Shutter (Apertura Cinematográfica Elegante) */
.showreel-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  background: #030407;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
  transform: scale(1.08);
  filter: blur(16px);
  transition: clip-path 0.75s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.77, 0, 0.175, 1),
              filter 0.6s ease,
              visibility 0.75s ease;
}

.showreel-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(150% at 50% 50%);
  transform: scale(1);
  filter: blur(0px);
}

/* Header Flotante de la Sala de Proyección Fullscreen (3-Zone Balanced C-Suite Layout) */
.showreel-modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: max(18px, env(safe-area-inset-top, 18px)) 36px 18px;
  background: linear-gradient(180deg, rgba(3, 4, 7, 0.96) 0%, rgba(3, 4, 7, 0.6) 70%, transparent 100%);
  border: none; /* CERO OUTLINE */
  z-index: 30;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
  pointer-events: auto;
}

.showreel-modal.is-active .showreel-modal-header {
  opacity: 1;
  transform: translateY(0);
}

.showreel-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.showreel-brandmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.showreel-brandmark-img {
  height: 22px;
  width: auto;
  display: block;
}

.showreel-header-badge {
  display: inline-block;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--x2-blue, #38BDF8);
  background: rgba(56, 189, 248, 0.12);
  border-radius: 2px;
}

.showreel-header-center {
  justify-self: center;
  text-align: center;
}

.showreel-meta-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.showreel-header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.showreel-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.08);
  border: none; /* CERO OUTLINE */
  outline: none;
  border-radius: 4px;
  padding: 9px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.showreel-close-btn:hover {
  background: #FFFFFF;
  color: #07080B;
}

.showreel-video-wrapper {
  flex: 1;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: relative;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showreel-video-wrapper video {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  object-fit: contain;
  display: block;
  outline: none;
}

/* 2. Brands Continuous Marquee Carousel - Transparent Luxury Monochrome */
.brands-marquee-section {
  position: relative;
  background: #04060A;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 24px 0;
  overflow: hidden;
  user-select: none;
}

.brands-marquee-section::before,
.brands-marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.brands-marquee-section::before {
  left: 0;
  background: linear-gradient(to right, #04060A 0%, rgba(4, 6, 10, 0) 100%);
}

.brands-marquee-section::after {
  right: 0;
  background: linear-gradient(to left, #04060A 0%, rgba(4, 6, 10, 0) 100%);
}

.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}

.brands-marquee-section:hover .brands-marquee-track {
  animation-play-state: paused;
}

.brands-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 14px;
  background: transparent;
  border: none;
}

.brands-marquee-item img {
  height: 36px;
  max-height: 40px;
  max-width: 135px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.62;
  filter: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brands-marquee-item:hover img {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 3. Global Services Section */
.global-services-section {
  background-color: #07090E;
  padding: 100px 0;
  border: none; /* CERO OUTLINE */
  position: relative;
  overflow: hidden;
}

/* Botanical Vein Texture (BACKGROUND_X2 MEDIA-05.webp) */
.global-services-section::before {
  content: '';
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: 0;
  right: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 9, 14, 0.82) 0%, rgba(8, 10, 18, 0.58) 35%, rgba(8, 10, 18, 0.68) 75%, rgba(7, 9, 14, 0.88) 100%),
    url('../BACKGROUNDS%20PNG/BACKGROUND_X2%20MEDIA-05.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.global-services-section .container {
  position: relative;
  z-index: 1;
}

.global-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

@media (min-width: 769px) and (max-width: 992px) {
  .global-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: #0E121C;
  border: none; /* CERO OUTLINE */
  outline: none;
  border-radius: 6px;
  padding: 32px;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

.service-card:hover {
  background: #161C2B;
  border: none;
  transform: translateY(-4px);
  box-shadow: none;
}

.service-card-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--x2-blue, #38BDF8);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted, #94A3B8);
  line-height: 1.6;
}

/* 4. Contact Form Section (CERO OUTLINES · Superficie de Contraste CSuite) */
.landing-contact-section {
  padding: 100px 0;
  background: #05070B;
  border: none; /* CERO OUTLINE */
}

.contact-card-box {
  background: #0D111A;
  border: none; /* CERO OUTLINE */
  outline: none;
  border-radius: 6px;
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: none;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CBD5E1;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #06080E;
  border: none; /* CERO OUTLINE */
  outline: none;
  border-radius: 4px;
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #FFFFFF;
  transition: background 0.25s ease;
  box-shadow: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: #121826;
  border: none;
  outline: none;
  box-shadow: none;
}

.form-select option {
  background: #0D111A;
  color: #FFF;
}

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

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #07080B;
  background: #FFFFFF;
  border: none; /* CERO OUTLINE */
  outline: none;
  border-radius: 4px; /* PROHIBIDO rounded-full / píldoras */
  padding: 16px 32px;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.btn-contact-submit:hover {
  background: #E2E8F0;
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-feedback-message {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  border: none; /* CERO OUTLINE */
}

.form-feedback-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: none;
  color: #4ADE80;
}

.form-feedback-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: none;
  color: #F87171;
}

@media (max-width: 768px) {
  .contact-card-box {
    padding: 28px 20px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
}
