/* ed-Nova — dirección visual V2: SaaS deportivo premium */
:root {
  --color-primary: #087ef5;
  --color-primary-dark: #0068d7;
  --color-secondary: #35d3ff;
  --color-accent: #b7f43b;
  --color-accent-dark: #9fe521;
  --color-dark: #0d2035;
  --color-dark-deep: #061525;
  --color-text: #536579;
  --color-border: #dce8f2;
  --color-background: #f4f8fc;
  --font-heading: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
  --shadow-sm: 0 8px 24px rgba(13, 32, 53, 0.07);
  --shadow-md: 0 18px 48px rgba(13, 32, 53, 0.11);
  --shadow-lg: 0 34px 90px rgba(3, 18, 34, 0.22);
  --radius-lg: 22px;
  --radius-xl: 32px;
  --nav-h: 80px;
}

body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 { letter-spacing: -0.025em; }

.container-ed { max-width: 1240px; }

.section { position: relative; padding-block: clamp(72px, 8vw, 116px); }

.section-kicker {
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(8, 126, 245, 0.09);
  font-size: 0.75rem;
  letter-spacing: 0.11em;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.section-lead { font-size: clamp(1rem, 1.5vw, 1.16rem); }

/* Navegación */
.ed-nav {
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(213, 228, 240, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.ed-nav.is-scrolled { box-shadow: 0 10px 38px rgba(6, 21, 37, 0.09); }

.ed-brand__logo {
  width: 184px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.ed-nav__links { gap: 0.05rem; }
.ed-nav__links a { font-size: 0.875rem; font-weight: 600; }

.btn-ed {
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 12px;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: -0.005em;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}

.btn-ed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.28) 48%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .55s ease;
}

.btn-ed:hover::after { transform: translateX(130%); }
.btn-ed:hover { transform: translateY(-2px); }

.btn-ed--primary {
  background: linear-gradient(135deg, #168cff, #006ee6);
  box-shadow: 0 12px 30px rgba(8, 126, 245, 0.25);
}

.btn-ed--primary:hover { background: linear-gradient(135deg, #35a0ff, #0066d4); }

.btn-ed--secondary { background: rgba(255,255,255,.88); }

/* Hero */
.hero {
  min-height: min(850px, calc(100vh - var(--nav-h)));
  display: grid;
  align-items: center;
  padding-block: clamp(66px, 8vw, 112px) clamp(86px, 9vw, 126px);
  color: rgba(255,255,255,.78);
  background:
    radial-gradient(circle at 80% 18%, rgba(53, 211, 255, .20), transparent 25%),
    radial-gradient(circle at 52% 115%, rgba(8, 126, 245, .28), transparent 42%),
    linear-gradient(132deg, #061525 0%, #092847 55%, #073760 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  background: #fff;
  clip-path: polygon(0 74%, 32% 100%, 68% 72%, 100% 92%, 100% 100%, 0 100%);
}

.hero__grid { position: relative; z-index: 1; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(3rem, 6vw, 6rem); }

.hero__eyebrow {
  padding: .48rem .82rem;
  color: #aeeeff;
  background: rgba(53, 211, 255, .11);
  border: 1px solid rgba(53, 211, 255, .25);
  text-transform: none;
  letter-spacing: .02em;
}

.hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(183,244,59,.12);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.hero h1 {
  max-width: 10.5ch;
  color: #fff;
  font-size: clamp(2.75rem, 5.4vw, 5.15rem);
  line-height: .99;
  letter-spacing: -.065em;
  margin-bottom: 1.35rem;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(92deg, #42d7ff 0%, #89ebff 48%, #b7f43b 110%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero__support, .hero__micro { color: rgba(255,255,255,.6); }
.hero__ctas .btn-ed--secondary { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.hero__ctas .btn-ed--secondary:hover { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.13); }

.hero__visual { min-height: 520px; perspective: 1200px; }
.hero__glow { inset: 8% 2% auto; height: 74%; background: radial-gradient(circle, rgba(53,211,255,.34), transparent 68%); filter: blur(42px); }

.browser-frame--hero {
  position: absolute;
  width: 93%;
  top: 9%;
  right: 0;
  border-color: rgba(255,255,255,.24);
  border-radius: 20px;
  transform: rotateY(-5deg) rotateX(2deg);
  box-shadow: 0 42px 95px rgba(0, 9, 20, .48), 0 0 0 1px rgba(255,255,255,.08);
  animation: float-desktop 7s ease-in-out infinite;
}

.browser-frame--hero .browser-frame__bar { background: rgba(242,247,251,.96); }
.browser-frame__body--desktop { aspect-ratio: 16 / 9.2; overflow: hidden; min-height: 0; display: block; }
.browser-frame__body--desktop img { position: absolute; width: 103%; height: auto; max-width: none; left: -1.5%; top: -12%; object-fit: contain; }
.browser-frame__body--desktop .hero-dashboard-v8 { width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; object-position: center top; }

.phone-frame {
  position: absolute;
  margin: 0;
  padding: 8px;
  border-radius: 28px;
  background: #07111c;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 30px 65px rgba(0,0,0,.42);
  overflow: hidden;
}

.phone-frame--hero { width: 27%; left: 0; bottom: 0; z-index: 3; transform: rotate(-3deg); animation: float-phone 5.6s ease-in-out infinite; }
.phone-frame img { border-radius: 21px; width: 100%; }
.phone-frame__speaker { position: absolute; top: 13px; left: 50%; z-index: 2; width: 28%; height: 5px; border-radius: 99px; background: #101b25; transform: translateX(-50%); }

.hero-proof {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .72rem .88rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  color: rgba(255,255,255,.66);
  background: rgba(5,22,38,.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
  font-size: .7rem;
  line-height: 1.35;
}
.hero-proof i { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; color: var(--color-accent); background: rgba(183,244,59,.11); font-size: 1rem; }
.hero-proof strong { display: block; color: #fff; font-size: .78rem; }
.hero-proof--top { top: 0; right: 4%; transform: translate(var(--pointer-x, 0), var(--pointer-y, 0)); transition: transform .35s ease-out; }
.hero-proof--bottom { right: -1%; bottom: 5%; transform: translate(var(--pointer-x-neg, 0), var(--pointer-y-neg, 0)); transition: transform .35s ease-out; }

.hero-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(53,211,255,.16); pointer-events: none; }
.hero-orbit--one { width: 420px; height: 420px; right: 2%; top: 4%; animation: orbit 14s linear infinite; }
.hero-orbit--two { width: 260px; height: 260px; left: 9%; bottom: 2%; animation: orbit 11s linear infinite reverse; }

/* Bloque conectado */
.section--dark { background: linear-gradient(145deg, #071a2f, #0a3154 70%, #084775); }
.connected { margin-top: -1px; overflow: hidden; }
.connected::before { content: ""; position: absolute; width: 480px; height: 480px; right: -170px; top: -190px; border-radius: 50%; background: rgba(53,211,255,.08); }
.connected .section-head { text-align: center; }
.connected .section-title { margin-inline: auto; max-width: 18ch; }
.connected-grid { position: relative; gap: 1.4rem; }
.connected-grid::before { content: ""; position: absolute; left: 14%; right: 14%; top: 34px; height: 1px; background: linear-gradient(90deg, transparent, rgba(53,211,255,.7), transparent); }
.connected-card { position: relative; padding: 2rem 1.7rem; border-color: rgba(255,255,255,.13); background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035)); box-shadow: inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(8px); transition: transform .3s ease, border-color .3s ease; }
.connected-card::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 0 1rem; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 8px rgba(183,244,59,.1), 0 0 24px rgba(183,244,59,.55); }
.connected-card:hover { transform: translateY(-6px); border-color: rgba(53,211,255,.42); }
.connected-highlight { text-align: center; border-radius: 18px; }
.connected-close { margin-inline: auto; text-align: center; }

/* Beneficios editoriales */
.benefits { background: #fff; }
.benefit-row { margin-bottom: clamp(46px, 6vw, 76px); padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius-xl); }
.benefit-row:not(.benefit-row--muted) { background: linear-gradient(135deg, #fff, #f7fbff); border: 1px solid #e4eef6; }
.benefit-row--muted { background: linear-gradient(135deg, #edf7ff, #f7fbff); }
.benefit-visual { border-radius: 24px; border: 0; box-shadow: 0 24px 60px rgba(7, 37, 66, .16); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; }
.benefit-row:hover .benefit-visual { transform: translateY(-7px) rotate(.4deg); box-shadow: 0 32px 72px rgba(7, 37, 66, .21); }
.benefit-row__copy h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.benefit-featured { color: rgba(255,255,255,.78); border: 0; padding: clamp(2.2rem, 5vw, 4.5rem); background: radial-gradient(circle at 80% 0, rgba(53,211,255,.22), transparent 34%), linear-gradient(145deg, #071a2f, #0c3e68); overflow: hidden; }
.benefit-featured h3 { color: #fff; }
.benefit-featured .benefit-eyebrow { color: #6be0ff; }
.benefit-featured__highlight { color: #061525; background: var(--color-accent); }

/* Portales móviles */
.portal-spotlight { overflow: hidden; background: radial-gradient(circle at 85% 25%, rgba(53,211,255,.16), transparent 26%), linear-gradient(145deg, #eef8ff, #fff 72%); }
.portal-spotlight__grid { grid-template-columns: .86fr 1.14fr; gap: clamp(3rem, 7vw, 6rem); }
.portal-benefits { display: grid; gap: 1rem; margin: 1.8rem 0 2rem; }
.portal-benefits li { display: flex; gap: .8rem; align-items: flex-start; }
.portal-benefits i { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #064d89; background: var(--color-accent); font-weight: 700; }
.portal-benefits strong { color: var(--color-dark); }
.portal-devices { min-height: 590px; position: relative; perspective: 1200px; }
.portal-devices::before { content: ""; position: absolute; inset: 16% 7% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(8,126,245,.2), transparent 68%); filter: blur(24px); }
.portal-phone { position: absolute; margin: 0; width: 34%; padding: 7px; border: 1px solid rgba(7,26,47,.15); border-radius: 27px; background: #0a1725; box-shadow: 0 30px 70px rgba(7, 32, 56, .23); overflow: visible; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.portal-phone img { width: 100%; border-radius: 21px; }
.portal-phone__label { position: absolute; top: -16px; left: 50%; z-index: 2; transform: translateX(-50%); padding: .42rem .78rem; border-radius: 999px; color: #fff; background: #087ef5; box-shadow: 0 10px 25px rgba(8,126,245,.28); font-size: .74rem; font-weight: 700; }
.portal-phone--left { left: 2%; top: 13%; transform: rotate(-8deg) translateY(20px); }
.portal-phone--center { left: 33%; top: 2%; z-index: 2; }
.portal-phone--right { right: 2%; top: 13%; transform: rotate(8deg) translateY(20px); }
.portal-phone--left:hover { transform: rotate(-4deg) translateY(4px); z-index: 4; }
.portal-phone--center:hover { transform: translateY(-12px); }
.portal-phone--right:hover { transform: rotate(4deg) translateY(4px); z-index: 4; }

/* Funciones tipo bento */
#funciones { background: #071a2f; overflow: hidden; }
#funciones::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 14% 15%, rgba(8,126,245,.25), transparent 30%), radial-gradient(circle at 88% 92%, rgba(53,211,255,.12), transparent 26%); }
#funciones .container-ed { position: relative; }
#funciones .section-kicker { color: #8ee8ff; background: rgba(53,211,255,.1); }
#funciones .section-title { color: #fff; }
#funciones .section-lead { color: rgba(255,255,255,.66); }
.feature-grid { gap: 1rem; grid-auto-flow: dense; }
.feature-card { border-color: rgba(255,255,255,.1); background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); box-shadow: inset 0 1px rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.feature-card h3 { color: #fff; }
.feature-card p { color: rgba(255,255,255,.6); }
.feature-card__icon { color: #73e2ff; background: rgba(53,211,255,.12); }
.feature-card:hover { border-color: rgba(53,211,255,.38); box-shadow: 0 20px 45px rgba(0,0,0,.2); }
.feature-card:nth-child(4n+2) .feature-card__icon { color: #c9ff5e; background: rgba(183,244,59,.11); }
.feature-card:nth-child(4n+3) .feature-card__icon { color: #bfa0ff; background: rgba(157,103,255,.13); }
.feature-card:nth-child(5) { grid-column: span 2; background: linear-gradient(135deg, rgba(8,126,245,.28), rgba(53,211,255,.08)); }
.feature-card:nth-child(10) { grid-column: span 2; background: linear-gradient(135deg, rgba(183,244,59,.13), rgba(255,255,255,.04)); }

/* Planes */
.pricing { background: #f4f8fc; }
.pricing-grid { gap: 1.5rem; }
.plan-card { border: 1px solid #deebf4; border-radius: 26px; padding: 2rem 1.8rem; box-shadow: 0 14px 42px rgba(13,32,53,.07); overflow: hidden; }
.plan-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: #cbd9e4; }
.plan-card--featured { color: rgba(255,255,255,.76); border-color: transparent; background: radial-gradient(circle at 90% 0, rgba(53,211,255,.22), transparent 28%), linear-gradient(155deg, #071a2f, #0a3a62); box-shadow: 0 28px 68px rgba(7,26,47,.25); }
.plan-card--featured::before { background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent)); }
.plan-card--featured h3, .plan-card--featured .plan-card__currency, .plan-card--featured .plan-card__amount, .plan-card--featured .plan-card__usd, .plan-card--featured .plan-card__list li { color: #fff; }
.plan-card--featured .plan-card__desc, .plan-card--featured .plan-card__pitch { color: rgba(255,255,255,.68); }
.plan-card--featured .plan-card__capacity { color: #071a2f; background: var(--color-accent); }
.plan-card--featured .plan-card__divider { background: rgba(255,255,255,.15); }
.plan-card--featured .plan-card__list .bi-check-circle-fill { color: var(--color-accent); }
.plan-badge { top: 14px; right: 14px; left: auto; transform: none; color: #071a2f; background: var(--color-accent); }
.plan-card__name { font-size: 1.45rem; }
.plan-card__amount { font-size: clamp(2.7rem, 4vw, 3.55rem); }
.plan-card__capacity { width: fit-content; }
.plan-compare__scroll { border-radius: 22px; box-shadow: 0 16px 45px rgba(13,32,53,.08); }

/* FAQ, contacto y pie */
.faq .accordion-item { border-color: #dce8f2; border-radius: 16px !important; box-shadow: 0 8px 24px rgba(13,32,53,.04); }
.faq .accordion-button { font-family: var(--font-heading); padding: 1.25rem 1.35rem; }
.contact-box { border: 0; border-radius: 28px; padding: clamp(1.7rem, 4vw, 3rem); background: #fff; box-shadow: 0 20px 58px rgba(13,32,53,.1); }
.final-cta { text-align: center; background: radial-gradient(circle at 50% 120%, rgba(8,126,245,.5), transparent 45%), linear-gradient(140deg, #061525, #0a3154); }
.final-cta .section-title, .final-cta .section-lead { margin-inline: auto; }
.final-cta__actions { justify-content: center; }
.ed-footer { background: #04101c; }
.ed-brand__logo--footer { width: 245px; max-height: 70px; filter: brightness(0) invert(1); opacity: .96; }
.ed-footer__logo-center { display: flex; justify-content: center; padding-bottom: 1.65rem; }
.ed-footer__logo-center .ed-brand { display: inline-flex; margin: 0; }
.ed-footer__bottom { align-items: center; }

/* Movimiento */
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72); opacity: .7; } }
@keyframes float-desktop { 0%,100% { transform: rotateY(-5deg) rotateX(2deg) translateY(0); } 50% { transform: rotateY(-3deg) rotateX(1deg) translateY(-10px); } }
@keyframes float-phone { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-13px); } }
@keyframes orbit { to { transform: rotate(360deg); } }

.reveal[data-reveal-delay="1"] { transition-delay: .16s; }

@media (min-width: 992px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero__visual { min-height: 440px; }
  .hero-proof { display: none; }
  .portal-devices { min-height: 520px; }
}

@media (max-width: 991.98px) {
  :root { --nav-h: 72px; }
  .ed-brand__logo { width: 158px; max-height: 46px; }
  .hero { min-height: auto; }
  .hero__grid, .portal-spotlight__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 670px; text-align: center; margin-inline: auto; }
  .hero h1, .hero__lead, .hero__support { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__visual { width: min(760px, 100%); min-height: 500px; margin-inline: auto; }
  .connected-grid::before { display: none; }
  .feature-card:nth-child(5), .feature-card:nth-child(10) { grid-column: auto; }
  .portal-spotlight__copy { max-width: 720px; }
  .portal-devices { width: min(650px, 100%); margin-inline: auto; }
}

@media (max-width: 680px) {
  .section { padding-block: 64px; }
  .hero { padding-top: 54px; padding-bottom: 88px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.65rem); }
  .hero__lead { font-size: 1rem; }
  .hero__visual { min-height: 370px; margin-top: 1.5rem; }
  .browser-frame--hero { width: 96%; top: 7%; }
  .phone-frame--hero { width: 31%; }
  .hero-orbit, .hero-proof { display: none; }
  .benefit-row { padding: 1.2rem; border-radius: 22px; }
  .benefit-featured { padding: 1.5rem; }
  .portal-devices { min-height: 420px; }
  .portal-phone { width: 38%; }
  .portal-phone--left { left: 0; }
  .portal-phone--center { left: 31%; }
  .portal-phone--right { right: 0; }
  .portal-phone__label { font-size: .65rem; }
  .plan-card { padding: 1.75rem 1.3rem; }
}

@media (max-width: 480px) {
  .ed-brand__logo { width: 132px; }
  .ed-nav__actions .btn-ed--primary { display: none; }
  .hero__ctas { display: grid; }
  .hero__ctas .btn-ed { width: 100%; }
  .hero__visual { min-height: 300px; }
  .phone-frame--hero { width: 33%; left: -2%; }
  .portal-devices { min-height: 350px; }
  .portal-phone__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .browser-frame--hero, .phone-frame--hero, .hero__eyebrow-dot, .hero-orbit { animation: none !important; }
  .btn-ed:hover, .connected-card:hover, .benefit-row:hover .benefit-visual, .portal-phone:hover { transform: none; }
}

/* V2.1 — ajustes comerciales e interacción */
.btn-ed--whatsapp {
  color: #fff;
  border-color: #20b958;
  background: linear-gradient(135deg, #2bd66b, #169a49);
  box-shadow: 0 12px 28px rgba(32, 185, 88, .24);
}
.btn-ed--whatsapp:hover { color: #fff; border-color: #159246; background: linear-gradient(135deg, #32df72, #128a40); }

/* Tarjetas conectadas con imagen */
.connected-grid { align-items: stretch; }
.connected-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.connected-card::before { display: none; }
.connected-card__media { position: relative; margin: 0; aspect-ratio: 16 / 8.8; overflow: hidden; }
.connected-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,20,35,.6), transparent 62%); }
.connected-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.connected-card:nth-child(1) .connected-card__media img { object-position: 50% 35%; }
.connected-card:nth-child(2) .connected-card__media img { object-position: 28% 43%; }
.connected-card:nth-child(3) .connected-card__media img { object-position: 62% 44%; }
.connected-card:hover .connected-card__media img { transform: scale(1.055); }
.connected-card__body { position: relative; flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.connected-card__body::before { content: ""; position: absolute; width: 10px; height: 10px; left: 1.4rem; top: -5px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 6px rgba(183,244,59,.12), 0 0 18px rgba(183,244,59,.45); }

/* Composiciones con portales reales */
.benefit-composite { position: relative; isolation: isolate; }
.benefit-composite > img { aspect-ratio: 4 / 3; object-fit: cover; }
.benefit-device { position: absolute; z-index: 3; display: block; background: #07131f; border: 1px solid rgba(255,255,255,.62); box-shadow: 0 20px 48px rgba(1,13,26,.38); overflow: hidden; }
.benefit-device--phone { box-sizing: border-box; width: 33%; padding: 6px; border-radius: 23px; }
.benefit-device--phone::before { content: ""; position: absolute; z-index: 2; top: 8px; left: 50%; width: 31%; height: 4px; border-radius: 99px; background: #0c1722; transform: translateX(-50%); }
.benefit-device--phone img { border-radius: 14px; }
.benefit-device--right { right: 2.5%; bottom: 3%; transform: rotate(2deg); transition: transform .4s ease; }
.benefit-row:hover .benefit-device--right { transform: rotate(0) translateY(-5px); }
/* Explorador compacto de funcionalidades */
.feature-explorer { max-width: 1060px; margin-inline: auto; }
.feature-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; padding: .65rem; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.045); }
.feature-tab { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 0; border-radius: 12px; color: rgba(255,255,255,.63); background: transparent; font: 700 .91rem var(--font-body); cursor: pointer; transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease; }
.feature-tab:hover { color: #fff; background: rgba(255,255,255,.07); }
.feature-tab.is-active { color: #071a2f; background: var(--color-accent); box-shadow: 0 10px 28px rgba(130,194,16,.22); }
.feature-tab:focus-visible { outline: 3px solid rgba(53,211,255,.48); outline-offset: 2px; }
.feature-panels { margin-top: 1rem; }
.feature-panel { min-height: 360px; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.6rem); align-items: center; padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid rgba(255,255,255,.11); border-radius: 26px; background: radial-gradient(circle at 100% 0, rgba(53,211,255,.1), transparent 32%), linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035)); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 22px 55px rgba(0,0,0,.16); animation: feature-in .34s ease both; }
.feature-panel[hidden] { display: none !important; }
.feature-panel__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.2rem; border-radius: 17px; color: #071a2f; background: linear-gradient(135deg, var(--color-accent), #d8ff86); font-size: 1.45rem; box-shadow: 0 14px 30px rgba(143,202,26,.2); }
.feature-panel__eyebrow { margin: 0 0 .55rem; color: #70e1ff; font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.feature-panel__intro h3 { max-width: 13ch; margin-bottom: .8rem; color: #fff; font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.08; }
.feature-panel__intro > p:last-child { max-width: 43ch; margin: 0; color: rgba(255,255,255,.61); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.feature-list article { display: flex; gap: .8rem; min-height: 104px; padding: 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(4,18,31,.34); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.feature-list article:hover { transform: translateY(-3px); border-color: rgba(53,211,255,.35); background: rgba(8,126,245,.12); }
.feature-list article > i { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #76e4ff; background: rgba(53,211,255,.11); font-size: 1rem; }
.feature-list h4 { margin: 0 0 .25rem; color: #fff; font: 700 .92rem var(--font-heading); }
.feature-list p { margin: 0; color: rgba(255,255,255,.55); font-size: .8rem; line-height: 1.45; }
@keyframes feature-in { from { opacity: 0; transform: translateY(10px) scale(.992); } to { opacity: 1; transform: none; } }

/* Planes más compactos */
.plan-card__list { gap: .35rem; }
.plan-card__list li { line-height: 1.35; }

@media (max-width: 991.98px) {
  .feature-panel { grid-template-columns: 1fr; min-height: 0; }
  .feature-panel__intro h3 { max-width: 20ch; }
}

@media (max-width: 680px) {
  .connected-card__media { aspect-ratio: 16 / 8; }
  .feature-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .feature-tabs::-webkit-scrollbar { display: none; }
  .feature-tab { flex: 0 0 auto; padding-inline: 1rem; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-panel { padding: 1.25rem; }
  .feature-list article { min-height: 0; }
  .benefit-device--phone { width: 38%; }
}

/* V3 — accesos demo, cancha inmersiva y pantallas encuadradas */
.demo-access {
  margin-top: 1.35rem;
  padding: .85rem;
  border: 1px solid rgba(8,126,245,.16);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(8,126,245,.075), rgba(53,211,255,.035));
}

.demo-access__button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  color: #fff;
  padding: .62rem .85rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #168cff, #006ee6);
  box-shadow: 0 10px 22px rgba(8,126,245,.2);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.3;
  transition: transform .2s ease, box-shadow .2s ease;
}

.demo-access__button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(8,126,245,.28); }
.demo-access__credentials { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(100px, .7fr); gap: .55rem; }
.demo-access__credentials span { min-width: 0; padding: .55rem .65rem; border-radius: 10px; background: rgba(255,255,255,.78); }
.demo-access__credentials small { display: block; margin-bottom: .18rem; color: #657b91; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.demo-access__credentials strong { display: block; overflow-wrap: anywhere; color: #102d49; font-family: var(--font-body); font-size: .94rem; font-weight: 750; line-height: 1.35; }

/* Monitor real del bloque administrativo */
.benefit-device--desktop {
  right: 7.25%;
  top: 25.9%;
  width: 39.85%;
  aspect-ratio: 1.81;
  border-radius: 2px;
  transform: none;
}

.benefit-device--desktop img,
.connected-card__screen img {
  position: absolute;
  left: 0;
  top: -11.5%;
  width: 100%;
  max-width: none;
  height: 119%;
  object-fit: cover;
  object-position: 50% 44%;
}

/* Pantalla real dentro del monitor de la tarjeta En tu oficina */
.connected-card__screen {
  position: absolute;
  z-index: 2;
  right: 7.35%;
  top: 17.15%;
  width: 40.25%;
  aspect-ratio: 1.82;
  overflow: hidden;
  border-radius: 1px;
  background: #eef5fa;
}

/* Contacto a ras de cancha */
#contacto {
  isolation: isolate;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
  background: #071a2f;
}

#contacto::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../assets/images/fondo-cancha-contacto-v3.webp") center 58% / cover no-repeat;
  transform: scale(1.015);
}

#contacto::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,16,29,.9) 0%, rgba(5,27,47,.77) 42%, rgba(4,24,42,.28) 72%, rgba(3,17,29,.12) 100%);
}

#contacto .container-ed { position: relative; }
#contacto .section-head { max-width: 650px; margin-bottom: 1.6rem; }
#contacto .section-kicker { color: #9beaff; background: rgba(53,211,255,.14); }
#contacto .section-title { color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.28); }
#contacto .section-lead { color: rgba(255,255,255,.76); }
#contacto .contact-box { max-width: 720px; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.9); box-shadow: 0 28px 76px rgba(0,8,18,.34); backdrop-filter: blur(13px); }
.contact-demo { max-width: 520px; margin-top: 1.25rem; background: linear-gradient(135deg, rgba(8,126,245,.1), rgba(53,211,255,.07)); }

/* V5 — crecimiento comercial y captación */
.growth-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  grid-template-columns: .9fr 1.1fr;
  border: 1px solid rgba(86,219,255,.26);
  color: #fff;
  background: #061a2d;
  box-shadow: 0 30px 80px rgba(4,27,48,.2);
}

.growth-showcase::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -4%;
  background: url("../assets/images/crecimiento-academia-fondo-v5.webp") 47% center / cover no-repeat;
  animation: growth-drift 14s ease-in-out infinite alternate;
}

.growth-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,17,31,.97) 0%, rgba(5,34,58,.91) 41%, rgba(3,24,43,.57) 67%, rgba(3,17,31,.24) 100%);
}

.growth-showcase .benefit-row__copy { position: relative; z-index: 2; padding: clamp(.5rem, 2vw, 1.2rem); }
.growth-showcase .benefit-eyebrow { color: #8fe9ff; }
.growth-showcase .benefit-row__copy h3 { max-width: 11ch; color: #fff; font-size: clamp(2.15rem, 4vw, 3.65rem); line-height: .99; letter-spacing: -.045em; }
.growth-showcase .benefit-row__copy h3 span { display: block; margin-top: .18em; color: #b7f43b; }
.growth-showcase .benefit-row__copy > p:not(.benefit-eyebrow):not(.growth-callout) { max-width: 42ch; color: rgba(255,255,255,.72); font-size: 1.02rem; }

.growth-points { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.35rem 0 1.2rem; padding: 0; list-style: none; }
.growth-points li { display: inline-flex; align-items: center; gap: .45rem; padding: .58rem .72rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.9); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 700; }
.growth-points i { color: #b7f43b; }
.growth-callout { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .78rem .9rem; border-radius: 13px; color: #071a2f; background: linear-gradient(135deg, #c7ff54, #9de61c); box-shadow: 0 14px 35px rgba(157,230,28,.2); font-weight: 800; line-height: 1.35; }

.growth-visual { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 28px 70px rgba(0,8,18,.42); }
.growth-visual::before { content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; background: linear-gradient(115deg, transparent 22%, rgba(255,255,255,.2) 46%, transparent 65%); transform: translateX(-120%); animation: growth-shine 5.5s ease-in-out infinite; pointer-events: none; }
.growth-visual > img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: inherit; }
.growth-signal { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .7rem; padding: .72rem .85rem; border: 1px solid rgba(255,255,255,.32); border-radius: 15px; color: #fff; background: rgba(3,22,39,.84); box-shadow: 0 18px 40px rgba(0,8,18,.34); backdrop-filter: blur(12px); animation: growth-float 3.6s ease-in-out infinite; }
.growth-signal > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #071a2f; background: #b7f43b; font-size: 1.1rem; }
.growth-signal span { display: grid; }
.growth-signal strong { color: #fff; font: 750 .88rem var(--font-heading); }
.growth-signal small { color: rgba(255,255,255,.65); font-size: .72rem; }

@keyframes growth-drift { from { transform: scale(1.02) translate3d(-.5%, 0, 0); } to { transform: scale(1.075) translate3d(1.5%, -.5%, 0); } }
@keyframes growth-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes growth-shine { 0%,62% { transform: translateX(-120%); } 82%,100% { transform: translateX(120%); } }

@media (max-width: 991.98px) {
  .growth-showcase { min-height: 0; grid-template-columns: 1fr; }
  .growth-showcase::after { background: linear-gradient(180deg, rgba(3,17,31,.97) 0%, rgba(5,34,58,.88) 57%, rgba(3,17,31,.54) 100%); }
  .growth-showcase .benefit-row__copy h3 { max-width: 13ch; }
}

@media (max-width: 680px) {
  .demo-access__credentials { grid-template-columns: 1fr; }
  .demo-access__button { width: 100%; justify-content: center; text-align: center; }
  .benefit-device--desktop { right: 7.2%; top: 26%; width: 40%; }
  #contacto { min-height: 760px; }
  #contacto::before { background-position: 62% center; }
  #contacto::after { background: linear-gradient(180deg, rgba(3,16,29,.78), rgba(3,16,29,.66) 45%, rgba(3,16,29,.82)); }
  .ed-footer__bottom { justify-content: center; text-align: center; }
  .growth-showcase { min-height: 0; grid-template-columns: 1fr; padding: 1rem; }
  .growth-showcase::before { background-position: 64% center; }
  .growth-showcase::after { background: linear-gradient(180deg, rgba(3,17,31,.96) 0%, rgba(5,34,58,.86) 58%, rgba(3,17,31,.5) 100%); }
  .growth-showcase .benefit-row__copy { padding: .55rem .4rem 1rem; }
  .growth-showcase .benefit-row__copy h3 { max-width: 12ch; }
  .growth-points { gap: .45rem; }
  .growth-points li { width: 100%; justify-content: flex-start; }
  .growth-signal { right: .65rem; bottom: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .growth-showcase::before, .growth-visual::before, .growth-signal { animation: none !important; }
}

/* V6 — centro de control, portales ampliados y planes destacados */
.admin-control-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 2px solid rgba(8,126,245,.24);
  background: radial-gradient(circle at 92% 5%, rgba(53,211,255,.2), transparent 30%), linear-gradient(135deg, #edf7ff 0%, #f9fcff 56%, #e8f5ff 100%);
  box-shadow: 0 26px 70px rgba(8,82,145,.12);
}

.admin-control-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  right: -120px;
  top: -180px;
  border: 1px solid rgba(8,126,245,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(53,211,255,.045), 0 0 0 70px rgba(8,126,245,.035);
}

.admin-control-showcase .benefit-row__copy { position: relative; z-index: 2; }
.admin-control-showcase .benefit-visual { border: 1px solid rgba(8,126,245,.24); box-shadow: 0 26px 60px rgba(4,46,82,.2); }
.control-status { display: inline-flex; align-items: center; gap: .52rem; margin: 0 0 .8rem; padding: .48rem .7rem; border: 1px solid rgba(8,126,245,.16); border-radius: 999px; color: #15588d; background: rgba(255,255,255,.72); font-size: .76rem; font-weight: 800; letter-spacing: .025em; }
.control-status span { width: 9px; height: 9px; border-radius: 50%; background: #74cf10; box-shadow: 0 0 0 6px rgba(116,207,16,.13), 0 0 18px rgba(116,207,16,.45); animation: control-online 2.2s ease-in-out infinite; }
.demo-access--desktop { border-color: rgba(8,126,245,.24); background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(226,244,255,.8)); box-shadow: 0 16px 40px rgba(8,82,145,.1); }
.demo-access--desktop .demo-access__button { font-size: .9rem; }

.plan-card {
  border-width: 2px;
  border-color: #48b4ff;
  box-shadow: 0 18px 48px rgba(27,132,210,.13);
  transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease, border-color .32s ease;
}

.plan-card:nth-child(3) { border-color: #806eff; box-shadow: 0 18px 48px rgba(100,78,220,.13); }
.plan-card--featured { border: 2px solid #b7f43b; animation: plan-focus-pulse 4s ease-in-out infinite; }
.plan-card::after { content: ""; position: absolute; z-index: 0; top: -45%; bottom: -45%; left: -42%; width: 24%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent); opacity: 0; transform: rotate(18deg); transition: left .72s ease, opacity .22s ease; pointer-events: none; }
.plan-card > *:not(.plan-badge) { position: relative; z-index: 1; }
.plan-card .plan-badge { z-index: 2; }
.plan-card:hover { transform: translateY(-9px) scale(1.012); border-color: #087ef5; box-shadow: 0 28px 68px rgba(8,94,160,.2); }
.plan-card:nth-child(3):hover { border-color: #6148f5; box-shadow: 0 28px 68px rgba(86,62,210,.2); }
.plan-card--featured:hover { transform: translateY(-14px) scale(1.012); border-color: #d1ff72; box-shadow: 0 34px 78px rgba(7,26,47,.32); }
.plan-card:hover::after { left: 122%; opacity: .62; }

@keyframes control-online { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.78); opacity: .72; } }
@keyframes plan-focus-pulse { 0%,100% { box-shadow: 0 28px 68px rgba(7,26,47,.25), 0 0 0 0 rgba(183,244,59,0); } 50% { box-shadow: 0 30px 74px rgba(7,26,47,.3), 0 0 0 5px rgba(183,244,59,.1); } }

@media (max-width: 680px) {
  .admin-control-showcase { padding: 1rem; }
  .control-status { font-size: .72rem; }
  .demo-access--desktop .demo-access__button { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .control-status span, .plan-card--featured { animation: none !important; }
  .plan-card::after { display: none; }
}

/* V7 — autofinanciamiento, datos demo y capacidad de planes */
.demo-access__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .72rem;
  color: #0b4f85;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
}

.demo-access__title i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #087ef5, #12a8ee);
  box-shadow: 0 8px 20px rgba(8,126,245,.22);
}

.plan-card__monthly {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: .75rem 0 1rem;
  padding: .66rem .78rem;
  border: 1px solid rgba(8,126,245,.18);
  border-radius: 13px;
  color: #3f6079;
  background: linear-gradient(135deg, #f1f8ff, #fff);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.plan-card__monthly strong {
  color: #087ef5;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.plan-card--featured .plan-card__monthly {
  border-color: rgba(183,244,59,.28);
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.09);
}

.plan-card--featured .plan-card__monthly strong { color: #b7f43b; }
.plan-card__capacity { line-height: 1.35; }

.self-financing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1120px;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding: clamp(1.5rem, 4vw, 3.4rem);
  border: 1px solid rgba(80,220,255,.28);
  border-radius: 30px;
  color: #fff;
  background: radial-gradient(circle at 5% 8%, rgba(8,126,245,.42), transparent 35%), radial-gradient(circle at 95% 90%, rgba(183,244,59,.16), transparent 30%), linear-gradient(145deg, #05182a, #0a3456);
  box-shadow: 0 30px 80px rgba(6,35,59,.22);
}

.self-financing::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  right: -165px;
  top: -175px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(53,211,255,.035), 0 0 0 86px rgba(8,126,245,.025);
  animation: finance-orbit 10s ease-in-out infinite alternate;
}

.self-financing__intro { align-self: center; }
.self-financing__eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: #b7f43b; font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.self-financing__eyebrow {
  padding: .65rem .9rem;
  border: 1px solid rgba(183,244,59,.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(183,244,59,.18), rgba(53,211,255,.08));
  box-shadow: 0 0 0 6px rgba(183,244,59,.045), 0 14px 34px rgba(0,0,0,.18);
  animation: finance-title-glow 2.8s ease-in-out infinite;
}
.self-financing__intro h3 { max-width: 12ch; margin-bottom: 1rem; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; letter-spacing: -.04em; }
.self-financing__intro > p:not(.self-financing__eyebrow) { max-width: 43ch; color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.65; }
.self-financing__chips { display: flex; flex-wrap: wrap; gap: .48rem; margin-top: 1.3rem; }
.self-financing__chips span { padding: .48rem .7rem; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: rgba(255,255,255,.68); background: rgba(255,255,255,.06); font-size: .76rem; font-weight: 800; }
.self-financing__chips .is-active { border-color: #b7f43b; color: #071a2f; background: #b7f43b; box-shadow: 0 10px 26px rgba(183,244,59,.2); }

.self-financing__example {
  position: relative;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,8,18,.24);
  backdrop-filter: blur(12px);
}

.self-financing__label { margin: 0 0 1rem; color: #a9ddff; font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.finance-equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .6rem; align-items: center; }
.finance-equation__item { display: grid; justify-items: center; gap: .08rem; padding: .75rem .35rem; border-radius: 16px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.065); text-align: center; }
.finance-equation__item i { color: #63d7ff; font-size: 1.1rem; }
.finance-equation__item strong { color: #fff; font: 800 1.65rem var(--font-heading); line-height: 1; }
.finance-equation__item span { font-size: .74rem; }
.finance-equation__item--accent { border: 1px solid rgba(183,244,59,.45); background: rgba(183,244,59,.12); }
.finance-equation__item--accent strong, .finance-equation__item--accent span { color: #d4ff80; }
.finance-equation__operator { color: rgba(255,255,255,.42); font: 800 1.25rem var(--font-heading); }

.finance-result { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; margin-top: 1rem; padding: 1rem; border-radius: 18px; color: #071a2f; background: linear-gradient(135deg, #fff, #eaf8ff); box-shadow: 0 18px 40px rgba(0,10,20,.22); }
.finance-result > div { display: grid; }
.finance-result span { color: #527086; font-size: .72rem; font-weight: 750; }
.finance-result strong { color: #087ef5; font: 850 clamp(1.6rem, 3.5vw, 2.4rem) var(--font-heading); line-height: 1.05; letter-spacing: -.035em; }
.finance-result small { color: #527086; font-size: .72rem; font-weight: 700; }
.finance-result > i { color: #7ba2bc; font-size: 1.25rem; animation: finance-arrow 1.8s ease-in-out infinite; }
.finance-result__annual { padding-left: .3rem; }
.finance-result__annual strong { color: #4f9b00; }
.finance-result__annual strong { max-width: 15ch; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.12; }
.finance-impact { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.finance-impact span { display: inline-flex; align-items: center; gap: .42rem; color: rgba(255,255,255,.82); font-size: .76rem; font-weight: 750; }
.finance-impact i { color: #b7f43b; }
.self-financing__note { margin: 1rem 0 0; color: rgba(255,255,255,.46); font-size: .7rem; }

@keyframes finance-arrow { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes finance-orbit { from { transform: translate3d(0,0,0) scale(.96); } to { transform: translate3d(-24px,20px,0) scale(1.08); } }
@keyframes finance-title-glow { 0%,100% { box-shadow: 0 0 0 6px rgba(183,244,59,.04), 0 14px 34px rgba(0,0,0,.18); } 50% { box-shadow: 0 0 0 10px rgba(183,244,59,.09), 0 14px 38px rgba(183,244,59,.12); } }

@media (max-width: 860px) {
  .self-financing { grid-template-columns: 1fr; }
  .self-financing__intro h3 { max-width: 16ch; }
}

@media (max-width: 540px) {
  .self-financing { padding: 1rem; border-radius: 22px; }
  .self-financing__intro { padding: .5rem; }
  .finance-equation { gap: .3rem; }
  .finance-equation__item { padding: .62rem .25rem; }
  .finance-equation__operator { font-size: 1rem; }
  .finance-result { grid-template-columns: 1fr; text-align: center; }
  .finance-result > i { transform: rotate(90deg); animation: none; }
  .finance-impact { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .self-financing::before, .finance-result > i, .self-financing__eyebrow { animation: none !important; }
}

/* V8 — paquetes de usuarios */
.user-packages {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1120px;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #cfe5f5;
  border-radius: 30px;
  background: radial-gradient(circle at 92% 5%, rgba(53,211,255,.2), transparent 27%), linear-gradient(145deg, #fff 0%, #f1f9ff 58%, #ecf8ff 100%);
  box-shadow: 0 26px 70px rgba(8,82,145,.12);
}

.user-packages::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: -130px;
  top: -145px;
  border: 1px solid rgba(8,126,245,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(53,211,255,.04), 0 0 0 70px rgba(8,126,245,.03);
}

.user-packages__head { display: grid; grid-template-columns: .8fr 1.2fr; gap: .8rem clamp(2rem, 5vw, 5rem); align-items: end; }
.user-packages__eyebrow { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .5rem; width: fit-content; margin: 0; color: #087ef5; font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.user-packages__head h3 { margin: 0; color: #071a2f; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.04; letter-spacing: -.035em; }
.user-packages__head > p:not(.user-packages__eyebrow) { margin: 0; color: #526b80; font-size: 1rem; line-height: 1.65; }

.included-users { margin-top: 2rem; padding: 1.1rem; border: 1px solid rgba(8,126,245,.16); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 14px 34px rgba(8,82,145,.07); }
.included-users__title { margin: 0 0 .8rem; color: #45647b; font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.included-users__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.included-users__grid article { display: grid; grid-template-columns: 1fr auto; gap: .05rem .7rem; align-items: center; padding: .8rem .9rem; border: 1px solid #dcecf7; border-radius: 14px; background: #f8fcff; }
.included-users__grid span { color: #315a78; font-size: .78rem; font-weight: 800; }
.included-users__grid strong { grid-row: span 2; color: #087ef5; font: 850 1.55rem var(--font-heading); }
.included-users__grid small { color: #7890a2; font-size: .7rem; }
.included-users__grid .is-featured { border-color: rgba(183,244,59,.8); background: linear-gradient(135deg, #f8ffe9, #fff); box-shadow: 0 10px 24px rgba(125,180,20,.1); }
.included-users__grid .is-featured strong { color: #62a800; }

.user-packages__offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-top: 1.25rem; }
.user-package-card { position: relative; overflow: hidden; display: grid; justify-items: start; min-height: 190px; padding: 1.15rem; border: 2px solid #d8eaf6; border-radius: 19px; background: #fff; box-shadow: 0 12px 30px rgba(8,82,145,.08); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.user-package-card::after { content: ""; position: absolute; width: 100px; height: 100px; right: -55px; bottom: -55px; border-radius: 50%; background: rgba(8,126,245,.08); transition: transform .35s ease; }
.user-package-card > i { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: .8rem; border-radius: 12px; color: #087ef5; background: #eaf6ff; font-size: 1.08rem; }
.user-package-card > span:not(.user-package-card__badge) { color: #6c8496; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.user-package-card > strong { color: #071a2f; font: 850 1.7rem var(--font-heading); line-height: 1.1; }
.user-package-card > strong small { color: #536d80; font-size: .75rem; font-weight: 750; }
.user-package-card > p { margin: auto 0 0; color: #087ef5; font: 850 1.5rem var(--font-heading); }
.user-package-card:hover { transform: translateY(-7px); border-color: #48b4ff; box-shadow: 0 22px 46px rgba(8,105,175,.16); }
.user-package-card:hover::after { transform: scale(1.25); }
.user-package-card--featured { border-color: #b7f43b; background: linear-gradient(145deg, #071a2f, #0b3b61); box-shadow: 0 20px 45px rgba(7,26,47,.2); }
.user-package-card--featured > i { color: #071a2f; background: #b7f43b; }
.user-package-card--featured > span:not(.user-package-card__badge), .user-package-card--featured > strong small { color: rgba(255,255,255,.62); }
.user-package-card--featured > strong { color: #fff; }
.user-package-card--featured > p { color: #b7f43b; }
.user-package-card__badge { position: absolute; top: .75rem; right: .75rem; padding: .28rem .5rem; border-radius: 999px; color: #071a2f; background: #b7f43b; font-size: .62rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.user-packages__note { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1rem 0 0; color: #6c8395; font-size: .78rem; text-align: center; }
.user-packages__note i { color: #087ef5; }

@media (max-width: 900px) {
  .user-packages__head { grid-template-columns: 1fr; align-items: start; }
  .included-users__grid { grid-template-columns: 1fr; }
  .user-packages__offers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .user-packages { padding: 1rem; border-radius: 22px; }
  .user-packages__head { padding: .5rem; }
  .user-packages__offers { grid-template-columns: 1fr; }
  .user-package-card { min-height: 165px; }
}

@media (prefers-reduced-motion: reduce) {
  .user-package-card { transition: none; }
  .user-package-card:hover { transform: none; }
}

/* V9 — planes compactos, fondo deportivo y paquetes con más color */
#planes.pricing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(227,245,255,.88) 0%, rgba(241,249,255,.94) 44%, rgba(231,246,255,.9) 100%),
    url("../assets/images/fondo-planes-v9.webp") center top / cover no-repeat;
}

#planes.pricing::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(8,126,245,.2), transparent 28%),
    radial-gradient(circle at 92% 42%, rgba(183,244,59,.14), transparent 25%);
  pointer-events: none;
}

#planes .container-ed { position: relative; }
#planes > .container-ed > .section-head {
  max-width: 820px;
  margin: 0 auto 1.35rem;
  padding: 1.15rem 1.4rem;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 18px 48px rgba(7,72,119,.1);
  backdrop-filter: blur(12px);
}

#planes .pricing-grid {
  gap: 1rem;
  align-items: start;
  padding-top: .35rem;
}

#planes .plan-card {
  padding: 1.25rem 1.15rem 1.15rem;
  border-radius: 21px;
  box-shadow: 0 18px 46px rgba(7,72,119,.14);
}

#planes .plan-card__name { margin-bottom: .15rem; font-size: 1.28rem; }
#planes .plan-card__concept { margin-bottom: .35rem; font-size: .82rem; }
#planes .plan-card__desc { margin-bottom: .55rem; font-size: .82rem; line-height: 1.38; }
#planes .plan-card__price { margin-bottom: .05rem; }
#planes .plan-card__amount { font-size: clamp(2.25rem, 3.3vw, 2.8rem); }
#planes .plan-card__usd { margin-bottom: .45rem; font-size: .82rem; }
#planes .plan-card__monthly { margin: .35rem 0 .55rem; padding: .48rem .62rem; border-radius: 11px; font-size: .75rem; }
#planes .plan-card__monthly strong { font-size: .95rem; }
#planes .plan-card__pitch { margin-bottom: .35rem; font-size: .78rem; line-height: 1.32; }
#planes .plan-card__pitch--soft { margin-bottom: .4rem; }
#planes .plan-card__capacity { margin-bottom: .15rem; padding: .25rem .55rem; font-size: .75rem; }
#planes .plan-card__divider { margin: .5rem 0 .65rem; }
#planes .plan-card__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem .55rem; margin-bottom: .75rem; }
#planes .plan-card__list li { gap: .35rem; font-size: .75rem; line-height: 1.25; }
#planes .plan-card__list .bi-check-circle-fill { margin-top: .08rem; }
#planes .plan-card .btn-ed { min-height: 42px; padding: .62rem .75rem; font-size: .8rem; }
#planes .plan-badge { top: 10px; right: 10px; padding: .3rem .62rem; font-size: .65rem; }

#planes .user-packages {
  border-color: rgba(255,255,255,.82);
  background:
    radial-gradient(circle at 92% 0, rgba(183,244,59,.18), transparent 26%),
    radial-gradient(circle at 0 100%, rgba(157,103,255,.12), transparent 30%),
    rgba(255,255,255,.86);
  box-shadow: 0 28px 75px rgba(7,72,119,.17);
  backdrop-filter: blur(15px);
}

#planes .included-users__grid article:nth-child(1) { border-color: #8bcfff; background: linear-gradient(135deg, #eaf7ff, #fff); }
#planes .included-users__grid article:nth-child(2) { border-color: #b7f43b; background: linear-gradient(135deg, #f2ffd9, #fff); }
#planes .included-users__grid article:nth-child(3) { border-color: #b7a7ff; background: linear-gradient(135deg, #f2efff, #fff); }
#planes .included-users__grid article:nth-child(3) strong { color: #6851e8; }

#planes .user-package-card { min-height: 178px; border-width: 2px; }
#planes .user-package-card:nth-child(1) { border-color: #33a8f4; background: linear-gradient(145deg, #e8f7ff, #fff 72%); }
#planes .user-package-card:nth-child(1) > i { color: #fff; background: linear-gradient(135deg, #087ef5, #36c6f4); box-shadow: 0 10px 25px rgba(8,126,245,.22); }
#planes .user-package-card:nth-child(1) > p { color: #087ef5; }
#planes .user-package-card:nth-child(2) { border-color: #b7f43b; background: linear-gradient(145deg, #071a2f, #0b4567); }
#planes .user-package-card:nth-child(3) { border-color: #9d79ff; background: linear-gradient(145deg, #f1edff, #fff 72%); }
#planes .user-package-card:nth-child(3) > i { color: #fff; background: linear-gradient(135deg, #7250e8, #a97cff); box-shadow: 0 10px 25px rgba(114,80,232,.2); }
#planes .user-package-card:nth-child(3) > p { color: #7250e8; }
#planes .user-package-card:nth-child(4) { border-color: #ff9e45; background: linear-gradient(145deg, #fff1e4, #fff 72%); }
#planes .user-package-card:nth-child(4) > i { color: #fff; background: linear-gradient(135deg, #f47713, #ffb347); box-shadow: 0 10px 25px rgba(244,119,19,.2); }
#planes .user-package-card:nth-child(4) > p { color: #e66500; }
#planes .user-package-card:nth-child(1)::after { background: rgba(8,126,245,.12); }
#planes .user-package-card:nth-child(3)::after { background: rgba(114,80,232,.1); }
#planes .user-package-card:nth-child(4)::after { background: rgba(244,119,19,.11); }

@media (max-width: 991.98px) {
  #planes .plan-card__list { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  #planes.pricing { background-position: 42% top; }
  #planes > .container-ed > .section-head { padding: 1rem; border-radius: 19px; }
  #planes .plan-card { padding: 1.1rem 1rem; }
}
