/* ============================================================
   RSA CREATIVE HUB — Premium dark theme
   ============================================================ */

:root {
  --bg: #0a0616;
  --bg-2: #0f0a24;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(196, 181, 253, 0.14);
  --border-strong: rgba(196, 181, 253, 0.32);
  --text: #f5f3ff;
  --text-2: #c7c2e0;
  --text-3: #9a94b8;
  --brand-purple: #6d28d9;
  --brand-violet: #7c3aed;
  --brand-light: #c4b5fd;
  --accent: #f59e0b;
  --accent-ink: #2a1502;
  --accent-dark: #d97706;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --glow: 0 0 0 1px rgba(196, 181, 253, 0.18), 0 20px 60px rgba(76, 29, 149, 0.25);
  --container: min(1160px, 92%);
  --container-narrow: min(760px, 92%);
  --line-height: 1.65;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-2);
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(800px 400px at -10% 30%, rgba(76, 29, 149, 0.14), transparent 60%),
    var(--bg);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}

/* Fine grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3000;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: var(--text);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--brand-violet);
  color: #fff;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--bg-2);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--brand-purple), var(--brand-violet));
  border-radius: 999px;
  border: 2px solid var(--bg-2);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.container-narrow {
  width: var(--container-narrow);
  margin: 0 auto;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-violet), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 400;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 6, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 181, 253, 0.1);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.logo span {
  color: var(--brand-light);
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.3rem 0.65rem;
  color: var(--text);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav > a,
.nav-dropbtn {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav > a:hover,
.nav-dropbtn:hover {
  color: var(--text);
  background: var(--surface);
}

.nav > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-violet), var(--accent));
  transition: width 0.25s ease, left 0.25s ease;
  transform: translateX(-50%);
}

.nav > a:hover::after {
  width: 60%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(15, 10, 36, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  min-width: 210px;
  padding: 0.5rem;
  z-index: 10;
}

.nav-dropdown-content a {
  display: block;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--text-2);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.nav-dropdown-content a:hover {
  background: rgba(124, 58, 237, 0.18);
  color: var(--text);
  padding-left: 1.1rem;
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown:focus-within .nav-dropdown-content,
.nav-dropdown.open .nav-dropdown-content {
  display: block;
  animation: fadeInDown 0.22s ease;
}

.header-cta {
  padding: 0.55rem 1.2rem;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, var(--accent) 50%, #ea580c 130%);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.32);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(245, 158, 11, 0.45);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--brand-light);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand-violet);
  border-color: var(--brand-violet);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--brand-light);
  background: rgba(196, 181, 253, 0.12);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(900px 400px at 70% 10%, rgba(124, 58, 237, 0.28), transparent 65%),
    linear-gradient(165deg, #140a33 0%, #0d0724 55%, var(--bg) 100%);
  border-bottom: 1px solid rgba(196, 181, 253, 0.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-b {
  width: 340px;
  height: 340px;
  bottom: -120px;
  left: -100px;
  background: radial-gradient(circle, #4c1d95, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.orb-c {
  width: 220px;
  height: 220px;
  top: 40%;
  left: 38%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.5), transparent 70%);
  opacity: 0.35;
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 181, 253, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 181, 253, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 55% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 55% 40%, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(196, 181, 253, 0.25);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: blink 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.text-gradient {
  background: linear-gradient(115deg, #c4b5fd 0%, #a78bfa 45%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-2);
  margin-bottom: 1.8rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
}

/* Hero dashboard panel */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-panel {
  position: relative;
  width: min(430px, 100%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(196, 181, 253, 0.22);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: float 7s ease-in-out infinite;
}

.hp-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(196, 181, 253, 0.15);
}

