/* ==========================================================================
   1VIDA — UNIFIED EDITORIAL CREAM × ESPRESSO INK × HIGHLIGHTER ACID
   Combines the serene luxury of 1vida-demo (Outfit 300, cream canvas,
   floating glass pills, 3-panel Ken Burns hero, staggered photo ribbon,
   frameless 4:5 cards, bottom sheets) with full +18 chapters, 35mm archive,
   live digital club pass, personal reserves, and organizer panel.
   ========================================================================== */

:root {
  --bg: #f9f8f5;
  --bg-2: #f1eee8;
  --surface: #ffffff;
  --ink: #201a12;
  --ink-2: #3a3128;
  --muted: #6b5f4e;
  --line: #e4ded3;
  --chip: #ece6db;
  --track: #e7e1d6;
  --on-ink: #f9f8f5;

  --brand: #e8eb3c;
  --brand-hover: #f2f55e;
  --ok: #2f7a4b;
  --warn: #a8650a;
  --bad: #b3402a;
  --wa: #1fa855;

  --pill-dark: rgba(32, 26, 18, 0.88);
  --pill-dock: rgba(32, 26, 18, 0.92);
  --glass-bg: rgba(249, 248, 245, 0.88);
  --glass-ink: #201a12;

  --shadow: 0 14px 36px rgba(32, 26, 18, 0.09);
  --shadow-lg: 0 24px 64px rgba(32, 26, 18, 0.16);
  --shadow-pill: 0 12px 32px rgba(32, 26, 18, 0.24);

  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 920px;
}

[data-theme="dark"] {
  --bg: #15120e;
  --bg-2: #1c1813;
  --surface: #211c16;
  --ink: #f3efe7;
  --ink-2: #e2dacb;
  --muted: #aba08f;
  --line: #342c23;
  --chip: #2b241c;
  --track: #2e261d;
  --on-ink: #15120e;

  --ok: #6ccb8e;
  --warn: #e8b15a;
  --bad: #f08a73;

  --pill-dark: rgba(20, 17, 13, 0.9);
  --pill-dock: rgba(20, 17, 13, 0.94);
  --glass-bg: rgba(21, 18, 14, 0.82);
  --glass-ink: #f3efe7;

  --shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 108px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
::selection { background: var(--brand); color: #201a12; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.wrap-wide {
  max-width: 1080px;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ==========================================================================
   FLOATING TOP GLASS PILLBAR (1Vida Logo + CA / ES / EN + Theme)
   ========================================================================== */
.topbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.pillbar {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 16px;
  border-radius: 999px;
  background: var(--pill-dark);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-pill);
  color: #f9f8f5;
}

.pill-logo-btn {
  display: inline-flex;
  align-items: center;
  padding-right: 4px;
}

.brand-logo {
  height: 24px;
  width: auto;
  color: var(--brand);
  display: block;
  transition: transform 0.25s var(--ease);
}

.pill-logo-btn:hover .brand-logo {
  transform: scale(1.06) rotate(-2deg);
}

.pill-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.lang-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(249, 248, 245, 0.72);
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover { color: #fff; }

.lang-btn[aria-pressed="true"] {
  background: var(--brand);
  color: #201a12;
}

.theme-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(249, 248, 245, 0.8);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, color 0.2s;
}

.theme-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--brand);
}

/* ==========================================================================
   FLOATING BOTTOM DOCK NAVIGATION
   ========================================================================== */
.bnav {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 0 14px;
  pointer-events: none;
}

.bnav-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 460px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px;
  border-radius: 999px;
  background: var(--pill-dock);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-pill);
}

.bnav-pill.has-admin {
  max-width: 530px;
  grid-template-columns: repeat(5, 1fr);
}

/* Private Organizer Login Card */
.login-shell {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 48px;
}

.login-card {
  width: 100%;
  max-width: 430px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px 28px;
  box-shadow: var(--shadow-lg);
}

.login-lock-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.team-foot-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.team-foot-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.bnav-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 6px;
  border-radius: 999px;
  color: rgba(249, 248, 245, 0.66);
  font-size: 11px;
  font-weight: 500;
  transition: background 0.22s, color 0.22s;
}

