/* ============================================================
   W16 · Cómo ser aliado (rich sales redesign)
   ============================================================ */
.aliado-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 12px 22px 28px;
  isolation: isolate;
  color: white;
}
.aliado-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--azul) 0%, var(--azul-700) 60%, #2a4ea3 100%);
  z-index: -3;
}
.aliado-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: -2;
}
.aliado-hero-blob.blob-orange {
  width: 240px; height: 240px;
  background: rgba(237,107,64,.55);
  top: -60px; right: -60px;
}
.aliado-hero-blob.blob-orange-2 {
  width: 180px; height: 180px;
  background: rgba(237,107,64,.30);
  bottom: -40px; left: -40px;
}
.aliado-hero-top {
  display: flex;
  margin-bottom: 18px;
}
.aliado-hero-content { position: relative; z-index: 1; }
.aliado-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffd2c0;
}
.aliado-h1 {
  margin: 8px 0 12px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: white;
}
.aliado-h1 .text-italic { font-style: italic; color: var(--naranja-100); }
.aliado-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 92%;
}
.aliado-hero-stats {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 12px 8px;
}
.aliado-stat { flex: 1; text-align: center; min-width: 0; }
.aliado-stat .num {
  font-size: 18px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.4px;
}
.aliado-stat .lbl {
  font-size: 10px;
  color: rgba(255,255,255,.75);
  margin-top: 2px;
}
.aliado-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,.2);
}
.aliado-hero-mascot {
  position: absolute;
  right: -16px;
  top: 50px;
  width: 140px;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.30));
}
/* Title and subtitle stay narrow so they wrap above/around the mascot's
   silhouette. Stats span full width underneath. */
.aliado-hero-content .aliado-h1,
.aliado-hero-content .aliado-eyebrow,
.aliado-hero-content .aliado-sub { max-width: 62%; }
@media (max-width: 360px) {
  .aliado-hero-mascot { width: 110px; right: -10px; top: 55px; }
  .aliado-hero-content .aliado-h1,
  .aliado-hero-content .aliado-eyebrow,
  .aliado-hero-content .aliado-sub { max-width: 68%; }
}

.aliado-reasons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.aliado-reason {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-xs);
  transition: transform .12s, box-shadow .12s;
}
.aliado-reason:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.aliado-reason-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.aliado-reason-ic svg { width: 22px; height: 22px; fill: currentColor; }
.aliado-reason-meta h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.aliado-reason-meta p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.aliado-roi {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 22px 20px 18px;
  margin: 18px 0;
  isolation: isolate;
}
.aliado-roi-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2a4ea3 0%, var(--azul) 50%, #15306E 100%);
  z-index: -2;
}
.aliado-roi-bg::before {
  content: "";
  position: absolute; top: -30px; right: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(closest-side, rgba(237,107,64,.45), transparent 70%);
  filter: blur(20px);
}
.aliado-roi-content { color: white; }
.aliado-roi-title {
  margin: 6px 0 16px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: white;
  line-height: 1.2;
}
.aliado-roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.aliado-roi-metric {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
}
.aliado-roi-metric .num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--naranja-100);
  line-height: 1;
}
.aliado-roi-metric .lbl {
  font-size: 10px;
  color: rgba(255,255,255,.85);
  margin-top: 6px;
  line-height: 1.3;
  font-weight: 600;
}
.aliado-roi-disclaimer {
  margin: 12px 0 0;
  font-size: 9.5px;
  color: rgba(255,255,255,.55);
  font-style: italic;
}

.aliado-testimonios {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
}
.aliado-testi {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 16px 16px 14px;
  position: relative;
  box-shadow: var(--shadow-xs);
}
.aliado-testi-quote-mark {
  position: absolute;
  top: -4px; left: 12px;
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  color: var(--naranja-100);
  font-style: italic;
  pointer-events: none;
}
.aliado-testi-quote {
  margin: 18px 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  font-style: italic;
}
.aliado-testi-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
}
.aliado-testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.aliado-testi-meta { min-width: 0; flex: 1; }
.aliado-testi-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.aliado-testi-role {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}
.aliado-testi-stars {
  display: inline-flex;
  gap: 1px;
  flex-shrink: 0;
}
.aliado-testi-stars svg { fill: currentColor; }

