
:root {
  --coral: #ff5464;
  --coral-dark: #e63052;
  --cream: #fdf6ee;
  --cream-2: #f5ecdf;
  --tinta: #14141c;
  --tinta-2: #23232f;
  --gris: #6b6b7a;
  --gris-2: #a8a8b3;
  --line: rgba(20, 20, 28, 0.10);
  --shadow-lg: 0 30px 80px -20px rgba(20, 20, 28, 0.35);
  --shadow-md: 0 12px 32px -8px rgba(20, 20, 28, 0.20);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--tinta);
  color: var(--tinta);
  font-family: var(--font-body);
  font-feature-settings: 'ss01', 'ss02', 'cv02', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

/* ---------- STAGE ---------- */
.deck {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--cream);
}

.slide {
  position: absolute;
  inset: 0;
  padding: 6vh 8vw 11vh 8vw;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s 0.5s;
  background: var(--cream);
  overflow-x: hidden;
  overflow-y: auto;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  z-index: 2;
}

.slide.dark { background: var(--tinta); color: var(--cream); }
.slide.dark .eyebrow { color: var(--coral); }
.slide.dark .kicker-line { background: var(--coral); }
.slide.dark .meta { color: var(--gris-2); }

/* ---------- HEADER (persistent) ---------- */
.deck-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 2.2vh 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  pointer-events: none;
  mix-blend-mode: normal;
}

.brand-mark {
  height: 3.2vh;
  min-height: 22px;
  pointer-events: auto;
}
.brand-mark img {
  height: 100%;
  display: block;
  transition: opacity 0.35s var(--ease);
}
.brand-mark img.white { position: absolute; top: 0; left: 0; opacity: 0; }
.brand-mark { position: relative; display: block; }
/* The mark is a link back to the site root; keep the affordance subtle so it
   never competes with the slide content. */
a.brand-mark { cursor: pointer; transition: transform 0.25s var(--ease-out); }
a.brand-mark:hover { transform: scale(1.05); }
/* On dark / hero-bg / finale slides swap to the white logo (keeps coral square) */
body:has(.slide.active.dark) .brand-mark img.dark,
body:has(.slide.active.hero-bg) .brand-mark img.dark,
body:has(.slide.active.slide-finale) .brand-mark img.dark {
  opacity: 0;
}
body:has(.slide.active.dark) .brand-mark img.white,
body:has(.slide.active.hero-bg) .brand-mark img.white,
body:has(.slide.active.slide-finale) .brand-mark img.white {
  opacity: 1;
}

.deck-counter {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--tinta);
  pointer-events: auto;
  padding: 6px 12px;
  background: rgba(253, 246, 238, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  border: 1px solid var(--line);
}
.slide.dark ~ .deck-header .deck-counter {
  color: var(--cream);
  background: rgba(20, 20, 28, 0.6);
  border-color: rgba(255, 255, 255, 0.10);
}

/* Progress bar */
.deck-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 101;
}
.deck-progress::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: var(--coral);
  transition: width 0.5s var(--ease-out);
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 2vh;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--coral);
}

.h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 3vh;
}
.h1 .accent { color: var(--coral); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 2.5vh;
}

.lead {
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.45;
  color: var(--gris);
  max-width: 62ch;
}
.slide.dark .lead { color: var(--gris-2); }

.meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gris);
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- LAYOUT PRIMITIVES ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
  flex: 1;
  min-height: 0;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

.image-fill {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 55vh;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.image-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease-out);
}
.slide.active .image-fill img { transform: scale(1.05); }

.image-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.image-bg img { width: 100%; height: 100%; object-fit: cover; }
.image-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.35) 0%, rgba(20, 20, 28, 0.65) 60%, rgba(20, 20, 28, 0.90) 100%);
}
.slide.hero-bg { color: var(--cream); }
.slide.hero-bg > *:not(.image-bg) { position: relative; z-index: 2; }
.slide.hero-bg .h1, .slide.hero-bg .h2, .slide.hero-bg .lead { color: var(--cream); }
.slide.hero-bg .lead { color: rgba(253, 246, 238, 0.85); }

/* ---------- CARDS ---------- */
.card {
  background: white;
  border-radius: 16px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  animation: cardIn 0.6s var(--ease-out) backwards;
}
.slide.active .card { animation-delay: calc(var(--i, 0) * 60ms + 200ms); }
.slide.dark .card { background: var(--tinta-2); border-color: rgba(255, 255, 255, 0.08); }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.card-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gris);
}
.slide.dark .card-body { color: var(--gris-2); }

.card-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.card-icon {
  width: 32px;
  height: 32px;
  color: var(--coral);
  margin-bottom: 16px;
}

