:root {
  /* ==================== SnowBreak — Design tokens ==================== */
  /* Brand palette */
  --color-navy-950: #07142a;
  --color-navy-900: #0b1d3a;
  --color-navy-800: #122c54;
  --color-navy-700: #1e3a8a;
  --color-navy-600: #1d4ed8;
  --color-blue-500: #2563eb;
  --color-blue-400: #38bdf8;
  --color-ice-100: #e0f2fe;
  --color-ice-50:  #f0f9ff;

  /* Neutral surfaces */
  --color-surface:        #ffffff;
  --color-surface-2:      #f7fafc;
  --color-surface-soft:   #eff4f9;
  --color-border:         #e2e8f0;
  --color-border-strong:  #cbd5e1;

  /* Text */
  --color-text:           #0b1d3a;
  --color-text-muted:     #4b6075;
  --color-text-soft:      #64748b;
  --color-text-on-dark:   #ffffff;

  /* Status (pistas, alertas, badges) */
  --color-success-50:  #ecfdf5;
  --color-success-100: #d1fae5;
  --color-success-500: #10b981;
  --color-success-700: #047857;

  --color-warning-50:  #fffbeb;
  --color-warning-100: #fef3c7;
  --color-warning-500: #f59e0b;
  --color-warning-700: #b45309;

  --color-danger-50:  #fef2f2;
  --color-danger-100: #fee2e2;
  --color-danger-500: #ef4444;
  --color-danger-700: #b91c1c;

  --color-accent-500: #fb923c;   /* SnowBreak orange */
  --color-accent-600: #f97316;

  /* Gradients */
  --gradient-hero:
    radial-gradient(circle at 18% 12%, rgba(56,189,248,0.28), transparent 32%),
    radial-gradient(circle at 82% 88%, rgba(251,146,60,0.22), transparent 36%),
    linear-gradient(135deg, #0f5ecd 0%, #12325d 55%, #0b1d3a 100%);
  --gradient-page:
    radial-gradient(circle at top, rgba(14,165,233,0.10), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eef4f9 100%);
  --gradient-error:
    radial-gradient(circle at 20% 10%, rgba(56,189,248,0.22), transparent 35%),
    radial-gradient(circle at 80% 90%, rgba(30,58,138,0.25), transparent 35%),
    linear-gradient(160deg, #0b1d3a 0%, #1e3a8a 60%, #0ea5e9 130%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-sm: 0 4px 12px rgba(15,23,42,0.06);
  --shadow-md: 0 10px 28px rgba(15,23,42,0.09);
  --shadow-lg: 0 18px 45px rgba(15,23,42,0.10);
  --shadow-xl: 0 28px 60px rgba(15,23,42,0.16);
  --shadow-cta: 0 14px 30px rgba(251,146,60,0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.15s;
  --t-base: 0.22s;
  --t-slow: 0.4s;

  /* Layout */
  --container-max: 1200px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top, rgba(14, 165, 233, 0.14), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef4f9 100%);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #10243b;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

ul, ol {
  padding: 0;
  list-style: none;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-200%);
  background: #0f172a;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 400;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-stack {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.inline-form {
  margin: 0;
}

.text-link {
  color: #0f5ecd;
  font-weight: 700;
}

.text-link:hover {
  color: #0a4da9;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.navbar__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #0f5ecd;
  font-weight: 800;
  font-size: 1.45rem;
}

.navbar__logo {
  height: 44px;
  width: auto;
  display: block;
  max-width: 220px;
}

@media (min-width: 900px) {
  .navbar__logo {
    height: 48px;
    max-width: 260px;
  }
}

.footer__logo {
  height: 50px;
  width: auto;
  display: block;
  max-width: 240px;
}

.navbar__toggle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef4fb;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
}

.navbar__toggle-bar {
  width: 18px;
  height: 2px;
  background: #10243b;
  border-radius: 999px;
}

.navbar__nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 1rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dbe6f0;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.navbar__nav.is-open {
  display: flex;
}

.navbar__list,
.navbar__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: #516377;
}

.navbar__link:hover,
.navbar__link--secondary:hover {
  background: #eef4fb;
  color: #10243b;
}

.navbar__link--active {
  background: #10243b;
  color: #fff;
}

.navbar__link--active:hover {
  color: #fff;
}

.navbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 1.1rem;
  border-radius: 14px;
  background: #10243b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.navbar__btn:hover {
  transform: translateY(-1px);
}

.navbar__btn--ghost {
  background: #eff4f9;
  color: #10243b;
  border: 1px solid #d3dde8;
}

.navbar__btn--link,
.hero__btn-action--link {
  text-decoration: none;
}

.navbar__welcome {
  color: #516377;
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .navbar__container {
    padding: 1rem 2rem;
  }

  .navbar__toggle {
    display: none;
  }

  .navbar__nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    flex: 1;
  }

  .navbar__list,
  .navbar__actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero {
  width: 100%;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero--home {
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.22), transparent 30%),
    radial-gradient(circle at 82% 88%, rgba(251, 146, 60, 0.18), transparent 34%),
    linear-gradient(135deg, #0f5ecd 0%, #12325d 60%, #0b1d3a 100%);
  text-align: center;
}

.hero--news {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(135deg, #155e75 0%, #1e293b 100%);
  text-align: center;
}

.hero--station {
  position: relative;
  min-height: 58vh;
  padding: 0;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero--station::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.2) 50%, rgba(15, 23, 42, 0.1) 100%);
  z-index: 2;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__title {
  margin-bottom: 0.65rem;
}

.hero__title--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.hero__subtitle {
  font-size: 1.08rem;
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.hero__inline-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.hero__pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero__btn-back,
.hero__btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 700;
}

.hero__btn-back {
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  color: #10243b;
  padding: 0.55rem 0.9rem;
}

.hero__btn-action {
  background: #fff;
  color: #10243b;
  padding: 0.75rem 1.2rem;
}

.hero__btn-action--danger {
  background: #fee2e2;
  color: #991b1b;
}

.hero__info-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero__info-text {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
}

.hero__info-text--success {
  color: #4ade80;
  font-weight: 600;
}

@media (min-width: 768px) {
  .hero__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .hero__btn-back {
    left: 2rem;
  }
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.station-card,
.news-card,
.panel,
.conditions,
.info-widget,
.legal-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(203, 213, 225, 0.65);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.station-card,
.news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.station-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
}

.news-card--static:hover {
  transform: none;
}

.station-card__figure,
.news-card__figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #dbe6f0;
  overflow: hidden;
}

