:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #162e26;
  background: #f2f6f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  background: #f2f6f3;
  color: #162e26;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top Brand Bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #dce7e0;
  backdrop-filter: blur(8px);
}

.topbar-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: #284243;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.03em;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-wordmark-img {
  height: 34px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  border-radius: 6px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 15px;
  color: #123c2d;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 12px;
  font-weight: 600;
  color: #3b6b50;
  line-height: 1.2;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-pill {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #244338;
  font: 700 14px system-ui;
  cursor: pointer;
}

.nav-pill:hover {
  background: #e9f2ec;
}

.nav-pill[aria-selected="true"] {
  background: #176341;
  color: #fff;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e6f0e9;
  color: #17362d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.store-pill:hover {
  background: #d7e7dc;
}

.nav-avatar {
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  background: #176341;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid #d7e5da;
  flex-shrink: 0;
}

.nav-avatar:hover {
  border-color: #176341;
}

.nav-avatar:focus-visible {
  outline: 2px solid #176341;
  outline-offset: 3px;
}

.notif-bell-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.notif-bell-wrap[hidden] {
  display: none;
}

.notif-bell-btn {
  position: relative;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 999px;
  background: #e6f0e9;
  color: #17362d;
  border: 1px solid #cfe0d4;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.notif-bell-btn:hover {
  background: #d7e7dc;
}

.notif-bell-btn:focus-visible {
  outline: 2px solid #176341;
  outline-offset: 2px;
}

.notif-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
  border: 2px solid #ffffff;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.notif-bell-badge[hidden] {
  display: none;
}

.notif-bell-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  max-height: 440px;
  overflow-y: auto;
  background: #ffffff;
  color: #16241c;
  border-radius: 16px;
  border: 1px solid #d5e2d8;
  box-shadow: 0 18px 42px rgba(10, 28, 19, 0.24);
  z-index: 95;
  padding: 12px;
}

.notif-bell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e6efe8;
}

.notif-bell-head strong {
  font-size: 15px;
  color: #123325;
}

.notif-bell-mark-all {
  background: transparent;
  color: #176341;
  border: 0;
  padding: 4px 6px;
  min-height: 30px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.notif-bell-mark-all:hover {
  text-decoration: underline;
}

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

.notif-bell-empty {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #54665c;
}

.notif-bell-item {
  padding: 10px;
  border-radius: 12px;
  background: #f6faf7;
  border: 1px solid #e1ece4;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notif-bell-item-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #e2f2e7;
  color: #155136;
}

.notif-bell-item-tag--friend {
  background: #fef3c7;
  color: #92400e;
}

.notif-bell-item-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #182820;
}

.notif-bell-item-meta {
  margin: 0;
  font-size: 12px;
  color: #56695e;
}

.notif-bell-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.notif-bell-item-actions button {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}

@media (max-width: 520px) {
  .notif-bell-popover {
    right: -44px;
  }
}

/* Main Shell */
.shell {
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 16px 36px;
}

.status-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.status {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #e7f0ea;
  color: #17362d;
  font-size: 14px;
  font-weight: 600;
  min-height: 46px;
  display: flex;
  align-items: center;
}

.route-intro-pill {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #cde4da;
  color: #17362d;
  font-size: 14px;
}

/* Base Controls */
h1 {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15;
  margin: 10px 0 8px;
}

h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #123c2d;
}

h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 6px;
  color: #123c2d;
}

p {
  line-height: 1.5;
  margin: 0 0 10px;
}

button {
  border: 0;
  border-radius: 12px;
  background: #176341;
  color: #fff;
  font: 700 15px system-ui;
  padding: 12px 18px;
  min-height: 46px;
  cursor: pointer;
}

button:hover {
  background: #0f4c4a;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e4a93b;
  outline-offset: 2px;
}

.secondary {
  background: #e6f0e9;
  color: #17362d;
}

.secondary:hover {
  background: #d6e6db;
}

.btn-full {
  width: 100%;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  color: #3b6b50;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fine {
  color: #52685b;
  font-size: 14px;
  margin-top: 14px;
}

.fine-top {
  color: #52685b;
  font-size: 14px;
  margin: 4px 0 16px;
}

.fine-compact {
  color: #52685b;
  font-size: 13px;
  margin: 4px 0 10px;
}

.private-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6f0e9;
  color: #17362d;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 14px 0 6px;
  color: #162e26;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #9bb3a2;
  border-radius: 10px;
  padding: 10px 12px;
  font: 16px system-ui;
  background: #fff;
  color: #162e26;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

/* Surfaces & Media */
.surface {
  background: #fff;
  border: 1px solid #dce7e0;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(18, 60, 45, 0.05);
  margin-bottom: 18px;
}

.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 37, 29, 0.12) 0%, rgba(12, 37, 29, 0.45) 55%, rgba(12, 37, 29, 0.84) 100%);
}

.card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 37, 29, 0.06) 0%, rgba(12, 37, 29, 0.78) 100%);
}

.hero-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

/* Editorial Split Login */
.auth-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border: 1px solid #dce7e0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(18, 60, 45, 0.09);
}

.auth-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
}

.auth-visual-content {
  position: relative;
  z-index: 2;
}

.auth-visual h1 {
  color: #fff;
  margin: 10px 0 4px;
}

.auth-tagline {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.auth-panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 6px;
  color: #52685b;
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dce7e0;
}

.email-hint {
  margin: 8px 0 14px;
}

/* Signed-in Hero Profile */
.hero-profile {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 250px;
  margin-bottom: 20px;
  box-shadow: 0 14px 34px rgba(18, 60, 45, 0.16);
}

.hero-profile-inner {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-ghost-btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.hero-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #176341;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-identity-copy {
  min-width: 0;
}

.hero-identity-copy h2 {
  color: #fff;
  font-size: clamp(22px, 3.5vw, 30px);
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
}

.hero-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(167, 243, 208, 0.35);
  color: #ecfdf5;
  font-size: 12px;
  font-weight: 700;
}

.hero-chip:empty {
  display: none;
}

.hero-sub {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 14px;
  min-height: 68px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(6px);
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero-stat-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2px;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.visual-jump-card {
  background: #fff;
  border: 1px solid #dce7e0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 60, 45, 0.05);
  display: flex;
  flex-direction: column;
}

.visual-jump-media {
  position: relative;
  height: 140px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.visual-jump-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
}

.visual-jump-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a7f3d0;
}

.visual-jump-overlay h3 {
  color: #fff;
  margin: 2px 0 0;
  font-size: 18px;
}

.visual-jump-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.visual-jump-body p {
  font-size: 13px;
  color: #52685b;
  margin: 0;
}

.card-cta-stack {
  display: grid;
  gap: 8px;
}

.hero-primary-btn {
  background: #22c55e;
  color: #0b2c1f;
  font-weight: 800;
}

.hero-primary-btn:hover {
  background: #4ade80;
}

.outing-propose-surface {
  border-left: 4px solid #176341;
}

.two-col-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Avisos de salidas cercanas (CT2-67) */
.nearby-notif-surface {
  border-left: 4px solid #22c55e;
  background: #f3fbf6;
}

.nearby-notif-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.nearby-notif-item {
  background: #fff;
  border: 1px solid #d5ebd9;
  border-radius: 14px;
  padding: 12px 14px;
}

.nearby-notif-text {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #133127;
  line-height: 1.4;
}

.event-highlighted {
  outline: 3px solid #22c55e;
  outline-offset: 2px;
  background: #f2fbf5;
  border-radius: 14px;
  padding: 12px;
}