/* ---------- STEP BAR ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 3vh;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 2;
  animation: stepIn 0.5s var(--ease-out) backwards;
}
.slide.active .step { animation-delay: calc(var(--i, 0) * 80ms + 300ms); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--coral);
  color: var(--coral);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.3s var(--ease-out);
}
.step:hover .step-num {
  background: var(--coral);
  color: white;
  transform: scale(1.08);
}
.step-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--tinta);
  margin-bottom: 4px;
}
.step-desc {
  font-size: 12px;
  color: var(--gris);
  line-height: 1.4;
}
.slide.dark .step-num { background: var(--tinta-2); }
.slide.dark .step-title { color: var(--cream); }
.slide.dark .step-desc { color: var(--gris-2); }

/* Legacy variant */
.step-old .step-num { border-color: var(--gris-2); color: var(--gris); }

/* ---------- BIG NUMBER ---------- */
.big-num {
  font-size: clamp(140px, 22vw, 320px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}
.big-num.dark { color: var(--cream); }

/* ---------- COMPARISON TABLE ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th, .compare-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  border-bottom: 2px solid var(--tinta);
}
.compare-table td.emphasize {
  font-weight: 700;
  color: var(--coral);
  font-size: 16px;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .highlight-row {
  background: rgba(255, 84, 100, 0.06);
  border-radius: 12px;
}

.pricing-table td, .pricing-table th {
  padding: 20px 24px;
}
.pricing-table td:last-child { text-align: right; font-family: var(--font-display); font-weight: 700; }
.iva-note {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--gris);
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* Multi-sucursal discount block */
.multi-discount {
  margin-top: 3vh;
  padding: 22px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,84,100,0.06) 0%, rgba(255,84,100,0.02) 100%);
  border: 1px solid rgba(255,84,100,0.18);
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.multi-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 220px;
}
.multi-title .pill { margin-bottom: 0; align-self: flex-start; }
.multi-caption {
  font-size: 13px;
  color: var(--gris);
  line-height: 1.45;
}
.multi-tiers {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.multi-tier {
  padding: 14px 22px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
  text-align: center;
  min-width: 118px;
  transition: all 0.3s var(--ease-out);
}
.multi-tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--coral);
}
.multi-tier-count {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tinta);
  line-height: 1;
}
.multi-tier-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gris);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.multi-tier-discount {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: -0.01em;
}
.multi-tier.featured {
  background: var(--tinta);
  border-color: var(--tinta);
}
.multi-tier.featured .multi-tier-count,
.multi-tier.featured .multi-tier-label { color: white; }
.multi-tier.featured .multi-tier-label { color: rgba(255,255,255,0.6); }
.multi-tier.featured .multi-tier-discount {
  color: var(--coral);
  border-top-color: rgba(255,255,255,0.15);
  font-size: 13px;
}

/* Savings scenarios (slide 17) */
.savings-scenarios {
  margin-top: 3.5vh;
}
.savings-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.savings-header .pill { margin-bottom: 0; }
.savings-caption {
  font-size: 13px;
  color: var(--gris);
  letter-spacing: 0.01em;
}
.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.savings-card {
  padding: 26px 26px 24px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.savings-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.savings-card.featured {
  background: linear-gradient(135deg, rgba(255,84,100,0.10) 0%, rgba(255,84,100,0.03) 100%);
  border-color: rgba(255,84,100,0.30);
}
.savings-volume {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--tinta);
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.savings-unit {
  font-size: 10px;
  font-weight: 600;
  color: var(--gris);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.savings-arrow {
  display: none; /* handled via border on savings-amount */
}
.savings-amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--coral);
  line-height: 1;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.savings-card.featured .savings-amount {
  border-top-color: rgba(255,84,100,0.20);
}
.savings-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gris);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: -6px;
}

.closer-line {
  margin-top: 3vh;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--tinta);
  text-align: center;
}
.closer-line .accent-coral {
  color: var(--coral);
  font-weight: 700;
}

