/* ==========================================================================
   ZORIA - Consultora de Automatización y Soluciones Digitales
   High-End Luxury Dark Design System (Midnight Navy & Champagne Gold)
   Crafted with UI/UX Pro Max Intelligence: Depth, Glassmorphism & Tactile Polish
   ========================================================================== */

:root {
  /* Core Luxury Palette */
  --bg-primary: #030712;
  --bg-surface: #070F22;
  --bg-surface-dark: #040916;
  --bg-card: rgba(16, 29, 60, 0.6);
  --bg-card-hover: rgba(24, 42, 84, 0.85);
  --bg-input: rgba(7, 16, 36, 0.88);

  /* Gold Metallic Gradients & Glows */
  --gold-primary: #D4AF37;
  --gold-light: #F6E6B4;
  --gold-vibrant: #E5BE58;
  --gold-dark: #9A7418;
  --gold-glow: rgba(212, 175, 55, 0.38);
  --gold-glow-subtle: rgba(212, 175, 55, 0.14);
  --gold-border: rgba(212, 175, 55, 0.3);
  --gold-border-bright: rgba(212, 175, 55, 0.65);

  /* Cyber Midnight Accents */
  --blue-tech: #38BDF8;
  --blue-glow: rgba(56, 189, 248, 0.25);
  --navy-accent: #1E3A8A;
  --navy-glow: rgba(30, 58, 138, 0.4);

  /* Typography Colors */
  --text-pure: #FFFFFF;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Borders & Glassmorphism */
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(212, 175, 55, 0.55);
  --glass-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.12);

  /* Fonts & Radii */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 9999px;

  --anim-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.2s var(--anim-ease);
  --trans-smooth: 0.35s var(--anim-ease);
}


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

html {
  scroll-behavior: smooth;
  /* Compensa la navbar flotante fija al navegar por anclas */
  scroll-padding-top: 100px;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  /* Multi-layered atmospheric mesh: Deep obsidian + Sapphire Aura + Subtle Tech Grid */
  background-image: 
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(30, 58, 138, 0.32), transparent),
    radial-gradient(ellipse 70% 45% at 95% 30%, rgba(212, 175, 55, 0.11), transparent),
    radial-gradient(ellipse 60% 50% at 5% 65%, rgba(30, 58, 138, 0.25), transparent),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(212, 175, 55, 0.08), transparent),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 46px 46px, 46px 46px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Ambient Glow Orbs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.85;
}

.glow-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.4) 0%, transparent 70%);
  top: 3%;
  left: -120px;
}

.glow-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  top: 30%;
  right: -100px;
}

.glow-3 {
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(15, 28, 60, 0.75) 0%, transparent 70%);
  bottom: 8%;
  left: 25%;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 1;
}

.faq-narrow-container {
  max-width: 880px;
}

.form-max-container {
  max-width: 1160px;
}

/* Typography Helpers & Shimmer */
.gradient-gold-text {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-light) 30%, var(--gold-primary) 70%, #E5BE58 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: goldShimmer 7s ease-in-out infinite alternate;
}

@keyframes goldShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

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

.gold-icon {
  color: var(--gold-primary);
}

/* Section Common Headings */
.section {
  padding: 95px 0;
  position: relative;
  scroll-margin-top: 0;
}

.section-dark-surface {
  background: linear-gradient(180deg, rgba(4, 9, 22, 0.95) 0%, rgba(3, 7, 18, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.section-dark-surface::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
  pointer-events: none;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.42rem 1.15rem;
  border-radius: var(--r-full);
  margin-bottom: 1.1rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.16);
}

.badge-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.028em;
  color: var(--text-pure);
  margin-bottom: 0.95rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.62;
}

.cta-spacing {
  margin-top: 3rem;
}