.aliado-compare {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 4px 12px;
  margin-bottom: 6px;
  box-shadow: var(--shadow-xs);
}
.aliado-compare-header {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.1fr;
  gap: 6px;
  padding: 10px 4px 8px;
  border-bottom: 1px solid var(--line-2);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
}
.aliado-compare-col-on { color: var(--naranja); }
.aliado-compare-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.1fr;
  gap: 6px;
  padding: 10px 4px;
  align-items: center;
  border-bottom: 1px solid var(--line-2);
}
.aliado-compare-row:last-child { border-bottom: 0; }
.aliado-compare-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.aliado-compare-label .ic-mini svg { width: 14px; height: 14px; }
.aliado-compare-off {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}
.aliado-compare-off .dash { color: var(--muted); margin-right: 2px; opacity: .6; }
.aliado-compare-on {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.aliado-compare-on .check {
  display: inline-grid;
  place-items: center;
  width: 16px; height: 16px;
  background: #e9f7ec;
  color: #1f7a3a;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: -3px;
}
.aliado-compare-on .check svg { width: 10px; height: 10px; }

.aliado-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 6px;
}
.aliado-step {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 8px 0;
}
.aliado-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--naranja);
  color: white;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(237,107,64,.32);
}
.aliado-step-meta { padding-top: 6px; min-width: 0; flex: 1; }
.aliado-step-meta h4 {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.aliado-step-meta p {
  margin: 0 0 12px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}
.aliado-step-connector {
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: -8px;
  width: 2px;
  background: var(--naranja-100);
  z-index: 0;
}

.aliado-pricing {
  position: relative;
  background: linear-gradient(160deg, var(--naranja-50) 0%, white 100%);
  border: 1px solid var(--naranja-100);
  border-radius: 22px;
  padding: 18px 20px;
  margin-top: 20px;
  overflow: hidden;
  display: flex;
  gap: 14px;
  align-items: center;
}
.aliado-pricing-info { flex: 1; min-width: 0; }
.aliado-pricing h3 {
  margin: 4px 0 6px;
  color: var(--azul);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.aliado-price-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--naranja);
  letter-spacing: -0.8px;
  margin: 0 2px;
}
.aliado-price-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.aliado-pricing p {
  margin: 0 0 8px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}
.aliado-pricing-link {
  font-size: 12px;
  font-weight: 800;
  color: var(--naranja);
  cursor: pointer;
}
.aliado-pricing-mascot {
  width: 88px;
  flex-shrink: 0;
  pointer-events: none;
}

/* ============================================================
   Editar Negocio (admin · tabbed editor)
   ============================================================ */
.edit-business-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 12px;
  margin: 4px 0 14px;
  box-shadow: var(--shadow-xs);
}
.edit-business-photo {
  width: 52px; height: 52px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.edit-business-info { min-width: 0; flex: 1; }
.edit-business-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--azul);
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.edit-business-meta {
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.edit-business-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--surface-2);
  color: var(--text-2);
  padding: 2px 8px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}
.edit-business-pill.verified {
  background: var(--azul-50);
  color: var(--azul);
}
.edit-business-pill img { width: 11px; height: 11px; object-fit: contain; }

.edit-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -18px 16px;
  padding: 2px 18px 10px;
  scroll-snap-type: x mandatory;
  /* Respect the 18px inset when snap-aligning the first/last tabs;
     otherwise `scroll-snap-align: start` would pin the first tab to the
     container's border edge, eating the left padding. */
  scroll-padding-inline: 18px;
}
.edit-tabs::-webkit-scrollbar { display: none; }
.edit-tab {
  flex-shrink: 0;
  background: white;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
  scroll-snap-align: start;
}
.edit-tab:hover { border-color: var(--naranja-100); }
.edit-tab.active {
  background: var(--naranja);
  color: white;
  border-color: var(--naranja);
  box-shadow: 0 3px 10px rgba(237,107,64,.32);
}
.edit-tab-ic {
  display: inline-grid;
  place-items: center;
  width: 14px; height: 14px;
}
.edit-tab-ic svg { width: 14px; height: 14px; fill: currentColor; }

.edit-section {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}
.edit-h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.edit-h3-meta {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}
.edit-h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.edit-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: -2px 0 12px;
}
.edit-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: #e9f7ec;
  border: 1px solid #b9e1c7;
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 12px;
  font-size: 11px;
  color: #1f7a3a;
}
.edit-note svg { fill: currentColor; margin-top: 2px; flex-shrink: 0; }
.edit-section-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.form-counter {
  float: right;
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}