/* ---------- ECOSYSTEM SLIDE ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 3vh;
}
.eco-card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 16px;
  background: var(--tinta-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  animation: cardIn 0.55s var(--ease-out) backwards;
}
.slide.active .eco-card:nth-child(1) { animation-delay: 0.25s; }
.slide.active .eco-card:nth-child(2) { animation-delay: 0.35s; }
.slide.active .eco-card:nth-child(3) { animation-delay: 0.45s; }
.slide.active .eco-card:nth-child(4) { animation-delay: 0.55s; }
.eco-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 84, 100, 0.35);
}
.eco-card.featured {
  background: linear-gradient(160deg, rgba(255,84,100,0.16) 0%, rgba(255,84,100,0.04) 100%);
  border-color: rgba(255, 84, 100, 0.35);
}
.eco-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--coral);
  color: white;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.eco-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 84, 100, 0.14);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.eco-icon svg { width: 22px; height: 22px; }
.eco-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--cream);
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.eco-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eco-desc {
  font-size: 13px;
  color: var(--gris-2);
  line-height: 1.5;
  flex: 1;
}
.eco-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin-top: 4px;
}
.eco-tags li {
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--gris-2);
  letter-spacing: 0.02em;
}

/* ---------- FINALE SLIDE (cinematic 2x2) ---------- */
.slide-finale {
  padding: 7vh 5vw 10vh 5vw !important;
  display: flex !important;
  flex-direction: column;
  gap: 2vh;
}
.finale-header {
  flex: 0 0 auto;
}
.finale-header .h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.8vw, 48px);
}
.finale-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 0;
}
.finale-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--tinta-2) var(--bg-img, none) center/cover no-repeat;
  cursor: default;
  transition: transform 0.5s var(--ease-out);
  animation: cardIn 0.7s var(--ease-out) backwards;
}
.slide.active .finale-tile:nth-child(1) { animation-delay: 0.20s; }
.slide.active .finale-tile:nth-child(2) { animation-delay: 0.32s; }
.slide.active .finale-tile:nth-child(3) { animation-delay: 0.44s; }
.slide.active .finale-tile:nth-child(4) { animation-delay: 0.56s; }
.finale-tile::before {
  /* pull the CSS var into an actual image layer for animation */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-img, none) center/cover no-repeat;
  transition: transform 8s var(--ease-out);
  z-index: 0;
}
.finale-tile:hover::before { transform: scale(1.06); }
.finale-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(20,20,28,0.15) 0%,
    rgba(20,20,28,0.35) 45%,
    rgba(20,20,28,0.90) 100%);
}
.finale-tile.featured {
  outline: 2px solid var(--coral);
  outline-offset: -2px;
  box-shadow: 0 30px 60px -20px rgba(255,84,100,0.35);
}
.finale-tile.featured .finale-overlay {
  background: linear-gradient(180deg,
    rgba(20,20,28,0.10) 0%,
    rgba(20,20,28,0.30) 40%,
    rgba(50,10,20,0.90) 100%);
}
.finale-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--coral);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgba(255,84,100,0.45);
  animation: pulse 2.4s ease-in-out infinite;
}
.finale-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 24px 22px;
  z-index: 2;
  color: white;
}
.finale-vertical {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.finale-name {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1;
  margin-bottom: 10px;
}
.finale-tag {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
  margin-bottom: 12px;
  max-width: 46ch;
}
.finale-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.finale-chips span {
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 10.5px;
  font-weight: 500;
  color: white;
  letter-spacing: 0.02em;
}

.finale-closer {
  flex: 0 0 auto;
  text-align: center;
  font-size: 14px;
  color: var(--gris-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 0;
}
.finale-closer strong {
  color: var(--cream);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
}

/* ---------- PRICING SLIDE ON SHORT SCREENS ----------
   The pricing slide is the densest in the deck (5-row table + tier cards +
   3 supporting columns + footnote). On a 900px or 768px laptop it ran past
   the frame and into the home pill, so it tightens instead of scrolling. */
@media (max-height: 950px) {
  .pricing-table td, .pricing-table th { padding: 12px 20px; }
  .multi-discount { margin-top: 1.6vh; padding: 14px 20px; }
  .multi-tier { padding: 10px 18px; }
  .multi-tier-count { font-size: 18px; }
  .multi-tier-discount { font-size: 14px; margin-top: 6px; padding-top: 6px; }
}
@media (max-height: 800px) {
  .pricing-table td, .pricing-table th { padding: 9px 16px; font-size: 13px; }
  .multi-discount { margin-top: 1.2vh; padding: 11px 16px; }
  .multi-tier { padding: 8px 14px; }
  .multi-tier-count { font-size: 16px; }
}

/* Bottom fade, mirroring the header scrim. Slides scroll, so without this
   their content would run into the home pill. Theme-flips with the slide. */
.deck-fade {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(to top,
    var(--cream) 0%, var(--cream) 42%, rgba(253, 246, 238, 0) 100%);
}
body:has(.slide.active.dark) .deck-fade,
body:has(.slide.active.hero-bg) .deck-fade,
body:has(.slide.active.slide-finale) .deck-fade {
  background: linear-gradient(to top,
    var(--tinta) 0%, var(--tinta) 42%, rgba(20, 20, 28, 0) 100%);
}
@media (max-width: 768px) { .deck-fade { height: 74px; } }

/* ---------- HOME PILL ----------
   Way back to tably.mx from inside a deck. The colour flips with the slide
   theme using the same :has() rule as the brand mark, and it stays at low
   opacity until hovered so it reads as chrome, not as slide content. */
.deck-home {
  position: fixed;
  bottom: 2.4vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--tinta);
  background: var(--cream);
  border: 1px solid rgba(20, 20, 28, 0.12);
  box-shadow: 0 6px 20px -8px rgba(20, 20, 28, 0.28);
  backdrop-filter: blur(10px);
  opacity: 0.92;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out),
              background 0.25s var(--ease-out);
}
.deck-home:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
  background: #fff;
}
.deck-home svg { width: 13px; height: 13px; flex: none; }