/* ==========================================================================
   Button System (High-End Tactile Polish - NO Generic AI sliding sweeps)
   ========================================================================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, #FDE68A 0%, #D4AF37 50%, #B8860B 100%);
  color: #040814;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  padding: 0.88rem 1.95rem;
  border-radius: var(--r-full);
  box-shadow: 
    0 6px 24px rgba(212, 175, 55, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -2px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--anim-ease), box-shadow 0.25s var(--anim-ease), filter 0.2s ease;
  position: relative;
  cursor: pointer;
}

.btn-gold i {
  font-size: 0.95rem;
  transition: transform 0.25s var(--anim-ease);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 10px 34px rgba(212, 175, 55, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.75),
    inset 0 -2px 3px rgba(0, 0, 0, 0.25);
  filter: brightness(1.04);
}

.btn-gold:hover i {
  transform: scale(1.1) translateX(2px);
}

.btn-gold:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 
    0 3px 12px rgba(212, 175, 55, 0.4),
    inset 0 1px 1px rgba(0, 0, 0, 0.3);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: rgba(16, 29, 60, 0.65);
  color: var(--text-pure);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.88rem 1.85rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s var(--anim-ease), background 0.25s var(--anim-ease), border-color 0.25s var(--anim-ease), box-shadow 0.25s var(--anim-ease), color 0.2s ease;
  position: relative;
  cursor: pointer;
}

.btn-glass i {
  font-size: 0.92rem;
  color: var(--gold-light);
  transition: transform 0.25s var(--anim-ease);
}

.btn-glass:hover {
  background: rgba(24, 44, 88, 0.9);
  border-color: var(--gold-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.55),
    0 0 22px rgba(212, 175, 55, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-glass:hover i {
  transform: scale(1.1) translateX(2px);
}

.btn-glass:active {
  transform: translateY(0px) scale(0.98);
}

.btn-lg {
  padding: 0.95rem 2.15rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Navbar (Sleek Floating Glass Pill)
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 1.5rem;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  max-width: 1220px;
  margin: 0 auto;
  background: rgba(4, 9, 22, 0.84);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--r-full);
  box-shadow: 
    0 12px 38px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 20px rgba(212, 175, 55, 0.1);
  padding: 0.4rem 1.5rem;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 22px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transition: transform 0.2s ease;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: var(--r-full);
  transition: transform 0.25s var(--anim-ease);
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

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

.nav-actions .btn-glass,
.nav-actions .btn-gold {
  padding: 0.58rem 1.3rem;
  font-size: 0.86rem;
}

/* ==========================================================================
   01. Hero Section
   ========================================================================== */
.hero {
  padding-top: 145px;
  padding-bottom: 85px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1.18fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  padding: 0.45rem 1.15rem;
  border-radius: var(--r-full);
  margin-bottom: 1.4rem;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.14);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-primary);
  animation: pulse-glow 2.2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 18px #FFF, 0 0 8px var(--gold-primary); }
  100% { transform: scale(0.9); opacity: 0.75; }
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--text-pure);
  margin-bottom: 1.35rem;
}

.hero-description {
  font-size: 1.14rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 2.2rem;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.45rem 1rem;
  border-radius: var(--r-full);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.trust-pill:hover {
  border-color: var(--gold-border);
  background: rgba(212, 175, 55, 0.08);
  color: var(--text-main);
}

.trust-pill i {
  color: var(--gold-primary);
  font-size: 0.9rem;
}

/* ==========================================================================
   3D Isometric SaaS Showcase (Medio echado estilo Mockup 3D)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.4) 0%, rgba(212, 175, 55, 0.12) 50%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.iso-mockup-viewport {
  perspective: 1300px;
  perspective-origin: 50% 45%;
  width: 100%;
  max-width: 630px;
  position: relative;
  padding: 1.8rem 0.6rem 2.8rem 0.6rem;
  z-index: 1;
}

.iso-card-tilt {
  transform: rotateX(7deg) rotateY(-7deg) rotateZ(1.5deg);
  transform-origin: center center;
  transform-style: preserve-3d;
  background: #050B1C;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--r-lg);
  box-shadow: 
    -14px 22px 55px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(212, 175, 55, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  overflow: hidden;
  transition: transform 0.5s var(--anim-ease), box-shadow 0.5s var(--anim-ease);
}

.iso-card-tilt:hover {
  transform: rotateX(4deg) rotateY(-4deg) rotateZ(1deg) translateY(-4px);
  box-shadow: 
    -18px 30px 65px rgba(0, 0, 0, 0.96),
    0 0 55px rgba(212, 175, 55, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

/* Floating 3D Depth Chips (Tightly contained within mockup container) */
.floating-iso-chip {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(212, 175, 55, 0.22);
  border-radius: var(--r-full);
  border: 1px solid var(--gold-border-bright);
  animation: float-chip 4.5s ease-in-out infinite alternate;
}

@keyframes float-chip {
  0% { transform: translateY(0px) translateZ(25px); }
  100% { transform: translateY(-7px) translateZ(38px); }
}

.chip-ai {
  bottom: 25px;
  right: 25px;
  animation-delay: 1.5s;
}

.ai-spark-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(5, 12, 28, 0.94);
  border: 1px solid var(--gold-border-bright);
  color: var(--gold-light);
  padding: 0.6rem 1.15rem;
  border-radius: var(--r-full);
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.25);
  letter-spacing: 0.02em;
}

.ai-spark-btn i {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

/* Window Top Glass Bar */
.window-glass-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
  background: #030714;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-controls {
  display: flex;
  gap: 6px;
}

