/* Plan accionable Telegram — capa sobre main.css */

.plan-deprecated-banner {
  margin: 0;
  padding: 0.65rem clamp(1rem, 4vw, 3rem);
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgb(245 243 239 / 0.88);
  background: rgb(74 28 42 / 0.35);
  border-bottom: 1px solid rgb(74 28 42 / 0.55);
  text-align: center;
}

.plan-deprecated-banner a {
  color: rgb(245 243 239 / 0.95);
  font-weight: 500;
}

.plan-page {
  padding-top: 4.5rem;
  min-height: 100dvh;
}

.plan-hero {
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 3rem) 2.5rem;
  border-bottom: 1px solid rgb(140 140 140 / 0.12);
  max-width: 52rem;
}

.plan-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--concrete);
}

.plan-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 500;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.plan-hero__goal {
  margin: 0;
  font-size: 1.05rem;
  color: rgb(245 243 239 / 0.88);
  max-width: 42rem;
}

.plan-hero__meta {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--concrete);
}

.plan-hero__meta li + li {
  margin-top: 0.35rem;
}

.plan-hero__meta strong {
  color: rgb(245 243 239 / 0.75);
  font-weight: 500;
}

.plan-section {
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3rem);
  max-width: 52rem;
}

.plan-section + .plan-section {
  border-top: 1px solid rgb(140 140 140 / 0.08);
}

.plan-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.plan-section__lede {
  margin: 0 0 1.5rem;
  color: var(--concrete);
  font-size: 0.95rem;
  max-width: 40rem;
}

.plan-principle {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid rgb(74 28 42 / 0.85);
  background: rgb(17 18 23 / 0.65);
  font-size: 0.92rem;
  color: rgb(245 243 239 / 0.88);
}

/* Resultados semana 1 */
.plan-outcomes {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 560px) {
  .plan-outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.plan-outcome {
  padding: 1rem 1.1rem;
  border: 1px solid rgb(140 140 140 / 0.14);
  background: rgb(17 18 23 / 0.4);
  border-radius: 2px;
}

.plan-outcome__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(245 243 239 / 0.65);
  margin-bottom: 0.45rem;
}

.plan-outcome p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgb(245 243 239 / 0.82);
}

/* Tablas */
.plan-table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.plan-table th,
.plan-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border: 1px solid rgb(140 140 140 / 0.12);
  vertical-align: top;
}

.plan-table th {
  font-weight: 500;
  color: rgb(245 243 239 / 0.9);
  background: rgb(17 18 23 / 0.85);
}

.plan-table td {
  color: rgb(245 243 239 / 0.78);
}

.plan-table .plan-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgb(74 28 42 / 0.5);
  color: rgb(245 243 239 / 0.8);
}

/* Fases */
.plan-phases {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.plan-phase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgb(140 140 140 / 0.12);
  background: linear-gradient(145deg, rgb(17 18 23 / 0.5), transparent);
}

@media (max-width: 520px) {
  .plan-phase {
    grid-template-columns: 1fr;
  }
}

.plan-phase__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: rgb(140 140 140 / 0.65);
  line-height: 1;
  min-width: 2.5rem;
}

.plan-phase__head {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--bone);
}

.plan-checklist {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: rgb(245 243 239 / 0.82);
}

.plan-checklist li {
  margin-bottom: 0.5rem;
}

.plan-checklist li::marker {
  color: var(--concrete);
}

/* Bloques copiar/pegar */
.plan-copy-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.plan-copy-block h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.6rem;
}

.plan-copy-block pre {
  margin: 0;
  padding: 1rem 1.1rem;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgb(245 243 239 / 0.85);
  background: rgb(5 5 6 / 0.85);
  border: 1px solid rgb(140 140 140 / 0.15);
  border-radius: 2px;
}

.plan-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--concrete);
  text-decoration: none;
  transition: color 0.35s var(--ease-heavy);
}

.plan-back:hover,
.plan-back:focus-visible {
  color: var(--bone);
}

.plan-footer-note {
  margin: 2rem 0 0;
  font-size: 0.8rem;
  color: var(--concrete);
}

/* Teaser en index.html */
.panel--plan-teaser {
  border-top: 1px solid rgb(140 140 140 / 0.12);
  background: linear-gradient(to bottom, var(--midnight), rgb(17 18 23 / 0.5));
}

.plan-teaser {
  max-width: 38rem;
}

.plan-teaser__txt {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgb(245 243 239 / 0.82);
}

.plan-teaser__txt code {
  font-size: 0.78em;
  padding: 0.15em 0.35em;
  background: rgb(5 5 6 / 0.65);
  border: 1px solid rgb(140 140 140 / 0.15);
  border-radius: 2px;
}

.plan-teaser__cta {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.15rem;
  border: 1px solid rgb(74 28 42 / 0.65);
  color: var(--bone);
  background: rgb(74 28 42 / 0.25);
  transition:
    background var(--dur-door) var(--ease-heavy),
    border-color 0.35s ease;
}

.plan-teaser__cta:hover,
.plan-teaser__cta:focus-visible {
  background: rgb(74 28 42 / 0.45);
  border-color: #5c2436;
}

