/* ============================================================
   W20 · Pago (premium checkout)
   ============================================================ */
.pago-summary {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-700) 60%, #2a4ea3 100%);
  color: white;
  padding: 18px 20px;
  margin: 10px 0 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 100px;
}
.pago-summary::before {
  content: "";
  position: absolute; top: -30px; right: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(closest-side, rgba(237,107,64,.4), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.pago-summary-left { flex: 1; min-width: 0; position: relative; z-index: 1; }
.pago-plan-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 4px 0 4px;
  font-style: italic;
}
.pago-plan-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--naranja-100);
  font-style: normal;
  text-transform: uppercase;
}
.pago-plan-meta {
  font-size: 11.5px;
  color: rgba(255,255,255,.85);
}
.pago-summary-mascot {
  width: 90px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.3));
}

.pago-order {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}
.pago-order-title {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.pago-order-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-2);
}
.pago-order-row .lbl { min-width: 0; }
.pago-order-row .ttl {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.pago-order-row .sub {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}
.pago-order-row .val {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  flex-shrink: 0;
}
.pago-order-coupon {
  display: flex;
  gap: 8px;
  margin: 10px 0 4px;
}
.pago-coupon-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.pago-coupon-input:focus { border-color: var(--naranja); }
.pago-coupon-input::placeholder { color: var(--muted); font-weight: 500; }
.pago-coupon-btn {
  background: var(--azul-50);
  color: var(--azul);
  border: 1px solid var(--azul-100);
  padding: 9px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s;
}
.pago-coupon-btn:hover { background: var(--azul); color: white; border-color: var(--azul); }
.pago-order-divider {
  height: 1px;
  background: var(--line-2);
  margin: 12px 0 14px;
}
.pago-order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pago-order-total .ttl {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.pago-order-total .sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}
.pago-order-total .amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--naranja);
  letter-spacing: -0.8px;
  line-height: 1;
}
.pago-order-total .cents { font-size: 16px; }
.pago-order-total .ccy {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  margin-left: 2px;
}
.pago-trial-banner {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--azul-50);
  border: 1px solid var(--azul-100);
  border-radius: 10px;
  font-size: 11.5px;
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}
.pago-trial-banner svg { fill: currentColor; vertical-align: -2px; }
.pago-trial-banner strong { font-weight: 800; }

.section-title-line {
  font-size: 12px;
  font-weight: 800;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 18px 0 10px;
}

.pago-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.pago-method {
  background: white;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
  transition: border-color .15s, background .15s, box-shadow .15s;
  position: relative;
}
.pago-method:hover { border-color: var(--naranja-100); }
.pago-method.active {
  border-color: var(--naranja);
  background: linear-gradient(135deg, var(--naranja-50) 0%, white 70%);
  box-shadow: var(--shadow-glow);
}
.pago-method-ic {
  width: 40px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.pago-method-ic svg { width: 20px; height: 20px; }
.pago-method-meta { flex: 1; min-width: 0; }
.pago-method-lbl {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.pago-method-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}
.pago-method-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--line-2);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .15s;
}
.pago-method.active .pago-method-check { background: var(--naranja); }
.pago-method-check svg { width: 11px; height: 11px; fill: currentColor; }

.pago-card-form {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 6px;
  box-shadow: var(--shadow-xs);
}
.pago-card-brand {
  display: flex;
  gap: 8px;
  margin: -4px 0 14px;
  align-items: center;
}
.pago-brand {
  display: inline-grid;
  place-items: center;
  height: 22px;
  min-width: 34px;
  padding: 0 8px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: white;
}
.pago-brand.visa {
  background: #1A1F71;
  font-style: italic;
  letter-spacing: 0.5px;
}
.pago-brand.mc {
  background: white;
  border: 1px solid var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 0 6px;
  gap: 0;
}
.pago-brand.mc .mc-red,
.pago-brand.mc .mc-yellow {
  width: 16px; height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pago-brand.mc .mc-red { background: #EB001B; }
.pago-brand.mc .mc-yellow {
  background: #F79E1B;
  mix-blend-mode: multiply;
  margin-left: -6px;
}
.pago-brand.amex {
  background: #006FCF;
  letter-spacing: 0.5px;
}
.pago-save-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
}
.pago-save-card input { accent-color: var(--naranja); }

.pago-trust {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  background: linear-gradient(160deg, var(--azul-50), white);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 8px;
  margin: 16px 0;
}
.pago-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.pago-trust-ic {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  background: white;
  color: var(--azul);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(28,60,133,.15);
}
.pago-trust-ic svg { width: 14px; height: 14px; fill: currentColor; }
.pago-trust-ttl {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--azul);
  line-height: 1.2;
}
.pago-trust-sub {
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.3;
}