body:has(.slide.active.dark) .deck-home,
body:has(.slide.active.hero-bg) .deck-home,
body:has(.slide.active.slide-finale) .deck-home {
  color: var(--cream);
  background: var(--tinta-2);
  border-color: rgba(255, 255, 255, 0.20);
}
body:has(.slide.active.dark) .deck-home:hover,
body:has(.slide.active.hero-bg) .deck-home:hover,
body:has(.slide.active.slide-finale) .deck-home:hover {
  background: #23232e;
}

@media (max-width: 768px) {
  .deck-home { font-size: 11px; padding: 8px 14px; bottom: 1.8vh; opacity: 0.85; }
}

/* ---------- BADGES ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 84, 100, 0.10);
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.slide.dark .pill { background: rgba(255, 84, 100, 0.18); }

.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--tinta);
  line-height: 1.45;
}
.slide.dark .check { color: var(--cream); }
.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- KEYBOARD HINT ---------- */
.kbd-hint {
  position: fixed;
  bottom: calc(2.4vh + 52px);
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: rgba(20, 20, 28, 0.85);
  color: var(--cream);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  z-index: 200;
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s 0.3s;
}
.kbd-hint.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease);
}
.kbd-hint kbd {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 4px;
}

/* ---------- ARROWS ---------- */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 20, 28, 0.5);
  color: var(--cream);
  backdrop-filter: blur(10px);
  border: none;
  cursor: pointer;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.nav-arrow:hover { opacity: 1; background: var(--coral); }
.nav-arrow.prev { left: 24px; }
.nav-arrow.next { right: 24px; }
.nav-arrow svg { width: 20px; height: 20px; }
.nav-arrow.disabled {
  opacity: 0 !important;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
}

/* ---------- OVERVIEW MODE ---------- */
.overview {
  position: fixed;
  inset: 0;
  background: var(--tinta);
  z-index: 300;
  padding: 60px;
  display: none;
  overflow: auto;
}
.overview.active { display: block; }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.overview-item {
  background: var(--tinta-2);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.overview-item:hover {
  transform: translateY(-4px);
  background: var(--coral);
}
.overview-num {
  font-size: 12px;
  color: var(--gris-2);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.overview-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.overview-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
}
.overview-close:hover { opacity: 1; }

/* ---------- REVEAL ANIMATIONS ---------- */
.slide.active .reveal {
  animation: revealUp 0.7s var(--ease-out) backwards;
}
.slide.active .reveal { animation-delay: 0.1s; }
.slide.active .reveal-2 { animation: revealUp 0.7s var(--ease-out) 0.25s backwards; }
.slide.active .reveal-3 { animation: revealUp 0.7s var(--ease-out) 0.4s backwards; }
.slide.active .reveal-4 { animation: revealUp 0.7s var(--ease-out) 0.55s backwards; }

@keyframes revealUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- COUNTUP FOR ZERO ---------- */
.count-up { display: inline-block; }

/* ---------- LIST DOTS ---------- */
.dot-list li {
  list-style: none;
  padding-left: 24px;
  position: relative;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tinta);
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.slide.dark .dot-list li { color: var(--cream); }

/* Slide-specific tweaks */
.slide-cover .h1 { font-size: clamp(48px, 8vw, 120px); line-height: 0.95; }
.slide-cover .footer-brand {
  position: absolute;
  bottom: 8vh;
  left: 8vw;
  right: 8vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: rgba(253, 246, 238, 0.7);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.slide-cover .tagline-list {
  display: flex;
  gap: 40px;
  margin-top: 4vh;
}
.slide-cover .tagline-list span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 246, 238, 0.85);
  font-weight: 500;
}

/* Slide 15 special */
.slide-zero {
  text-align: center;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.slide-zero .eyebrow { justify-content: center; }
.slide-zero .h1 { text-align: center; }

/* Two-column pain points */
.pain-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  margin-top: 3vh;
}
.pain-item {
  border-left: 3px solid var(--coral);
  padding-left: 20px;
}
.pain-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pain-item p {
  font-size: 13px;
  color: var(--gris);
  line-height: 1.5;
}
.slide.dark .pain-item p { color: var(--gris-2); }

