/* ========================================
   VistaWalks — Specific Styles
   Colors: Green #28a745/#20c997, Gold #b8860b/#daa520, Navy #12243f
   Mobile-first responsive
======================================== */

/* ========================================
   1) Tour Map Container
======================================== */
.walk-map-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 4rem);
  min-height: 400px;
}

.walk-map-container #map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* ========================================
   2) GPS / My Location Button
======================================== */
.gps-btn {
  position: absolute;
  top: 50%;
  right: 1rem;
  margin-top: -1.5rem;
  z-index: 1000;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #12243f;
  transition: all 0.3s ease;
}

.gps-btn:hover {
  background: #f0f4f8;
  transform: scale(1.1);
}

.gps-btn:active {
  transform: scale(0.95);
}

.gps-btn.tracking {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* ========================================
   3) Stop List Panel (Bottom Sheet) & Save Bar
======================================== */
/* Save-to-phone bar — fixed at viewport bottom */
.route-save-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 0.65rem 0.75rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
}

.route-save-btn {
  width: 100%;
  background: #b8860b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
}

.route-save-btn:active {
  opacity: 0.85;
}

.stop-list-panel {
  position: fixed;
  bottom: 3.8rem;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  max-height: 55vh;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.stop-list-panel.collapsed {
  transform: translateY(calc(100% - 1.75rem));
}

.stop-list-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: auto;
  -webkit-touch-callout: none;
}

.stop-list-handle::before {
  content: '';
  width: 2.5rem;
  height: 0.25rem;
  background: #cfd9e3;
  border-radius: 0.125rem;
}

.stop-list-title {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: #12243f;
  padding: 0 1rem 0.5rem;
  flex-shrink: 0;
}

.stop-list-subtitle {
  text-align: center;
  font-weight: 500;
  font-size: 0.85rem;
  color: #6b7280;
  padding: 0 1rem 0.75rem;
  flex-shrink: 0;
}

.stop-list-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem 1rem;
  flex: 1;
}

/* ========================================
   4) Stop Cards
======================================== */
.stop-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #f8fafb;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.stop-card:hover {
  background: #eef5f9;
  border-color: #20c997;
}

.stop-card.active {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.08), rgba(32, 201, 151, 0.08));
  border-color: #28a745;
}

.stop-card.visited {
  opacity: 0.7;
}

.stop-card.visited .stop-number {
  background: linear-gradient(135deg, #b8860b, #daa520);
}

.stop-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.stop-info {
  flex: 1;
  min-width: 0;
}

.stop-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #12243f;
  margin-bottom: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stop-desc {
  font-size: 0.78rem;
  color: #4b5b75;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stop-status {
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ========================================
   5) Tour Progress Bar
======================================== */
.tour-progress {
  padding: 0.5rem 1rem;
  flex-shrink: 0;
}

.tour-progress-bar {
  width: 100%;
  height: 0.375rem;
  background: #e9ecef;
  border-radius: 0.25rem;
  overflow: hidden;
}

.tour-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  border-radius: 0.25rem;
  transition: width 0.5s ease;
  width: 0%;
}

.tour-progress-text {
  text-align: center;
  font-size: 0.75rem;
  color: #4b5b75;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* ========================================
   6) Map Marker Styles (SVG pin)
======================================== */
.walk-marker-wrap {
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
}

.walk-marker-wrap svg {
  overflow: visible;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.25s ease;
  filter: drop-shadow(0 3px 7px rgba(18, 36, 63, 0.4));
}

.walk-marker-wrap path {
  fill: #12243f;
  stroke: #daa520;
  stroke-width: 2.5px;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.walk-marker-wrap text {
  fill: #fff;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.walk-marker-wrap.visited path {
  fill: #b8860b;
  stroke: #12243f;
}

.walk-marker-wrap.active svg {
  transform: scale(1.35) translateY(-5px);
  filter: drop-shadow(0 7px 14px rgba(18, 36, 63, 0.6));
  animation: marker-active-pulse 1.5s ease-in-out infinite;
}

@keyframes marker-active-pulse {
  0%, 100% { filter: drop-shadow(0 7px 14px rgba(18, 36, 63, 0.6)); }
  50% { filter: drop-shadow(0 7px 20px rgba(18, 36, 63, 0.9)) drop-shadow(0 0 8px rgba(218, 165, 32, 0.5)); }
}

/* ========================================
   7) Proximity Popup
======================================== */
.proximity-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 36, 63, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.proximity-popup.show {
  opacity: 1;
  visibility: visible;
}

.proximity-popup-content {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  max-width: 22rem;
  width: 90%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(1rem);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.proximity-popup.show .proximity-popup-content {
  transform: translateY(0);
}

.proximity-popup-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.proximity-popup-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #12243f;
  margin-bottom: 0.5rem;
}

.proximity-popup-desc {
  font-size: 0.9rem;
  color: #4b5b75;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.proximity-popup-image {
  width: 100%;
  height: 10rem;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}

.proximity-popup-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
}

