:root {
  --bg: #F6F6F3;
  --surface: #EAEAE3;
  --surface-deep: #DCDCD3;
  --ink: #10231B;
  --muted: #3A5046;
  --accent: #0E7C47;
  --accent-dark: #0A5E36;
  --accent-ink: #FFFFFF;
  --sun: #F4C430;
  --sun-dark: #D9AA18;
  --sun-ink: #10231B;
  --cayena: #D62828;
  --cayena-ink: #FFFFFF;
  --caribe: #145C84;
  --caribe-ink: #FFFFFF;

  --gutter: clamp(18px, 3vw, 40px);
  --max-w: 1360px;

  /* 5 tamanos exactos */
  --step-small: 0.875rem;
  --step-body: 1.0625rem;
  --step-lead: clamp(1.25rem, 1.05rem + 0.65vw, 1.5rem);
  --step-head: clamp(1.9rem, 1.3rem + 2.5vw, 3.25rem);
  --step-hero: clamp(2.35rem, 1.4rem + 5vw, 5.25rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --t-press: 130ms;
  --t-hover: 180ms;
  --t-ui: 260ms;

  /* Motivo unico: chaflan de esquina costena */
  --chamfer-btn: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  --chamfer-card: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  --chamfer-band: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button, a, [role="button"], summary {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Navegacion */
.site-nav {
  background: var(--ink);
  color: var(--bg);
  padding-block: 16px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: var(--step-lead);
  letter-spacing: -0.03em;
  color: var(--bg);
}

.brand-corner {
  width: 22px;
  height: 22px;
  background: var(--sun);
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 0 100%);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: var(--step-small);
  font-weight: 600;
}

.nav-links a {
  color: #E8EEEA;
  transition: color var(--t-hover) ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--sun);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login {
  font-weight: 600;
  font-size: var(--step-small);
  color: #E8EEEA;
  padding: 8px 6px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: var(--step-body);
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  clip-path: var(--chamfer-btn);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}

.btn-primary:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--accent-dark);
  }
}

.btn-sun {
  background: var(--sun);
  color: var(--sun-ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn-sun:hover {
    background: var(--sun-dark);
  }
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: var(--step-body);
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 2px;
  padding-block: 8px;
  transition: opacity var(--t-hover) ease;
}

/* HERO */
.hero-section {
  background: var(--ink);
  color: var(--bg);
  padding-top: clamp(24px, 3.5vw, 48px);
  padding-bottom: 0;
  overflow-x: clip;
}

.hero-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 3.5vw, 46px);
}