/* Payment method icons grid */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 4vh;
}
.pay-card {
  background: white;
  border-radius: 20px;
  padding: 32px 24px;
  border: 1px solid var(--line);
  text-align: left;
  transition: all 0.4s var(--ease-out);
  animation: cardIn 0.6s var(--ease-out) backwards;
}
.pay-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--coral);
}
.pay-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 84, 100, 0.10);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pay-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pay-card p { font-size: 13px; color: var(--gris); line-height: 1.5; }

/* Contact chips */
.contact-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 3vh;
}
.contact-chip {
  padding: 12px 22px;
  border-radius: 100px;
  background: white;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--tinta);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease-out);
}
.slide.dark .contact-chip {
  background: var(--tinta-2);
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.10);
}
.contact-chip:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}
.contact-chip svg { width: 16px; height: 16px; }

/* Update badge */
.update-badge {
  position: absolute;
  top: 6vh;
  right: 8vw;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--coral);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 3;
}

/* iPhone-like mockup for slide 13 */
.phone-mock {
  position: relative;
  width: 296px;
  height: 620px;
  background: linear-gradient(160deg, #1a1a24 0%, #0e0e14 100%);
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 40px 80px -20px rgba(20, 20, 28, 0.45),
              0 0 0 1.5px rgba(255, 255, 255, 0.06) inset,
              0 0 0 2px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}
.phone-mock::before {
  /* Dynamic Island */
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #050508;
  border-radius: 22px;
  z-index: 3;
  box-shadow: 0 1px 2px rgba(255,255,255,0.05) inset;
}
.phone-mock::after {
  /* Side button (right) */
  content: "";
  position: absolute;
  top: 148px;
  right: -2px;
  width: 3px;
  height: 62px;
  background: linear-gradient(90deg, #2a2a34, #1a1a24);
  border-radius: 0 2px 2px 0;
}
.phone-mock .side-buttons {
  position: absolute;
  left: -2px;
  top: 100px;
  width: 3px;
  height: 180px;
  z-index: 1;
}
.phone-mock .side-buttons::before,
.phone-mock .side-buttons::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  background: linear-gradient(90deg, #1a1a24, #2a2a34);
  border-radius: 2px 0 0 2px;
}
.phone-mock .side-buttons::before { top: 0; height: 24px; }
.phone-mock .side-buttons::after  { top: 42px; height: 62px; box-shadow: 0 76px 0 0 currentColor; color: #1a1a24; }

.phone-mock .screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: white;
  position: relative;
}
.phone-mock .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.phone-mock .glare {
  position: absolute;
  inset: 10px;
  border-radius: 36px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.04) 100%);
  z-index: 2;
}

/* Six-role compact grid */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3vh;
}
.role-card {
  padding: 20px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line);
  animation: cardIn 0.5s var(--ease-out) backwards;
}
.slide.dark .role-card { background: var(--tinta-2); border-color: rgba(255, 255, 255, 0.08); }
.role-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--coral);
  letter-spacing: 0.02em;
}
.role-card p {
  font-size: 12px;
  color: var(--gris);
  line-height: 1.5;
}
.slide.dark .role-card p { color: var(--gris-2); }

/* Feature grid slide 12 */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3vh;
}
.feat {
  padding-top: 24px;
  border-top: 2px solid var(--tinta);
}
.slide.dark .feat { border-top-color: var(--cream); }
.feat h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feat p { font-size: 13px; color: var(--gris); line-height: 1.5; }
.slide.dark .feat p { color: var(--gris-2); }

/* ---------- SLIDE 9 PAYMENTS BG ---------- */
.pay-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.pay-bg img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  filter: saturate(1.1);
}
.pay-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--tinta) 0%, var(--tinta) 30%, rgba(20,20,28,0.85) 55%, rgba(20,20,28,0.65) 100%);
}
.slide-payments > *:not(.pay-bg) { position: relative; z-index: 2; }

/* ---------- SLIDE 11 ROLES BG (image from bottom) ---------- */
.roles-bg img {
  right: auto;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60%;
  object-position: center 40%;
  opacity: 0.22;
}
.roles-bg::after {
  background: linear-gradient(180deg, var(--tinta) 0%, rgba(20,20,28,0.65) 40%, rgba(20,20,28,0.85) 100%);
}
.slide-roles > *:not(.pay-bg) { position: relative; z-index: 2; }

