/* Planes especialistas — diseño comercial */
.esp-page {
  --esp-ink: #163a5f;
  --esp-accent: #1a8fd1;
  --esp-accent-deep: #0f6fa8;
  --esp-soft: #f3f8fc;
  --esp-muted: #5d6f82;
  --esp-line: #d7e6f2;
  --esp-card: #ffffff;
  background: #fff;
}

.esp-page .section-title {
  margin-bottom: 2.25rem;
}

.esp-page .section-title h2 {
  color: var(--esp-ink);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-bottom: 0.65rem;
}

.esp-page .section-title .subtitle {
  color: var(--esp-muted);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.55;
  font-size: 1.02rem;
}

.esp-page section {
  padding: 80px 0;
}

.esp-page .section-bg-soft {
  background: var(--esp-soft);
}

/* Hero */
.esp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(26, 143, 209, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(22, 58, 95, 0.06), transparent 50%),
    linear-gradient(180deg, #f7fbfe 0%, #eef5fb 100%);
  padding: 64px 0 72px;
}

.esp-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--esp-accent-deep);
  background: rgba(26, 143, 209, 0.1);
  border: 1px solid rgba(26, 143, 209, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1rem;
}

.esp-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  color: var(--esp-ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.esp-hero-lead {
  font-size: 1.05rem;
  color: var(--esp-muted);
  max-width: 34rem;
  margin: 0 0 0.65rem;
  line-height: 1.6;
}

.esp-hero-scope {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--esp-ink, #1a365d);
  margin: 0 0 1.25rem;
}

.esp-hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}

.esp-hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--esp-ink);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.esp-hero-points li i {
  color: var(--esp-accent);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.esp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.esp-cta-row .btn {
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
}

.esp-cta-row .btn-primary,
.esp-plans .btn-primary,
.esp-final-cta .btn-primary {
  background: var(--esp-accent);
  border-color: var(--esp-accent);
  box-shadow: 0 8px 20px rgba(26, 143, 209, 0.28);
}

.esp-cta-row .btn-primary:hover,
.esp-plans .btn-primary:hover,
.esp-final-cta .btn-primary:hover {
  background: var(--esp-accent-deep);
  border-color: var(--esp-accent-deep);
}

.esp-cta-row .btn-outline-primary,
.esp-plans .btn-outline-primary {
  color: var(--esp-accent-deep);
  border: 2px solid var(--esp-accent-deep);
  background: #fff;
}

.esp-cta-row .btn-outline-primary:hover,
.esp-plans .btn-outline-primary:hover {
  color: #fff;
  background: var(--esp-accent-deep);
  border-color: var(--esp-accent-deep);
}

.esp-hero-meta {
  color: var(--esp-muted);
  font-size: 0.88rem;
  margin: 0;
}

.esp-hero-visual {
  position: relative;
  padding: 0.5rem 0 0.5rem 1rem;
}

.esp-hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% -4% 12%;
  background: linear-gradient(145deg, rgba(26, 143, 209, 0.18), rgba(22, 58, 95, 0.08));
  border-radius: 24px;
  transform: rotate(2deg);
  z-index: 0;
}

.esp-hero-frame {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  box-shadow:
    0 24px 48px rgba(22, 58, 95, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(215, 230, 242, 0.9);
}

.esp-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.esp-hero-chip {
  position: absolute;
  z-index: 2;
  left: 8%;
  bottom: 8%;
  background: #fff;
  border: 1px solid var(--esp-line);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 10px 24px rgba(22, 58, 95, 0.12);
  font-size: 0.82rem;
  color: var(--esp-ink);
  font-weight: 600;
  max-width: 200px;
}

.esp-hero-chip span {
  display: block;
  color: var(--esp-muted);
  font-weight: 500;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

/* Problems */
.esp-problem-card {
  background: var(--esp-card);
  border: 1px solid var(--esp-line);
  border-radius: 16px;
  padding: 1.65rem 1.4rem 1.5rem;
  height: 100%;
  box-shadow: 0 8px 22px rgba(22, 58, 95, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.esp-problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(22, 58, 95, 0.08);
}

.esp-problem-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--esp-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.esp-problem-card h3 {
  font-size: 1.12rem;
  color: var(--esp-ink);
  font-weight: 700;
  margin: 0 0 0.55rem;
}

.esp-problem-card p {
  margin: 0;
  color: var(--esp-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.esp-highlight {
  margin: 2.25rem auto 0;
  max-width: 820px;
  padding: 1.15rem 1.4rem;
  background: linear-gradient(90deg, #eaf4fb, #f7fbfe);
  border: 1px solid var(--esp-line);
  border-radius: 14px;
  color: var(--esp-ink);
  font-weight: 600;
  text-align: center;
  line-height: 1.45;
}

/* Flow */
.esp-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 2.25rem 0 1.5rem;
  position: relative;
}

.esp-flow::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--esp-accent) 0 10px, transparent 10px 18px);
  opacity: 0.45;
  z-index: 0;
}

.esp-flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.25rem;
}

.esp-flow-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--esp-accent);
  color: var(--esp-accent-deep);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 6px 14px rgba(26, 143, 209, 0.15);
}

.esp-flow-label {
  display: block;
  font-weight: 650;
  color: var(--esp-ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.esp-flow-note {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--esp-muted);
  text-align: center;
  line-height: 1.6;
}

/* Videos */
.esp-page #pricing-esp-videos {
  background: #fff;
  padding-top: 72px;
  padding-bottom: 36px;
}

.esp-page #pricing-esp-videos .product-video-card {
  border-radius: 16px;
  border: 1px solid var(--esp-line);
  box-shadow: 0 10px 24px rgba(22, 58, 95, 0.06);
  overflow: hidden;
}