.pago-terms {
  display: flex;
  gap: 10px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  margin-bottom: 10px;
}
.pago-terms input {
  margin-top: 2px;
  accent-color: var(--naranja);
  flex-shrink: 0;
}
.pago-terms span {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.pago-terms strong { color: var(--naranja); font-weight: 800; }

/* W14 · Huella page redesign */
.huella-page-hero {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  margin: 4px 0 0;
  overflow: hidden;
  min-height: 200px;
}
.huella-page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--azul) 0%, var(--azul-700) 70%, #2A4EA3 100%);
}
.huella-page-hero-bg::before {
  content: ""; position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, rgba(237,107,64,.40), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.huella-page-hero-bg::after {
  content: ""; position: absolute;
  bottom: -60px; left: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, rgba(237,107,64,.25), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.huella-page-hero-content {
  position: relative;
  z-index: 1;
  color: white;
}
.huella-page-hero-mascot {
  position: absolute;
  right: -10px;
  top: 18px;
  height: 120px;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.28));
  z-index: 0;
}
/* Only the title + body copy wrap above the mascot. Buttons row breaks out
   so it spans full width below her silhouette. */
.huella-page-hero-content .section-eyebrow,
.huella-page-hero-content .huella-big-stat,
.huella-page-hero-content .huella-page-hero-desc { max-width: 62%; }
@media (max-width: 360px) {
  .huella-page-hero-mascot { height: 120px; }
  .huella-page-hero-content .section-eyebrow,
  .huella-page-hero-content .huella-big-stat,
  .huella-page-hero-content .huella-page-hero-desc { max-width: 68%; }
}
.huella-big-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0;
}
.huella-big-num {
  font-size: 44px;
  font-weight: 800;
  color: white;
  line-height: 1;
  text-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.huella-big-lbl {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}
.huella-page-hero-desc {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  max-width: 80%;
}
.huella-page-hero-desc strong { color: white; }

/* Milestones - new card layout */
.milestones-card {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 8px;
}
.milestones-bar { margin-bottom: 16px; }
.milestones-bar-track {
  height: 10px;
  background: var(--line);
  border-radius: 30px;
  overflow: hidden;
}
.milestones-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--naranja), #FFAA7A);
  border-radius: 30px;
  transition: width .5s ease;
}

/* Tier grid (4 badges in a row) */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.tier-badge {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 10px 4px;
  text-align: center;
  position: relative;
  transition: all .2s;
}
.tier-badge.unlocked {
  background: var(--naranja-50);
  border-color: var(--naranja-100);
}
.tier-badge-ic {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--line);
  color: var(--muted-2);
  display: grid; place-items: center;
  margin: 0 auto 6px;
}
.tier-badge.unlocked .tier-badge-ic {
  background: var(--naranja);
  color: white;
  box-shadow: 0 2px 6px rgba(237,107,64,.3);
}
.tier-badge-ic svg { width: 16px; height: 16px; fill: currentColor; }
.tier-badge-name {
  font-size: 10px;
  font-weight: 800;
  color: var(--azul);
  line-height: 1.2;
  margin-bottom: 2px;
}
.tier-badge:not(.unlocked) .tier-badge-name { color: var(--muted); }
.tier-badge-pts {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted-2);
}
.tier-badge.unlocked .tier-badge-pts { color: var(--naranja-600); }
.tier-badge-check {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #1f7a3a;
  color: white;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid white;
}

.milestone-next {
  background: var(--azul-25);
  border: 1px solid var(--azul-100);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.milestone-next-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--naranja);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.milestone-next-ic svg { width: 16px; height: 16px; fill: currentColor; }

/* Story cards */
.story-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform .12s, box-shadow .15s;
  align-items: stretch;
}
.story-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.story-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  flex-shrink: 0;
}
.story-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.story-org { font-size: 12px; font-weight: 800; color: var(--azul); }
.story-desc { font-size: 12px; color: var(--text-2); margin: 0; line-height: 1.4; }
.story-pill {
  background: var(--naranja-50);
  color: var(--naranja-600);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.story-pill.heart { background: var(--azul-50); color: var(--azul); }

/* W03 · Profile redesign */
.profile-hero {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  margin: -16px -18px 16px;
  border-radius: 0;
  overflow: hidden;
}
.profile-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--azul) 0%, var(--azul-700) 100%);
}
.profile-hero-bg::before, .profile-hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}
.profile-hero-bg::before {
  width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(237,107,64,.35), transparent 70%);
  top: -40px; right: -40px;
}
.profile-hero-bg::after {
  width: 180px; height: 180px;
  background: radial-gradient(closest-side, rgba(237,107,64,.20), transparent 70%);
  bottom: -40px; left: -40px;
}
.profile-hero-content { position: relative; z-index: 1; }

.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 30px;
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.tier-pill svg { width: 11px; height: 11px; fill: currentColor; }

