/* ================================================================
   DC MEDIOS — SISTEMA DE ESTILOS PARA COTIZACIONES & PROPUESTAS
   Inspirado en el Design System oficial y formato corporativo
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Inter+Tight:wght@500;600;700;800&display=swap');

:root {
  /* Paleta DC Medios */
  --bg-light: #f4f4f4;
  --bg-white: #ffffff;
  --text-dark: #11100e;
  --accent: #ff5d03;
  --accent-hover: #e55200;
  
  /* Degradados de Acento Oficiales */
  --grad-1: #ff4001;
  --grad-2: #ff5d03;
  --grad-3: #ff7a07;
  --grad-4: #ff9539;
  --accent-gradient: linear-gradient(135deg, var(--grad-1) 0%, var(--grad-2) 50%, var(--grad-3) 100%);
  
  /* Superficie Oscura */
  --bg-dark: #11100e;
  --card-dark: #181715;
  --card-dark-hover: #22201d;
  --text-on-dark: #f4f4f4;
  --text-on-clr: #f4f4f4;
  
  /* Tonos neutros */
  --muted: #675f5c;
  --muted-light: #948c89;
  --border-light: #e8e5e3;
  --border-dark: #262421;

  /* Rejillas / Grids ultra sutiles (18px) */
  --grid-size: 18px;
  --grid-on-clr: rgba(255, 255, 255, 0.045);
  --grid-on-dark: rgba(255, 255, 255, 0.018);
  --grid-light: rgba(0, 0, 0, 0.016);

  /* Tipografías: Inter Tight (Headings) e Inter (Body) */
  --font-heading: 'Inter Tight', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radios */
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
}

/* ================================================================
   ANIMACIÓN HIPNÓTICA DE GRADIENTE
   ================================================================ */
@keyframes gradient-wave {
  0% { background-position: 0% 50%; }
  25% { background-position: 100% 50%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

/* ================================================================
   RESET Y BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  font-feature-settings: "cv05" 1;
}

/* ================================================================
   BARRA DE ACCIONES FLOTANTE (ESTILO CÁPSULA CLARA SEGÚN DISEÑO)
   ================================================================ */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  background: #f4f3f0;
  padding: 6px 8px;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

/* Botón Aceptar Cotización (Naranja Nivelado a la Izquierda) */
.action-btn-accept {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.action-btn-accept:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Botones Circulares Grises (Descargar PDF e Índice Burger) */
.action-btn-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4e2de;
  color: #706a66;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.action-btn-circle:hover {
  background: #d6d3cd;
  color: var(--text-dark);
  transform: translateY(-1px);
}

/* ================================================================
   PANEL DE ÍNDICE / MENU FLOTANTE (ESTILO CLARO)
   ================================================================ */
.index-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.index-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.index-menu-panel {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
  z-index: 1002;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.index-menu-panel.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.index-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.index-menu-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.index-menu-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.index-menu-close:hover {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.04);
}

.index-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.index-nav-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: #383431;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.index-nav-item a:hover {
  background: rgba(255, 93, 3, 0.08);
  color: var(--accent);
  padding-left: 16px;
}

.index-nav-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  min-width: 22px;
}

/* ================================================================
   CONTENEDOR DE LÁMINAS INMERSIVO (FULL-WIDTH EXTREMO A EXTREMO)
   ================================================================ */
.slides-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Cada lámina ocupa el ancho completo y pantalla completa inmersiva */
.slide-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5vw 8vw;
  box-shadow: none;
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── FONDOS CON GRID ULTRA SUTIL (18px) ── */
.slide-orange {
  background: var(--accent-gradient);
  color: var(--text-on-clr);
  background-image: 
    linear-gradient(to right, var(--grid-on-clr) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-on-clr) 1px, transparent 1px),
    var(--accent-gradient);
  background-size: var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
}

