/* ==========================================================================
   CLUB ESQUÍ BELLVER — Portal d'Hivern i Muntanya de la Cerdanya
   Full d'Estils Unificat i Complet · Disseny Alpí Modern 2026
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #040d1a;
  --navy-900: #07192f;
  --navy-800: #0d2747;
  --navy-700: #153761;
  --bg-deep: #07192f;
  --bg-dark: #0d2747;
  --bg-card-dark: rgba(13, 39, 71, 0.88);
  --bg-snow: #f8fafc;
  --bg-ice: #f1f5f9;
  --surface-white: #ffffff;
  --text-main: #0f172a;
  --text-body: #1e293b;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  --ice-primary: #00a8e8;
  --ice-dark: #0284c7;
  --ice-light: #38bdf8;
  --glacier-blue: #0284c7;
  --glacier-cyan: #38bdf8;
  --glacier-soft: rgba(2, 132, 199, 0.1);
  --brand-orange: #ff6b00;
  --brand-orange-hover: #e65c00;
  --brand-orange-soft: rgba(255, 107, 0, 0.12);
  --whatsapp-green: #16a34a;
  --whatsapp-hover: #15803d;
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 4px 14px rgba(7, 25, 47, 0.06);
  --shadow-md: 0 12px 32px -6px rgba(7, 25, 47, 0.12);
  --shadow-lg: 0 22px 50px -12px rgba(4, 13, 26, 0.28);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-snow);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.hero h1,
.hero h2,
.hero h3,
.page-hero h1,
.fira-banner h2,
.fira-banner h3,
.site-footer h4 {
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* ==========================================================================
   TOP BAR (METEO EN DIRECTE + ENLLAÇOS RÀPIDS)
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  color: #cbd5e1;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
  position: relative;
  z-index: 102;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-meteo,
.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #f1f5f9;
  font-weight: 500;
}

.live-pill,
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  padding: 0.22rem 0.68rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.73rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseDot 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.25); }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #cbd5e1;
  font-weight: 600;
  white-space: nowrap;
}

.topbar-links a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 25, 47, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 0.65rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #38bdf8;
  box-shadow: 0 4px 12px rgba(0, 168, 232, 0.25);
  background: #000;
  flex-shrink: 0;
}

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

.brand-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: 0.69rem;
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.45rem;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-group-club {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 0.2rem 0.35rem;
  border-radius: 10px;
}

.nav-group-portal {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.35rem;
  border-radius: 10px;
}

.nav-group-label {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 0.42rem;
  white-space: nowrap;
  user-select: none;
}

.nav-group-club .nav-group-label {
  color: #38bdf8;
}

.nav-group-portal .nav-group-label {
  color: #94a3b8;
}

.nav-link {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.4rem 0.58rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-group-club .nav-link {
  color: #f8fafc;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-cta,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.4rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(13, 39, 71, 0.95);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  color: #ffffff;
  padding: 0;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.mobile-toggle:hover,
.mobile-toggle.active {
  background: var(--ice-dark);
  border-color: #7dd3fc;
}

.hamburger-box {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2.2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(5.9px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-5.9px) rotate(-45deg);
}

/* ==========================================================================
   SISTEMA DE BOTONS (TOTS ELS ESTILS DEFINITS I SEMPRE EN 1 LÍNIA)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: normal;
  max-width: 100%;
  flex-shrink: 1;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
  text-decoration: none;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  font-size: 0.84rem;
  border-radius: 10px;
}

.btn-primary,
.btn-glacier {
  background: linear-gradient(135deg, #00a8e8 0%, #0284c7 100%);
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover,
.btn-glacier:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.38);
}

.btn-orange {
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.28);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.4);
}

.btn-secondary,
.btn-outline {
  background: #f1f5f9;
  color: var(--navy-900) !important;
  border-color: #cbd5e1;
}

.btn-secondary:hover,
.btn-outline:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0369a1 !important;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy-900);
  color: #ffffff !important;
  border-color: var(--navy-700);
}

.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline-light,
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover,
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff !important;
  border-color: rgba(74, 222, 128, 0.4);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.28);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.38);
}

.btn-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
  color: #ffffff !important;
  border-color: rgba(244, 114, 182, 0.45);
  box-shadow: 0 6px 18px rgba(221, 42, 123, 0.28);
}

.btn-instagram:hover {
  background: linear-gradient(135deg, #e16e18 0%, #c61c6b 55%, #6e2699 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(221, 42, 123, 0.4);
}

.btn-block {
  width: 100%;
  display: inline-flex;
}

.btn-pair,
.resort-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
  width: 100%;
  margin-top: auto;
}

.btn-pair .btn,
.resort-actions .btn {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.55rem 0.55rem;
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   HERO PRINCIPAL & SUBPÀGINES
   ========================================================================== */
.hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(135deg, rgba(4, 13, 26, 0.88) 0%, rgba(7, 25, 47, 0.72) 55%, rgba(13, 39, 71, 0.88) 100%),
    url('/wp-content/uploads/2026/fotos/hero-cerdanya.jpg');
  background-size: cover;
  background-position: center 42%;
  color: #ffffff;
  padding: 4.25rem 0 4.75rem;
  overflow: hidden;
}

.page-hero,
.hero-subpage {
  background:
    linear-gradient(135deg, rgba(4, 13, 26, 0.92) 0%, rgba(7, 25, 47, 0.84) 100%),
    url('/wp-content/uploads/2026/fotos/hero-cerdanya.jpg');
  background-size: cover;
  background-position: center 40%;
  color: #ffffff;
  padding: 3.5rem 0;
  text-align: center;
  border-bottom: 3px solid var(--ice-primary);
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  margin: 0.5rem 0 0.75rem;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-eyebrow,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 168, 232, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.15rem;
  color: #ffffff;
}

.hero h1 span,
.hero h1 .accent {
  color: #38bdf8;
}

.hero-lead {
  font-size: 1.06rem;
  color: #e2e8f0;
  max-width: 650px;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.hero-actions,
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value,
.stat-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #38bdf8;
}

.stat-label,
.stat-item span {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.35;
}

/* PANELL LATERAL DEL HERO */
.hero-panel,
.hero-card {
  background: rgba(7, 25, 47, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(56, 189, 248, 0.32);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  color: #ffffff;
}

.quick-status-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.quick-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.quick-status-item:hover {
  background: rgba(0, 168, 232, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateX(4px);
}

.quick-status-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.quick-status-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.quick-status-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.quick-status-sub {
  font-size: 0.76rem;
  color: #94a3b8;
}

.status-pill {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   SECCIONS I TITULARS
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: var(--bg-ice);
}

.section-dark {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.75rem;
}

.section-tag,
.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ice-dark);
  background: rgba(2, 132, 199, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 16px;
  margin-bottom: 0.8rem;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-dark .section-tag,
.section-dark .section-eyebrow {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.section-dark .section-desc {
  color: #cbd5e1;
}

/* ==========================================================================
   TARGETES DEL CLUB I BOTIGUES (.club-grid / .club-card)
   ========================================================================== */
.club-grid,
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 1.5rem;
}

.club-card,
.pillar-card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: break-word;
}

.club-card:hover,
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}

.club-card.featured {
  border: 2px solid var(--ice-primary);
  box-shadow: 0 12px 32px rgba(0, 168, 232, 0.12);
}

.club-card-badge {
  position: static;
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  text-align: left;
  line-height: 1.35;
  background: rgba(2, 132, 199, 0.12);
  color: var(--ice-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.85rem;
}

.club-card-icon,
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e0f2fe;
  color: var(--ice-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.club-card h3,
.pillar-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--navy-900);
}

.club-card p,
.pillar-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1.15rem;
  line-height: 1.6;
}

.club-card-list {
  list-style: none;
  margin: 0 0 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.club-card-list li {
  font-size: 0.89rem;
  color: var(--text-body);
  padding-left: 1.35rem;
  position: relative;
}

.club-card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ice-dark);
  font-weight: 800;
}

.price-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.price-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 0.65rem 0.45rem;
  text-align: center;
}

.price-amount {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
}

.price-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
  line-height: 1.25;
}

/* ==========================================================================
   METEOROLOGIA EN TEMPS REAL (6 PUNTS CERDANYA + WINDY)
   ========================================================================== */
.meteo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 1.25rem;
}

.meteo-card {
  background: rgba(13, 39, 71, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.meteo-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.meteo-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.meteo-loc-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
}

.meteo-altitude {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.15);
  padding: 0.18rem 0.58rem;
  border-radius: 6px;
  margin-top: 0.3rem;
}