.profile-edit-btn {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.profile-edit-btn:hover { background: rgba(255,255,255,.25); }
.profile-edit-btn svg { width: 18px; height: 18px; fill: currentColor; }

.profile-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.profile-kpi {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  color: white;
}
.profile-kpi-num {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.profile-kpi-lbl {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  justify-content: center;
  letter-spacing: 0.2px;
}
.profile-kpi-lbl .ic-mini { color: #ffd2c0; }

/* Progress card */
.profile-progress-card {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform .12s, box-shadow .15s;
  box-shadow: var(--shadow-xs);
}
.profile-progress-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.profile-progress-pct {
  font-size: 20px;
  font-weight: 800;
  color: var(--naranja);
}
.profile-progress-track {
  height: 8px;
  background: var(--azul-50);
  border-radius: 30px;
  overflow: hidden;
}
.profile-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--naranja), #FFAA7A);
  border-radius: 30px;
  transition: width .5s ease;
}

/* Achievements row */
.achievement-card {
  flex: 0 0 96px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  scroll-snap-align: start;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: transform .15s;
  cursor: pointer;
}
.achievement-card:hover { transform: translateY(-2px); }
.achievement-card .achievement-ic {
  width: 44px; height: 44px;
  margin: 0 auto 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--naranja), #FFAA7A);
  color: white;
  display: grid; place-items: center;
}
.achievement-card .achievement-ic svg { width: 22px; height: 22px; fill: currentColor; }
.achievement-card .achievement-name {
  font-size: 10px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.achievement-card.locked .achievement-ic {
  background: var(--line);
  color: var(--muted-2);
}
.achievement-card.locked .achievement-name { color: var(--muted-2); }
.achievement-card.locked { opacity: 0.65; }
.achievement-lock {
  position: absolute;
  top: 4px; right: 4px;
  font-size: 10px;
}

/* Activity timeline */
.activity-timeline {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 4px 14px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-xs);
}
.activity-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.activity-row.last { border-bottom: 0; }
.activity-ic {
  width: 34px; height: 34px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.activity-ic svg { width: 18px; height: 18px; fill: currentColor; }
.activity-body { flex: 1; min-width: 0; }
.activity-text {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.4;
}
.activity-text b { color: var(--azul); font-weight: 700; }
.activity-t {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Signup hero compacto (un poco más bajo que el de login) */
.signup-hero { height: 230px; }
.signup-hero .login-hero-content { padding: 50px 28px 20px; }
.signup-hero .login-hero-content h2 { font-size: 20px; }
.signup-hero .login-hero-logo { height: 32px; margin-bottom: 12px; }
/* Anchor the background to the top so the characters' faces stay visible
   inside the shorter hero — `cover` was cropping equally on both sides. */
.signup-hero .login-hero-bg {
  background-size: cover;
  background-position: center 18%;
}

/* Password strength */
.pass-strength {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pass-strength-bars {
  display: flex;
  gap: 3px;
  flex: 1;
}
.pass-strength-bars span {
  flex: 1;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  transition: background .2s;
}
.pass-strength.weak .pass-strength-bars span:nth-child(-n+1) { background: #c43838; }
.pass-strength.medium .pass-strength-bars span:nth-child(-n+2) { background: #d39400; }
.pass-strength.good .pass-strength-bars span:nth-child(-n+3) { background: #1f7a3a; }
.pass-strength.strong .pass-strength-bars span { background: #1f7a3a; }
.pass-strength-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .3px;
  min-width: 90px;
  text-align: right;
}
.pass-strength.weak .pass-strength-lbl { color: #c43838; }
.pass-strength.medium .pass-strength-lbl { color: #d39400; }
.pass-strength.good .pass-strength-lbl,
.pass-strength.strong .pass-strength-lbl { color: #1f7a3a; }

/* Terms checkbox más limpio */
.terms-box {
  background: var(--azul-25);
  border: 1px solid var(--azul-100);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.5;
}
.terms-box input { accent-color: var(--naranja); flex-shrink: 0; }

/* Biometric quick login */
.biometric-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  background: var(--azul-25);
  border: 1.5px dashed var(--azul-100);
  border-radius: 14px;
  font-family: inherit;
  cursor: pointer;
  margin: 14px 0 4px;
  transition: all .15s;
}
.biometric-btn:hover {
  background: var(--azul-50);
  border-color: var(--azul);
  border-style: solid;
}
.biometric-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--azul);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.biometric-tit { font-weight: 800; font-size: 13px; color: var(--azul); line-height: 1.2; }
.biometric-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.biometric-arrow { color: var(--muted-2); font-size: 22px; font-weight: 300; }

/* Home · Huella hero (progreso del Círculo) */
.huella-hero {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(160deg, var(--azul) 0%, var(--azul-700) 70%, #2A4EA3 100%);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.huella-hero::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(closest-side, rgba(237,107,64,.40), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.huella-hero::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(237,107,64,.25), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.huella-hero-content { position: relative; z-index: 1; }

.huella-pct {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  padding: 6px 12px;
  text-align: center;
}
.huella-pct-num {
  color: white;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.huella-pct-lbl {
  color: rgba(255,255,255,.8);
  font-size: 9px;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.huella-progress { margin-bottom: 10px; }
.huella-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.huella-progress-lbl {
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.huella-progress-lbl .ic-mini { color: #ffd2c0; }
.huella-progress-val {
  color: white;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255,255,255,.15);
  padding: 2px 8px;
  border-radius: 30px;
}
.huella-progress-track {
  height: 8px;
  background: rgba(255,255,255,.18);
  border-radius: 30px;
  overflow: hidden;
}
.huella-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD2C0, white);
  border-radius: 30px;
  transition: width .5s ease;
}
.huella-progress-fill.orange {
  background: linear-gradient(90deg, var(--naranja), #FFAA7A);
}

.huella-secondary-btn {
  flex: 1;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  color: white;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all .15s;
}
.huella-secondary-btn:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

/* W21 · Promoción del mes (plan Estándar+) */
.promo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(160deg, var(--naranja-50) 0%, white 100%);
  border: 1px solid var(--naranja-100);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.promo-banner-ic {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--naranja);
  color: white;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.promo-banner-ic svg { width: 20px; height: 20px; fill: currentColor; }
.promo-banner-body { min-width: 0; flex: 1; }

/* W21 · Galería fotos del negocio */
.biz-photo-thumb {
  flex: 0 0 130px;
  height: 130px;
  border-radius: 14px;
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-2);
  overflow: hidden;
  transition: transform .15s;
}
.biz-photo-thumb:hover { transform: translateY(-2px); }
.biz-photo-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  letter-spacing: .3px;
}

/* W21 · Horarios */
.horario-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.horario-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 12.5px;
}
.horario-row.hoy {
  background: var(--naranja-50);
  border: 1px solid var(--naranja-100);
}
.horario-row.hoy .horario-dia { color: var(--naranja); font-weight: 800; }
.horario-row.hoy .horario-hora { color: var(--ink); font-weight: 700; }
.horario-dia { color: var(--text-2); font-weight: 600; }
.horario-hora { color: var(--muted); font-weight: 600; }

/* W21 · Testimonios */
.testimonios { display: flex; flex-direction: column; gap: 10px; }
.testimonio-card {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-xs);
}
.testimonio-head { display: flex; gap: 10px; align-items: center; }
.testimonio-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul), var(--azul-700));
  color: white;
  font-size: 12px;
  font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
}

/* W21 · Redes sociales grid */
.redes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.red-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 0;
  border-radius: 12px;
  color: white;
  font-family: inherit;
  font-weight: 700;
  font-size: 11.5px;
  cursor: pointer;
  transition: transform .15s, filter .15s;
}
.red-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* Mi negocio · dashboard hero (foto real del negocio + overlay) */
.biz-hero {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  background-color: var(--azul);
  margin-bottom: 14px;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
}
.biz-hero-info { flex: 1; min-width: 0; z-index: 1; }
.biz-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 30px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.4;
  height: 22px;
  box-sizing: border-box;
}
.biz-hero-pill.plan { background: rgba(237,107,64,.85); }

/* KPI grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  min-width: 0;
}
.kpi-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  padding: 12px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  min-width: 0;
  box-shadow: var(--shadow-xs);
}
.kpi-ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.kpi-ic svg { width: 18px; height: 18px; fill: currentColor; }
/* Column variant used by 3-up KPI grid (Mi negocio) so the delta badge
   sits on a top row instead of overlapping the number. */
.kpi-grid .kpi-card {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 10px 10px 4px;
  min-height: 0;
  overflow: hidden;
}
.kpi-grid .kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}
.kpi-grid .kpi-ic { width: 30px; height: 30px; border-radius: 9px; }
.kpi-grid .kpi-ic svg { width: 16px; height: 16px; }
.kpi-grid .kpi-num { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; text-align: center; }
.kpi-grid .kpi-lbl { text-align: center; }
.kpi-spark {
  width: 100%;
  height: 22px;
  display: block;
  margin: 4px -2px 0;
  pointer-events: none;
}
.kpi-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.kpi-lbl {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: 0.2px;
}
.kpi-grid .kpi-num { margin-top: 2px; line-height: 1.05; }
.kpi-grid .kpi-lbl {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.kpi-delta {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 30px;
  white-space: nowrap;
  flex-shrink: 0;
}
.kpi-delta.up {
  background: #e9f7ec;
  color: #1f7a3a;
}
.kpi-delta.down {
  background: #fdecec;
  color: #c43838;
}
.kpi-delta.neutral {
  background: var(--azul-50);
  color: var(--azul);
}

/* Action grid (4 cards 2x2) */
.actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.action-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all .15s;
  box-shadow: var(--shadow-xs);
}
.action-card:hover {
  transform: translateY(-2px);
  border-color: var(--naranja-100);
  box-shadow: var(--shadow);
}
.action-card.primary {
  background: var(--naranja);
  border-color: var(--naranja);
}
.action-card.primary .ac-tit { color: white; }
.action-card.primary .ac-sub { color: rgba(255,255,255,.85); }
.ac-ic {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ac-ic svg { width: 18px; height: 18px; fill: currentColor; }
.ac-text { min-width: 0; }
.ac-tit { font-size: 12.5px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.ac-sub { font-size: 10px; color: var(--muted); margin-top: 2px; }

/* Plan mini card */
.plan-mini {
  background: linear-gradient(160deg, var(--naranja-50) 0%, white 100%);
  border: 1px solid var(--naranja-100);
  border-radius: 18px;
  padding: 14px;
  margin-top: 18px;
}

.period-nav {
  width: 32px; height: 32px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: white;
  color: var(--azul);
  display: grid; place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .15s;
}
.period-nav:hover:not(.disabled):not(:disabled) {
  background: var(--azul-50);
  border-color: var(--azul-100);
}
.period-nav.disabled, .period-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.period-nav svg { width: 18px; height: 18px; fill: currentColor; }

.metric-row .label .ic {
  width: 30px; height: 30px;
  border-radius: 10px;
  background: var(--azul-50);
  display: grid; place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}
.metric-row .label .ic svg { width: 16px; height: 16px; fill: currentColor; }
.metric-row .value {
  color: var(--naranja); font-weight: 800; font-size: 14px;
  background: var(--naranja-50);
  padding: 4px 10px;
  border-radius: 30px;
}

.hearts-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}
.hearts-compare .pill-big {
  border-radius: 16px;
  padding: 14px 12px;
  color: white;
  text-align: center;
}
.hearts-compare .ganados { background: linear-gradient(160deg, var(--naranja), #ff8e5f); }
.hearts-compare .perdidos { background: linear-gradient(160deg, var(--azul), var(--azul-700)); }
.hearts-compare .num { font-size: 24px; font-weight: 800; line-height: 1; }
.hearts-compare .lbl { font-size: 11px; opacity: .92; margin-top: 4px; }

/* ============================================================
   CALENDAR (W06)
   ============================================================ */
.cal {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow-xs);
}
.cal-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.cal-head h3 { margin: 0; color: var(--azul); font-size: 15px; font-weight: 800; }
.cal-head button {
  background: var(--azul-50); color: var(--azul); border: 0;
  width: 32px; height: 32px; border-radius: 10px; font-size: 14px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.cal-grid .dow {
  font-size: 9.5px; color: var(--muted); font-weight: 800;
  padding: 6px 0; text-transform: uppercase; letter-spacing: .5px;
}
.cal-grid .day {
  font-size: 12px;
  font-weight: 600;
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  color: var(--ink);
  transition: background .12s;
}
.cal-grid .day:hover { background: var(--azul-50); }
.cal-grid .day.has::after {
  content: ""; position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--naranja);
  border-radius: 50%;
}
.cal-grid .day.today { background: var(--naranja); color: white; font-weight: 800; }
.cal-grid .day.today::after { background: white; }
.cal-grid .day.muted { color: var(--muted-2); }

/* ============================================================
   PRICING (W19)
   ============================================================ */
.plan-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform .12s, border-color .15s, box-shadow .15s;
  position: relative;
  box-shadow: var(--shadow-xs);
}
.plan-card:hover { border-color: var(--naranja-100); transform: translateY(-2px); }
.plan-card.selected {
  border-color: var(--naranja);
  background: linear-gradient(160deg, var(--naranja-50) 0%, white 60%);
  box-shadow: var(--shadow-glow);
}
.plan-card.selected::before {
  content: "";
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px;
  background: var(--naranja) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/16px no-repeat;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}
.plan-card .head {
  display: flex; align-items: center; gap: 12px;
}
.plan-card .head img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.plan-card .head .name {
  color: var(--azul); font-weight: 800; font-size: 15px;
  letter-spacing: -.1px; line-height: 1.2;
}
.plan-card .head .price {
  color: var(--naranja); font-weight: 800; font-size: 16px;
  margin-top: 2px;
}
.plan-card .head .price small { font-size: 11px; color: var(--muted); font-weight: 700; }
.plan-card ul { padding-left: 16px; margin: 10px 0 0; }
.plan-card ul li {
  font-size: 12px; color: var(--text-2);
  margin-bottom: 4px; line-height: 1.4;
}

/* W19 v2 — richer pricing screen */
.planes-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 16px;
  min-height: 130px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  isolation: isolate;
}
.planes-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-700) 70%, #2a4ea3 100%);
  z-index: -2;
}
.planes-hero-bg::before {
  content: "";
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(closest-side, rgba(237,107,64,.45), transparent 70%);
  filter: blur(20px);
}
.planes-hero-content {
  color: white;
  flex: 1;
  min-width: 0;
  z-index: 1;
}
.planes-hero-amount {
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.6px;
  margin: 4px 0 6px;
}
.planes-hero-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
  max-width: 220px;
}
.planes-hero-mascot {
  position: absolute;
  right: 8px; bottom: -6px;
  width: 110px;
  pointer-events: none;
  z-index: 0;
}