.station-card__image,
.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.station-card__badge,
.news-card__tag {
  position: absolute;
  left: 0.75rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.station-card__badge {
  top: 0.75rem;
  background: #0f5ecd;
  padding: 0.3rem 0.7rem;
}

.station-card__favorite-form {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.station-card__favorite {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.station-card__content,
.news-card__content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.station-card__name {
  margin-bottom: 0.25rem;
}

.station-card__location,
.news-card__date {
  color: #597086;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.station-card__location {
  margin-bottom: 1rem;
}

.station-card__data {
  margin-top: auto;
  border-top: 1px solid #e5edf5;
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.station-card__data-item {
  font-size: 0.92rem;
  font-weight: 600;
}

.station-card__footer {
  padding: 0 1.2rem 1.2rem;
}

.station-card__hint {
  padding: 0 1.2rem 1.2rem;
  text-align: center;
  color: #597086;
  font-size: 0.88rem;
}

.action-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.action-btn--neutral {
  background: #f1f5f9;
  color: #10243b;
  border: 1px solid #d6e1eb;
}

.action-btn--danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.news-card__tag {
  bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
}

.news-card__tag--nevada {
  background: #0f5ecd;
}

.news-card__tag--consejos {
  background: #15803d;
}

.news-card__tag--general {
  background: #475569;
}

.news-card__tag--evento {
  background: #b45309;
}

.news-card__title {
  margin: 0.65rem 0 0.5rem;
}

.news-card__excerpt {
  color: #4b6075;
}

.news-card__more {
  margin-top: 1rem;
  color: #0f5ecd;
  font-size: 0.88rem;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: -1.5rem auto 3rem;
  max-width: 1000px;
  position: relative;
  z-index: 10;
  padding: 0 1rem;
}

.stats__item {
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.stats__item--near {
  background: #dcfce7;
  color: #166534;
}

.stats__item--avg {
  background: #dbeafe;
  color: #1d4ed8;
}

.stats__item--far {
  background: #ede9fe;
  color: #6d28d9;
}

.stats__title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.stats__value {
  font-size: 1.5rem;
  font-weight: 800;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.filters {
  padding: 1.5rem 0;
}

.filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filters__controls,
.button-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.button-row--center {
  justify-content: center;
}

.filters__view-btn,
.filters__btn,
.admin-pill,
.admin-action {
  border-radius: 999px;
  cursor: pointer;
}

.filters__view-btn {
  background: transparent;
  border: 1px solid #cad7e2;
  color: #597086;
  padding: 0.5rem 0.8rem;
  min-height: 42px;
}

.filters__view-btn--active,
.filters__btn--active {
  background: #fff;
  color: #10243b;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.filters__list {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.filters__list::-webkit-scrollbar {
  display: none;
}

.filters__btn {
  min-height: 42px;
  padding: 0.55rem 1rem;
  background: transparent;
  color: #597086;
  font-weight: 600;
  white-space: nowrap;
}

.panel {
  padding: 1.75rem;
}

.panel--form {
  max-width: 540px;
  margin: 0 auto;
}

.panel--centered {
  text-align: center;
}

.panel--empty {
  max-width: 560px;
  margin: 2rem auto 0;
  text-align: center;
}

.empty-state__icon {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert--success {
  background: #dcfce7;
  color: #166534;
}

.alert--error {
  background: #fee2e2;
  color: #991b1b;
}

.alert--warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-weight: 700;
}

.form-input {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
}

.form-input:focus {
  border-color: #0ea5e9;
}

.form-help,
.form-footnote {
  color: #597086;
}

.form-submit {
  width: 100%;
}

.form-footnote {
  margin-top: 1.25rem;
  text-align: center;
}

.station-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.station-layout__main,
.station-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.conditions,
.info-widget,
.legal-card {
  padding: 1.6rem;
}

.conditions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.conditions__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.conditions__label,
.info-widget__label {
  font-size: 0.9rem;
  color: #597086;
  font-weight: 600;
}

.conditions__value {
  font-size: 1.45rem;
  font-weight: 800;
}

.conditions__separator {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5edf5;
  text-align: center;
  color: #597086;
}

.text-success {
  color: #15803d;
}

.info-widget--highlight {
  text-align: center;
}

.info-widget__title {
  margin-bottom: 1rem;
}

.info-widget__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #15803d;
}

.info-widget__note {
  color: #597086;
}

.info-widget__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-widget__list-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eef4f9;
}

.map-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  border: 1px solid #dbe6f0;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  margin-bottom: 3rem;
}

.map-card__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid #e5edf5;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.map-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.map-card__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: #64748b;
}

.map-card__canvas {
  width: 100%;
  min-height: 540px;
}

/* ───── Layout interior: sidebar + canvas ───── */

.map-card__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 600px;
}

.map-card__layout > .map-card__canvas {
  min-height: 600px;
}

@media (max-width: 900px) {
  .map-card__layout {
    grid-template-columns: 1fr;
  }
  .map-card__layout > .map-card__canvas {
    min-height: 420px;
  }
}

/* ───── Sidebar: search + chips + grupos ───── */

.map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-right: 1px solid #e5edf5;
  max-height: 720px;
  overflow: hidden;
}

.map-sidebar__search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  background: #ffffff;
  border: 1px solid #dbe6f0;
  border-radius: 999px;
  color: #64748b;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.04);
}

.map-sidebar__search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: #0f172a;
  font-size: 0.92rem;
  min-width: 0;
}

.map-sidebar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.macizo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #eef4f9;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border 0.15s ease;
}

.macizo-chip:hover {
  background: #e0eaf3;
}

.macizo-chip__count {
  font-size: 0.7rem;
  background: rgba(15, 23, 42, 0.08);
  color: #475569;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
}

