/* ==========================================================================
   TandyWeb — Experiencia Comercial Exclusiva: Planes & Premium IA 2026
   Diseño editorial, tecnológico y minimalista (Apple / Linear / Notion / Vercel)
   Tokens oficiales: Coral #FF665E · Ink #111111 · Paper #FFFFFF · Dark #0B0F19
   ========================================================================== */

/* --- Variables y Paleta de la Experiencia Planes --- */
:root {
  --prem-dark: #0b0f19;
  --prem-dark-card: #121826;
  --prem-dark-card-hover: #172033;
  --prem-border: rgba(255, 255, 255, 0.08);
  --prem-border-strong: rgba(255, 255, 255, 0.16);
  --prem-glow: rgba(255, 102, 94, 0.14);
  --prem-text: #f3f4f6;
  --prem-text-muted: #9ca3af;
  --prem-accent: #ff665e;
  --prem-accent-hover: #ff7e77;
  --prem-green: #10b981;
  --prem-surface: #f8f9fb;
  --prem-line-light: #e5e7eb;
}

/* --- Estilos Generales de la Página de Planes --- */
.tw-planes-page {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* --- Cabecera y navegación -----------------------------------------------
   Se reutiliza la estructura de tandyweb-home.css. Aquí solo se fija el
   comportamiento: escritorio = navegación horizontal; móvil = panel cerrado
   por defecto y desplegable únicamente con el botón hamburguesa.
   ------------------------------------------------------------------------- */
@media (min-width: 681px) {
  /* Nunca debe mostrarse el panel ni el botón hamburguesa / X en escritorio. */
  .tw-planes-page .home-nav__toggle {
    display: none !important;
  }
  .tw-planes-page .home-nav__panel {
    display: none !important;
  }
}

@media (max-width: 680px) {
  body.tw-planes-page.has-js .home-nav__panel {
    width: 100%;
    border-radius: 0 0 var(--radius) var(--radius);
    pointer-events: none;
  }
  /* El panel cerrado no debe ser visible ni capturar clics. */
  body.tw-planes-page.has-js .home-nav__panel:not(.is-open) {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  body.tw-planes-page.has-js .home-nav__panel.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  body.tw-planes-page.menu-open .site-header--home {
    z-index: 120;
  }
}

/* --- Hero Introductorio --- */
.planes-hero {
  position: relative;
  padding-top: clamp(60px, 7vw, 100px);
  padding-bottom: clamp(60px, 7vw, 90px);
  background: radial-gradient(circle at 50% 0%, #fff3f2 0%, var(--paper) 65%);
  border-bottom: 1px solid var(--prem-line-light);
  overflow: hidden;
}

.planes-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ffd4d0;
  font-size: 12px;
  font-weight: 600;
  color: var(--coral-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px -6px rgba(255, 102, 94, 0.25);
}

.planes-hero__title {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 600;
  margin-bottom: 24px;
  text-wrap: balance;
  max-width: 20ch;
}

.planes-hero__title span {
  color: var(--coral-deep);
}

.planes-hero__lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 660px;
  margin-bottom: 36px;
  text-wrap: pretty;
}

.planes-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.planes-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--prem-line-light);
  padding-top: 24px;
}

.planes-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.planes-hero__trust .icon {
  width: 17px;
  height: 17px;
  color: var(--prem-green);
}

/* --- Planes mensuales --- */
.planes-entry {
  padding-block: clamp(70px, 8vw, 110px);
  background: var(--paper);
}

.planes-entry__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 24px;
}

.planes-entry__header h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0;
}

.planes-entry__language:empty {
  display: none;
}

.planes-entry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  max-width: 900px;
  margin-inline: auto;
}

.planes-entry__note {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.plan-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--prem-line-light);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.plan-card--featured,
.plan-card--featured:hover {
  border-color: var(--coral);
  background: linear-gradient(160deg, #fff5f3, var(--paper) 76%);
}

.plan-card--featured .plan-card__features .icon {
  color: var(--coral-deep);
}

.plan-card__title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.plan-card__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
  min-height: 3.1em;
}

