/* ────────────────────────────────────────────
   Variables
──────────────────────────────────────────── */
:root {
  --bg:       #060010;
  --bg2:      #0c001e;
  --purple:   #6b21a8;
  --violet:   #8b5cf6;
  --lavender: #c4b5fd;
  --white:    #f8f4ff;
  --muted:    #9d8fc0;     /* levemente más claro para mejor legibilidad */
  --card:     #0f0020;
  --border:   #1e0840;
}

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

html { scroll-behavior: smooth; }

/* ────────────────────────────────────────────
   Body
──────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ────────────────────────────────────────────
   Canvas meteors
──────────────────────────────────────────── */
#meteors {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  opacity: 0.65;
}

/* ────────────────────────────────────────────
   Dot pattern texture
──────────────────────────────────────────── */
.dot-pattern {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, #3d108025 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
}

/* ────────────────────────────────────────────
   Cursor glow (desktop)
──────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  pointer-events: none; z-index: 9999;
  background: radial-gradient(circle, #8b5cf610 0%, transparent 65%);
  transform: translate(-50%, -50%);
  transition: left 0.06s linear, top 0.06s linear;
  mix-blend-mode: screen;
}

/* ────────────────────────────────────────────
   Aurora orbs
──────────────────────────────────────────── */
.orb {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 0;
  filter: blur(80px);
}
.orb1 {
  width: 700px; height: 700px;
  top: -250px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, #6b21a850 0%, transparent 70%);
  animation: drift1 14s ease-in-out infinite;
}
.orb2 {
  width: 450px; height: 450px;
  bottom: -120px; right: -120px;
  background: radial-gradient(circle, #8b5cf628 0%, transparent 70%);
  animation: drift2 18s ease-in-out infinite;
}
.orb3 {
  width: 350px; height: 350px;
  top: 40%; left: -120px;
  background: radial-gradient(circle, #4c1d9528 0%, transparent 70%);
  animation: drift1 11s ease-in-out infinite reverse;
}
@keyframes drift1 {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.6; }
  50%       { transform: translateX(-50%) scale(1.18); opacity: 1;   }
}
@keyframes drift2 {
  0%, 100% { transform: scale(1)   translate(0,0);         opacity: 0.4; }
  50%       { transform: scale(1.2) translate(-20px,-20px); opacity: 0.85; }
}

/* ────────────────────────────────────────────
   Grid background
──────────────────────────────────────────── */
.grid-bg {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ────────────────────────────────────────────
   Header — logo centrado, grande
──────────────────────────────────────────── */
header {
  position: relative;
  padding: 28px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  display: block;
  width: auto;
  max-width: min(400px, 94vw);
  height: auto;
  max-height: clamp(85px, 43vw, 201px);
  object-fit: contain;
}

/* ────────────────────────────────────────────
   WhatsApp botón flotante
──────────────────────────────────────────── */
.btn-whatsapp {
  position: fixed;
  bottom: 24px; right: 20px;
  z-index: 998;
  display: flex; align-items: center; gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 13px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform 0.25s, box-shadow 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(37,211,102,0.55);
}
.wsp-label {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* ────────────────────────────────────────────
   Shimmer button
──────────────────────────────────────────── */
.btn-shimmer {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #6b21a8, #8b5cf6);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  text-decoration: none; border: none;
  border-radius: 14px; cursor: pointer;
  letter-spacing: 0.1px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 28px #6b21a840;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn-shimmer::after {
  content: "";
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: shimmerSweep 3.5s ease-in-out infinite;
}
@keyframes shimmerSweep {
  0%   { left: -80%; }
  100% { left: 180%; }
}
.btn-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px #6b21a860;
}

.btn-hero {
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 14px;
  width: 100%;
  max-width: 380px;
}
.btn-cta-full {
  width: 100%;
  font-size: 15px;
  padding: 17px 24px;
  border-radius: 14px;
}

/* ────────────────────────────────────────────
   Layout wrap
──────────────────────────────────────────── */
.wrap {
  position: relative; z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ────────────────────────────────────────────
   Hero
──────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 20px 0 44px;
  position: relative; z-index: 1;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #1a0035, #2d0060);
  border: 1px solid #3d1080;
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lavender);
  animation: slideDown 0.8s ease forwards;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  animation: blink 2s infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.hero h1 {
  font-family: "Exo 2", "Space Grotesk", sans-serif;
  font-size: clamp(30px, 8vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  animation: slideUp 0.9s ease forwards;
}
.hero h1 .gr {
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6, #6b21a8, #8b5cf6, #c4b5fd);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

.typewriter-wrap {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
  min-height: 1.6em;
  font-weight: 500;
}
.typewriter-text {
  color: var(--lavender);
  font-weight: 700;
  border-right: 2px solid var(--violet);
  padding-right: 3px;
  animation: blinkCursor 0.75s step-end infinite;
}
@keyframes blinkCursor {
  0%, 100% { border-color: var(--violet); }
  50%       { border-color: transparent; }
}

.hero-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
  animation: slideUp 1s ease forwards;
}

.hero-cta-wrap {
  margin-top: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: slideUp 1.1s ease forwards;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ────────────────────────────────────────────
   Selector de rubro
──────────────────────────────────────────── */
#selector {
  padding: 0 0 56px;
  position: relative; z-index: 1;
}
.sel-label {
  text-align: center;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.rubros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rubro-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  text-align: center;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.rubro-btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #6b21a800, #8b5cf600);
  transition: all 0.3s;
}
.rubro-btn:hover, .rubro-btn:focus {
  border-color: #6b21a8;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px #6b21a835, 0 0 0 1px #6b21a830;
  outline: none;
}
.rubro-btn:hover::before {
  background: linear-gradient(135deg, #6b21a812, #8b5cf608);
}
.rubro-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  margin: 0 auto 10px;
  color: var(--lavender);
  transition: transform 0.3s, color 0.3s;
}
.rubro-btn:hover .rubro-icon { transform: scale(1.18); color: var(--white); }
.rubro-name { position: relative; z-index: 1; }

/* ────────────────────────────────────────────
   Contenido dinámico
──────────────────────────────────────────── */
#content {
  display: none;
  padding: 0 0 100px;
  position: relative; z-index: 1;
}

.rubro-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.rubro-icon-lg {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a0035, #2d0060);
  border: 1px solid #3d1080;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  color: var(--lavender);
}
.rubro-info-name {
  font-family: "Exo 2", "Space Grotesk", sans-serif;
  font-size: 18px; font-weight: 800;
  margin-bottom: 2px;
}
.rubro-info-sub {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.rubro-valor {
  font-size: 14px;
  line-height: 1.7;
  color: #cfc3ee;
  margin: 0 0 24px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-left: 3px solid var(--violet);
}

/* ── Section label ── */
.section-label {
  font-size: 10px; font-weight: 700;
  color: var(--violet);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  margin-top: 32px;
  display: flex; align-items: center; gap: 10px;
}
.section-label:first-child { margin-top: 0; }
.section-label::after {
  content: ""; flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #3d1080, transparent);
}

/* ────────────────────────────────────────────
   Métricas
──────────────────────────────────────────── */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}
.metric-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 8px 18px;
  text-align: center;
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px #6b21a828;
  border-color: #3d1080;
}
.metric-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--violet), var(--lavender));
}
.metric-num {
  font-family: "Exo 2", "Space Grotesk", sans-serif;
  font-size: 30px; font-weight: 900;
  background: linear-gradient(135deg, #ffffff 20%, var(--lavender) 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; line-height: 1; margin-bottom: 6px;
  letter-spacing: -1px;
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500; line-height: 1.4;
}

/* ────────────────────────────────────────────
   Caso de éxito — shine border
──────────────────────────────────────────── */
.case-card-outer {
  background: linear-gradient(135deg, #6b21a8, #8b5cf6, #c4b5fd, #8b5cf6, #6b21a8);
  background-size: 400% 400%;
  animation: shineBorder 6s ease infinite;
  border-radius: 22px;
  padding: 1px;
  margin-bottom: 32px;
}
@keyframes shineBorder {
  0%   { background-position: 0%   0%;   }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0%   0%;   }
}
.case-card {
  background: linear-gradient(135deg, #130028, #0c001e);
  border-radius: 21px;
  padding: 24px;
  position: relative; overflow: hidden;
}
.case-card::after {
  content: '"';
  position: absolute; top: -20px; right: 14px;
  font-size: 120px; line-height: 1;
  color: #3d108020;
  font-family: "Syne", sans-serif;
}

/* Avatar */
.case-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.avatar-wrap {
  position: relative; width: 52px; height: 52px; flex-shrink: 0;
}
.avatar-img {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  object-fit: cover; display: block;
  background: linear-gradient(135deg, #1a0035, #2d0060);
}
.avatar-fallback {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  background: linear-gradient(135deg, #1a0035, #2d0060);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.avatar-badge {
  position: absolute; bottom: 1px; right: 1px;
  width: 18px; height: 18px;
  background: var(--violet); border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; color: #fff; line-height: 1;
}
.case-meta { display: flex; flex-direction: column; gap: 3px; }
.case-origen {
  font-size: 13px; font-weight: 700;
  color: var(--lavender);
}
.case-verified {
  font-size: 11px; font-weight: 500;
  color: var(--muted);
}
.case-text {
  font-size: 15px; line-height: 1.75;
  color: #d0c4ee;
  margin-bottom: 18px;
  position: relative; z-index: 1;
  font-style: italic;
}
.case-result {
  display: flex; align-items: flex-start; gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #1e0045 0%, #0f0020 100%);
  border: 1px solid #6b21a870;
  border-left: 3px solid var(--violet);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--lavender);
  line-height: 1.5;
}
.case-result strong { color: var(--white); }
.case-result-icon {
  font-size: 15px; flex-shrink: 0; margin-top: 1px;
  color: var(--violet);
}

/* ────────────────────────────────────────────
   Features
──────────────────────────────────────────── */
.features-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 36px;
}
.features-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 14px;
  color: #cfc3ee;
  font-weight: 400; line-height: 1.5;
  transition: border-color 0.25s, transform 0.25s;
}
.features-list li:hover {
  border-color: #3d1080;
  transform: translateX(3px);
}
.feat-icon {
  width: 32px; height: 32px;
  border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, #1a0035, #2d0060);
  border: 1px solid #3d1080;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--lavender);
}

/* ────────────────────────────────────────────
   CTA block
──────────────────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, #1a0035 0%, #0c001e 100%);
  border: 1px solid #3d1080;
  border-radius: 22px;
  padding: 36px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, #6b21a822 0%, transparent 70%);
  pointer-events: none;
}
.cta-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 10px; display: block;
}
.cta-block h3 {
  font-family: "Exo 2", "Space Grotesk", sans-serif;
  font-size: clamp(19px, 5vw, 25px);
  font-weight: 800;
  margin-bottom: 10px; line-height: 1.25;
  position: relative; z-index: 1;
}
.cta-block p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
  position: relative; z-index: 1;
}

.btn-ghost {
  display: block; text-align: center;
  margin-top: 14px; padding: 10px;
  color: var(--muted);
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  position: relative; z-index: 1;
}
.btn-ghost:hover { color: var(--lavender); }

/* ────────────────────────────────────────────
   Misc
──────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 28px 0;
}
.change-wrap { text-align: center; margin-top: 24px; }
.change-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1px;
  padding: 9px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.change-btn:hover { border-color: #6b21a8; color: var(--lavender); }

/* ────────────────────────────────────────────
   Footer
──────────────────────────────────────────── */
footer {
  position: relative; z-index: 1;
  padding: 24px 20px 48px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  max-width: 640px; margin: 0 auto;
}
.logo-footer {
  width: auto;
  max-width: min(380px, 85vw);
  height: auto;
  max-height: clamp(90px, 30vw, 160px);
  object-fit: contain;
  opacity: 0.9;
}
.footer-tag {
  color: var(--muted);
  font-size: 13px; font-weight: 400;
}
.footer-links {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; flex-wrap: wrap; justify-content: center;
  color: var(--muted);
}
.footer-links a {
  color: var(--lavender); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ────────────────────────────────────────────
   Animaciones
──────────────────────────────────────────── */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  animation: slideUp 0.55s cubic-bezier(0.4,0,0.2,1) 0.05s forwards;
}
.stagger > * {
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
}
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.12s; }
.stagger > *:nth-child(3) { animation-delay: 0.19s; }
.stagger > *:nth-child(4) { animation-delay: 0.26s; }
.stagger > *:nth-child(5) { animation-delay: 0.33s; }
.stagger > *:nth-child(6) { animation-delay: 0.40s; }

