/* Custom tweaks for Inverpagos / Trámites EPS */

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  background: #25D366;
  color: #fff;
}
.whatsapp-float:hover {
  filter: brightness(0.95);
  color: #fff;
}
.whatsapp-float .whatsapp-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
}
.whatsapp-float .whatsapp-text {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

/* Small pill badges used in hero */
.pill-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}
.pill, .pill-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 500;
}

/* Hero price callout */
.hero-callout {
  margin: 14px 0 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  max-width: 420px;
}
.hero-callout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  /* Keep hero accents in the site's blue palette (avoid vivid greens) */
  background: rgba(0, 155, 254, 0.14);
  border: 1px solid rgba(0, 155, 254, 0.22);
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.hero-price {
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
.hero-price strong {
  font-weight: 900;
}
.hero-callout-sub {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.92;
}

/* Highlighted pricing card */
.pricing-item.is-featured .pricing-inner {
  border: 2px solid rgba(0, 155, 254, 0.45);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}
.pricing-item .pricing-head .tag {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 155, 254, 0.12);
  color: #005fa6;
  font-weight: 700;
  font-size: 12px;
}

/* Improve readability on text-only pages */
.content-page p {
  margin-bottom: 12px;
}
.content-page ul {
  padding-left: 18px;
}

/* Keep footer links readable */
.footer-section .footer-content a {
  text-decoration: none;
}


/* Highlight featured plan card */
.pricing-featured .pricing-inner {
  border: 2px solid rgba(0, 155, 254, 0.45);
}
.pricing-featured .pricing-head {
  background: rgba(0, 155, 254, 0.10);
}


/* Button group spacing */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.button-group .lab-btn {
  margin-right: 0 !important;
}

/* Footer quick actions (Maps / Copy) */
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.footer-link,
.copy-btn.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
}
.footer-link:hover,
.copy-btn.footer-link:hover {
  filter: brightness(1.06);
  color: #fff;
}

/* Small toast for copy feedback */
.toast-copy {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.78);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast-copy.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* Plan builder */
.plan-builder label {
  font-weight: 700;
  margin-bottom: 6px;
}
.plan-total {
  font-size: 16px;
  margin-top: 10px;
}
.plan-total strong {
  font-size: 20px;
}

/* Pricing cards: make them feel like "cards" and highlight the main plan */
.pricing-table .section-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 0;
}
@media (min-width: 768px) {
  .pricing-table .section-wrapper { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .pricing-table .section-wrapper { grid-template-columns: repeat(3, 1fr); }
}
.pricing-table .section-wrapper .pricing-item {
  width: auto;
}
.pricing-table .section-wrapper .pricing-item .pricing-inner {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pricing-table .section-wrapper .pricing-item .pricing-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-table .section-wrapper .pricing-item .price-btn {
  margin-top: auto;
}
.pricing-table .section-wrapper .pricing-item.pricing-featured {
  grid-column: 1 / -1;
}

/* Unify gradients (avoid random nth-child colors) */
.pricing-table .pricing-item .pricing-inner::after {
  /* Force a blue-only gradient to match the site's palette */
  background: linear-gradient(to right, #00e9f0, #009bfe) !important;
}

/* "Plan principal" ribbon (was green in template) */
.pricing-item .pricing-inner .popular-item {
  background: linear-gradient(to right, #00e9f0, #009bfe) !important;
}
.pricing-table .pricing-item .pricing-body .price {
  background: linear-gradient(to right, #00e9f0, #009bfe) !important;
}
.pricing-table .pricing-item .pricing-body .price-btn .lab-btn {
  background: linear-gradient(to right, #00e9f0, #009bfe) !important;
}
.pricing-table .pricing-item .pricing-body .price-btn .lab-btn::after {
  background: linear-gradient(to left, #00e9f0, #009bfe) !important;
}
.pricing-table .pricing-item .pricing-body .price-list ul li::after {
  color: #009bfe !important;
}

/* Breakdown list */
.price-breakdown li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.price-breakdown li span {
  text-align: left;
}
.price-breakdown li strong {
  font-weight: 800;
  white-space: nowrap;
}
.price-breakdown li.is-note {
  justify-content: flex-start;
}
.price-breakdown li.is-note strong {
  display: none;
}

/* Featured card tweaks */
.pricing-featured .pricing-inner {
  border: 2px solid rgba(0, 155, 254, 0.55);
}
.pricing-featured .pricing-head {
  background: rgba(0, 155, 254, 0.10);
}
.pricing-featured .pricing-head .tag {
  color: #005fa6;
}
.pricing-featured .pricing-body {
  text-align: left;
}
.pricing-featured .price-btn {
  justify-content: flex-start;
}
.pricing-featured .pricing-note {
  margin: 14px 0 0;
  font-weight: 700;
  opacity: .92;
}

/* Small callout inside ARL table */
.mini-callout {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mini-callout-text {
  font-size: 14px;
  line-height: 1.35;
}
.mini-callout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(0, 155, 254, 0.10);
  border: 1px solid rgba(0, 155, 254, 0.20);
  color: #005fa6;
  white-space: nowrap;
}
.mini-callout-btn:hover {
  filter: brightness(0.98);
  color: #005fa6;
}


/* Remove the template's 150x150 decorative bubble that appears in several section headers */
.section-header.style-2::after {
  content: none !important;
  display: none !important;
}

/* Keep decorative ticks/icons aligned to the site's blue palette (avoid bright greens) */
.smart-list-ef .icofont-tick-mark,
.icofont-tick-mark {
  color: #009bfe;
}

/* Planes y precios: micro-ajustes de legibilidad y móvil */
.table td { vertical-align: middle; }

@media (max-width: 575.98px) {
  /* Pricing cards */
  .pricing-item .pricing-inner { padding: 22px; }
  .pricing-item .pricing-inner .pricing-head { padding: 8px 0 24px; }
  .pricing-item .pricing-inner .pricing-body .price { margin-bottom: 26px; }
  .pricing-item .pricing-inner .pricing-body .price h2 { font-size: 32px; }
  .pricing-item .pricing-inner .pricing-body .price-list { padding: 0 !important; }
  .pricing-item .pricing-inner .pricing-body .price-list ul { margin-bottom: 26px; }
  .pricing-item .pricing-inner .pricing-body .price-btn .lab-btn { width: 100%; padding: 14px 18px; text-align: center; }

  /* ARL mini callout */
  .mini-callout { flex-direction: column; align-items: flex-start; }
  .mini-callout-btn { width: 100%; }

  /* Plan builder CTA */
  .plan-builder #pb_whatsapp { width: 100%; text-align: center; }
}