.macizo-chip--active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.macizo-chip--active .macizo-chip__count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.macizo-chip--pirineo-cat.macizo-chip--active { background: #0ea5e9; border-color: #0ea5e9; }
.macizo-chip--pirineo-ara.macizo-chip--active { background: #6366f1; border-color: #6366f1; }
.macizo-chip--andorra.macizo-chip--active     { background: #d946ef; border-color: #d946ef; }
.macizo-chip--penibetico.macizo-chip--active  { background: #f97316; border-color: #f97316; }
.macizo-chip--central.macizo-chip--active     { background: #14b8a6; border-color: #14b8a6; }
.macizo-chip--cantabrica.macizo-chip--active  { background: #16a34a; border-color: #16a34a; }

.map-sidebar__groups {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.map-sidebar__groups::-webkit-scrollbar { width: 6px; }
.map-sidebar__groups::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.map-sidebar__empty {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.88rem;
}

.macizo-group {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5edf5;
  overflow: hidden;
}

.macizo-group__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, #f1f7fc 0%, #e8f1f9 100%);
  border-bottom: 1px solid #e5edf5;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e293b;
}

.macizo-group__count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #475569;
}

/* Color de banda izquierda según macizo */
.macizo-group--pirineo-cat { border-left: 3px solid #0ea5e9; }
.macizo-group--pirineo-ara { border-left: 3px solid #6366f1; }
.macizo-group--andorra     { border-left: 3px solid #d946ef; }
.macizo-group--penibetico  { border-left: 3px solid #f97316; }
.macizo-group--central     { border-left: 3px solid #14b8a6; }
.macizo-group--cantabrica  { border-left: 3px solid #16a34a; }

.macizo-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.macizo-item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease;
  border-top: 1px solid #f1f5f9;
}

.macizo-item:first-child { border-top: 0; }

.macizo-item:hover, .macizo-item:focus {
  background: #f7fbff;
  outline: none;
}

.macizo-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.macizo-item--excelente .macizo-item__dot { background: #22c55e; }
.macizo-item--buena     .macizo-item__dot { background: #facc15; }
.macizo-item--regular   .macizo-item__dot { background: #fb923c; }
.macizo-item--cerrado   .macizo-item__dot { background: #ef4444; }

.macizo-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.macizo-item__name {
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 600;
}

.macizo-item__meta {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.macizo-item__estado {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #1e293b;
}

.macizo-item--excelente .macizo-item__estado { background: rgba(34, 197, 94, 0.15);  color: #15803d; }
.macizo-item--buena     .macizo-item__estado { background: rgba(250, 204, 21, 0.18); color: #a16207; }
.macizo-item--regular   .macizo-item__estado { background: rgba(251, 146, 60, 0.18); color: #c2410c; }
.macizo-item--cerrado   .macizo-item__estado { background: rgba(239, 68, 68, 0.15);  color: #b91c1c; }

/* ───── Tarjeta de ubicación del usuario ───── */

.ubicacion-card {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
  max-width: 360px;
}

.ubicacion-card__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.ubicacion-card__body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.ubicacion-card__title {
  font-size: 0.95rem;
  font-weight: 700;
}

.ubicacion-card__address {
  font-size: 0.82rem;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.ubicacion-card__coords {
  font-size: 0.72rem;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
  margin-top: 0.2rem;
}

/* ───── Marcadores tipo "esquiador" ───── */

.station-marker {
  position: relative;
  width: 44px;
  height: 52px;
  display: block;
}

.station-marker__pin {
  position: absolute;
  inset: 0 0 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.35), 0 0 0 3px #ffffff;
  transition: transform 0.2s ease;
}

.station-marker:hover .station-marker__pin {
  transform: rotate(-45deg) scale(1.08);
}

.station-marker__pin svg {
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
  fill: #ffffff;
  stroke: #ffffff;
}

.station-marker__pulse {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
  opacity: 0.55;
  animation: marker-pulse 1.8s ease-out infinite;
}

@keyframes marker-pulse {
  0%   { transform: translateX(-50%) scale(0.6); opacity: 0.55; }
  80%  { transform: translateX(-50%) scale(2.6); opacity: 0; }
  100% { transform: translateX(-50%) scale(2.6); opacity: 0; }
}

.station-marker--excelente { color: #16a34a; }
.station-marker--excelente .station-marker__pin { background: linear-gradient(135deg, #22c55e, #16a34a); }

.station-marker--buena     { color: #ca8a04; }
.station-marker--buena     .station-marker__pin { background: linear-gradient(135deg, #facc15, #ca8a04); }

.station-marker--regular   { color: #ea580c; }
.station-marker--regular   .station-marker__pin { background: linear-gradient(135deg, #fb923c, #ea580c); }

.station-marker--cerrado   { color: #dc2626; }
.station-marker--cerrado   .station-marker__pin { background: linear-gradient(135deg, #f87171, #dc2626); }

/* ───── Marcador "Tu ubicación" ───── */

.user-marker {
  position: relative;
  width: 22px;
  height: 22px;
}

.user-marker__dot {
  position: absolute;
  inset: 4px;
  background: #0ea5e9;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.5);
}

.user-marker__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.4);
  animation: marker-pulse-blue 1.6s ease-out infinite;
}

@keyframes marker-pulse-blue {
  0%   { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ───── Popup de la estación ───── */

.leaflet-popup-station .leaflet-popup-content-wrapper {
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.32);
}

.leaflet-popup-station .leaflet-popup-content {
  margin: 0;
  width: 280px !important;
}

.popup-station {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
}

.popup-station__media {
  position: relative;
  height: 130px;
  overflow: hidden;
}

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

.popup-station__badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.popup-station__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.popup-station__dot--excelente { background: #22c55e; }
.popup-station__dot--buena     { background: #facc15; }
.popup-station__dot--regular   { background: #fb923c; }
.popup-station__dot--cerrado   { background: #ef4444; }

.popup-station__body {
  padding: 0.85rem 1rem 1rem;
}

.popup-station__title {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.popup-station__location {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  color: #64748b;
}

.popup-station__data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
  margin: 0 0 0.85rem;
}

.popup-station__data-item dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.popup-station__data-item dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}

.popup-station__cta {
  display: block;
  text-align: center;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
}

.popup-station__cta:hover {
  background: #0ea5e9;
}

/* ───── Leyenda flotante ───── */

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.35);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.map-legend__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.map-legend__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.map-legend__chip--excelente .map-legend__dot { background: #22c55e; }
.map-legend__chip--buena     .map-legend__dot { background: #facc15; }
.map-legend__chip--regular   .map-legend__dot { background: #fb923c; }
.map-legend__chip--cerrado   .map-legend__dot { background: #ef4444; }

.legal-card__section + .legal-card__section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5edf5;
}

.legal-card p + p {
  margin-top: 0.85rem;
}

.footer {
  margin-top: 3rem;
  background:
    linear-gradient(180deg, #11253a 0%, #0b1728 100%);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.footer__brand-title,
.footer__title {
  color: #fff;
}

.footer__brand-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.footer__title {
  margin-bottom: 0.8rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link:hover {
  color: #fff;
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  text-align: center;
  font-size: 0.88rem;
}

.admin-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-table th {
  text-align: left;
  background: #f1f5f9;
  padding: 0.9rem 1rem;
}

.admin-table td {
  padding: 0.8rem 1rem;
  border-top: 1px solid #e5edf5;
  vertical-align: top;
}

.admin-table td:last-child,
.admin-table th:last-child {
  text-align: right;
}

.admin-table__actions {
  white-space: nowrap;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-pill--info {
  background: #dbeafe;
  color: #1d4ed8;
}

.admin-pill--muted {
  background: #f1f5f9;
  color: #475569;
}

.admin-action,
.admin-template-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  margin-left: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 10px;
}

.admin-action--view,
.admin-template-btn--edit {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.admin-action--warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.admin-action--role {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #c4b5fd;
}

.admin-action--danger,
.admin-template-btn--delete {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.admin-help {
  background: #f8fbfe;
  border: 1px solid #e2e8f0;
}

.admin-help ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: #475569;
}

.admin-help li + li {
  margin-top: 0.4rem;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.6rem 1rem;
}

.admin-detail-grid dt {
  color: #597086;
  font-weight: 600;
}

.admin-favorites {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.admin-favorite-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.admin-favorite-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.admin-favorite-card__body {
  padding: 0.85rem 1rem;
}

.admin-muted {
  color: #597086;
}

.notificacion {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: 360px;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: #10243b;
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.notificacion.visible {
  opacity: 1;
}

.form-oculto {
  display: none;
}

.form-oculto.activo {
  display: block;
}

.oculto {
  display: none !important;
}

@media (min-width: 768px) {
  .conditions__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .conditions__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .station-layout {
    grid-template-columns: 2fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ============================================================
   E-commerce: cesta de la compra y forfaits
   ============================================================ */

/* --- Botón de cesta en el header (icono + badge + dropdown) --- */
.cart-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eef4fb;
  color: #10243b;
  border: 1px solid #d3dde8;
  cursor: pointer;
}

.cart-button:hover {
  background: #e2ecf6;
}

.cart-button--has-items {
  color: #0f5ecd;
}

.cart-button--active {
  background: #10243b;
  color: #fff;
}

.cart-button__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0f5ecd;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff;
}

.cart-dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  width: min(320px, 90vw);
  background: #fff;
  border: 1px solid #dbe6f0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  padding: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;

  /* Por defecto oculto; se muestra al pasar el ratón sobre el botón
     o cuando hay foco dentro (accesibilidad: teclado). */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

/* Puente invisible entre botón y dropdown para que el ratón pueda
   atravesar el hueco sin que se cierre. */
.cart-dropdown::before {
  content: "";
  position: absolute;
  top: -0.4rem;
  left: 0;
  right: 0;
  height: 0.4rem;
}

.cart-wrapper:hover .cart-dropdown,
.cart-wrapper:focus-within .cart-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Mientras el HTML aún tenga el atributo `hidden` (antes de que el JS lo
   quite), no debe ocupar espacio ni recibir eventos. */
.cart-dropdown[hidden] {
  display: none;
}

.cart-dropdown__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #10243b;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e5edf5;
}

.cart-dropdown__items {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cart-dropdown__item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
}

.cart-dropdown__item-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #10243b;
}

.cart-dropdown__item-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #4b6075;
}

.cart-dropdown__empty {
  text-align: center;
  color: #597086;
  padding: 0.5rem 0;
  margin: 0;
}

.cart-dropdown__footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5edf5;
}

.cart-dropdown__subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #10243b;
}

.cart-dropdown__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
}

.cart-dropdown__btn--ghost {
  background: #eff4f9;
  color: #10243b;
  border: 1px solid #d3dde8;
}

.cart-dropdown__btn--ghost:hover {
  background: #e2ecf6;
}

.cart-dropdown__btn--primary {
  background: #10243b;
  color: #fff;
}

.cart-dropdown__btn--primary:hover {
  background: #0b1728;
}

@media (max-width: 899px) {
  .cart-dropdown {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* --- Tarjeta de compra dentro de la página de estación --- */
.forfait-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(203, 213, 225, 0.65);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.forfait-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-bottom: 1px solid #e5edf5;
  padding-bottom: 0.8rem;
}

.forfait-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #10243b;
}

.forfait-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0;
}

.forfait-card__price strong {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f5ecd;
}

.forfait-card__price span {
  color: #597086;
  font-weight: 600;
}

.forfait-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.forfait-card__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.forfait-card__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #516377;
}

.forfait-card__input,
.forfait-card__select {
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  color: #10243b;
}

.forfait-card__input:focus,
.forfait-card__select:focus {
  border-color: #0ea5e9;
  outline: none;
}

.forfait-card__summary {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #4b6075;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
}

.forfait-card__summary strong {
  color: #10243b;
}

.forfait-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  background: #16a34a;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.forfait-card__cta:hover:not([disabled]) {
  background: #15803d;
  transform: translateY(-1px);
}

.forfait-card__cta[disabled] {
  background: #94a3b8;
  cursor: not-allowed;
}

.forfait-card__feedback {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.forfait-card__feedback--success {
  color: #15803d;
}

.forfait-card__feedback--error {
  color: #991b1b;
}

/* --- Listado /forfaits (tarjetas de estación con precios) --- */
.forfait-grid {
  margin-top: 2rem;
}

.forfait-station-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(203, 213, 225, 0.65);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.forfait-station-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
}

.forfait-station-card__figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #dbe6f0;
  overflow: hidden;
}

.forfait-station-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forfait-station-card__price-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #16a34a;
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}

.forfait-station-card__body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.forfait-station-card__name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #10243b;
}

.forfait-station-card__location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #597086;
  font-size: 0.92rem;
  margin: 0;
}

.forfait-station-card__price-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin: 0;
}

.forfait-station-card__price-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: #4b6075;
}

.forfait-station-card__price-list strong {
  color: #10243b;
}

.forfait-station-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: #10243b;
  color: #fff;
  font-weight: 700;
}

.forfait-station-card__cta:hover {
  background: #0b1728;
  color: #fff;
}

/* --- Página /cesta --- */
.cart-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0 3rem;
}

.cart-page__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #dbe6f0;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.cart-line__media {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: #e5edf5;
}

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

.cart-line__media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.cart-line__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-line__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #10243b;
}

.cart-line__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.88rem;
  color: #597086;
  margin: 0;
}

.cart-line__meta div {
  display: flex;
  flex-direction: column;
}

.cart-line__meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #94a3b8;
}

.cart-line__meta dd {
  margin: 0;
  font-weight: 600;
  color: #10243b;
}

.cart-line__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.cart-line__qty {
  width: 76px;
  min-height: 38px;
  padding: 0.4rem 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-weight: 600;
}

.cart-line__remove {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-line__remove:hover {
  background: #fee2e2;
}

.cart-line__total {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid #e5edf5;
  font-weight: 700;
}

.cart-line__total strong {
  font-size: 1.15rem;
  color: #0f5ecd;
}

.cart-page__summary {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-page__summary-title {
  margin: 0;
}

.cart-page__summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-page__summary-row {
  display: flex;
  justify-content: space-between;
  color: #4b6075;
}

.cart-page__summary-row dt,
.cart-page__summary-row dd {
  margin: 0;
}

.cart-page__summary-row--total {
  padding-top: 0.65rem;
  border-top: 1px solid #e5edf5;
  font-weight: 800;
  color: #10243b;
  font-size: 1.1rem;
}

.cart-page__checkout {
  width: 100%;
}

.cart-page__clear {
  background: transparent;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-page__clear:hover {
  background: #fef2f2;
}

.cart-page__note {
  font-size: 0.85rem;
  color: #597086;
  margin: 0;
}

@media (min-width: 900px) {
  .cart-page__layout {
    grid-template-columns: 2fr 1fr;
  }

  .cart-line {
    grid-template-columns: 120px 1fr 160px;
  }

  .cart-line__total {
    grid-column: 3;
    border-top: 0;
    padding-top: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
  }
}


/* ─── Estado de pistas en directo (página /pistas y widget home) ──── */

.pistas-state {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  color: #4b6075;
}

.pistas-state p {
  margin: 0;
  text-align: center;
}

.pistas-state__aviso {
  margin-top: 0.5rem !important;
  font-size: 0.9rem;
  color: #597086;
}

.pistas-state--cargando {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
}

.pistas-state--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.pistas-state--vacio {
  background: #f8fafc;
  color: #4b6075;
}

.pistas-cities {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pistas-cities__label {
  margin: 0;
  font-weight: 600;
  color: #10243b;
}

.pistas-cities__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pistas-cities__chip {
  padding: 0.45rem 0.95rem;
  background: #eef4fb;
  border-radius: 999px;
  font-weight: 600;
  color: #0f5ecd;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pistas-cities__chip:hover {
  background: #dbeafe;
}

.pistas-cities__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
}

.pistas-cities__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 200px;
}

.pistas-cities__field span {
  font-size: 0.85rem;
  color: #597086;
}

.pistas-cities__field input {
  padding: 0.55rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
}

.pistas-cities__field input:focus-visible {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

/* Tarjetas de pista en /pistas */

.pista-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
}

.pista-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.pista-card__name {
  margin: 0;
  font-size: 1.15rem;
  color: #10243b;
}

.pista-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
}

.pista-card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.pista-card__status--abierta {
  background: #dcfce7;
  color: #166534;
}

.pista-card__status--parcial {
  background: #fef9c3;
  color: #854d0e;
}

.pista-card__status--cerrada {
  background: #fee2e2;
  color: #991b1b;
}

.pista-card__distance {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.9rem;
}

.pista-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  margin: 0;
}

.pista-card__metric {
  display: flex;
  flex-direction: column;
}

.pista-card__metric dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #597086;
  font-weight: 600;
}

.pista-card__metric dd {
  margin: 0;
  font-weight: 700;
  color: #10243b;
}

.pista-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5edf5;
  font-size: 0.85rem;
}

.pista-card__quality {
  color: #4b6075;
}

/* Widget de home: 3 pistas en directo */

.pistas-home {
  margin-top: 2rem;
}

.pistas-home__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pistas-home__aviso {
  margin: 0;
  color: #597086;
  font-size: 0.9rem;
}

.pistas-home__list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .pistas-home__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pistas-home__card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pistas-home__name {
  margin: 0;
  font-size: 1.05rem;
  color: #10243b;
}

.pistas-home__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  align-self: flex-start;
}

.pistas-home__data {
  margin: 0;
  font-size: 0.88rem;
  color: #4b6075;
}

.pistas-home__link {
  align-self: flex-end;
  font-size: 0.9rem;
}

/* ============================================================
   Home hero — CTAs y eyebrow
   ============================================================ */

.hero__home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0.5rem 0 0.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  transform: translateY(-2px);
}

.cta-btn--primary {
  background: #fb923c;
  color: #0b1d3a;
  box-shadow: 0 14px 30px rgba(251, 146, 60, 0.35);
}

.cta-btn--primary:hover,
.cta-btn--primary:focus-visible {
  background: #f97316;
  color: #0b1d3a;
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.4);
}

.cta-btn--secondary {
  background: rgba(255, 255, 255, 0.96);
  color: #0b1d3a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.cta-btn--secondary:hover,
.cta-btn--secondary:focus-visible {
  background: #ffffff;
  color: #0b1d3a;
}

.cta-btn--ghost {
  background: transparent;
  color: #0b1d3a;
  border: 1.5px solid currentColor;
}

.cta-btn--ghost:hover,
.cta-btn--ghost:focus-visible {
  background: rgba(11, 29, 58, 0.05);
}

/* ============================================================
   Skeleton loaders
   ============================================================ */

@keyframes skeleton-shimmer {
  0%   { background-position: -480px 0; }
  100% { background-position: 480px 0; }
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(226, 232, 240, 0.6) 0%,
    rgba(241, 245, 249, 0.95) 50%,
    rgba(226, 232, 240, 0.6) 100%
  );
  background-size: 480px 100%;
  animation: skeleton-shimmer 1.4s linear infinite;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.skeleton--pista {
  height: 168px;
}

.skeleton--card {
  height: 280px;
}

.skeleton--row {
  height: 18px;
  margin-bottom: 0.6rem;
  border-radius: 999px;
}

.skeleton--row.skeleton--row-short { width: 50%; }
.skeleton--row.skeleton--row-mid   { width: 75%; }

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

/* ============================================================
   404 / página vacía con marca
   ============================================================ */

.error-page {
  width: 100%;
  min-height: 70vh;
  padding: 4rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.22), transparent 35%),
    radial-gradient(circle at 80% 90%, rgba(30, 58, 138, 0.25), transparent 35%),
    linear-gradient(160deg, #0b1d3a 0%, #1e3a8a 60%, #0ea5e9 130%);
  color: #ffffff;
}

.error-page__inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.error-page__code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 12px 40px rgba(15, 23, 42, 0.45);
  margin: 0;
}

.error-page__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin: 0;
}

.error-page__description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.error-page__icon {
  width: 84px;
  height: 84px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}


/* ============================================================
   Estado de carga con spinner mejorado (pistas)
   ============================================================ */

.pistas-state__msg {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: #4b6075;
}

@keyframes sb-spinner {
  to { transform: rotate(360deg); }
}

.pistas-state__spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(14, 165, 233, 0.18);
  border-top-color: #0ea5e9;
  animation: sb-spinner 0.85s linear infinite;
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .pistas-state__spinner {
    animation: none;
  }
}


/* ============================================================
   SnowBreak v2 — Redesign overrides (orden: van al final, ganan)
   ============================================================ */

/* Body / page background usa tokens */
body {
  background: var(--gradient-page);
  color: var(--color-text);
}

/* Focus visible más sutil pero claro */
:focus-visible {
  outline: 2px solid var(--color-blue-400);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
  border-radius: var(--radius-sm);
}

/* ============================================================
   HERO — versión premium
   ============================================================ */

.hero--home {
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1rem 5.5rem;
}

/* Decorative mountains svg detrás del contenido */
.hero--home::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 180px;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'><path d='M0 200 L120 90 L220 130 L340 60 L460 130 L580 70 L760 150 L900 90 L1040 130 L1200 80 L1320 130 L1440 90 L1440 200 Z' fill='rgba(255,255,255,0.10)'/><path d='M0 200 L160 110 L260 150 L380 90 L520 150 L640 110 L820 170 L960 130 L1080 160 L1200 110 L1440 150 L1440 200 Z' fill='rgba(255,255,255,0.18)'/></svg>");
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero--home > * { position: relative; z-index: 1; }

.hero__home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
  animation: hero-pulse 2.4s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(1.4); }
}

.hero__title {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin: 0.25rem auto 1rem;
}

/* Hero metric cards — flotando bajo el subtitle */
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 720px;
  margin: 0.6rem auto 0;
}

.hero__metric {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
}

.hero__metric:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.hero__metric-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero__metric-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.hero__metric-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
  .hero__metrics {
    grid-template-columns: 1fr;
  }
}

/* CTA group */
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0.4rem 0 0.4rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background-color var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}

.cta-btn:active { transform: translateY(0) scale(0.98); }

.cta-btn--primary {
  background: var(--color-accent-500);
  color: var(--color-navy-900);
  box-shadow: var(--shadow-cta);
}

.cta-btn--primary:hover,
.cta-btn--primary:focus-visible {
  background: var(--color-accent-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.45);
}

.cta-btn--secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-navy-900);
  box-shadow: var(--shadow-md);
}

.cta-btn--secondary:hover,
.cta-btn--secondary:focus-visible {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-btn--ghost {
  background: transparent;
  color: var(--color-navy-900);
  border: 1.5px solid currentColor;
}

.cta-btn--ghost:hover,
.cta-btn--ghost:focus-visible {
  background: rgba(11, 29, 58, 0.05);
  transform: translateY(-1px);
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.hero__pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

/* ============================================================
   STATS GRID en la home (3 tarjetas resumen)
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: var(--container-max);
  margin: -2.5rem auto 2.5rem;
  padding: 0 1rem;
  position: relative;
  z-index: 5;
}

.stats__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}

.stats__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.stats__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
  margin-bottom: 0.35rem;
}

.stats__value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy-900);
}

.stats__value a { color: inherit; }
.stats__value a:hover { color: var(--color-blue-500); }

/* ============================================================
   STATION CARDS v2 — más visuales con métricas
   ============================================================ */

.station-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}

.station-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(56, 189, 248, 0.4);
}

.station-card__figure {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-ice-100), var(--color-surface-soft));
}

.station-card__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 29, 58, 0.45) 0%, rgba(11, 29, 58, 0) 50%);
  pointer-events: none;
  z-index: 1;
}

