/* ==========================================================================
   planes-pos.css — Estructura de Planes de PosWeb (Multinicho Retail Colombia)
   Basada en la arquitectura de GastroBar.click, adaptada a PosWeb.
   Reglas:
   - Azul retail PosWeb: #1877F2 / #0F5EC7. Sin rastro de restaurante ni naranja #FF6B35.
   - Soporte total de modo claro (por defecto) y modo oscuro (data-theme="dark").
   - Botones 3D con todos sus estados.
   - Logos oficiales DIAN con marcos limpios y proporciones fijas (anti-CLS).
   ========================================================================== */

.gb-plans-shell {
  --gp-blue: #1877F2;
  --gp-blue-bright: #2563EB;
  --gp-blue-dark: #0F5EC7;
  --gp-blue-soft: #EFF6FF;
  --gp-emerald: #10B981;
  --gp-emerald-dark: #059669;
  --gp-emerald-soft: #ECFDF5;
  --gp-ink: #0F172A;
  --gp-ink-soft: #334155;
  --gp-muted: #64748B;
  --gp-border: #E2E8F0;
  --gp-card: #FFFFFF;
  margin-top: 10px;
  margin-bottom: 50px;
}

/* Modo Oscuro para la Suite de Planes */
html[data-theme="dark"] .gb-plans-shell {
  --gp-ink: #F8FAFC;
  --gp-ink-soft: #CBD5E1;
  --gp-muted: #94A3B8;
  --gp-border: rgba(255, 255, 255, 0.1);
  --gp-card: #0F172A;
  --gp-blue-soft: rgba(24, 119, 242, 0.12);
  --gp-emerald-soft: rgba(16, 185, 129, 0.12);
}

/* ---------- 1. ECOSISTEMA EXPLÍCITO QUE SE ADQUIERE SIEMPRE ---------- */
.eco-strip {
  margin: 0 auto 32px;
}

.eco-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.eco-head h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--gp-ink);
  margin: 0;
  letter-spacing: -.02em;
}