.plan-card__price {
  font-size: clamp(38px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.plan-card__price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-card__features {
  list-style: none;
  padding: 18px 0 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--prem-line-light);
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex-grow: 1;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

.plan-card__features li .icon {
  width: 18px;
  height: 18px;
  color: var(--ink);
  margin-top: 2px;
}

@media (max-width: 680px) {
  .planes-entry__grid {
    grid-template-columns: 1fr;
  }

  .plan-card__desc {
    min-height: 0;
  }
}

/* --- Transición Visual Hacia Premium --- */
.planes-transition {
  position: relative;
  background: linear-gradient(180deg, var(--paper) 0%, var(--prem-dark) 100%);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
  text-align: center;
}

.planes-transition__inner {
  max-width: 760px;
  margin-inline: auto;
}

.planes-transition__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin-bottom: 16px;
}

.planes-transition__question {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.planes-transition__text {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: #d1d5db;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.planes-transition__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  animation: bounceSoft 2s infinite ease-in-out;
}

@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ==========================================================================
   UNIVERSO PREMIUM (60%+ del recorrido visual)
   Diseño oscuro inmersivo, tipografía cuidada, demostraciones interactivas
   ========================================================================== */
.premium-universe {
  background: var(--prem-dark);
  color: var(--prem-text);
  position: relative;
  padding-bottom: clamp(80px, 10vw, 130px);
}

/* --- Hero Premium --- */
.premium-hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--prem-border);
  overflow: hidden;
}

.premium-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 102, 94, 0.12);
  border: 1px solid rgba(255, 102, 94, 0.35);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff918b;
  margin-bottom: 28px;
  box-shadow: 0 0 24px -4px rgba(255, 102, 94, 0.3);
}

.premium-hero__title {
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
  max-width: 18ch;
  text-wrap: balance;
}

.premium-hero__lead {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
  color: var(--prem-text-muted);
  max-width: 720px;
  margin-bottom: 38px;
  text-wrap: pretty;
}

.premium-hero__price-box {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  background: var(--prem-dark-card);
  border: 1px solid var(--prem-border-strong);
  border-radius: 16px;
  padding: 16px 26px;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.premium-hero__price-box strong {
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.premium-hero__price-box span {
  font-size: 14px;
  font-weight: 500;
  color: #ff918b;
}

.premium-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.button--premium {
  background: var(--prem-accent);
  color: #111111;
  border-color: var(--prem-accent);
  font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(255, 102, 94, 0.45);
}

.button--premium:hover {
  background: var(--prem-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(255, 102, 94, 0.6);
}

.button--dark-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--prem-border-strong);
}

.button--dark-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* --- Vitrina de 5 Capacidades Premium --- */
.premium-capabilities {
  padding-top: clamp(70px, 9vw, 110px);
}

.prem-section-heading {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 68px);
}

.prem-section-heading .eyebrow {
  color: var(--prem-accent);
}

.prem-section-heading h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  color: #ffffff;
  margin-bottom: 18px;
}

.prem-section-heading p {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
  color: var(--prem-text-muted);
}

/* --- Bloque Demostrativo Individual (Showcase) --- */
.demo-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--prem-dark-card);
  border: 1px solid var(--prem-border);
  border-radius: 24px;
  margin-bottom: 40px;
  align-items: center;
  transition: border-color 0.3s;
}

.demo-block:hover {
  border-color: var(--prem-border-strong);
}

@media (min-width: 960px) {
  .demo-block {
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
  }
  .demo-block--reverse {
    grid-template-columns: 1.15fr 1fr;
  }
  .demo-block--reverse .demo-block__info {
    order: 2;
  }
  .demo-block--reverse .demo-block__stage {
    order: 1;
  }
}