.station-card__badge {
  background: rgba(11, 29, 58, 0.85);
  color: #fff;
  padding: 0.32rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  z-index: 2;
}

.station-card__favorite {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
  z-index: 2;
}

.station-card__favorite:hover {
  transform: scale(1.08);
  background: #ffffff;
}

.station-card__content {
  padding: 1.1rem 1.2rem 0.9rem;
}

.station-card__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 0.2rem;
}

.station-card__location {
  color: var(--color-text-soft);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}

/* Antiguo "data" reemplazado por grid de métricas */
.station-card__data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 0.75rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.85rem;
  margin-top: 0;
}

.station-card__data-item {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  gap: 0.05rem;
}

.station-card__data-item dd {
  font-size: 0.96rem;
  color: var(--color-navy-900);
  font-weight: 700;
}

/* Métricas tipo "Distancia · Nieve · Pistas · Desde 42€" */
.station-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 0.75rem;
  margin-top: 0.5rem;
}

.station-metric {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.station-metric__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--color-ice-50);
  color: var(--color-blue-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.station-metric__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  line-height: 1;
}

.station-metric__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy-900);
  line-height: 1.2;
}

.station-metric__body {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

/* Status badge dentro de cards */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.status-badge--abierta {
  background: var(--color-success-50);
  color: var(--color-success-700);
  border-color: rgba(16, 185, 129, 0.25);
}

.status-badge--parcial {
  background: var(--color-warning-50);
  color: var(--color-warning-700);
  border-color: rgba(245, 158, 11, 0.25);
}

.status-badge--cerrada {
  background: var(--color-danger-50);
  color: var(--color-danger-700);
  border-color: rgba(239, 68, 68, 0.25);
}

.status-badge--desconocido,
.status-badge--sin-datos {
  background: var(--color-surface-soft);
  color: var(--color-text-soft);
  border-color: var(--color-border);
}

/* Footer de la card con precio + CTA */
.station-card__footer-bar {
  margin-top: auto;
  padding: 0.9rem 1.2rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

.station-card__price {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1;
}

.station-card__price-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.station-card__price-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy-900);
}

