/* AuraWorks — Shared design system con Aura Core */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --aw-bg: #04060f;
  --aw-bg-2: #070a1a;
  --aw-bg-3: #0b1028;
  --aw-surface: #0d1330;
  --aw-surface-2: #141b40;
  --aw-glass: rgba(13, 19, 48, 0.55);
  --aw-border: rgba(123, 47, 255, 0.22);
  --aw-border-2: rgba(0, 180, 255, 0.16);
  --aw-border-soft: rgba(255, 255, 255, 0.07);

  --aw-purple: #8b3fff;
  --aw-violet: #a855f7;
  --aw-blue: #18b6ff;
  --aw-cyan: #22d3ee;
  --aw-gold: #f5b942;

  --aw-ink: #f4f2ff;
  --aw-muted: rgba(232, 237, 255, 0.72);
  --aw-muted-2: rgba(232, 237, 255, 0.52);

  --aw-gradient: linear-gradient(135deg, #8b3fff 0%, #18b6ff 100%);
  --aw-gradient-aurora: linear-gradient(120deg, #8b3fff 0%, #a855f7 35%, #18b6ff 70%, #22d3ee 100%);

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--aw-bg);
}

/* Transparente para dejar ver el canvas FX (auraworks-fx.js, z-index 0);
   position+z-index lo mantienen por encima del canvas en el orden de pintado. */
.aw-shell {
  background: transparent;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  color: var(--aw-ink);
  font-family: var(--font-body);
}

.aw-shell h1, .aw-shell h2, .aw-shell h3, .aw-shell b, .aw-shell strong {
  font-family: var(--font-head);
}

.aw-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOPBAR */
.aw-topbar {
  background: rgba(4, 6, 15, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--aw-border-soft);
  position: sticky;
  top: 0;
  z-index: 40;
}

.aw-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.aw-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aw-orb-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: aw-orb-glow 6s ease-in-out infinite;
}

@keyframes aw-orb-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(139, 63, 255, 0.3)); }
  50% { filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.4)); }
}

.aw-brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.aw-brand-txt b {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--aw-gradient-aurora);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aw-gradient-shift 6s ease infinite;
}

.aw-brand-txt span {
  font-size: 0.7rem;
  color: var(--aw-muted);
}

@keyframes aw-gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.aw-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.aw-nav-links a {
  font-size: 0.9rem;
  color: var(--aw-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.aw-nav-links a:hover {
  color: var(--aw-ink);
}

.aw-badge-beta {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--aw-cyan);
  border: 1px solid rgba(0, 212, 255, 0.35);
}

/* HERO */
.aw-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.aw-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.aw-hero p {
  font-size: 1.05rem;
  color: var(--aw-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.aw-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.aw-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  background: var(--aw-gradient);
  color: #04060f;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 10px 30px -8px rgba(139, 63, 255, 0.45);
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}

.aw-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -8px rgba(139, 63, 255, 0.55);
}

.aw-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  border: 1px solid var(--aw-border);
  background: transparent;
  color: var(--aw-ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--font-head);
}

.aw-cta-secondary:hover {
  border-color: var(--aw-purple);
  color: var(--aw-cyan);
}

.aw-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  max-width: 480px;
  margin: 0 auto;
}

.aw-stat b {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.aw-stat span {
  display: block;
  font-size: 0.84rem;
  color: var(--aw-muted);
}

/* RUBRO FORM */
.aw-rubro-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 16px;
  flex-wrap: wrap;
}

.aw-rubro-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--aw-border);
  background: var(--aw-surface);
  color: var(--aw-ink);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.aw-rubro-form input:focus {
  border-color: var(--aw-purple);
  box-shadow: 0 0 0 3px rgba(139, 63, 255, 0.15);
}

.aw-rubro-form input::placeholder {
  color: var(--aw-muted-2);
}

.aw-rubro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.aw-rubro-chip {
  font-size: 0.78rem;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--aw-border);
  background: transparent;
  color: var(--aw-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.aw-rubro-chip:hover {
  border-color: var(--aw-cyan);
  color: var(--aw-ink);
  background: rgba(34, 211, 238, 0.06);
}

/* MATCH SECTION */
.aw-match {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  position: relative;
  z-index: 2;
}

.aw-match-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.aw-match-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--aw-cyan);
}

.aw-match-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  flex: 1;
}

.aw-match-clear {
  font-size: 0.82rem;
  color: var(--aw-muted);
  background: transparent;
  border: 1px solid var(--aw-border);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.aw-match-clear:hover {
  color: var(--aw-ink);
  border-color: var(--aw-purple);
}

.aw-no-match-card {
  text-align: center;
  border: 1px dashed var(--aw-border);
  border-radius: 20px;
  padding: 40px 28px;
  background: var(--aw-surface);
}

.aw-no-match-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.aw-no-match-card p {
  color: var(--aw-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* CUSTOM CTA */
.aw-custom-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 50px;
  position: relative;
  z-index: 2;
}

.aw-custom-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(139, 63, 255, 0.06));
  border: 1px solid var(--aw-border-2);
  border-radius: 18px;
  padding: 24px 28px;
}