.notify-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f9f6;
  border: 1px solid #d9e9e0;
  font-size: 13px;
  font-weight: 600;
  color: #1b352c;
  cursor: pointer;
}

.notify-toggle-row input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex: 0 0 20px;
  accent-color: #176341;
}

/* Explorador de Rutas de todo Chile */
.catalog-explorer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.catalog-explorer-head h3 {
  margin: 0 0 2px;
}

.catalog-zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.zone-chip {
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eaf2ed;
  color: #1c3b30;
  font-size: 13px;
  font-weight: 700;
}

.zone-chip[aria-pressed="true"] {
  background: #176341;
  color: #fff;
}

.catalog-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.catalog-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #dbe9e1;
  background: #f8fbf9;
}

.catalog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-tags-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.catalog-zone-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #176341;
  background: #e3f2ea;
  padding: 3px 8px;
  border-radius: 999px;
}

.catalog-spec-tag {
  font-size: 11px;
  font-weight: 700;
  color: #466156;
  background: #ecf3ef;
  padding: 3px 8px;
  border-radius: 999px;
}

.catalog-outing-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.catalog-outing-active {
  min-height: 28px;
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac;
  cursor: pointer;
}

.catalog-outing-active:hover {
  background: #bbf7d0;
}

.catalog-outing-none {
  background: #eef2f0;
  color: #5b7268;
}

.catalog-item-name {
  font-size: 15px;
  line-height: 1.3;
  color: #122922;
}

.catalog-item-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #3b554b;
}

.route-ratings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.route-rating-chip {
  background: #f8fbf9;
  border: 1px solid #d7e7de;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.route-rating-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #365448;
}

.route-rating-val {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.route-stars {
  font-size: 17px;
  letter-spacing: 0.04em;
  color: #f59e0b;
  line-height: 1;
}

.route-stars-empty {
  color: #c2d1c9;
}

.route-rating-num {
  font-size: 14px;
  font-weight: 800;
  color: #123c2d;
}

.route-sheet-community-card .route-rating-chip {
  padding: 12px 14px;
  gap: 6px;
}

.route-sheet-community-card .route-rating-label {
  font-size: 13.5px;
}

.route-sheet-community-card .route-stars {
  font-size: 22px;
  letter-spacing: 0.05em;
}

.route-sheet-community-card .route-rating-num {
  font-size: 17px;
}

.route-comments-box {
  border-top: 1px solid #e4efe9;
  padding-top: 8px;
}

.route-comments-box > summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #176341;
  list-style: none;
}

.route-comments-box > summary::-webkit-details-marker {
  display: none;
}

.route-comments-list {
  margin-top: 10px;
  display: grid;
  gap: 14px;
}

.route-comment-item {
  background: #ffffff;
  border: 1px solid #d8e7df;
  border-radius: 14px;
  padding: 16px;
  font-size: 14.5px;
  color: #1c352d;
  display: grid;
  gap: 10px;
}

.route-comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.route-comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #176341;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.route-comment-author-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.route-comment-author {
  font-size: 16px;
  font-weight: 800;
  color: #123c2d;
  line-height: 1.2;
}

.route-comment-date {
  font-size: 12.5px;
  font-weight: 600;
  color: #4f6c60;
  background: #eff6f2;
  padding: 2px 8px;
  border-radius: 999px;
}

.route-comment-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-comment-star-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.route-comment-star-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #78350f;
}

.route-comment-star-icons {
  font-size: 15px;
  letter-spacing: 0.03em;
  color: #f59e0b;
  line-height: 1;
}

.route-comment-star-num {
  font-size: 13px;
  font-weight: 800;
  color: #78350f;
}

.route-comment-title,
.route-comment-item strong {
  display: block;
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: #123c2d;
}

.route-comment-body,
.route-comment-item p,
.route-comment-empty {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #2f4b41;
}

.catalog-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.catalog-sheet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #e6f0e9;
  color: #17362d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-sheet-link:hover {
  background: #d7e7dc;
}

.catalog-propose-btn {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #176341;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-propose-btn:hover {
  background: #124f34;
}

.catalog-reviews-btn {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #c6dcd0;
  background: #f3f9f5;
  color: #17362d;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.catalog-reviews-btn:hover {
  background: #e4f1e9;
}

.catalog-empty {
  padding: 14px;
  border-radius: 12px;
  background: #f5f9f6;
  color: #466156;
  font-size: 14px;
}

.claim-disclosure {
  margin-top: 14px;
}

.claim-disclosure > summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #4c645a;
  padding: 8px 4px;
  list-style: none;
}

.claim-disclosure > summary::-webkit-details-marker {
  display: none;
}

.claim-disclosure > summary:hover {
  color: #176341;
}

.claim-disclosure[open] > summary {
  margin-bottom: 10px;
}

/* WhatsApp Visual Card */
.wa-visual-shell {
  background: #fff;
  border: 1px solid #cde4da;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 60, 45, 0.07);
  margin-bottom: 18px;
}

.wa-visual-banner {
  position: relative;
  height: 110px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-end;
}

.wa-visual-banner-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.wa-banner-title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wa-logo-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex: 0 0 30px;
}

.wa-banner-title {
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}

.wa-space-body {
  padding: 16px;
}

.ct2-wa-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #1f2d2b;
  max-width: 100%;
}

.ct2-wa-card h3,
.ct2-wa-heading {
  margin: 0 0 6px;
  font-size: 15px;
  color: #0f4c4a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct2-wa-heading-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
}

.ct2-wa-svg {
  display: block;
  flex-shrink: 0;
}

.ct2-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #128c4b;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin: 6px 0;
}

.ct2-wa-btn:hover {
  background: #0f753e;
}

.ct2-wa-region-control {
  margin-top: 8px;
}

.ct2-wa-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1f2d2b;
  margin: 0 0 6px;
}

.ct2-wa-select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #9bd5c1;
  border-radius: 10px;
  background: #fff;
  color: #1f2d2b;
  font-size: 15px;
}

/* Section Banners */
.section-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 150px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
}

.section-banner-copy {
  position: relative;
  z-index: 2;
  color: #fff;
}

.section-banner-copy h2 {
  color: #fff;
  margin: 8px 0 4px;
}

.section-banner-copy p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.two-col-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

/* Privacy Mirror */
.privacy-box {
  background: #f4f7f5;
  border: 1px solid #dce7e0;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0;
  font-size: 14px;
}

.privacy-box-locked {
  background: #eaf2ed;
}

.privacy-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: #244338;
  line-height: 1.6;
}

/* Routes, Reviews, Outings & Modules */
#route-actions h3 {
  font-size: 19px;
  margin: 16px 0 4px;
}

#route-actions button {
  flex: 1 1 160px;
}

#saved-routes {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

#saved-routes li {
  line-height: 1.5;
  padding: 14px;
  border-radius: 14px;
  background: #f8fbf9;
  border: 1px solid #dce7e0;
}

#saved-routes a {
  color: #176341;
  font-weight: 700;
}

.empty-route {
  list-style: none;
  color: #52685b;
}

.route-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.route-tab {
  min-height: 44px;
  padding: 10px 14px;
  background: #e6f0e9;
  color: #17362d;
  font-size: 14px;
}

.route-tab[aria-selected="true"] {
  background: #176341;
  color: #fff;
}

.route-manage {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  min-height: 44px;
  padding: 8px 12px;
}

.route-edit {
  padding: 12px;
  border: 1px solid #d7e5da;
  border-radius: 12px;
  margin: 8px 0;
  background: #fff;
}