.slide-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  background-image: 
    linear-gradient(to right, var(--grid-on-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-on-dark) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

.slide-light {
  background-color: #f7f6f5;
  color: var(--text-dark);
  background-image: 
    linear-gradient(to right, var(--grid-light) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-light) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

/* ================================================================
   CABECERA Y PIE DE LÁMINA (ALINEACIÓN EXTREMO A EXTREMO)
   ================================================================ */
.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 40px;
}

/* Logo DCM en cabecera: negro en fondos claros, #f4f4f4 en oscuros/color */
.slide-logo-dcm {
  height: 30px;
  width: auto;
  display: block;
}

.slide-light .slide-logo-dcm {
  color: var(--text-dark);
  fill: var(--text-dark);
}

.slide-dark .slide-logo-dcm,
.slide-orange .slide-logo-dcm {
  color: #f4f4f4;
  fill: #f4f4f4;
  filter: brightness(0) invert(96%);
}

.slide-client-tag {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
}

.slide-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.75;
  border-top: 1px solid transparent;
  padding-top: 20px;
}

.slide-orange .slide-footer {
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f4f4;
}
.slide-dark .slide-footer {
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--muted-light);
}
.slide-light .slide-footer {
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--muted);
}

/* ================================================================
   LÁMINA 1: PORTADA HERO
   ================================================================ */
.hero-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  text-align: center;
}

.hero-logo-img {
  width: 520px;
  max-width: 85%;
  height: auto;
  filter: brightness(0) invert(96%) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

/* ================================================================
   LÁMINA 2: PRESENTACIÓN DE PAQUETE
   ================================================================ */
.package-intro-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 100%;
  gap: 36px;
}

.package-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text-dark);
}

.package-meta-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.package-meta-item {
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.35;
}

.package-meta-label {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-heading);
  display: block;
}

.package-meta-val {
  color: var(--text-dark);
  font-weight: 600;
}

/* ================================================================
   LÁMINA 3: OBJETIVO ESTRATÉGICO (100% ANCHO NIVELADO AL EXTREMO)
   ================================================================ */
.objective-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 100%;
  gap: 36px;
}

/* Bloque / Banner Naranja que ocupa el 100% del ancho con gradiente animado */
.objective-box-banner {
  width: 100%;
  background: linear-gradient(135deg, var(--grad-1) 0%, var(--grad-2) 40%, var(--grad-3) 70%, var(--grad-4) 100%);
  background-size: 250% 250%;
  animation: gradient-wave 8s ease alternate infinite;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px) clamp(32px, 4vw, 52px);
  box-shadow: none; /* Sin resplandor */
  display: flex;
  align-items: center;
}

.objective-box-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.02em;
  color: #f4f4f4;
  line-height: 1.1;
}

.objective-statement {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #f4f4f4;
  width: 100%;
}

.text-accent-highlight {
  color: var(--accent);
}

/* ================================================================
   LÁMINA 4: FASES DE EJECUCIÓN (3 COLUMNAS INTERACTIVAS)
   ================================================================ */
.slide-heading-large {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  flex: 1;
  width: 100%;
  align-items: stretch;
}

.phase-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.3s ease, 
              color 0.2s ease,
              border-color 0.3s ease;
}

.phase-pill {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--muted);
  transition: all 0.2s ease;
}

.phase-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 20px;
  padding-right: 50px;
  color: inherit;
  transition: color 0.2s ease;
}

.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.45;
  color: inherit;
}

.phase-list li {
  position: relative;
  padding-left: 16px;
}

.phase-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent);
  font-size: 15px;
  transition: color 0.2s ease;
}

/* ── ESTADO HOVER, FOCUS Y TOUCH (ACTIVACIÓN EN NARANJA CON GRADIENTE) ── */
.phase-card:hover,
.phase-card:focus,
.phase-card.is-active {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3), var(--grad-4));
  background-size: 250% 250%;
  animation: gradient-wave 8s ease alternate infinite;
  color: #f4f4f4;
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(255, 93, 3, 0.25);
}