.aw-custom-cta-text b {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.aw-custom-cta-text span {
  font-size: 0.86rem;
  color: var(--aw-muted);
}

.aw-demos-subtitle {
  color: var(--aw-muted);
  font-size: 0.9rem;
  margin: -20px 0 28px;
}

/* 3 CAPAS */
.aw-capas {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

.aw-capas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.aw-capa-card {
  background: linear-gradient(165deg, var(--aw-surface), #1a160f);
  border: 1px solid var(--aw-border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.aw-capa-card:hover {
  transform: translateY(-4px);
}

.aw-capa-card[data-accent="purple"] {
  border-color: rgba(139, 63, 255, 0.3);
  box-shadow: 0 0 30px -10px rgba(139, 63, 255, 0.25);
}

.aw-capa-card[data-accent="cyan"] {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 30px -10px rgba(34, 211, 238, 0.25);
}

.aw-capa-card[data-accent="violet"] {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 30px -10px rgba(168, 85, 247, 0.25);
}

.aw-capa-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.aw-capa-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.aw-capa-card p {
  font-size: 0.92rem;
  color: var(--aw-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.aw-capa-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--aw-cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}

.aw-capa-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* DEMOS GRID */
.aw-demos {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

.aw-demos h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.aw-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.aw-filter {
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--aw-border);
  background: transparent;
  color: var(--aw-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  font-weight: 600;
}

.aw-filter:hover {
  border-color: var(--aw-purple);
  color: var(--aw-ink);
}

.aw-filter.active {
  background: var(--aw-gradient);
  border-color: var(--aw-purple);
  color: #04060f;
}

.aw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.aw-card {
  position: relative;
  background: linear-gradient(165deg, var(--aw-surface), #1a160f);
  border: 1px solid var(--aw-border-soft);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aw-card:hover {
  transform: translateY(-6px);
  border-color: var(--aw-cyan);
  box-shadow: 0 20px 50px -20px rgba(34, 211, 238, 0.3);
}

.aw-card-concepto {
  border-style: dashed;
  opacity: 0.88;
}

.aw-card-concepto:hover {
  border-color: var(--aw-gold);
  box-shadow: 0 20px 50px -20px rgba(245, 185, 66, 0.25);
}

.aw-badge-concepto {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 185, 66, 0.12);
  color: var(--aw-gold);
  border: 1px solid rgba(245, 185, 66, 0.35);
}

.aw-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 63, 255, 0.16), rgba(24, 182, 255, 0.1));
  border: 1px solid rgba(139, 63, 255, 0.25);
}

.aw-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--aw-violet, #8b3fff);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aw-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--aw-cyan);
}

.aw-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.aw-card p {
  font-size: 0.85rem;
  color: var(--aw-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.aw-card-footer {
  font-size: 0.8rem;
  color: var(--aw-cyan);
  font-weight: 700;
  margin-top: auto;
}

/* PLAN TOTAL */
.aw-plan-total {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

.aw-plan-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(155deg, var(--aw-surface), #2a2114);
  border: 1px solid var(--aw-gold);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 20px 50px -18px rgba(245, 185, 66, 0.25);
  position: relative;
  overflow: hidden;
}

.aw-plan-card::before {
  content: "✨";
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 3.5rem;
  opacity: 0.08;
  pointer-events: none;
}

.aw-plan-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aw-gold);
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.aw-plan-card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.aw-plan-card p {
  font-size: 0.95rem;
  color: var(--aw-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.aw-plan-pricing {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.aw-plan-old {
  font-size: 0.9rem;
  color: var(--aw-muted);
  text-decoration: line-through;
}

.aw-plan-old small {
  font-size: 0.7rem;
  margin-left: 4px;
}

.aw-plan-new {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--aw-gold), #d4a944);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aw-plan-new small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--aw-muted);
  -webkit-text-fill-color: var(--aw-muted);
}

.aw-plan-save {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--aw-gold);
  background: rgba(245, 185, 66, 0.1);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(245, 185, 66, 0.3);
  display: inline-block;
}

.aw-plan-fineprint {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--aw-gold);
  text-align: center;
}

/* CTA BANNER */
.aw-cta-banner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.aw-cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.aw-cta-banner p {
  font-size: 1.05rem;
  color: var(--aw-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* FOOTER */
.aw-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 50px;
  border-top: 1px solid var(--aw-border);
  text-align: center;
  position: relative;
  z-index: 2;
}

.aw-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

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

.aw-footer-links a:hover {
  color: var(--aw-ink);
}

.aw-footer p {
  font-size: 0.86rem;
  color: var(--aw-muted);
  margin-bottom: 8px;
}

.aw-footer a {
  color: var(--aw-cyan);
  text-decoration: none;
  font-weight: 600;
}

.aw-footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .aw-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .aw-nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .aw-hero h1 {
    font-size: 1.8rem;
  }

  .aw-hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .aw-hero-ctas {
    flex-direction: column;
  }

  .aw-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .aw-plan-card {
    padding: 32px 24px;
  }

  .aw-plan-new {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .aw-container {
    padding: 0 16px;
  }

  .aw-hero {
    padding: 40px 16px 30px;
  }

  .aw-hero h1 {
    font-size: 1.5rem;
  }

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

  .aw-cta-primary, .aw-cta-secondary {
    width: 100%;
  }
}

/* ===== MOTION LAYER ===== */
/* Capa de motion premium. Solo AGREGA reglas: las sobreescrituras se hacen
   por orden/especificidad desde aquí, sin tocar las reglas originales.
   El JS (orquestador) aplicará .is-visible vía IntersectionObserver y
   seteará --mx / --my en las cards. */

html {
  scroll-behavior: smooth;
}

/* --- 1) Reveal al scroll --- */
.aw-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.aw-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Stagger para cards en grids */
.aw-reveal-d1 { transition-delay: 0.08s; }
.aw-reveal-d2 { transition-delay: 0.16s; }
.aw-reveal-d3 { transition-delay: 0.24s; }
.aw-reveal-d4 { transition-delay: 0.32s; }

/* --- 2) Hero cinematográfico --- */
@keyframes aw-hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.aw-hero h1 {
  background: var(--aw-gradient-aurora);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    aw-hero-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s backwards,
    aw-gradient-shift 7s ease infinite;
}

.aw-hero p {
  animation: aw-hero-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s backwards;
}

.aw-hero .aw-rubro-form {
  animation: aw-hero-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s backwards;
}

.aw-hero .aw-rubro-chips {
  animation: aw-hero-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.42s backwards;
}

.aw-hero .aw-hero-stats {
  animation: aw-hero-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.54s backwards;
}

/* --- 3) Cards con vida --- */
/* Solo transform / opacity / box-shadow / border-color: nada que cause reflow */
.aw-card,
.aw-capa-card {
  position: relative;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

/* Highlight radial que sigue el cursor (JS setea --mx / --my; fallback 50% / 0%) */
.aw-card::after,
.aw-capa-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 0%),
    rgba(139, 63, 255, 0.16),
    rgba(34, 211, 238, 0.08) 45%,
    transparent 70%
  );
}

.aw-card:hover::after,
.aw-capa-card:hover::after {
  opacity: 1;
}

.aw-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--aw-cyan);
  box-shadow: 0 22px 54px -20px rgba(34, 211, 238, 0.35);
}

.aw-capa-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 24px 52px -18px rgba(139, 63, 255, 0.32);
}

/* Re-afirmar el hover dorado de las cards concepto (quedaba pisado por el
   nuevo .aw-card:hover al ir después en el orden de cascada) */
.aw-card-concepto:hover {
  border-color: var(--aw-gold);
  box-shadow: 0 20px 50px -20px rgba(245, 185, 66, 0.25);
}

/* --- 4) Botones premium --- */
.aw-cta-primary {
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.aw-cta-primary:hover {
  transform: translateY(-2px) scale(1.03);
}

.aw-cta-primary:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.12s, 0.12s;
}

.aw-rubro-chip {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.25s ease;
}

.aw-rubro-chip:hover {
  transform: translateY(-1px);
}

.aw-rubro-chip:active {
  transform: translateY(0);
}

/* --- 5) Plan Total flotante --- */
@keyframes aw-plan-float {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 20px 50px -18px rgba(245, 185, 66, 0.25);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 28px 62px -16px rgba(245, 185, 66, 0.42);
  }
}

.aw-plan-card {
  animation: aw-plan-float 6s ease-in-out infinite;
}

/* --- 6) Performance y accesibilidad --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aw-reveal,
  .aw-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .aw-reveal-d1,
  .aw-reveal-d2,
  .aw-reveal-d3,
  .aw-reveal-d4 {
    transition-delay: 0s;
  }

  .aw-hero h1,
  .aw-hero p,
  .aw-hero .aw-rubro-form,
  .aw-hero .aw-rubro-chips,
  .aw-hero .aw-hero-stats,
  .aw-plan-card {
    animation: none;
  }

  .aw-card,
  .aw-capa-card,
  .aw-card::after,
  .aw-capa-card::after,
  .aw-cta-primary,
  .aw-rubro-chip {
    transition-duration: 0.01ms;
  }

  .aw-card:hover,
  .aw-capa-card:hover,
  .aw-cta-primary:hover,
  .aw-cta-primary:active,
  .aw-rubro-chip:hover {
    transform: none;
  }
}