.billing-toggle {
  display: flex;
  gap: 0;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 30px;
  padding: 4px;
  margin: 0 0 18px;
  position: relative;
}
.billing-opt {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  border-radius: 26px;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.billing-opt.active {
  background: white;
  color: var(--azul);
  box-shadow: 0 2px 8px rgba(28,60,133,.12);
}
.billing-save {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .3px;
  background: var(--naranja);
  color: white;
  padding: 2px 7px;
  border-radius: 30px;
  text-transform: uppercase;
}
.billing-opt.active .billing-save { background: #1f7a3a; }

.plan-card-v2 {
  position: relative;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform .12s, border-color .15s, box-shadow .15s, background .15s;
  box-shadow: var(--shadow-xs);
}
.plan-card-v2:hover { border-color: var(--naranja-100); transform: translateY(-2px); }
.plan-card-v2.selected {
  border-color: var(--naranja);
  background: linear-gradient(160deg, var(--naranja-50) 0%, white 60%);
  box-shadow: var(--shadow-glow);
}
.plan-card-v2.selected::after {
  content: "";
  position: absolute; top: 14px; right: 14px;
  width: 26px; height: 26px;
  background: var(--naranja) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/15px no-repeat;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}
/* Popular = "Más elegido". Soft accent only — the badge on top is the
   primary signal. Keep the solid orange border for the SELECTED state so
   the two never look the same. */
.plan-card-v2.popular {
  border-color: var(--naranja-100);
  box-shadow: 0 6px 22px rgba(237,107,64,.10);
}
/* Selected always wins visually, even when both popular and selected. */
.plan-card-v2.popular.selected {
  border-color: var(--naranja);
  box-shadow: var(--shadow-glow);
}
.plan-pop {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--naranja);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(237,107,64,.35);
}
.plan-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 12px;
}
.plan-head img {
  width: 56px; height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.plan-meta { min-width: 0; flex: 1; }
.plan-tier {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--naranja);
  text-transform: uppercase;
}
.plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--azul);
  letter-spacing: -0.3px;
  line-height: 1.1;
  margin-top: 2px;
}
.plan-tagline {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.3;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0 4px;
  border-top: 1px dashed var(--line-2);
  margin-top: 4px;
}
.plan-price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1;
}
.plan-price-unit {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}
.plan-eq {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.plan-save {
  display: inline-block;
  background: #e9f7ec;
  color: #1f7a3a;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 30px;
  margin: 4px 0 6px;
}
.plan-bullets {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
}
.plan-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 7px;
  line-height: 1.35;
}
.plan-bullets li.group {
  font-weight: 700;
  color: var(--azul);
}
.plan-bullets li.off { color: var(--muted); }
.plan-bullet-ic {
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: #e9f7ec;
  color: #1f7a3a;
  border-radius: 50%;
  margin-top: 1px;
}
.plan-bullet-ic svg { width: 11px; height: 11px; fill: currentColor; }
.plan-bullets li.off .plan-bullet-ic { background: var(--line-2); color: var(--muted); }
.plan-cta { width: 100%; }