.route-edit textarea {
  min-height: 90px;
}

.route-edit button {
  margin: 8px 8px 0 0;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.review-composer .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.review-composer .consent input {
  width: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  margin: 0;
}

.outing-card {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid #d7e5da;
  border-radius: 14px;
  background: #f8fbf9;
}

.outing-card h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.outing-card p {
  margin: 6px 0;
}

.outing-card button {
  margin-top: 8px;
}

.moderation-surface {
  border-left: 4px solid #e4a93b;
}

.ct2-profile-review,
.ct2-proposal-form {
  max-width: 680px;
  margin: 0 auto;
  color: #1f2d2b;
}

.ct2-completeness {
  font-size: 13px;
  color: #0f4c4a;
  font-weight: 700;
  margin: 0 0 8px;
}

.ct2-section-title,
.ct2-prop-title {
  margin: 0 0 8px;
  font-size: 22px;
  color: #0f4c4a;
}

.ct2-prop-intro {
  margin: 0 0 14px;
  font-size: 14px;
  color: #52685b;
}

.ct2-prop-status {
  font-size: 13px;
  color: #0f4c4a;
  font-weight: 700;
  margin: 0 0 12px;
}

.ct2-callout {
  background: #f1f7f4;
  border-left: 4px solid #0f4c4a;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.ct2-badge {
  display: inline-block;
  font-size: 12px;
  color: #0f4c4a;
  background: #e3f3ed;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.ct2-field,
.ct2-prop-field {
  margin-bottom: 12px;
}

.ct2-prop-field-lg {
  margin-bottom: 16px;
}

.ct2-label {
  display: block;
  font-weight: 700;
  margin: 0 0 4px;
}

.ct2-input,
.ct2-select {
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #9bd5c1;
}

.ct2-flex-row {
  display: flex;
  gap: 8px;
}

.ct2-flex-row .ct2-input {
  flex: 1;
}

.ct2-flex-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ct2-fieldset,
.ct2-fieldset-lg {
  border: 1px solid #cde4da;
  border-radius: 12px;
  padding: 12px;
  margin: 0 0 14px;
}

.ct2-legend {
  font-weight: 700;
}

.ct2-check-row,
.ct2-consent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.ct2-check-row input,
.ct2-consent-row input {
  width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
}

.ct2-error {
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
  margin: 4px 0 0;
}

.ct2-btn-primary {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  background: #0f4c4a;
  color: #fff;
  font-weight: 700;
}

.ct2-btn-secondary {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #0f4c4a;
  background: #fff;
  color: #0f4c4a;
  font-weight: 700;
}

.ct2-btn-outline-flex {
  flex: 1 1 150px;
  min-height: 46px;
  border: 2px solid #0f4c4a;
  border-radius: 12px;
  background: #fff;
  color: #0f4c4a;
  font-weight: 700;
}

.ct2-btn-outline-flex:hover {
  background: #eef6f2;
}

.ct2-btn-primary-flex {
  flex: 1 1 150px;
  min-height: 46px;
  border-radius: 12px;
  background: #0f4c4a;
  color: #fff;
  font-weight: 700;
}

.ct2-kpi-section {
  background: #f1f7f4;
  border-radius: 14px;
  padding: 16px;
  color: #1f2d2b;
}

.ct2-kpi-title {
  margin: 0 0 6px;
  color: #0f4c4a;
}

.ct2-kpi-sub {
  margin: 0 0 12px;
  font-size: 13px;
}

.ct2-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.ct2-kpi-card {
  background: #fff;
  border: 1px solid #cde4da;
  border-radius: 10px;
  padding: 12px;
}

.ct2-kpi-label {
  font-size: 12px;
  color: #4a5e5b;
  margin-bottom: 4px;
}

.ct2-kpi-value {
  font-size: 18px;
  font-weight: 700;
  color: #0f4c4a;
}

.ct2-proposals-wrap {
  margin-top: 20px;
}

.ct2-proposals-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* PWA Install Banner & Guide Modal */
.pwa-install-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #284243;
  color: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(20, 44, 42, 0.14);
}

.pwa-install-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pwa-install-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: 0 0 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: block;
}

.pwa-install-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pwa-install-copy strong {
  font-size: 14px;
  line-height: 1.2;
}

.pwa-install-copy span {
  font-size: 12px;
  color: #d6e7e3;
  line-height: 1.3;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pwa-install-btn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #22c55e;
  color: #0b2c1f;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.pwa-install-btn:hover {
  background: #4ade80;
}

.pwa-dismiss-btn {
  min-height: 40px;
  min-width: 36px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.pwa-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pwa-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(12, 27, 25, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.pwa-modal-backdrop.pwa-modal-bottom {
  align-items: flex-end;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

.pwa-modal-wrap {
  width: 100%;
  max-width: 400px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.pwa-modal-card {
  width: 100%;
  background: #fff;
  color: #162e26;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 22px 48px rgba(8, 22, 20, 0.34);
}

.pwa-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pwa-modal-title-group {
  flex: 1;
  min-width: 0;
}

.pwa-modal-head h2 {
  margin: 0 0 2px;
  font-size: 17px;
}

.pwa-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  flex: 0 0 52px;
  display: block;
}

.pwa-modal-close {
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 999px;
  background: #edf3ef;
  color: #162e26;
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 36px;
}

.pwa-modal-close:hover {
  background: #dce8e1;
}

.pwa-visual-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pwa-visual-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f4f8f5;
  border: 1px solid #dfece4;
}

.pwa-step-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
}

.pwa-step-badge-share {
  background: #e6f2ff;
  color: #007aff;
}

.pwa-step-badge-add {
  background: #e4f3ec;
  color: #176341;
}

.pwa-step-text {
  font-size: 14px;
  line-height: 1.35;
  color: #1c352d;
}

.pwa-ios-pointer {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #fff;
  text-align: center;
  animation: pwaPointerBounce 1.35s ease-in-out infinite;
}

.pwa-pointer-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: #22c55e;
  color: #0b2c1f;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.pwa-pointer-arrow {
  font-size: 20px;
  line-height: 1;
  color: #22c55e;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

@keyframes pwaPointerBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pwa-ios-pointer {
    animation: none;
  }
}

/* Sal equipado · Espacio Todo Trekking Chile */
.gear-showcase {
  margin-top: 20px;
  border-radius: 22px;
  overflow: hidden;
  background: #284243;
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 42, 40, 0.14);
}

.gear-showcase-head {
  padding: 20px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.gear-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 240px;
}

.gear-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  flex: 0 0 44px;
  display: block;
}

.gear-brand-row h2 {
  margin: 6px 0 3px;
  color: #fff;
  font-size: 20px;
}

.gear-brand-row p {
  margin: 0;
  font-size: 13px;
  color: #d5e6e2;
  line-height: 1.4;
}

.gear-store-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #22c55e;
  color: #0b2c1f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.gear-store-cta:hover {
  background: #4ade80;
}

.gear-grid {
  padding: 0 16px 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gear-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: #162e26;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.gear-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.gear-media {
  background: #f6f9f7;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid #e7efea;
}

.gear-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gear-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
  flex: 1;
}

.gear-cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #176341;
}

.gear-card strong {
  font-size: 14px;
  line-height: 1.3;
  color: #122922;
}

.gear-desc {
  font-size: 12px;
  line-height: 1.4;
  color: #466156;
  flex: 1;
}

.gear-footer {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #edf3ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gear-price {
  font-size: 16px;
  font-weight: 800;
  color: #123c2d;
}