.phase-card:hover .phase-pill,
.phase-card:focus .phase-pill,
.phase-card.is-active .phase-pill {
  background: rgba(0, 0, 0, 0.18);
  color: #f4f4f4;
}

.phase-card:hover .phase-list li::before,
.phase-card:focus .phase-list li::before,
.phase-card.is-active .phase-list li::before {
  color: #f4f4f4;
}

/* ================================================================
   LÁMINA 5: ENTREGABLES Y CONDICIONANTES
   ================================================================ */
.deliverables-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 100%;
  gap: 36px;
}

.deliverables-section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #f4f4f4;
}

.bullet-list-custom {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.45;
  color: rgba(244, 244, 244, 0.95);
}

.bullet-list-custom li {
  position: relative;
  padding-left: 22px;
}

.bullet-list-custom li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  color: #f4f4f4;
}

.deliverables-note {
  font-size: 14px;
  opacity: 0.85;
  font-style: italic;
  margin-top: 8px;
}

/* ================================================================
   LÁMINA 6: INVERSIONES ESTRATÉGICAS (FRANJA DE EXTREMO A EXTREMO)
   ================================================================ */
.pricing-table-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  justify-content: center;
  gap: 24px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-table td {
  padding: 18px 14px;
  vertical-align: middle;
}

.td-service-title {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 800; /* Extra Bold */
  line-height: 1.25;
  color: var(--text-dark);
  width: 25%;
}

.td-service-desc {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--muted);
  width: 35%;
  line-height: 1.4;
}

.td-service-duration {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700; /* Bold */
  color: var(--text-dark);
  width: 12%;
  font-feature-settings: "tnum" 1;
}

.td-service-type {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--muted);
  width: 13%;
}

.td-service-price {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 800; /* Extra Bold */
  color: var(--accent);
  text-align: right;
  width: 15%;
  font-feature-settings: "tnum" 1;
}

/* ── FRANJA DE TOTAL: DE EXTREMO A EXTREMO HORIZONTAL CON GRADIENTE HIPNÓTICO ── */
.pricing-total-strip {
  width: calc(100% + 16vw);
  margin-left: -8vw;
  margin-right: -8vw;
  padding: 22px 8vw;
  background: linear-gradient(120deg, var(--grad-1) 0%, var(--grad-2) 30%, var(--grad-3) 65%, var(--grad-4) 85%, var(--grad-1) 100%);
  background-size: 250% 250%;
  animation: gradient-wave 7s ease alternate infinite;
  box-shadow: none; /* Sin resplandor */
  border-radius: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pricing-total-inner {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: clamp(24px, 3vw, 48px);
  width: 100%;
  max-width: 100%;
}

.pricing-total-label {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800; /* Extra Bold */
  text-align: right;
  letter-spacing: -0.02em;
  color: #f4f4f4;
}

.pricing-total-amount {
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800; /* Extra Bold */
  text-align: right;
  color: #f4f4f4;
  font-feature-settings: "tnum" 1;
}

/* ── LINK A TÉRMINOS Y CONDICIONES EN LÁMINA 6 ── */
.pricing-terms-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.pricing-terms-note strong {
  color: var(--text-dark);
}
.terms-anchor-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.terms-anchor-link:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

/* ================================================================
   MODAL DE CONDICIONES COMERCIALES (DOCUMENTO INSTITUCIONAL)
   ================================================================ */
.terms-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 16, 14, 0.88);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.terms-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.terms-modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  width: 860px;
  max-width: 95vw;
  height: 82vh;
  max-height: 820px;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.terms-modal-overlay.active .terms-modal-container {
  transform: translateY(0) scale(1);
}

/* Barra de progreso de lectura superior */
.terms-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.06);
}
.terms-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  transition: width 0.1s ease;
}