.control-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}
.control-dot.red { background: #EF4444; }
.control-dot.yellow { background: #F59E0B; }
.control-dot.green { background: #10B981; }

.window-brand-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
}

.dash-mini-logo {
  height: 18px;
  width: auto;
}

.suite-tag {
  font-size: 0.62rem;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(212, 175, 55, 0.12);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.window-top-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.demo-tag {
  font-size: 0.68rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.demo-tag i {
  color: #34D399;
  font-size: 0.55rem;
}

.dash-btn-new {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #040814;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Dashboard Layout Inside Window */
.dash-app-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: #060D20;
  min-height: 380px;
}

/* Left Sidebar */
.dash-sidebar {
  background: #040918;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem 0.6rem;
  display: flex;
  flex-direction: column;
  color: #94A3B8;
}

.sidebar-section-title {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748B;
  text-transform: uppercase;
  margin: 0.7rem 0 0.3rem 0.35rem;
}

.dash-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dash-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #CBD5E1;
  transition: all 0.2s;
  cursor: pointer;
}

.dash-menu-item i {
  font-size: 0.75rem;
  width: 14px;
  text-align: center;
  color: #94A3B8;
}

.dash-menu-item.active {
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-light);
  border-left: 2px solid var(--gold-primary);
}

.dash-menu-item.active i {
  color: var(--gold-primary);
}

.badge-pro-pill {
  margin-left: auto;
  font-size: 0.52rem;
  font-weight: 800;
  background: var(--gold-primary);
  color: #040814;
  padding: 0.08rem 0.35rem;
  border-radius: 3px;
}

.dash-user-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dash-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #040814;
  font-weight: 800;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  overflow: hidden;
}

.user-name {
  font-size: 0.62rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.user-role {
  font-size: 0.53rem;
  color: #94A3B8;
}

.logout-icon {
  margin-left: auto;
  font-size: 0.68rem;
  color: #64748B;
}

/* Main Dashboard Panel Area */
.dash-main-panel {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #070F24;
  overflow: hidden;
}

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

.dash-panel-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
}

/* 4 Top KPI Cards */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.dash-kpi-card {
  background: rgba(16, 32, 66, 0.8);
  border-radius: 9px;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.kpi-label {
  font-size: 0.53rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.kpi-icon-badge {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
}

.kpi-icon-badge.gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

.kpi-icon-badge.warning {
  background: rgba(245, 158, 11, 0.18);
  color: #FBBF24;
}

.kpi-val {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
}

.kpi-val.highlight-val {
  color: #FBBF24;
}

.kpi-sub {
  font-size: 0.53rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.kpi-sub.highlight-sub {
  color: #FBBF24;
  font-weight: 600;
}

/* Middle Content: Chart & Sellers */
.dash-middle-grid {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 0.75rem;
}

.dash-chart-card,
.dash-sellers-card {
  background: rgba(16, 32, 66, 0.8);
  border-radius: 9px;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.chart-card-header,
.sellers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.55rem;
}

.chart-header-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-chart-action {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  padding: 0.14rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.chart-svg-wrap {
  width: 100%;
}

.spline-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-axis-txt {
  font-size: 8px;
  fill: #64748B;
  font-family: sans-serif;
}

.chart-date-txt {
  font-size: 8px;
  fill: #94A3B8;
  font-weight: 600;
  font-family: sans-serif;
}

.chart-date-txt.highlight-date {
  fill: var(--gold-light);
  font-weight: 800;
}

.chart-node {
  fill: #040814;
  stroke: var(--gold-primary);
  stroke-width: 1.5;
}

.chart-node-peak {
  fill: var(--gold-light);
  stroke: #040814;
  stroke-width: 2;
}

/* Sellers List */
.sellers-list {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.seller-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.seller-item:last-child {
  border-bottom: none;
}

.seller-rank {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748B;
  width: 16px;
}

.seller-rank.gold {
  color: var(--gold-light);
}

.seller-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  line-height: 1.15;
  overflow: hidden;
}

.seller-name {
  font-size: 0.64rem;
  font-weight: 700;
  color: #F1F5F9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seller-qty {
  font-size: 0.54rem;
  color: #64748B;
}

.seller-price {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-light);
}

/* ==========================================================================
   02. Sobre Nosotros (4 Value Boxes - Elevated Boutique Consulting Style)
   ========================================================================== */
.value-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.value-box {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 38, 78, 0.6) 0%, rgba(9, 18, 42, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: var(--r-lg);
  padding: 2.2rem 1.65rem;
  overflow: hidden;
  transition: transform 0.35s var(--anim-ease), border-color 0.35s var(--anim-ease), box-shadow 0.35s var(--anim-ease);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 
    0 16px 40px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.value-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.value-box:hover::after {
  opacity: 1;
}

.value-box:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 
    0 24px 55px -10px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(212, 175, 55, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.value-num-watermark {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.18);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  transition: color 0.35s ease, transform 0.35s ease;
}

.value-box:hover .value-num-watermark {
  color: rgba(212, 175, 55, 0.38);
  transform: translateY(-2px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(30, 58, 138, 0.3) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #F6E6B4;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 18px rgba(212, 175, 55, 0.15);
  transition: transform 0.35s var(--anim-ease), background 0.35s ease, box-shadow 0.35s ease;
}

.value-box:hover .value-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28) 0%, rgba(30, 58, 138, 0.4) 100%);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
}

.value-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}

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

/* ==========================================================================
   03. Servicios Grid
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.solution-card {
  background: linear-gradient(160deg, rgba(22, 38, 78, 0.58) 0%, rgba(9, 18, 42, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--r-lg);
  padding: 2.1rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--anim-ease), border-color 0.35s var(--anim-ease), box-shadow 0.35s var(--anim-ease);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 
    0 16px 40px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.solution-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.solution-card:hover::after {
  opacity: 1;
}

.solution-card:hover {
  border-color: var(--gold-border-bright);
  transform: translateY(-6px);
  box-shadow: 
    0 24px 55px -10px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.solution-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(30, 58, 138, 0.35) 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #F6E6B4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.3rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.18);
  transition: transform 0.35s var(--anim-ease), background 0.3s ease;
}

.solution-card:hover .solution-icon-wrap {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(30, 58, 138, 0.45) 100%);
  color: #FFFFFF;
}

.card-category {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.8rem;
  letter-spacing: -0.015em;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.card-footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-full);
  width: fit-content;
}

.card-footer-tag i {
  color: var(--gold-primary);
  font-size: 0.78rem;
}

/* ==========================================================================
   04. Timeline / Soluciones (Nuestras Soluciones)
   ========================================================================== */
.timeline-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 31px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, var(--gold-primary) 50%, rgba(212, 175, 55, 0.1) 100%);
  z-index: 0;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 32, 68, 0.95) 0%, rgba(5, 11, 26, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 
    0 0 28px var(--gold-glow),
    inset 0 0 14px rgba(212, 175, 55, 0.25);
  transition: all 0.35s var(--anim-ease);
}