.esp-page #pricing-esp-videos .product-video-copy {
  padding: 1.15rem 1.2rem 1.3rem;
}

.esp-page #pricing-esp-videos .product-video-copy h3 {
  font-size: 1.05rem;
  color: var(--esp-ink);
}

.esp-page #pricing-esp-videos .product-video-play {
  background: rgba(26, 143, 209, 0.95);
}

.esp-video-soft-cta {
  text-align: center;
  margin: 0 auto 2rem;
}

.esp-video-soft-cta a {
  color: var(--esp-accent-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 111, 168, 0.35);
  padding-bottom: 2px;
}

.esp-video-soft-cta a:hover {
  border-bottom-color: var(--esp-accent-deep);
}

/* Plans */
.esp-plans {
  background: var(--esp-soft) !important;
}

.esp-plans .box {
  text-align: left;
  padding: 1.75rem 1.45rem 1.45rem;
  border: 1px solid var(--esp-line);
  border-radius: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 8px 20px rgba(22, 58, 95, 0.04);
  position: relative;
  overflow: hidden;
}

.esp-plans .box h3 {
  margin: 0 0 0.2rem;
  padding: 0;
  background: transparent !important;
  color: var(--esp-ink) !important;
  font-size: 1.3rem;
  text-align: left;
  font-weight: 700;
}

.esp-plans .box .plan-price {
  color: var(--esp-ink);
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0.55rem 0 0.7rem;
  letter-spacing: -0.02em;
}

.esp-plans .box .plan-price i {
  font-style: normal;
}

.esp-plans .box .plan-price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--esp-muted);
}

.esp-plans .box .plan-desc {
  color: var(--esp-muted);
  font-size: 0.94rem;
  margin-bottom: 1.05rem;
  line-height: 1.45;
  min-height: 3.1em;
}

.esp-plans .box ul {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.esp-plans .box ul li {
  padding: 0.38rem 0;
  color: #3f5163;
  font-size: 0.92rem;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.esp-plans .box ul li i {
  color: var(--esp-accent);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.esp-plans .box .btn {
  border-radius: 10px;
  font-weight: 600;
  min-height: 46px;
}

.esp-plans .box .btn-block {
  width: 100%;
}

.esp-plans .box.featured {
  border-color: transparent;
  box-shadow:
    0 0 0 2px var(--esp-accent),
    0 18px 36px rgba(26, 143, 209, 0.16);
  transform: translateY(-6px);
  padding-top: 2.75rem;
}

.esp-plan-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--esp-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 0.65rem;
  margin: 0;
  border-radius: 0;
}

.esp-plans-note {
  text-align: center;
  margin-top: 1.85rem;
  color: var(--esp-ink);
  font-weight: 600;
}

.esp-compare-toggle {
  text-align: center;
  margin-top: 1.35rem;
}

.esp-compare-toggle .btn {
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  border-color: var(--esp-line);
  color: var(--esp-ink);
  background: #fff;
}

/* FAQ + CTA */
.esp-faq .accordion {
  max-width: 760px;
  margin: 0 auto;
}

.esp-faq .accordion-item {
  border: 1px solid var(--esp-line);
  border-radius: 12px !important;
  margin-bottom: 0.7rem;
  overflow: hidden;
  background: #fff;
}

.esp-faq .accordion-button {
  font-weight: 650;
  color: var(--esp-ink);
  background: #fff;
  box-shadow: none;
  padding: 1rem 1.15rem;
}

.esp-faq .accordion-button:not(.collapsed) {
  color: var(--esp-ink);
  background: var(--esp-soft);
}

.esp-faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.esp-faq .accordion-body {
  color: var(--esp-muted);
  line-height: 1.6;
  padding: 0 1.15rem 1.1rem;
}

.esp-final-cta {
  background: linear-gradient(180deg, #eaf4fb 0%, #dceef8 100%);
  border: 1px solid rgba(26, 143, 209, 0.18);
  border-radius: 20px;
  padding: 2.75rem 1.75rem;
  text-align: center;
  max-width: 860px;
  margin: 2.5rem auto 0;
  box-shadow: 0 12px 28px rgba(22, 58, 95, 0.06);
}

.esp-final-cta h2 {
  color: var(--esp-ink);
  font-weight: 700;
  margin-bottom: 0.7rem;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.esp-final-cta p {
  color: var(--esp-muted);
  max-width: 34rem;
  margin: 0 auto 1.45rem;
  line-height: 1.55;
}

.esp-final-cta .esp-cta-row {
  justify-content: center;
}

.esp-final-cta .esp-hero-meta {
  margin-top: 1rem;
}

.esp-final-cta .btn-success {
  background: #25d366;
  border-color: #25d366;
}

@media (max-width: 991px) {
  .esp-page section {
    padding: 56px 0;
  }

  .esp-hero {
    padding: 40px 0 48px;
    text-align: center;
  }

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

  .esp-hero-points {
    text-align: left;
    display: inline-block;
  }

  .esp-cta-row {
    justify-content: center;
  }

  .esp-hero-visual {
    padding: 1.5rem 0 0;
    max-width: 520px;
    margin: 0 auto;
  }

  .esp-hero-chip {
    display: none;
  }

  .esp-flow {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .esp-flow::before {
    top: 0;
    bottom: 0;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--esp-accent) 0 10px, transparent 10px 18px);
  }

  .esp-flow-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.85rem;
    align-items: center;
    text-align: left;
    padding-left: 0;
  }

  .esp-flow-dot {
    margin: 0;
  }

  .esp-plans .box.featured {
    transform: none;
  }
}
