
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --green: #2D6B1F;
  --green-dark: #1F4D14;
  --green-light: #3a8526;
  --black: #1A1A1A;
  --gray: #6B6B6B;
  --gray-light: #B8B8B8;
  --gray-ultralight: #F0F0EC;
  --white: #FFFFFF;
  --cream: #FAFAF7;
  --accent: #C8A84B;
}
html, body { height: 100%; font-family: 'Barlow', sans-serif; background: #0A0A0A; overflow: hidden; }
.deck { width: 100vw; height: 100vh; position: relative; }
.slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: none; opacity: 0; transition: opacity 0.35s;
  background: var(--white); overflow: hidden;
}
.slide.active { display: flex; opacity: 1; }
.slide.active > * { width: 100%; min-height: 100%; }
.nav {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  background: rgba(26,26,26,0.92); padding: 10px 18px; border-radius: 50px;
  z-index: 100; box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.nav button {
  background: transparent; border: none; color: white; cursor: pointer;
  font-size: 18px; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; font-family: inherit;
}
.nav button:hover { background: var(--green); }
.nav .counter {
  color: white; font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  min-width: 50px; text-align: center;
}
.nav .brand-mini {
  color: var(--green-light); font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.2);
  text-transform: uppercase;
}
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--green); z-index: 100; transition: width 0.35s; }
@media print {
  @page { size: 1280px 720px; margin: 0; }
  html, body { overflow: visible; background: white; }
  .nav, .progress { display: none !important; }
  .deck { width: auto; height: auto; }
  .slide {
    position: relative !important; display: flex !important; opacity: 1 !important;
    width: 1280px; height: 720px;
    page-break-after: always; page-break-inside: avoid;
  }
  .slide:last-child { page-break-after: auto; }
}
.brand-header {
  position: absolute; top: 92px; left: 40px;
  display: flex; align-items: center; gap: 12px; z-index: 10;
}
.brand-header img { height: 36px; background: white; padding: 3px 5px; border-radius: 4px; }
.brand-header-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--black);
  letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.1;
}
.brand-header-text span { color: var(--green); }
.brand-header.dark .brand-header-text { color: white; }
.top-tabs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(250,250,247,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.top-tabs .tab {
  color: var(--black);
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.top-tabs .tab:hover,
.top-tabs .tab.active {
  background: rgba(45,107,31,0.12);
  color: var(--green);
}
.slide-number {
  position: absolute; bottom: 12px; right: 40px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; font-weight: 700; color: var(--gray);
  letter-spacing: 2px; z-index: 18;
}
.slide-number.dark { color: rgba(255,255,255,0.5); }

/* Investment thesis / data report style — clean, structured, professional */

/* SLIDE 1: PORTADA */
.p4-cover {
  width: 100%; height: 100%;
  background: var(--white);
  display: flex;
  position: relative;
  overflow: hidden;
}
.p4-cover .side-strip {
  width: 100px;
  background: var(--green);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 0;
  position: relative;
}
.p4-cover .strip-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: white;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
}
.p4-cover .strip-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: white;
  text-align: center;
  line-height: 1;
}
.p4-cover .main {
  flex: 1;
  padding: 70px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.p4-cover .main::after {
  content: ""; position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-top: 200px solid var(--gray-ultralight);
  border-left: 200px solid transparent;
}
.p4-cover .top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 2px solid var(--black);
  padding-bottom: 12px;
}
.p4-cover .top-meta .doc-id { color: var(--green); font-weight: 700; }
.p4-cover .center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.p4-cover .tag-line {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
  font-weight: 700;
}
.p4-cover h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 110px;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 22px;
}
.p4-cover h1 .accent { color: var(--green); }
.p4-cover .subtitle {
  font-size: 21px;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.4;
  max-width: 640px;
  margin-bottom: 36px;
}
.p4-cover .pillars {
  display: flex;
  gap: 40px;
}
.p4-cover .pillar {
  border-left: 3px solid var(--green);
  padding-left: 14px;
}
.p4-cover .pillar .p-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 2px;
}
.p4-cover .pillar .p-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.p4-cover .footer-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 2px;
  border-top: 1px solid var(--gray-light);
  padding-top: 14px;
}