.terms-modal-header {
  padding: 24px 32px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #faf9f8;
}

.terms-modal-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.terms-modal-subtitle {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Cuerpo con Scroll para lectura continua */
.terms-scrollable-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-behavior: smooth;
}

.terms-clause-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.terms-clause-item:last-child {
  border-bottom: none;
}

.terms-clause-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.terms-clause-num {
  color: var(--accent);
  font-size: 14px;
}

.terms-clause-text {
  font-size: 14px;
  line-height: 1.6;
  color: #383431;
  text-align: justify;
}

.terms-end-seal {
  margin-top: 12px;
  padding: 16px;
  background: #f7f6f5;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  border: 1px dashed rgba(0,0,0,0.12);
}

/* Pie del modal condicionado al scroll */
.terms-modal-footer {
  padding: 16px 32px;
  background: #faf9f8;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.terms-scroll-hint {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.terms-modal-done-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.terms-modal-done-btn.disabled {
  background: #e4e2de;
  color: #9e9894;
  cursor: not-allowed;
  opacity: 0.8;
}

.terms-modal-done-btn.ready {
  background: var(--accent-gradient);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 93, 3, 0.35);
}
.terms-modal-done-btn.ready:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 93, 3, 0.5);
}

/* ── BOTÓN INSTAGRAM EN TESTIMONIOS ── */
.testi-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.2s ease;
  margin-top: 4px;
  width: fit-content;
}
.testi-ig-link:hover {
  background: var(--accent);
  color: #ffffff;
}

/* ================================================================
   LÁMINA 7: CASOS DE ÉXITO & PRUEBA SOCIAL
   ================================================================ */
.social-proof-layout {
  display: flex;
  gap: 40px;
  flex: 1;
  width: 100%;
  align-items: center;
}

.social-proof-heading-col {
  flex: 1;
}

.social-proof-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #f4f4f4;
}

.social-proof-cards-col {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
}

/* ── 3D FLIP CARD SYSTEM PARA RESULTADOS ORGÁNICOS (9:16 VERTICAL REEL PURO) ── */
.flip-metric-card {
  perspective: 1200px;
  height: clamp(420px, 46vh, 490px);
  aspect-ratio: 9 / 16;
  width: auto;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
}

.flip-metric-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.34, 1.25, 0.64, 1);
  transform-style: preserve-3d;
  border-radius: var(--radius-md);
}

.flip-metric-card:hover .flip-metric-inner,
.flip-metric-card:focus .flip-metric-inner,
.flip-metric-card.is-flipped .flip-metric-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ── CARA FRONTAL: Portada del Video ── */
.flip-card-front {
  background: #191816;
  display: flex;
  flex-direction: column;
  position: relative;
}

.flip-video-cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.flip-metric-card:hover .flip-video-cover-bg {
  transform: scale(1.05);
}

.flip-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,16,14,0.3) 0%, rgba(17,16,14,0.1) 40%, rgba(17,16,14,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  z-index: 2;
}

.flip-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flip-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(17, 16, 14, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.flip-play-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.flip-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 93, 3, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  z-index: 5;
}
.flip-play-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 28px rgba(255, 93, 3, 0.85);
}
.flip-play-btn svg {
  margin-left: 3px;
}