.planes-trust {
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--azul-50), white);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 14px 10px;
  margin: 8px 0 18px;
}
.planes-trust-item { flex: 1; text-align: center; }
.planes-trust-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--azul);
  letter-spacing: -0.3px;
}
.planes-trust-lbl {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: .2px;
}
.planes-trust-divider {
  width: 1px;
  height: 32px;
  background: var(--line-2);
}

.planes-faq { margin-bottom: 6px; }
.planes-faq h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--azul);
  margin: 4px 0 10px;
}
.planes-faq details {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  transition: border-color .15s;
}
.planes-faq details[open] { border-color: var(--naranja-100); }
.planes-faq summary {
  list-style: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  padding-right: 20px;
}
.planes-faq summary::-webkit-details-marker { display: none; }
.planes-faq summary::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .15s;
}
.planes-faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.planes-faq details p {
  font-size: 11.5px;
  color: var(--text-2);
  margin: 10px 0 0;
  line-height: 1.5;
}

/* ============================================================
   LANDING / WELCOME
   ============================================================ */
.welcome {
  height: 100%;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--azul) 0%, var(--azul-700) 70%, #2a4ea3 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding-top: 44px; /* room for device-level status bar */
}
@media (max-width: 900px) {
  .welcome { padding-top: env(safe-area-inset-top, 0px); }
}
.welcome::before {
  content: "";
  position: absolute;
  top: -50px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(closest-side, rgba(237,107,64,.45), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.welcome::after {
  content: "";
  position: absolute;
  bottom: -50px; left: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(closest-side, rgba(237,107,64,.25), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.welcome .top {
  padding: 36px 28px 0;
  text-align: center;
  position: relative;
}
.welcome .top .logo { width: 130px; margin: 0 auto; }
.welcome .top h1 {
  margin: 22px 0 6px; font-size: 24px; font-weight: 800; font-style: italic;
  letter-spacing: -.5px;
}
.welcome .top p { margin: 0; color: #c5d2ee; font-size: 13.5px; line-height: 1.5; }
.welcome .scene {
  flex: 1;
  display: grid; place-items: center;
  padding: 16px 28px 0;
  position: relative;
}
.welcome .scene .scene-card {
  background: #f2f2f2;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  width: 100%;
}
.welcome .scene .scene-card img {
  max-height: 320px;
  width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}
.welcome .actions {
  padding: 18px 28px 30px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.welcome .actions .btn-outline {
  background: rgba(255,255,255,.1);
  color: white;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.welcome .actions .btn-outline:hover { background: rgba(255,255,255,.2); }

/* ============================================================
   AUTH
   ============================================================ */
.auth-wrap {
  height: 100%;
  padding: 56px 24px 30px;
  background: white;
  overflow-y: auto;
}
.auth-wrap .brand {
  text-align: center;
  margin-bottom: 14px;
}
.auth-wrap .brand img { height: 32px; margin: 0 auto; }
.auth-wrap .brand .slogan {
  font-size: 11px; color: var(--muted);
  margin: 6px 0 0; font-weight: 500; font-style: italic;
}
.auth-wrap h2 {
  font-size: 22px;
  color: var(--azul);
  font-weight: 800;
  margin: 16px 0 18px;
  text-align: center;
  letter-spacing: -.3px;
}
.auth-wrap .sep,
.login-card .sep {
  text-align: center; color: var(--muted); font-size: 11px; font-weight: 700;
  margin: 18px 0;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-wrap .sep::before, .auth-wrap .sep::after,
.login-card .sep::before, .login-card .sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-wrap .switch,
.login-card .switch {
  text-align: center; font-size: 13px; color: var(--muted); margin: 18px 0 0;
}
.auth-wrap .switch a,
.login-card .switch a { color: var(--naranja); font-weight: 800; cursor: pointer; }
.auth-wrap .switch a:hover,
.login-card .switch a:hover { text-decoration: underline; }
.auth-wrap .ill { text-align: center; margin: 14px 0; }
.auth-wrap .ill img { max-height: 120px; margin: 0 auto; }

/* ============================================================
   SPLASH (animated)
   ============================================================ */
.splash {
  height: 100%;
  background: linear-gradient(160deg, var(--azul) 0%, var(--azul-700) 70%, #2a4ea3 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: white;
}
.splash::before, .splash::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}
.splash::before {
  width: 260px; height: 260px;
  background: rgba(237,107,64,.35);
  top: -80px; right: -80px;
}
.splash::after {
  width: 260px; height: 260px;
  background: rgba(237,107,64,.20);
  bottom: -80px; left: -80px;
}
.splash .logo-anim {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  animation: pulseIn 1s cubic-bezier(.2,.8,.3,1);
}
.splash .logo-anim img {
  width: 180px;
  height: 74px; /* matches viewBox 150x62 ratio — pins the box and prevents the
                   browser from reserving any extra height for the cropped
                   slogan path data still inside the SVG file. */
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: center top;
}
.splash .logo-anim .splash-slogan {
  font-style: italic; font-weight: 500;
  margin: 14px 0 0;
  font-size: 14px;
  letter-spacing: .3px;
  color: rgba(255,255,255,.95);
  text-align: center;
}
.splash .spinner {
  margin: 32px auto 0;
  width: 32px; height: 32px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseIn {
  0% { transform: scale(.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   PROGRESS STEPS
   ============================================================ */
.steps {
  display: flex; gap: 6px;
  margin: 4px 0 14px;
}
.steps .step {
  flex: 1; height: 5px; border-radius: 30px; background: var(--line);
}
.steps .step.active { background: var(--naranja); }
.steps .step.current { background: linear-gradient(90deg, var(--naranja), #ffaa7a); }

/* ============================================================
   NOTIFICATION CARDS
   ============================================================ */
.notif-card {
  background: white; border: 1px solid var(--line-2);
  border-radius: 14px; padding: 12px;
  display: grid; grid-template-columns: 40px 1fr; gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  transition: all .12s;
  box-shadow: var(--shadow-xs);
}
.notif-card:hover { border-color: var(--naranja-100); }
.notif-card .ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--naranja-50); color: var(--naranja);
  display: grid; place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.notif-card .ico svg { width: 20px; height: 20px; fill: currentColor; }
.notif-card .body .tit { font-weight: 800; font-size: 12.5px; color: var(--ink); }
.notif-card .body .msg { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.notif-card .body .t { font-size: 10.5px; color: var(--naranja); font-weight: 800; margin-top: 4px; }
.notif-card.new::before {
  content:""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--naranja); position: absolute; right: 10px; top: 10px;
}

/* ============================================================
   MODAL / SHEET (lives INSIDE .screen)
   ============================================================ */
.modal-host {
  position: absolute;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.modal-host.open { pointer-events: all; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,20,40,.55);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .25s;
}
.modal-host.open .modal-backdrop { opacity: 1; }
.modal-card {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -45%) scale(.96);
  width: calc(100% - 32px);
  max-width: 340px;
  max-height: 80%;
  background: white;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), opacity .2s;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal-host.open .modal-card {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.modal-card .m-close {
  position: absolute; top: 12px; right: 12px;
  background: var(--azul-50); color: var(--azul);
  border: 0; width: 30px; height: 30px;
  border-radius: 10px; font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
.modal-card h3 {
  margin: 0 0 8px;
  color: var(--azul);
  font-size: 17px;
  font-weight: 800;
  padding-right: 32px;
  line-height: 1.2;
}
.modal-card .m-body {
  flex: 1;
  overflow-y: auto;
  margin: 0 -22px 12px;
  padding: 0 22px;
}
.modal-card .m-body p {
  margin: 0 0 10px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.55;
}
.modal-card .m-actions {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px;
}
.modal-card .m-actions.row { flex-direction: row; }
.modal-card .m-actions.row .btn { flex: 1; }
.modal-card .m-hero {
  text-align: center;
  margin: -8px 0 12px;
}
.modal-card .m-hero img { max-height: 110px; margin: 0 auto 8px; }

/* Bottom action sheet variant */
.modal-card.sheet {
  top: auto; bottom: 0;
  left: 0; right: 0;
  width: 100%;
  max-width: none;
  transform: translateY(100%);
  border-radius: 22px 22px 0 0;
  padding-bottom: 26px;
}
.modal-host.open .modal-card.sheet { transform: translateY(0); }
.modal-card.sheet::before {
  content: "";
  display: block;
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 30px;
  margin: -10px auto 14px;
}
.modal-card .sheet-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
}
.modal-card .sheet-item:last-child { border-bottom: 0; }
.modal-card .sheet-item .ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--azul-50); color: var(--azul);
  display: grid; place-items: center;
  font-size: 18px;
}
.modal-card .sheet-item .lbl {
  font-size: 14px; font-weight: 700; color: var(--ink); flex: 1;
}

/* Tipo de cita / opciones simétricas con radio + texto */
.tipo-cita-opt {
  flex: 1 1 0;
  min-width: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}
.tipo-cita-opt input { accent-color: var(--naranja); flex-shrink: 0; }
.tipo-cita-opt:hover { border-color: var(--azul-100); }
.tipo-cita-opt.selected,
.tipo-cita-opt:has(input:checked) {
  background: var(--naranja-50);
  border-color: var(--naranja);
  color: var(--azul);
}

/* Calendly-like time slots */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.slot {
  padding: 8px 4px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  color: var(--azul);
  background: white;
}
.slot:hover, .slot.selected { background: var(--naranja); color: white; border-color: var(--naranja); }
.slot.disabled { color: var(--muted-2); background: var(--surface-2); pointer-events: none; }

/* ============================================================
   UTILS
   ============================================================ */
.text-azul { color: var(--azul); }
.text-naranja { color: var(--naranja); }
.text-muted { color: var(--muted); }
.text-ink { color: var(--ink); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: white; }
.divider { height: 1px; background: var(--line-2); margin: 16px 0; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-4 { margin-bottom: 4px; } .mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.font-bold { font-weight: 700; }
.font-extra { font-weight: 800; }
.italic { font-style: italic; }
.row { display: flex; gap: 10px; align-items: center; }
.row.between { justify-content: space-between; }
.row.start { align-items: flex-start; }
.col { display: flex; flex-direction: column; gap: 10px; }
.small { font-size: 12px; }
.tiny { font-size: 11px; line-height: 1.4; }
.big-title {
  font-size: 22px; font-weight: 800; color: var(--azul);
  margin: 4px 0 12px; letter-spacing: -.3px; line-height: 1.2;
}
.section-eyebrow {
  font-size: 10.5px; color: var(--naranja);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.4px; margin-bottom: 4px;
}
