/* ═══════════════════════════════════════════════
   COCO ARCHITECTURE — Página de Detalle de Planes
   Prefijo: ca-pg-*
   ═══════════════════════════════════════════════ */

/* ── Sombra premium reutilizable ─────────────── */
.ca-pg-calc,
.ca-pg-plan__video {
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.05),
              0 10px 20px -5px rgba(45, 211, 214, 0.1);
}

/* ── Página ──────────────────────────────────── */
.ca-pg-main {
  background: #fafbfc;
  min-height: 100vh;
}

/* ── Hero / Header ───────────────────────────── */
.ca-pg-header {
  padding: 6rem 1.5rem 4rem;
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.ca-pg-label {
  display: inline-block;
  background: #e0fbfc;
  color: #12b4b7;
  border: 1px solid rgba(47, 211, 214, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
}

.ca-pg-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #1c1733;
  line-height: 1.15;
  margin: 2rem 0 0;
}

.ca-pg-br {
  display: none;
}

.ca-pg-title-gradient {
  background: linear-gradient(90deg, #12b4b7 0%, #0d8a8c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ca-pg-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 42rem;
  margin: 1.5rem auto 0;
  line-height: 1.65;
}

/* ── Contenido central ───────────────────────── */
.ca-pg-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

/* ── Calculadora ─────────────────────────────── */
.ca-pg-calc {
  background: #fff;
  border-radius: 2rem;
  padding: 2rem;
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
  margin-top: -2.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.ca-pg-calc__blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 20rem;
  height: 20rem;
  background: #e0fbfc;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.5;
  transform: translate(50%, -50%);
  pointer-events: none;
}

.ca-pg-calc__inner {
  position: relative;
  z-index: 1;
}

.ca-pg-calc__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ca-pg-calc__title {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 800;
  color: #1c1733;
  margin: 0 0 0.75rem;
}

.ca-pg-calc__desc {
  color: #6b7280;
  margin: 0 0 2rem;
  max-width: 42rem;
  line-height: 1.65;
}

.ca-pg-calc__row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  background: #fafbfc;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
}

.ca-pg-calc__input-wrap {
  flex: 1;
  width: 100%;
}

.ca-pg-calc__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1c1733;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.ca-pg-calc__input-box {
  position: relative;
}

.ca-pg-calc__input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid #e5e7eb;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1c1733;
  background: #fff;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.ca-pg-calc__input:focus {
  border-color: #12b4b7;
}

.ca-pg-calc__suffix {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-weight: 500;
  pointer-events: none;
}

.ca-pg-calc__eq {
  display: none;
  font-size: 1.875rem;
  color: #d1d5db;
  font-weight: 300;
  flex-shrink: 0;
  text-align: center;
}

.ca-pg-calc__result {
  flex: 1;
  width: 100%;
  background: #fff;
  padding: 1.25rem 1.25rem 1.25rem 1.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
  border: 1px solid #e0fbfc;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ca-pg-calc__result-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #12b4b7;
}

.ca-pg-calc__result-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.ca-pg-calc__result-total {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: #12b4b7;
  line-height: 1.2;
}

.ca-pg-calc__result-currency {
  font-size: 1.1rem;
  font-weight: 500;
  color: #9ca3af;
}

.ca-pg-calc__result-rate {
  display: inline-block;
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  background: #f3f4f6;
  border-radius: 9999px;
  padding: 0.2rem 0.75rem;
  margin-top: 0.5rem;
}

/* ── Secciones de planes ─────────────────────── */
.ca-pg-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.ca-pg-plan__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

/* ── Badge de nivel ──────────────────────────── */
.ca-pg-plan__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
}

.ca-pg-plan__badge--basic {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #4b5563;
}

.ca-pg-plan__badge--pro {
  background: #e0fbfc;
  border: 1px solid rgba(47, 211, 214, 0.3);
  color: #0d8a8c;
}