/* ---------- HYBRID SLIDE ---------- */
.hybrid-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 4vh;
}
.hybrid-card {
  padding: 36px 34px;
  background: white;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.hybrid-card.left {
  border-radius: 18px 4px 4px 18px;
  border-right: none;
}
.hybrid-card.right {
  border-radius: 4px 18px 18px 4px;
  border-left: none;
}
.hybrid-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.hybrid-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 84, 100, 0.10);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.hybrid-icon svg { width: 26px; height: 26px; }
.hybrid-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 84, 100, 0.10);
  color: var(--coral);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hybrid-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--tinta);
}
.hybrid-desc {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.55;
  margin-bottom: 12px;
}
.hybrid-outcome {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hybrid-outcome span {
  font-size: 14px;
  font-weight: 600;
  color: var(--tinta);
  line-height: 1.4;
}
.hybrid-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 4px;
}
.hybrid-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
  transform: translateX(-50%);
}
.hybrid-and {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 6px 20px -4px rgba(255, 84, 100, 0.5);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 20px -4px rgba(255, 84, 100, 0.5); }
  50% { transform: scale(1.06); box-shadow: 0 8px 28px -4px rgba(255, 84, 100, 0.65); }
}

.converge-bar {
  border-top: 1px solid var(--line);
  padding-top: 3vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.converge-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gris);
  margin-bottom: 20px;
}
.converge-chips {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.converge-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 100px;
  background: white;
  border: 1px solid var(--line);
  color: var(--tinta);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
}
.converge-chip svg { width: 18px; height: 18px; color: var(--coral); }
.converge-chip:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet landscape (≤1200px) */
@media (max-width: 1200px) {
  .slide { padding: 5vh 5vw 6vh 5vw; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .savings-grid { gap: 14px; }
  .multi-tiers { gap: 14px; }
}

/* Tablet portrait (≤1024px) */
@media (max-width: 1024px) {
  .slide { padding: 4.5vh 4.5vw 5vh 4.5vw !important; }
  .h1 { font-size: clamp(32px, 5.5vw, 60px); }
  .h2 { font-size: clamp(26px, 4vw, 44px); }
  .lead { font-size: clamp(14px, 1.7vw, 18px); }
  /* Grid-2 becomes flex-column with image at top (hero card) */
  .grid-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
  }
  .grid-2 > .image-fill { order: -1; }
  .grid-2 > .phone-mock,
  .grid-2 > div:has(.phone-mock),
  .grid-2 > div:has(> .phone-mock) { order: -1; }
  .grid-2 .image-fill {
    width: 100% !important;
    height: 30vh !important;
    min-height: 200px !important;
    max-height: 36vh !important;
    border-radius: 18px;
    box-shadow: 0 20px 50px -12px rgba(20,20,28,0.25);
  }
  .grid-3, .grid-4, .grid-6, .role-grid, .feat-grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .eco-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .finale-grid { gap: 10px; }
  .finale-content { padding: 16px 18px; }
  .finale-name { font-size: 22px; }
  .finale-tag { font-size: 12px; margin-bottom: 8px; }
  .finale-chips span { font-size: 10px; padding: 3px 8px; }
  .steps { grid-template-columns: repeat(3, 1fr) !important; gap: 18px; }
  .steps::before { display: none; }
  .pain-list { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
  .pay-grid { grid-template-columns: 1fr 1fr !important; }
  .hybrid-wrap { grid-template-columns: 1fr !important; }
  .hybrid-card.left, .hybrid-card.right { border-radius: 18px; border: 1px solid var(--line); border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
  .hybrid-connector { padding: 10px 0; }
  .hybrid-connector::before { display: none; }
  .savings-grid { grid-template-columns: 1fr 1fr !important; }
  .savings-card:nth-child(3) { grid-column: 1 / -1; }
  .multi-discount { flex-direction: column; align-items: stretch; }
  .converge-chips { justify-content: flex-start; }
  .phone-mock { width: 260px; height: 546px; }
  .phone-mock::before { top: 16px; width: 84px; height: 22px; }
  .nav-arrow { width: 40px; height: 40px; }
  .nav-arrow.prev { left: 12px; }
  .nav-arrow.next { right: 12px; }
  .compare-table th, .compare-table td { padding: 14px 12px; font-size: 13px; }
  .pricing-table td, .pricing-table th { padding: 15px 14px; }
}

/* Mobile landscape / small tablet portrait (≤768px) */
@media (max-width: 768px) {
  .slide { padding: 8vh 5vw 10vh 5vw !important; overflow-y: auto !important; }

  /* On a phone the slides scroll, and the header is fixed, so content would
     otherwise travel underneath the brand mark. A gradient scrim masks it.
     The theme is picked with the same :has() rule that swaps the logo. */
  .deck-header {
    padding-bottom: 3vh;
    background: linear-gradient(to bottom,
      var(--cream) 0%, var(--cream) 70%, rgba(253, 246, 238, 0) 100%);
  }
  body:has(.slide.active.dark) .deck-header,
  body:has(.slide.active.hero-bg) .deck-header,
  body:has(.slide.active.slide-finale) .deck-header {
    background: linear-gradient(to bottom,
      var(--tinta) 0%, var(--tinta) 70%, rgba(20, 20, 28, 0) 100%);
  }
  /* Browsers without :has() still get a readable mark over a soft blur. */
  @supports not selector(:has(*)) {
    .deck-header { background: none; backdrop-filter: blur(10px); }
  }
  .h1 { font-size: clamp(28px, 8vw, 44px); line-height: 1.05; }
  .h2 { font-size: clamp(22px, 6vw, 34px); line-height: 1.1; }
  .lead { font-size: 15px; line-height: 1.5; }
  .eyebrow { font-size: 10px; margin-bottom: 1.5vh; }
  .eyebrow::before { width: 20px; }
  .grid-2 .image-fill { min-height: 28vh !important; max-height: 34vh !important; }
  .grid-3, .grid-4, .grid-6, .role-grid, .feat-grid, .pay-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .eco-grid { grid-template-columns: 1fr; gap: 12px; }
  .finale-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(180px, 1fr)); gap: 10px; }
  .finale-tile { min-height: 180px; }
  .finale-content { padding: 14px 16px; }
  .finale-name { font-size: 20px; }
  .finale-tag { font-size: 12px; }
  .finale-closer strong { font-size: 14px; }
  .finale-closer span { font-size: 12px; }
  .steps { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .step-num { width: 36px; height: 36px; font-size: 13px; margin-bottom: 10px; }
  .step-title { font-size: 13px; }
  .step-desc { font-size: 11px; }
  .pain-list { grid-template-columns: 1fr !important; gap: 16px !important; }
  .pain-item { padding-left: 14px; }
  .savings-grid { grid-template-columns: 1fr !important; }
  .savings-card:nth-child(3) { grid-column: auto; }
  .savings-card { padding: 20px; gap: 10px; }
  .savings-volume { font-size: 17px; }
  .savings-amount { font-size: 26px; padding-top: 10px; }
  .multi-tiers { flex-direction: column; }
  .multi-tier { min-width: 0; width: 100%; }
  .multi-discount { padding: 18px 20px; gap: 16px; }
  /* Comparison table: card-per-row layout on mobile */
  .compare-table, .compare-table thead, .compare-table tbody,
  .compare-table tr, .compare-table td, .compare-table th {
    display: block !important;
    width: auto !important;
    white-space: normal !important;
  }
  .compare-table thead { display: none !important; }
  .compare-table tr {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
  }
  .compare-table tr.highlight-row {
    background: rgba(255, 84, 100, 0.06);
    border-color: rgba(255, 84, 100, 0.20);
  }
  .compare-table td {
    padding: 6px 0 !important;
    font-size: 13px !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }
  .compare-table td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gris);
  }
  .compare-table td.emphasize { color: var(--coral); font-weight: 700; font-size: 15px !important; }
  .pricing-table td:last-child { text-align: right; }
  .converge-chips { flex-direction: column; align-items: stretch; }
  .converge-chip { justify-content: center; }
  .card { padding: 20px 18px; }
  .pay-card { padding: 22px 20px; }
  .hybrid-card { padding: 24px 22px; }
  .hybrid-title { font-size: 20px; }
  .hybrid-icon { width: 44px; height: 44px; }
  .hybrid-icon svg { width: 22px; height: 22px; }
  .hybrid-and { width: 44px; height: 44px; font-size: 22px; }
  .converge-bar { padding-top: 2vh; }
  .contact-chips { gap: 8px; }
  .contact-chip { padding: 10px 16px; font-size: 12px; }
  .phone-mock { width: 220px; height: 462px; border-radius: 34px; padding: 8px; }
  .phone-mock::before { top: 12px; width: 68px; height: 18px; }
  .phone-mock .screen { border-radius: 26px; }
  .phone-mock .glare { inset: 8px; border-radius: 26px; }
  .kbd-hint { display: none; }
  .deck-counter { font-size: 10px; padding: 4px 10px; }
  .brand-mark { height: 32px !important; min-height: 32px; }
  .nav-arrow { width: 36px; height: 36px; opacity: 0.5; }
  .nav-arrow.prev { left: 6px; }
  .nav-arrow.next { right: 6px; }
  .nav-arrow svg { width: 16px; height: 16px; }
  .big-num { font-size: clamp(90px, 30vw, 140px); }
  .check { font-size: 13px; }
  .closer-line { font-size: clamp(15px, 4vw, 20px); }
  .update-badge { top: 3vh; right: 4vw; font-size: 10px; padding: 6px 12px; }
  .pill { font-size: 10px; padding: 6px 12px; }
}