.meteo-zone-tag {
  font-size: 0.76rem;
  color: #94a3b8;
  display: block;
  margin-top: 0.22rem;
}

.meteo-temp-wrap {
  text-align: right;
  flex-shrink: 0;
}

.meteo-temp {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
}

.meteo-cond {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 0.28rem;
}

.meteo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(4, 13, 26, 0.55);
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meteo-metric {
  display: flex;
  flex-direction: column;
}

.meteo-metric span {
  font-size: 0.69rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meteo-metric strong {
  font-size: 0.85rem;
  color: #f1f5f9;
  margin-top: 2px;
  white-space: nowrap;
}

.meteo-forecast-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  text-align: center;
}

.meteo-day {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.45rem;
  border-radius: 8px;
}

.meteo-day-name {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.74rem;
}

.meteo-day-temp {
  color: #ffffff;
  font-weight: 700;
  margin-top: 2px;
}

/* WINDY RADAR WRAPPER */
.windy-wrapper,
.windy-embed-box {
  margin-top: 2.5rem;
  background: rgba(13, 39, 71, 0.92);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.windy-header,
.windy-embed-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.windy-iframe {
  width: 100%;
  height: 430px;
  border: 0;
  display: block;
}

/* ==========================================================================
   PESTANYES DE FILTRE (.filter-tabs / .filter-tab)
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.2rem;
}

.filter-tab {
  background: var(--surface-white);
  color: var(--text-muted);
  border: 1.5px solid var(--border-light);
  padding: 0.52rem 1.1rem;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.section-dark .filter-tab,
.windy-header .filter-tab {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.18);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--ice-dark);
  color: #ffffff;
  border-color: var(--ice-light);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   WEBCAMS EN DIRECTE (.webcam-grid / .webcam-card)
   ========================================================================== */
.webcam-grid,
.webcams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 1.5rem;
}

.webcam-card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  min-width: 0;
  max-width: 100%;
}

.webcam-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}

.webcam-preview {
  position: relative;
  height: 195px;
  background-color: var(--navy-900);
  overflow: hidden;
}

.webcam-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.webcam-card:hover .webcam-preview img {
  transform: scale(1.04);
}

.webcam-badge-live {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(7, 25, 47, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.webcam-altitude {
  position: absolute;
  bottom: 0.75rem;
  right: 0.85rem;
  background: rgba(7, 25, 47, 0.88);
  color: #38bdf8;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.22rem 0.6rem;
  border-radius: 8px;
}

.webcam-body,
.webcam-info {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 0.85rem;
}

.webcam-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
}

.webcam-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   ESTACIONS D'ESQUÍ SEPARADES (.resorts-grid / .resort-card)
   ========================================================================== */
.resorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 1.5rem;
}

.resort-card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  min-width: 0;
  max-width: 100%;
}

.resort-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #7dd3fc;
}

.resort-preview {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: var(--navy-900);
}

.resort-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.resort-card:hover .resort-preview img {
  transform: scale(1.05);
}

.resort-header {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
  padding: 1.15rem 1.4rem;
  display: block;
  border-bottom: 3px solid var(--ice-primary);
}

.resort-type {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8;
  margin-bottom: 0.2rem;
}

.resort-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.resort-distance {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(4, 13, 26, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.resort-body {
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 1.05rem;
}

.resort-desc {
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.resort-specs,
.resort-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  text-align: center;
}

.resort-spec strong,
.resort-stat strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy-900);
}

.resort-spec span,
.resort-stat span {
  font-size: 0.71rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* ==========================================================================
   MARQUES DE MATERIAL D'ESQUÍ (.brands-grid / .brand-card)
   ========================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.15rem;
}

.brand-card {
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  transition: all 0.2s ease;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.brand-card:hover {
  border-color: var(--ice-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.brand-category {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ice-dark);
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-900);
}

.brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.brand-link-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ice-dark);
  margin-top: 0.35rem;
}

/* ==========================================================================
   BANNER FIRA PIRINEU ESPORT I NATURA (.fira-banner)
   ========================================================================== */
.fira-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border: 2px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

.fira-banner > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.fira-banner h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  margin: 0.4rem 0 0.85rem;
}

.fira-banner p {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
  line-height: 1.65;
}

.fira-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.35rem 0 1.6rem;
  width: 100%;
  max-width: 100%;
}

.fira-highlight-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.fira-highlight-box strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: #38bdf8;
  margin-bottom: 0.2rem;
}