.hp-dots i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.hp-dots i:nth-child(1) { background: #f87171; }
.hp-dots i:nth-child(2) { background: #fbbf24; }
.hp-dots i:nth-child(3) { background: #34d399; }

.hp-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.hp-body {
  padding: 1.3rem 1.2rem 1.4rem;
}

.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.kpi {
  background: rgba(10, 6, 22, 0.5);
  border: 1px solid rgba(196, 181, 253, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
}

.kpi small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 0.3rem;
}

.kpi strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.1;
}

.kpi-up {
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
}

.hp-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 110px;
  margin: 1.2rem 0 1rem;
}

.hp-bars i {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, #a78bfa, var(--brand-purple));
  border-radius: 6px 6px 3px 3px;
  transform-origin: bottom;
  animation: barGrow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.hp-bars i:nth-child(1) { animation-delay: 0.4s; }
.hp-bars i:nth-child(2) { animation-delay: 0.5s; }
.hp-bars i:nth-child(3) { animation-delay: 0.6s; }
.hp-bars i:nth-child(4) { animation-delay: 0.7s; }
.hp-bars i:nth-child(5) { animation-delay: 0.8s; }
.hp-bars i:nth-child(6) { animation-delay: 0.9s; }
.hp-bars i:nth-child(7) { animation-delay: 1s; }

.hp-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-3);
}

.hp-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: blink 1.6s ease-in-out infinite;
}

.hp-badge {
  position: absolute;
  background: rgba(10, 6, 22, 0.92);
  border: 1px solid rgba(196, 181, 253, 0.35);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
  animation: float 5s ease-in-out infinite;
}

.hp-badge-1 {
  top: -20px;
  right: -6px;
}

.hp-badge-2 {
  bottom: -18px;
  left: -12px;
  animation-delay: 1.4s;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-group {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.55);
  padding-right: 1rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section-alt {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(124, 58, 237, 0.08), transparent 70%),
    var(--bg-2);
  border-block: 1px solid rgba(196, 181, 253, 0.07);
}

.kicker {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 0.85rem;
}

.kicker::before,
.kicker::after {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  vertical-align: middle;
  margin: 0 0.7rem;
}

.kicker::before {
  background: linear-gradient(90deg, transparent, var(--brand-violet));
}

.kicker::after {
  background: linear-gradient(90deg, var(--brand-violet), transparent);
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  color: var(--text);
}

.section-lead {
  text-align: center;
  color: var(--text-3);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1.02rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   PRODUCTOS
   ============================================================ */
.productos-section {
  background: var(--bg);
}

.productos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.25rem;
}

.producto-card {
  background: linear-gradient(135deg, #150c38 0%, #1d1350 35%, #33186f 70%, #4c1d95 100%);
  border: 1px solid rgba(196, 181, 253, 0.2);
  border-radius: 22px;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 70px rgba(76, 29, 149, 0.35);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.producto-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.producto-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: 0 35px 90px rgba(76, 29, 149, 0.5);
}

.producto-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.producto-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(124, 58, 237, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.producto-icon {
  font-size: 2.25rem;
}

.producto-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.producto-card p {
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.producto-right {
  background: rgba(10, 6, 22, 0.55);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(139, 92, 246, 0.2);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.producto-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.75rem;
}

.producto-features li {
  font-size: 0.88rem;
  color: var(--brand-light);
  padding-left: 1.75rem;
  position: relative;
  display: flex;
  align-items: center;
}

.producto-features li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
}

.producto-features li::after {
  content: '✓';
  position: absolute;
  left: 4.5px;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
}

.producto-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  align-self: flex-start;
}

.producto-cta:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.7rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-violet), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--glow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(196, 181, 253, 0.4);
  letter-spacing: 0.06em;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: linear-gradient(140deg, rgba(124, 58, 237, 0.22), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(196, 181, 253, 0.22);
  border-radius: 14px;
  margin-bottom: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.35);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-3);
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.service-link {
  color: var(--brand-light);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.service-link:hover {
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ============================================================
   VALUE CARDS
   ============================================================ */
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand-violet), transparent);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--glow);
}

.value-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-3);
  font-size: 0.92rem;
  margin: 0;
}