.station-card__price-value small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.station-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-navy-900);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
}

.station-card__cta:hover {
  transform: translateY(-1px);
  background: var(--color-navy-700);
  color: #fff;
}

/* ============================================================
   PISTA CARDS v2 (página /pistas)
   ============================================================ */

.pista-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.2rem;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}

.pista-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 189, 248, 0.4);
}

.pista-card__status {
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.7rem;
  border: 1px solid transparent;
}

.pista-card__status--abierta {
  background: var(--color-success-50);
  color: var(--color-success-700);
  border-color: rgba(16, 185, 129, 0.25);
}
.pista-card__status--parcial {
  background: var(--color-warning-50);
  color: var(--color-warning-700);
  border-color: rgba(245, 158, 11, 0.25);
}
.pista-card__status--cerrada {
  background: var(--color-danger-50);
  color: var(--color-danger-700);
  border-color: rgba(239, 68, 68, 0.25);
}
.pista-card__status--desconocido {
  background: var(--color-surface-soft);
  color: var(--color-text-soft);
  border-color: var(--color-border);
}

.pista-card__metrics {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 0.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.8rem;
}

.pista-card__metric dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.pista-card__metric dd {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy-900);
}

/* ============================================================
   FILTERS / BUTTONS
   ============================================================ */

.filters__btn,
.filters__view-btn {
  transition: background-color var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}

