/* ============================================================
   AURA DIGITAL ESTUDIO — CSS v3.0 EDITORIAL DARK LUXURY
   ============================================================ */

:root {
  /* Brand Colors */
  --purple:           #7B2CBF;
  --purple-dark:      #3C096C;
  --purple-mid:       #5A189A;
  --purple-light:     #9D4EDD;
  --purple-highlight: #C77DFF;
  --purple-pale:      #E0AAFF;
  --gold:             #D4A843;
  --gold-dim:         rgba(212, 168, 67, 0.25);

  /* Backgrounds - deeper, richer */
  --bg:               #080512;
  --bg2:              #100c20;
  --bg3:              #180f30;
  --bg4:              #1e1240;
  --bg-glass:         rgba(12, 8, 28, 0.75);
  --bg-glass-light:   rgba(22, 16, 46, 0.55);

  /* Text */
  --text:             #EDE8FF;
  --text-muted:       rgba(237, 232, 255, 0.55);
  --text-dim:         rgba(237, 232, 255, 0.28);
  --text-faint:       rgba(237, 232, 255, 0.10);

  /* Borders */
  --border:           rgba(157, 78, 221, 0.18);
  --border-light:     rgba(237, 232, 255, 0.07);
  --border-gold:      rgba(212, 168, 67, 0.28);

  /* Effects */
  --blur:             blur(24px);
  --blur-sm:          blur(10px);
  --glow:             0 0 40px rgba(123, 44, 191, 0.5);
  --glow-lg:          0 0 80px rgba(123, 44, 191, 0.6), 0 0 160px rgba(60, 9, 108, 0.3);
  --shadow:           0 8px 32px rgba(0, 0, 0, 0.6);

  /* Layout */
  --section-pad:      120px;
  --section-pad-mob:  64px;
  --container:        1280px;
  --gap:              40px;
  --gap-mob:          20px;

  /* Easing */
  --transition:       0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:         cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-slow:        0.8s cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.loaded { opacity: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); }

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.45;
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--purple-highlight);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: screen;
  transition: width 0.3s ease, height 0.3s ease;
}
.cursor.hovered { width: 0; height: 0; }
.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(199, 125, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.4s var(--ease-spring), height 0.4s var(--ease-spring), border-color 0.3s ease;
}
.cursor-follower.hovered {
  width: 72px;
  height: 72px;
  border-color: rgba(199, 125, 255, 0.9);
  background: rgba(123, 44, 191, 0.08);
}

/* ── THREE.JS CANVAS ── */
#hero-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ── SCROLL PROGRESS ── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-highlight), var(--gold));
  z-index: 9997;
  transition: width 0.05s linear;
}

/* ── LOADER ── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loader-logo { width: 64px; height: auto; opacity: 0.8; }
.loader-bar-wrap {
  width: 180px;
  height: 1px;
  background: rgba(157, 78, 221, 0.2);
}
.loader-bar {
  height: 100%;
  background: var(--purple-highlight);
  width: 0%;
  transition: width 0.1s ease;
}
.loader-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.loader.loader--done { opacity: 0; visibility: hidden; }

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ── ACCENT BAR (compatibilidad nosotros/contacto) ── */
.accent-bar {
  width: 32px;
  height: 2px;
  background: var(--purple-highlight);
  margin: 12px 0 20px;
}