.gear-link-cta {
  font-size: 12px;
  font-weight: 800;
  color: #176341;
  white-space: nowrap;
}

.gear-inline-strip {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #284243;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gear-inline-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gear-inline-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex: 0 0 34px;
  display: block;
}

.gear-inline-head strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.gear-inline-head span {
  font-size: 12px;
  color: #d5e6e2;
}

.gear-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gear-chip-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.gear-chip-link:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: #0b2c1f;
}

/* Mobile Bottom Tabbar */
.mobile-tabbar {
  display: none;
}

@media (max-width: 820px) {
  .gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pwa-install-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .pwa-install-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .desktop-nav {
    display: none !important;
  }

  .auth-split,
  .dashboard-grid,
  .two-col-stack {
    grid-template-columns: 1fr;
  }

  .quick-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .quick-cards .visual-jump-media,
  .quick-cards .wa-visual-banner {
    height: 112px;
  }

  .quick-cards .visual-jump-body,
  .quick-cards .wa-space-body {
    padding: 12px;
  }

  .quick-cards .visual-jump-overlay h3,
  .quick-cards .wa-banner-title {
    font-size: 15px;
  }

  .auth-visual {
    min-height: 220px;
    padding: 20px;
  }

  .auth-panel {
    padding: 22px 18px;
  }

  .shell {
    padding: 12px 12px 92px;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #dce7e0;
    backdrop-filter: blur(8px);
  }

  .mob-tab {
    min-height: 46px;
    padding: 6px 2px;
    border-radius: 10px;
    background: transparent;
    color: #4c645a;
    font-size: 12px;
    font-weight: 700;
  }

  .mob-tab[aria-selected="true"] {
    background: #e6f2ec;
    color: #123c2d;
  }
}

@media (max-width: 420px) {
  .rating-grid,
  .two-col-fields,
  .gear-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    padding: 8px 10px;
  }

  .brand-sub {
    display: none;
  }

  .brand-wordmark-img {
    height: 28px;
    max-width: 165px;
  }

  .hero-profile-inner {
    padding: 18px 14px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-stat-card {
    padding: 10px 8px;
  }

  .surface {
    padding: 16px 14px;
  }

  .mob-tab {
    font-size: 11px;
  }
}

.catalog-outing-callout {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eaf5ee;
  border: 1px solid #b8ddc6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.catalog-outing-callout-text {
  font-size: 13px;
  font-weight: 600;
  color: #123c2d;
  margin: 0;
}

.catalog-outing-join-btn {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 0;
  background: #176341;
  color: #fff;
  font: 700 13px system-ui;
  cursor: pointer;
}

.catalog-outing-join-btn:hover {
  background: #124f34;
}

.propose-ficha-surface {
  display: grid;
  gap: 8px;
}

.propose-route-preview {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4f9f6;
  border: 1px solid #cfe3d6;
  display: grid;
  gap: 6px;
}

.propose-route-preview-meta {
  font-size: 13px;
  font-weight: 700;
  color: #176341;
}

.propose-route-preview-desc {
  margin: 0;
  font-size: 13px;
  color: #2f4b41;
}

.propose-route-preview-outing {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #123c2d;
}

.propose-suggest-details {
  margin-top: 14px;
}

.propose-suggest-details > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: #244338;
  list-style: none;
}

.propose-suggest-body {
  margin-top: 12px;
}

.proposal-space-inner {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.outing-contact-box {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eaf5ee;
  border: 1px solid #b8ddc6;
  display: grid;
  gap: 8px;
}

.outing-contact-box strong {
  font-size: 13px;
  color: #123c2d;
}

.outing-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.outing-contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #b8ddc6;
  color: #123c2d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.outing-contact-link.outing-contact-wa {
  background: #176341;
  border-color: #176341;
  color: #ffffff;
}

.outing-org-wrap {
  margin-top: 8px;
}

.outing-org-btn {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}

.outing-org-summary {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5faf7;
  border: 1px solid #d5e6dc;
  font-size: 13px;
  color: #1b2e26;
}

.outing-org-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.outing-org-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.outing-org-initial {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #176341;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.outing-org-info p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #2f5746;
}

.propose-callout-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.propose-callout-inline h3 {
  margin: 0 0 2px;
}

.propose-callout-inline p {
  margin: 0;
}

@media (max-width: 720px) {
  .propose-callout-inline {
    flex-direction: column;
    align-items: stretch;
  }
}

.visual-jump-card-wide {
  grid-column: 1 / -1;
}

.visual-jump-card-wide .visual-jump-media {
  height: 115px;
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f0f5f2;
  border: 1px dashed #b7d2c2;
  color: #2f5746;
  font-size: 12px;
  font-weight: 700;
}

.visual-jump-card--soon {
  opacity: 0.9;
  align-self: start;
}

.visual-jump-card--soon .visual-jump-media {
  height: 92px;
  padding: 10px 12px;
}

.visual-jump-card--soon .visual-jump-overlay h3 {
  font-size: 15px;
  line-height: 1.2;
}

.visual-jump-card--soon .visual-jump-body {
  padding: 10px 12px 12px;
  gap: 8px;
}

.visual-jump-card--soon .visual-jump-body p {
  font-size: 12.5px;
  line-height: 1.35;
}

.route-autocomplete {
  position: relative;
}

.route-suggestions {
  list-style: none;
  margin: 4px 0 0;
  padding: 4px;
  background: #ffffff;
  border: 1px solid #b8d6c4;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(18, 60, 45, 0.14);
  max-height: 260px;
  overflow-y: auto;
  display: grid;
  gap: 2px;
  z-index: 20;
}

.route-suggestions[hidden] {
  display: none;
}

.route-suggestion-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  display: grid;
  gap: 2px;
  color: #123c2d;
}

.route-suggestion-btn:hover,
.route-suggestion-btn:focus-visible {
  background: #eaf5ee;
}

.route-suggestion-name {
  font-size: 13px;
  font-weight: 700;
  color: #123c2d;
}

.route-suggestion-meta {
  font-size: 11px;
  color: #466858;
}

.route-sheet-page {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
}

.route-sheet-page[hidden] {
  display: none;
}

.route-sheet-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.route-sheet-back-btn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
}

.route-sheet-share-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.route-sheet-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #16a34a;
  background: #15803d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.route-sheet-wa-btn:hover {
  background: #166534;
}

.route-sheet-copy-btn {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
}

.route-sheet-hero {
  display: grid;
  gap: 10px;
  border-left: 4px solid #176341;
}

.route-sheet-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.route-sheet-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.15;
  color: #123c2d;
}

.route-sheet-sector {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #2f6b51;
}

.route-sheet-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #263f36;
}

.route-diff-pill--baja {
  background: #e6f5ec;
  color: #14532d;
  border: 1px solid #b6dfc5;
}

.route-diff-pill--media {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f5d08a;
}

.route-diff-pill--alta {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f5b8b8;
}

.route-ahb-pill {
  background: #e8f0f7;
  color: #1e3a5f;
  border: 1px solid #bdd3e8;
}

.route-sheet-section-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #123c2d;
}

.route-sheet-source-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3d6b57;
  margin-bottom: 4px;
}

.route-sheet-difficulty-card {
  display: grid;
  gap: 12px;
}

.route-diff-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.route-diff-card-summary {
  display: grid;
  gap: 4px;
  max-width: 620px;
}

.route-align-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.route-align-badge--good {
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac;
}

.route-align-badge--warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.route-align-badge--danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.route-align-badge--neutral {
  background: #eef3f0;
  color: #304c41;
  border: 1px solid #cddbd3;
}