.hero-title {
  margin: 0;
  font-size: var(--step-hero);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero-title [data-line] {
  display: block;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-lead {
  margin: 0;
  font-size: var(--step-lead);
  line-height: 1.38;
  color: #F4F7F4;
  max-width: 38ch;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.folder-stack {
  position: relative;
  padding-top: 28px;
}

.folder-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: end;
}

.folder-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 18px 16px;
  font-weight: 800;
  font-size: var(--step-small);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transform: translateY(6px);
  transition: transform var(--t-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .folder-tab:hover {
    transform: translateY(0);
  }
}

.folder-tab.is-sun { background: var(--sun); color: var(--sun-ink); }
.folder-tab.is-cayena { background: var(--cayena); color: var(--cayena-ink); }
.folder-tab.is-caribe { background: var(--caribe); color: var(--caribe-ink); }
.folder-tab.is-green { background: var(--accent); color: var(--accent-ink); }

.folder-front {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
  padding: clamp(22px, 3vw, 40px);
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}

.hero-media {
  margin: 0;
  overflow: clip;
  clip-path: var(--chamfer-card);
  aspect-ratio: 16 / 10;
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-aside {
  background: var(--surface);
  clip-path: var(--chamfer-card);
  padding: clamp(22px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.hero-aside-title {
  margin: 0 0 10px;
  font-size: var(--step-lead);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-aside-text {
  margin: 0;
  font-size: var(--step-body);
  color: var(--ink);
  line-height: 1.48;
}

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: var(--step-small);
}

.motif-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  background: var(--accent);
  clip-path: polygon(0 0, 68% 0, 100% 32%, 100% 100%, 0 100%);
  flex-shrink: 0;
}

/* Marquesina */
.marquee-band {
  background: var(--sun);
  color: var(--sun-ink);
  padding-block: 14px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: var(--step-lead);
  white-space: nowrap;
}

.marquee-sep {
  width: 10px;
  height: 10px;
  background: var(--ink);
  clip-path: polygon(0 0, 65% 0, 100% 35%, 100% 100%, 0 100%);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Secciones */
.section-pad {
  padding-block: clamp(56px, 7vw, 104px);
}

.section-heading {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* SECCION 1: Como funciona */
.how-section {
  background: var(--bg);
}

.how-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.how-sub {
  margin: 0;
  font-size: var(--step-lead);
  color: var(--ink);
  max-width: 38ch;
  text-wrap: pretty;
}

.stages-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stages-bar {
  display: flex;
  gap: 6px;
  min-height: 205px;
}

.stage-seg {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  clip-path: var(--chamfer-card);
}

.stage-seg.s1 { flex: 16; background: var(--surface); color: var(--ink); }
.stage-seg.s2 { flex: 36; background: var(--sun); color: var(--sun-ink); }
.stage-seg.s3 { flex: 24; background: var(--caribe); color: var(--caribe-ink); }
.stage-seg.s4 { flex: 24; background: var(--accent); color: var(--accent-ink); }

.stage-time {
  font-size: var(--step-lead);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.stage-caption {
  margin: 12px 0 0;
  font-size: var(--step-body);
  font-weight: 600;
  max-width: 24ch;
  line-height: 1.38;
}

/* Tabla comparativa clara en lugar de cajas duplicadas */
.compare-table-wrap {
  margin-top: 28px;
  background: var(--surface);
  clip-path: var(--chamfer-card);
  padding: clamp(20px, 3vw, 32px);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-body);
}

.compare-table th {
  text-align: left;
  padding: 10px 12px 14px;
  font-size: var(--step-lead);
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
}

.compare-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--surface-deep);
  vertical-align: top;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-win {
  font-weight: 800;
  color: var(--accent-dark);
}

/* SECCION 2: Simulador vivo */
.showcase-section {
  background: var(--accent);
  color: var(--accent-ink);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-lead {
  margin: 0;
  font-size: var(--step-lead);
  line-height: 1.4;
  color: #FFFFFF;
  max-width: 36ch;
}

.slug-tester {
  background: var(--ink);
  color: var(--bg);
  padding: 24px;
  clip-path: var(--chamfer-card);
}

.slug-tester label {
  display: block;
  font-weight: 700;
  font-size: var(--step-small);
  margin-bottom: 10px;
}

.slug-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.slug-input-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  color: var(--ink);
  border: 2px solid transparent;
  padding: 12px 14px;
  font-size: var(--step-body);
  font-weight: 700;
  outline: none;
}

.slug-input-row input:focus {
  border-color: var(--sun);
}

.slug-preview-bar {
  margin-top: 14px;
  background: #1A362A;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.slug-preview-url {
  font-weight: 800;
  font-size: var(--step-body);
  color: var(--sun);
  word-break: break-all;
}

/* Fragmento producto [data-ui] */
.demo-widget[data-ui] {
  background: var(--bg);
  color: var(--ink);
  border-radius: 16px;
  border: 1px solid #D8D3C5;
  padding: 22px;
}

[data-ui] .demo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #DCDCD3;
  margin-bottom: 14px;
}

[data-ui] .demo-store-title {
  font-weight: 800;
  font-size: var(--step-lead);
}

[data-ui] .demo-store-sub {
  font-size: var(--step-small);
  color: var(--muted);
}

[data-ui] .demo-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

[data-ui] .demo-prod-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  background: var(--surface);
  border: 1px solid #CFCFC5;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, border-color var(--t-hover) ease;
}

[data-ui] .demo-prod-btn:active {
  transform: scale(0.97);
}

[data-ui] .demo-prod-btn.is-selected {
  background: #E0F4E8;
  border-color: var(--accent);
}

[data-ui] .demo-prod-name {
  font-weight: 800;
  font-size: var(--step-small);
}

[data-ui] .demo-prod-meta {
  font-size: var(--step-small);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

[data-ui] .demo-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

[data-ui] .demo-pay-pills {
  display: flex;
  gap: 8px;
}

[data-ui] .demo-pay-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #C5C5BC;
  background: #FFFFFF;
  font-weight: 700;
  font-size: var(--step-small);
  cursor: pointer;
}

[data-ui] .demo-pay-pill.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

[data-ui] .demo-wa-bubble {
  background: #E2F7E9;
  border: 1px solid #A8DEC0;
  border-radius: 12px;
  padding: 14px;
  font-size: var(--step-small);
  line-height: 1.45;
  white-space: pre-wrap;
  color: #0D3520;
  font-variant-numeric: tabular-nums;
}

[data-ui] .demo-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

[data-ui] .demo-total {
  font-weight: 800;
  font-size: var(--step-body);
  font-variant-numeric: tabular-nums;
}

/* SECCION 3: Un dia en el barrio */
.features-section {
  background: var(--bg);
}

.statement-lead {
  margin: 0;
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1.38;
  max-width: 38ch;
  color: var(--ink);
  text-wrap: pretty;
}

.index-preview-layout {
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.story-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: var(--surface);
  color: var(--ink);
  clip-path: var(--chamfer-card);
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease, transform var(--t-press) var(--ease-out);
}

.story-row.is-active {
  background: var(--ink);
  color: var(--bg);
}

.story-row-title {
  font-size: var(--step-lead);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.story-row-desc {
  font-size: var(--step-body);
  line-height: 1.45;
  color: inherit;
}

.story-inline-img {
  display: none;
  margin-top: 12px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  clip-path: var(--chamfer-card);
}

.story-inline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-stage {
  position: sticky;
  top: 28px;
}

.preview-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  clip-path: var(--chamfer-band);
  background: var(--surface);
}

.preview-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 280ms var(--ease-out), transform 520ms var(--ease-soft);
}

.preview-frame img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.preview-caption {
  margin-top: 12px;
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
}

/* SECCION 4: Planes escalonados */
.pricing-section {
  background: var(--surface);
}

.pricing-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.pricing-note {
  margin: 0;
  font-size: var(--step-lead);
  color: var(--ink);
  text-wrap: pretty;
}

.plans-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
}

.plan-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: var(--chamfer-card);
  overflow: hidden;
}