.timeline-step:hover .step-circle {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #040814;
  transform: scale(1.14);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.7);
}

.step-card {
  background: linear-gradient(160deg, #102042 0%, #071228 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--r-md);
  padding: 1.5rem 1.2rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.35s var(--anim-ease), border-color 0.35s var(--anim-ease), box-shadow 0.35s var(--anim-ease);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.timeline-step:hover .step-card {
  border-color: var(--gold-border-bright);
  transform: translateY(-4px);
  box-shadow: 
    0 18px 40px rgba(0, 0, 0, 0.75),
    0 0 22px rgba(212, 175, 55, 0.18);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

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

/* ==========================================================================
   05. Recursos & Tecnología
   ========================================================================== */
.tech-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-bottom: 2.5rem;
}

.tech-pillar-card {
  background: linear-gradient(160deg, rgba(22, 38, 78, 0.55) 0%, rgba(9, 18, 42, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--r-lg);
  padding: 2.1rem 1.6rem;
  transition: transform 0.35s var(--anim-ease), border-color 0.35s var(--anim-ease), box-shadow 0.35s var(--anim-ease);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.tech-pillar-card:hover {
  border-color: var(--gold-border-bright);
  transform: translateY(-5px);
  box-shadow: 
    0 22px 50px -10px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(212, 175, 55, 0.18);
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(30, 58, 138, 0.3) 100%);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.14);
  transition: transform 0.35s var(--anim-ease);
}

.tech-pillar-card:hover .pillar-icon {
  transform: scale(1.1);
  color: #FFFFFF;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.58;
}

/* Tech Drawer Dropdown */
.tech-drawer-wrapper {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.tech-drawer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.85rem;
  border-radius: var(--r-full);
  background: #112247;
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.16s ease;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.tech-drawer-btn:hover {
  background: #1a356d;
  border-color: var(--gold-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.25);
}

.tech-drawer-btn .arrow-icon {
  transition: transform 0.18s ease;
}

.tech-drawer-btn.open .arrow-icon {
  transform: rotate(180deg);
}

.tech-drawer-content {
  display: none;
  padding-top: 1.4rem;
}

.tech-drawer-content.open {
  display: block;
}

.tech-drawer-content > div {
  overflow: visible;
}

.tech-badges-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.tech-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.2rem;
  background: rgba(12, 24, 52, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tech-badge-item:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.tech-badge-item i {
  color: var(--gold-primary);
  font-size: 0.92rem;
}

/* ==========================================================================
   06. FAQ List (Instant Zero-Delay Interaction)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.faq-card {
  background: linear-gradient(160deg, #102042 0%, #071228 100%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.faq-card.active {
  border-color: var(--gold-border-bright);
  background: linear-gradient(160deg, #142750 0%, #0b1832 100%);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(212, 175, 55, 0.14);
}

.faq-header-btn {
  width: 100%;
  padding: 1.3rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-pure);
  padding-right: 1.2rem;
  letter-spacing: -0.01em;
  transition: color 0.12s ease;
}

.faq-header-btn:hover .faq-title {
  color: var(--gold-light);
}

.faq-chevron-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: transform 0.12s ease;
}

.faq-card.active .faq-chevron-wrap {
  transform: rotate(180deg);
  background: var(--gold-primary);
  color: #040814;
}

.faq-body-panel {
  display: none;
  padding: 0 1.6rem 1.4rem 1.6rem;
}

.faq-card.active .faq-body-panel {
  display: block;
}

.faq-body-panel > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin: 0;
}

/* ==========================================================================
   07. Formulario de Diagnóstico / Reserva
   ========================================================================== */
.booking-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: 3.8rem;
  align-items: start;
}

.booking-perks {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.perk-card {
  display: flex;
  align-items: flex-start;
  gap: 1.05rem;
}

.perk-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(30, 58, 138, 0.3) 100%);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.15);
}

.perk-info strong {
  display: block;
  font-size: 1.08rem;
  color: var(--text-pure);
  margin-bottom: 0.28rem;
}

.perk-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.whatsapp-direct-card {
  margin-top: 2.2rem;
  background: rgba(37, 211, 102, 0.09);
  border: 1px solid rgba(37, 211, 102, 0.38);
  padding: 1.3rem 1.85rem;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: fit-content;
  max-width: 100%;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.whatsapp-direct-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.65);
}