/* ============================================================
   PLANS
   ============================================================ */
.plans {
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--glow);
}

.plan-highlight {
  border-color: rgba(124, 58, 237, 0.55);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.16), rgba(255, 255, 255, 0.03)),
    var(--surface);
  box-shadow: 0 25px 60px rgba(76, 29, 149, 0.35);
  transform: translateY(-8px);
}

.plan-highlight:hover {
  transform: translateY(-14px);
  box-shadow: 0 35px 80px rgba(76, 29, 149, 0.5);
}

.plan-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #fbbf24, var(--accent));
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
}

.plan h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
  color: var(--text);
  line-height: 1;
}

.plan-price .currency {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-3);
  vertical-align: super;
}

.plan-price .period {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-3);
}

.plan-promise {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--brand-light);
  margin-bottom: 0.5rem;
}

.plan-tagline {
  color: var(--text-3);
  font-size: 0.9rem;
  min-height: 2.8em;
}

.plan-facts {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.87rem;
  color: var(--text-2);
}

.plan-details {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
}

.plan-details > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--brand-light);
  list-style: none;
  transition: color 0.15s ease;
}

.plan-details > summary:hover {
  color: var(--accent);
}

.plan-details > summary::before {
  content: '＋ ';
}

.plan-details[open] > summary::before {
  content: '－ ';
}

.plan-block {
  margin-top: 0.9rem;
}

.plan-block-title {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.plan-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.83rem;
  color: var(--text-3);
}

.plan-block ul li {
  padding-left: 1.1rem;
  position: relative;
}

.plan-block ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand-violet);
  font-weight: 700;
}

.plan .btn {
  margin-top: auto;
  text-align: center;
  font-size: 0.97rem;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--glow);
}

.blog-image {
  height: 140px;
  background:
    radial-gradient(300px 140px at 80% 0%, rgba(245, 158, 11, 0.25), transparent 70%),
    linear-gradient(135deg, var(--brand-purple), var(--brand-violet));
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  border-bottom: 1px solid rgba(196, 181, 253, 0.2);
}

.blog-content {
  padding: 1.4rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-category {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-light);
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.22rem 0.7rem;
}

.blog-content h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0.7rem 0 0.5rem;
}

.blog-content p {
  color: var(--text-3);
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}

.blog-meta {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  margin-bottom: 0.85rem;
  font-size: 0.76rem;
  color: var(--text-3);
}

.blog-date {
  font-weight: 600;
  color: var(--brand-light);
}

.blog-read {
  font-style: italic;
}

.blog-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.87rem;
  text-decoration: none;
  transition: letter-spacing 0.2s ease;
}

.blog-link:hover {
  letter-spacing: 0.04em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

#faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#faq details[open] {
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--glow);
}

#faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--brand-light);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

#faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

#faq details p {
  margin: 0.7rem 0 0;
  color: var(--text-3);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  text-align: center;
  background:
    radial-gradient(700px 350px at 50% 100%, rgba(245, 158, 11, 0.14), transparent 70%),
    radial-gradient(900px 500px at 50% -20%, rgba(124, 58, 237, 0.3), transparent 65%),
    linear-gradient(165deg, #140a33, #0d0724);
  border-top: 1px solid rgba(196, 181, 253, 0.12);
}

.cta-final h2 {
  color: var(--text);
}

.cta-final .section-lead {
  color: var(--text-2);
}

.cta-final .btn {
  animation: pulseGlow 3.2s ease-in-out infinite;
}

.contact-lines {
  margin-top: 1.9rem;
  font-size: 0.95rem;
  color: var(--brand-light);
  line-height: 2.1;
}

.contact-lines a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 253, 0.4);
}

.contact-lines a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #07040f;
  color: var(--text-2);
  padding: 3.2rem 0 1.6rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.footer-brand {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text);
}

