/* ==========================================================================
   CONFIES - CONSULTORIO CONTABLE Y FISCAL
   Design System & Stylesheet
   Paleta: Naranja Intenso (#ff6f00 / #ff7a00), Grafito Oscuro (#12141a / #181b22)
   "Asesoramos tu crecimiento"
   ========================================================================== */

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

:root {
  /* Brand Core Colors (PDF Reference) */
  --orange-primary: #ff6f00;
  --orange-hover: #ff851b;
  --orange-light: #ffa726;
  --orange-glow: rgba(255, 111, 0, 0.4);
  --orange-subtle: rgba(255, 111, 0, 0.1);
  --orange-border: rgba(255, 111, 0, 0.35);

  /* Background Palette */
  --bg-dark: #0f1117;
  --bg-surface: #151821;
  --bg-surface-elevated: #1c202c;
  --bg-card: rgba(24, 28, 38, 0.78);
  --bg-card-hover: rgba(32, 38, 52, 0.9);
  
  /* Slate & Supporting */
  --slate-accent: #94a3b8;
  --teal-success: #10b981;
  --teal-glow: rgba(16, 185, 129, 0.35);

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-orange: #ff8f00;

  /* Glassmorphism & Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.06);
  --card-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.7), 0 0 30px -10px rgba(255, 111, 0, 0.08);
  --orange-shadow: 0 10px 30px -5px rgba(255, 111, 0, 0.45);

  /* Typography - Clean, Modern, Elegant (No Saturation) */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --nav-height: 84px;
  --container-max: 1540px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 58px;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(255, 111, 0, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 88% 50%, rgba(255, 133, 27, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  background-attachment: scroll;
  min-height: 100vh;
}

@media (min-width: 992px) {
  body {
    background-attachment: fixed;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 111, 0, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange-primary);
}

::selection {
  background: var(--orange-primary);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2vw, 2rem);
  padding-right: clamp(1rem, 2vw, 2rem);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.text-orange {
  color: var(--orange-primary);
}

.text-teal {
  color: var(--teal-success);
}

.gradient-text-orange {
  background: linear-gradient(135deg, #ffffff 15%, #ffb74d 60%, #ff6f00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.8rem;
  background: rgba(255, 111, 0, 0.1);
  border: 1px solid var(--orange-border);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-primary);
  margin-bottom: 0.5rem;
}

.section-tag-teal {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--teal-success);
}

.section-title {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   PRELOADER ANIMATION (CONFIES LOGO & SLOGAN)
   ========================================================================== */
/* ==========================================================================
   CINEMATIC GSAP PRELOADER & SPLIT CURTAIN REVEAL
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  pointer-events: auto;
}

/* Two dark obsidian curtains that split vertically */
.loader-curtain {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #08090d;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.curtain-top {
  top: 0;
}

.curtain-bottom {
  bottom: 0;
}

.loader-ambient-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 0, 0.22) 0%, rgba(255, 133, 27, 0.08) 45%, transparent 70%);
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
  animation: ambientPulse 3.5s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* Giant Background Watermark Number */
.loader-giant-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(10rem, 26vw, 19rem);
  font-weight: 900;
  color: rgba(255, 111, 0, 0.035);
  -webkit-text-stroke: 1.5px rgba(255, 111, 0, 0.12);
  pointer-events: none;
  z-index: 2;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  will-change: transform, opacity;
}

/* Hologram Orbit Rings behind Logo */
.loader-hologram-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}

.hologram-svg {
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 15px rgba(255, 111, 0, 0.35));
}

.ring-outer {
  transform-origin: 200px 200px;
  animation: rotateClockwise 26s linear infinite;
}

.ring-middle {
  transform-origin: 200px 200px;
  animation: rotateCounterClockwise 16s linear infinite;
}

.ring-inner {
  transform-origin: 200px 200px;
  animation: rotateClockwise 11s linear infinite;
}

.ring-core {
  transform-origin: 200px 200px;
  animation: rotateCounterClockwise 7s linear infinite;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Shockwave Laser Ring */
.loader-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2.5px solid var(--orange-primary);
  box-shadow: 0 0 50px var(--orange-primary), inset 0 0 30px var(--orange-primary);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  will-change: transform, opacity;
}

.loader-content-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  padding: 1.5rem;
  will-change: transform, opacity, filter;
}

.loader-logo-box {
  margin-bottom: 1.25rem;
  will-change: transform, opacity, filter;
}

.loader-logo-img {
  height: 82px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 111, 0, 0.4));
}

.loader-tagline-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2.25rem;
}

.loader-tagline {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange-primary);
}

.loader-motto {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.05em;
}

.loader-meta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 320px;
}

.loader-line-track {
  position: relative;
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.loader-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6f00, #ffa726, #ffffff);
  box-shadow: 0 0 15px #ff6f00;
  border-radius: 99px;
}

.loader-count-wrap {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  min-width: 52px;
  text-align: right;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.loader-count-pct {
  color: var(--orange-primary);
  font-size: 0.82rem;
  margin-left: 2px;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinRingRev {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* ==========================================================================
   NAVIGATION - DOCKED SLIM GLASS BAR (APPLE / STRIPE AESTHETIC)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  z-index: 1000;
  padding: 0;
  background: rgba(15, 17, 23, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background: rgba(12, 14, 19, 0.96);
  border-bottom-color: rgba(255, 111, 0, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
}

.nav-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 1.75rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.logo-wrapper-pill {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: none;
}

.site-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.25vw, 1.35rem);
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex: 1;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.84rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.35rem 0.25rem;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--orange-primary);
  transition: width 0.25s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.65rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
  color: #ffffff;
  box-shadow: var(--orange-shadow);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
  box-shadow: 0 15px 35px -5px rgba(255, 111, 0, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 111, 0, 0.1);
  border-color: var(--orange-primary);
  color: var(--orange-light);
  transform: translateY(-2px);
}

.btn-qr-nav {
  padding: 0.42rem 0.85rem;
  background: rgba(255, 111, 0, 0.1);
  border: 1px solid var(--orange-border);
  color: var(--orange-light);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-qr-nav:hover {
  background: rgba(255, 111, 0, 0.25);
  border-color: var(--orange-primary);
  color: #fff;
}

.nav-actions .btn-primary {
  padding: 0.42rem 1.1rem;
  font-size: 0.82rem;
  border-radius: 8px;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-drawer {
  display: none;
}

/* ==========================================================================
   HERO SECTION - BALANCED & SYMMETRIC LAYOUT
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 58px);
  display: flex;
  align-items: center;
  padding-top: 4.85rem;
  padding-bottom: 1.5rem;
  overflow: hidden;
  scroll-margin-top: 58px;
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.hero-glow-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  top: 10%;
  left: -120px;
  background: rgba(255, 111, 0, 0.12);
}

.hero-glow-2 {
  bottom: 10%;
  right: -120px;
  background: rgba(255, 133, 27, 0.08);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.hero-description {
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 0;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.3vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-number .accent {
  color: var(--orange-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual Box with CONFIES Brand Emblem */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-main-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--orange-border);
  background: var(--bg-surface);
  transition: transform 0.5s ease;
}

.hero-main-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange-primary);
}

.hero-main-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