.eco-head span {
  font-size: .95rem;
  color: var(--gp-muted);
  font-weight: 600;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.eco-card {
  background: var(--gp-card);
  border: 1.5px solid var(--gp-border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.eco-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(24, 119, 242, .18);
}

.eco-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}

.eco-ico--blue { background: rgba(24, 119, 242, 0.1); color: var(--gp-blue); }
.eco-ico--emerald { background: var(--gp-emerald-soft); color: var(--gp-emerald-dark); }
.eco-ico--indigo { background: rgba(99, 102, 241, 0.1); color: #6366F1; }
.eco-ico--slate { background: rgba(148, 163, 184, 0.12); color: var(--gp-ink-soft); }

.eco-tag {
  font-size: .75rem;
  font-weight: 800;
  color: var(--gp-emerald-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.eco-card h3 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--gp-ink);
  margin: 0;
}

.eco-card p {
  font-size: .88rem;
  color: var(--gp-ink-soft);
  margin: 0;
  line-height: 1.5;
}

.eco-card code {
  font-family: var(--font-mono, monospace);
  font-size: .82rem;
  background: rgba(24, 119, 242, 0.08);
  color: var(--gp-blue);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ---------- 2. TOGGLE PRINCIPAL DUAL: SIN FACTURACIÓN VS CON FACTURACIÓN DIAN ---------- */
.fiscal-switch-section {
  margin-bottom: 20px;
}

.fiscal-switch-card {
  background: var(--gp-card);
  border: 2px solid var(--gp-border);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 18px 40px -20px rgba(15, 23, 42, .12);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 16px;
}

.fs-side {
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 20px 22px;
  text-align: left;
  background: #F8FAFC;
  transition: all .22s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
  position: relative;
}

html[data-theme="dark"] .fs-side {
  background: #141C2E;
}

.fs-side:hover {
  background: #F1F5F9;
}

html[data-theme="dark"] .fs-side:hover {
  background: #1A243B;
}

.fs-side:focus-visible {
  outline: 3px solid var(--gp-blue);
  outline-offset: 2px;
}

.fs-side[data-mode="sin"].is-active {
  background: linear-gradient(135deg, #ECFDF5 0%, #FFFFFF 100%);
  border-color: var(--gp-emerald);
  box-shadow: 0 10px 26px -12px rgba(16, 185, 129, .4);
}

html[data-theme="dark"] .fs-side[data-mode="sin"].is-active {
  background: linear-gradient(135deg, #06281E 0%, #101B2E 100%);
  border-color: var(--gp-emerald);
}

.fs-side[data-mode="con"].is-active {
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
  border-color: var(--gp-blue);
  box-shadow: 0 10px 26px -12px rgba(24, 119, 242, .4);
}

html[data-theme="dark"] .fs-side[data-mode="con"].is-active {
  background: linear-gradient(135deg, #0B2248 0%, #101B2E 100%);
  border-color: var(--gp-blue);
}

.fs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.fs-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gp-ink);
  line-height: 1.25;
}

.fs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 11px;
  border-radius: 999px;
  width: fit-content;
}

.fs-badge--green { background: #D1FAE5; color: #065F46; }
.fs-badge--blue { background: #DBEAFE; color: #1E40AF; }
.fs-badge--orange { background: #EFF6FF; color: #1877F2; border: 1px solid #BFDBFE; }

.fs-desc {
  font-size: .92rem;
  color: var(--gp-ink-soft);
  margin: 0;
  line-height: 1.48;
}

.dian-pill-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 6px 14px;
  box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .18);
  width: fit-content;
  margin: 2px 0;
}

.dian-pill-lockup img {
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

/* Interruptor físico central */
.fs-center-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  gap: 8px;
}

.hardware-switch {
  width: 72px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  padding: 4px;
  background: var(--gp-emerald);
  position: relative;
  transition: background .25s ease;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .24);
  cursor: pointer;
  touch-action: manipulation;
}

.gb-plans-shell[data-fe="con"] .hardware-switch {
  background: var(--gp-blue);
}

.hardware-knob {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .28);
  transition: transform .26s cubic-bezier(.34, 1.4, .64, 1);
}

.gb-plans-shell[data-fe="con"] .hardware-knob {
  transform: translateX(34px);
}

.hardware-caption {
  font-size: .72rem;
  font-weight: 800;
  color: var(--gp-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
  white-space: nowrap;
}

/* ---------- 3. SUB-BARRA COMPACTA: PERIODICIDAD & PILL MENSUAL DIAN ---------- */
.subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 16px;
  padding: 12px 20px;
  margin-bottom: 26px;
}

html[data-theme="dark"] .subbar {
  background: #162032;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.period-box {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  font-weight: 700;
  flex-wrap: wrap;
}

.mini-switch {
  position: relative;
  width: 48px;
  height: 26px;
  display: inline-block;
  flex-shrink: 0;
}

.mini-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mini-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #475569;
  cursor: pointer;
  transition: .22s;
}

.mini-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: .22s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.mini-switch input:checked + .mini-slider {
  background: var(--gp-emerald);
}

.mini-switch input:checked + .mini-slider::before {
  transform: translateX(22px);
}

.save-badge {
  background: var(--gp-emerald);
  color: #022C22;
  font-size: .76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}

.monthly-fe-pill {
  background: rgba(37, 99, 235, .22);
  border: 1px solid rgba(147, 197, 253, .45);
  color: #DBEAFE;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gb-plans-shell [hidden] {
  display: none !important;
}

/* ---------- 4. GRILLA Y TARJETAS DE PLANES (2 COLUMNAS) ---------- */
.plans-grid--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin-inline: auto;
  align-items: stretch;
}

.plan-card {
  background: var(--gp-card);
  border: 1.5px solid var(--gp-border);
  border-radius: 24px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  min-width: 0;
  box-shadow: 0 12px 30px -18px rgba(15, 23, 42, .12);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px -16px rgba(15, 23, 42, .18);
  border-color: #CBD5E1;
}