.route-ahb-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f8f6;
  border: 1px solid #dce8e1;
}

.route-ahb-metrics-label {
  font-size: 12px;
  font-weight: 700;
  color: #2f4b41;
}

.route-ahb-metric-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cfe0d6;
  font-size: 12px;
  font-weight: 700;
  color: #123c2d;
}

.route-align-verdict {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d7e2dc;
}

.route-align-verdict strong {
  font-size: 15px;
  line-height: 1.35;
}

.route-align-verdict p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}

.route-align-verdict--good {
  background: #eefaf2;
  border-color: #9ddbb2;
  color: #124024;
}

.route-align-verdict--warn {
  background: #fffbeb;
  border-color: #f6cf73;
  color: #78350f;
}

.route-align-verdict--danger {
  background: #fef2f2;
  border-color: #f6b0b0;
  color: #7f1d1d;
}

.route-align-verdict--neutral {
  background: #f5f8f6;
  border-color: #d4e0d9;
  color: #274137;
}

.route-align-cta {
  justify-self: start;
  margin-top: 4px;
}

.route-sheet-outings-card {
  display: grid;
  gap: 10px;
  border: 1px solid #b6dfc5;
  background: #f6fcf8;
}

.route-sheet-outing-row {
  margin: 0;
}

.route-sheet-outing-info {
  display: grid;
  gap: 3px;
}

.route-sheet-outing-info strong {
  font-size: 14.5px;
  color: #123c2d;
}

.route-sheet-specs-wrap {
  display: grid;
  gap: 12px;
}

.route-sheet-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
}

.route-sheet-spec-tile {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #f6faf7;
  border: 1px solid #dce8e1;
}

.route-sheet-spec-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4f6f60;
}

.route-sheet-spec-value {
  font-size: 14px;
  line-height: 1.35;
  color: #123c2d;
}

.route-sheet-sources {
  display: grid;
  gap: 10px;
}

.route-sheet-sources--subtle {
  background: #f7faf8;
  border-color: #dbe6df;
  box-shadow: none;
}

.route-sheet-sources-body {
  display: grid;
  gap: 10px;
}

.route-sheet-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-ahb-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 10px;
  background: #1e3a5f;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.route-ahb-link-btn:hover {
  background: #162d4b;
}

.route-ahb-link-btn--subtle {
  background: #eaf1f8;
  color: #1e3a5f;
  border: 1px solid #c2d4e6;
}

.route-ahb-link-btn--subtle:hover {
  background: #dce8f4;
}

.route-sheet-disclaimer {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #557064;
}

.route-sheet-guide-stack {
  display: grid;
  gap: 14px;
}

.route-sheet-guide-stack[hidden] {
  display: none;
}

.route-sheet-guide-card {
  display: grid;
  gap: 10px;
}

.route-sheet-body-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #253d34;
}

.route-sheet-stages-list,
.route-sheet-tips-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #253d34;
}

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

.route-sheet-store-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  margin-top: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid #124d32;
  background: #176341;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 12px rgba(23, 99, 65, 0.18);
}

.route-sheet-store-cta:hover {
  background: #124d32;
  color: #ffffff;
}

.route-sheet-community-card {
  display: grid;
  gap: 12px;
}

.route-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.route-sheet-guest-cta {
  display: grid;
  gap: 8px;
  border: 1px solid #b6dfc5;
  background: #f1faf4;
}

.route-sheet-guest-cta button {
  justify-self: start;
}

.outing-card-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.outing-card-footer-links .wa-share-outing-btn {
  margin-top: 0;
}

.outing-route-sheet-link {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .route-sheet-topbar {
    align-items: stretch;
  }

  .route-sheet-share-group {
    width: 100%;
  }

  .route-sheet-wa-btn,
  .route-sheet-copy-btn {
    flex: 1 1 auto;
  }

  .route-sheet-specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.route-comment-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.route-sheet-community-card .route-comment-photos {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.route-comment-photos--single {
  grid-template-columns: minmax(0, 360px) !important;
}

.route-comment-photo-link {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #cfe0d6;
  background: #eef4f0;
  box-shadow: 0 4px 14px rgba(18, 60, 45, 0.08);
}

.route-comment-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.route-comment-photo-link:hover .route-comment-photo {
  transform: scale(1.03);
}

.friends-space-card {
  display: grid;
  gap: 16px;
}

.friends-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.friend-search-form {
  display: grid;
  gap: 6px;
}

.friend-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.friend-search-row input {
  flex: 1;
  min-width: 0;
}

.friends-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.friends-subbox {
  border: 1px solid #d7e2dc;
  border-radius: 14px;
  padding: 14px;
  background: #f8fbf9;
  display: grid;
  gap: 10px;
  align-content: start;
}

.friends-subbox h3 {
  margin: 0;
  font-size: 16px;
  color: #123c2d;
}

.friends-list-grid {
  display: grid;
  gap: 10px;
}

.friend-item-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d7e2dc;
  background: #ffffff;
}

.friend-item-info {
  display: grid;
  gap: 2px;
}

.friend-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.outing-invite-friends-wrap {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d7e2dc;
  background: #f6faf7;
}

.outing-invite-label {
  font-size: 13px;
  font-weight: 600;
  color: #123c2d;
}

.outing-invite-friends-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.outing-invite-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #c4d7cc;
  background: #ffffff;
  font-size: 13px;
  cursor: pointer;
}

.friends-suggestions-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.friend-reason-pill {
  display: inline-block;
  width: fit-content;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e9f5ee;
  color: #165b3d;
  font-size: 12px;
  font-weight: 600;
}

.friend-person-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.friend-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  font-size: 14px;
}

.auth-preview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.auth-preview-card {
  background: #ffffff;
  border: 1px solid #dce7e0;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(18, 60, 45, 0.05);
}

.auth-preview-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2e6b3f;
  margin-bottom: 4px;
}

.auth-preview-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #123c2d;
}

.auth-preview-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #465b50;
}

.auth-preview-card--highlight {
  border-top: 3px solid #d35400;
  background: #fffaf6;
}

.auth-preview-card--highlight .auth-preview-kicker {
  color: #d35400;
}

.auth-pill-hot {
  background: #d35400;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.auth-offer-banner {
  background: #fff3ea;
  border: 1px solid #f3cfb3;
  color: #a63f00;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  text-align: center;
}

.auth-perks {
  margin: 8px 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #273b30;
}

.auth-perks li::before {
  content: "✓ ";
  color: #1f6b45;
  font-weight: 800;
}

.auth-email-cta {
  background: #d35400;
  color: #ffffff;
  border-color: #d35400;
  font-weight: 700;
}

.auth-email-cta:hover {
  background: #b84700;
  border-color: #b84700;
}

@media (max-width: 760px) {
  .auth-preview-strip {
    grid-template-columns: 1fr;
  }
}

.outing-quick-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;
}

.outing-quick-label {
  font-size: 12px;
  font-weight: 700;
  color: #465b50;
}

.outing-preset-btn {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
}

.wa-share-outing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #bfe0cb;
  background: #f1f9f4;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.wa-share-outing-btn:hover {
  background: #e2f4e9;
}