/* ── TYPOGRAPHY SYSTEM ── */
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-highlight);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--purple-highlight);
  flex-shrink: 0;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--text);
  font-size: clamp(60px, 9vw, 140px);
}
h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  font-size: clamp(38px, 5vw, 80px);
}
h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  font-size: clamp(18px, 2vw, 26px);
}
p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  background: var(--purple);
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  text-decoration: none;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(123,44,191,0.55); }
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 0.5px solid var(--border);
  padding: 15px 32px;
  background: transparent;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring);
  text-decoration: none;
}
.btn-ghost:hover { color: var(--text); border-color: var(--purple-light); transform: translateY(-2px); }

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gap);
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
}
.nav.scrolled {
  background: rgba(8, 5, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-light);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon { width: 30px; height: auto; }
.nav-brand { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.09em; color: var(--text); }
.nav-brand em { color: var(--purple-highlight); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta-link {
  background: var(--purple) !important;
  color: white !important;
  padding: 10px 22px !important;
  letter-spacing: 0.12em !important;
  transition: background 0.3s ease, box-shadow 0.3s ease !important;
  color: white !important;
}
.nav-cta-link:hover { background: var(--purple-light) !important; box-shadow: 0 4px 24px rgba(123,44,191,0.45) !important; color: white !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--text); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV OVERLAY ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 var(--gap);
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay a {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-dim);
  padding: 8px 0;
  transition: color 0.2s ease;
  text-transform: uppercase;
}
.nav-overlay a:hover { color: var(--text); }
.nav-overlay a:last-child { color: var(--purple-highlight); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 52fr 48fr;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

/* CSS Aurora effect */
.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-aurora-1, .hero-aurora-2, .hero-aurora-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero-aurora-1 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(123,44,191,0.22) 0%, transparent 70%);
  top: -20%; right: -10%;
  animation: aurora-drift 16s ease-in-out infinite alternate;
}
.hero-aurora-2 {
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, rgba(60,9,108,0.3) 0%, transparent 70%);
  bottom: 0%; left: 25%;
  animation: aurora-drift 20s ease-in-out infinite alternate-reverse;
}
.hero-aurora-3 {
  width: 20vw; height: 20vw;
  background: radial-gradient(circle, rgba(199,125,255,0.12) 0%, transparent 70%);
  top: 30%; left: 40%;
  animation: aurora-drift 12s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-6%,10%) scale(1.18); }
}

.hero-left {
  padding: var(--section-pad) 0 var(--section-pad);
  padding-left: max(var(--gap), calc((100vw - var(--container)) / 2 + var(--gap)));
  padding-right: 60px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow { margin-bottom: 0; }

.hero-title {
  font-size: clamp(62px, 9vw, 140px);
  font-weight: 900;
  line-height: 0.90;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.hero-title .hero-line { display: block; overflow: hidden; }
.hero-title .hero-inner { display: block; transform: translateY(110%); }
.hero-title .accent { color: var(--purple-highlight); }
.hero-title .light {
  font-weight: 300;
  font-size: 0.5em;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  text-transform: none;
  font-style: italic;
  display: block;
  margin-top: 12px;
  line-height: 1.2;
  opacity: 0; /* animated by GSAP */
}

.hero-sub {
  font-size: 15px;
  line-height: 1.8;
  max-width: 440px;
  color: var(--text-muted);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -8px;
}
.hero-scroll-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: horizontal-tb;
}
.hero-scroll-line {
  width: 48px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--purple-highlight);
  animation: line-scan 2.5s ease-in-out infinite;
}
@keyframes line-scan { 0% { left: -100%; } 100% { left: 100%; } }

.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: 100px var(--gap) 80px 0;
  padding-right: max(var(--gap), calc((100vw - var(--container)) / 2 + var(--gap)));
  gap: 16px;
}