/* —— Mapa estratégico (mapa-estrategico.html) —— */
.strategic-page {
  max-width: 56rem;
  margin: 0 auto;
}

.strategic-subnav {
  position: sticky;
  top: 3.5rem;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  margin: 0 calc(-1 * clamp(1rem, 4vw, 3rem)) 0;
  background: linear-gradient(to bottom, rgb(5 5 6 / 0.97), rgb(5 5 6 / 0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(140 140 140 / 0.12);
}

.strategic-subnav a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
  text-decoration: none;
  transition: color 0.3s var(--ease-heavy);
}

.strategic-subnav a:hover,
.strategic-subnav a:focus-visible {
  color: rgb(235 215 210 / 0.95);
}

.strategic-hero {
  padding-bottom: 0.5rem;
}

.strategic-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: 1.12;
}

.strategic-hero__lede {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgb(245 243 239 / 0.82);
  max-width: 44rem;
}

/* Ruta de lectura (mapa operativo) */
.strategic-route {
  padding: 0 clamp(1rem, 4vw, 3rem) 1.75rem;
  margin: 0;
  border-bottom: 1px solid rgb(140 140 140 / 0.1);
}

.strategic-route__title {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(180 145 155 / 0.9);
}

.strategic-route__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .strategic-route__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .strategic-route__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.strategic-route--follow {
  padding-top: 1.5rem;
  border-top: 1px solid rgb(140 140 140 / 0.08);
  margin-top: 0.5rem;
}

.strategic-route__grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .strategic-route__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.strategic-route__card {
  margin: 0;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgb(140 140 140 / 0.14);
  border-radius: 2px;
  background: rgb(17 18 23 / 0.5);
}

.strategic-route__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: rgb(74 28 42 / 0.95);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.strategic-route__card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bone);
  line-height: 1.3;
}

.strategic-route__card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgb(245 243 239 / 0.78);
}

.strategic-route__card a {
  color: rgb(235 215 210 / 0.95);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.strategic-route__card a:hover,
.strategic-route__card a:focus-visible {
  color: var(--bone);
}

.dual-identity {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

@media (min-width: 640px) {
  .dual-identity {
    grid-template-columns: 1fr 1fr;
  }
}

.identity-card {
  padding: 1.15rem 1.25rem;
  border: 1px solid rgb(140 140 140 / 0.18);
  border-radius: 2px;
  background: rgb(17 18 23 / 0.55);
}

.identity-card--alex {
  border-top: 3px solid rgb(140 140 140 / 0.45);
}

.identity-card--prive {
  border-top: 3px solid rgb(74 28 42 / 0.95);
  box-shadow: 0 0 40px rgb(74 28 42 / 0.12);
}

.identity-card__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.identity-card__role {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(180 145 155 / 0.85);
}

.identity-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgb(245 243 239 / 0.78);
}

.identity-card li + li {
  margin-top: 0.35rem;
}

.ops-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .ops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ops-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgb(140 140 140 / 0.12);
  background: rgb(5 5 6 / 0.35);
}

.ops-card__label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(74 28 42 / 0.9);
  margin-bottom: 0.4rem;
}

.ops-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgb(245 243 239 / 0.8);
}

.tier-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgb(140 140 140 / 0.14);
  border-radius: 2px;
  background: rgb(17 18 23 / 0.45);
}

.tier-card--p0 {
  border-top: 3px solid rgb(74 28 42 / 0.95);
}

.tier-card--p1 {
  border-top: 3px solid rgb(140 100 115 / 0.65);
}

.tier-card--p2 {
  border-top: 3px solid rgb(140 140 140 / 0.4);
}

.tier-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  color: rgb(235 220 215 / 0.9);
}

.tier-card ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgb(245 243 239 / 0.76);
}

.panic-flow {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: panic;
}

.panic-flow li {
  counter-increment: panic;
  position: relative;
  padding: 0.85rem 0 0.85rem 2.75rem;
  border-bottom: 1px solid rgb(140 140 140 / 0.1);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgb(245 243 239 / 0.82);
}

.panic-flow li::before {
  content: counter(panic);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
  border: 1px solid rgb(74 28 42 / 0.65);
  color: rgb(245 243 239 / 0.9);
  background: rgb(74 28 42 / 0.25);
}

.extra-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgb(245 243 239 / 0.78);
}

.extra-list li + li {
  margin-top: 0.4rem;
}

.strategic-disclaimer {
  margin: 2rem 0 0;
  padding: 1rem 1.15rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--concrete);
  border: 1px dashed rgb(140 140 140 / 0.25);
  border-radius: 2px;
}

.plan-section__title--with-icon {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.plan-section__title--with-icon::after {
  content: "";
  flex: 1;
  min-width: 3rem;
  height: 1px;
  background: linear-gradient(90deg, rgb(74 28 42 / 0.5), transparent);
}

.yes-no-table td:first-child {
  font-weight: 500;
  color: rgb(200 220 200 / 0.85);
}

.yes-no-table td:last-child {
  color: rgb(220 180 180 / 0.75);
}

.strategic-h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 1.75rem 0 0.75rem;
}

.strategic-h3--tight {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.08rem;
}