.filters__btn:hover,
.filters__view-btn:hover {
  transform: translateY(-1px);
}

/* ============================================================
   FORMS — focus rings consistentes
   ============================================================ */

.form-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}

.form-input:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-blue-400);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}

/* ============================================================
   NAVBAR — hover y elevación
   ============================================================ */

.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar__link {
  transition: background-color var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}

.navbar__link:hover { transform: translateY(-1px); }

/* ============================================================
   MOBILE — refinamientos
   ============================================================ */

@media (max-width: 640px) {
  .hero {
    padding: 3.25rem 1rem 4rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.2rem;
  }

  .stats-grid {
    margin-top: -2rem;
  }

  .grid-cards {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .station-card__footer-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .station-card__cta { justify-content: center; }

  .station-metrics,
  .station-card__data,
  .pista-card__metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar__container {
    padding: 0.65rem 1rem;
  }

  .navbar__nav {
    left: 0.5rem;
    right: 0.5rem;
  }

  .filters__list {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }

  .filters__btn {
    flex: 0 0 auto;
  }

  .container { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 480px) {
  .station-metrics {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ANIMATIONS — reveal cards al cargar
   ============================================================ */

@keyframes sb-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.grid-cards > li {
  animation: sb-rise 0.45s var(--ease-out) both;
}

.grid-cards > li:nth-child(2) { animation-delay: 0.04s; }
.grid-cards > li:nth-child(3) { animation-delay: 0.08s; }
.grid-cards > li:nth-child(4) { animation-delay: 0.12s; }
.grid-cards > li:nth-child(5) { animation-delay: 0.16s; }
.grid-cards > li:nth-child(6) { animation-delay: 0.20s; }
.grid-cards > li:nth-child(n+7) { animation-delay: 0.24s; }

/* ============================================================
   FORFAIT CARDS — refinar
   ============================================================ */

.forfait-station-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}

.forfait-station-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.forfait-station-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}

/* ============================================================
   FOOTER — refresh sutil
   ============================================================ */

.footer {
  background: var(--color-navy-950);
}


/* ============================================================
   Station card head (titulo + badge)
   ============================================================ */

.station-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
}

.station-card__head .station-card__name {
  margin: 0;
}

/* Reset dl/dt/dd defaults inside station-metric (resetting browser margin) */
.station-metrics dt,
.station-metrics dd,
.station-metric dt,
.station-metric dd {
  margin: 0;
}

/* La station-card ahora tiene head + footer-bar; reseteo el footer viejo */
.station-card__footer {
  padding: 0.6rem 1.2rem 1rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}


/* ============================================================
   Mobile refinements adicionales
   ============================================================ */

/* Tabla cesta con scroll horizontal en móvil */
@media (max-width: 640px) {
  .cart-page__layout {
    grid-template-columns: 1fr;
  }

  .cart-page__summary {
    position: static;
  }

  /* Cualquier table dentro de container scroll horizontal limpio */
  .container > table,
  .panel > table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .filters__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .filters__controls {
    width: 100%;
    overflow-x: auto;
  }

  /* Inputs y forms más cómodos al tap */
  .form-input,
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px;  /* evita zoom-in en iOS */
  }
}