.plan-tile.step-1 { min-height: 360px; background: var(--bg); color: var(--ink); }
.plan-tile.step-2 { min-height: 410px; background: var(--sun); color: var(--sun-ink); }
.plan-tile.step-3 { min-height: 460px; background: var(--ink); color: var(--bg); }

.plan-body {
  padding: 26px;
}

.plan-name {
  margin: 0;
  font-size: var(--step-lead);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-price {
  margin: 10px 0 4px;
  font-size: var(--step-head);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan-period {
  margin: 0 0 18px;
  font-size: var(--step-small);
  font-weight: 600;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: var(--step-body);
  line-height: 1.4;
}

.plan-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  font-weight: 800;
  font-size: var(--step-body);
  transition: background-color var(--t-hover) ease;
}

.plan-tile.step-1 .plan-btn { background: var(--surface-deep); color: var(--ink); }
.plan-tile.step-2 .plan-btn { background: var(--sun-dark); color: var(--sun-ink); }
.plan-tile.step-3 .plan-btn { background: var(--accent); color: var(--accent-ink); }

/* SECCION 5: FAQ */
.faq-section {
  background: var(--bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.faq-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-aside-img {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  clip-path: var(--chamfer-card);
}

.faq-aside-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--surface);
  color: var(--ink);
  clip-path: var(--chamfer-card);
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease;
}

.faq-item[open] {
  background: var(--accent);
  color: var(--accent-ink);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: var(--step-body);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-plus span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 3px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform var(--t-ui) var(--ease-out);
}

.faq-plus span:last-child {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] .faq-plus span:last-child {
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: var(--step-body);
  line-height: 1.5;
  max-width: 56ch;
}

/* SECCION 6: CTA de banda completa */
.cta-band {
  display: block;
  background: var(--cayena);
  color: var(--cayena-ink);
  clip-path: var(--chamfer-band);
  padding-block: clamp(32px, 5vw, 56px);
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease;
}

@media (hover: hover) and (pointer: fine) {
  .cta-band:hover {
    background: var(--sun);
    color: var(--sun-ink);
  }
}

.cta-band-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.cta-band-note {
  margin: 0;
  font-size: var(--step-lead);
  font-weight: 600;
  max-width: 44ch;
}

.cta-big-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.cta-big-word {
  font-size: var(--step-hero);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.cta-action-tag {
  font-size: var(--step-lead);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* SECCION 7: Footer */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(44px, 5vw, 72px) 28px;
}

.footer-blocks {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  align-items: end;
  min-height: clamp(90px, 12vw, 150px);
  margin-bottom: clamp(32px, 4vw, 52px);
}

.f-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--step-head);
  line-height: 1;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.f-letter:nth-child(1) { height: 76%; background: var(--accent); color: var(--accent-ink); }
.f-letter:nth-child(2) { height: 92%; background: var(--sun); color: var(--sun-ink); }
.f-letter:nth-child(3) { height: 100%; background: var(--cayena); color: var(--cayena-ink); }
.f-letter:nth-child(4) { height: 82%; background: var(--bg); color: var(--ink); }
.f-letter:nth-child(5) { height: 96%; background: var(--caribe); color: var(--caribe-ink); }
.f-letter:nth-child(6) { height: 74%; background: var(--sun); color: var(--sun-ink); }
.f-letter:nth-child(7) { height: 88%; background: var(--accent); color: var(--accent-ink); }
.f-letter:nth-child(8) { height: 100%; background: var(--bg); color: var(--ink); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: var(--step-body);
  font-weight: 800;
  color: var(--sun);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: var(--step-small);
  color: #FFFFFF;
}

@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover {
    color: var(--sun);
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: var(--step-small);
  color: #E2EAE5;
}

/* Animaciones */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title [data-line] {
    transform: translateY(105%);
    animation: line-rise 780ms var(--ease-expo) forwards;
    animation-delay: calc(80ms + var(--i, 0) * 90ms);
  }

  .js [data-load] {
    opacity: 0;
    transform: translateY(14px);
    animation: item-rise 540ms var(--ease-out) forwards;
    animation-delay: var(--d, 220ms);
  }

  .js .hero-media {
    clip-path: inset(0 0 100% 0);
    animation: media-open 920ms var(--ease-in-out) 160ms forwards;
  }

  .js .hero-media img {
    transform: scale(1.07);
    animation: media-settle 1100ms var(--ease-expo) 120ms forwards;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 640ms var(--ease-out), transform 760ms var(--ease-out);
    transition-delay: var(--rd, 0ms);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .slow-drift {
    animation: photo-drift 18s var(--ease-soft) infinite alternate;
  }
}

@keyframes line-rise { to { transform: none; } }
@keyframes item-rise { to { opacity: 1; transform: none; } }
@keyframes media-open { to { clip-path: var(--chamfer-card); } }
@keyframes media-settle { to { transform: none; } }
@keyframes photo-drift {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-head,
  .hero-showcase,
  .how-head,
  .showcase-grid,
  .index-preview-layout,
  .pricing-top,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .folder-tabs { grid-template-columns: repeat(2, 1fr); }
  .plans-steps { grid-template-columns: 1fr; }
  .plan-tile.step-1,
  .plan-tile.step-2,
  .plan-tile.step-3 { min-height: auto; }
  .preview-stage { display: none; }
  .story-inline-img { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .stages-bar { flex-direction: column; min-height: auto; }
  .stage-seg { min-height: 112px; }
  [data-ui] .demo-items { grid-template-columns: 1fr; }
  .slug-input-row { flex-direction: column; }
  .nav-login { display: none; }
  .cta-big-row { flex-direction: column; align-items: flex-start; }
  .compare-table th:first-child,
  .compare-table td:first-child { display: none; }
}