.brand-accent {
  color: var(--brand-light);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social a:hover {
  color: #fff;
  background: var(--brand-violet);
  border-color: var(--brand-violet);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--text-3);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-col a:hover {
  color: var(--brand-light);
  padding-left: 4px;
}

.footer-col p {
  font-size: 0.87rem;
  color: var(--text-3);
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(196, 181, 253, 0.1);
  padding-top: 1.3rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-3);
  margin: 0;
}

/* ============================================================
   LEGAL PAGES + BLOG POST
   ============================================================ */
.legal-page {
  background: var(--bg);
}

.legal-content {
  padding: 3.2rem 0;
}

.legal-content h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 0.5rem;
  color: var(--text);
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 2.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  text-align: left;
}

.legal-content p,
.legal-content li {
  color: var(--text-2);
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.last-update {
  font-size: 0.85rem;
  color: var(--text-3);
  font-style: italic;
  margin-bottom: 2rem;
}

/* 404 page */
.nf {
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
  background:
    radial-gradient(700px 350px at 50% 0%, rgba(124, 58, 237, 0.18), transparent 70%),
    var(--bg);
}

.nf-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 0.5rem;
  background: linear-gradient(115deg, #c4b5fd 0%, #a78bfa 45%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nf-inner h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.nf-lead {
  color: var(--text-3);
  max-width: 480px;
  margin: 0 auto 2rem;
}

.nf-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Blog post detail */
.blog-post {
  padding: 2.5rem 0 1rem;
}

.blog-post .blog-category {
  display: inline-block;
  margin-bottom: 0.4rem;
}

.blog-post h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0.5rem 0 1rem;
}

.blog-post .blog-meta {
  margin-bottom: 2rem;
  font-size: 0.85rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.blog-post-content {
  font-size: 1.03rem;
  color: var(--text-2);
  line-height: 1.8;
}

.blog-post-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.2rem 0 0.8rem;
}

.blog-post-content p {
  margin-bottom: 1.15rem;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 1.2rem;
  padding-left: 1.4rem;
}

.blog-post-content li {
  margin-bottom: 0.45rem;
  color: var(--text-2);
}

.blog-post-content strong {
  color: var(--text);
}

.blog-post-content a {
  color: var(--brand-light);
}

.blog-nav {
  margin: 2.5rem 0 1.5rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 30px) scale(1.12); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 28px rgba(245, 158, 11, 0.32); }
  50% { box-shadow: 0 8px 44px rgba(245, 158, 11, 0.55); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Reveal on scroll (classes added by JS only — content visible without JS) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.35s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.45s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.55s; }

/* Hero entrance */
.hero .eyebrow {
  animation: fadeInDown 0.7s ease both;
}

.hero h1 {
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero .lead {
  animation: fadeInUp 0.8s ease 0.25s both;
}

.hero-actions {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-chips {
  animation: fadeInUp 0.8s ease 0.55s both;
}

.hero-visual {
  animation: scaleIn 0.9s ease 0.3s both;
}

.hp-badge-1 {
  animation: float 5s ease-in-out infinite, fadeInUp 0.7s ease 0.9s both;
}

.hp-badge-2 {
  animation: float 5s ease-in-out 1.4s infinite, fadeInUp 0.7s ease 1.1s both;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-chips {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 6, 22, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 0.25rem;
  }

  .nav.open {
    display: flex;
  }

  .nav > a,
  .nav-dropbtn {
    text-align: left;
    width: 100%;
  }

  .nav > a::after {
    display: none;
  }

  .nav-dropdown-content {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    background: transparent;
    min-width: 0;
  }

  .nav-dropdown:hover .nav-dropdown-content {
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-content {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .legal-page .header-cta {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
    margin-left: auto;
  }

  .producto-card {
    grid-template-columns: 1fr;
  }

  .producto-right {
    border-left: none;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .plan-highlight,
  .plan-highlight:hover {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hp-badge-1 {
    right: 0;
  }

  .hp-badge-2 {
    left: 0;
  }
}

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

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hp-badge {
    display: none;
  }
}

/* ============================================================
   ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