.whatsapp-direct-card i.fa-whatsapp {
  font-size: 2.4rem;
  color: #25D366;
  flex-shrink: 0;
}

.wa-content-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wa-label-text {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.wa-link {
  font-size: 1rem;
  font-weight: 700;
  color: #25D366;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.wa-link i {
  font-size: 0.88rem;
  transition: transform 0.2s ease;
}

.wa-link:hover i {
  transform: translateX(4px);
}

/* Luxury Form Card Box */
.luxury-form-box {
  background: linear-gradient(160deg, rgba(22, 38, 78, 0.75) 0%, rgba(8, 16, 38, 0.92) 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--r-xl);
  padding: 2.5rem 2.3rem;
  box-shadow: 
    0 28px 65px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(212, 175, 55, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.form-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  padding: 0.38rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1.7rem;
}

.form-input-group {
  margin-bottom: 1.25rem;
}

.form-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.req {
  color: var(--gold-primary);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 1.15rem;
  color: var(--gold-primary);
  font-size: 0.94rem;
  pointer-events: none;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  color: var(--text-pure);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.input-with-icon textarea {
  padding-top: 0.85rem;
}

.input-with-icon.textarea-wrap i {
  top: 1.05rem;
}

.input-with-icon input:hover,
.input-with-icon select:hover,
.input-with-icon textarea:hover {
  border-color: rgba(212, 175, 55, 0.38);
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 
    0 0 0 3px rgba(212, 175, 55, 0.22),
    0 0 22px rgba(212, 175, 55, 0.16);
  background: rgba(10, 22, 50, 0.98);
}

.input-with-icon select option {
  background: #070F22;
  color: #FFF;
}

.form-consent-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.form-consent-box input {
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--gold-primary);
  width: 16px;
  height: 16px;
}

/* Segunda casilla (opcional) pegada a la de privacidad */
.form-consent-box + .form-consent-optional {
  margin-top: -0.75rem;
  margin-bottom: 0.7rem;
}

/* Nota bajo un campo del formulario */
.form-field-hint {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.form-privacy-summary {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
}

/* Boton con aspecto de enlace (abre el resumen de privacidad) */
.link-button {
  padding: 0;
  font: inherit;
  color: var(--gold-light);
  text-decoration: underline;
  cursor: pointer;
}

.link-button:hover {
  color: #FFFFFF;
}

.gold-link {
  color: var(--gold-light);
  text-decoration: underline;
}

.btn-submit-action {
  padding: 0.95rem 1.85rem;
  font-size: 1.02rem;
}

.booking-alert-box,
.booking-alert {
  margin-top: 1.4rem;
  padding: 1.15rem;
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* La region aria-live siempre existe; sin mensaje no ocupa espacio */
.booking-alert-box:empty {
  display: none;
}

.booking-alert-box.success,
.booking-alert.success {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid #10B981;
  color: #34D399;
}

.booking-alert-box.error,
.booking-alert.error {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid #EF4444;
  color: #F87171;
}

/* ==========================================================================
   08. Sobre Zoria Grid (Misión & Visión)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.about-vision-card {
  background: linear-gradient(160deg, rgba(22, 38, 78, 0.6) 0%, rgba(9, 18, 42, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--r-xl);
  padding: 2.6rem 2.1rem;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.35s var(--anim-ease), border-color 0.35s var(--anim-ease), box-shadow 0.35s var(--anim-ease);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.about-vision-card:hover {
  border-color: var(--gold-border-bright);
  transform: translateY(-5px);
  box-shadow: 
    0 24px 55px -10px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(212, 175, 55, 0.22);
}

.about-card-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(30, 58, 138, 0.3) 100%);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.4rem;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
  transition: transform 0.35s var(--anim-ease);
}

.about-vision-card:hover .about-card-badge {
  transform: scale(1.12);
  color: #FFFFFF;
}

.about-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.8rem;
  letter-spacing: -0.015em;
}

.about-card-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ==========================================================================
   09. Footer
   ========================================================================== */
.footer {
  background: #02050C;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 32px;
  position: relative;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.38), transparent);
  pointer-events: none;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 2.6rem;
  margin-bottom: 3rem;
}

.footer-brand-logo {
  height: 26px;
  width: auto;
  margin-bottom: 1.15rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.22));
}