.fira-highlight-box span {
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.45;
  display: block;
}

.fira-poster-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.fira-poster-link {
  display: block;
  max-width: 390px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.42);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fira-poster-link:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: #38bdf8;
  box-shadow: 0 26px 55px rgba(0, 168, 232, 0.32);
}

.fira-poster-img {
  display: block;
  width: 100%;
  height: auto;
}

.fira-poster-caption {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  font-weight: 600;
}

/* ==========================================================================
   FRANJA DE CONTACTE (.contact-strip / .contact-card)
   ========================================================================== */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  min-width: 0;
  overflow: hidden;
  transition: all 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}

.contact-card > div:last-child {
  flex: 1;
  min-width: 0;
}

.contact-card .btn {
  max-width: 100%;
  white-space: normal;
  height: auto;
  line-height: 1.25;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  color: var(--navy-900);
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
  line-height: 1.58;
  overflow-wrap: break-word;
}

/* ==========================================================================
   CAIXA DE CARNET DE SOCI (.carnet-lookup-box)
   ========================================================================== */
.carnet-lookup-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   BOTONS FLOTANTS DE WHATSAPP, INSTAGRAM I CORREU (.floating-contact / .float-btn)
   ========================================================================== */
.floating-contact {
  position: fixed;
  bottom: 1.15rem;
  right: 1.15rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  pointer-events: none;
}

.float-btn,
.fab-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.05rem;
  min-height: 44px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(4, 13, 26, 0.36);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.float-btn svg,
.fab-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
  display: block;
}

.float-btn-wa,
.fab-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.float-btn-wa:hover,
.fab-whatsapp:hover {
  background: #15803d;
  transform: translateY(-2px);
}