/* Botones del navbar en móvil */
@media (max-width: 899px) {
  .navbar__nav.is-open {
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .navbar__btn,
  .navbar__link {
    width: 100%;
    justify-content: flex-start;
  }
}


/* ============================================================
   Microinteractions extra: filtros activos, news cards, panels
   ============================================================ */

.filters__btn {
  position: relative;
}

.filters__btn--active {
  background: var(--color-navy-900);
  color: #fff;
  border-color: var(--color-navy-900);
}

.filters__view-btn--active {
  background: var(--color-navy-900);
  color: #fff;
}

/* News cards alineadas al sistema */
.news-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}

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

/* Panels y info widgets */
.panel,
.info-widget,
.legal-card,
.conditions {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

/* Smooth color transition global en links */
a {
  transition: color var(--t-fast) var(--ease-out);
}

/* Estados activos / pressed */
button:active,
.cta-btn:active,
.station-card__cta:active,
.filters__btn:active,
.filters__view-btn:active {
  transform: translateY(0) scale(0.98);
}


/* ============================================================
   Station cover (fallback visual cuando no hay imagen real)
   ============================================================ */

.station-card__media,
.forfait-station-card__figure {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.station-card__media .station-card__image,
.forfait-station-card__figure .forfait-station-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-base) var(--ease-out);
}

.station-card:hover .station-card__image {
  transform: scale(1.04);
}

/* Cover layer detrás del img — siempre presente, así si la imagen falla
   o tarda en cargar el usuario no ve un fondo gris feo */
.station-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1rem;
  z-index: 0;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(135deg, var(--color-blue-400), var(--color-navy-700) 70%, var(--color-navy-900));
  overflow: hidden;
}

/* Decorative mountain silhouette dentro del cover */
.station-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background:
    linear-gradient(to top, rgba(11,29,58,0.55), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'><path d='M0 60 L20 22 L34 36 L52 14 L72 38 L92 18 L120 42 L150 20 L180 38 L200 24 L200 60 Z' fill='rgba(255,255,255,0.12)'/></svg>") bottom/100% 100% no-repeat;
  pointer-events: none;
}

.station-cover__icon {
  color: rgba(255, 255, 255, 0.88);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.3));
}

.station-cover__label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  max-width: 90%;
  line-height: 1.2;
  z-index: 1;
}

/* Variaciones de hue por estación — así dos covers seguidos no se ven iguales.
   Lo aplicamos a algunas estaciones concretas para variar el tono base. */