.bnav-btn:hover { color: #fff; }

.bnav-btn.is-active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.bnav-btn.is-active .ico {
  color: var(--brand);
}

.bnav-dot {
  position: absolute;
  top: 5px;
  right: calc(50% - 17px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand);
  color: #201a12;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   FULL-BLEED 3-COLUMN KEN BURNS HERO
   ========================================================================== */
.hero {
  position: relative;
  height: min(78vh, 660px);
  min-height: 460px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: #15120e;
}

.hero-col {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-col:last-child { border-right: none; }

.hero-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-col:nth-child(2) img { animation-delay: -7s; }
.hero-col:nth-child(3) img { animation-delay: -14s; }

@keyframes kenburns {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.hero-col-label {
  position: absolute;
  bottom: 24px;
  left: 20px;
  z-index: 3;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(249, 248, 245, 0.85);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(21, 18, 14, 0.45) 0%,
    rgba(21, 18, 14, 0.08) 38%,
    rgba(21, 18, 14, 0.18) 66%,
    rgba(21, 18, 14, 0.72) 100%
  );
}

.hero-center-mark {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.hero-center-mark .brand-logo {
  height: clamp(54px, 7.5vw, 82px);
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

/* ==========================================================================
   EDITORIAL INTRO + HIGHLIGHTER SWIPE
   ========================================================================== */
.intro {
  padding-top: 58px;
  padding-bottom: 44px;
  text-align: center;
}

.intro h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 6.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 auto 24px;
  max-width: 740px;
}

.intro h1 b {
  font-weight: 500;
  padding: 0 6px;
  background: linear-gradient(transparent 60%, var(--brand) 60%, var(--brand) 92%, transparent 92%);
  color: var(--ink);
}

[data-theme="dark"] .intro h1 b {
  background: linear-gradient(transparent 60%, rgba(232, 235, 60, 0.32) 60%, rgba(232, 235, 60, 0.32) 92%, transparent 92%);
  color: var(--brand);
}

.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.app-pill:hover {
  transform: translateY(-2px);
}

.app-pill .ico-brand {
  color: var(--brand);
}

/* ==========================================================================
   FULL-BLEED STAGGERED PHOTO RIBBON + EDGE-FADED PILL MARQUEE
   ========================================================================== */
.ribbon {
  overflow: hidden;
  padding: 14px 0 28px;
}

.rtrack {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: cintaFotos 65s linear infinite;
  will-change: transform;
}

.ribbon:hover .rtrack {
  animation-play-state: paused;
}

.rtrack.rev {
  animation-direction: reverse;
}

.rtile {
  width: 206px;
  height: 258px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: var(--bg-2);
}

.rtile:nth-child(odd) {
  transform: translateY(12px);
}

.rtile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.rtile:hover img {
  transform: scale(1.06);
}

.rtile-cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  color: var(--glass-ink);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}

.rtile:hover .rtile-cap {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cintaFotos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pill Marquee */
.marquee {
  overflow: hidden;
  padding: 14px 0 38px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.mtrack {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: cintaPills 36s linear infinite;
}

.mpill {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes cintaPills {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   NUMBERED EDITORIAL SECTIONS & FRAMELESS 4:5 PLAN CARDS
   ========================================================================== */
.sec-block {
  padding-top: 36px;
  padding-bottom: 56px;
}

.sec-h {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 5.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.sec-num {
  color: var(--muted);
  font-weight: 300;
}

.lead {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0 0 24px;
  max-width: 600px;
}

.chips-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--ink);
}

.chip.is-active {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}

.chip-soft {
  background: var(--chip);
  border-color: transparent;
  font-size: 12px;
  padding: 6px 13px;
}

.chip-soft.is-active {
  background: var(--brand);
  color: #201a12;
  border-color: #201a12;
}

/* Frameless 4:5 Editorial Card Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
}

.card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-2);
  margin-bottom: 14px;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease), filter 0.35s;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card.is-complet .card-media img {
  filter: saturate(0.76);
}

.glass-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.glass {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--glass-ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.glass-bottom {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.status-dot.is-full { background: var(--bad); }
.status-dot.is-soon { background: var(--warn); }

.card-ttl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.card-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.bar {
  height: 4px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
  margin-bottom: 6px;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--ink);
  transition: width 0.55s var(--ease);
}

.bar-fill.is-open { background: var(--ok); }
.bar-fill.is-full { background: var(--bad); }

.card-spots {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   STAGGERED 4-COLUMN COLLAGE ("02 CAPÍTOLS VISCUTS")
   ========================================================================== */
.collage-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 24px;
}

.tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: var(--bg-2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.tile:nth-child(even) {
  transform: translateY(18px);
}

.tile:hover {
  box-shadow: var(--shadow-lg);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.tile:hover img {
  transform: scale(1.06);
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(21, 18, 14, 0.86) 100%);
  pointer-events: none;
}

.tile-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  color: #f9f8f5;
}

.tile-date {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 3px;
}

.tile-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.1;
}

.tile-sub {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}

/* ==========================================================================
   DARK ESPRESSO PROMO CARD + FLOATING INTERACTIVE IPHONE CLUB PASS
   ========================================================================== */
.app-promo {
  position: relative;
  border-radius: 26px;
  background: #201a12;
  color: #f9f8f5;
  padding: 40px 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  margin: 42px 0;
  box-shadow: var(--shadow-lg);
}

.app-promo::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 235, 60, 0.28), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 10px;
}

.app-promo .eyebrow { color: var(--brand); }

.app-promo h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 4.6vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.app-promo p {
  color: rgba(249, 248, 245, 0.78);
  margin: 0 0 22px;
  font-size: 15px;
}

.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.phone {
  width: 248px;
  background: #14110c;
  border: 6px solid #352d22;
  border-radius: 34px;
  padding: 18px 16px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  animation: flotar 6s ease-in-out infinite;
}

@keyframes flotar {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}

.phone-notch {
  width: 68px;
  height: 14px;
  border-radius: 999px;
  background: #2b241b;
  margin: 0 auto 14px;
}

.phone-pass {
  background: linear-gradient(155deg, #272117, #19140e);
  border: 1px solid rgba(232, 235, 60, 0.35);
  border-radius: 18px;
  padding: 14px;
}

.phone-handle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--brand);
  margin: 6px 0 8px;
  word-break: break-word;
}

.pass-input {
  width: 100%;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
}

.pass-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.pass-input:focus { outline: none; border-color: var(--brand); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), opacity 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-brand {
  background: var(--brand);
  color: #201a12;
  font-weight: 600;
}
.btn-brand:hover { background: var(--brand-hover); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-wa {
  background: var(--wa);
  color: #fff;
  font-weight: 600;
}
.btn-wa:hover { opacity: 0.92; transform: translateY(-1px); }

.btn-sm { padding: 8px 14px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* ==========================================================================
   COMUNITAT VIEW (STEPS, LINKS, FAQ)
   ========================================================================== */
.page-top-pad {
  padding-top: 86px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  counter-reset: paso;
}

.steps li {
  counter-increment: paso;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.steps li::before {
  content: counter(paso, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  color: var(--muted);
}

.steps h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
}

.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

.links-stack {
  display: grid;
  gap: 10px;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 500;
  transition: transform 0.2s, border-color 0.2s;
}

.link-row:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.link-row.is-wa {
  background: var(--wa);
  color: #fff;
  border-color: var(--wa);
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 14px;
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-trigger {
  width: 100%;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 15.5px;
}

.faq-trigger .ico { transition: transform 0.25s; flex-shrink: 0; }
.faq-item.is-open .faq-trigger .ico { transform: rotate(180deg); }
.faq-body { display: none; padding: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.faq-item.is-open .faq-body { display: block; }

/* ==========================================================================
   BOTTOM-SHEET MODAL (CHAPTER DETAIL + REGISTRATION + MEMORY)
   ========================================================================== */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(21, 18, 14, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.scrim.is-open {
  display: flex;
  animation: fadeIn 0.18s ease-out;
}

.sheet {
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg);
  color: var(--ink);
  border-radius: 26px 26px 0 0;
  padding: 14px 26px 36px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
  animation: rise 0.26s var(--ease);
}

.sheet-center {
  align-self: center;
  border-radius: 26px;
  margin: 16px;
  max-height: 90vh;
}

.grab {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  margin: 0 auto 18px;
}

.sheet-cover {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 auto 22px;
  box-shadow: var(--shadow);
}

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

.sheet h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 6px 0 18px;
}

.rows {
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}

.row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.row dt {
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 2px;
}

.row dd { margin: 0; font-weight: 500; }

.incl {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.incl li {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--ink-2);
  font-size: 13px;
}

/* Forms inside sheet/panel */
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.field-hint { font-size: 12px; color: var(--muted); }

.input, .select, .textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(232, 235, 60, 0.35);
}

.prefix-wrap { position: relative; display: flex; align-items: center; }
.prefix-char { position: absolute; left: 13px; color: var(--muted); font-family: var(--font-mono); }
.prefix-wrap .input { padding-left: 30px; }

.age-msg {
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.age-msg.is-ok { background: rgba(47, 122, 75, 0.14); color: var(--ok); }
.age-msg.is-err { background: rgba(179, 64, 42, 0.14); color: var(--bad); }

.confirm-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.ref-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px dashed var(--muted);
  font-family: var(--font-mono);
  margin: 14px 0;
}

.ref-pill strong { font-size: 19px; letter-spacing: 0.08em; }

/* ==========================================================================
   RESERVES WALLET & ORGANIZER PANEL
   ========================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.kpi-card.is-accent {
  background: var(--brand);
  color: #201a12;
  border-color: transparent;
}

.kpi-card.is-accent .kpi-k,
.kpi-card.is-accent .kpi-s { color: rgba(32, 26, 18, 0.72); }

.kpi-k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}

.kpi-n {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.kpi-s { font-size: 12px; color: var(--muted); margin-top: 5px; }

.surface-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.table-wrap { overflow-x: auto; }

.etable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.etable th {
  text-align: left;
  padding: 12px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  white-space: nowrap;
}

.etable td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.etable td:first-child,
.etable td:nth-child(3) { white-space: nowrap; }
.etable tr:last-child td { border-bottom: none; }

.st-pill {
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.st-nova { background: var(--brand); color: #201a12; }
.st-confirmada { background: rgba(47, 122, 75, 0.16); color: var(--ok); }
.st-espera { background: rgba(168, 101, 10, 0.16); color: var(--warn); }

.gallery-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.g-shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  margin: 0;
}

.g-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.g-shot:hover img { transform: scale(1.06); }

.cover-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.cover-opt {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 2px solid transparent;
  padding: 0;
  opacity: 0.72;
}
.cover-opt img { width: 100%; height: 100%; object-fit: cover; }
.cover-opt.is-selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--brand); opacity: 1; }

/* Lightbox */
.lightbox-wrap {
  align-self: center;
  max-width: 920px;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-img {
  max-height: 76vh;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 700px;
  color: #f9f8f5;
  gap: 12px;
}

/* Footer */
.foot {
  padding: 44px 22px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.foot-slogan {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  margin: 0 0 8px;
}

.foot-mail {
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  margin-bottom: 6px;
}

.foot-loc {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.circles {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.circle-btn:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  background: var(--brand);
  color: #201a12;
}

/* Toasts */
.toast-root {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--pill-dark);
  backdrop-filter: blur(12px);
  color: #f9f8f5;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-pill);
}

.toast .ico { color: var(--brand); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(34px); opacity: 0.4; } to { transform: translateY(0); opacity: 1; } }
@keyframes reelZoom { from { transform: scale(1); } to { transform: scale(1.1); } }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 820px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .collage-4 { grid-template-columns: repeat(2, 1fr); }
  .app-promo { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero {
    grid-template-columns: 1fr;
    height: 70vh;
    min-height: 440px;
  }
  .hero-col:nth-child(2),
  .hero-col:nth-child(3) {
    display: none;
  }
  .plans-grid { grid-template-columns: 1fr; }
  .rtile { width: 152px; height: 190px; }
  .field-2 { grid-template-columns: 1fr; }
  .sheet { padding: 14px 18px 30px; }
  .cover-picker { grid-template-columns: repeat(3, 1fr); }
  .bnav-btn { font-size: 10px; padding: 7px 3px; }
}