.flip-front-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.flip-flip-hint {
  font-size: 11px;
  color: #f4f4f4;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(17, 16, 14, 0.75);
  backdrop-filter: blur(10px);
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.flip-metric-card:hover .flip-flip-hint {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── CARA TRASERA: Estadísticas Orgánicas ── */
.flip-card-back {
  background: var(--card-dark);
  transform: rotateY(180deg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-dark);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.flip-back-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.flip-back-platform-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.flip-back-organic-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 93, 3, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flip-stats-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.flip-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.flip-stat-label {
  font-size: 13px;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.flip-stat-num {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  font-feature-settings: "tnum" 1;
}

.flip-back-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: 4px;
}
.flip-back-action-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* ================================================================
   LÁMINA 8: TESTIMONIOS APILADOS INTERACTIVOS (STACKED DECK GRANDE)
   ================================================================ */
.testimonials-section-layout {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}

.testimonials-heading {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.8vw, 60px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--text-dark);
}

.testimonials-deck {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 480px;
  padding: 30px 0 50px;
  flex: 1;
}

.testi-stack-card {
  position: absolute;
  width: clamp(360px, 28vw, 460px);
  min-height: 380px;
  max-width: 88vw;
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
  cursor: pointer;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              z-index 0.1s ease;
}

/* Posiciones en abanico amplio */
.testi-stack-card:nth-child(1) {
  left: calc(50% - 500px);
  transform: rotate(-7deg) translateY(18px);
  z-index: 1;
}

.testi-stack-card:nth-child(2) {
  left: calc(50% - 250px);
  transform: rotate(-2.5deg) translateY(-8px);
  z-index: 2;
}

.testi-stack-card:nth-child(3) {
  left: calc(50% + 0px);
  transform: rotate(2.5deg) translateY(-10px);
  z-index: 3;
}

.testi-stack-card:nth-child(4) {
  left: calc(50% + 250px);
  transform: rotate(7deg) translateY(16px);
  z-index: 4;
}

/* Estado Expandido al pasar el mouse o dar tap */
.testi-stack-card:hover,
.testi-stack-card:focus,
.testi-stack-card.is-active {
  transform: translateY(-34px) rotate(0deg) scale(1.06) !important;
  z-index: 50 !important;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18), 0 0 0 2px var(--accent);
  border-color: transparent;
  background: #ffffff;
}

.testi-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.testi-quote-text {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  color: #24211e;
  font-weight: 500;
  flex: 1;
}

.testi-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.testi-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2dede;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.testi-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testi-author-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.testi-author-role {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ================================================================
   LÁMINA 9: PREGUNTAS FRECUENTES (FAQ OSCURA INTERACTIVA)
   ================================================================ */
.faq-section-layout {
  display: flex;
  gap: 60px;
  flex: 1;
  width: 100%;
  align-items: flex-start;
  padding-top: 10px;
}

.faq-heading-col {
  width: 38%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faq-heading-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #f4f4f4;
}

.faq-heading-desc {
  font-size: 15px;
  color: var(--muted-light);
  line-height: 1.5;
  max-width: 380px;
}

.faq-accordion-col {
  width: 62%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-dark);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(255, 93, 3, 0.4);
  background: #1c1b18;
}

.faq-header-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question-text {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 700;
  color: #f4f4f4;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.faq-item.is-open .faq-question-text {
  color: #ffffff;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-item.is-open .faq-toggle-icon {
  background: var(--accent);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-answer-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.25s ease, 
              padding 0.35s ease;
  padding: 0 22px;
}

.faq-item.is-open .faq-answer-panel {
  max-height: 200px;
  opacity: 1;
  padding: 0 22px 20px 22px;
}

.faq-answer-text {
  font-size: 14px;
  line-height: 1.55;
  color: #bbb6b2;
}

/* ================================================================
   LÁMINA 10: CIERRE Y CONTACTO
   ================================================================ */
.closing-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 100%;
  gap: 40px;
}

.closing-statement {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 800; /* Extra Bold */
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #f4f4f4;
  max-width: 1100px;
}

.closing-contacts-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #f4f4f4;
  letter-spacing: 0.01em;
}

.closing-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4f4f4;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.closing-contact-item:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ================================================================
   RESPONSIVE DESIGN (MÓVILES Y TABLETS - 100% PANTALLA COMPLETA 100DVH)
   =============================================================== */