html[data-theme="dark"] .plan-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 42px -16px rgba(0, 0, 0, .5);
}

.plan-card--star {
  border: 2.5px solid var(--gp-blue);
  background: linear-gradient(180deg, #F0F7FF 0%, var(--gp-card) 26%);
  box-shadow: 0 20px 44px -14px rgba(24, 119, 242, .24);
}

html[data-theme="dark"] .plan-card--star {
  background: linear-gradient(180deg, #0F2342 0%, var(--gp-card) 30%);
}

.star-ribbon {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--gp-blue);
  color: #FFFFFF;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -2px rgba(24, 119, 242, .45);
}

.plan-kicker {
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gp-emerald-dark);
  display: block;
  margin-bottom: 4px;
}

.gb-plans-shell[data-fe="con"] .plan-kicker {
  color: var(--gp-blue);
}

.plan-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gp-ink);
  margin: 0 0 6px;
  letter-spacing: -.015em;
}

.plan-for {
  font-size: .92rem;
  color: var(--gp-muted);
  margin: 0;
  line-height: 1.45;
  min-height: 2.7em;
}

/* Caja de precio + franja DIAN */
.price-box {
  background: #F8FAFC;
  border: 1px solid var(--gp-border);
  border-radius: 16px;
  padding: 16px 18px;
}

html[data-theme="dark"] .price-box {
  background: #141C2E;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-amount {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 2.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gp-ink);
  letter-spacing: -.02em;
}

.price-unit {
  font-size: .92rem;
  font-weight: 700;
  color: var(--gp-muted);
}

.price-sub {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gp-emerald-dark);
  margin-top: 8px;
}

.gb-plans-shell[data-fe="con"] .price-sub {
  color: var(--gp-blue);
}

.dian-card-strip {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

html[data-theme="dark"] .dian-card-strip {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.dian-seal-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 4px 10px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .06);
}

.dian-seal-mini img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.dian-cap-num {
  font-size: .86rem;
  font-weight: 800;
  color: #1E40AF;
  letter-spacing: -.01em;
}

html[data-theme="dark"] .dian-cap-num {
  color: #93C5FD;
}

.quota-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.quota-chip {
  background: #F1F5F9;
  border: 1px solid var(--gp-border);
  font-size: .82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--gp-ink);
}

html[data-theme="dark"] .quota-chip {
  background: #1A243B;
  color: #E2E8F0;
}

.mod-box {
  border-top: 1px solid var(--gp-border);
  padding-top: 14px;
}

.mod-box-title {
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gp-muted);
  margin: 0 0 10px;
}

.mod-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: .91rem;
  color: var(--gp-ink-soft);
  line-height: 1.48;
}

.mod-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
}

.mod-list li svg {
  margin-top: 3px;
  flex-shrink: 0;
}

.mod-yes {
  color: var(--gp-emerald-dark);
}

.plan-card--star .mod-yes {
  color: var(--gp-blue);
}

.mod-no-box {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .85rem;
  color: var(--gp-muted);
  line-height: 1.45;
}

html[data-theme="dark"] .mod-no-box {
  background: #141C2E;
  border-color: rgba(255, 255, 255, 0.12);
}

.mod-no-box strong {
  color: var(--gp-ink);
}

.card-meta-foot {
  font-size: .85rem;
  color: var(--gp-ink-soft);
  background: #F8FAFC;
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 5px;
  line-height: 1.42;
}

html[data-theme="dark"] .card-meta-foot {
  background: #141C2E;
}

.gb-plans-shell[data-fe="con"] .card-meta-foot {
  background: #F0F7FF;
  border-color: #BFDBFE;
}

html[data-theme="dark"] .gb-plans-shell[data-fe="con"] .card-meta-foot {
  background: #0B2248;
  border-color: rgba(37, 99, 235, .4);
}