.footer-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.62;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.footer-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid var(--gold-border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
}

.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 1.25rem;
}

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

.footer-nav-list a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.86rem;
  color: var(--text-muted);
  gap: 1.2rem;
}

.copyright-text {
  white-space: nowrap;
}

.legal-links-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem 0.95rem;
}

.legal-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: var(--gold-light);
}

/* Libro de Reclamaciones: enlace visible con icono */
.legal-link-reclamos {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--r-full);
  background: rgba(212, 175, 55, 0.09);
  color: var(--gold-light);
  font-weight: 600;
  white-space: nowrap;
}

.legal-link-reclamos:hover {
  border-color: var(--gold-primary);
  color: #FFFFFF;
}

.dot-separator {
  color: var(--text-dim);
}

/* ==========================================================================
   Modal (Privacy Policy)
   ========================================================================== */
.modal-backdrop-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop-wrap[hidden] {
  display: none;
}

.modal-card-box:focus {
  outline: none;
}

.modal-card-box {
  background: #070F24;
  border: 1px solid var(--gold-border);
  border-radius: var(--r-lg);
  max-width: 620px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.3rem;
  box-shadow: 
    0 25px 75px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(212, 175, 55, 0.22);
}

.modal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.95rem;
}

.modal-card-header h3 {
  font-family: var(--font-heading);
  color: var(--gold-light);
  font-size: 1.35rem;
}

.modal-close-btn {
  font-size: 1.85rem;
  color: var(--text-muted);
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #FFFFFF;
}