.float-btn-ig {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.float-btn-ig:hover {
  background: linear-gradient(135deg, #e16e18 0%, #c61c6b 55%, #6e2699 100%);
  transform: translateY(-2px);
}

.float-btn-mail,
.fab-email {
  background: linear-gradient(135deg, #0284c7 0%, #0d2747 100%);
  border: 1.5px solid rgba(125, 211, 252, 0.55);
}

.float-btn-mail:hover,
.fab-email:hover {
  background: linear-gradient(135deg, #00a8e8 0%, #0284c7 100%);
  transform: translateY(-2px);
}

/* ==========================================================================
   PEU DE PÀGINA (.site-footer)
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 4rem 0 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.25rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.89rem;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET I MÒBIL)
   ========================================================================== */
@media (max-width: 1180px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(4, 13, 26, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.15rem 1.35rem;
    border-top: 1px solid rgba(56, 189, 248, 0.18);
    border-bottom: 2px solid rgba(56, 189, 248, 0.35);
    gap: 0.45rem;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.75rem;
    border-radius: 14px;
    width: 100%;
  }

  .nav-group-club {
    background: rgba(56, 189, 248, 0.09);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
  }

  .nav-group-portal {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.25rem;
  }

  .nav-group-label {
    font-size: 0.73rem;
    padding: 0.15rem 0.35rem 0.3rem;
    letter-spacing: 0.07em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.15rem;
  }

  .nav-link {
    width: 100%;
    padding: 0.68rem 0.95rem;
    font-size: 0.93rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-group-club .nav-link {
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(56, 189, 248, 0.28);
  }

  .nav-link::after {
    content: '→';
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.9rem;
  }

  .nav-cta,
  .nav-actions {
    margin-left: 0;
    margin-top: 0.55rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .nav-cta .btn,
  .nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 0.6rem;
    font-size: 0.85rem;
  }

  .nav-cta .btn:last-child:nth-child(odd),
  .nav-actions .btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .fira-banner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

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

@media (max-width: 768px) {
  .topbar-links {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-meteo {
    justify-content: center;
    font-size: 0.76rem;
  }

  .club-grid,
  .pillars-grid,
  .meteo-grid,
  .webcam-grid,
  .webcams-grid,
  .resorts-grid,
  .brands-grid,
  .contact-strip,
  .avantatges-grid,
  .cursets-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    min-height: 66px;
    gap: 0.5rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }

  .mobile-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .hero {
    padding: 2.5rem 0 3rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats,
  .fira-highlights,
  .btn-pair,
  .resort-actions,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .section {
    padding: 3rem 0;
  }

  .club-card,
  .pillar-card {
    padding: 1.35rem;
  }

  .club-card-badge {
    position: static;
    align-self: flex-start;
    max-width: 100%;
    text-align: left;
    margin-bottom: 0.75rem;
  }

  .filter-tabs {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }

  .filter-tab {
    white-space: normal;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.45rem 0.8rem;
    line-height: 1.25;
  }

  .fira-banner {
    padding: 1.35rem 1.05rem;
    gap: 1.35rem;
  }

  .fira-banner h2 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .fira-banner ul {
    margin-left: 0 !important;
    padding-left: 1.15rem;
  }

  .fira-banner .btn,
  .curset-actions .btn,
  .socis-teaser .btn,
  .club-card .btn {
    white-space: normal;
    max-width: 100%;
    width: 100%;
    flex: 1 1 100%;
    height: auto;
    line-height: 1.3;
    padding: 0.65rem 0.9rem;
  }

  .section-tag,
  .section-eyebrow,
  .curset-card .curset-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    max-width: 100%;
    white-space: normal;
  }

  .carnet-lookup-box {
    padding: 1.35rem 1rem;
  }

  /* Botons flotants compactes i nítids al mòbil */
  .floating-contact {
    bottom: 0.75rem;
    right: 0.75rem;
    left: auto;
    max-width: calc(100vw - 1.5rem);
    gap: 0.42rem;
  }

  .float-btn,
  .fab-btn {
    min-height: 40px;
    padding: 0.48rem 0.85rem;
    font-size: 0.76rem;
    gap: 0.38rem;
    box-shadow: 0 6px 18px rgba(4, 13, 26, 0.42);
  }

  .float-btn svg,
  .fab-btn svg {
    width: 16px;
    height: 16px;
  }

  .site-footer {
    padding: 3rem 0 8.5rem;
  }
}

/* ==========================================================================
   AVANTATGES PER ALS SOCIS I CURSETS (.avantatges-grid / .curset-card)
   ========================================================================== */
[hidden] {
  display: none !important;
}

.avantatges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.1rem;
  margin-bottom: 2.75rem;
}

.avantatge-card {
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.avantatge-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #7dd3fc;
}

.avantatge-icon {
  font-size: 1.9rem;
  line-height: 1;
}

.avantatge-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
}

.avantatge-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.avantatge-highlight {
  display: inline-block;
  align-self: flex-start;
  background: #e0f2fe;
  color: var(--ice-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.cursets-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.cursets-head h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--navy-900);
}

.cursets-head p {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 720px;
}

.cursets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 1.4rem;
}

.curset-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

.curset-card .curset-tag {
  align-self: flex-start;
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.78rem;
  border-radius: 12px;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
}

.curset-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.curset-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
}

.curset-levels {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0.2rem 0 0.4rem;
}

.curset-levels li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 0.86rem;
  color: #e2e8f0;
}

.curset-levels li strong {
  color: #38bdf8;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}

.curset-note {
  font-size: 0.8rem !important;
  color: #94a3b8 !important;
}

.curset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.socis-teaser {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: #f0f9ff;
  border: 1.5px dashed #7dd3fc;
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
}

.socis-teaser strong {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy-900);
  font-size: 1.05rem;
}

.socis-teaser p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.socis-teaser > div:first-child {
  flex: 1 1 380px;
  min-width: 0;
}

.socis-teaser .btn-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: auto;
}

/* ==========================================================================
   ÀREA PRIVADA DE SOCIS (/area-socis/)
   ========================================================================== */
.socis-container {
  max-width: 1080px;
}

.socis-card {
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.socis-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.8rem;
}

.socis-muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.socis-login-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.socis-login-card h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0.3rem 0 0.3rem;
}

.socis-login-icon {
  font-size: 2.2rem;
}

.socis-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-body);
  margin: 1.1rem 0 0.4rem;
}

.socis-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.socis-input:focus {
  outline: none;
  border-color: var(--ice-primary);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.18);
  background: #ffffff;
}

.socis-input-sm {
  width: auto;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
}

#login-submit {
  margin-top: 1.4rem;
}