/* Fotos tab */
.edit-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}
.edit-photo-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  cursor: grab;
}
.edit-photo-tile.primary {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 2px var(--naranja);
}
.edit-photo-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 12px;
}
.edit-photo-badge.primary {
  background: var(--naranja);
  letter-spacing: .3px;
  text-transform: uppercase;
}
.edit-photo-action {
  position: absolute;
  top: 6px; right: 6px;
  width: 26px; height: 26px;
  background: rgba(255,255,255,.92);
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}
.edit-photo-action svg { fill: currentColor; }
.edit-photo-add {
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  border: 2px dashed var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
  color: var(--muted);
  transition: all .15s;
}
.edit-photo-add:hover {
  background: white;
  border-color: var(--naranja);
  color: var(--naranja);
}
.edit-photo-add-ic {
  width: 32px; height: 32px;
  background: white;
  border-radius: 10px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
}
.edit-photo-add-ic svg { width: 16px; height: 16px; fill: currentColor; }
.edit-photo-add-lbl {
  font-size: 10.5px;
  font-weight: 700;
}
.edit-photo-tips {
  background: linear-gradient(135deg, var(--azul-50), white);
  border: 1px solid var(--azul-100);
  border-radius: 12px;
  padding: 12px 14px;
}
.edit-photo-tips h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.edit-photo-tips h4 svg { fill: currentColor; color: var(--naranja); }
.edit-photo-tips ul {
  margin: 0;
  padding-left: 18px;
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.55;
}

/* Horario tab */
.edit-schedule {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface-2);
  border-radius: 12px;
  padding: 4px;
}
.edit-day {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 10px;
  padding: 10px 12px;
}
.edit-day.closed { opacity: .55; }
.edit-day-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  width: 70px;
  flex-shrink: 0;
}
.edit-day-times {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.edit-day-times .input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  padding: 6px 8px;
}
.edit-day-dash { color: var(--muted); font-weight: 700; }
.edit-day-closed-lbl {
  flex: 1;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  font-style: italic;
}
.edit-day-toggle {
  position: relative;
  display: inline-block;
  width: 38px; height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}
.edit-day-toggle input { opacity: 0; width: 0; height: 0; }
.edit-day-toggle .slider {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 22px;
  transition: background .2s;
}
.edit-day-toggle .slider::before {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  background: white;
  border-radius: 50%;
  top: 3px; left: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.edit-day-toggle input:checked + .slider { background: var(--naranja); }
.edit-day-toggle input:checked + .slider::before { transform: translateX(16px); }

/* Servicios tab */
.edit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.edit-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--azul);
  color: white;
  padding: 6px 4px 6px 12px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 700;
}
.edit-chip-x {
  width: 18px; height: 18px;
  background: rgba(255,255,255,.2);
  border: 0;
  border-radius: 50%;
  color: white;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin-left: 2px;
}
.edit-chip-x:hover { background: rgba(255,255,255,.35); }
.edit-add-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.edit-add-row .input { flex: 1; }
.edit-suggest {
  background: linear-gradient(135deg, var(--surface-2), white);
  border-radius: 10px;
  padding: 10px 12px;
}
.edit-suggest-lbl {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 6px;
}
.edit-suggest-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.edit-suggest-chip {
  background: white;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .15s;
}
.edit-suggest-chip:hover {
  background: var(--azul);
  color: white;
  border-color: var(--azul);
}