/* SLIDE 2: RESUMEN EJECUTIVO — los 3 pilares */
.p4-summary {
  width: 100%; height: 100%;
  padding: 90px 80px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.p4-summary .top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 50px;
}
.p4-summary .top-left .doc-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  font-weight: 700;
}
.p4-summary h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--black);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.p4-summary h2 span { color: var(--green); }
.p4-summary .top-right p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gray);
}
.p4-summary .top-right p b { color: var(--black); font-weight: 600; }
.p4-summary .pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  flex: 1;
}
.p4-summary .pcard {
  background: white;
  padding: 30px 28px;
  border-top: 5px solid var(--green);
  display: flex;
  flex-direction: column;
  position: relative;
}
.p4-summary .pcard .badge {
  position: absolute;
  top: 24px; right: 24px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 2px;
  font-weight: 700;
}
.p4-summary .pcard .icon {
  font-size: 38px;
  margin-bottom: 14px;
}
.p4-summary .pcard h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}
.p4-summary .pcard .desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.p4-summary .pcard .stats {
  border-top: 1px solid var(--gray-ultralight);
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.p4-summary .pcard .stat-lbl {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
}
.p4-summary .pcard .stat-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  margin-top: 2px;
}

/* SLIDE 3 / 4 / 5 — Pilar (same template) */
.p4-pillar {
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.p4-pillar .left {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.p4-pillar .left::before {
  content: "01";
  position: absolute;
  top: 70px;
  right: 50px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 200px;
  font-weight: 900;
  color: var(--gray-ultralight);
  line-height: 0.8;
  z-index: 0;
}
.p4-pillar.p2 .left::before { content: "02"; }
.p4-pillar.p3 .left::before { content: "03"; }
.p4-pillar .left > * { position: relative; z-index: 1; }
.p4-pillar .tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.p4-pillar .tag::before {
  content: ""; width: 24px; height: 2px; background: var(--green);
}
.p4-pillar h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 0.92;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.p4-pillar h2 span { color: var(--green); }
.p4-pillar .lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 28px;
  max-width: 480px;
}
.p4-pillar .lead b { color: var(--black); font-weight: 600; }
.p4-pillar .evidence {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p4-pillar .ev-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-ultralight);
}
.p4-pillar .ev-num {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 1px;
}
.p4-pillar .ev-text {
  font-size: 13.5px;
  color: var(--black);
  line-height: 1.5;
  font-weight: 500;
}
.p4-pillar .right {
  background: var(--green);
  color: white;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.p4-pillar .right.dark { background: var(--black); }
.p4-pillar .right::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,0.05);
}
.p4-pillar .right > * { position: relative; z-index: 1; }
.p4-pillar .right .data-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 10px;
}
.p4-pillar .right .data-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.p4-pillar .right .indicators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.p4-pillar .right .ind {
  padding-top: 14px;
  border-top: 2px solid rgba(255,255,255,0.3);
}
.p4-pillar .right .ind-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.p4-pillar .right .ind-val .sm { font-size: 26px; opacity: 0.85; }
.p4-pillar .right .ind-lbl {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 500;
}
.p4-pillar .right .quote {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 2px solid rgba(255,255,255,0.3);
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  opacity: 0.9;
}

/* SLIDE 6 — Oportunidad sintética */
.p4-conv {
  width: 100%; height: 100%;
  padding: 90px 80px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  position: relative;
}
.p4-conv .tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 14px;
}
.p4-conv h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 0.95;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 30px;
  max-width: 880px;
}
.p4-conv h2 span { color: var(--green); }
.p4-conv .body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  flex: 1;
}
.p4-conv .casa-card {
  background: white;
  padding: 0;
  border-top: 5px solid var(--green);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.p4-conv .casa-card .img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.p4-conv .casa-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.p4-conv .casa-card .body-card {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.p4-conv .casa-card .label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--green);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
}
.p4-conv .casa-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}
.p4-conv .casa-card .specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--gray-ultralight);
  padding-top: 14px;
}
.p4-conv .casa-card .spec {
  font-size: 12px;
  color: var(--black);
  display: flex; gap: 8px; align-items: center;
}
.p4-conv .casa-card .spec b { color: var(--green); }

.p4-conv .thesis {
  display: flex; flex-direction: column;
  justify-content: center;
}
.p4-conv .thesis-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--green); font-weight: 700; margin-bottom: 14px;
}
.p4-conv .thesis h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.p4-conv .thesis-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p4-conv .thesis-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  background: white;
  padding: 14px 16px;
  border-left: 3px solid var(--green);
}
.p4-conv .thesis-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.p4-conv .thesis-text {
  font-size: 13.5px;
  color: var(--black);
  line-height: 1.5;
  font-weight: 500;
}
.p4-conv .thesis-text b { color: var(--green); }