.demo-block__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--prem-accent);
  margin-bottom: 14px;
}

.demo-block__title {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 16px;
  text-wrap: balance;
}

.demo-block__desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--prem-text-muted);
  margin-bottom: 24px;
}

.demo-block__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-block__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.5;
}

.demo-block__bullets .icon {
  width: 17px;
  height: 17px;
  color: var(--prem-accent);
  margin-top: 2px;
}

/* --- Simulación 1: Chatbot con IA Interactivo --- */
.chat-sim {
  background: #0f1624;
  border: 1px solid var(--prem-border-strong);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.chat-sim__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--prem-border);
  margin-bottom: 16px;
}

.chat-sim__agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-sim__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.chat-sim__status {
  font-size: 12px;
  color: var(--prem-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-sim__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--prem-green);
}

.chat-sim__messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 18px;
  max-height: 240px;
}

.chat-msg {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  animation: fadeIn 0.3s var(--ease);
}

.chat-msg--bot {
  background: rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg--user {
  background: var(--coral-deep);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-sim__prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--prem-border);
}

.chat-sim__btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--prem-border);
  color: #d1d5db;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  transition: all 0.2s;
  text-align: left;
}

.chat-sim__btn:hover {
  background: rgba(255, 102, 94, 0.15);
  border-color: var(--prem-accent);
  color: #fff;
  transform: translateY(-1px);
}

/* --- Simulación 2: WhatsApp con IA --- */
.wa-sim {
  background: #0b141a;
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.wa-sim__top {
  background: #1f2c34;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e9edef;
}

.wa-sim__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-sim__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25d366;
  color: #0b141a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.wa-sim__body {
  padding: 20px 16px;
  background-color: #0b141a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
}

.wa-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  position: relative;
}

.wa-bubble--in {
  background: #202c33;
  color: #e9edef;
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.wa-bubble--out {
  background: #005c4b;
  color: #e9edef;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.wa-bubble__time {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  margin-top: 4px;
}

.wa-sim__notice {
  background: rgba(37, 211, 102, 0.1);
  border: 1px dashed rgba(37, 211, 102, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: #6ee7b7;
  text-align: center;
  margin-top: 8px;
}

/* --- Simulación 3: Generador de Marketing IA --- */
.mkt-sim {
  background: #0f1624;
  border: 1px solid var(--prem-border-strong);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.mkt-sim__input-group {
  margin-bottom: 20px;
}

.mkt-sim__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--prem-text-muted);
  margin-bottom: 8px;
}

.mkt-sim__field {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--prem-border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 14px;
  resize: none;
  font-family: inherit;
}

.mkt-sim__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mkt-sim__chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--prem-border);
  color: #9ca3af;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.mkt-sim__chip:hover,
.mkt-sim__chip.is-active {
  background: rgba(255, 102, 94, 0.16);
  border-color: var(--prem-accent);
  color: #fff;
}

.mkt-sim__output {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--prem-border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mkt-sim__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--prem-border);
  border-radius: 10px;
  padding: 12px 14px;
}

.mkt-sim__card-title {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--prem-accent);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.mkt-sim__card-text {
  font-size: 13.5px;
  color: #e5e7eb;
  line-height: 1.5;
}