/* Mobile portrait (≤480px) */
@media (max-width: 480px) {
  .slide { padding: 7vh 4vw 9.5vh 4vw !important; }
  .h1 { font-size: clamp(24px, 8.5vw, 38px); }
  .h2 { font-size: clamp(20px, 6vw, 28px); }
  .lead { font-size: 14px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .savings-card { padding: 18px; }
  .savings-amount { font-size: 24px; }
  .card, .pay-card, .hybrid-card { padding: 18px; }
  .pill { font-size: 9px; padding: 5px 10px; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
  .phone-mock { width: 190px; height: 400px; padding: 7px; border-radius: 30px; }
  .phone-mock::before { top: 10px; width: 58px; height: 15px; }
  .phone-mock .screen, .phone-mock .glare { border-radius: 23px; }
  .deck-header { padding: 1.5vh 3vw; }
  .brand-mark { height: 28px !important; min-height: 28px; }
  .nav-arrow { width: 34px; height: 34px; opacity: 0.55; }
  .nav-arrow.prev { left: 4px; }
  .nav-arrow.next { right: 4px; }
  .nav-arrow svg { width: 14px; height: 14px; }
}

/* Landscape phone (short viewport) */
@media (max-height: 500px) and (orientation: landscape) {
  .slide { padding: 4vh 5vw; }
  .h1 { font-size: clamp(22px, 5vw, 40px); }
  .h2 { font-size: clamp(18px, 4vw, 32px); }
  .lead { font-size: 13px; margin-bottom: 1.5vh; }
  .eyebrow { margin-bottom: 1vh; }
  .steps { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .step-num { width: 32px; height: 32px; font-size: 11px; margin-bottom: 6px; }
  .step-title { font-size: 11px; }
  .step-desc { font-size: 10px; }
  .phone-mock { width: 160px; height: 336px; }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
  .nav-arrow { opacity: 0.55; }
  .card:hover, .pay-card:hover, .hybrid-card:hover,
  .savings-card:hover, .converge-chip:hover, .multi-tier:hover,
  .contact-chip:hover { transform: none; }
}

/* ---------- SCREENSHOT ROW ----------
   Several phones side by side, each with its own caption. Used when the real
   product screens tell the story better than one hero shot. Sizes here
   override the single .phone-mock hero dimensions. */
.phone-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-top: 2.2vh;
  flex-wrap: wrap;
  --pw: min(260px, 22.5vh);
}
.phone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Never narrower than the caption needs, even when the phone shrinks. */
  width: var(--pw);
}
.phone-row .phone-mock {
  /* Scales with viewport height so the row still fits a 768px laptop.
     0.46 is the screenshot aspect; 14px is the frame padding (7px a side). */
  width: var(--pw);
  height: calc((var(--pw) - 16px) / 0.46 + 16px);
  border-radius: 34px;
  padding: 8px;
  margin: 0;
  box-shadow: 0 24px 48px -16px rgba(20, 20, 28, 0.40),
              0 0 0 1.5px rgba(255, 255, 255, 0.06) inset,
              0 0 0 2px rgba(0, 0, 0, 0.6);
}
.phone-row .phone-mock::before { display: none; }
.phone-row .phone-mock::after  { top: 90px; height: 38px; }
.phone-row .phone-mock .side-buttons { top: 61px; height: 110px; }
.phone-row .phone-mock .side-buttons::before { height: 15px; }
.phone-row .phone-mock .side-buttons::after  { top: 26px; height: 38px; box-shadow: 0 46px 0 0 currentColor; }
.phone-row .phone-mock .screen { border-radius: 27px; }
.phone-row .phone-mock .glare  { border-radius: 27px; inset: 8px; }
.phone-caption { margin-top: 13px; text-align: center; }
.phone-caption h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.phone-caption p { font-size: 12.5px; color: var(--gris); line-height: 1.5; }
.slide.dark .phone-caption p { color: var(--gris-2); }

@media (max-height: 820px) {
  .phone-row { margin-top: 1.2vh; gap: 28px; --pw: min(260px, 18vh); }
  .phone-caption { margin-top: 9px; }
  .phone-caption p { font-size: 11px; }
}

@media (max-height: 740px) {
  .phone-row { --pw: min(260px, 16.5vh); gap: 22px; }
}