.card-cta-stack {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Botones 3D de Planes */
.plan-cta {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 0;
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 800;
  font-size: .98rem;
  padding: 13px 18px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 3px 0 #050B14, 0 8px 18px -6px rgba(15, 23, 42, .4);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.plan-cta:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 5px 0 #050B14, 0 12px 22px -6px rgba(15, 23, 42, .45);
}

.plan-cta:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 1px 0 #050B14;
}

.plan-cta:focus-visible {
  outline: 3px solid var(--gp-blue);
  outline-offset: 3px;
}

.plan-card--star .plan-cta {
  background: linear-gradient(180deg, #2B86FF 0%, #1877F2 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 3px 0 #0F5EC7, 0 10px 22px -6px rgba(24, 119, 242, .55);
}

.plan-card--star .plan-cta:hover {
  background: linear-gradient(180deg, #3A92FF 0%, #1F80FA 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 5px 0 #0F5EC7, 0 14px 26px -6px rgba(24, 119, 242, .65);
}

.plan-card--star .plan-cta:active {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 1px 0 #0F5EC7;
}

/* ---------- 5. BANNER PACK DOMINIO PROPIO $300.000/AÑO ---------- */
.domain-pack-banner {
  margin: 36px 0;
  background: var(--gp-card);
  border: 1.5px solid #BFDBFE;
  border-radius: 22px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 12px 28px -18px rgba(24, 119, 242, .2);
}

html[data-theme="dark"] .domain-pack-banner {
  border-color: rgba(37, 99, 235, .4);
}

.domain-pack-banner h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--gp-ink);
  margin: 10px 0 8px;
}

.domain-pack-banner p {
  margin: 0 0 14px;
  font-size: .95rem;
  color: var(--gp-ink-soft);
  line-height: 1.52;
}

.domain-pack-banner code {
  font-family: var(--font-mono, monospace);
  background: rgba(24, 119, 242, 0.08);
  color: var(--gp-blue);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
}

.dp-price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  background: rgba(24, 119, 242, 0.08);
  color: var(--gp-blue-dark);
  border: 1px solid #BFDBFE;
  padding: 9px 18px;
  border-radius: 14px;
  font-family: var(--font-mono, monospace);
  font-size: 1.65rem;
  font-weight: 800;
}

html[data-theme="dark"] .dp-price-pill {
  color: #93C5FD;
}

.dp-price-pill small {
  font-size: .9rem;
  font-family: var(--font-body, sans-serif);
  font-weight: 700;
}

.dp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gp-ink-soft);
}

.dp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid var(--gp-border);
  padding: 9px 12px;
  border-radius: 12px;
}

html[data-theme="dark"] .dp-item {
  background: #141C2E;
}

/* ---------- 6. SECCIÓN OFICIAL FACTURACIÓN ELECTRÓNICA DIAN ---------- */
.dian-section {
  background: linear-gradient(135deg, #EFF6FF 0%, var(--gp-card) 60%, #ECFDF5 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: 26px;
  padding: 34px;
  margin: 36px 0;
  box-shadow: 0 14px 34px -18px rgba(24, 119, 242, .14);
}

html[data-theme="dark"] .dian-section {
  background: linear-gradient(135deg, #0B1C33 0%, #0F172A 60%, #06231C 100%);
  border-color: rgba(37, 99, 235, .4);
}

.dian-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid #DBEAFE;
  padding-bottom: 22px;
  margin-bottom: 24px;
}

html[data-theme="dark"] .dian-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dian-header-copy {
  max-width: 650px;
}

.dian-header-copy h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--gp-ink);
  margin: 10px 0 8px;
  letter-spacing: -.02em;
}

.dian-header-copy p {
  margin: 0;
  font-size: 1rem;
  color: var(--gp-ink-soft);
  line-height: 1.58;
}