@media screen and (max-width: 1024px) {
  .slide-page {
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .slide-header {
    margin-bottom: 20px;
  }

  .slide-footer {
    margin-top: 24px;
    padding-top: 14px;
  }

  .phases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .commercial-terms-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* ── LÁMINA 6: INVERSIONES ESTRATÉGICAS RESPONSIVE (SIN CORTES) ── */
  .pricing-table-container {
    width: 100%;
    gap: 18px;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .pricing-table tr {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    gap: 8px;
    box-sizing: border-box;
  }

  .pricing-table td {
    padding: 0;
    width: 100% !important;
    text-align: left;
    border: none;
  }

  .td-service-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
  }

  .td-service-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
  }

  .td-service-duration,
  .td-service-type {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 6px;
    width: auto !important;
    color: var(--text-dark);
  }

  .td-service-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    text-align: right !important;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
  }

  .pricing-total-strip {
    width: calc(100% + clamp(40px, 8vw, 64px));
    margin-left: calc(-1 * clamp(20px, 4vw, 32px));
    margin-right: calc(-1 * clamp(20px, 4vw, 32px));
    padding: 16px clamp(20px, 4vw, 32px);
    border-radius: 0;
    box-sizing: border-box;
  }

  .pricing-total-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .pricing-total-label {
    font-size: clamp(15px, 3.5vw, 18px);
    text-align: left;
  }

  .pricing-total-amount {
    font-size: clamp(22px, 5vw, 30px);
    text-align: right;
  }

  /* ── LÁMINA 8: TESTIMONIOS RESPONSIVE ── */
  .testimonials-deck {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: auto;
    padding: 10px 0;
  }

  .testi-stack-card {
    position: static;
    width: 100%;
    max-width: 100%;
    transform: none !important;
  }

  /* ── LÁMINA 7: RESULTADOS ORGÁNICOS RESPONSIVE ── */
  .social-proof-layout {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }

  .social-proof-heading-col {
    width: 100%;
  }

  .social-proof-cards-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    gap: 24px;
    align-items: center;
  }

  .social-proof-cards-col .flip-metric-card {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
  }

  /* ── LÁMINA 9: FAQ RESPONSIVE ── */
  .faq-section-layout {
    flex-direction: column;
    gap: 24px;
  }

  .faq-heading-col,
  .faq-accordion-col {
    width: 100%;
  }

  .closing-contacts-bar {
    gap: 16px;
  }

  .floating-actions {
    bottom: 16px;
    right: 16px;
    padding: 4px 6px;
    gap: 6px;
  }

  .action-btn-accept {
    padding: 8px 16px;
    font-size: 13px;
  }

  .action-btn-circle {
    width: 36px;
    height: 36px;
  }
}

/* ================================================================
   REGLAS DE IMPRESIÓN Y PDF (@MEDIA PRINT)
   ================================================================ */
@media print {
  @page {
    size: 297mm 167mm; /* 16:9 Landscape */
    margin: 0;
  }

  html, body {
    background-color: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .floating-actions,
  .index-menu-overlay,
  .index-menu-panel {
    display: none !important;
  }

  .slides-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .slide-page {
    width: 297mm !important;
    height: 167mm !important;
    min-height: 167mm !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 24mm 24mm !important;
    margin: 0 !important;
    page-break-after: always !important;
    break-after: page !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .pricing-total-strip {
    width: calc(100% + 48mm) !important;
    margin-left: -24mm !important;
    margin-right: -24mm !important;
    padding: 16px 24mm !important;
    background: var(--accent-gradient) !important;
    animation: none !important;
  }

  .slide-orange {
    background: var(--accent-gradient) !important;
    color: #f4f4f4 !important;
  }

  .slide-dark {
    background-color: #11100e !important;
    color: #f4f4f4 !important;
  }

  .slide-light {
    background-color: #f7f6f5 !important;
    color: #11100e !important;
  }

  .flip-metric-card {
    height: 120mm !important;
    perspective: none !important;
  }

  .flip-metric-inner {
    transform: none !important;
  }

  .flip-card-back {
    display: none !important;
  }
}
