/* ===================================================================
   Página de pack (/pack/<slug>) — sep 2026
   Misma familia visual que /servicios/<red>: hero editorial en degradado,
   cabeceras con filete, Montserrat en titulares, tarjeta negra para lo
   que incluye, caja de compra blanca con borde de 1px y CTA en degradado.
   El formulario y el selector de publicaciones conservan sus clases.
   =================================================================== */
.pkx-page {
  background: #fff;
  color: #14181f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.pkx-page * { box-sizing: border-box; -webkit-tap-highlight-color: rgba(230, 28, 114, .15); }
.pkx-page img, .pkx-page svg { max-width: 100%; }
.pkx-mont { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* — Hero: tarjeta con la imagen del pack y el precio — */
.ib-hero--pack .ib-hero__title { max-width: 14ch; }
.ib-hero--pack .ib-hero__eyebrow { margin-bottom: 30px; }
.ib-hero__card-pack { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ib-hero__card-pack img {
  width: 64px; height: 64px; padding: 6px; flex: 0 0 64px;
  border-radius: 14px; background: #f8f9fb; border: 1px solid #e8eaed; object-fit: contain;
}
.ib-hero__card-pack span {
  display: inline-block; padding: 5px 10px; border-radius: 999px;
  background: #14181f; color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.ib-hero__card-value s { font-size: 1rem; font-weight: 600; color: #9ca3af; }
@media (min-width: 640px) { .ib-hero--pack .ib-hero__eyebrow { margin-bottom: 40px; } }
@media (min-width: 1024px) {
  .ib-hero--pack { padding: 56px 0 64px; }
  .ib-hero--pack .ib-hero__eyebrow { margin-bottom: 56px; }
  .ib-hero--pack .ib-hero__title { font-size: clamp(2.2rem, 4.6vw, 3.1rem); }
}

/* — Configurador: incluye + descripción a la izquierda, compra a la derecha — */
.pkx { padding: 40px 0 56px; }
.pkx__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pkx__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.pkx__inc { order: 1; }
.pkx__buy { order: 2; }
.pkx__about { order: 3; }

/* Tarjeta negra: lo que incluye */
.pkx-inc {
  display: flex; flex-direction: column;
  padding: 24px 20px 22px; border-radius: 16px;
  background: #101114; color: #fff;
}
.pkx-inc__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.pkx-inc__kicker { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pkx-inc__badge {
  padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px;
  font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; white-space: nowrap;
}
.pkx-inc__title { margin: 0 0 16px; font-size: 1.3rem; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.pkx-inc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pkx-inc__list li {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.pkx-inc__check {
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #10b981; color: #fff;
}
.pkx-inc__check svg { width: 11px; height: 11px; }
.pkx-inc__name { min-width: 0; font-size: .92rem; line-height: 1.3; color: rgba(255, 255, 255, .88); }
.pkx-inc__name strong { color: #fff; font-weight: 700; font-feature-settings: "tnum"; }
.pkx-inc__name small { display: block; margin-top: 2px; font-size: .74rem; color: rgba(255, 255, 255, .5); }
.pkx-inc__line { font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .55); font-feature-settings: "tnum"; white-space: nowrap; }
.pkx-inc__sum {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .84rem; color: rgba(255, 255, 255, .6);
}
.pkx-inc__sum s { color: rgba(255, 255, 255, .5); }
.pkx-inc__sum strong { font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: -.02em; font-feature-settings: "tnum"; }
.pkx-inc__sum em { font-style: normal; color: #34d399; font-weight: 700; }

/* Sobre este pack (descripción larga) */
.pkx-about { padding: 8px 4px 0; }
.pkx-about__eyebrow, .pkx-sec__eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e61c72;
}
.pkx-about__eyebrow::before, .pkx-sec__eyebrow::before { content: ""; width: 22px; height: 2px; background: #e61c72; border-radius: 2px; }
.pkx-about__title, .pkx-sec__title {
  margin: 0; max-width: 18ch;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: #14181f;
  text-wrap: balance;
}
.pkx-prose { margin-top: 18px; font-size: 1rem; line-height: 1.7; color: #4b5563; }
.pkx-prose p { margin: 0 0 14px; }
.pkx-prose p:last-child { margin-bottom: 0; }
.pkx-prose strong { color: #14181f; }
.pkx-prose h2, .pkx-prose h3 { margin: 24px 0 10px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: #14181f; }
.pkx-prose ul { padding-left: 20px; }

/* Caja de compra */
.pkx-buy {
  border: 1px solid #e8eaed; border-radius: 16px; background: #fff;
  padding: 22px 20px 22px;
}
.pkx-buy__from { display: block; margin-bottom: 4px; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; }
.pkx-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pkx-buy__price s { font-size: .95rem; color: #6b7280; }
.pkx-buy__price strong {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 2.2rem; line-height: 1.05; font-weight: 700; letter-spacing: -.035em; color: #14181f; font-feature-settings: "tnum";
}
.pkx-buy__save { display: block; margin-top: 6px; font-size: .82rem; font-weight: 600; color: #0b7a56; }
.pkx-buy__head { padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid #e8eaed; }
.pkx-buy__step { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #14181f; }
.pkx-buy__step i {
  font-style: normal; width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #14181f; color: #fff; font-size: .66rem; letter-spacing: 0;
}

/* Campos (misma piel que la tarjeta) */
.pkx-page .pkd-form-label { display: block; margin: 14px 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #4b5563; }
.pkx-page .pkd-form-help { margin-top: 5px; font-size: .76rem; line-height: 1.4; color: #6b7280; }
.pkx-page .pkd-form-input {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid #e2e5ea; border-radius: 12px;
  font-family: inherit; font-size: 16px; color: #14181f; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.pkx-page .pkd-form-input:focus { outline: none; border-color: #e61c72; box-shadow: 0 0 0 3px rgba(230, 28, 114, .12); }
.pkx-page .pkd-handle-row { margin: 10px 0 12px; padding: 14px; border: 1.5px solid #14181f; border-radius: 14px; background: #fff; }
.pkx-page .pkd-handle-row .pkd-form-label { margin: 0 0 8px; }
.pkx-page .pkd-link-row { margin-bottom: 10px; padding: 12px 14px; border: 1px solid #e8eaed; border-radius: 14px; background: #f8f9fb; }
.pkx-page .pkd-link-row.is-multi { background: #fff; }
.pkx-page .pkd-link-row-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .8rem; font-weight: 600; color: #4b5563; }
.pkx-page .pkd-link-row-head .qty-pill, .pkx-page .pkd-link-row label .qty-pill {
  padding: .18rem .55rem; border-radius: 999px; background: #14181f; color: #fff;
  font-size: .68rem; font-weight: 700; font-feature-settings: "tnum";
}
.pkx-page .pkd-agree { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0 14px; font-size: .8rem; line-height: 1.45; color: #6b7280; }
.pkx-page .pkd-agree input { margin-top: 3px; flex-shrink: 0; width: 17px; height: 17px; accent-color: #e61c72; }
.pkx-page .pkd-agree a { color: #e61c72; font-weight: 600; text-decoration: none; }
.pkx-page .pkd-agree a:hover { text-decoration: underline; }
.pkx-page .pkd-error { display: none; margin-top: 12px; padding: .75rem .95rem; border: 1.5px solid #fecaca; border-radius: 12px; background: #fef2f2; color: #991b1b; font-size: .85rem; }
.pkx-page .pkd-error.show { display: block; }
.pkx-page .pkd-warn { margin-top: 14px; padding: .85rem 1rem; border: 1.5px solid #fde68a; border-radius: 12px; background: #fff8e1; color: #854d0e; font-size: .88rem; }
.pkx-page .pkd-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; padding: 14px 20px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #e61c72 0%, #ff4d94 100%); color: #fff;
  font-family: inherit; font-size: .98rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(230, 28, 114, .75);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pkx-page .pkd-cta svg { width: 18px; height: 18px; }
.pkx-page .pkd-cta:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(230, 28, 114, .8); }
.pkx-page .pkd-cta:disabled { opacity: .6; cursor: not-allowed; }
.pkx-buy__trust { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #e8eaed; list-style: none; font-size: .76rem; font-weight: 500; color: #6b7280; }
.pkx-buy__trust li { display: flex; align-items: center; gap: 14px; }
.pkx-buy__trust li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: #d1d5db; }

/* — Secciones editoriales — */
.pkx-sec { padding: 56px 0; border-top: 1px solid #eceef1; }
.pkx-sec__head { display: grid; gap: 16px; margin-bottom: 26px; }
.pkx-sec__lead { margin: 0; max-width: 340px; font-size: .95rem; line-height: 1.55; color: #6b7280; }

/* Por qué este pack: tarjetas numeradas (como "Lo que nos diferencia") */
.pkx-why { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pkx-why__item {
  position: relative; padding: 20px 18px 18px 18px;
  border: 1px solid #e8eaed; border-radius: 14px; background: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pkx-why__item:hover { border-color: #e61c72; transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(230, 28, 114, .45); }
.pkx-why__num { display: block; margin-bottom: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: #e61c72; }
.pkx-why__title { margin: 0 0 6px; font-size: 1rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: #14181f; }
.pkx-why__text { margin: 0; font-size: .88rem; line-height: 1.55; color: #6b7280; }

/* Cómo funciona: 3 pasos + tarjeta en degradado */
.pkx-how { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pkx-how__step { padding: 20px 18px 18px; border: 1px solid #e8eaed; border-radius: 14px; background: #fff; }
.pkx-how__num {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 14px;
  border-radius: 50%; background: #14181f; color: #fff; font-size: .78rem; font-weight: 700;
}
.pkx-how__title { margin: 0 0 6px; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: #14181f; }
.pkx-how__text { margin: 0; font-size: .88rem; line-height: 1.55; color: #6b7280; }
.pkx-how__step--accent { background: linear-gradient(135deg, #e61c72 0%, #ff4d94 100%); border-color: transparent; color: #fff; }
.pkx-how__step--accent .pkx-how__num { background: #fff; color: #e61c72; }
.pkx-how__step--accent .pkx-how__title { color: #fff; }
.pkx-how__step--accent .pkx-how__text { color: rgba(255, 255, 255, .85); }

/* FAQ */
.pkx-faq { display: grid; gap: 10px; max-width: 820px; }
.pkx-page .pkd-faq-item { border: 1px solid #e8eaed; border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s ease; }
.pkx-page .pkd-faq-item:hover, .pkx-page .pkd-faq-item.open { border-color: #14181f; }
.pkx-page .pkd-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 16px 18px; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: inherit; font-size: .98rem; font-weight: 700; letter-spacing: -.01em; color: #14181f;
}
.pkx-page .pkd-faq-q svg { flex-shrink: 0; width: 18px; height: 18px; color: #e61c72; transition: transform .25s; }
.pkx-page .pkd-faq-item.open .pkd-faq-q svg { transform: rotate(45deg); }
.pkx-page .pkd-faq-a { max-height: 0; overflow: hidden; padding: 0 18px; font-size: .92rem; line-height: 1.65; color: #4b5563; transition: max-height .3s ease-out, padding .3s ease-out; }
.pkx-page .pkd-faq-item.open .pkd-faq-a { max-height: 700px; padding: 0 18px 18px; }

/* CTA final: banda negra */
.pkx-final { padding: 56px 0; background: #101114; color: #fff; }
.pkx-final__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; gap: 20px; }
.pkx-final__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ff4d94; }
.pkx-final__eyebrow::before { content: ""; width: 22px; height: 2px; background: #ff4d94; border-radius: 2px; }
.pkx-final__title { margin: 0 0 10px; max-width: 18ch; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.pkx-final__text { margin: 0; max-width: 40ch; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.pkx-final__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: start;
  padding: 14px 24px; border-radius: 999px;
  background: linear-gradient(135deg, #e61c72 0%, #ff4d94 100%); color: #fff !important;
  font-size: .95rem; font-weight: 700; text-decoration: none !important;
  box-shadow: 0 12px 26px -12px rgba(230, 28, 114, .75); transition: transform .18s ease;
}
.pkx-final__btn svg { width: 15px; height: 15px; }
.pkx-final__btn:hover { transform: translateY(-2px); }

/* Barra fija en móvil */
.pkx-page .pkd-mbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 90px calc(10px + env(safe-area-inset-bottom)) 16px;
  background: #101114; color: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
}
.pkx-page .pkd-mbar__price { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.pkx-page .pkd-mbar__price-old { font-size: .78rem; color: rgba(255, 255, 255, .55); text-decoration: line-through; margin-bottom: 2px; }
.pkx-page .pkd-mbar__price-new { font-family: 'Montserrat', sans-serif; font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.pkx-page .pkd-mbar__cta {
  flex-shrink: 0; display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #e61c72 0%, #ff4d94 100%); color: #fff; font-size: .92rem; font-weight: 700; line-height: 1.1; text-decoration: none;
}
.pkx-page .pkd-mbar__cta:hover, .pkx-page .pkd-mbar__cta:focus { color: #fff; text-decoration: none; }
@media (max-width: 1023px) {
  .pkx-page .pkd-mbar { display: flex; }
  body { padding-bottom: 76px; }
}

@media (min-width: 640px) {
  .pkx { padding: 48px 0 64px; }
  .pkx__inner, .pkx-final__inner { padding: 0 24px; }
  .pkx-inc { padding: 28px 28px 26px; }
  .pkx-inc__title { font-size: 1.5rem; }
  .pkx-buy { padding: 26px 26px 24px; }
  .pkx-sec { padding: 64px 0; }
  .pkx-sec__head { grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: 30px; }
  .pkx-sec__lead { padding-bottom: 6px; }
  .pkx-why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pkx-why__item { padding: 24px 22px 22px; min-height: 172px; display: flex; flex-direction: column; justify-content: flex-end; }
  .pkx-why__num { margin-bottom: auto; padding-bottom: 22px; }
  .pkx-how { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pkx-final { padding: 72px 0; }
  .pkx-final__inner { grid-template-columns: 1fr auto; align-items: end; gap: 32px 48px; }
}
@media (min-width: 1024px) {
  .pkx { padding: 56px 0 72px; }
  .pkx__grid { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); grid-template-rows: auto 1fr; gap: 24px 28px; align-items: start; }
  .pkx__inc { order: 0; grid-column: 1; }
  .pkx__about { order: 0; grid-column: 1; }
  .pkx__buy { order: 0; grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 96px; }
  .pkx-sec { padding: 80px 0; }
  .pkx-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pkx-why__item { min-height: 196px; }
  .pkx-how { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pkx-faq { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .pkx-why__item, .pkx-page .pkd-cta, .pkx-final__btn, .pkx-page .pkd-faq-q svg { transition: none; }
  .pkx-why__item:hover, .pkx-page .pkd-cta:hover:not(:disabled), .pkx-final__btn:hover { transform: none; }
}