.modal-card-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.modal-card-body h4 {
  margin: 1.25rem 0 0.4rem;
  color: var(--text-pure);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid,
  .booking-split-layout {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .iso-card-tilt {
    transform: rotateX(8deg) rotateY(-5deg) rotateZ(1.5deg);
  }

  .timeline-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .timeline-line {
    display: none;
  }

  .solutions-grid,
  .value-cards-grid,
  .tech-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .ambient-glow {
    display: none;
  }

  .container {
    padding: 0 1.15rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .navbar-wrapper {
    padding: 0.5rem 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }

  .navbar {
    width: 100%;
    max-width: 100%;
    padding: 0.35rem 0.95rem;
    box-sizing: border-box;
  }

  .nav-links,
  .btn-action-demo {
    display: none;
  }

  .nav-actions .btn-action-diag {
    padding: 0.45rem 0.92rem;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 45px;
    width: 100%;
    overflow: hidden;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 2.25rem;
    word-break: break-word;
  }

  .hero-description {
    font-size: 1.02rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 60px 0;
    width: 100%;
    overflow: hidden;
  }

  .section-title {
    font-size: 1.9rem;
    word-break: break-word;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .iso-mockup-viewport {
    perspective: none;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .iso-card-tilt {
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    border-radius: var(--r-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }

  .dashboard-window-3d {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .window-glass-bar {
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
  }

  .window-top-right {
    display: none;
  }

  .suite-tag {
    display: inline-block;
    font-size: 0.56rem;
  }

  .floating-iso-chip {
    display: none;
  }

  .dash-app-layout {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .dash-sidebar {
    display: none;
  }

  .dash-main-panel {
    padding: 0.85rem 0.75rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    width: 100%;
    min-width: 0;
  }

  .dash-kpi-card {
    padding: 0.6rem 0.6rem;
    min-width: 0;
    overflow: hidden;
  }

  .kpi-label {
    font-size: 0.54rem;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
  }

  .kpi-val {
    font-size: 0.88rem;
  }

  .dash-middle-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    min-width: 0;
  }

  .dash-chart-card,
  .dash-sellers-card {
    padding: 0.7rem 0.6rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .chart-svg-wrap {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .spline-chart-svg {
    width: 100%;
    height: auto;
    display: block;
  }

  .seller-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0;
    min-width: 0;
  }

  .seller-details {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .seller-name {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .seller-price {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .timeline-container,
  .solutions-grid,
  .value-cards-grid,
  .tech-pillars-grid,
  .about-grid,
  .footer-main-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .luxury-form-box {
    padding: 1.7rem 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-two-cols {
    grid-template-columns: 1fr;
  }

  .whatsapp-direct-card {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.15rem 1.25rem;
  }

  .wa-link {
    font-size: 0.92rem;
    word-break: break-all;
  }

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

  .legal-links-group {
    justify-content: center;
    gap: 0.65rem 1.1rem;
  }

  /* Al envolver en varias lineas los puntos quedarian sueltos */
  .legal-links-group .dot-separator {
    display: none;
  }
}

/* ==========================================================================
   03b. Planes & Precios (Luxury Pricing Tiers + Módulo adicional)
   ========================================================================== */
.section-pricing {
  overflow: hidden;
}

/* Halo que separa esta banda de las secciones oscuras vecinas */
.section-pricing::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 175, 55, 0.11), transparent 70%),
    radial-gradient(ellipse 75% 60% at 50% 110%, rgba(30, 58, 138, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: stretch;
}

/* --- Tarjeta de plan --- */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.9rem 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(22, 38, 78, 0.55) 0%, rgba(9, 18, 42, 0.82) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 16px 40px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--anim-ease), border-color 0.35s var(--anim-ease), box-shadow 0.35s var(--anim-ease);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.pricing-card:hover::before,
.pricing-card:focus-within::before {
  opacity: 1;
}

.pricing-card:hover,
.pricing-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--gold-border-bright);
  box-shadow:
    0 26px 55px -12px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(212, 175, 55, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* Plan destacado */
.pricing-card.featured {
  border-color: var(--gold-border-bright);
  border-top-color: var(--gold-primary);
  background: linear-gradient(165deg, rgba(212, 175, 55, 0.16) 0%, rgba(22, 38, 78, 0.6) 45%, rgba(9, 18, 42, 0.88) 100%);
  transform: translateY(-10px);
  box-shadow:
    0 28px 60px -14px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(212, 175, 55, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.pricing-card.featured:hover,
.pricing-card.featured:focus-within {
  transform: translateY(-16px);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.42rem 0.95rem;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #FDE68A 0%, #D4AF37 55%, #B8860B 100%);
  color: #06101F;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.pricing-popular i {
  font-size: 0.6rem;
}

/* Cabecera: nombre + estado */
.pricing-head {
  margin-bottom: 1.15rem;
}

.pricing-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: -0.015em;
}

.pricing-state {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.24rem 0.65rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #6EE7B7;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-state i {
  font-size: 0.42rem;
  color: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34D399;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Precio */
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-heading);
  color: var(--text-pure);
}

.pricing-price small {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  transform: translateY(-0.55rem);
}

.pricing-price strong {
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-light) 45%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-price span {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- Promocion: 50% los 2 primeros meses --- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pricing-promo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  max-width: 760px;
  margin: -0.6rem auto 2.4rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--r-full);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(22, 38, 78, 0.55) 100%);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.16);
  text-align: center;
}

.pricing-promo p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-promo strong {
  color: var(--gold-light);
}

.pricing-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #FDE68A 0%, #D4AF37 55%, #B8860B 100%);
  color: #06101F;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Precio regular tachado y condicion bajo el precio promocional */
.pricing-price {
  flex-wrap: wrap;
}

.pricing-price .pricing-was {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pricing-price .pricing-was s {
  text-decoration-thickness: 1.5px;
}

.pricing-price .pricing-was em {
  padding: 0.12rem 0.5rem;
  border-radius: var(--r-full);
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6EE7B7;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pricing-price .pricing-terms {
  flex-basis: 100%;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--gold-light);
}

/* Capacidad (usuarios / almacenamiento) */
.pricing-capacity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.7rem;
  flex-grow: 1;
  align-content: start;
}

.capacity-stat {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.9rem 0.85rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 9, 22, 0.55);
  transition: border-color 0.3s var(--anim-ease), background 0.3s var(--anim-ease);
}

.pricing-card:hover .capacity-stat {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(3, 9, 22, 0.75);
}

.capacity-stat i {
  font-size: 0.85rem;
  color: var(--gold-primary);
  margin-bottom: 0.3rem;
}

.capacity-stat b {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-pure);
}

.capacity-stat span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.pricing-cta {
  margin-top: auto;
}

/* --- Incluido en los 3 planes --- */
.pricing-included {
  margin-top: 2.6rem;
  padding: 1.7rem 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  background: rgba(3, 9, 22, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.included-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.included-label i {
  font-size: 0.9rem;
  color: var(--gold-primary);
}

.included-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.9rem;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.included-list i {
  flex-shrink: 0;
  margin-top: 0.22rem;
  width: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gold-primary);
}

/* --- Módulo adicional: Facturador electrónico --- */
.billing-addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  margin-top: 1.3rem;
  padding: 1.6rem 1.9rem;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-left: 3px solid var(--gold-primary);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.09) 0%, rgba(6, 18, 45, 0.82) 45%);
  box-shadow: 0 18px 45px -14px rgba(0, 0, 0, 0.8);
  transition: border-color 0.3s var(--anim-ease), box-shadow 0.3s var(--anim-ease);
}

.billing-addon:hover {
  border-color: var(--gold-border-bright);
  box-shadow: 0 22px 50px -14px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.16);
}

.billing-addon-main {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  min-width: 0;
}

.billing-addon-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(30, 58, 138, 0.35) 100%);
  color: var(--gold-light);
  font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.16);
}