/* SLIDE 7 — Cierre / Contacto */
.p4-cta {
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--black);
  color: white;
}
.p4-cta .left {
  padding: 90px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.p4-cta .left::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%);
}
.p4-cta .tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-light);
  font-weight: 700;
  margin-bottom: 16px;
}
.p4-cta h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 78px;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.p4-cta h2 span { color: var(--green-light); }
.p4-cta .sub {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 30px;
  max-width: 480px;
}
.p4-cta .checklist {
  display: flex; flex-direction: column; gap: 8px;
}
.p4-cta .checklist .item {
  display: flex; gap: 10px; align-items: center;
  font-size: 13px; opacity: 0.9;
}
.p4-cta .checklist .check {
  color: var(--green-light); font-weight: 900;
}
.p4-cta .right {
  background: var(--green);
  padding: 90px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.p4-cta .right::before {
  content: "99"; position: absolute;
  bottom: -100px; right: -50px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 480px; font-weight: 900;
  color: rgba(0,0,0,0.1); line-height: 0.8;
}
.p4-cta .right > * { position: relative; z-index: 1; }
.p4-cta .right .wa-label {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.95;
  margin-bottom: 14px;
}
.p4-cta .right .wa-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 70px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 14px;
}
.p4-cta .right .wa-icon { font-size: 50px; }
.p4-cta .right .wa-hint {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 36px;
}
.p4-cta .right .brand-card {
  background: rgba(0,0,0,0.15);
  border-left: 3px solid white;
  padding: 18px 22px;
}
.p4-cta .right .brand-card .bn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.p4-cta .right .brand-card .bs {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}
.p4-cta .right .brand-card .loc {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.9;
  display: flex; gap: 8px; align-items: center;
}

/* =====================================================
   RESPONSIVE — tablets, móviles y pantallas pequeñas
   Cada slide hace scroll vertical interno cuando el
   contenido excede la altura de la pantalla.
   ===================================================== */

/* Tablets y pantallas medianas */
@media (max-width: 1100px) {
  .p4-cover .main { padding: 60px 50px; }
  .p4-cover h1 { font-size: 84px; }
  .p4-cover .subtitle { font-size: 18px; }
  .p4-summary { padding: 70px 50px; }
  .p4-summary h2 { font-size: 46px; }
  .p4-pillar .left,
  .p4-pillar .right { padding: 60px 45px; }
  .p4-pillar h2 { font-size: 52px; }
  .p4-pillar .left::before { font-size: 150px; top: 50px; right: 30px; }
  .p4-pillar .right .data-headline { font-size: 34px; }
  .p4-pillar .right .ind-val { font-size: 36px; }
  .p4-conv { padding: 70px 50px; }
  .p4-conv h2 { font-size: 48px; }
  .p4-cta .left,
  .p4-cta .right { padding: 70px 45px; }
  .p4-cta h2 { font-size: 62px; }
  .p4-cta .right .wa-num { font-size: 56px; }
}