.card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 17, 23, 0.96) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.card-overlay-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.card-overlay-subtitle {
  font-size: 0.82rem;
  color: var(--orange-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Floating Glass Badges */
.floating-glass-badge {
  position: absolute;
  background: rgba(21, 24, 33, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 3;
  animation: floatAnim 6s ease-in-out infinite;
}

.floating-badge-top {
  top: -15px;
  right: -15px;
  border-color: var(--orange-border);
  animation-delay: 0s;
}

.floating-badge-bottom {
  bottom: -15px;
  left: -15px;
  border-color: rgba(16, 185, 129, 0.35);
  animation-delay: -3s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-icon.orange {
  background: rgba(255, 111, 0, 0.15);
  color: var(--orange-primary);
}

.badge-icon.teal {
  background: rgba(16, 185, 129, 0.15);
  color: var(--teal-success);
}

.badge-info h5 {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

.badge-info p {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   TICKER BAR (SERVICIOS Y CAPACIDADES EN MOVIMIENTO)
   ========================================================================== */
.market-ticker-wrap {
  width: 100%;
  background: rgba(18, 20, 27, 0.95);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: tickerSlide 40s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-symbol {
  color: var(--orange-primary);
  font-family: var(--font-display);
  font-weight: 700;
}

.ticker-val {
  color: var(--text-main);
}

.ticker-tag {
  background: rgba(255, 111, 0, 0.12);
  color: var(--orange-light);
  padding: 0.15rem 0.6rem;
  border-radius: 99px;
  font-size: 0.75rem;
}

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

/* ==========================================================================
   QUIÉNES SOMOS & PROPÓSITO
   ========================================================================== */
.section-padding {
  padding: 1rem 0;
  position: relative;
  box-sizing: border-box;
}

.section-padding > .container {
  width: 100%;
}

/* Master Viewport Centering & Alignment for all Main Menu Sections */
#nosotros,
#servicios,
#software,
#clientes,
#casos,
#faq,
#contacto {
  min-height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 0;
  box-sizing: border-box;
  scroll-margin-top: 58px;
}

#nosotros > .container,
#servicios > .container,
#software > .container,
#clientes > .container,
#casos > .container,
#faq > .container,
#contacto > .container {
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
  transform: translateY(-8px);
}

.about-image-column {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--orange-border);
  box-shadow: var(--card-shadow);
  width: 100%;
  background: var(--bg-surface);
}

.about-image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.about-floating-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: rgba(18, 20, 27, 0.92);
  border: 1px solid var(--orange-primary);
  border-radius: 16px;
  padding: 0.75rem 1.15rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
}

.about-floating-badge .badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 111, 0, 0.15);
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-floating-badge .badge-text-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}

.about-floating-badge .badge-text-box p {
  font-size: 0.72rem;
  color: var(--orange-light);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0;
}

.about-lead {
  font-size: 1.02rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.purpose-highlight-box {
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.08), rgba(24, 28, 38, 0.65));
  border-left: 3px solid var(--orange-primary);
  border-radius: 0 14px 14px 0;
  padding: 0.75rem 1.15rem;
  margin-bottom: 0.85rem;
}

.purpose-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.purpose-text {
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.5;
}

.about-features-pills {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.about-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-pill svg {
  color: var(--orange-primary);
  flex-shrink: 0;
}

.about-btn-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.15rem;
}

/* ==========================================================================
   MISIÓN, VISIÓN & OBJETIVO
   ========================================================================== */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.mv-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange-border);
  box-shadow: var(--card-shadow);
  background: var(--bg-card-hover);
}

.mv-badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 111, 0, 0.2);
  line-height: 1;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.mv-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.mv-text {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

/* ==========================================================================
   VALORES INSTITUCIONALES (7 VALORES DEL PDF)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 0;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  border-color: var(--orange-border);
  transform: translateY(-4px);
  background: var(--bg-surface-elevated);
}

.value-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.value-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange-primary);
  background: rgba(255, 111, 0, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
}

.value-icon {
  color: var(--orange-light);
}

.value-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.value-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CARTERA DE SERVICIOS (6 LÍNEAS DE ACCIÓN DEL PDF)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  margin-top: 0;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange-border);
  background: var(--bg-card-hover);
  box-shadow: var(--card-shadow);
}

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

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255, 111, 0, 0.1);
  border: 1px solid var(--orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-primary);
  margin-bottom: 0.9rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: var(--orange-primary);
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--orange-glow);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.45rem;
}

.service-description {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.service-points-list {
  list-style: none;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-points-list li {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}

.service-points-list li svg {
  color: var(--orange-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.service-link:hover {
  color: #fff;
  gap: 0.65rem;
}

/* ==========================================================================
   MODALIDADES DE SERVICIO (INDIVIDUALES & PLANES MENSUALES)
   ========================================================================== */
.modalities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.modality-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.85rem 2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.modality-box.featured {
  border-color: var(--orange-primary);
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.08), rgba(28, 32, 44, 0.95));
}

.modality-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.modality-badge.orange {
  background: var(--orange-primary);
  color: #fff;
}

.modality-badge.gray {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.modality-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.modality-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.modality-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.modality-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.modality-features li svg {
  color: var(--teal-success);
  flex-shrink: 0;
}

/* ==========================================================================
   SIMULADOR DE GESTIÓN Y DIAGNÓSTICO FINANCIERO MIPYME
   ========================================================================== */
.simulator-section {
  background: linear-gradient(180deg, rgba(15, 17, 23, 0.6) 0%, rgba(10, 11, 16, 0.98) 100%);
  position: relative;
  overflow: hidden;
}

.simulator-card {
  background: rgba(21, 24, 33, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--orange-border);
  border-radius: 22px;
  padding: 1.85rem 2.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(255, 111, 0, 0.1);
}

.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #cbd5e1;
}

.calc-value-display {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange-primary);
  background: rgba(255, 111, 0, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--orange-border);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 12px var(--orange-glow);
  transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 12px var(--orange-glow);
}

.risk-options-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.risk-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.risk-btn .risk-name {
  font-size: 0.8rem;
  font-weight: 600;
}

.risk-btn .risk-rate {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.risk-btn.active {
  background: rgba(255, 111, 0, 0.15);
  border-color: var(--orange-primary);
  color: #fff;
}

.risk-btn.active .risk-rate {
  color: var(--orange-primary);
}

.simulator-display {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-results-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.sim-result-box {
  background: rgba(15, 17, 23, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem;
}

.sim-result-box.highlight {
  border-color: var(--orange-border);
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.12), rgba(15, 17, 23, 0.95));
}

.sim-result-box.highlight-teal {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(15, 17, 23, 0.95));
}

.sim-result-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.sim-result-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.sim-chart-container {
  position: relative;
  height: 200px;
  width: 100%;
  margin-bottom: 1.25rem;
}

.sim-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.sim-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  max-width: 320px;
}

/* ==========================================================================
   FLUJO DE ATENCIÓN (PASO A PASO - EXPEDIENTE CONFIES)
   ========================================================================== */
.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .workflow-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: var(--transition-fast);
}

.step-card:hover {
  border-color: var(--orange-border);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 111, 0, 0.15);
  border: 1px solid var(--orange-primary);
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.45rem;
}

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

/* ==========================================================================
   QR CODE SHOWCASE (ESCANEAR EN EL MÓVIL)
   ========================================================================== */