/* --- Simulación 4: Asistente en Panel --- */
.panel-sim {
  background: #0f1624;
  border: 1px solid var(--prem-border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.panel-sim__nav {
  background: #151d2e;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--prem-border);
  font-size: 12px;
  color: var(--prem-text-muted);
}

.panel-sim__content {
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.panel-sim__task {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--prem-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s;
}

.panel-sim__task:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.panel-sim__task-title {
  font-size: 14px;
  font-weight: 550;
  color: #ffffff;
  margin-bottom: 4px;
}

.panel-sim__task-desc {
  font-size: 12.5px;
  color: var(--prem-text-muted);
}

.panel-sim__badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-weight: 600;
  flex: none;
}

/* --- Simulación 5: Sitio Multi-Dispositivo --- */
.device-sim {
  background: #0f1624;
  border: 1px solid var(--prem-border-strong);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.device-sim__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.device-sim__btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--prem-border);
  color: #9ca3af;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.device-sim__btn.is-active,
.device-sim__btn:hover {
  background: rgba(255, 102, 94, 0.16);
  border-color: var(--prem-accent);
  color: #ffffff;
}

.device-sim__viewport {
  margin-inline: auto;
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  overflow: hidden;
  transition: max-width 0.4s var(--ease);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.device-sim__viewport[data-device="desktop"] {
  max-width: 100%;
}

.device-sim__viewport[data-device="tablet"] {
  max-width: 520px;
}

.device-sim__viewport[data-device="mobile"] {
  max-width: 320px;
}

.mini-browser-bar {
  background: #f3f4f6;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.mini-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}

.mini-browser-url {
  font-size: 11px;
  color: #6b7280;
  background: #ffffff;
  padding: 2px 10px;
  border-radius: 4px;
  flex-grow: 1;
}

.mini-site-body {
  padding: 20px 18px;
}

.mini-site-body h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.mini-site-body p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 14px;
}

.mini-site-cta {
  display: inline-block;
  padding: 6px 14px;
  background: var(--coral);
  color: #111;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
}

/* ==========================================================================
   SECCIÓN TANDYSUITE: EL ECOSISTEMA TANDYWEB
   Explicación honesta y demostración visual de los 4 módulos reales
   ========================================================================== */
.tandysuite-section {
  padding-top: clamp(70px, 9vw, 110px);
  padding-bottom: clamp(70px, 9vw, 110px);
  border-top: 1px solid var(--prem-border);
  border-bottom: 1px solid var(--prem-border);
  background: radial-gradient(circle at 50% 30%, rgba(255, 102, 94, 0.05) 0%, transparent 60%);
}

.suite-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  justify-content: center;
}

.suite-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--prem-border);
  color: #9ca3af;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s var(--ease);
}

.suite-tab-btn .icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.suite-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.suite-tab-btn.is-active {
  background: var(--prem-accent);
  color: #111111;
  border-color: var(--prem-accent);
  box-shadow: 0 8px 24px -6px rgba(255, 102, 94, 0.4);
}

.suite-display {
  background: var(--prem-dark-card);
  border: 1px solid var(--prem-border-strong);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

.suite-panel {
  display: none;
  animation: fadeIn 0.35s var(--ease);
}

.suite-panel.is-active {
  display: block;
}

.suite-panel__header {
  margin-bottom: 24px;
}

.suite-panel__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.suite-panel__desc {
  font-size: 15px;
  color: var(--prem-text-muted);
  max-width: 640px;
}

/* Tabla simulada de Leads */
.suite-mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.suite-mock-table th {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--prem-text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--prem-border);
}

.suite-mock-table td {
  padding: 14px;
  border-bottom: 1px solid var(--prem-border);
  color: #d1d5db;
}

.lead-status-pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.lead-status-pill--nuevo {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.lead-status-pill--contactado {
  background: rgba(234, 179, 8, 0.2);
  color: #fde047;
}

.lead-status-pill--seguimiento {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}

.lead-status-pill--cerrado {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

/* Posts Grid */
.suite-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.suite-post-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--prem-border);
  border-radius: 12px;
  padding: 16px;
}

.suite-post-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--prem-text-muted);
  margin-bottom: 10px;
}

.suite-post-card__content {
  font-size: 13.5px;
  line-height: 1.5;
  color: #e5e7eb;
}

/* ==========================================================================
   SECCIÓN AUDIOVISUAL: REPRODUCTOR PREMIUM DE ESCENAS
   Motion design interactivo y cinematográfico (HTML/CSS/SVG)
   ========================================================================== */