.proximity-popup-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(40, 167, 69, 0.4);
}

.proximity-popup-close {
  display: block;
  margin-top: 0.75rem;
  background: none;
  border: none;
  color: #8a96a8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.proximity-popup-close:hover {
  color: #12243f;
}

/* ========================================
   8) Congratulations Overlay
======================================== */
.congrats-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(18, 36, 63, 0.9), rgba(40, 167, 69, 0.85));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.congrats-overlay.show {
  opacity: 1;
  visibility: visible;
}

.congrats-content {
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 24rem;
  width: 90%;
  transform: scale(0.8);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.congrats-overlay.show .congrats-content {
  transform: scale(1);
}

.congrats-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: congrats-bounce 0.6s ease infinite alternate;
}

@keyframes congrats-bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-0.5rem); }
}

.congrats-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.congrats-message {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.congrats-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.congrats-stat {
  text-align: center;
}

.congrats-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
}

.congrats-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.congrats-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #b8860b, #daa520);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.4);
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.congrats-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

/* ========================================
   9) Leaflet Popup Custom Styles
======================================== */
.walk-popup .leaflet-popup-content-wrapper {
  border-radius: 1rem;
  padding: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.walk-popup .leaflet-popup-content {
  margin: 0;
  min-width: 200px;
  max-width: 260px;
}

.walk-popup .leaflet-popup-tip {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.walk-popup-image {
  width: 100%;
  height: 8rem;
  background-size: cover;
  background-position: center;
}

.walk-popup-body {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
}

.walk-popup-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #12243f;
  margin-bottom: 0.25rem;
}

.walk-popup-desc {
  font-size: 0.8rem;
  color: #4b5b75;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

/* ── Premium button (Discover the Story) ── */
.walk-popup-premium-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  background: #C89B3C;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  box-shadow: 0 3px 12px rgba(200, 155, 60, 0.3);
  transition: all 0.25s ease;
  margin-bottom: 10px;
  box-sizing: border-box;
  padding: 0;
  line-height: 1;
}

.walk-popup-premium-btn:hover {
  background: #B88A30;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(200, 155, 60, 0.4);
}

/* ── Navigation button (Google Maps) ── */
.walk-popup-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  background: #374151;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  box-sizing: border-box;
  padding: 0;
  line-height: 1;
}

.walk-popup-nav-btn:hover {
  background: #1F2937;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
}

/* ========================================
   10) Walk Landing Page Styles
======================================== */
.walk-hero {
  position: relative;
  width: 100%;
  min-height: 20rem;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 0 0 1.5rem 1.5rem;
  overflow: hidden;
}

.walk-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 36, 63, 0.2) 0%, rgba(18, 36, 63, 0.85) 100%);
}

.walk-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  color: #fff;
}

.walk-hero-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.walk-hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.walk-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 1rem;
  max-width: 40rem;
  margin: 0 auto;
}

.walk-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 5rem;
}

.walk-highlight-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.walk-highlight-value {
  font-weight: 800;
  font-size: 1.1rem;
  color: #12243f;
}

.walk-highlight-label {
  font-size: 0.75rem;
  color: #4b5b75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.walk-stops-preview {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
}

.walk-stops-preview-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #12243f;
  text-align: center;
  margin-bottom: 0.75rem;
}

.walk-stop-preview-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #eef0f2;
}

.walk-stop-preview-item:last-child {
  border-bottom: none;
}

.walk-stop-preview-number {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.walk-stop-preview-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #12243f;
}

.walk-cta-section {
  text-align: center;
  padding: 1.5rem;
}

.walk-cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  border: none;
  border-radius: 3rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.02em;
}

.walk-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(40, 167, 69, 0.45);
}

.walk-cta-btn:focus {
  outline: 2px solid #12243f;
  outline-offset: 3px;
}

.walk-cta-price {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #4b5b75;
}

.walk-how-it-works {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.5rem;
}

.walk-how-it-works-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #12243f;
  text-align: center;
  margin-bottom: 1rem;
}

.walk-how-steps {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.walk-how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 6rem;
  max-width: 8rem;
}

.walk-how-step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.walk-how-step-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #12243f;
  margin-bottom: 0.2rem;
}

.walk-how-step-desc {
  font-size: 0.75rem;
  color: #4b5b75;
  line-height: 1.4;
}

/* ========================================
   11) Walk Hub Page Styles
======================================== */
.walk-tour-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17, 41, 76, 0.12);
  transition: all 0.3s ease;
  max-width: 28rem;
  margin: 0 auto;
}

.walk-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(17, 41, 76, 0.2);
}

.walk-tour-card:focus {
  outline: 2px solid #12243f;
  outline-offset: 3px;
}