.station-cover[data-station="La Molina"],
.station-cover[data-station="Masella"],
.station-cover[data-station="Vallter 2000"],
.station-cover[data-station="Astún"],
.station-cover[data-station="Panticosa"],
.station-cover[data-station="Pal Arinsal"],
.station-cover[data-station="Sierra Nevada"],
.station-cover[data-station="San Isidro"],
.station-cover[data-station="Leitariegos"] {
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(135deg, #38bdf8, #0c4a6e 70%, #082f49);
}

.station-cover[data-station="Vall de Núria"],
.station-cover[data-station="Espot Esquí"],
.station-cover[data-station="Tavascan"],
.station-cover[data-station="Candanchú"],
.station-cover[data-station="Cerler"],
.station-cover[data-station="Ordino Arcalís"],
.station-cover[data-station="Valdesquí"],
.station-cover[data-station="Alto Campoo"] {
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(135deg, #a5b4fc, #4338ca 70%, #1e1b4b);
}

.station-cover[data-station="Port Ainé"],
.station-cover[data-station="Boí Taüll"],
.station-cover[data-station="Formigal"],
.station-cover[data-station="Naturlandia"],
.station-cover[data-station="Puerto de Navacerrada"],
.station-cover[data-station="Valgrande-Pajares"] {
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(135deg, #c4b5fd, #6d28d9 70%, #2e1065);
}

.station-cover[data-station="Port del Comte"],
.station-cover[data-station="Grandvalira"],
.station-cover[data-station="La Pinilla"] {
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(135deg, #67e8f9, #0e7490 70%, #083344);
}

/* Cuando la imagen se rompe se añade esta clase y reforzamos el cover */
.station-card__media--broken .station-cover {
  z-index: 1;
}

/* Hero de detalle — fallback de fondo */
.hero__bg-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.45), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(30,58,138,0.55), transparent 50%),
    linear-gradient(160deg, #0b1d3a 0%, #1e3a8a 60%, #0ea5e9 130%);
}

.hero__bg-img {
  z-index: 1;
}


/* ============================================================
   Station cover — variantes por estación (paleta única)
   Cada estación recibe un degradado específico. Si añades nuevas
   estaciones, asígnales una paleta libre o repite la última: la
   prioridad es que dos estaciones contiguas en el grid no compartan
   exactamente el mismo gradiente.
   ============================================================ */

/* Pirineo Catalán */
.station-cover[data-station="Baqueira Beret"]   { background: linear-gradient(135deg,#0ea5e9,#1e3a8a 60%,#082f49); }
.station-cover[data-station="La Molina"]        { background: linear-gradient(135deg,#67e8f9,#0e7490 60%,#0c4a6e); }
.station-cover[data-station="Masella"]          { background: linear-gradient(135deg,#a5f3fc,#155e75 60%,#0c4a6e); }
.station-cover[data-station="Vall de Núria"]    { background: linear-gradient(135deg,#bae6fd,#0369a1 60%,#082f49); }
.station-cover[data-station="Vallter 2000"]     { background: linear-gradient(135deg,#7dd3fc,#1d4ed8 60%,#1e1b4b); }
.station-cover[data-station="Espot Esquí"]      { background: linear-gradient(135deg,#a5b4fc,#4338ca 60%,#1e1b4b); }
.station-cover[data-station="Port Ainé"]        { background: linear-gradient(135deg,#c7d2fe,#3730a3 60%,#1e1b4b); }
.station-cover[data-station="Boí Taüll"]        { background: linear-gradient(135deg,#c4b5fd,#6d28d9 60%,#2e1065); }
.station-cover[data-station="Tavascan"]         { background: linear-gradient(135deg,#ddd6fe,#5b21b6 60%,#2e1065); }
.station-cover[data-station="Port del Comte"]   { background: linear-gradient(135deg,#a78bfa,#4c1d95 60%,#1e1b4b); }

/* Pirineo Aragonés */
.station-cover[data-station="Candanchú"]        { background: linear-gradient(135deg,#38bdf8,#075985 60%,#082f49); }
.station-cover[data-station="Astún"]            { background: linear-gradient(135deg,#22d3ee,#0e7490 60%,#083344); }
.station-cover[data-station="Formigal"]         { background: linear-gradient(135deg,#0ea5e9,#1e40af 60%,#0b1d3a); }
.station-cover[data-station="Panticosa"]        { background: linear-gradient(135deg,#7dd3fc,#1e3a8a 60%,#0b1d3a); }
.station-cover[data-station="Cerler"]           { background: linear-gradient(135deg,#bae6fd,#1d4ed8 60%,#1e1b4b); }

/* Andorra */
.station-cover[data-station="Grandvalira"]      { background: linear-gradient(135deg,#5eead4,#0f766e 60%,#134e4a); }
.station-cover[data-station="Pal Arinsal"]      { background: linear-gradient(135deg,#6ee7b7,#047857 60%,#064e3b); }
.station-cover[data-station="Ordino Arcalís"]   { background: linear-gradient(135deg,#86efac,#15803d 60%,#14532d); }
.station-cover[data-station="Naturlandia"]      { background: linear-gradient(135deg,#bbf7d0,#16a34a 60%,#14532d); }

/* Sistema Central / Penibético */
.station-cover[data-station="Sierra Nevada"]    { background: linear-gradient(135deg,#fef3c7,#b45309 60%,#451a03); color:#fff; }
.station-cover[data-station="Valdesquí"]        { background: linear-gradient(135deg,#fed7aa,#c2410c 60%,#7c2d12); color:#fff; }
.station-cover[data-station="Puerto de Navacerrada"] { background: linear-gradient(135deg,#fdba74,#9a3412 60%,#7c2d12); color:#fff; }
.station-cover[data-station="La Pinilla"]       { background: linear-gradient(135deg,#fcd34d,#b45309 60%,#451a03); color:#fff; }

/* Cordillera Cantábrica */
.station-cover[data-station="Alto Campoo"]      { background: linear-gradient(135deg,#fda4af,#9f1239 60%,#4c0519); color:#fff; }
.station-cover[data-station="San Isidro"]       { background: linear-gradient(135deg,#fecaca,#b91c1c 60%,#450a0a); color:#fff; }
.station-cover[data-station="Valgrande-Pajares"] { background: linear-gradient(135deg,#f9a8d4,#9d174d 60%,#500724); color:#fff; }
.station-cover[data-station="Leitariegos"]      { background: linear-gradient(135deg,#fbcfe8,#be185d 60%,#500724); color:#fff; }

/* Aseguramos que el icono y la label heredan el color claro siempre */
.station-cover .station-cover__icon { color: rgba(255,255,255,0.9); }
.station-cover .station-cover__label { color: #ffffff; }