.ca-pg-plan__badge--enterprise {
  background: #1c1733;
  border: 1px solid #374151;
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.ca-pg-plan__badge-icon {
  width: 1rem;
  height: 1rem;
}

.ca-pg-plan__badge-icon--cyan {
  color: #2fd3d6;
}

.ca-pg-plan__title {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #1c1733;
  margin: 0;
}

.ca-pg-plan__desc {
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Bloque de precio ────────────────────────── */
.ca-pg-plan__price-block {
  padding: 1rem 0;
  border-top: 1px solid;
  border-bottom: 1px solid;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ca-pg-plan__price-block--basic   { border-color: #f3f4f6; }
.ca-pg-plan__price-block--pro     { border-color: rgba(47, 211, 214, 0.2); }
.ca-pg-plan__price-block--enterprise { border-color: #e5e7eb; }

.ca-pg-plan__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.ca-pg-plan__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1c1733;
}

.ca-pg-plan__period {
  color: #6b7280;
  font-weight: 500;
  font-size: 1.125rem;
}

.ca-pg-plan__price-note {
  font-size: 0.75rem;
  font-weight: 700;
  color: #12b4b7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ca-pg-plan__price-note svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.ca-pg-plan__price-note--cyan {
  color: #2fd3d6;
}

/* ── Features ────────────────────────────────── */
.ca-pg-plan__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ca-pg-plan__feature {
  display: flex;
  align-items: flex-start;
}

.ca-pg-plan__check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.ca-pg-plan__check svg {
  width: 0.875rem;
  height: 0.875rem;
}

.ca-pg-plan__check--basic {
  background: #e0fbfc;
  color: #12b4b7;
}

.ca-pg-plan__check--pro {
  background: #12b4b7;
  color: #fff;
  box-shadow: 0 4px 6px rgba(18, 180, 183, 0.25);
}

.ca-pg-plan__check--enterprise {
  background: #1c1733;
  color: #2fd3d6;
}

.ca-pg-plan__feature p {
  margin: 0 0 0 1rem;
  color: #374151;
  line-height: 1.55;
}

.ca-pg-plan__feature strong {
  color: #1c1733;
}

/* ── Media (video placeholder) ───────────────── */
.ca-pg-plan__media {
  flex: 1;
  width: 100%;
}

.ca-pg-plan__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ca-pg-plan__video:hover {
  transform: scale(1.02);
}

.ca-pg-plan__video--light {
  background: linear-gradient(135deg, #ffffff 0%, #f3f6f8 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.ca-pg-plan__video--studio {
  background: linear-gradient(135deg, #1c1733 0%, #0f172a 100%);
}

.ca-pg-plan__video--dark {
  background: linear-gradient(135deg, #374151 0%, #1c1733 100%);
}

.ca-pg-plan__play {
  position: relative;
  z-index: 2;
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #12b4b7;
  transition: transform 0.3s ease;
}

.ca-pg-plan__video:hover .ca-pg-plan__play {
  transform: scale(1.1);
}

.ca-pg-plan__play svg {
  width: 2rem;
  height: 2rem;
  margin-left: 0.2rem;
}

.ca-pg-plan__play--dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(45, 211, 214, 0.3);
  color: #fff;
}

.ca-pg-plan__video-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1.5rem;
  pointer-events: none;
}

.ca-pg-plan__video-dash {
  position: absolute;
  inset: 1.5rem;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 0.75rem;
  pointer-events: none;
}

.ca-pg-plan__video-glow {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 10rem;
  height: 10rem;
  background: #2fd3d6;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.ca-pg-plan__video-caption {
  text-align: center;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Add-on Enterprise ───────────────────────── */
.ca-pg-addon {
  background: linear-gradient(135deg, #1c1733 0%, #2a234c 100%);
  border-radius: 2rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.ca-pg-addon__glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  background: #2fd3d6;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.2;
  mix-blend-mode: screen;
  pointer-events: none;
}

.ca-pg-addon__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.ca-pg-addon__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #2fd3d6;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ca-pg-addon__badge svg {
  width: 1rem;
  height: 1rem;
}

.ca-pg-addon__title {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.ca-pg-addon__desc {
  color: #d1d5db;
  margin: 0 auto 2rem;
  max-width: 42rem;
  line-height: 1.65;
}

.ca-pg-addon__desc strong {
  color: #fff;
}

.ca-pg-addon__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 36rem;
  margin: 0 auto;
}

.ca-pg-addon__card-text {
  text-align: left;
  flex: 1;
}

.ca-pg-addon__card-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2fd3d6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.ca-pg-addon__card-label svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.ca-pg-addon__card-desc {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0;
  text-align: left;
  line-height: 1.5;
}

.ca-pg-addon__divider {
  display: none;
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.ca-pg-addon__card-price {
  text-align: center;
  flex-shrink: 0;
}

.ca-pg-addon__price {
  display: block;
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
}

.ca-pg-addon__price-period {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}

/* ── CTA Final ───────────────────────────────── */
.ca-pg-cta-final {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.ca-pg-cta-final__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1c1733;
  margin: 0 0 1rem;
}

.ca-pg-cta-final__desc {
  color: #6b7280;
  margin: 0 0 2rem;
}

.ca-pg-cta-final__btn {
  background: #1c1733;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: inherit;
}

.ca-pg-cta-final__btn:hover {
  background: #12b4b7;
  box-shadow: 0 8px 20px rgba(18, 180, 183, 0.3);
}

/* ── Dark mode ───────────────────────────────── */
[data-theme="dark"] .ca-pg-main {
  background: #0f0f1a;
}

[data-theme="dark"] .ca-pg-title {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-subtitle {
  color: #9ca3af;
}

[data-theme="dark"] .ca-pg-calc {
  background: #1a1a2e;
  border-color: #2d2d4a;
}

[data-theme="dark"] .ca-pg-calc__badge {
  background: #2d2d4a;
  border-color: #3d3d5c;
  color: #d1d5db;
}

[data-theme="dark"] .ca-pg-calc__title {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-calc__row {
  background: #111128;
  border-color: #2d2d4a;
}

[data-theme="dark"] .ca-pg-calc__input {
  background: #1a1a2e;
  border-color: #2d2d4a;
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-calc__input:focus {
  border-color: #2fd3d6;
}

[data-theme="dark"] .ca-pg-calc__result {
  background: #1a1a2e;
  border-color: rgba(47, 211, 214, 0.2);
}

[data-theme="dark"] .ca-pg-calc__result-rate {
  background: #2d2d4a;
  color: #9ca3af;
}

[data-theme="dark"] .ca-pg-plan__title {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-plan__desc,
[data-theme="dark"] .ca-pg-plan__feature p {
  color: #9ca3af;
}

[data-theme="dark"] .ca-pg-plan__feature strong {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-plan__price {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-plan__video--light {
  background: linear-gradient(135deg, #1a1a2e 0%, #22223a 100%);
}

[data-theme="dark"] .ca-pg-cta-final {
  background: #111128;
  border-color: #2d2d4a;
}

[data-theme="dark"] .ca-pg-cta-final__title {
  color: #f1f0ff;
}

/* ── Responsive ──────────────────────────────── */
@media (min-width: 640px) {
  .ca-pg-calc {
    padding: 3rem;
  }

  .ca-pg-addon {
    padding: 3rem;
  }

  .ca-pg-addon__card {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .ca-pg-addon__divider {
    display: block;
  }

  .ca-pg-addon__card-price {
    text-align: right;
  }
}

@media (min-width: 768px) {
  .ca-pg-calc__row {
    flex-direction: row;
    align-items: center;
  }

  .ca-pg-calc__eq {
    display: block;
  }

  .ca-pg-br {
    display: block;
  }
}

@media (min-width: 1024px) {
  .ca-pg-plan {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }

  .ca-pg-plan--reverse {
    flex-direction: row-reverse;
  }
}

@media (max-width: 480px) {
  .ca-pg-content {
    padding: 0 1rem 3rem;
    gap: 5rem;
  }

  .ca-pg-header {
    padding: 4rem 1rem 3rem;
  }
}

/* ═══════════════════════════════════════════════
   PASO 2: INFRAESTRUCTURA
   ═══════════════════════════════════════════════ */

.ca-pg-infra {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ── Encabezados de paso ─────────────────────── */
.ca-pg-step-header {
  text-align: center;
}

.ca-pg-step-header--bordered {
  border-top: 1px solid #f3f4f6;
  padding-top: 2.5rem;
}

.ca-pg-step-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #1c1733;
  margin: 0 0 1rem;
}

.ca-pg-step-desc {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Grid de infraestructura ─────────────────── */
.ca-pg-infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}

.ca-pg-infra-card {
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.05),
              0 10px 20px -5px rgba(45, 211, 214, 0.1);
}

.ca-pg-infra-card--cloud {
  background: linear-gradient(135deg, #f8fbfb 0%, #e0fbfc 100%);
  border: 1px solid rgba(47, 211, 214, 0.3);
}

.ca-pg-infra-card--local {
  background: #fff;
  border: 1px solid #e5e7eb;
}

.ca-pg-infra-card__deco {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.5rem;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ca-pg-infra-card--cloud .ca-pg-infra-card__deco {
  opacity: 0.2;
  color: #12b4b7;
}

.ca-pg-infra-card--local .ca-pg-infra-card__deco {
  opacity: 0.05;
  color: #1c1733;
}

.ca-pg-infra-card:hover .ca-pg-infra-card__deco {
  opacity: 0.4;
}

.ca-pg-infra-card--local:hover .ca-pg-infra-card__deco {
  opacity: 0.1;
}

.ca-pg-infra-card__deco svg {
  width: 4rem;
  height: 4rem;
}

.ca-pg-infra-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ca-pg-infra-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
  width: fit-content;
}

.ca-pg-infra-card__badge--cloud {
  background: #12b4b7;
  color: #fff;
  box-shadow: 0 2px 8px rgba(18, 180, 183, 0.35);
}

.ca-pg-infra-card__badge--local {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.ca-pg-infra-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1733;
  margin: 0 0 0.75rem;
}

.ca-pg-infra-card__desc {
  color: #4b5563;
  margin: 0 0 1.5rem;
  line-height: 1.65;
  min-height: 5rem;
}

.ca-pg-infra-card__price-block {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  margin-top: auto;
}

.ca-pg-infra-card__price-block--cloud {
  border-color: rgba(18, 180, 183, 0.2);
}

.ca-pg-infra-card__price-label {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ca-pg-infra-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1c1733;
}

.ca-pg-infra-card__price-period {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
}

.ca-pg-infra-card__price-note {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0.25rem 0 0;
  font-style: italic;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════
   PASO 3: WRAPPER DE PLANES
   ═══════════════════════════════════════════════ */

.ca-pg-plans-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ca-pg-plans-inner {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

/* ═══════════════════════════════════════════════
   ADD-ONS SECTION (2 tarjetas)
   ═══════════════════════════════════════════════ */

.ca-pg-addons {
  border-top: 1px solid #f3f4f6;
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ca-pg-addons__header {
  text-align: center;
}

.ca-pg-addons__label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2fd3d6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.ca-pg-addons__title {
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 800;
  color: #1c1733;
  margin: 0 0 1rem;
}

.ca-pg-addons__desc {
  color: #6b7280;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.65;
}

.ca-pg-addons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 2rem;
  max-width: 76rem;
  margin: 0 auto;
  width: 100%;
}

/* ── Tarjeta add-on base ─────────────────────── */
.ca-pg-addon-card {
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.05),
              0 10px 20px -5px rgba(45, 211, 214, 0.1);
}

.ca-pg-addon-card--dark {
  background: linear-gradient(135deg, #1c1733 0%, #2a234c 100%);
}

.ca-pg-addon-card--light {
  background: linear-gradient(135deg, #ffffff 0%, #f3f6f8 100%);
  border: 1px solid #e5e7eb;
}

.ca-pg-addon-card__glow {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 10rem;
  height: 10rem;
  background: #2fd3d6;
  border-radius: 9999px;
  mix-blend-mode: screen;
  filter: blur(60px);
  opacity: 0.2;
  pointer-events: none;
}

.ca-pg-addon-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ca-pg-addon-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  width: fit-content;
}

.ca-pg-addon-card__badge svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.ca-pg-addon-card__badge--dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #2fd3d6;
}

.ca-pg-addon-card__badge--light {
  background: #e0fbfc;
  border: 1px solid rgba(18, 180, 183, 0.3);
  color: #0d8a8c;
}

.ca-pg-addon-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.ca-pg-addon-card__title--dark {
  color: #1c1733;
}

.ca-pg-addon-card__desc {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  flex: 1;
}

.ca-pg-addon-card__desc--light {
  color: #4b5563;
}

.ca-pg-addon-card__desc strong {
  color: #fff;
}

.ca-pg-addon-card__desc--light strong {
  color: #1c1733;
}

.ca-pg-addon-card__price {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: auto;
}

.ca-pg-addon-card__price--light {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.ca-pg-addon-card__price-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.ca-pg-addon-card__price-value--teal {
  color: #12b4b7;
}

.ca-pg-addon-card__price-period {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.ca-pg-addon-card__price-period--light {
  color: #6b7280;
}

/* ── Dark mode — secciones nuevas ────────────── */
[data-theme="dark"] .ca-pg-step-title {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-step-desc {
  color: #9ca3af;
}

[data-theme="dark"] .ca-pg-step-header--bordered {
  border-color: #2d2d4a;
}

[data-theme="dark"] .ca-pg-infra-card--cloud {
  background: linear-gradient(135deg, #1a1a2e 0%, #1e2e2e 100%);
  border-color: rgba(47, 211, 214, 0.2);
}

[data-theme="dark"] .ca-pg-infra-card--local {
  background: #1a1a2e;
  border-color: #2d2d4a;
}

[data-theme="dark"] .ca-pg-infra-card__title {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-infra-card__desc {
  color: #9ca3af;
}

[data-theme="dark"] .ca-pg-infra-card__price {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-infra-card__price-block {
  border-color: #2d2d4a;
}

[data-theme="dark"] .ca-pg-addons {
  border-color: #2d2d4a;
}

[data-theme="dark"] .ca-pg-addons__title {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-addon-card--light {
  background: linear-gradient(135deg, #1a1a2e 0%, #22223a 100%);
  border-color: #2d2d4a;
}

[data-theme="dark"] .ca-pg-addon-card__title--dark {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-addon-card__desc--light {
  color: #9ca3af;
}

[data-theme="dark"] .ca-pg-addon-card__desc--light strong {
  color: #f1f0ff;
}

[data-theme="dark"] .ca-pg-addon-card__price--light {
  border-color: #2d2d4a;
}

[data-theme="dark"] .ca-pg-addon-card__price-period--light {
  color: #9ca3af;
}