/* ────────────────────────────────────────────
   Toast de actividad
──────────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px; left: 20px;
  z-index: 997;
  display: flex; flex-direction: column-reverse; gap: 8px;
  pointer-events: none;
}
.toast-notification {
  display: flex; align-items: center; gap: 10px;
  background: rgba(15, 0, 32, 0.94);
  border: 1px solid #3d1080;
  border-left: 3px solid var(--violet);
  border-radius: 14px;
  padding: 11px 14px;
  max-width: 270px;
  width: max-content;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(107,33,168,0.32), 0 2px 8px rgba(0,0,0,0.45);
  pointer-events: auto;
  transform: translateX(-115%);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.34,1.4,0.64,1), opacity 0.4s ease;
}
.toast-notification.toast-visible {
  transform: translateX(0);
  opacity: 1;
}
.toast-notification.toast-exit {
  transform: translateX(-115%);
  opacity: 0;
  transition: transform 0.35s ease-in, opacity 0.3s ease-in;
}
.toast-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a0035, #2d0060);
  border: 1px solid #3d1080;
  display: flex; align-items: center; justify-content: center;
  color: var(--violet); flex-shrink: 0;
}
.toast-body {
  display: flex; flex-direction: column; gap: 1px;
}
.toast-name {
  font-size: 12px; font-weight: 700;
  color: var(--white); line-height: 1.3;
  font-family: "Inter", sans-serif;
}
.toast-action {
  font-size: 11px; color: var(--muted); line-height: 1.3;
  font-family: "Inter", sans-serif;
}
.toast-time {
  font-size: 10px; font-weight: 600;
  color: var(--violet); white-space: nowrap;
  align-self: flex-start; padding-top: 1px;
  font-family: "Inter", sans-serif;
  margin-left: 4px;
}
@media (max-width: 400px) {
  #toast-container { bottom: 20px; left: 14px; }
  .toast-notification { max-width: calc(100vw - 76px); }
}

/* ────────────────────────────────────────────
   Scrollbar
──────────────────────────────────────────── */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 4px; }

