/* Estilos de planes.html. Secciones compartidas (.section*) copiadas de index.css;
   reglas de planes/proceso/servicios movidas desde index.css. */

.planes-hero {
  padding: 150px 24px 0;
}
.planes-hero .section-title {
  font-size: clamp(34px, 5vw, 52px);
}

/* ─── SECTION BASE ───────────────────────────────────────── */
.section {
  padding: 96px 40px;
  /* tono B por defecto: ninguna sección queda en blanco puro */
  background: var(--section-bg-alt);
}
.section.bg-light {
  background: var(--section-bg);
}
.section.bg-dark {
  background: var(--band-bg);
}
.section.bg-navy2 {
  background: var(--navy2);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-kicker {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--kicker);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-title span {
  color: var(--blue);
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.7;
}
.text-center {
  text-align: center;
}
.section.bg-dark .section-desc {
  color: var(--text-muted);
}@media (max-width: 768px) {

  .section {
    padding: 72px 20px;
  }
}

/* La sección anima su fondo al cambiar de tema (las tarjetas ya usan transition:all) */
.section,
.seam,
.contact-section,
.cta-section {
  transition: background-color 0.3s ease;
}

/* ─── PLANES ─────────────────────────────────────────────── */
.plans-banner {
  background: var(--surface-2);
  border-radius: 20px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.plans-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.plans-banner-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.plans-banner-text .blue {
  color: var(--blue);
}
.plans-banner-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.plans-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}@media (max-width: 800px) {

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

.plan-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 36px 28px;
  border: 1.5px solid var(--card-border);
  position: relative;
  transition: all 0.25s;
}
.plan-card:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 48px rgba(14, 165, 233, 0.1);
}
.plan-card.featured {
  background: var(--featured-bg);
  border-color: var(--blue);
  box-shadow: 0 24px 64px rgba(14, 165, 233, 0.2);
}
.plan-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  background: var(--blue-btn);
}
.plan-icon.navy-icon {
  background: #1e3a5f;
}
.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.plan-card.featured .plan-name {
  color: var(--text);
}
.plan-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}
.plan-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price sup {
  font-size: 20px;
  font-weight: 700;
  vertical-align: top;
  margin-top: 8px;
  margin-right: 5px;
  display: inline-block;
}
.plan-price .price-per {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}
.plan-card.featured .plan-price sup,
.plan-card.featured .plan-price .price-per {
  color: var(--text-muted);
}
.plan-card.featured .plan-price {
  color: var(--text);
}
.plan-period {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.plan-divider {
  height: 1px;
  background: var(--card-border);
  margin-bottom: 24px;
}
.plan-card.featured .plan-divider {
  background: var(--card-border);
}
.plan-features-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.plan-card.featured .plan-features-title {
  color: var(--text-muted);
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.plan-features li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan-card.featured .plan-features li {
  color: var(--text-muted);
}
.plan-check {
  color: #16a34a;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-x {
  color: #dc2626;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-noincludes {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin: 16px 0 10px;
}
.plan-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}
.plan-btn.primary {
  background: var(--blue-btn);
  color: #fff;
}
.plan-btn.primary:hover {
  background: var(--blue-btn-hover);
}
.plan-btn.outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--card-border);
}
.plan-btn.outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.plan-btn.dark {
  background: var(--blue-btn);
  color: #fff;
}
.plan-btn.dark:hover {
  background: var(--blue-btn-hover);
}
.plan-btn-icon {
  margin-right: 6px;
}
.plan-price-alt {
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 4px;
} /* ─── PROCESO ────────────────────────────────────────────── */
.proceso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}@media (max-width: 768px) {

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

.paso-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid var(--card-border);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.25s;
}
.paso-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.08);
}
.paso-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-btn);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.paso-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.paso-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}@media (max-width: 768px) {

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

.servicio-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--card-border);
  transition: all 0.25s;
}
.servicio-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.08);
}
.servicio-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.servicio-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.servicio-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.servicio-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.servicio-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.servicio-features li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.servicio-features li::before {
  content: "✦";
  color: var(--blue);
  font-size: 10px;
}
.servicio-btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--blue-btn);
  color: #fff;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}
.servicio-btn:hover {
  background: var(--blue-btn-hover);
}
@media (max-width: 800px) {

  /* vence al style inline de la grilla de 3 planes mensuales */
  .plans-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ─── TOGGLE MENSUAL/ANUAL Y GRILLA DE PLANES (antes inline) ── */
.billing-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.billing-toggle {
  display: inline-flex;
  background: var(--chip-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 32px;
  padding: 4px;
  gap: 4px;
  align-items: center;
}
.billing-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-radius: 28px;
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: all 0.2s;
}
.billing-btn.active {
  background: var(--blue-btn);
  color: #fff;
  font-weight: 700;
}
.billing-badge {
  background: #15803d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}
.plans-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}@media (max-width: 1000px) {

  .plans-grid--3 {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}

.plans-grid--3 .plan-card {
  display: flex;
  flex-direction: column;
}
.plans-grid--3 .plan-btn {
  margin-top: auto;
}
.plan-icon--mini {
  background: #6366f1;
}
.plan-icon--mega {
  background: linear-gradient(135deg, #0369a1, #0b1228);
  border: 1px solid var(--blue);
}
.plan-card.featured .plan-desc {
  color: var(--text-muted);
}
.plan-savings {
  display: none;
  font-size: 12px;
  color: var(--blue-btn);
  font-weight: 600;
  margin-bottom: 4px;
}
.plan-card.featured .plan-savings {
  color: #38bdf8;
}
.plans-note {
  text-align: center;
  margin: 32px auto 0;
  padding: 20px 24px;
  background: var(--surface-2);
  border-radius: 16px;
  max-width: 700px;
}
.plans-note p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.plans-note a {
  color: var(--blue-btn);
  font-weight: 700;
  margin-left: 4px;
}
.servicios-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  text-align: center;
}
.servicios-wrap {
  margin-top: 40px;
}

/* ─── Tarjetas: sombra en reposo (el borde ya se ve; esto las eleva) ──
   El :hover de cada tarjeta (más específico) mantiene su sombra mayor. */
.channel-card,
.integration-card,
.plan-card,
.paso-card,
.industria-card,
.servicio-card,
.faq-item {
  box-shadow: 0 1px 2px rgba(11, 18, 40, 0.04), 0 6px 16px rgba(11, 18, 40, 0.05);
}

/* ─── Micro-interacción: los íconos de tarjeta reaccionan al hover ── */
.channel-icon,
.integration-emoji,
.servicio-icon,
.paso-num,
.industria-icon {
  transition: transform 0.25s ease;
}
.channel-card:hover .channel-icon,
.servicio-card:hover .servicio-icon,
.paso-card:hover .paso-num {
  transform: scale(1.08) rotate(-3deg);
}