/* Promos tab */
.edit-promo-card {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  transition: all .15s;
}
.edit-promo-card.inactive { opacity: .65; }
.edit-promo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 10px;
}
.edit-promo-ic {
  width: 36px; height: 36px;
  background: var(--naranja);
  color: white;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.edit-promo-ic svg { width: 18px; height: 18px; fill: currentColor; }
.edit-promo-meta { flex: 1; min-width: 0; }
.edit-promo-meta h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.edit-promo-meta p {
  margin: 2px 0 4px;
  font-size: 11px;
  color: var(--muted);
}
.edit-promo-valid {
  font-size: 10px;
  color: var(--azul);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.edit-promo-valid svg { fill: currentColor; }
.edit-promo-actions { display: flex; gap: 8px; }
.edit-promo-add {
  display: flex;
  gap: 12px;
  background: white;
  border: 2px dashed var(--naranja-100);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  align-items: center;
  width: 100%;
  font-family: inherit;
  text-align: left;
  transition: all .15s;
}
.edit-promo-add:hover { background: var(--naranja-50); border-color: var(--naranja); }
.edit-promo-add-ttl {
  font-size: 13px;
  font-weight: 800;
  color: var(--azul);
}
.edit-promo-add-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* Plan tab */
.edit-plan-current {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(160deg, var(--naranja-50), white);
  border: 1px solid var(--naranja-100);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.edit-plan-current img { width: 64px; flex-shrink: 0; }
.edit-plan-info { min-width: 0; flex: 1; }
.edit-plan-name {
  margin: 4px 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--azul);
  letter-spacing: -0.3px;
}
.edit-plan-meta {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
}
.edit-plan-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}
.edit-plan-stat {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.edit-plan-stat .num {
  font-size: 18px;
  font-weight: 800;
  color: var(--azul);
  letter-spacing: -0.3px;
}
.edit-plan-stat .lbl {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 700;
}
.edit-plan-cta {
  background: linear-gradient(135deg, var(--azul), var(--azul-700));
  color: white;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}
.edit-plan-cta h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.edit-plan-cta h4 svg { fill: var(--naranja-100); color: var(--naranja-100); }
.edit-plan-cta p {
  margin: 0 0 10px;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
}
.edit-plan-cta .btn { width: auto; background: white; color: var(--azul); }
.edit-plan-cta .btn:hover { background: var(--naranja-100); }
.edit-plan-history {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 14px;
}
.edit-bill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
}
.edit-bill-row:last-of-type { border-bottom: 0; }
.edit-bill-row .ttl {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.edit-bill-row .sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}
.edit-bill-row .val {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.edit-plan-danger {
  text-align: center;
  margin-top: 14px;
}

/* ============================================================
   Ajustes (settings)
   ============================================================ */
.ajustes-account {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--azul-50) 0%, white 70%);
  border: 1px solid var(--azul-100);
  border-radius: 18px;
  padding: 16px;
  margin: 4px 0 18px;
}
.ajustes-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(28,60,133,.18);
}
.ajustes-avatar.initials {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--azul), var(--azul-700));
  color: white;
  font-size: 16px;
  font-weight: 800;
}
.ajustes-account-info { min-width: 0; flex: 1; }
.ajustes-name {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--azul);
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.ajustes-email {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ajustes-edit-btn {
  width: 36px; height: 36px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--azul);
  cursor: pointer;
  flex-shrink: 0;
  transition: all .15s;
}
.ajustes-edit-btn:hover { background: var(--azul); color: white; border-color: var(--azul); }
.ajustes-edit-btn svg { width: 16px; height: 16px; fill: currentColor; }

.ajustes-group {
  margin-bottom: 16px;
}
.ajustes-group-title {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .7px;
  margin: 0 4px 8px;
}
.ajustes-card {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.ajustes-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  font-family: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: background .15s;
}
.ajustes-row:last-child { border-bottom: 0; }
.ajustes-row:not(.static):hover { background: var(--surface-2); }
.ajustes-row.static { cursor: default; }
.ajustes-row-ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ajustes-row-ic svg { width: 16px; height: 16px; fill: currentColor; }
.ajustes-row-meta { min-width: 0; flex: 1; }
.ajustes-row-meta .ttl {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.1px;
  line-height: 1.2;
}
.ajustes-row-meta .sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 600;
}
.ajustes-row-arrow {
  color: var(--muted);
  font-size: 22px;
  flex-shrink: 0;
  margin-left: 4px;
}
.ajustes-pill-btn {
  background: var(--azul-50);
  border: 1px solid var(--azul-100);
  color: var(--azul);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .15s;
}
.ajustes-pill-btn:hover { background: var(--azul); color: white; border-color: var(--azul); }