.billing-addon-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.32rem;
}

.billing-addon-title strong {
  font-family: var(--font-heading);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-pure);
}

.addon-chip {
  padding: 0.22rem 0.68rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: rgba(212, 175, 55, 0.11);
  color: var(--gold-light);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.billing-addon-copy p {
  font-size: 0.89rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.billing-addon-copy .addon-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.55rem;
  font-size: 0.83rem;
  color: var(--gold-light);
}

.billing-addon-copy .addon-note i {
  margin-top: 0.22rem;
  font-size: 0.78rem;
  color: var(--gold-primary);
}

.billing-addon-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.billing-addon-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.billing-addon-price strong {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-pure);
}

.billing-addon-price strong small {
  font-size: 0.95rem;
  margin-right: 0.12rem;
  color: var(--gold-primary);
}

.billing-addon-price span {
  font-family: var(--font-main);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Promocion en el facturador: precio regular tachado y condicion */
.billing-addon-price {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 260px;
}

.billing-addon-price .addon-was,
.billing-addon-price .addon-terms {
  flex-basis: 100%;
  text-align: right;
}

.billing-addon-price .addon-was {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.billing-addon-price .addon-was em {
  padding: 0.1rem 0.45rem;
  border-radius: var(--r-full);
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6EE7B7;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
}

.billing-addon-price .addon-terms {
  margin-top: 0.3rem;
  font-size: 0.74rem;
  color: var(--gold-light);
  white-space: normal;
}

.addon-btn {
  padding: 0.72rem 1.45rem;
  font-size: 0.88rem;
}

/* --- Nota al pie --- */
.pricing-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-footnote i {
  font-size: 0.78rem;
  color: var(--gold-primary);
}

/* Condiciones de pago y baja, justo debajo de la nota */
.pricing-footnote.pricing-conditions {
  display: block;
  max-width: 820px;
  margin: 0.7rem auto 0;
  line-height: 1.55;
  text-align: center;
}

.pricing-footnote.pricing-conditions i {
  margin-right: 0.4rem;
}

/* --- Responsive Planes --- */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover,
  .pricing-card.featured:focus-within {
    transform: translateY(-6px);
  }

  .included-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.4rem;
  }
}

/* Con dos columnas, la tercera tarjeta se centra en lugar de quedar huérfana */
@media (max-width: 1100px) and (min-width: 769px) {
  .pricing-grid > .pricing-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.65rem);
  }
}

@media (max-width: 860px) {
  .billing-addon {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
  }

  .billing-addon-action {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .pricing-card {
    padding: 1.9rem 1.4rem 1.6rem;
  }

  .pricing-price strong {
    font-size: 2.8rem;
  }

  .pricing-promo {
    margin-top: -1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--r-lg);
  }

  .pricing-included,
  .billing-addon {
    padding: 1.4rem 1.25rem;
  }

  .included-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .billing-addon-icon {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }

  .billing-addon-action {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .billing-addon-price {
    max-width: none;
    justify-content: center;
  }

  .billing-addon-price .addon-was,
  .billing-addon-price .addon-terms {
    justify-content: center;
    text-align: center;
  }

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

  .pricing-footnote {
    text-align: center;
    line-height: 1.5;
  }
}

@media (max-width: 430px) {
  /* Mantiene las dos capacidades visibles de un vistazo, en formato compacto */
  .pricing-capacity {
    gap: 0.6rem;
  }

  .capacity-stat {
    padding: 0.75rem 0.7rem;
  }

  .capacity-stat b {
    font-size: 1.18rem;
  }

  .capacity-stat span {
    font-size: 0.7rem;
  }

  .pricing-name-row {
    flex-wrap: wrap;
  }

  /* Evita que el nombre del plan parta el botón en dos líneas */
  .pricing-cta {
    padding: 0.9rem 1.1rem;
    font-size: 0.92rem;
  }

  /* El módulo adicional gana ancho de lectura */
  .billing-addon-main {
    flex-direction: column;
    gap: 0.9rem;
  }
}

/* Accesibilidad: respeta la preferencia de menor movimiento */
@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-card.featured,
  .pricing-card:hover,
  .pricing-card:focus-within,
  .pricing-card.featured:hover,
  .pricing-card.featured:focus-within {
    transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  /* Detiene todas las animaciones en bucle (brillo del titulo, punto del
     badge, chips flotantes, spinner) y el desplazamiento suave. */
  .gradient-gold-text,
  .badge-dot,
  .floating-iso-chip {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Foco visible accesible en toda la web */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