.audiovisual-section {
  padding-top: clamp(70px, 9vw, 110px);
  padding-bottom: clamp(70px, 9vw, 110px);
}

.av-player {
  background: #060911;
  border: 1px solid var(--prem-border-strong);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  position: relative;
}

.av-screen {
  min-height: clamp(340px, 48vw, 480px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  background: radial-gradient(circle at 50% 50%, #151d2f 0%, #060911 80%);
  overflow: hidden;
}

.av-scene {
  display: none;
  text-align: center;
  max-width: 660px;
  animation: fadeInScale 0.4s var(--ease);
}

.av-scene.is-active {
  display: block;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.av-scene__kicker {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--prem-accent);
  margin-bottom: 14px;
}

.av-scene__title {
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
  text-wrap: balance;
}

.av-scene__caption {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  color: #d1d5db;
}

.av-scene__visual {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.av-controls {
  background: #0f1624;
  padding: 16px 24px;
  border-top: 1px solid var(--prem-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.av-controls__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.av-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--prem-accent);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.av-play-btn:hover {
  transform: scale(1.06);
  background: var(--prem-accent-hover);
}

.av-progress-track {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-grow: 1;
  max-width: 360px;
}

.av-step-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.av-step-bar__fill {
  height: 100%;
  width: 0%;
  background: var(--prem-accent);
  transition: width 0.1s linear;
}

.av-step-bar.is-completed .av-step-bar__fill {
  width: 100%;
}

.av-time-display {
  font-size: 13px;
  color: var(--prem-text-muted);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   TABLA COMPARATIVA DETALLADA
   ========================================================================== */
.planes-comparison {
  padding-block: clamp(70px, 9vw, 110px);
  background: var(--paper);
  color: var(--ink);
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--prem-line-light);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
}

.comp-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.comp-table th,
.comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--prem-line-light);
  text-align: center;
}

.comp-table th:first-child,
.comp-table td:first-child {
  text-align: left;
  font-weight: 500;
  width: 40%;
}

.comp-table thead th {
  background: #f9fafb;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.comp-table thead th.is-premium-col {
  background: #fff5f4;
  color: var(--coral-deep);
  border-left: 2px solid var(--coral);
  border-right: 2px solid var(--coral);
}

.comp-table td.is-premium-col {
  background: #fffbfb;
  border-left: 2px solid var(--coral);
  border-right: 2px solid var(--coral);
  font-weight: 550;
}

.comp-category {
  background: #f3f4f6;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #4b5563;
  padding: 12px 20px !important;
}

.check-yes {
  color: var(--prem-green);
  font-weight: 700;
}

.check-no {
  color: #9ca3af;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.planes-faq {
  padding-block: clamp(60px, 8vw, 100px);
  background: #fafaf9;
  border-top: 1px solid var(--prem-line-light);
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--prem-line-light);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-card summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-card[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-card p {
  padding: 0 24px 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ==========================================================================
   CALL TO ACTION FINAL
   ========================================================================== */
.planes-cta-final {
  padding-block: clamp(70px, 9vw, 120px);
  background: radial-gradient(circle at 50% 0%, #fff0ee 0%, var(--paper) 70%);
  text-align: center;
}

.planes-cta-final__box {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 60px) clamp(24px, 4vw, 48px);
  background: #ffffff;
  border: 1px solid #ffd4d0;
  border-radius: 28px;
  box-shadow: 0 24px 60px -20px rgba(255, 102, 94, 0.18);
}

.planes-cta-final__title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.planes-cta-final__text {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 36px;
}

/* ==========================================================================
   ANIMACIONES Y RESPONSIVE REFINADO
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .planes-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .planes-hero__actions .button {
    width: 100%;
  }
  .premium-hero__price-box {
    width: 100%;
    justify-content: center;
  }
  .premium-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .premium-hero__actions .button {
    width: 100%;
  }
  .av-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .av-progress-track {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