.qr-showcase-section {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.06) 0%, rgba(18, 20, 27, 0.9) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.qr-box-container {
  background: rgba(21, 24, 33, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--orange-border);
  border-radius: 24px;
  padding: 2.25rem 2.75rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--card-shadow);
}

.qr-info-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.qr-info-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.qr-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.qr-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.qr-feature-item svg {
  color: var(--orange-primary);
  flex-shrink: 0;
}

.qr-code-interactive-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0,0,0,0.5), 0 0 35px var(--orange-glow);
  position: relative;
}

.qr-canvas-wrapper {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
}

.qr-card-brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #0f1117;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.qr-card-brand span {
  color: var(--orange-primary);
}

.qr-card-sub {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.qr-actions-row {
  display: flex;
  gap: 0.65rem;
  width: 100%;
}

.btn-qr-action {
  flex: 1;
  padding: 0.6rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-qr-action.black {
  background: #0f1117;
  color: #fff;
}
.btn-qr-action.black:hover {
  background: #252b3b;
}

.btn-qr-action.orange-light {
  background: rgba(255, 111, 0, 0.15);
  color: #d85d00;
  border-color: rgba(255, 111, 0, 0.4);
}
.btn-qr-action.orange-light:hover {
  background: rgba(255, 111, 0, 0.25);
}

.btn-qr-action.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #128c7e;
  border-color: rgba(37, 211, 102, 0.4);
}
.btn-qr-action.whatsapp:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

.inpage-qr-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease;
  cursor: pointer;
}
.inpage-qr-link:hover {
  transform: translateY(-3px);
}
.qr-click-hint {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 700;
  margin-top: -0.5rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 17, 23, 0.05);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.inpage-qr-link:hover .qr-click-hint {
  color: var(--orange-primary);
  background: rgba(255, 111, 0, 0.12);
}

/* ==========================================================================
   QR MODAL ENHANCED STYLES (WHATSAPP, DESCARGA & ACCESO DIRECTO)
   ========================================================================== */
.modal-qr-window {
  padding: 1.6rem 1.6rem 1.4rem;
  max-width: 520px;
}

.modal-qr-card-wrapper {
  margin: 0.35rem auto 1rem;
  display: inline-block;
}

.modal-qr-link-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  padding: 0.9rem 0.9rem 0.65rem;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 0 25px rgba(255, 111, 0, 0.2);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.modal-qr-link-box:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--orange-primary);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 35px var(--orange-glow);
}