.socis-login-help {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.socis-login-help a,
.socis-card a:not(.btn) {
  color: var(--ice-dark);
  font-weight: 700;
}

.socis-login-help code {
  background: #f1f5f9;
  padding: 0.05rem 0.4rem;
  border-radius: 6px;
}

.socis-alert {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.socis-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.socis-alert-ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.socis-alert-warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.socis-roadmap {
  margin-top: 1.2rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.socis-roadmap strong {
  color: var(--navy-900);
}

.socis-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: rgba(56, 189, 248, 0.35);
  color: #ffffff;
  margin-bottom: 1.4rem;
}

.socis-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #7dd3fc;
}

.socis-welcome h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0.2rem 0 0.75rem;
  overflow-wrap: anywhere;
}

.socis-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.socis-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
}

.socis-chip-ok {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}

.socis-chip-warn {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fde68a;
}

.socis-chip-junta {
  background: rgba(250, 204, 21, 0.2);
  border-color: rgba(250, 204, 21, 0.5);
  color: #fef08a;
}

.socis-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.socis-tab {
  border: 1.5px solid var(--border-light);
  background: var(--surface-white);
  color: var(--text-body);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.socis-tab:hover {
  border-color: #7dd3fc;
}

.socis-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

.socis-doc-group {
  margin-bottom: 1.8rem;
}

.socis-doc-group > h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.8rem;
}

.socis-doc-grid {
  display: grid;
  gap: 0.85rem;
}

.socis-doc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.socis-doc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.socis-doc-body {
  min-width: 0;
}

.socis-doc-body h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.35;
}

.socis-doc-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.45;
}

.socis-doc-meta {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.3rem;
}

.socis-doc-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.socis-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.55rem 1.2rem;
  font-size: 0.93rem;
}

.socis-dl dt {
  color: var(--text-muted);
  font-weight: 600;
}

.socis-dl dd {
  color: var(--text-main);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.socis-junta-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.socis-junta-tools {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.socis-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.socis-stat {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.socis-stat-v {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
}

.socis-stat-l {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}

.socis-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.socis-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  min-width: 760px;
}

.socis-table th {
  background: var(--navy-900);
  color: #ffffff;
  text-align: left;
  padding: 0.65rem 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  white-space: nowrap;
}

.socis-table td {
  padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-body);
  vertical-align: top;
}

.socis-table tr:nth-child(even) td {
  background: #f8fafc;
}

@media (max-width: 860px) {
  .socis-login-wrap {
    grid-template-columns: 1fr;
  }

  .socis-doc {
    grid-template-columns: auto 1fr;
  }

  .socis-doc-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .socis-doc-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .socis-card {
    padding: 1.3rem;
  }

  .socis-dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }

  .socis-dl dd {
    margin-bottom: 0.6rem;
  }

  .avantatges-grid,
  .cursets-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .avantatge-card,
  .curset-card,
  .fira-banner {
    padding: 1.25rem 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .curset-card h4 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .curset-levels li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .curset-levels li strong {
    white-space: normal;
  }

  .socis-teaser {
    padding: 1.2rem 1rem;
  }

  .socis-teaser > div:first-child {
    flex: 1 1 100%;
  }

  .socis-teaser .btn-pair {
    width: 100%;
  }
}

/* ==========================================================================
   DESPLEGABLES INTERACTIUS DE CURSETS (.curset-accordion)
   ========================================================================== */
.curset-accordions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  width: 100%;
  max-width: 100%;
}

.curset-accordion {
  background: rgba(4, 13, 26, 0.58);
  border: 1.5px solid rgba(56, 189, 248, 0.38);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.curset-accordion[open] {
  background: rgba(4, 13, 26, 0.82);
  border-color: #38bdf8;
}

.curset-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
  line-height: 1.35;
}

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

.curset-accordion summary:hover {
  background: rgba(56, 189, 248, 0.1);
}

.curset-accordion-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s ease;
}

.curset-accordion[open] .curset-accordion-chevron {
  transform: rotate(180deg);
  background: #0284c7;
  color: #ffffff;
}

.curset-accordion-body {
  padding: 0.35rem 1.1rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.curset-months-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.75rem 0 0.95rem;
}

.curset-month-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 10px;
  padding: 0.68rem 0.85rem;
  min-width: 0;
}

.curset-month-box strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.curset-month-box span {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 700;
}

.curset-month-box small {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.12rem;
}

@media (max-width: 680px) {
  .curset-months-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .curset-accordion summary {
    padding: 0.8rem 0.9rem;
    font-size: 0.84rem;
  }

  .curset-accordion-body {
    padding: 0.3rem 0.9rem 0.95rem;
    font-size: 0.86rem;
  }
}