.hero-img-frame {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 520px;
  overflow: hidden;
  position: relative;
  border: 0.5px solid var(--border);
}
.hero-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(123,44,191,0.2) 0%, transparent 50%);
  z-index: 1;
}
.hero-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: saturate(0.85) contrast(1.05);
}
.hero-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-placeholder svg { width: 60px; opacity: 0.15; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  width: 100%;
}
.stat-box {
  background: var(--bg2);
  padding: 22px 28px;
  transition: background 0.3s ease;
}
.stat-box:hover { background: var(--bg3); }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.stat-unit {
  font-size: 18px;
  color: var(--purple-highlight);
  font-weight: 700;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   MARQUEE STRIP
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.marquee-strip {
  overflow: hidden;
  padding: 18px 0;
  border-top: 0.5px solid var(--border-light);
  border-bottom: 0.5px solid var(--border-light);
  background: var(--bg2);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 48px;
  white-space: nowrap;
  display: flex; align-items: center; gap: 16px;
}
.marquee-item .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   POR QUÉ AURA (CRED)
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cred { padding: var(--section-pad) 0; }
.cred-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.cred-left .eyebrow { margin-bottom: 24px; }
.cred-left h2 { margin-bottom: 24px; }
.cred-left p { max-width: 380px; margin-bottom: 36px; }
.cred-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}
.cred-card {
  background: var(--bg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  align-items: center;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cred-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--purple-highlight);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
}
.cred-card:hover { background: var(--bg2); }
.cred-card:hover::before { transform: scaleY(1); }
.cred-num {
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--purple-highlight);
}
.cred-num .unit { font-size: 0.55em; }
.cred-body h3 { font-size: 17px; margin-bottom: 10px; }
.cred-body p { font-size: 13px; line-height: 1.7; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   MÉTODO
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.method {
  padding: var(--section-pad) 0;
  border-top: 0.5px solid var(--border-light);
  border-bottom: 0.5px solid var(--border-light);
  background: var(--bg2);
}
.method-header { margin-bottom: 64px; }
.method-header h2 { margin: 20px 0 16px; }
.method-header p { max-width: 520px; }
.method-steps {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}
.method-step {
  background: var(--bg2);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 40px;
  align-items: center;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.method-step::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.method-step:hover { background: var(--bg3); }
.method-step:hover::before { transform: scaleX(1); }
.step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(123, 44, 191, 0.15);
  transition: color 0.4s ease;
}
.method-step:hover .step-num { color: rgba(123, 44, 191, 0.45); }
.step-content h3 { font-size: 18px; margin-bottom: 8px; }
.step-content p { font-size: 13px; max-width: 500px; }
.step-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-highlight);
  border: 0.5px solid var(--purple);
  padding: 6px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   ENTRADA SERVICIOS
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.entrada { padding: var(--section-pad) 0; }
.entrada-header { margin-bottom: 48px; }
.entrada-header h2 { margin: 20px 0 16px; }
.entrada-tabs {
  display: flex;
  gap: 0;
  border: 0.5px solid var(--border);
  width: fit-content;
  margin-bottom: 40px;
}
.etab {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 12px 28px;
  background: none;
  border: none;
  border-right: 0.5px solid var(--border);
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
}
.etab:last-child { border-right: none; }
.etab:hover { color: var(--text); background: var(--bg3); }
.etab.etab-active { background: var(--purple); color: white; }
.entrada-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.entrada-card {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.entrada-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.entrada-card:hover { background: var(--bg2); }
.entrada-card:hover::before { transform: scaleX(1); }
.entrada-card h3 { font-size: 16px; margin-top: 4px; }
.card-price {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
}
.card-price .currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  vertical-align: super;
}
.card-price .unit {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  vertical-align: bottom;
}
.card-features { display: flex; flex-direction: column; gap: 9px; }
.card-feature {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.card-feature::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
}
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.card-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 0.5px solid var(--border);
  color: var(--text-dim);
}
.card-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-highlight);
  transition: gap 0.3s ease;
  cursor: pointer;
}
.card-cta:hover { gap: 16px; }
.value-ladder {
  grid-column: 1 / -1;
  background: var(--bg2);
  border-top: 0.5px solid var(--border);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}