.walk-tour-card-image {
  width: 100%;
  height: 12rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.walk-tour-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.walk-tour-card-badge.active {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
}

.walk-tour-card-badge.coming-soon {
  background: rgba(18, 36, 63, 0.85);
  color: #fff;
}

.walk-tour-card-body {
  padding: 1rem 1.25rem;
}

.walk-tour-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #12243f;
  margin-bottom: 0.375rem;
}

.walk-tour-card-desc {
  font-size: 0.85rem;
  color: #4b5b75;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.walk-tour-card-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.walk-tour-card-meta-item {
  font-size: 0.75rem;
  color: #8a96a8;
  font-weight: 600;
}

.walk-tour-card.disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* ========================================
   12) User Location Marker
======================================== */
.user-location-marker {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #12243f;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(18, 36, 63, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25);
  animation: user-pulse 2s ease infinite;
}

@keyframes user-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(18, 36, 63, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 0 0 12px rgba(18, 36, 63, 0.15), 0 2px 8px rgba(0, 0, 0, 0.25); }
}

/* ========================================
   12b) Leaflet Zoom Controls — Brand Style
======================================== */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 10px rgba(18, 36, 63, 0.25) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  background: #12243f !important;
  color: #fff !important;
  border: none !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
  background: #1d3563 !important;
  color: #daa520 !important;
}

.leaflet-control-zoom-in {
  border-bottom: 1px solid rgba(218, 165, 32, 0.2) !important;
}

/* ========================================
   13) GPS Permission Card
======================================== */
.gps-permission-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1100;
  background: #fff;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  display: none;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid #28a745;
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 90%;
  width: fit-content;
}

.gps-permission-card.visible {
  display: flex;
  opacity: 1;
}

.gps-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.gps-card-text {
  flex: 1;
  min-width: 0;
}

.gps-card-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #12243f;
  margin-bottom: 0.15rem;
}

.gps-card-desc {
  font-size: 0.75rem;
  color: #4b5b75;
  line-height: 1.4;
}

.gps-card-allow-btn {
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  border: none;
  border-radius: 1.5rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
  transition: all 0.2s ease;
}

.gps-card-allow-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.gps-card-skip-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #8a96a8;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.gps-card-skip-btn:hover {
  color: #12243f;
}

/* ========================================
   14) Navigation Toast
======================================== */
.walk-toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  z-index: 4000;
  background: rgba(18, 36, 63, 0.9);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.walk-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========================================
   14) Responsive — Tablet
======================================== */
@media screen and (min-width: 768px) {
  .walk-hero {
    min-height: 24rem;
    border-radius: 0 0 2rem 2rem;
  }

  .walk-hero-title {
    font-size: 2.75rem;
  }

  .walk-hero-subtitle {
    font-size: 1.15rem;
  }

  .stop-list-panel {
    max-width: 24rem;
    right: auto;
    left: 1rem;
    bottom: 3.8rem;
    border-radius: 1.25rem;
    max-height: calc(100vh - 8rem);
  }

  .stop-list-panel.collapsed {
    transform: translateY(calc(100% - 1.75rem));
  }

  .gps-btn {
    bottom: 2rem;
    right: 1.5rem;
  }

  .walk-tour-card-image {
    height: 14rem;
  }
}

/* ========================================
   14) Responsive — Desktop
======================================== */
@media screen and (min-width: 1024px) {
  .walk-highlights {
    gap: 2rem;
  }

  .walk-how-steps {
    gap: 2.5rem;
  }
}

/* ========================================
   15) Responsive — Small Mobile
======================================== */
@media screen and (max-width: 380px) {
  .walk-hero-title {
    font-size: 1.5rem;
  }

  .walk-hero-subtitle {
    font-size: 0.9rem;
  }

  .walk-cta-btn {
    font-size: 1rem;
    padding: 0.85rem 2rem;
  }

  .congrats-title {
    font-size: 1.5rem;
  }

  .proximity-popup-content {
    padding: 1.25rem 1rem;
  }
}

/* ========================================
   Voice Narration Button (Porto Stop 3 pilot)
======================================== */
.premium-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
}

.premium-title-row .premium-title {
  flex: 1;
}

.narrate-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #daa520;
  background: #fff;
  color: #b8860b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.narrate-btn:hover {
  background: #fef9ec;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
  transform: scale(1.08);
}

.narrate-btn:active {
  transform: scale(0.95);
}

.narrate-btn.narrate-active {
  background: linear-gradient(135deg, #b8860b, #daa520);
  color: #fff;
  border-color: #b8860b;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.45);
}

.narrate-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.narrate-wave {
  transition: opacity 0.25s ease;
  opacity: 0.4;
}

.narrate-btn.narrate-active .narrate-wave {
  opacity: 1;
  animation: narrate-pulse 1.2s ease-in-out infinite;
}

.narrate-btn.narrate-active .narrate-wave-2 {
  animation-delay: 0.2s;
}

@keyframes narrate-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