.modal-qr-render-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.modal-qr-badge {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f1117;
  background: rgba(255, 111, 0, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-qr-link-box:hover .modal-qr-badge {
  background: var(--orange-primary);
  color: #ffffff;
}

.modal-qr-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.modal-qr-primary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.btn-whatsapp-share {
  background: #25D366;
  color: #ffffff !important;
  border: 1px solid #20ba59;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-share:hover {
  background: #1eb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-download-qr-action {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.84rem;
}

.modal-qr-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.45rem;
}

.modal-qr-secondary-row .btn {
  padding: 0.55rem 0.4rem;
  font-size: 0.78rem;
  gap: 0.35rem;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .modal-qr-primary-row {
    grid-template-columns: 1fr;
  }
  .modal-qr-secondary-row {
    grid-template-columns: 1fr;
  }
  .modal-qr-secondary-row .btn {
    white-space: normal;
  }
}

/* ==========================================================================
   FAQ ACCORDION (Rediseño Dual-Column Simétrico & Estético)
   ========================================================================== */
.faq-section-wrapper {
  max-width: 1120px;
  margin: 0 auto;
}

.faq-grid-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 860px) {
  .faq-grid-dual {
    grid-template-columns: 1fr;
  }
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: linear-gradient(145deg, rgba(20, 24, 34, 0.88), rgba(12, 14, 20, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.faq-item:hover {
  border-color: rgba(255, 111, 0, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.faq-item.active {
  border-color: rgba(255, 111, 0, 0.5);
  background: linear-gradient(145deg, rgba(26, 30, 42, 0.96), rgba(14, 17, 24, 0.98));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 111, 0, 0.12);
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}

.faq-question-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.faq-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-num-badge {
  font-size: 0.68rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--orange-primary);
  background: rgba(255, 111, 0, 0.12);
  border: 1px solid rgba(255, 111, 0, 0.28);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.faq-category-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.faq-item.active .faq-category-tag {
  color: var(--orange-light);
}

.faq-question-text {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  color: #f1f5f9;
  transition: color 0.2s ease;
}

.faq-item.active .faq-question-text {
  color: #ffffff;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-primary);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 111, 0, 0.5);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.35rem;
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding: 0 1.35rem 1.25rem 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.25rem;
  padding-top: 0.85rem;
}

/* Barra inferior de ayuda rápida */
.faq-help-footer {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.faq-help-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #e2e8f0;
  font-size: 0.88rem;
}

.faq-help-icon {
  color: var(--orange-primary);
}

.faq-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-help-btn:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   CONTACTO & AGENDAR DIAGNÓSTICO (Rediseño Simétrico & Compacto Single-Screen)
   ========================================================================== */
.contact-section-compact {
  padding: 3rem 0 3.5rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(255, 111, 0, 0.05) 0%, rgba(10, 12, 17, 0.98) 75%);
}

.contact-section-compact .section-tag {
  margin-bottom: 0.4rem;
}

.contact-section-compact .section-title {
  margin-bottom: 0.4rem;
  font-size: 2.1rem;
}

.contact-section-compact .section-subtitle {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 640px;
}

/* Master Grid Symmetrical */
.contact-master-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  max-width: 1120px;
  margin: 0 auto;
  gap: 1.65rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .contact-master-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Panel Izquierdo: Canales y Confianza */
.contact-info-panel-symmetrical {
  background: linear-gradient(145deg, rgba(20, 24, 34, 0.92), rgba(12, 14, 20, 0.96));
  border: 1px solid rgba(255, 111, 0, 0.25);
  border-radius: 20px;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.15rem;
}

.contact-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.contact-panel-badge .pulse-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.8s infinite;
}

.contact-panel-id {
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* 2x2 Grid de Canales Directos */
.contact-channels-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 580px) {
  .contact-channels-2x2 {
    grid-template-columns: 1fr;
  }
}

.channel-card-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.channel-card-mini:hover {
  background: rgba(255, 111, 0, 0.06);
  border-color: rgba(255, 111, 0, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.channel-card-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.channel-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 111, 0, 0.12);
  border: 1px solid rgba(255, 111, 0, 0.25);
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-card-icon.wa {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.channel-card-icon.loc {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.channel-card-icon.time {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.channel-card-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-weight: 700;
}

.channel-card-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.channel-card-action {
  font-size: 0.72rem;
  color: var(--orange-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.15rem;
  text-decoration: none;
  transition: gap 0.2s;
}

.channel-card-mini:hover .channel-card-action {
  gap: 0.45rem;
  color: var(--orange-primary);
}

/* Tarjeta Destacada Inferior Izquierda */
.contact-trust-card {
  background: rgba(255, 111, 0, 0.06);
  border: 1px solid rgba(255, 111, 0, 0.22);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.contact-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 111, 0, 0.15);
  border: 1px solid rgba(255, 111, 0, 0.35);
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-trust-content h5 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.contact-trust-content p {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
  margin: 0;
}

.contact-trust-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.contact-trust-pill {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: #cbd5e1;
  font-weight: 600;
}

/* Panel Derecho: Formulario Ficha de Ingreso Compacto & Simétrico */
.contact-form-card-symmetrical {
  background: linear-gradient(145deg, rgba(20, 24, 34, 0.92), rgba(12, 14, 20, 0.96));
  border: 1px solid rgba(255, 111, 0, 0.25);
  border-radius: 20px;
  padding: 1.5rem 1.85rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-form-card-symmetrical form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.form-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.form-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-header-title h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.form-header-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-light);
  background: rgba(255, 111, 0, 0.12);
  border: 1px solid rgba(255, 111, 0, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* Rejilla de Inputs ultra simétrica */
.form-symmetrical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

@media (max-width: 600px) {
  .form-symmetrical-grid {
    grid-template-columns: 1fr;
  }
}

.form-group-compact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group-compact.full-width {
  grid-column: 1 / -1;
}

.form-label-compact {
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-label-compact .req {
  color: var(--orange-primary);
}

.form-input-compact,
.form-select-compact,
.form-textarea-compact {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: rgba(10, 12, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input-compact:focus,
.form-select-compact:focus,
.form-textarea-compact:focus {
  border-color: var(--orange-primary);
  background: rgba(15, 18, 25, 0.95);
  box-shadow: 0 0 12px rgba(255, 111, 0, 0.25);
}

.form-select-compact {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff6f00' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.form-select-compact option {
  background: #0f121a;
  color: #fff;
}

.form-textarea-compact {
  height: 56px;
  min-height: 56px;
  max-height: 75px;
  resize: none;
  line-height: 1.4;
}

/* Submit bar simétrica */
.form-submit-row {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.btn-submit-symmetrical {
  width: 100%;
  padding: 0.72rem 1.25rem;
  background: linear-gradient(90deg, #ff6f00, #ff8f00);
  border: none;
  border-radius: 9px;
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 111, 0, 0.35);
  transition: all 0.25s ease;
}

.btn-submit-symmetrical:hover {
  background: linear-gradient(90deg, #ff7f00, #ffa000);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 111, 0, 0.5);
}

.form-security-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-dim);
  padding: 0 0.2rem;
}

.form-security-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #090a0f;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1.25rem 0 1.75rem 0;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--orange-primary);
  color: #ffffff;
  border-color: var(--orange-primary);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--orange-primary);
}

.footer-disclaimer-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & QR)
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

.floating-action-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-float-wa {
  background: #25d366;
  color: #fff;
}
.btn-float-wa:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.btn-float-qr {
  background: rgba(21, 24, 33, 0.95);
  backdrop-filter: blur(10px);
  border-color: var(--orange-border);
  color: var(--orange-primary);
}
.btn-float-qr:hover {
  transform: scale(1.1) translateY(-3px);
  background: var(--orange-primary);
  color: #ffffff;
  box-shadow: 0 15px 30px rgba(255, 111, 0, 0.5);
}

.floating-tooltip {
  position: absolute;
  right: 68px;
  background: #181b24;
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(10px);
}

.floating-action-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   MODAL COMPONENT
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #181b24;
  border: 1px solid var(--orange-border);
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--orange-glow);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-window {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #181b24;
  border: 1px solid var(--orange-primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  animation: slideToast 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideToast {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   SISTEMA DE RESPONSIVIDAD TOTAL & ADAPTABILIDAD BOOTSTRAP (XXL, XL, LG, MD, SM, XS)
   Garantiza visualización 100% impecable sin desbordamientos en cualquier celular o pantalla
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Breakpoint Bootstrap LG / Desktop Compacto & Laptops (max-width: 1199.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  :root {
    --nav-height: 58px;
  }
  .nav-links, 
  .nav-actions .btn-primary {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-drawer {
    display: flex;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: calc(100vh - 58px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: rgba(14, 16, 22, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 2rem 1.5rem 3.5rem;
    flex-direction: column;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99999;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
  }
  .mobile-drawer.active {
    transform: translateX(0);
  }
  .mobile-drawer .nav-link {
    font-size: 1.25rem;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .carousel-side-arrow.prev {
    left: 8px;
  }
  .carousel-side-arrow.next {
    right: 8px;
  }
}

/* --------------------------------------------------------------------------
   2. Breakpoint Bootstrap MD / Tablets & iPads (max-width: 991.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 4.5rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual-wrapper {
    order: -1;
  }
  .hero-main-card {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .mv-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modalities-grid {
    grid-template-columns: 1fr;
  }
  .simulator-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .software-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-master-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid-dual {
    grid-template-columns: 1fr;
  }
  .qr-box-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .qr-canvas-wrapper {
    margin-left: auto;
    margin-right: auto;
  }

  /* Deck de Servicios Stack Vertical */
  .deck-slide {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    min-height: auto;
  }
  .deck-visual-widget {
    min-height: auto;
    padding: 1.5rem;
  }
  .carousel-side-arrow {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   3. Breakpoint Bootstrap SM / Celulares Grandes & Phablets (max-width: 767.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 3.75rem 0;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.1rem);
  }

  /* Evitar desbordes de badges flotantes fuera de pantalla */
  .floating-glass-badge {
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
  }
  .floating-badge-top {
    top: 8px;
    right: 8px;
  }
  .floating-badge-bottom {
    bottom: 8px;
    left: 8px;
  }
  .badge-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .badge-info h5 {
    font-size: 0.8rem;
  }
  .badge-info p {
    font-size: 0.68rem;
  }

  .about-floating-badge {
    bottom: 8px;
    right: 8px;
    padding: 0.65rem 0.85rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
  .client-solutions-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Carrusel Superior de Servicios Adaptable */
  .carousel-top-bar {
    padding: 0.85rem 1rem;
    gap: 0.85rem;
    flex-direction: column;
    align-items: stretch;
  }
  .carousel-info-left {
    justify-content: space-between;
    width: 100%;
  }
  .carousel-dots-wrap {
    justify-content: center;
    width: 100%;
    gap: 0.4rem;
    flex-wrap: wrap;
  }
  .carousel-top-nav-buttons {
    width: 100%;
    display: flex;
    gap: 0.65rem;
  }
  .carousel-ctrl-btn {
    flex: 1;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  /* Deck Stage & Controller */
  .deck-stage-box {
    padding: 1.5rem 1.15rem;
    border-radius: 20px;
  }
  .deck-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .deck-progress-indicator {
    width: 100%;
    justify-content: space-between;
  }
  .deck-scrubber-track {
    flex: 1;
    max-width: none;
  }
  .deck-arrows-group {
    justify-content: center;
  }
  .deck-bottom-bar .btn-primary {
    width: 100%;
    justify-content: center;
  }

  /* Software Showcase & Mockup */
  .software-showcase-box {
    padding: 1.5rem 1.15rem;
    border-radius: 20px;
  }
  .software-feature-list {
    grid-template-columns: 1fr;
  }
  .mockup-carousel-viewport {
    height: 290px;
  }

  /* Simulador de Diagnóstico */
  .simulator-card {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }
  .sim-cta-wrap {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.85rem;
  }
  .sim-disclaimer {
    max-width: 100%;
    text-align: center;
  }
  .sim-cta-wrap .btn {
    width: 100%;
    justify-content: center;
  }

  /* Modales en Móvil */
  .modal-overlay {
    padding: 0.85rem;
  }
  .modal-window {
    padding: 1.75rem 1.25rem;
    max-height: 88vh;
    border-radius: 20px;
  }
  .modal-close-btn {
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
  }

  /* Botones flotantes discretos en celular */
  .floating-actions-container {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.65rem;
  }
  .floating-action-btn {
    width: 48px;
    height: 48px;
  }
}

/* --------------------------------------------------------------------------
   4. Breakpoint Bootstrap XS / Smartphones Retrato (max-width: 575.98px)
   (iPhone SE, 12, 13, 14, 15, 16, Samsung Galaxy, Pixel, Xiaomi, etc.)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  :root {
    --nav-height: 56px;
  }

  .site-header {
    height: 56px;
  }
  .site-logo-img {
    height: 32px;
  }
  .nav-container {
    padding: 0 0.85rem;
  }

  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  /* Hero Section */
  .hero-title {
    font-size: clamp(1.65rem, 6.2vw, 2.15rem);
    line-height: 1.22;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .hero-description {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* Badges en móvil ultra compacto */
  .floating-glass-badge {
    position: static;
    margin-top: 0.65rem;
    width: 100%;
    animation: none;
    box-shadow: none;
    background: rgba(21, 24, 33, 0.95);
  }
  .hero-visual-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Preloader ultra adaptable */
  .loader-content-wrap {
    width: 94%;
    padding: 0.75rem;
  }
  .loader-logo-img {
    height: 58px;
  }
  .loader-tagline {
    font-size: 0.85rem;
  }
  .loader-motto {
    font-size: 0.75rem;
  }
  .loader-hologram-rings svg {
    width: min(300px, 80vw);
    height: min(300px, 80vw);
  }
  .loader-giant-number {
    font-size: clamp(5.5rem, 25vw, 11rem);
  }

  /* Prevenir zoom automático de Safari en iOS al tocar inputs */
  input, 
  select, 
  textarea,
  .form-input,
  .form-select,
  .form-input-compact,
  .form-select-compact,
  .form-textarea-compact {
    font-size: 16px !important;
  }

  /* Simulador MIPYME: tarjetas en 1 columna para que las cifras no se corten */
  .sim-results-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .sim-result-box {
    padding: 1rem;
  }
  .sim-result-value {
    font-size: clamp(1.4rem, 5vw, 1.7rem);
  }
  .risk-options-group {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .risk-btn {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.85rem;
  }
  .calc-value-display {
    font-size: 0.98rem;
    padding: 0.2rem 0.55rem;
  }

  /* Deck de Servicios en celular */
  .deck-stage-box {
    padding: 1.25rem 0.85rem;
    border-radius: 16px;
  }
  .deck-slide-title {
    font-size: 1.35rem;
  }
  .deck-slide-desc {
    font-size: 0.85rem;
  }
  .deck-meta-card {
    padding: 0.65rem 0.75rem;
  }
  .deck-meta-body {
    font-size: 0.8rem;
  }
  .deck-visual-widget {
    padding: 1rem 0.85rem;
  }

  /* Software Mockup en celular */
  .software-showcase-box {
    padding: 1.25rem 0.85rem;
    border-radius: 16px;
  }
  .mockup-carousel-viewport {
    height: 240px;
  }
  .mockup-carousel-footer {
    padding: 0.65rem 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .mockup-tab-nav {
    width: 100%;
    overflow-x: auto;
    display: flex;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.3rem;
  }
  .mockup-tab-nav::-webkit-scrollbar {
    display: none;
  }
  .mockup-tab-item {
    flex: 1 0 auto;
    font-size: 0.72rem;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
  }
  .mockup-footer-right {
    justify-content: center;
    width: 100%;
  }

  /* Canales de Contacto */
  .contact-channels-2x2 {
    grid-template-columns: 1fr;
  }
  .contact-form-card-symmetrical {
    padding: 1.25rem 1rem;
    border-radius: 16px;
  }
  .form-symmetrical-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-panel-symmetrical {
    padding: 1.25rem 1rem;
    border-radius: 16px;
  }

  /* Modal de Cita & QR */
  .modal-window {
    padding: 1.35rem 0.85rem;
    width: 95vw;
    border-radius: 16px;
  }
  .modal-qr-window {
    padding: 1.25rem 0.75rem;
  }
  .modal-qr-primary-row,
  .modal-qr-secondary-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .modal-qr-primary-row .btn,
  .modal-qr-secondary-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   5. Breakpoint Tiny Phones / Pantallas Ultra Compactas (max-width: 375px)
   (iPhone SE, Dispositivos Plegables cerrados, terminales de 320px - 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 375px) {
  .container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .hero-title {
    font-size: 1.48rem;
  }
  .hero-stats-row {
    padding: 0.85rem 0.65rem;
  }
  .mockup-carousel-viewport {
    height: 205px;
  }
  .mockup-slide-caption .caption-title {
    font-size: 0.85rem;
  }
  .mockup-slide-caption .caption-sub {
    display: none;
  }
  .deck-slide-title {
    font-size: 1.2rem;
  }
  .carousel-pill-badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
  }
  .carousel-category-pill {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ==========================================================================
   NUEVAS SECCIONES: SOFTWARE PREVIEW, CLIENTES & CASOS DE ÉXITO
   ========================================================================== */

/* Subtítulos de Servicio (Qué incluye, A quién, Qué obtiene) */
.service-meta-block {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-meta-item {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.service-meta-label {
  font-weight: 700;
  color: var(--orange-light);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.2rem;
}

.service-meta-result {
  color: #10b981;
}

/* Showcase de Software (Próximamente) */
.software-showcase-box {
  background: linear-gradient(135deg, rgba(24, 27, 36, 0.95), rgba(13, 15, 20, 0.98));
  border: 1px solid rgba(255, 111, 0, 0.25);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.software-showcase-box::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 111, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.software-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (max-width: 992px) {
  .software-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.software-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 111, 0, 0.12);
  color: var(--orange-light);
  border: 1px solid rgba(255, 111, 0, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.software-tag-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--orange-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.software-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.15rem 0 1.5rem;
}

@media (max-width: 600px) {
  .software-feature-list {
    grid-template-columns: 1fr;
  }
}

.software-feature-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.software-feature-icon {
  color: var(--orange-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.software-feature-item h4 {
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.software-feature-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

/* Mockup Placeholder para Fotografías / Video del Sistema */
.software-mockup-frame {
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  position: relative;
}

.mockup-header-bar {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-title-tab {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
}

/* Carrusel Viewport, Slides & Controles */
.mockup-header-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mockup-slide-indicator {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-light);
  background: rgba(255, 111, 0, 0.12);
  border: 1px solid rgba(255, 111, 0, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-family: monospace;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.mockup-zoom-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mockup-zoom-btn:hover {
  background: var(--orange-primary);
  color: #fff;
  border-color: var(--orange-primary);
  transform: scale(1.08);
}

.mockup-carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #080a0e;
  height: 380px;
}

@media (max-width: 640px) {
  .mockup-carousel-viewport {
    height: 310px;
  }
}

.mockup-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mockup-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0.45;
  transform: scale(0.97);
  filter: blur(1.5px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.65s ease;
  user-select: none;
}

.mockup-carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.mockup-media-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
  background: radial-gradient(circle at center, #141721 0%, #08090d 100%);
}

.mockup-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.mockup-media-img.contain {
  object-fit: contain;
  padding: 0.85rem;
}

.mockup-media-wrapper:hover .mockup-media-img {
  transform: scale(1.02);
}

.mockup-slide-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.6) 0%, rgba(8, 10, 14, 0.05) 30%, rgba(8, 10, 14, 0.2) 65%, rgba(8, 10, 14, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  transition: background 0.3s ease;
}

.mockup-media-wrapper:hover .mockup-slide-overlay {
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.5) 0%, rgba(8, 10, 14, 0.02) 30%, rgba(8, 10, 14, 0.15) 60%, rgba(8, 10, 14, 0.92) 100%);
}

.mockup-slide-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.mockup-slide-pill.live {
  background: rgba(255, 111, 0, 0.25);
  color: #ffb74d;
  border: 1px solid rgba(255, 111, 0, 0.5);
}

.mockup-slide-pill .pulse-live {
  width: 7px;
  height: 7px;
  background: #ff5722;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff5722;
  animation: pulseDot 1.6s infinite ease-in-out;
}

.mockup-slide-pill.chart {
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.mockup-slide-pill.form {
  background: rgba(59, 130, 246, 0.22);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.45);
}

.mockup-slide-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mockup-slide-caption .caption-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.mockup-slide-caption .caption-sub {
  color: #cbd5e1;
  font-size: 0.76rem;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.mockup-zoom-hint {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: 30px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.25s ease;
}

.mockup-media-wrapper:hover .mockup-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.mockup-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 15, 22, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.mockup-nav-btn.prev {
  left: 0.85rem;
}

.mockup-nav-btn.next {
  right: 0.85rem;
}

.mockup-nav-btn:hover {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  color: #fff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 20px rgba(255, 111, 0, 0.55);
}

.mockup-carousel-footer {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.mockup-tab-nav {
  display: flex;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-tab-item {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mockup-tab-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mockup-tab-item.active {
  background: rgba(255, 111, 0, 0.18);
  color: var(--orange-light);
  border-color: rgba(255, 111, 0, 0.35);
  box-shadow: 0 0 12px rgba(255, 111, 0, 0.2);
}

.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: inherit;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mockup-tab-item:hover .tab-icon {
  transform: scale(1.1);
}

.mockup-tab-item.active .tab-icon {
  color: var(--orange-primary);
}

.mockup-footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mockup-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mockup-dot-indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.mockup-dot-indicator.active {
  width: 24px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff6f00, #ff9100);
  box-shadow: 0 0 10px rgba(255, 111, 0, 0.6);
}

.mockup-play-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mockup-play-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Lightbox Modal para Detalle Completo de Pantalla */
.demo-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  padding: 1.5rem;
}

.demo-lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.demo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.demo-lightbox-content {
  position: relative;
  max-width: 1050px;
  width: 100%;
  max-height: 90vh;
  background: #0f121a;
  border: 1px solid rgba(255, 111, 0, 0.35);
  border-radius: 18px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 111, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-lightbox-modal.open .demo-lightbox-content {
  transform: scale(1) translateY(0);
}

.demo-lightbox-header {
  padding: 0.9rem 1.4rem;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-lightbox-title-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.demo-lightbox-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--orange-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demo-lightbox-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.demo-lightbox-close {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  transform: rotate(90deg);
}

.demo-lightbox-body {
  padding: 1.25rem;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090a0f;
  min-height: 250px;
}

.demo-lightbox-body img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Soluciones según Tipo de Cliente */
.client-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .client-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 111, 0, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.client-badge-profile {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-light);
  background: rgba(255, 111, 0, 0.1);
  border: 1px solid rgba(255, 111, 0, 0.25);
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.client-title {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.client-problem-box {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid #ef4444;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: #fca5a5;
  line-height: 1.35;
}

.client-solution-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10b981;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #a7f3d0;
  line-height: 1.35;
  margin-bottom: 1rem;
}

/* Casos de Éxito / Testimonios */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

.case-card {
  background: linear-gradient(180deg, rgba(24, 27, 36, 0.9), rgba(15, 17, 23, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.case-card:hover {
  border-color: rgba(255, 111, 0, 0.35);
  transform: translateY(-5px);
}

.case-sector {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.case-title {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.case-flow-step {
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  line-height: 1.35;
}

.case-flow-label {
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.15rem;
}

.case-flow-label.problem { color: #f87171; }
.case-flow-label.solution { color: #38bdf8; }
.case-flow-label.result { color: #34d399; }

.case-result-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  color: #10b981;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}


/* ==========================================================================
   PRESENTACIÓN INTERACTIVA SLIDE DECK (ASESORAMIENTO FINANCIERO & CONTABLE)
   ========================================================================== */
#servicios.section-padding {
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
}

.services-header-compact {
  text-align: center;
  margin-bottom: 1rem;
}

.services-header-compact .section-tag {
  margin-bottom: 0.25rem;
}

.services-header-compact .section-title {
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   CAROUSEL CONTROLS & STACKED PRESENTATION DECK
   ========================================================================== */
.carousel-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 1.25rem;
  background: rgba(18, 22, 31, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.carousel-info-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.carousel-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 111, 0, 0.12);
  border: 1px solid rgba(255, 111, 0, 0.35);
  color: #ff9800;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.carousel-category-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

/* Slide Indicator Dots */
.carousel-dots-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot:hover {
  background: rgba(255, 111, 0, 0.6);
  transform: scale(1.25);
}

.carousel-dot.active {
  width: 34px;
  background: linear-gradient(90deg, #ff6f00, #ff8f00);
  box-shadow: 0 0 14px rgba(255, 111, 0, 0.6);
}

/* Prominent Top Navigation Buttons */
.carousel-top-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.carousel-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.05rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-ctrl-btn:hover {
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.25), rgba(255, 143, 0, 0.15));
  border-color: #ff8f00;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 111, 0, 0.3);
}

.carousel-ctrl-btn.next {
  background: linear-gradient(135deg, #ff6f00, #e65100);
  border-color: rgba(255, 167, 38, 0.5);
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.35);
}

.carousel-ctrl-btn.next:hover {
  background: linear-gradient(135deg, #ff8f00, #ff6f00);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.5);
  transform: translateY(-2px);
}

/* Carousel Stage Wrapper & Floating Side Arrows */
.carousel-stage-wrapper {
  position: relative;
  width: 100%;
}

.carousel-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 18, 25, 0.88);
  border: 2px solid rgba(255, 111, 0, 0.4);
  color: #ff9800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 111, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-side-arrow.prev {
  left: -26px;
}

.carousel-side-arrow.next {
  right: -26px;
}

.carousel-side-arrow:hover {
  background: linear-gradient(135deg, #ff6f00, #e65100);
  border-color: #ffb74d;
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 35px rgba(255, 111, 0, 0.55), 0 0 25px rgba(255, 111, 0, 0.4);
}

.carousel-side-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

@media (max-width: 1200px) {
  .carousel-side-arrow.prev {
    left: 8px;
  }
  .carousel-side-arrow.next {
    right: 8px;
  }
}

@media (max-width: 768px) {
  .carousel-side-arrow {
    display: none;
  }
  .carousel-top-bar {
    justify-content: center;
  }
}

/* Master Slide Box */
.deck-stage-box {
  background: linear-gradient(135deg, rgba(22, 26, 36, 0.95), rgba(12, 14, 20, 0.98));
  border: 1px solid rgba(255, 111, 0, 0.25);
  border-radius: 24px;
  padding: 2.25rem 2.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.deck-stage-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 111, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Individual Slide (hidden by default) */
.deck-slide {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
  min-height: 400px;
}

.deck-slide.active {
  display: grid;
  animation: slideSmoothEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideSmoothEntrance {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.deck-slide.active .deck-slide-title {
  animation: slideTextIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.deck-slide.active .deck-meta-card:nth-child(1) {
  animation: slideCardStagger 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards;
}

.deck-slide.active .deck-meta-card:nth-child(2) {
  animation: slideCardStagger 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.12s backwards;
}

.deck-slide.active .deck-meta-card:nth-child(3) {
  animation: slideCardStagger 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.18s backwards;
}

.deck-slide.active .deck-visual-widget {
  animation: slideWidgetIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s backwards;
}

@keyframes slideTextIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

@media (max-width: 992px) {
  .deck-slide {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .deck-stage-box {
    padding: 1.75rem 1.5rem;
  }
}

/* Slide Content (Left) */
.deck-slide-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.deck-slide-badge {
  background: rgba(255, 111, 0, 0.12);
  border: 1px solid rgba(255, 111, 0, 0.3);
  color: var(--orange-light);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.deck-slide-category {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.deck-slide-title {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.deck-slide-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* 3 Structured Items Inside Slide */
.deck-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.deck-meta-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.deck-meta-card.result-highlight {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}

.deck-meta-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.deck-meta-card.result-highlight .deck-meta-title {
  color: #34d399;
}

.deck-meta-body {
  font-size: 0.83rem;
  color: var(--text-main);
  line-height: 1.4;
}

/* Visual Widget on the Right */
.deck-visual-widget {
  background: rgba(10, 12, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 340px;
}

.deck-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.deck-widget-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deck-widget-live {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
}

.widget-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.widget-metric-row:last-child {
  border-bottom: none;
}

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

.widget-metric-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.widget-metric-val.green { color: #34d399; }
.widget-metric-val.orange { color: #ff9800; }

.widget-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  margin-top: 0.35rem;
  overflow: hidden;
}

.widget-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6f00, #10b981);
  border-radius: 99px;
}

/* Bottom Deck Controller */
.deck-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.deck-progress-indicator {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.deck-slide-counter {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.deck-slide-counter span {
  color: var(--orange-primary);
  font-size: 1rem;
}

.deck-scrubber-track {
  width: 160px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.deck-scrubber-fill {
  height: 100%;
  width: 12.5%;
  background: var(--orange-primary);
  transition: width 0.3s ease;
}

.deck-arrows-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-deck-nav {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-deck-nav:hover {
  background: rgba(255, 111, 0, 0.2);
  border-color: var(--orange-primary);
  color: var(--orange-light);
  transform: scale(1.05);
}

/* ==========================================================================
   MASTER BOOTSTRAP RESPONSIVE ADAPTERS & POLISH (ALL DEVICES & SCREEN SIZES)
   Garantiza adaptabilidad 100% en todas las resoluciones móviles y elimina el lag
   ========================================================================== */

/* Optimizaciones de Rendimiento GPU en Móviles (Cero Lag / 60 FPS) */
@media (max-width: 768px) {
  .hero-main-card,
  .deck-stage-box,
  .software-showcase-box,
  .simulator-card,
  .contact-form-card-symmetrical,
  .contact-info-panel-symmetrical,
  .modal-window,
  .service-card,
  .step-card,
  .case-card,
  .faq-item {
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    transform: translateZ(0);
  }

  .site-header {
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    transform: translateZ(0);
  }
}

/* --------------------------------------------------------------------------
   Bootstrap Breakpoint XXL (Pantallas Extra Grandes >= 1400px)
   -------------------------------------------------------------------------- */
@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
  }
}

/* --------------------------------------------------------------------------
   Bootstrap Breakpoint XL (Pantallas Grandes 1200px - 1399.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 1399.98px) {
  .container {
    max-width: 1180px;
  }
}

/* --------------------------------------------------------------------------
   Bootstrap Breakpoint LG (Laptops & Pantallas Medianas 992px - 1199.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
  .client-solutions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }
}

/* --------------------------------------------------------------------------
   Bootstrap Breakpoint MD (Tablets, iPad & Laptops Pequeñas 768px - 991.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  .section-padding {
    padding: 4.5rem 0 !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
  .hero-visual-wrapper {
    order: -1 !important;
  }
  .hero-main-card {
    max-width: 100% !important;
  }
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .mv-grid {
    grid-template-columns: 1fr !important;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .modalities-grid {
    grid-template-columns: 1fr !important;
  }
  .simulator-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .software-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .contact-master-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
  .cases-grid {
    grid-template-columns: 1fr !important;
  }
  .faq-grid-dual {
    grid-template-columns: 1fr !important;
  }
  .qr-box-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 2rem 1.75rem !important;
  }
  .qr-canvas-wrapper {
    margin: 0 auto 1.25rem !important;
  }

  /* Deck de Servicios Stack Vertical */
  .deck-slide {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    min-height: auto !important;
  }
  .deck-visual-widget {
    min-height: auto !important;
    padding: 1.5rem !important;
  }
  .carousel-side-arrow {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Bootstrap Breakpoint SM (Celulares Grandes & Phablets 576px - 767.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }
  .section-padding {
    padding: 3.5rem 0 !important;
  }
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.1rem) !important;
  }
  .section-subtitle {
    font-size: 0.92rem !important;
  }

  /* Prevenir desbordes en badges */
  .floating-glass-badge {
    position: static !important;
    width: 100% !important;
    margin-top: 0.65rem !important;
    animation: none !important;
    box-shadow: none !important;
    border-radius: 14px !important;
    padding: 0.75rem 1rem !important;
  }
  .about-image-column {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .about-image-frame {
    width: 100% !important;
  }
  .about-image-frame img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
  }
  .about-floating-badge {
    position: static !important;
    width: 100% !important;
    margin-top: 0.75rem !important;
    border-radius: 14px !important;
    box-shadow: none !important;
  }
  .hero-visual-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .hero-stats-row {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
  }
  .workflow-steps-grid {
    grid-template-columns: 1fr !important;
  }
  .client-solutions-grid {
    grid-template-columns: 1fr !important;
  }
  .values-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }

  /* Deck de Servicios Superior e Inferior */
  .carousel-top-bar {
    padding: 0.85rem 1rem !important;
    gap: 0.85rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .carousel-info-left {
    justify-content: space-between !important;
    width: 100% !important;
  }
  .carousel-dots-wrap {
    justify-content: center !important;
    width: 100% !important;
    gap: 0.4rem !important;
    flex-wrap: wrap !important;
  }
  .carousel-top-nav-buttons {
    width: 100% !important;
    display: flex !important;
    gap: 0.65rem !important;
  }
  .carousel-ctrl-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.85rem !important;
  }

  .deck-stage-box {
    padding: 1.5rem 1.15rem !important;
    border-radius: 20px !important;
  }
  .deck-bottom-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .deck-progress-indicator {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .deck-scrubber-track {
    flex: 1 !important;
    max-width: none !important;
  }
  .deck-arrows-group {
    justify-content: center !important;
  }
  .deck-bottom-bar .btn-primary {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Software Showcase */
  .software-showcase-box {
    padding: 1.5rem 1.15rem !important;
    border-radius: 20px !important;
  }
  .software-feature-list {
    grid-template-columns: 1fr !important;
  }
  .mockup-carousel-viewport {
    height: 290px !important;
  }

  /* Simulador MIPYME */
  .simulator-card {
    padding: 1.35rem 1.15rem !important;
    border-radius: 18px !important;
  }
  .sim-cta-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 0.85rem !important;
  }
  .sim-disclaimer {
    max-width: 100% !important;
    text-align: center !important;
  }
  .sim-cta-wrap .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Modales en Pantalla Mediana */
  .modal-overlay {
    padding: 0.85rem !important;
  }
  .modal-window {
    padding: 1.75rem 1.25rem !important;
    max-height: 88vh !important;
    border-radius: 20px !important;
  }
  .modal-close-btn {
    top: 1rem !important;
    right: 1rem !important;
    width: 32px !important;
    height: 32px !important;
  }
  .floating-actions-container {
    bottom: 1.25rem !important;
    right: 1.25rem !important;
    gap: 0.65rem !important;
  }
  .floating-action-btn {
    width: 48px !important;
    height: 48px !important;
  }
}

/* --------------------------------------------------------------------------
   Bootstrap Breakpoint XS (Smartphones Retrato < 576px)
   (iPhone SE, 12, 13, 14, 15, 16, Samsung Galaxy S, Pixel, Xiaomi, etc.)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  :root {
    --nav-height: 56px;
  }

  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .site-header {
    height: 56px !important;
  }
  .site-logo-img {
    height: 32px !important;
  }
  .nav-container {
    padding: 0 0.85rem !important;
  }

  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
  .section-padding {
    padding: 2.75rem 0 !important;
  }

  /* Hero Section Impecable */
  .hero-section {
    overflow: hidden !important;
    width: 100% !important;
  }
  .hero-glow-blob {
    max-width: 85vw !important;
  }
  .hero-title {
    font-size: clamp(1.65rem, 6.2vw, 2.15rem) !important;
    line-height: 1.22 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .hero-description {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .hero-cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .about-btn-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .about-btn-group .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Preloader ultra adaptable */
  .loader-content-wrap {
    width: 94% !important;
    padding: 0.75rem !important;
  }
  .loader-logo-img {
    height: 58px !important;
  }
  .loader-tagline {
    font-size: 0.85rem !important;
  }
  .loader-motto {
    font-size: 0.75rem !important;
  }
  .loader-hologram-rings svg {
    width: min(300px, 80vw) !important;
    height: min(300px, 80vw) !important;
  }
  .loader-giant-number {
    font-size: clamp(5.5rem, 25vw, 11rem) !important;
  }

  /* Prevenir zoom automático de Safari en iOS al tocar inputs */
  input, 
  select, 
  textarea,
  .form-input,
  .form-select,
  .form-input-compact,
  .form-select-compact,
  .form-textarea-compact {
    font-size: 16px !important;
  }

  /* Simulador MIPYME: Cifras 100% legibles sin truncamiento */
  .sim-results-cards {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .sim-result-box {
    padding: 1rem !important;
  }
  .sim-result-value {
    font-size: clamp(1.4rem, 5.2vw, 1.7rem) !important;
    letter-spacing: -0.01em !important;
  }
  .risk-options-group {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }
  .risk-btn {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.6rem 0.85rem !important;
  }
  .calc-value-display {
    font-size: 0.98rem !important;
    padding: 0.2rem 0.55rem !important;
  }
  .sim-chart-container {
    height: 180px !important;
  }

  /* Deck de Servicios */
  .deck-stage-box {
    padding: 1.25rem 0.85rem !important;
    border-radius: 16px !important;
  }
  .deck-slide-title {
    font-size: 1.35rem !important;
  }
  .deck-slide-desc {
    font-size: 0.85rem !important;
  }
  .deck-meta-card {
    padding: 0.65rem 0.75rem !important;
  }
  .deck-meta-body {
    font-size: 0.8rem !important;
  }
  .deck-visual-widget {
    padding: 1rem 0.85rem !important;
  }

  /* Software Mockup */
  .software-showcase-box {
    padding: 1.25rem 0.85rem !important;
    border-radius: 16px !important;
  }
  .mockup-carousel-viewport {
    height: 240px !important;
  }
  .mockup-carousel-footer {
    padding: 0.65rem 0.75rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }
  .mockup-tab-nav {
    width: 100% !important;
    overflow-x: auto !important;
    display: flex !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0.3rem !important;
  }
  .mockup-tab-nav::-webkit-scrollbar {
    display: none !important;
  }
  .mockup-tab-item {
    flex: 1 0 auto !important;
    font-size: 0.72rem !important;
    padding: 0.35rem 0.6rem !important;
    white-space: nowrap !important;
  }
  .mockup-footer-right {
    justify-content: center !important;
    width: 100% !important;
  }

  /* Formulario y Contacto */
  .contact-channels-2x2 {
    grid-template-columns: 1fr !important;
  }
  .contact-form-card-symmetrical {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
  }
  .form-symmetrical-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-info-panel-symmetrical {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
  }

  /* Modales en Móviles */
  .modal-window {
    padding: 1.35rem 0.85rem !important;
    width: 95vw !important;
    border-radius: 16px !important;
  }
  .modal-qr-window {
    padding: 1.25rem 0.75rem !important;
  }
  .modal-qr-primary-row,
  .modal-qr-secondary-row {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  .modal-qr-primary-row .btn,
  .modal-qr-secondary-row .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* --------------------------------------------------------------------------
   Bootstrap Breakpoint Tiny Phones / Pantallas Ultra Compactas (< 380px)
   (iPhone SE 1st gen, Galaxy Fold frontal, terminales de 320px - 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 379.98px) {
  .container {
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }
  .section-title {
    font-size: 1.45rem !important;
  }
  .hero-title {
    font-size: 1.48rem !important;
  }
  .hero-stats-row {
    padding: 0.85rem 0.65rem !important;
  }
  .mockup-carousel-viewport {
    height: 205px !important;
  }
  .mockup-slide-caption .caption-title {
    font-size: 0.85rem !important;
  }
  .mockup-slide-caption .caption-sub {
    display: none !important;
  }
  .deck-slide-title {
    font-size: 1.2rem !important;
  }
  .carousel-pill-badge {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.6rem !important;
  }
  .carousel-category-pill {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.6rem !important;
  }
  .floating-action-btn {
    width: 44px !important;
    height: 44px !important;
  }
}

/* ==========================================================================
   SUPRESIÓN DE BANNERS / PUBLICIDAD INYECTADA POR HOSTING (SOMEE)
   ========================================================================== */
a[href*="somee.com"],
center:has(a[href*="somee.com"]),
div:has(> a[href*="somee.com"]),
div:has(> center > a[href*="somee.com"]),
div[style*="z-index: 9999999"],
div[style*="z-index: 2147483647"],
body > div:last-child:has(a[href*="somee"]),
body > center:last-child {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