/* Móviles y pantallas pequeñas — scroll vertical interno por slide */
@media (max-width: 768px) {
  html, body { overflow: hidden; }
  .deck { height: 100vh; height: 100dvh; }

  .slide {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .slide.active { display: block; }
  .slide.active > * {
    min-height: auto;
    height: auto;
  }

  /* Deja espacio para la nav fija inferior */
  .deck { padding-bottom: 0; }
  .slide > *:last-child,
  .p4-cover, .p4-summary, .p4-pillar, .p4-conv, .p4-cta {
    padding-bottom: 110px !important;
  }

  /* Brand header — fluye con el contenido */
  .brand-header {
    position: relative;
    top: auto; left: auto;
    margin-bottom: 18px;
  }
  .brand-header img { height: 30px; }
  .brand-header-text { font-size: 12px; }

  /* Slide number */
  .slide-number {
    position: relative;
    bottom: auto; right: auto;
    margin-top: 24px;
    text-align: right;
    padding-right: 20px;
  }

  /* Nav inferior — un poco más compacto */
  .nav {
    bottom: 12px;
    padding: 8px 14px;
    gap: 10px;
  }
  .nav .brand-mini { display: none; }
  .nav button { width: 36px; height: 36px; font-size: 16px; }

  /* ============== SLIDE 1: PORTADA ============== */
  .p4-cover {
    flex-direction: column;
    height: auto;
    min-height: 100%;
  }
  .p4-cover .side-strip {
    width: 100%;
    flex-direction: row;
    padding: 14px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .p4-cover .strip-label {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 9px;
    letter-spacing: 2px;
    text-align: left;
    flex: 1;
  }
  .p4-cover .strip-number { font-size: 30px; }
  .p4-cover .main {
    padding: 28px 22px;
    min-height: auto;
  }
  .p4-cover .main::after { display: none; }
  .p4-cover .top-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 2px;
  }
  .p4-cover .center { padding: 30px 0; }
  .p4-cover .tag-line {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }
  .p4-cover h1 {
    font-size: 48px;
    line-height: 0.95;
    letter-spacing: -1px;
    margin-bottom: 18px;
  }
  .p4-cover .subtitle {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .p4-cover .pillars {
    flex-direction: column;
    gap: 14px;
  }
  .p4-cover .footer-meta {
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
    margin-top: 24px;
  }

  /* ============== SLIDE 2: RESUMEN ============== */
  .p4-summary {
    padding: 28px 22px;
    height: auto;
    min-height: 100%;
  }
  .p4-summary .top {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 28px;
  }
  .p4-summary h2 {
    font-size: 36px;
    line-height: 1;
  }
  .p4-summary .top-right p {
    font-size: 14px;
    line-height: 1.55;
  }
  .p4-summary .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .p4-summary .pcard {
    padding: 22px 20px;
  }
  .p4-summary .pcard h3 {
    font-size: 22px;
    padding-right: 70px;
  }
  .p4-summary .pcard .icon { font-size: 30px; }

  /* ============== SLIDES 3/4/5: PILARES ============== */
  .p4-pillar {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100%;
  }
  .p4-pillar .left,
  .p4-pillar .right {
    padding: 30px 22px;
  }
  .p4-pillar .left::before {
    font-size: 110px;
    top: 20px;
    right: 18px;
  }
  .p4-pillar h2 {
    font-size: 38px;
    line-height: 0.95;
    margin-bottom: 16px;
  }
  .p4-pillar .lead {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .p4-pillar .ev-item {
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }
  .p4-pillar .ev-text { font-size: 13px; }
  .p4-pillar .right::after {
    width: 280px; height: 280px;
    bottom: -120px; right: -120px;
    border-width: 50px;
  }
  .p4-pillar .right .data-headline {
    font-size: 26px;
    margin-bottom: 22px;
  }
  .p4-pillar .right .indicators {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .p4-pillar .right .ind-val { font-size: 30px; }
  .p4-pillar .right .ind-val .sm { font-size: 18px; }
  .p4-pillar .right .quote { font-size: 13px; }

  /* ============== SLIDE 6: OPORTUNIDAD ============== */
  .p4-conv {
    padding: 28px 22px;
    height: auto;
    min-height: 100%;
  }
  .p4-conv h2 {
    font-size: 34px;
    margin-bottom: 22px;
  }
  .p4-conv .body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .p4-conv .casa-card .img-wrap { height: 180px; }
  .p4-conv .thesis h3 { font-size: 26px; }
  .p4-conv .thesis-text { font-size: 13px; }

  /* ============== SLIDE 7: CIERRE ============== */
  .p4-cta {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100%;
  }
  .p4-cta .left,
  .p4-cta .right {
    padding: 30px 22px;
  }
  .p4-cta h2 {
    font-size: 44px;
    line-height: 0.95;
    margin-bottom: 18px;
  }
  .p4-cta .sub {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .p4-cta .right::before {
    font-size: 280px;
    bottom: -60px; right: -30px;
  }
  .p4-cta .right .wa-num {
    font-size: 44px;
    gap: 10px;
  }
  .p4-cta .right .wa-icon { font-size: 32px; }
  .p4-cta .right .brand-card .bn { font-size: 24px; }
}

/* Móviles muy pequeños */
@media (max-width: 380px) {
  .p4-cover h1 { font-size: 40px; }
  .p4-summary h2 { font-size: 30px; }
  .p4-pillar h2 { font-size: 32px; }
  .p4-conv h2 { font-size: 28px; }
  .p4-cta h2 { font-size: 36px; }
  .p4-cta .right .wa-num { font-size: 36px; }
}

/* Pantallas muy bajas (orientación landscape en móvil) */
@media (max-height: 500px) and (max-width: 900px) {
  html, body { overflow: hidden; }
  .slide {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .slide.active { display: block; }
  .slide.active > * { min-height: auto; height: auto; }
  .p4-cover, .p4-summary, .p4-pillar, .p4-conv, .p4-cta {
    padding-bottom: 90px !important;
  }
}