/* ────────────────────────────────────────────
   Mobile — pantallas pequeñas (< 400px)
──────────────────────────────────────────── */
@media (max-width: 400px) {
  header { padding: 20px 16px 8px; }
  header.scrolled { padding: 12px 16px; }

  .hero { padding: 14px 0 36px; }
  .hero h1 { font-size: clamp(26px, 13vw, 43px); }
  .hero-sub { font-size: 13px; }
  .typewriter-wrap { font-size: 14px; margin-bottom: 10px; }
  .typewriter-text { font-size: 14px; }

  .badge { font-size: 10px; padding: 6px 13px; letter-spacing: 1px; }

  .metrics { gap: 6px; }
  .metric-num { font-size: 22px; }
  .metric-label { font-size: 10px; }
  .metric-card { padding: 14px 6px; }

  .rubro-btn { padding: 16px 10px; font-size: 13px; }
  .rubro-icon { width: 28px; height: 28px; }

  .case-card { padding: 18px 16px; }
  .case-text { font-size: 14px; }

  .features-list li { padding: 11px 12px; font-size: 13px; gap: 10px; }

  .cta-block { padding: 28px 18px; }
  .cta-block h3 { font-size: 18px; }

  .btn-hero { font-size: 14px; padding: 14px 20px; }
  .btn-cta-full { font-size: 14px; padding: 15px 18px; }

  .wsp-label { display: none; }
  .btn-whatsapp { padding: 13px; border-radius: 50%; bottom: 20px; right: 16px; }

  .rubro-info-name { font-size: 16px; }
  .rubro-valor { font-size: 13px; }
}

/* ────────────────────────────────────────────
   Mobile mediano (400px – 520px)
──────────────────────────────────────────── */
@media (min-width: 401px) and (max-width: 520px) {
  .hero h1 { font-size: clamp(28px, 8.5vw, 38px); }
  .metric-num { font-size: 24px; }
  .btn-hero { font-size: 15px; }
  .wsp-label { display: none; }
  .btn-whatsapp { padding: 13px; border-radius: 50%; }
  .typewriter-wrap { font-size: 15px; }
}

/* ────────────────────────────────────────────
   Tablet y desktop
──────────────────────────────────────────── */
@media (min-width: 521px) {
  .wrap { padding: 0 28px; }
  #content { padding: 0 0 100px; }
  .rubros-grid { gap: 12px; }
}

@media (min-width: 768px) {
  .hero h1 { font-size: clamp(40px, 6vw, 54px); }
  .hero-sub { font-size: 17px; }
  .metric-num { font-size: 28px; }
  .features-list li { font-size: 15px; }
  .rubro-btn { padding: 24px 16px; }
}