.gear-price-group {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.gear-price-old {
  font-size: 12px;
  color: #6b7d72;
  text-decoration: line-through;
}

/* Asistente de Trekking IA (Gemini) */
.gemini-assistant-surface {
  border: 1px solid #cfe0d6;
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.gemini-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.gemini-chip-btn {
  font-size: 13px;
  padding: 6px 12px;
}

.gemini-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.gemini-input-row input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.gemini-input-row button {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

.gemini-status {
  margin-top: 8px;
  min-height: 1.2em;
}

.gemini-results {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.gemini-answer-summary {
  padding: 12px 14px;
  border-radius: 12px;
  background: #eaf3ee;
  border: 1px solid #cfe0d6;
}

.gemini-answer-summary p {
  margin: 0;
  line-height: 1.5;
}

.gemini-answer-block h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #1e4234;
}

.gemini-routes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.gemini-route-item {
  padding: 12px;
  border: 1px solid #dce7e0;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  gap: 6px;
}

.gemini-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.gemini-bullet-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.gemini-outing-note {
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px dashed #b9d2c4;
}

@media (max-width: 600px) {
  .gemini-input-row {
    flex-direction: column;
  }
}

.gemini-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.gemini-product-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #cfe0d6;
  border-radius: 12px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.gemini-product-card:hover {
  border-color: #1f5c43;
  transform: translateY(-1px);
}

.gemini-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.weekend-plan-surface {
  margin-bottom: 16px;
  border: 1px solid #cfe0d6;
  background: linear-gradient(180deg, #f5faf7 0%, #ffffff 100%);
}

.weekend-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.weekend-refresh-btn {
  font-size: 12px;
  padding: 4px 10px;
}

.outing-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.outing-ai-btn {
  font-size: 13px;
  padding: 6px 12px;
  white-space: nowrap;
}

.catalog-ai-btn {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.catalog-search-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.gemini-inline-space {
  display: grid;
  gap: 10px;
}

.gemini-inline-space[hidden] {
  display: none;
}

.gemini-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.gemini-results-close {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 12px;
}

.catalog-empty-unified {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.catalog-empty-unified p {
  margin: 0;
}

/* ==========================================================================
   Mobile-First Experience Optimization (Phone Browsers · 80% Traffic)
   ========================================================================== */
html,
body {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

button,
a,
summary {
  touch-action: manipulation;
}

.route-sheet-page .surface {
  margin-bottom: 0;
}

.route-sheet-spec-tile--wide {
  grid-column: 1 / -1;
}

.route-sheet-spec-value,
.route-sheet-title,
.route-sheet-source-links a {
  overflow-wrap: anywhere;
}

.route-sheet-accordion {
  padding: 0;
  overflow: hidden;
}

.route-sheet-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  min-height: 52px;
  cursor: pointer;
  user-select: none;
}

.route-sheet-accordion-summary::-webkit-details-marker {
  display: none;
}

.route-sheet-accordion-summary::after {
  content: '▾';
  font-size: 16px;
  color: #2f6b51;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.route-sheet-accordion:not([open]) .route-sheet-accordion-summary::after {
  transform: rotate(-90deg);
}

.route-sheet-accordion-meta {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: #edf5f0;
  color: #2f5b47;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.route-sheet-accordion-body {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
  border-top: 1px solid #e8f0eb;
  padding-top: 14px;
}

.route-sheet-mobile-bar {
  display: none;
}

@media (max-width: 820px) {
  body.route-sheet-open .mobile-tabbar {
    display: none;
  }

  .route-sheet-page {
    gap: 12px;
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .route-sheet-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #cfe0d6;
    box-shadow: 0 -8px 24px rgba(18, 60, 45, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .route-sheet-mobile-bar[hidden] {
    display: none;
  }

  .route-sheet-mobile-primary {
    min-height: 48px;
    width: 100%;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    background: #176341;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(23, 99, 65, 0.22);
  }

  .route-sheet-mobile-primary:hover {
    background: #124d32;
  }

  .route-sheet-mobile-wa {
    min-height: 48px;
    width: 100%;
    padding: 10px 10px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  /* Compact Rutas hero banner so the unified search bar is immediately visible above the fold */
  [data-app-panel="routes"] .section-banner {
    min-height: 112px;
    margin-bottom: 12px;
  }

  [data-app-panel="routes"] .section-banner-copy {
    padding: 14px 16px;
  }

  [data-app-panel="routes"] .section-banner-copy h2 {
    font-size: 20px;
  }

  [data-app-panel="routes"] .section-banner-copy p {
    font-size: 13px;
  }

  /* Keep single unified search bar compact and thumb-friendly on 1 row */
  .catalog-search-row {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .catalog-search-row input {
    min-height: 46px;
    font-size: 16px;
    padding: 10px 12px;
  }

  .catalog-ai-btn {
    min-height: 46px;
    padding: 10px 13px;
    font-size: 13.5px;
    flex-shrink: 0;
  }

  /* Horizontal swipeable chip rows instead of tall multi-row wrapping */
  .gemini-quick-chips,
  .catalog-zone-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
    margin-left: -2px;
    margin-right: -2px;
    padding-left: 2px;
    padding-right: 2px;
  }

  .gemini-quick-chips::-webkit-scrollbar,
  .catalog-zone-chips::-webkit-scrollbar {
    display: none;
  }

  .gemini-chip-btn,
  .zone-chip {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 40px;
    scroll-snap-align: start;
  }

  /* Thumb-friendly catalog card buttons */
  .catalog-item {
    padding: 14px;
  }

  .catalog-item-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .catalog-item-actions .catalog-sheet-link,
  .catalog-item-actions .catalog-propose-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }

  .catalog-item-actions .catalog-reviews-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
  }

  /* Sticky compact topbar inside dedicated route ficha */
  .route-sheet-topbar {
    position: sticky;
    top: 52px;
    z-index: 25;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 8px 10px;
    margin: -4px -12px 0;
    background: rgba(244, 247, 245, 0.94);
    border-bottom: 1px solid #dbe7e0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .route-sheet-back-btn {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .route-sheet-share-group {
    width: auto;
    flex-wrap: nowrap;
    gap: 6px;
    margin-left: auto;
  }

  .route-sheet-topbar .route-sheet-wa-btn,
  .route-sheet-topbar .route-sheet-copy-btn {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 11px;
    font-size: 12.5px;
  }

  .route-sheet-hero,
  .route-sheet-difficulty-card,
  .route-sheet-specs-wrap,
  .route-sheet-sources,
  .route-sheet-community-card,
  .route-sheet-outings-card,
  .route-sheet-guest-cta {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .route-sheet-title {
    font-size: 23px;
  }

  .route-sheet-desc {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .route-sheet-specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .route-sheet-spec-tile {
    padding: 10px;
  }

  .route-sheet-spec-value {
    font-size: 13.5px;
  }

  .route-sheet-source-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .route-ahb-link-btn,
  .route-sheet-source-links .catalog-sheet-link {
    width: 100%;
    min-height: 44px;
    text-align: center;
    white-space: normal;
  }

  .route-sheet-accordion-summary {
    padding: 14px;
  }

  .route-sheet-accordion-body {
    padding: 12px 14px 16px;
  }

  .route-sheet-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .route-sheet-actions button,
  .route-sheet-actions a {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .catalog-outing-callout {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-outing-join-btn {
    width: 100%;
    min-height: 44px;
  }

  .route-ratings-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .route-rating-chip,
  .route-sheet-community-card .route-rating-chip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .route-sheet-community-card .route-stars {
    font-size: 20px;
  }

  .route-comment-item {
    padding: 14px;
  }

  .route-comment-author {
    font-size: 16.5px;
  }

  .route-sheet-community-card .route-comment-photos,
  .route-comment-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .route-sheet-community-card .route-comment-photos--single,
  .route-comment-photos--single {
    grid-template-columns: 1fr !important;
  }

  .route-sheet-store-cta {
    width: 100%;
    justify-self: stretch;
  }
}

/* ==========================================================================
   SEO Static Route Pages & 500 Routes Directory (/rutas/ & /rutas/<slug>/)
   ========================================================================== */
.seo-desktop-nav a.nav-pill {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.seo-desktop-nav a.nav-pill[aria-current="page"] {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #4a6358;
  margin-bottom: 4px;
}

.seo-breadcrumb a {
  color: #176341;
  font-weight: 600;
  text-decoration: none;
}

.seo-breadcrumb a:hover {
  text-decoration: underline;
}

.seo-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #c9dcd1;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13.5px;
  background: #ffffff;
  color: #174634;
}

.seo-btn-link:hover {
  background: #eef6f1;
}

.seo-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 16px;
  min-height: 44px;
  font-weight: 700;
  font-size: 14px;
  background: #176341;
  color: #ffffff;
  border: 1px solid #176341;
}

.seo-primary-link:hover {
  background: #124d32;
}

.seo-inline-link {
  color: #176341;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}

.seo-inline-link:hover {
  text-decoration: underline;
}

.auth-preview-link-wrap {
  margin-top: 8px !important;
}

.seo-app-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.seo-mobile-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.seo-faq-card {
  display: grid;
  gap: 12px;
}

.seo-faq-list {
  display: grid;
  gap: 8px;
}

.seo-faq-item {
  border: 1px solid #dce7e0;
  border-radius: 12px;
  background: #f9fcfa;
  overflow: hidden;
}

.seo-faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  font-size: 14.5px;
  font-weight: 700;
  color: #123c2d;
  cursor: pointer;
}

.seo-faq-question::-webkit-details-marker {
  display: none;
}

.seo-faq-question::after {
  content: '+';
  font-size: 18px;
  font-weight: 700;
  color: #176341;
  flex-shrink: 0;
}

.seo-faq-item[open] .seo-faq-question::after {
  content: '−';
}

.seo-faq-answer {
  margin: 0;
  padding: 0 15px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #2f483d;
}

.seo-related-section {
  display: grid;
  gap: 12px;
}

.seo-related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.seo-related-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dce7e0;
  background: #f9fcfa;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.seo-related-card:hover {
  border-color: #176341;
  transform: translateY(-1px);
}

.seo-related-name {
  font-size: 14px;
  line-height: 1.3;
  color: #123c2d;
}

.seo-related-meta {
  font-size: 12.5px;
  color: #4a6358;
}

.seo-directory-stack {
  display: grid;
  gap: 16px;
}

.seo-directory-hero {
  display: grid;
  gap: 10px;
}

.seo-region-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.seo-region-chip {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.seo-directory-region {
  display: grid;
  gap: 12px;
  scroll-margin-top: 72px;
}

.seo-popular-section {
  display: grid;
  gap: 12px;
  scroll-margin-top: 72px;
  border-top: 3px solid #176341;
  background: linear-gradient(180deg, #f5faf7 0%, #ffffff 100%);
}

.seo-popular-card {
  border-color: #c5ddd0;
  background: #ffffff;
}

.seo-popular-card:hover {
  border-color: #176341;
  background: #edf7f1;
}

.seo-directory-region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.seo-directory-region-head h2 {
  margin: 0;
  font-size: 20px;
  color: #123c2d;
}

.seo-directory-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seo-directory-link {
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid #dce7e0;
  background: #ffffff;
  text-decoration: none;
  height: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.seo-directory-link:hover {
  border-color: #176341;
  background: #f5faf7;
}

.seo-directory-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #123c2d;
}

.seo-directory-meta {
  font-size: 12px;
  color: #4c645a;
}

@media (max-width: 820px) {
  .seo-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .seo-related-grid,
  .seo-directory-grid {
    grid-template-columns: 1fr;
  }

  .seo-app-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .seo-app-banner-actions a {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Route-to-Store Shoppable Gear Cards + Mobile Home CRO Polish
   ========================================================================== */
.route-gear-products-wrap {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.route-gear-products-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #123c2d;
}

.route-gear-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.route-gear-product-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d2e4da;
  background: #ffffff;
  color: #162e26;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.route-gear-product-card:hover {
  border-color: #176341;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(18, 60, 45, 0.08);
}

.route-gear-product-media {
  background: #f5f9f6;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid #e6f0ea;
}

.route-gear-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.route-gear-product-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px 12px;
  flex: 1;
}

.route-gear-product-cat {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #176341;
}

.route-gear-product-name {
  font-size: 13.5px;
  line-height: 1.25;
  color: #122922;
}

.route-gear-product-reason {
  font-size: 12px;
  line-height: 1.35;
  color: #486157;
  flex: 1;
}

.route-gear-product-foot {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #ebf2ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.route-gear-product-cta {
  font-size: 12px;
  font-weight: 800;
  color: #176341;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .route-gear-products-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding-bottom: 4px;
  }

  .route-gear-products-grid::-webkit-scrollbar {
    display: none;
  }

  .route-gear-product-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  /* Mobile horizontal swipeable showcase for #sal-equipado-home */
  #sal-equipado-home .gear-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding-bottom: 16px;
  }

  #sal-equipado-home .gear-grid::-webkit-scrollbar {
    display: none;
  }

  #sal-equipado-home .gear-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  /* Compact non-actionable coming-soon cards on mobile so gear showcase sits higher */
  .visual-jump-card--soon .visual-jump-media {
    height: 76px;
  }

  .visual-jump-card--soon .visual-jump-body {
    padding: 10px;
  }

  .visual-jump-card--soon .visual-jump-body p {
    display: none;
  }
}
















/* ── Modo observador (registro perezoso) ───────────────────────── */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;
  background: #f2f6f3;
  padding-top: 52px;
  -webkit-overflow-scrolling: touch;
}
.auth-modal[hidden],
.guest-banner[hidden],
.topbar-signin[hidden] { display: none; }
.auth-modal-close {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 1001;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
body.auth-modal-open { overflow: hidden; }
.auth-modal-reason {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 190, 60, 0.15);
  font-weight: 600;
}
.auth-email-details { margin: 12px 0 4px; }
.auth-email-details summary {
  cursor: pointer;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  text-decoration: underline;
}
.guest-banner {
  position: relative;
  overflow: hidden;
  margin: 12px 0 16px;
  padding: 0;
  border-radius: 16px;
  background: #12372a;
  color: #fff;
}
.guest-banner .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guest-banner .hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,22,0), rgba(10,30,22,.55)); }
.guest-banner-inner { position: relative; padding: 16px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 90px; }
.guest-banner-inner .hero-pill { align-self: flex-start; }
#google, .guest-banner-google { display: flex; align-items: center; justify-content: center; gap: 10px; }
#google .g-logo { background: #fff; border-radius: 50%; padding: 3px; box-sizing: content-box; }
.guest-banner h2 { margin: 8px 0 6px; font-size: 1.3rem; color: #fff; }
.guest-banner p { margin: 0 0 14px; line-height: 1.45; }
.guest-banner-actions { display: grid; gap: 10px; }
.guest-banner-google { background: #fff; color: #12372a; }
.topbar-signin {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: #f5a623;
  color: #1a1a1a;
  font-weight: 800;
  cursor: pointer;
}
body.ct2-guest #profile-header,
body.ct2-guest #event-space,
body.ct2-guest #my-events-space,
body.ct2-guest #route-space { display: none; }
.guest-only { display: none; }
body.ct2-guest .guest-only { display: block; }
.guest-cta-card { padding: 14px; text-align: center; }
.guest-cta-card p { margin: 0 0 10px; }
body.ct2-guest [data-guest-locked]::after { content: " 🔒"; font-size: 0.8em; }
@media (min-width: 900px) {
  .auth-modal { padding-top: 56px; }
}

.guest-banner-title { margin: 0; text-align: center; font-size: 1.6rem; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }

/* Home móvil: tarjetas solo con imagen, título y un botón */
@media (max-width: 640px) {
  .quick-cards .visual-jump-body > p:not(.card-blurb),
  .quick-cards .guest-cta-card > p,
  .quick-cards .card-cta-stack .secondary:not(.keep-mobile) { display: none; }
  .quick-cards .visual-jump-kicker { display: none; }
  .quick-cards .visual-jump-body,
  .quick-cards .guest-cta-card { padding: 10px; }
  .quick-cards .card-cta-stack .btn-full,
  .quick-cards .guest-cta-card .btn-full { min-height: 44px; font-size: 0.9rem; padding: 8px 10px; }
}

.profile-activity {
  margin-bottom: 16px;
}

.profile-activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-activity-actions button {
  min-height: 44px;
}

.profile-reviews-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-reviews-list li {
  padding: 12px;
  border: 1px solid #dce7e0;
  border-radius: 12px;
}

.profile-reviews-list p {
  margin: 4px 0 0;
}

.profile-settings > summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
}

/* Onboarding */
.onboarding { position: fixed; inset: 0; z-index: 1100; background: #0b1f17; color: #fff; display: flex; flex-direction: column; touch-action: pan-y; }
.onboarding[hidden], .onb-slide[hidden], .onb-google[hidden], .onb-link[hidden], .topbar-help[hidden], #onb-next[hidden] { display: none; }
.onb-skip { position: absolute; top: 12px; right: 12px; z-index: 3; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.45); color: #fff; font-weight: 700; cursor: pointer; }
.onb-slides { position: relative; flex: 1; }
.onb-slide { position: absolute; inset: 0; overflow: hidden; }
.onb-slide .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.onb-slide .hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(5,20,14,.9)); }
.onb-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 20px 24px; }
.onb-copy h2 { margin: 10px 0 6px; font-size: 2rem; color: #fff; }
.onb-copy p { margin: 0; font-size: 1.05rem; line-height: 1.4; }
.onb-footer { display: grid; gap: 10px; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); background: #0b1f17; }
.onb-dots { display: flex; justify-content: center; gap: 8px; }
.onb-dot { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.35); }
.onb-dot.is-active { width: 24px; background: #f5a623; }
.onb-google { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #12372a; }
.onb-google .g-logo { background: #fff; border-radius: 50%; padding: 3px; box-sizing: content-box; }
.onb-link { background: none; border: 0; color: #fff; text-decoration: underline; min-height: 40px; font-weight: 600; cursor: pointer; }
.topbar-help { min-height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid #1d5a3f; background: transparent; color: #1d5a3f; font-weight: 700; cursor: pointer; }
.help-short { display: none; }
@media (max-width: 640px) { .help-long { display: none; } .help-short { display: inline; } .topbar-help { width: 38px; padding: 0; } }
@media (min-width: 700px) { .onboarding { align-items: center; } .onb-slides, .onb-footer { width: min(480px, 100%); } .onb-slides { flex: none; height: 70vh; } }
#onb-google { background: #fff; color: #12372a; border: 0; }
#onb-google:disabled { opacity: 1; }
@media (min-width: 700px) {
  .onboarding { justify-content: center; background: rgba(5, 20, 14, 0.94); }
  .onb-slides { border-radius: 20px 20px 0 0; height: min(62vh, 520px); }
  .onb-footer { border-radius: 0 0 20px 20px; padding-top: 16px; }
}

/* Móvil: WhatsApp compacto y tarjetas sin estirarse */
@media (max-width: 640px) {
  .quick-cards { align-items: stretch; }
  .quick-cards .wa-visual-shell { margin-bottom: 0; }
  .quick-cards .visual-jump-body, .quick-cards .wa-space-body, .quick-cards .guest-cta-card { flex: 1; display: flex; flex-direction: column; }
  .quick-cards .card-cta-stack, .quick-cards .guest-cta-card .btn-full { margin-top: auto; }
  .quick-cards .wa-visual-shell { display: flex; flex-direction: column; }
  .quick-cards .ct2-wa-heading,
  .quick-cards .ct2-wa-note,
  .quick-cards .ct2-wa-label { display: none; }
  .quick-cards .ct2-wa-card { gap: 8px; }
  .quick-cards .ct2-wa-msg { margin: 0 0 8px; }
  .quick-cards .wa-space-body { padding: 10px; }
  .topbar-help { display: none; }
}

.lbl-short { display: none; }
@media (max-width: 640px) {
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
}

/* Botón ? de ayuda en tarjetas */
.visual-jump-media, .wa-visual-banner { position: relative; }
.card-help { position: absolute; top: 8px; right: 8px; z-index: 3; width: 26px; height: 26px; padding: 0; min-height: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.25); color: rgba(255,255,255,.9); font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; backdrop-filter: blur(2px); }
.card-help:hover, .card-help[aria-expanded="true"] { background: rgba(0,0,0,.55); }
.card-help-pop { position: absolute; left: 8px; right: 8px; top: 40px; z-index: 4; padding: 10px 12px; border-radius: 12px; background: rgba(10,30,22,.92); color: #fff; font-size: .85rem; line-height: 1.35; box-shadow: 0 6px 18px rgba(0,0,0,.3); }

@media (max-width: 640px) {
  body:not(.ct2-guest) .quick-cards .guest-cta-card { display: none; }
  .quick-cards .card-blurb { margin: 0 0 10px; font-size: 0.92rem; line-height: 1.35; color: #3d5a4d; }
}


/* CT3: task-first phone navigation and focused, readable forms. */
.ct3-home-tasks h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 .65rem; }
.ct3-task-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.ct3-task-actions button { min-height: 3.1rem; font-size: 1rem; }
.ct3-home-tasks p, .ct3-route-condition p, .ct3-outing-detail p, .ct3-publish-review p { font-size: 1rem; line-height: 1.5; }
.ct3-catalog-search { margin-block: 1rem; }
.ct3-catalog-search input { width: 100%; min-height: 3rem; }
.ct3-ask-assistant { margin-block: 1rem; }
.ct3-ask-assistant summary, .ct3-outing-extras summary, .ct3-outing-detail summary { cursor: pointer; padding: .9rem .2rem; font-weight: 700; font-size: 1rem; }
.ct3-route-condition h2 { font-size: 1.2rem; margin-top: 0; }
.ct3-route-condition a { display: block; margin-block: 1rem; font-weight: 700; }
.ct3-route-condition button { min-height: 2.8rem; }
.ct3-selected-route, .ct3-publish-review { padding: 1rem; border: 1px solid #bad6c8; border-radius: .8rem; background: #f1f8f3; }
.ct3-selected-route { font-weight: 700; }
.ct3-outing-detail { border-block: 1px solid #d8e7de; margin-block: .8rem; }
.ct3-outing-extras[open] { padding-bottom: 1rem; }
.review-writing #review-composer { max-width: 46rem; margin-inline: auto; }
#review-composer [data-review-exit] { min-height: 2.8rem; }
@media (max-width: 480px) {
  .ct3-task-actions { grid-template-columns: 1fr; }
  .mob-tab { font-size: .875rem; }
  .ct3-home-tasks { margin-top: .25rem; }
}