.vl-step { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.vl-box {
  border: 0.5px solid var(--border);
  background: var(--bg);
  padding: 16px 24px;
  transition: background 0.3s ease;
}
.vl-box:hover { background: var(--bg3); }
.vl-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.vl-name {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.vl-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--purple-highlight);
  margin-top: 2px;
}
.vl-arrow { font-size: 14px; color: var(--border); padding: 0 10px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   SISTEMAS (PLANES)
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sistemas {
  padding: var(--section-pad) 0;
  background: var(--bg2);
  border-top: 0.5px solid var(--border-light);
}
.sistemas-header { margin-bottom: 64px; }
.sistemas-header h2 { margin: 20px 0 16px; }
.sistemas-header p { max-width: 480px; }
.sistemas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.plan-card {
  background: var(--bg);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.plan-card:hover { background: var(--bg2); }
.plan-card.featured {
  background: linear-gradient(160deg, rgba(123,44,191,0.14) 0%, var(--bg) 65%);
}
.plan-card.featured:hover { background: linear-gradient(160deg, rgba(123,44,191,0.2) 0%, var(--bg2) 65%); }
.plan-card.featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-highlight), var(--purple-pale));
}
.plan-name {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan-sub { font-size: 12px; margin-top: -20px; }
.plan-badge-wrap { display: flex; align-items: center; justify-content: space-between; }
.plan-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-highlight);
  border: 0.5px solid var(--purple);
  padding: 4px 12px;
}
.plan-badge.featured { background: var(--purple); color: white; border-color: var(--purple); }
.plan-price-block { display: flex; align-items: baseline; gap: 2px; }
.plan-price {
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}
.plan-price .cur { font-size: 26px; color: var(--text-muted); }
.plan-period {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--text-dim);
  align-self: flex-end;
  padding-bottom: 8px;
}
.plan-divider { height: 0.5px; background: var(--border); }
.plan-features { display: flex; flex-direction: column; gap: 10px; }
.plan-feat {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}
.plan-feat::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.plan-feat.hi::before { background: var(--purple-highlight); }
.plan-cta { margin-top: auto; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   ESPECIALIDADES
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.especialidades { padding: var(--section-pad) 0; }
.especialidades-header { margin-bottom: 64px; }
.especialidades-header h2 { margin: 20px 0 16px; }
.spec-marquee-wrap {
  overflow: hidden;
  border-top: 0.5px solid var(--border-light);
  border-bottom: 0.5px solid var(--border-light);
}
.spec-track {
  display: flex;
  gap: 1px;
  background: var(--border);
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.spec-track:hover { animation-play-state: paused; }
.spec-card {
  background: var(--bg);
  padding: 32px 36px;
  min-width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.spec-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.spec-card:hover { background: var(--bg2); }
.spec-card:hover::before { transform: scaleX(1); }
.spec-icon {
  width: 40px; height: 40px;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-highlight);
}
.spec-icon svg { width: 20px; height: 20px; }
.spec-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.spec-desc { font-size: 12px; line-height: 1.65; }
.spec-grid-static {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(60,9,108,0.25) 0%, var(--bg) 60%);
  border-top: 0.5px solid var(--border);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 90% at 50% 50%, rgba(123,44,191,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  position: relative;
}
.cta-inner .eyebrow { margin-bottom: 20px; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { max-width: 460px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; align-items: stretch; }
.cta-actions .btn-primary { justify-content: center; }
.cta-actions .btn-ghost { justify-content: center; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer { background: var(--bg2); border-top: 0.5px solid var(--border-light); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 80px 0;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-svg { width: 26px; }
.footer-logo span {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}
.footer-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.9;
}
.footer-address a { color: var(--text-dim); transition: color 0.2s ease; }
.footer-address a:hover { color: var(--purple-highlight); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.footer-col a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 0.5px solid var(--border-light);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 11px; color: var(--text-dim); letter-spacing: 0.04em; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE HERO (nosotros/contacto)
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 40% 0%, rgba(123,44,191,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 110px); margin-bottom: 24px; }
.page-hero .lead { font-size: 16px; max-width: 560px; line-height: 1.75; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 120px var(--gap) 32px; padding-right: var(--gap); }
  .hero-right { padding: 0 var(--gap) 80px; align-items: center; }
  .hero-img-frame { max-width: 480px; width: 100%; }
  .cred-inner { grid-template-columns: 1fr; gap: 48px; }
  .sistemas-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-actions { flex-direction: row; }
  .method-step { grid-template-columns: 80px 1fr; }
  .method-step .step-badge { display: none; }
}
@media (max-width: 768px) {
  :root { --gap: var(--gap-mob); --section-pad: var(--section-pad-mob); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: clamp(52px, 13vw, 100px); }
  .hero-sub { font-size: 14px; }
  .hero-stats { max-width: 100%; }
  .sistemas-grid { grid-template-columns: 1fr; }
  .entrada-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .spec-marquee-wrap { display: none; }
  .spec-grid-static { display: grid; padding-left: var(--gap-mob); padding-right: var(--gap-mob); }
  .method-step { grid-template-columns: 60px 1fr; gap: 20px; padding: 28px 24px; }
  .step-num { font-size: 44px; }
  .cred-card { grid-template-columns: 80px 1fr; gap: 20px; padding: 28px 24px; }
  .cred-num { font-size: 40px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .value-ladder { flex-direction: column; gap: 8px; }
  .vl-arrow { transform: rotate(90deg); align-self: flex-start; }
}