/* Segmented control inside settings row */
.ajustes-segmented {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 2px;
  gap: 0;
  flex-shrink: 0;
}
.ajustes-segmented .seg {
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all .15s;
}
.ajustes-segmented .seg.active {
  background: white;
  color: var(--azul);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* Toggle switch */
.ajustes-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.ajustes-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.ajustes-toggle .slider {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 24px;
  transition: background .2s;
}
.ajustes-toggle .slider::before {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px; left: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.ajustes-toggle input:checked + .slider { background: var(--naranja); }
.ajustes-toggle input:checked + .slider::before { transform: translateX(20px); }

/* Device rows */
.ajustes-device {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line-2);
}
.ajustes-device:last-child { border-bottom: 0; }
.ajustes-device-ic {
  width: 36px; height: 36px;
  background: var(--azul-50);
  color: var(--azul);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ajustes-device-ic svg { width: 16px; height: 16px; fill: currentColor; }
.ajustes-device-meta { min-width: 0; flex: 1; }
.ajustes-device-meta .ttl {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.ajustes-device-meta .sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.ajustes-device-now {
  display: inline-block;
  font-size: 9.5px;
  color: #1f7a3a;
  font-weight: 800;
  margin-left: 4px;
}

.ajustes-version {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin: 16px 0;
  background: var(--surface-2);
  border-radius: 14px;
}
.ajustes-version img {
  width: 56px;
  height: auto;
  flex-shrink: 0;
}
.ajustes-version-text .lbl {
  font-size: 12px;
  font-weight: 800;
  color: var(--azul);
}
.ajustes-version-text .sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}

.ajustes-danger {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.btn-danger-text {
  background: transparent;
  border: 0;
  color: #c43838;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-danger-text:hover { color: #a02828; }

/* Misc: count badge used across favoritos, destacados, etc. */
.favs-count {
  display: inline-block;
  background: var(--azul-50);
  color: var(--azul);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Destacados hero (similar pattern to verif but with mascot) */
.dest-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 18px 18px 18px;
  margin: 4px 0 14px;
  border-radius: 20px;
  color: white;
  min-height: 110px;
}
.dest-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--naranja) 0%, #d35530 60%, var(--azul-700) 100%);
  z-index: -2;
}
.dest-hero-bg::before {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent 70%);
  filter: blur(18px);
}
.dest-hero-content {
  position: relative;
  z-index: 1;
  max-width: 70%;
}
.dest-h2 {
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.3px;
  margin: 4px 0 4px;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.dest-sub {
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255,255,255,.92);
  margin: 0;
}
.dest-mascot {
  position: absolute;
  right: -8px; bottom: -6px;
  width: 90px;
  z-index: 0;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.28));
}


/* ============================================================
   Escribir reseña (W·usuario)
   ============================================================ */
.resena-biz {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 12px;
  margin: 4px 0 14px;
  box-shadow: var(--shadow-xs);
}
.resena-biz-photo {
  width: 52px; height: 52px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.resena-biz-info { min-width: 0; flex: 1; }
.resena-biz-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--azul);
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.resena-biz-meta {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.resena-biz-verified { width: 14px; height: 14px; object-fit: contain; vertical-align: -2px; }

.resena-section {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
}
.resena-section-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.resena-stars-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.resena-star {
  background: transparent;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: var(--line);
  transition: transform .12s, color .15s;
}
.resena-star:hover { transform: scale(1.12); color: var(--naranja-100); }
.resena-star.on { color: var(--naranja); }
.resena-star.on:hover { transform: scale(1.05); }
.resena-star svg { fill: currentColor; display: block; }
.resena-rating-label {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  margin-top: 4px;
  transition: color .15s;
}

.form-counter.optional {
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.resena-photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.resena-photo-slot {
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  border: 2px dashed var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: all .15s;
}
.resena-photo-slot:hover {
  background: white;
  border-color: var(--naranja);
  color: var(--naranja);
}
.resena-photo-slot svg { fill: currentColor; }

.resena-visibility {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resena-vis-opt {
  position: relative;
  display: block;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  transition: all .15s;
}
.resena-vis-opt:hover { border-color: var(--naranja-100); }
.resena-vis-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.resena-vis-opt:has(input:checked),
.resena-vis-opt.active {
  background: linear-gradient(160deg, var(--naranja-50), white);
  border-color: var(--naranja);
}
.resena-vis-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.resena-vis-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.resena-vis-avatar.initials {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--azul), var(--azul-700));
  color: white;
  font-size: 13px;
  font-weight: 800;
}
.resena-vis-avatar.initials.anon {
  background: linear-gradient(135deg, #888, #555);
}
.resena-vis-avatar.initials.anon svg { fill: currentColor; }
.resena-vis-ttl {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.resena-vis-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.resena-tips {
  display: flex;
  gap: 12px;
  background: linear-gradient(135deg, var(--azul-50), white);
  border: 1px solid var(--azul-100);
  border-radius: 14px;
  padding: 14px;
  margin-top: 4px;
}
.resena-tips > svg {
  color: var(--azul);
  flex-shrink: 0;
  margin-top: 2px;
}
.resena-tips > svg path { fill: currentColor; }
.resena-tips h4 {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--azul);
}
.resena-tips ul {
  margin: 0;
  padding-left: 18px;
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.55;
}