.dian-logo-frame {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 18px;
  padding: 10px 20px;
  box-shadow: 0 8px 22px -12px rgba(15, 23, 42, .2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dian-logo-frame img {
  height: 56px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.dian-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dian-box {
  background: var(--gp-card);
  border: 1.5px solid var(--gp-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, .06);
}

.dian-box--green { border-color: #86EFAC; }
.dian-box--blue { border-color: #93C5FD; }

.dian-box h3 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gp-ink);
  margin: 12px 0 6px;
}

.dian-box ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 11px;
  font-size: .92rem;
  color: var(--gp-ink-soft);
  line-height: 1.5;
}

.dian-box li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.dian-box li svg {
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---------- 7. TARJETA FACTURACIÓN EXTENSA O ILIMITADA (>500 FACTURAS) ---------- */
.dian-unlimited-card {
  background: var(--gp-card);
  border: 2px solid #93C5FD;
  border-radius: 24px;
  padding: 30px;
  margin: 30px 0;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 16px 36px -18px rgba(37, 99, 235, .2);
}

html[data-theme="dark"] .dian-unlimited-card {
  border-color: rgba(37, 99, 235, .5);
}

.dian-banner-frame {
  background: #F8FAFC;
  border: 1px solid var(--gp-border);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

html[data-theme="dark"] .dian-banner-frame {
  background: #141C2E;
}

.dian-banner-frame img {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: #FFFFFF;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  display: block;
}

.dian-banner-caption {
  font-size: .84rem;
  font-weight: 700;
  color: var(--gp-ink-soft);
  line-height: 1.45;
}

.dian-unlimited-card h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--gp-ink);
  margin: 10px 0 8px;
  letter-spacing: -.02em;
}

.dian-unlimited-card p {
  font-size: .95rem;
  color: var(--gp-ink-soft);
  line-height: 1.55;
  margin: 0 0 18px;
}

.dian-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-dian-primary {
  background: linear-gradient(180deg, #2B86FF 0%, #1877F2 100%);
  color: #FFFFFF;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 3px 0 #0F5EC7, 0 10px 22px -6px rgba(24, 119, 242, .55);
  transition: transform .14s ease, box-shadow .14s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-dian-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 5px 0 #0F5EC7, 0 14px 26px -6px rgba(24, 119, 242, .65);
}

.btn-dian-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 1px 0 #0F5EC7;
}

/* ---------- 8. MÉTODOS DE PAGO Y PASARELAS OFICIALES ---------- */
.pay-strip {
  margin: 40px 0;
  background: var(--gp-card);
  border: 1.5px solid var(--gp-border);
  border-radius: 24px;
  padding: 32px 28px;
}

.pay-strip-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.pay-strip-head h2 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--gp-ink);
  margin: 6px 0 8px;
}

.pay-strip-head p {
  font-size: .95rem;
  color: var(--gp-muted);
  margin: 0;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pay-card {
  background: #F8FAFC;
  border: 1px solid var(--gp-border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

html[data-theme="dark"] .pay-card {
  background: #141C2E;
}

.pay-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pay-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--gp-border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

html[data-theme="dark"] .pay-ico {
  background: #1A243B;
}

.pay-card h3 {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gp-ink);
  margin: 0;
}

.pay-sub {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gp-emerald-dark);
}

.pay-card p {
  font-size: .88rem;
  color: var(--gp-ink-soft);
  margin: 0;
  line-height: 1.48;
}

/* ---------- 9. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .eco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-grid { grid-template-columns: 1fr; }
  .domain-pack-banner { grid-template-columns: 1fr; }
  .dian-unlimited-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .fiscal-switch-card {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 10px;
  }
  .fs-center-toggle {
    flex-direction: row;
    justify-content: space-between;
    padding: 8px 12px;
    border-top: 1px solid var(--gp-border);
    border-bottom: 1px solid var(--gp-border);
  }
  .plans-grid--two {
    grid-template-columns: 1fr;
  }
  .dian-cols {
    grid-template-columns: 1fr;
  }
  .dian-section {
    padding: 22px 18px;
  }
  .dp-grid {
    grid-template-columns: 1fr;
  }
  .subbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hardware-knob, .mini-slider, .eco-card, .plan-card, .plan-cta {
    transition: none !important;
  }
}
