/* ============================================================
   ESCÒCIA 2026 - v3
   Titulars:    HernandezNiu-Heavy
   Títols petits: HernandezNiu-UltraBold
   Subtítols:   HernandezNiu-Bold
   Cos:         Borna-Regular / Borna-Bold
   ============================================================ */

/* ── @font-face - HernandezNiu Heavy ───────────────────────── */
@font-face {
  font-family: 'HernandezNiu';
  src: url('../fonts/HernandezNiu-Heavy.woff2') format('woff2'),
       url('../fonts/HernandezNiu-Heavy.woff')  format('woff'),
       url('../fonts/HernandezNiu-Heavy.otf')   format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HernandezNiu';
  src: url('../fonts/HernandezNiu-HeavyItalic.woff2') format('woff2'),
       url('../fonts/HernandezNiu-HeavyItalic.woff')  format('woff'),
       url('../fonts/HernandezNiu-HeavyItalic.otf')   format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ── @font-face - HernandezNiu UltraBold ───────────────────── */
@font-face {
  font-family: 'HernandezNiu';
  src: url('../fonts/HernandezNiu-UltraBold.woff2') format('woff2'),
       url('../fonts/HernandezNiu-UltraBold.woff')  format('woff'),
       url('../fonts/HernandezNiu-UltraBold.otf')   format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HernandezNiu';
  src: url('../fonts/HernandezNiu-UltraBoldItalic.woff2') format('woff2'),
       url('../fonts/HernandezNiu-UltraBoldItalic.woff')  format('woff'),
       url('../fonts/HernandezNiu-UltraBoldItalic.otf')   format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* ── @font-face - HernandezNiu Bold ────────────────────────── */
@font-face {
  font-family: 'HernandezNiu';
  src: url('../fonts/HernandezNiu-Bold.woff2') format('woff2'),
       url('../fonts/HernandezNiu-Bold.woff')  format('woff'),
       url('../fonts/HernandezNiu-Bold.otf')   format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HernandezNiu';
  src: url('../fonts/HernandezNiu-BoldItalic.woff2') format('woff2'),
       url('../fonts/HernandezNiu-BoldItalic.woff')  format('woff'),
       url('../fonts/HernandezNiu-BoldItalic.otf')   format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ── @font-face - Borna Regular ────────────────────────────── */
@font-face {
  font-family: 'Borna';
  src: url('../fonts/Borna-Regular.woff2') format('woff2'),
       url('../fonts/Borna-Regular.woff')  format('woff'),
       url('../fonts/Borna-Regular.ttf')   format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Borna';
  src: url('../fonts/Borna-RegularItalic.woff2') format('woff2'),
       url('../fonts/Borna-RegularItalic.woff')  format('woff'),
       url('../fonts/Borna-RegularItalic.ttf')   format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ── @font-face - Borna Bold ────────────────────────────────── */
@font-face {
  font-family: 'Borna';
  src: url('../fonts/Borna-Bold.woff2') format('woff2'),
       url('../fonts/Borna-Bold.woff')  format('woff'),
       url('../fonts/Borna-Bold.ttf')   format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Borna';
  src: url('../fonts/Borna-BoldItalic.woff2') format('woff2'),
       url('../fonts/Borna-BoldItalic.woff')  format('woff'),
       url('../fonts/Borna-BoldItalic.ttf')   format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --black:      #09100d;
  --dark:       #111712;
  --forest:     #1b2d21;
  --highland:   #29801d;
  --moss:       #3d6b4f;
  --sage:       #7a9e87;
  --mist:       #b8c4bc;
  --stone:      #5f6b66;
  --cream:      #f5f5f5;       /* actualitzat: gris molt suau en lloc de beix */
  --offwhite:   #ffffff;       /* actualitzat: blanc pur */
  --white:      #ffffff;
  --gold:       #b8922a;
  --gold-light: #d4af5a;
  --gold-pale:  rgba(184,146,42,0.15);
  --title-green:#29801d;
  --poi-muted:  #a3b1ab;
  --red:        #7a2030;

  /* Tipografia:
     --f-display  → HernandezNiu Heavy (900)   - titulars principals
     --f-subtitle → HernandezNiu UltraBold (800) - títols petits
     --f-heading  → HernandezNiu Bold (700)    - subtítols
     --f-body     → Borna Regular (400)         - text corregut
     --f-bold     → Borna Bold (700)            - negretes dins text
     --f-mono     → monospace sistema           - labels, preus, horaris
  */
  --f-display:  'HernandezNiu', Georgia, serif;
  --f-subtitle: 'HernandezNiu', Georgia, serif;
  --f-heading:  'HernandezNiu', Georgia, serif;
  --f-body:     'Borna', system-ui, sans-serif;
  --f-mono:     'DM Mono', 'Courier New', monospace;

  --max-w: 1320px;
  --pad:   clamp(1.5rem, 5vw, 4rem);
  --gap:   clamp(0.75rem, 1.5vw, 1.25rem);
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
:target { scroll-margin-top: 96px; }
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;       /* augmentat de 1rem */
  line-height: 1.65;
  color: var(--black);
  background: var(--offwhite);
  overflow-x: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.is-hidden { display: none !important; }
.is-invisible { opacity: 0 !important; }
.media-fallback { background: var(--mist) !important; }
.media-fallback-highland { background: var(--highland) !important; }
.object-position-high { object-position: center 30%; }
.label-tight { margin-bottom: 0.75rem; }
.label-spaced { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2.5rem; }
.mt-md { margin-top: 1.5rem; }
.mt-xs { margin-top: 0.25rem; }
.mt-lg { margin-top: 3rem; }
.section-copy,
.intro-copy {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.85;
  color: var(--stone);
  font-weight: 300;
}
.intro-copy { margin-bottom: 1.5rem; }
.section-copy { margin-bottom: 1.25rem; }
.section-title-tight { margin-top: 0.25rem; }
.subsection-title {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.text-forest { color: var(--forest); }
.text-green-muted { color: #365245; }
.compact-copy {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--stone);
}
.route-summary--compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 0;
  border-bottom: 0;
}
.place-days-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.place-days-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.section-divider {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.section-divider--compact { margin-top: 1.5rem; }
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.outline-link,
.day-nav-link,
.day-nav-edge {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: clamp(0.7rem, 1vw, 0.78rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.outline-link {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(184,146,42,0.35);
  color: var(--gold);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.outline-link:hover,
.outline-link:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.day-nav-links {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.day-nav-link {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(184,146,42,0.2);
  color: var(--stone);
}
.day-nav-link--active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.day-nav-edge {
  color: var(--gold);
}
.day-nav-edge--disabled {
  color: var(--stone);
  opacity: 0.55;
}
.timeline-spaced { margin-top: 3rem; }
.tl-item--poi-muted .tl-dot { background: var(--poi-muted); }
.tl-item--poi-muted .tl-time,
.tl-item--poi-muted .tl-title,
.tl-item--poi-muted .tl-text { color: var(--poi-muted); }
.tl-inline-link {
  color: var(--title-green);
  border-bottom: 1px solid rgba(105,163,65,0.28);
}
.tl-muted-link {
  color: var(--poi-muted);
  border-bottom: 1px solid rgba(112,123,118,0.45);
}
.tl-dark-link {
  color: var(--poi-muted);
  border-bottom: 1px solid rgba(112,123,118,0.45);
}
.sidebar-list,
.reserve-list,
.day-place-list {
  display: flex;
  flex-direction: column;
}
.sidebar-list { gap: 0.6rem; }
.reserve-list { gap: 0.8rem; }
.day-place-list { gap: 0.5rem; }
.sidebar-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 0.92rem;
}
.sidebar-row span { color: var(--stone); }
.reserve-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.reserve-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.reserve-meta {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}
.reserve-status {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.reserve-status--paid { color: #9ad18b; }
.reserve-status-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 6px;
  background: #157a31;
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 0.72rem;
}
.day-place-link {
  --day-place-accent: var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.55rem;
  padding: 0 0.85rem 0 0;
  border: 1px solid var(--day-place-accent);
  border-radius: 4px;
  color: var(--forest);
  font-size: 0.9rem;
  line-height: 1.25;
  text-align: right;
  overflow: hidden;
  transition: background 0.18s, border-color 0.18s;
}
.day-place-link:has(.day-place-time--muted) {
  --day-place-accent: var(--poi-muted);
  color: var(--poi-muted);
}
.day-place-link:hover,
.day-place-link:focus-visible {
  background: var(--gold-pale);
  border-color: var(--day-place-accent);
}
.day-place-link--static {
  --day-place-accent: rgba(112,123,118,0.72);
  color: var(--stone);
}
.day-place-time {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  width: 3.7rem;
  background: var(--day-place-accent);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 0.74rem;
  padding: 0.7rem 0.55rem;
  flex-shrink: 0;
}
.day-place-time--muted { color: var(--white); }
.food-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.food-section-copy {
  font-size: 0.94rem;
  color: var(--stone);
  margin-bottom: 1.2rem;
  max-width: 720px;
}
.day-footer-nav {
  margin-top: 4rem;
  margin-right: 1rem;
  margin-bottom: 2rem;
  margin-left: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.day-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(184,146,42,0.45);
  border-radius: 0;
  background: rgba(184,146,42,0.08);
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(9,16,13,0.08);
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.day-footer-link:hover,
.day-footer-link:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(9,16,13,0.14);
  transform: translateY(-1px);
}
.day-footer-link--next {
  margin-left: auto;
  background: var(--title-green);
  border-color: var(--title-green);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(105,163,65,0.24);
}
.day-footer-link--next:hover,
.day-footer-link--next:focus-visible {
  background: #598f37;
  border-color: #598f37;
}
.article-lead-copy {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.article-copy {
  font-size: 1rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin: 1rem 0 1.5rem;
}
.grid-compact-bottom { margin-bottom: 1rem; }
.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}
.grid-three--tight { margin-bottom: 0.5rem; }
.history-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.history-card {
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--history-color, var(--gold));
}
.history-card--purple { --history-color: #5C2D6E; --history-accent: #7b4d94; }
.history-card--red { --history-color: #8B1A1A; --history-accent: #a84f4f; }
.history-card--green { --history-color: #1B4D2E; --history-accent: #2e7c4a; }
.history-card--blue { --history-color: #1A3A6B; --history-accent: #426ca0; }
.history-card--gold { --history-color: var(--gold); --history-accent: #8b6b16; }
.history-title {
  font-family: var(--f-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.15rem;
}
.history-period {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--history-accent, var(--gold));
  font-weight: 500;
}
.history-copy {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #365245;
  margin: 0;
}
.myth-section {
  background: linear-gradient(135deg,#e8efe8 0%,#f0f5f0 100%);
  padding: 2rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}
.myth-card {
  background: var(--white);
  border-color: rgba(0,0,0,0.08);
}
.myth-card .tartan-clan-name { color: var(--forest); }
.myth-card .tartan-clan-desc { color: #365245; }
.myth-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.myth-swatch { height: 32px; }
.myth-swatch--water { background: linear-gradient(135deg,#d5e9f5 0%,#a8cfe0 100%); }
.myth-swatch--seal { background: linear-gradient(135deg,#e0d5c5 0%,#c5b5a0 100%); }
.myth-swatch--blood { background: linear-gradient(135deg,#e0c5c5 0%,#c5a0a0 100%); }
.myth-swatch--winter { background: linear-gradient(135deg,#c5d5e0 0%,#a0b5c5 100%); }
.myth-swatch--loch { background: linear-gradient(135deg,#c5e0d5 0%,#a0c5b5 100%); }
.myth-swatch--fairy { background: linear-gradient(135deg,#d5d5e0 0%,#b5b5c5 100%); }
.tartan-swatch--royal-stewart {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.18) 0,rgba(0,0,0,0.18) 6px,transparent 6px,transparent 22px),
    repeating-linear-gradient(90deg, #8B1A1A 0,#8B1A1A 16px,#1A3A6B 16px,#1A3A6B 32px,#1B4D2E 32px,#1B4D2E 44px,#1A3A6B 44px,#1A3A6B 60px,#8B1A1A 60px,#8B1A1A 76px);
}
.tartan-swatch--black-watch {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0,rgba(0,0,0,0.15) 5px,transparent 5px,transparent 20px),
    repeating-linear-gradient(90deg, #1B4D2E 0,#1B4D2E 14px,#1a1a1a 14px,#1a1a1a 18px,#1A3A6B 18px,#1A3A6B 30px,#1a1a1a 30px,#1a1a1a 34px,#1B4D2E 34px,#1B4D2E 48px);
}
.tartan-swatch--campbell {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.18) 0,rgba(0,0,0,0.18) 6px,transparent 6px,transparent 22px),
    repeating-linear-gradient(90deg, #1B4D2E 0,#1B4D2E 22px,#1a1a1a 22px,#1a1a1a 26px,#1A3A6B 26px,#1A3A6B 46px,#1a1a1a 46px,#1a1a1a 50px,#1B4D2E 50px,#1B4D2E 72px);
}
.tartan-swatch--alba {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0,rgba(0,0,0,0.15) 5px,transparent 5px,transparent 20px),
    repeating-linear-gradient(90deg, #1A3A6B 0,#1A3A6B 16px,#f5f5f5 16px,#f5f5f5 20px,#1A3A6B 20px,#1A3A6B 34px,#B8922A 34px,#B8922A 38px,#1A3A6B 38px,#1A3A6B 52px);
}
.tartan-swatch--jacobite {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0,rgba(0,0,0,0.15) 5px,transparent 5px,transparent 20px),
    repeating-linear-gradient(90deg, #1B4D2E 0,#1B4D2E 10px,#B8922A 10px,#B8922A 14px,#8B1A1A 14px,#8B1A1A 26px,#B8922A 26px,#B8922A 30px,#1B4D2E 30px,#1B4D2E 42px,#1a1a1a 42px,#1a1a1a 46px,#1B4D2E 46px,#1B4D2E 58px);
}
.tartan-swatch--flower {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0,rgba(0,0,0,0.15) 5px,transparent 5px,transparent 20px),
    repeating-linear-gradient(90deg, #5C2D6E 0,#5C2D6E 18px,#1B4D2E 18px,#1B4D2E 28px,#B8922A 28px,#B8922A 32px,#1B4D2E 32px,#1B4D2E 42px,#5C2D6E 42px,#5C2D6E 60px);
}
.pub-address {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.absurd-slideshow {
  padding: 1.5rem 1.1rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.absurd-slide {
  font-family: var(--f-display);
  font-size: 1.3rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--white);
}
.absurd-dots {
  padding: 0 1.1rem 0.75rem;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.vocab-list--compact { gap: 0.35rem; }
.vocab-item--compact { margin-bottom: 0.25rem; }
.pronunciation {
  opacity: 0.78;
  font-style: italic;
  font-size: 0.85em;
}
.sidebar-note--offset { margin-top: 0.75rem; }
.sidebar-note--plain {
  border-top: 0;
  padding-bottom: 0.4rem;
}
.sidebar-stack {
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
}
.sidebar-stack--md { gap: 0.6rem; }
.sidebar-stack--sm { gap: 0.5rem; }
.days-section-title { color: var(--white); }
.days-section-title em { color: var(--gold-light); }
.label--dim { color: rgba(255,255,255,0.76); }

/* ── Offline ─────────────────────────────────────────────── */
.offline-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: var(--pad);
}
.offline-wrap { max-width: 420px; }
.offline-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  opacity: 0.72;
}
.offline-wrap h1 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.offline-wrap p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}
.offline-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}
.offline-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(184,146,42,0.28);
  font-size: 0.95rem;
  color: var(--mist);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.offline-links a:hover,
.offline-links a:focus-visible {
  border-color: var(--gold);
  color: var(--white);
}
.offline-links a .n {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-width: 1.5rem;
}
.tartan-line {
  height: 3px;
  width: 60px;
  margin: 0 auto 2rem;
  background: repeating-linear-gradient(
    90deg,
    #7a2030 0, #7a2030 8px,
    #b8922a 8px, #b8922a 10px,
    #1b2d21 10px, #1b2d21 26px,
    #b8922a 26px, #b8922a 28px,
    #7a2030 28px, #7a2030 36px
  );
}

/* ── Tipus ──────────────────────────────────────────────────── */

/*
  JERARQUIA TIPOGRÀFICA:
  h1              → HernandezNiu Heavy 900  - titular principal
  h2              → HernandezNiu Heavy 900  - titular de secció
  h3              → HernandezNiu UltraBold 800 - títol petit
  h4              → HernandezNiu Bold 700   - subtítol
  p, li, a        → Borna Regular 400       - text corregut
  strong, b       → Borna Bold 700          - negreta en text
  .label, .mono   → monospace sistema       - etiquetes i dades
*/

h1 {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--f-subtitle);
  font-weight: 800;
  line-height: 1.1;
}
h4 {
  font-family: var(--f-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* Títols sobre fons blanc */
.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body .food-section-title,
.page-body .tl-title,
.page-body .food-name,
.page-body .rel-card h4 {
  color: var(--title-green);
}
.page-body .tl-inline-link {
  color: var(--title-green);
}
.page-body .tl-item--poi-muted .tl-time,
.page-body .tl-item--poi-muted .tl-title,
.page-body .tl-item--poi-muted .tl-title a,
.page-body .tl-item--poi-muted .tl-text {
  color: var(--poi-muted);
}

/* Negretes dins text corregut → Borna Bold */
strong, b {
  font-family: var(--f-body);
  font-weight: 700;
}

.label {
  font-family: var(--f-mono);
  font-size: clamp(0.72rem, 1vw, 0.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.label--light { color: rgba(255,255,255,0.76); }

/* ── Breadcrumb - amagat ────────────────────────────────────── */
.breadcrumb { display: none; }

/* ── Contenidor ─────────────────────────────────────────────── */
.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad); }

/* ── Tartan ─────────────────────────────────────────────────── */
.tartan {
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--red)      0,      var(--red)     20px,
    var(--gold)    20px,    var(--gold)    24px,
    var(--forest)  24px,    var(--forest)  60px,
    var(--gold)    60px,    var(--gold)    64px,
    var(--red)     64px,    var(--red)     84px
  );
}

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: calc(1.25rem + env(safe-area-inset-top)) calc(var(--pad) + env(safe-area-inset-right)) 1.25rem calc(var(--pad) + env(safe-area-inset-left));
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}
.site-header.scrolled {
  border-color: transparent;
}

.logo { display: flex; flex-direction: column; gap: 1px; }
.logo strong {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.01em;
}
.logo span {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* Hamburger - únic desktop + mòbil */
.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  z-index: 310;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
  pointer-events: auto;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 0 10px rgba(0,0,0,0.45);
  transition: transform 0.35s var(--ease), opacity 0.2s, background 0.4s var(--ease);
  transform-origin: center;
}
.hamburger:hover {
  transform: translateX(-1px);
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0.7); }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Header adaptatiu: per defecte clar (sobre fons fosc) */
.logo strong { transition: color 0.4s var(--ease); }
.logo span   { transition: color 0.4s var(--ease); }
.hamburger span { transition: transform 0.35s var(--ease), opacity 0.2s, background 0.4s var(--ease); }

/* Sobre fons clar → elements foscos */
.site-header.on-light .logo strong { color: var(--black); }
.site-header.on-light .logo span   { color: var(--forest); }
.site-header.on-light .hamburger span {
  background: var(--black);
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
}

/* Sobre submenu verd → hamburger blanc */
.site-header.over-submenu .hamburger span {
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.45);
}

/* ══════════════════════════════════════════════════════════════
   NAV OVERLAY
══════════════════════════════════════════════════════════════ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  padding: calc(var(--pad) + 4rem + env(safe-area-inset-top)) calc(var(--pad) + env(safe-area-inset-right)) calc(var(--pad) + 2rem + env(safe-area-inset-bottom)) calc(var(--pad) + env(safe-area-inset-left));
  gap: var(--pad);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.nav-overlay.open { pointer-events: all; opacity: 1; }
.nav-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0, var(--red) 20px,
    var(--gold) 20px, var(--gold) 24px,
    var(--forest) 24px, var(--forest) 60px,
    var(--gold) 60px, var(--gold) 64px,
    var(--red) 64px, var(--red) 84px
  );
}

.nav-links { display: flex; flex-direction: column; gap: 0; }
.nav-links a {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.1em 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, padding-left 0.35s var(--ease);
}
.nav-links a:last-child { border-bottom: none; }
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
  padding-left: 0.4rem;
}
.nav-links a .n {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  align-self: center;
  opacity: 0.7;
}

.nav-side {
  border-left: 1px solid rgba(255,255,255,0.07);
  padding-left: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: center;
}
.nav-side-group { display: flex; flex-direction: column; gap: 0.45rem; }
.nav-side-group .label { color: rgba(255,255,255,0.3); margin-bottom: 0.4rem; }
.nav-side-group a {
  font-size: 0.88rem;
  color: var(--mist);
  font-weight: 300;
  transition: color 0.2s, padding-left 0.2s;
}
.nav-side-group a:hover,
.nav-side-group a.is-active {
  color: var(--gold-light);
  padding-left: 0.3rem;
}

.nav-footer {
  position: absolute;
  bottom: var(--pad); left: var(--pad); right: var(--pad);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-footer p { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--stone); }

@media (max-width: 640px) {
  .nav-overlay { grid-template-columns: 1fr; align-content: center; gap: 1rem; }
  .nav-side { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); padding-left: 0; padding-top: 1.25rem; }
  .nav-links a { font-size: clamp(1.15rem, 5.8vw, 1.9rem); padding: 0.05em 0; }
  .nav-footer { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   HERO - scroll-scrubbing + parallax fallback
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: var(--white);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 4;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0, var(--red) 20px,
    var(--gold) 20px, var(--gold) 24px,
    var(--forest) 24px, var(--forest) 60px,
    var(--gold) 60px, var(--gold) 64px,
    var(--red) 64px, var(--red) 84px
  );
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--forest);
  overflow: hidden;
}
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-media img {
  width: 100%; height: 120%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
  transform: translateY(0);
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(9,16,13,0.5) 0%, rgba(9,16,13,0.05) 25%),
    linear-gradient(to top,    rgba(9,16,13,0.92) 0%, rgba(9,16,13,0.3) 45%, transparent 70%);
}

/* Contingut centrat */
.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--pad) 3rem;
  width: 100%;
  max-width: 900px;
  animation: fadeUp 1.1s var(--ease) 0.1s both;
}


.hero-title {
  font-family: var(--f-display);
  font-size: clamp(5.5rem, 16vw, 14rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Stats horitzontals centrades */
.hero-stats {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 1.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.stat-link,
.stat-link:hover,
.stat-link:focus,
.stat-link:visited {
  color: inherit;
  text-decoration: none;
  cursor: default;
}
.stat-link:focus-visible {
  outline: none;
}
.stat strong {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat span {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
}

/* Indicador de scroll */
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  right: var(--pad);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  writing-mode: vertical-rl;
  animation: fadeUp 1s var(--ease) 0.6s both;
}
.hero-scroll::before {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: pulse 2s ease infinite;
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(3.5rem, 18vw, 4.2rem);
    letter-spacing: 0;
    max-width: 100%;
  }
  .hero-tagline {
    margin-bottom: 1.6rem;
  }
  .hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
  }
  .stat { min-width: 0; }
  .stat span {
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }
  .hero-scroll { display: none; }
  .hero-body { padding-bottom: 1rem; }
}

/* ══════════════════════════════════════════════════════════════
   SECCIÓ INTRO - text gran + 3 zones
══════════════════════════════════════════════════════════════ */
.intro-section {
  background: var(--white);
  padding: clamp(4rem, 8vw, 8rem) var(--pad);
}

.intro-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
}
.intro-top h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.intro-top h2 em { font-style: italic; color: var(--gold); }
.intro-top p {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  max-width: 420px;
  align-self: end;
}

.intro-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.zone-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  transition: border-color 0.25s, transform 0.35s var(--ease);
}
.zone-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.zone-card:hover .zone-img img { transform: scale(1.05); }

.zone-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mist);
}
.zone-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }

.zone-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.zone-days { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.zone-name { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
.zone-desc { font-size: 0.92rem; color: var(--stone); line-height: 1.6; font-weight: 300; }

@media (max-width: 900px) {
  .intro-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-zones { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   IMATGE TRENCAMENT - block visual ample
══════════════════════════════════════════════════════════════ */
.img-break {
  position: relative;
  height: clamp(300px, 45vw, 560px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.img-break-bg {
  position: absolute; inset: 0;
  background: var(--forest);
}
.img-break-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transform: scale(1.02);
  transition: transform 8s ease;
}
.img-break:hover .img-break-bg img { transform: scale(1); }
.img-break-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,16,13,0.75) 0%, transparent 55%);
}
.img-break-body {
  position: relative;
  z-index: 2;
  padding: var(--pad);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
}
.img-break-body blockquote {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  max-width: 640px;
  color: rgba(255,255,255,0.9);
}
.img-break-body cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
}

/* ══════════════════════════════════════════════════════════════
   TILES - jerarquia reestructurada
══════════════════════════════════════════════════════════════ */
.tiles-section {
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  background: var(--offwhite);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  gap: 1rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-head h2 em { font-style: italic; color: var(--gold); }
.section-head a {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-pale);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.section-head a:hover { border-color: var(--gold); }

/* Layout tiles:
   - Fila superior: 3 iguals (Ruta, Mapa, Pràctic)
   - Fila inferior: 3 iguals molt alts per a fotos de zona
*/
.tiles-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: var(--gap);
}
.tiles-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 900px) {
  .tiles-primary  { grid-template-columns: repeat(3, 1fr); }
  .tiles-secondary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tiles-primary  { grid-template-columns: 1fr; }
  .tiles-secondary { grid-template-columns: 1fr 1fr; }
}

.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
  background: var(--forest);
  text-decoration: none;
  transition: transform 0.35s var(--ease);
}

/* Alçades reestructurades */
.tiles-primary .tile         { height: 300px; }    /* tots iguals */
.tiles-secondary .tile       { height: 440px; }    /* molt més alts per fotos */

@media (max-width: 640px) {
  .tiles-primary .tile       { height: 260px; }
  .tiles-secondary .tile     { height: 300px; }
}

.tile:hover { transform: translateY(-4px); }
.tile:hover .tile-bg { transform: scale(1.05); }
.tile:hover .tile-arr { transform: translateX(4px); }

.tile-bg {
  position: absolute; inset: 0;
  transition: transform 0.65s var(--ease);
}
.tile-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.tile-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,16,13,0.92) 0%, rgba(9,16,13,0.05) 55%);
}

.tile-body { position: relative; z-index: 1; }
.tile-body .label { margin-bottom: 0.3rem; font-size: clamp(0.68rem, 1vw, 0.74rem); }
.tile-name {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
}
.tiles-primary .tile-name  { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.tiles-secondary .tile-name { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

.tile-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.35rem;
  font-weight: 300;
  line-height: 1.55;
}
/* Les tiles secundàries ara mostren la descripció (alçada suficient) */
.tiles-secondary .tile-desc { display: block; }

.tile-arr {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.3s var(--ease);
  font-style: normal;
}

/* ══════════════════════════════════════════════════════════════
   ZONES TRIO - bandes horitzontals apilades (100% ample)
══════════════════════════════════════════════════════════════ */
.zones-trio {
  display: flex;
  flex-direction: column;
}
.zone-panel {
  position: relative;
  width: 100%;
  height: clamp(360px, 48vw, 630px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  color: var(--white);
  text-decoration: none;
  border-bottom: 0px solid rgba(255,255,255,0.06);
}
.zone-panel:last-child { border-bottom: none; }
.zone-panel-bg {
  position: absolute;
  inset: 0;
  background: var(--forest);
}
.zone-panel-bg img,
.zone-panel-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.05);
  transition: transform 1.4s var(--ease), opacity 0.6s;
  will-change: transform;
}
.zone-panel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(9,16,13,0.78) 0%, rgba(9,16,13,0.25) 50%, transparent 75%),
    linear-gradient(to top,  rgba(9,16,13,0.5)  0%, transparent 40%);
}
.zone-panel:hover .zone-panel-bg img,
.zone-panel:hover .zone-panel-bg video {
  transform: scale(1);
  opacity: 0.8;
}
.zone-panel-body {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) var(--pad);
  max-width: 620px;
  text-align: right;
  transform: translateX(0);
  transition: transform 0.55s var(--ease);
}
.zone-panel:hover .zone-panel-body { transform: translateX(-10px); }
.zone-panel-body .label { margin-bottom: 0.55rem; }
.zone-panel-body h3 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.zone-panel-body p {
  font-size: clamp(0.88rem, 1.15vw, 1rem);
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
}
.zone-panel-arr {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.zone-panel:hover .zone-panel-arr { opacity: 1; transform: translateX(0); }

@media (max-width: 640px) {
  .zone-panel { height: clamp(270px, 75vw, 420px); justify-content: flex-start; }
  .zone-panel-body { text-align: left; }
  .zone-panel-body p { margin-left: 0; }
  .zone-panel-arr { justify-content: flex-start; }
  .zone-panel:hover .zone-panel-body { transform: none; }
  .zone-panel-arr { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════
   DIES - 4 columnes desktop
══════════════════════════════════════════════════════════════ */
.days-section {
  background: var(--dark);
  padding: clamp(3rem, 7vw, 6rem) var(--pad);
  position: relative;
  overflow: hidden;
}
.days-section-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.days-section-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.days-section-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.days-section .wrap { position: relative; z-index: 1; }
/* Mini-mapa al sidebar de fitxes de lloc */
.sidebar-mini-map { height: 220px; width: 100%; border: 1px solid rgba(0,0,0,0.07); isolation: isolate; }

.days-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: 2.5rem;
}
@media (max-width: 768px)  { .days-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .days-grid { grid-template-columns: 1fr; } }

.day-card {
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.4rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(255,255,255,0.02);
  transition: background 0.2s, border-color 0.25s, transform 0.35s var(--ease);
  text-decoration: none;
  color: var(--white);
}
.day-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(184,146,42,0.35);
  transform: translateY(-3px);
}

.day-num {
  font-family: var(--f-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(184,146,42,0.15);
  line-height: 1;
  letter-spacing: -0.02em;
}
.day-date {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.day-title {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.day-stops {
  font-size: 0.82rem;
  color: var(--stone);
  line-height: 1.6;
  font-weight: 300;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ══════════════════════════════════════════════════════════════
   IMATGE TRENCAMENT 2 - horitzontal meitat/meitat
   (mantenim els estils per compatibilitat, però no s'usa a index)
══════════════════════════════════════════════════════════════ */
.split-break {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(280px, 35vw, 460px);
}
.split-break-img {
  position: relative;
  overflow: hidden;
  background: var(--forest);
}
.split-break-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 8s ease;
}
.split-break:hover .split-break-img img { transform: scale(1.03); }

.split-break-text {
  background: var(--forest);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.split-break-text h3 {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}
.split-break-text h3 em { font-style: italic; color: var(--gold-light); }
.split-break-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  line-height: 1.75;
  max-width: 380px;
}
.split-break-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(184,146,42,0.3);
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color 0.2s;
}
.split-break-link:hover { border-color: var(--gold-light); }

@media (max-width: 640px) {
  .split-break { grid-template-columns: 1fr; }
  .split-break-img { height: 220px; }
}

/* ══════════════════════════════════════════════════════════════
   LOGÍSTICA
══════════════════════════════════════════════════════════════ */
.logistics-section {
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  background: var(--cream);
}

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 2.5rem;
}
@media (max-width: 768px) { .logistics-grid { grid-template-columns: 1fr; } }

.log-card { display: flex; flex-direction: column; gap: 0.85rem; }
.log-icon { font-size: 2rem; }
/* Enllaç ocult: la icona de la furgoneta porta a la pàgina de navegació */
.log-icon-link { color: inherit; text-decoration: none; cursor: pointer; line-height: 1; }
.log-icon-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.log-card h4 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.log-card ul { display: flex; flex-direction: column; gap: 0.35rem; }
.log-card li {
  font-size: 0.95rem;
  color: var(--forest);
  padding-left: 1rem;
  position: relative;
  font-weight: 300;
  line-height: 1.65;
}
.log-card li::before { content: '-'; position: absolute; left: 0; color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   FOOTER - banda tartan
══════════════════════════════════════════════════════════════ */
.site-footer {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   PÀGINES INTERNES (components reutilitzables)
══════════════════════════════════════════════════════════════ */

/* Hero intern */
.page-hero {
  position: relative;
  height: clamp(450px, 55vw, 700px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  margin-top: 0;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 3;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0, var(--red) 20px,
    var(--gold) 20px, var(--gold) 24px,
    var(--forest) 24px, var(--forest) 60px,
    var(--gold) 60px, var(--gold) 64px,
    var(--red) 64px, var(--red) 84px
  );
}
.page-hero-bg { position: absolute; inset: 0; background: var(--forest); }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; will-change: transform; }
.page-hero-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  will-change: transform;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,16,13,0.9), transparent 60%);
  z-index: 1;
}
.page-hero-content { z-index: 2; }
.page-hero-content {
  position: relative; z-index: 2;
  padding: var(--pad);
  padding-top: calc(var(--pad) + 4rem);
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}
.page-hero-content .label { margin-bottom: 0.5rem; }
.page-hero-content h1 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Cos de pàgina */
.page-body {
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad);
  max-width: var(--max-w);
  margin-inline: auto;
}

/* Layouts reutilitzats a pàgines amb molt contingut */
.day-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem var(--pad);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  background: var(--white);
}
.day-nav > * { min-width: 0; }

.day-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.15rem;
  align-items: start;
}
.day-main {
  min-width: 0;
  width: 100%;
}
.day-main > * {
  width: 100%;
}
.day-main > p:first-child,
.day-main > div:first-child p {
  max-width: none !important;
}
.day-sidebar {
  position: sticky;
  top: calc(62px + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.day-summary-card {
  background: var(--cream);
  padding: 1.35rem;
  border-left: 2px solid var(--gold);
}
.day-intro {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.route-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.route-summary-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-content: start;
}
.route-days-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 4rem;
}
.route-map {
  width: 100%;
  height: 500px;
  background: var(--mist);
  border: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 4rem;
}

.practica-transport-grid,
.practica-stays-grid,
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.tips-grid { gap: 1.25rem; }
.practica-cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.shared-maps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.shared-map-card {
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(27,45,33,0.1);
  border-left: 4px solid var(--shared-map-accent, var(--gold));
  background: #fff;
}
.shared-map-card--places { --shared-map-accent: var(--highland); }
.shared-map-card--food { --shared-map-accent: var(--gold); }
.shared-map-kicker {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--shared-map-accent, var(--gold));
}
.shared-map-card h3 {
  margin-bottom: 0.65rem;
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.05;
  color: var(--forest);
}
.shared-map-card p {
  margin-bottom: 1.25rem;
  color: var(--stone);
  line-height: 1.7;
  font-weight: 300;
}
.shared-map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.85rem 1rem;
  background: var(--shared-map-accent, var(--gold));
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease);
}
.shared-map-button:hover {
  transform: translateY(-1px);
  background: var(--forest);
  color: #fff;
}

@media (max-width: 1100px) {
  .practica-transport-grid,
  .practica-stays-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .day-layout { grid-template-columns: 1fr; }
  .route-summary { gap: 2rem; }
  .route-days-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practica-cost-grid { grid-template-columns: 1fr; }
  .shared-maps-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .day-nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.7rem;
  }
  .day-nav > :first-child,
  .day-nav > :last-child {
    flex: 1 1 100%;
    text-align: center;
  }
  .day-footer-nav {
    flex-direction: column;
  }
  .day-footer-link,
  .day-footer-link--next {
    width: 100%;
    margin-left: 0;
  }
  .route-summary,
  .route-summary-facts,
  .practica-transport-grid,
  .practica-stays-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .day-nav > div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .res-table--activitats th:nth-child(2),
  .res-table--activitats td:nth-child(2),
  .res-table--activitats th:nth-child(3),
  .res-table--activitats td:nth-child(3) {
    display: none;
  }
  .res-table--cost th:nth-child(3),
  .res-table--cost td:nth-child(3) {
    display: none;
  }
}

@media (max-width: 480px) {
  .route-days-grid { grid-template-columns: 1fr; }
  .route-map { height: 360px; }
}

/* Layout de fitxa: article + sidebar */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 30%;
  gap: 3rem;
  align-items: start;
}
.page-layout-side {
  position: sticky;
  top: calc(62px + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr 28%; gap: 2rem; }
}
@media (max-width: 768px) {
  .page-layout { grid-template-columns: 1fr; gap: 2rem; }
  .page-layout-side { position: static; }
}

/* Article */
.article { width: 100%; }
.article p { margin-bottom: 1.1rem; font-size: 1.1rem; line-height: 1.85; font-weight: 300; }
.article a { font-size: 1rem; }
.article h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-top: 2.75rem; margin-bottom: 1.1rem; }
.article h3 { font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; }

/* Infobox clàssica (dins article) */
.infobox {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin-block: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
@media (max-width: 480px) { .infobox { grid-template-columns: 1fr; } }
.info-item { display: flex; flex-direction: column; gap: 3px; }
.info-item .label { font-size: clamp(0.68rem, 1vw, 0.74rem); color: var(--stone); }
.info-item strong { font-size: 0.92rem; font-weight: 500; }

/* Placeholder imatge */
.img-ph {
  background: var(--mist);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem;
  color: var(--stone);
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; padding: 1rem;
}
.img-ph-ico { font-size: 2rem; opacity: 0.3; }
.img-ph.r-16-9 { aspect-ratio: 16/9; }
.img-ph.r-4-3  { aspect-ratio: 4/3; }
.img-ph.r-3-4  { aspect-ratio: 3/4; }
.img-ph.r-1-1  { aspect-ratio: 1; }

/* Timeline */
.timeline { position: relative; padding-left: 2.5rem; border-left: 1px solid rgba(0,0,0,0.1); }
.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-dot {
  position: absolute; left: -2.625rem; top: 0.35em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--forest); border: 2px solid var(--offwhite);
  box-shadow: 0 0 0 2px var(--forest);
}
.tl-item--start .tl-dot {
  background: var(--black) !important;
  box-shadow: 0 0 0 2px var(--black) !important;
}
.tl-item--start .tl-time,
.tl-item--start .tl-title,
.tl-item--start .tl-text {
  color: var(--black) !important;
}
.tl-time { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.35rem; }
.tl-title { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.55rem; }
.tl-text { font-size: 1rem; color: var(--forest); line-height: 1.8; max-width: none; font-weight: 300; }
.tl-link { display: inline-block; margin-top: 0.5rem; font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold-pale); }
.tl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}
.tl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.9rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(27,45,33,0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--stone);
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.045em;
  line-height: 1;
}
.tl-pill--accent {
  border-color: rgba(184,146,42,0.4);
  background: rgba(184,146,42,0.08);
  color: var(--gold);
}
.tl-pill--reserved {
  border-color: rgba(22,101,52,0.18);
  background: #edf8f0;
  color: #166534;
}
.tl-cal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.5rem 0.86rem;
  border: 1px solid rgba(184,146,42,0.95);
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.065em;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(9,16,13,0.12);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
  text-decoration: none;
}
.tl-cal:hover {
  transform: translateY(-1px);
  background: #a77f1e;
  box-shadow: 0 12px 24px rgba(9,16,13,0.16);
}
.tl-cal svg { width: 13px; height: 13px; flex: 0 0 auto; }
.tl-track {
  background: var(--highland);
  color: #fff;
  border-color: var(--highland);
  box-shadow: 0 8px 18px rgba(41,128,29,0.18);
}
.tl-track:hover {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  box-shadow: 0 12px 24px rgba(27,45,33,0.18);
}
.tl-item--poi { padding-bottom: 1rem; }
.tl-dot--poi { background: #a9b0b6; box-shadow: 0 0 0 1.5px #a9b0b6; width: 7px; height: 7px; top: 0.25em; }
.tl-poi-box { background: rgba(0,0,0,0.026); border-radius: 8px; padding: 0.5rem 0.85rem; max-width: 500px; }
.tl-poi-label { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: #a9b0b6; text-transform: uppercase; margin-bottom: 0.25rem; }
.tl-poi-title { font-size: 0.82rem; font-weight: 500; color: var(--stone); margin-bottom: 0.15rem; }
.tl-poi-text { font-size: 0.75rem; color: var(--stone); line-height: 1.55; font-weight: 300; opacity: 0.8; }

.day-reserves {
  background: #67323e !important;
  color: var(--white);
  padding: 1.45rem;
}
.day-reserves .label { color: var(--gold-light) !important; margin-bottom: 1rem; }
.day-reserves p { color: inherit; }

/* Mapa inline de dia */
.day-map-container { width: 100%; max-width: none; aspect-ratio: 1 / 1; background: var(--mist); margin-block: 2.5rem; border: 1px solid rgba(0,0,0,0.07); isolation: isolate; }

/* Food cards */
.food-section-title {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.food-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 1100px) { .food-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .food-grid { grid-template-columns: 1fr; } }

.food-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.food-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.food-img { width: 100%; aspect-ratio: 3/2; overflow: hidden; background: var(--mist); }
.food-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.food-card:hover .food-img img { transform: scale(1.05); }
.food-body { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.food-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.food-type { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.food-price { font-family: var(--f-mono); font-size: 0.7rem; color: var(--stone); font-weight: 400; }
.food-name { font-family: var(--f-display); font-size: 1.16rem; font-weight: 700; line-height: 1.2; }
.food-desc { font-size: 0.9rem; color: var(--stone); line-height: 1.6; font-weight: 300; }
.food-details { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; margin-top: auto; padding-top: 0.65rem; }
.food-rating,
.food-price-detail { display: inline-flex; align-items: center; gap: 0.32rem; font-family: var(--f-mono); font-size: 0.68rem; line-height: 1.35; white-space: nowrap; }
.food-rating { color: var(--forest); }
.food-detail-label { color: var(--stone); }
.food-price-scale { display: inline-flex; gap: 0.08rem; color: rgba(120, 113, 108, 0.34); letter-spacing: 0; }
.food-price-scale .is-active { color: var(--gold); }
.food-price-range { color: var(--gold); font-weight: 700; letter-spacing: 0; }
.food-foot { padding: 0.75rem 1.1rem; border-top: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.food-addr { font-size: 0.72rem; color: var(--stone); font-weight: 300; min-width: 0; }
.food-badge { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border: 1px solid rgba(0,0,0,0.12); color: var(--stone); white-space: nowrap; }
.food-badge.reserve { border-color: var(--gold); color: var(--gold); }
.food-badge.closed { border-color: #c0392b; color: #c0392b; }
.food-actions { display: flex; align-items: center; gap: 0.45rem; margin-left: auto; }
.food-map-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--forest);
  border: 1px solid rgba(0,0,0,0.14);
  background: var(--white);
  text-decoration: none;
}
.food-map-btn:hover { color: var(--white); background: var(--forest); border-color: var(--forest); }
.food-call-btn { color: var(--gold); }
.food-call-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.food-map-btn svg { width: 14px; height: 14px; }

.food-map-marker {
  width: 22px;
  height: 22px;
  position: relative;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--food-marker-color);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--food-marker-color);
  color: #fff;
}
.food-map-marker--main {
  width: 24px;
  height: 24px;
  border-width: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 0 0 1px var(--food-marker-color);
}
.food-map-marker svg {
  width: 13px;
  height: 13px;
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  overflow: visible;
  transform: translate(-50%, -50%);
}
.food-map-marker--main svg {
  width: 15px;
  height: 15px;
}

/* Related cards - 4 en desktop */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 2rem; }
@media (max-width: 900px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .related { grid-template-columns: 1fr; } }
.rel-card { display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; color: inherit; transition: transform 0.35s var(--ease); }
.rel-card:hover { transform: translateY(-3px); }
.rel-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--mist); }
.rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.rel-card:hover .rel-img img { transform: scale(1.04); }
.rel-card .label { font-size: clamp(0.68rem, 1vw, 0.74rem); }
.rel-card h4 { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.rel-card p { font-size: 0.9rem; }

/* Sempre 4 cards visibles */

/* Taula reserves */
.res-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-bottom: 2rem; }
.res-table th { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); text-align: left; padding: 0.6rem 0.9rem; border-bottom: 2px solid var(--gold); font-weight: 400; }
.res-table td { padding: 0.8rem 0.9rem; border-bottom: 1px solid rgba(0,0,0,0.06); vertical-align: top; font-weight: 300; line-height: 1.55; }
.res-table tr:hover td { background: var(--cream); }

/* Badges de reserves */
.res-badge { display: inline-block; font-family: var(--f-mono); font-size: 0.62rem; padding: 3px 8px; border-radius: 4px; line-height: 1.4; white-space: nowrap; font-weight: 600; letter-spacing: 0.03em; }
.res-badge--pending { background: var(--gold); color: var(--white); }
.res-badge--confirmed { background: var(--forest); color: var(--white); }
.res-badge--pass { background: var(--sage); color: var(--white); }
.res-badge--optional { background: rgba(0,0,0,0.1); color: var(--stone); }

/* Cost box */
.cost-box { background: var(--dark); color: var(--white); padding: 1.75rem; }
.cost-box-title { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); font-weight: 400; margin-bottom: 1.25rem; }
.cost-row { display: flex; justify-content: space-between; align-items: baseline; padding-block: 0.65rem; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.88rem; gap: 1rem; }
.cost-row:last-of-type { border-bottom: none; }
.cost-row span { color: rgba(255,255,255,0.78); font-weight: 300; }
.cost-row strong { font-family: var(--f-mono); color: var(--gold-light); font-size: 0.88rem; }
.cost-total { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(184,146,42,0.3); display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; }
.cost-total strong { color: var(--gold-light); }

/* Mapa Leaflet */
#map-full { width: 100%; height: 100svh; margin-top: 0; }
.leaflet-popup-content-wrapper { background: var(--dark) !important; color: var(--white) !important; border-radius: 0 !important; border: 1px solid rgba(184,146,42,0.25) !important; box-shadow: 0 6px 28px rgba(0,0,0,0.5) !important; }
.leaflet-popup-tip { background: var(--dark) !important; }
.leaflet-popup-content { margin: 0.9rem !important; }
.popup-name { font-family: var(--f-display); font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.popup-cat  { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }
.popup-link { display: block; margin-top: 0.6rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }

/* ══════════════════════════════════════════════════════════════
   ANIMACIONS
══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Infobox al lateral de fitxa ─────────────────────────────── */
.sidebar-infobox {
  border: 1px solid rgba(0,0,0,0.09);
  background: #fafafa;
  padding: 1.1rem;
  margin-bottom: 1.25rem;
}
.sidebar-infobox .info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: 0.55rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.sidebar-infobox .info-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-infobox .info-item .label { font-size: clamp(0.68rem, 1vw, 0.74rem); color: var(--stone); }
.sidebar-infobox .info-item strong { font-size: 0.9rem; font-weight: 500; color: var(--black); font-family: var(--f-body); }

/* ── Fitxes generals de lloc ───────────────────────────────── */
.story-intro {
  background: #f3f1ec;
  color: var(--black);
  padding: 2rem 2.25rem;
  margin-bottom: 2.75rem;
}
.story-intro p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--black);
  margin-bottom: 0.9rem;
}
.story-intro p:last-child { margin-bottom: 0; }
.section-block {
  margin-bottom: 2.9rem;
  padding-bottom: 0.25rem;
}
.section-label,
.deck-name,
.kp-title {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}
.section-block h2 {
  font-family: var(--f-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  color: var(--highland);
  line-height: 1.12;
  margin: 0 0 1.1rem;
}
.section-block p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--stone);
}
.highlight-quote {
  padding: 0.95rem 1.35rem;
  margin: 1.5rem 0;
  background: var(--cream);
}
.highlight-quote p {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--highland);
  margin: 0;
}
.deck-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.deck-card {
  border: 1px solid rgba(0,0,0,0.09);
  padding: 1.2rem;
  background: #fff;
}
.deck-card h4 {
  font-size: 0.9rem;
  color: var(--highland);
  margin-bottom: 0.4rem;
}
.deck-card p {
  font-size: 0.84rem;
  color: var(--stone);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .deck-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .deck-grid {
    grid-template-columns: 1fr;
  }
}
.key-points {
  border: 0;
  background: var(--cream);
  padding: 1.35rem;
}
.key-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.kp-group ul { list-style: none; padding: 0; margin: 0; }
.kp-group li {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}
.kp-group li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.kp-group h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--highland);
  margin-bottom: 0.45rem;
}
.closing-block {
  padding: 1.5rem;
  background: var(--highland);
  color: #fff;
}
.closing-block p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 0.9rem;
}
.closing-block p:last-child { margin-bottom: 0; }

/* ── Imatges dins l'article ──────────────────────────────────── */
.article-img {
  width: 100%;
  margin-bottom: 2rem;
  overflow: hidden;
}
.article-img--lead { margin-bottom: 2.5rem; }
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-img.r-16-9 { aspect-ratio: 16/9; }
.article-img.r-4-3  { aspect-ratio: 4/3; }

.context-figure {
  margin: 2.25rem 0;
}
.context-figure .article-img {
  margin-bottom: 0.75rem;
  background: var(--mist);
}
.context-figure .article-img.media-fallback {
  position: relative;
}
.context-figure .article-img.media-fallback::after {
  content: "IMATGE PENDENT · " attr(data-image);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--stone);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}
.context-figure figcaption {
  color: var(--stone);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Franja audiovisual full-width dins les fitxes */
.scroll-video-band {
  position: relative;
  width: 100vw;
  min-height: clamp(360px, 72vh, 780px);
  margin: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  isolation: isolate;
}
.scroll-video,
.scroll-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scroll-video {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.scroll-video-fallback {
  opacity: 0.82;
  transition: opacity 0.45s ease;
}
.scroll-video-band.is-ready .scroll-video { opacity: 1; }
.scroll-video-band.is-ready .scroll-video-fallback { opacity: 0; }
.scroll-video-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.62), rgba(0,0,0,0.16) 48%, rgba(0,0,0,0.42)),
    linear-gradient(0deg, rgba(0,0,0,0.62), transparent 34%, transparent 68%, rgba(0,0,0,0.38));
  pointer-events: none;
}
.scroll-video-caption {
  position: absolute;
  left: max(var(--pad), calc((100vw - var(--max-w)) / 2 + var(--pad)));
  bottom: clamp(2rem, 7vw, 5rem);
  z-index: 2;
  max-width: min(560px, calc(100vw - var(--pad) * 2));
}
.scroll-video-caption .label {
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}
.scroll-video-caption p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.04;
  max-width: 13ch;
}
@media (max-width: 640px) {
  .scroll-video-band {
    min-height: 64vh;
  }
  .scroll-video-caption {
    bottom: 2rem;
  }
  .scroll-video-caption p {
    max-width: 11ch;
  }
}

.article [class$="-intro"] {
  background: #f3f1ec;
  color: var(--black);
  padding: 2rem 2.25rem;
  margin-bottom: 2.75rem;
}
.article [class$="-intro"] p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--black);
}
.article [class$="-intro"] em { color: var(--highland); }

.related-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.section-kicker { margin-bottom: 1.5rem; }

.places-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0,0,0,0.08);
  margin-top: 2rem;
}
.places-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 1rem 1.15rem;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.places-index a:hover,
.places-index a:focus-visible {
  background: var(--black);
  color: var(--white);
}
.places-index span {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 700;
  line-height: 1.2;
}
.places-index small {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--stone);
}
.places-index a:hover small,
.places-index a:focus-visible small {
  color: rgba(255,255,255,0.65);
}
@media (max-width: 900px) {
  .places-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .places-index { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   GALERIA - carrusel horitzontal a peu d'article
══════════════════════════════════════════════════════════════ */
/* Galeria: mantenim .gallery-strip com a fallback */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-bottom: 3rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--mist);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .img-ph {
  aspect-ratio: unset;
  height: 100%;
}
.gallery-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(0,0,0,0.18);
  background: var(--cream);
  color: var(--stone);
  padding: 1rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* Separador de secció galeria */
.gallery-section-label {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery-strip { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════════════════════ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
#lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,16,13,0.96);
  cursor: pointer;
}
.lb-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  transition: opacity 0.2s;
}
.lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 1.4rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  border: none;
  transition: color 0.2s, background 0.2s;
}
.lb-close:hover { color: var(--white); background: rgba(255,255,255,0.15); }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  background: rgba(255,255,255,0.07);
  border: none;
  transition: color 0.2s, background 0.2s;
}
.lb-prev:hover, .lb-next:hover { color: var(--white); background: rgba(255,255,255,0.15); }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }
.lb-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
}

/* Utilitats */
.text-gold  { color: var(--gold); }
.text-stone { color: var(--stone); }
.text-success { color: #16a34a !important; }
.italic     { font-style: italic; }
.mt-xs { margin-top: 0.5rem; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }

/* ══════════════════════════════════════════════════════════════
   PÀGINA UNIFICADA DE ZONES (llocs.html)
══════════════════════════════════════════════════════════════ */

/* Barra d'ancoratge ràpid entre zones */
.zones-quick-nav {
  position: sticky;
  top: 62px;
  z-index: 40;
  display: flex;
  gap: 0;
  background: var(--forest);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.zones-quick-nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s, background 0.2s;
}
.zones-quick-nav a:last-child { border-right: none; }
.zones-quick-nav a:hover { color: var(--white); background: rgba(255,255,255,0.06); }

/* Hero de secció de zona (substitueix page-hero dins de llocs.html) */
.zone-section-hero {
  position: relative;
  height: clamp(260px, 36vw, 400px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  scroll-margin-top: 104px;
}
.zone-section-hero .page-hero-bg { position: absolute; inset: 0; background: var(--forest); }
.zone-section-hero .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.zone-section-hero .page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,16,13,0.9), transparent 60%);
}
.zone-section-hero .page-hero-content {
  position: relative; z-index: 2;
  padding: var(--pad);
  padding-top: 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}
.zone-section-hero h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--white);
}

/* Separador visual entre zones */
.zone-separator {
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0, var(--red) 20px,
    var(--gold) 20px, var(--gold) 24px,
    var(--forest) 24px, var(--forest) 60px,
    var(--gold) 60px, var(--gold) 64px,
    var(--red) 64px, var(--red) 84px
  );
  opacity: 0.5;
}

@media (max-width: 640px) {
  .zones-quick-nav a { font-size: 0.68rem; padding: 0.75rem 0.5rem; }
}

/* ── Curiositats i Anècdotes ────────────────────────────────── */
.curiosities-box {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 2px;
}
.curiosities-box h3 {
  font-family: var(--f-subtitle);
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.curiosities-box h3 svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--gold);
}
.curiosities-box ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
}
@media (max-width: 640px) {
  .curiosities-box ul { grid-template-columns: 1fr; }
}
.curiosities-box li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.curiosities-box li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font-size: 0.85rem;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ══ TIMELINE DE REIS (altres-dades.html) ══════════════════════ */
.king-timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
}
.king-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 20px;
  width: 2px;
  background: rgba(184,146,42,0.2);
  z-index: 0;
}
@media (min-width: 768px) {
  .king-timeline::before {
    left: 40px;
  }
}

.king-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(9, 16, 13, 0.9);
  border: 1px solid rgba(184,146,42,0.15);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
@media (min-width: 768px) {
  .king-card {
    flex-direction: row;
    padding: 2rem;
    margin-left: 80px;
  }
  .king-card::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: -45px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px var(--dark), 0 0 0 5px rgba(184,146,42,0.4);
  }
}

.king-img {
  width: 140px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--mist);
}
.king-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.king-body {
  flex: 1;
}

.king-name {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.king-reign {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.king-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 640px) {
  .king-meta { grid-template-columns: 1fr 1fr; }
}
.king-meta-item {
  display: flex;
  flex-direction: column;
}
.king-meta-label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2px;
}
.king-meta-val {
  font-weight: 500;
  color: var(--mist);
}

.king-history {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--stone);
}
.king-history p { margin-bottom: 0.75rem; }
.king-history p:last-child { margin-bottom: 0; }

.king-curiosity {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(184,146,42,0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  color: var(--mist);
}
.king-curiosity strong {
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

/* ── DETAILS / ACORDIÓ (Pàgina Altres Dades) ── */
details.king-card {
  transition: all 0.3s ease;
}
details.king-card[open] {
  background: rgba(9, 16, 13, 1);
  padding-bottom: 2rem;
}
.king-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--white);
  margin: 0;
}
.king-summary::-webkit-details-marker {
  display: none;
}
.king-summary-icon {
  font-family: var(--f-mono);
  font-size: 2rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}
details.king-card[open] .king-summary-icon {
  transform: rotate(180deg); /* Converteix el ▼ en ▲ */
  color: var(--gold-light);
}
.king-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  animation: slideDown 0.3s ease-out forwards;
}
@media (min-width: 768px) {
  .king-content {
    flex-direction: row;
  }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { transition: none; }
  html { scroll-behavior: auto; }
}


/* ── FULL WIDTH SUBMENU ── */
.full-submenu {
  background: var(--title-green);
  border-bottom: 1px solid rgba(184,146,42,0.2);
  border-top: 1px solid rgba(184,146,42,0.2);
  overflow-x: auto;
  position: sticky;
  top: 60px; /* Sota la capçalera fixa si n'hi ha */
  z-index: 100;
  /* Per amagar l'scroll a webkit */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.full-submenu::-webkit-scrollbar {
  display: none;
}
.full-submenu-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.full-submenu a {
  padding: 1rem 1.5rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--f-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.full-submenu a:first-child {
}
.full-submenu a:hover, .full-submenu a:focus {
  background: rgba(0,0,0,0.15);
  color: #fff;
}

/* ════════════════════════════════════════════════════════════
   SIDEBAR COMPONENTS: Curiositats + Al nostre viatge
   ════════════════════════════════════════════════════════════ */

/* ── Curiositats slideshow ───────────────────────────────────── */
.sidebar-curiosities {
  background: #2d1b22;
  padding: 1.25rem;
}
.sidebar-curiosities .sc-header .label {
  font-family: var(--f-display);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-light);
}
.sidebar-curiosities .sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.sidebar-curiosities .sc-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.sidebar-curiosities .sc-count {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  min-width: 26px;
  text-align: center;
}
.sidebar-curiosities .sc-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--gold-light);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0;
  transition: background 0.18s;
  flex-shrink: 0;
}
.sidebar-curiosities .sc-btn:hover { background: rgba(255,255,255,0.08); }
.sc-items { position: relative; min-height: 60px; }
.sidebar-curiosities .sc-items {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-item {
  display: none;
  font-family: var(--f-display);
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: center;
  color: rgba(255,255,255,0.92);
}
.sc-item.active { display: block; }

.calendar-cta,
.sidebar-map-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.1rem;
  text-decoration: none;
  border: 1px solid var(--gold);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.calendar-cta {
  background: var(--gold);
  color: #fff;
  box-shadow: none;
}
.sidebar-map-button {
  background: #fff;
  color: var(--highland);
  margin-top: 0.75rem;
}
.sidebar-track-button {
  border-color: var(--highland);
  background: var(--highland);
  color: #fff;
}
.sidebar-trip {
  background: transparent;
  padding: 0;
  border: 0;
}
.sidebar-trip .st-title,
.sidebar-trip .st-day,
.sidebar-trip .st-map { display: none; }
.sidebar-trip .st-links { display: block; }
.sidebar-trip .st-cal {
  width: 100%;
  min-height: 48px;
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  justify-content: center;
}

/* ── Components pràctics reutilitzables ───────────────────── */
.content-section {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.content-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
/* Blocs consecutius dins d'una mateixa secció (taula + graella + nota):
   mantenen el mateix ritme vertical que títol → contingut (2rem). */
.content-section > .res-table + .tips-grid,
.content-section > .res-table + .note-box,
.content-section > .tips-grid + .note-box,
.content-section > .tips-grid + .res-table,
.content-section > .note-box + .res-table,
.content-section > .note-box + .tips-grid {
  margin-top: 2rem;
}
/* L'últim bloc no arrossega marge: el separador ja el dona la secció. */
.content-section > *:last-child { margin-bottom: 0; }
.label-spaced { margin-bottom: 1rem; }
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
}
.data-card {
  background: var(--forest);
  color: var(--white);
  padding: 1.75rem;
}
.data-card .label {
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.data-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.data-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.data-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.data-row span { color: rgba(255,255,255,0.78); }
.data-row strong { color: inherit; text-align: right; }
.text-gold-light { color: var(--gold-light) !important; }
.note-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}
.note-box p {
  font-size: 0.85rem;
  color: var(--forest);
  line-height: 1.7;
}
.note-box--compact {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
}
.pass-card-copy {
  font-size: 0.85rem;
  color: var(--forest);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.pass-card-list {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--stone);
  line-height: 1.6;
}
.text-link-mono {
  display: block;
  margin-top: 1rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.text-link-mono--compact {
  margin-top: 0.75rem;
  font-size: 0.72rem;
}
.stay-card {
  border-top: 3px solid var(--gold);
  padding-top: 1.25rem;
}
.stay-card .label { margin-bottom: 0.75rem; }
.stay-title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.stay-copy {
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.stay-address {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--forest);
}
.stay-cost {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}
.stay-cost span,
.muted-cell { color: var(--stone); }
.fine-note {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  color: var(--sage);
  margin-top: 0.4rem;
}
.mono-cell {
  font-family: var(--f-mono);
  font-size: 0.72rem;
}
.muted-cell { font-size: 0.78rem; }
.res-badge--paid { background: #16a34a; color: #fff; }
.res-badge--none { background: #4b5563; color: #fff; }
.total-box {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--forest);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.total-label {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.total-value {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-light);
}
.tip-card {
  background: var(--cream);
  padding: 1.5rem;
}
.tip-card--dark {
  background: var(--forest);
  color: var(--white);
}
.tip-icon {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.tip-title {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.tip-card--dark .tip-title { color: var(--white); }
.tip-copy {
  font-size: 0.82rem;
  color: var(--forest);
  line-height: 1.65;
  font-weight: 300;
}
.tip-card--dark .tip-copy { color: rgba(255,255,255,0.6); }

/* ── Pàgina mapa ───────────────────────────────────────────── */
body.map-page { overflow: hidden; }
body.map-page #header { z-index: 1300; }
body.map-page #header .hamburger {
  position: relative;
  z-index: 1310;
}
body.map-page #nav-overlay { z-index: 1290; }
body.map-page #map-full {
  position: fixed;
  inset: 0;
  width: 100%;
}
body.map-page .site-footer {
  margin-top: 0;
  position: relative;
  z-index: 70;
}
.map-panel {
  position: fixed;
  top: 62px;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--dark);
  z-index: 50;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  border-right: 1px solid rgba(184,146,42,0.15);
}
.map-panel.open { transform: translateX(0); }
.map-panel::-webkit-scrollbar { width: 4px; }
.map-panel::-webkit-scrollbar-track { background: transparent; }
.map-panel::-webkit-scrollbar-thumb { background: rgba(184,146,42,0.3); }
.panel-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  background: var(--dark);
  z-index: 1;
}
.panel-header h2 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.panel-header p {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.panel-section { padding: 1rem 1.5rem 0.5rem; }
.panel-section--last { padding-bottom: 2rem; }
.panel-section-title {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.panel-section-title--d1 { color: #c2410c; }
.panel-section-title--d2 { color: #5b21b6; }
.panel-section-title--highlands { color: #1a7a3a; }
.panel-section-title--skye { color: #1565c0; }
.panel-section-title--return { color: #c0392b; }
.panel-section-title--poi { color: var(--poi-muted); }
.map-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: padding-left 0.2s;
  text-decoration: none;
}
.map-item:hover { padding-left: 0.35rem; }
.map-item:last-child { border-bottom: none; }
.map-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.dot-d1  { background: #c2410c; }
.dot-d2  { background: #5b21b6; }
.dot-hig { background: #1a7a3a; }
.dot-d6  { background: #1565c0; }
.dot-sky { background: #fb923c; }
.dot-poi { background: var(--poi-muted); }
.dot-rut { background: #c0392b; }
.dot-airport {
  background: #78716c;
  border-radius: 3px;
}
.map-item-nom {
  font-family: var(--f-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.map-item:has(.dot-poi) .map-item-nom {
  color: var(--poi-muted);
}
.map-item-info {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 1px;
}
.map-toggle {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 60;
  background: var(--dark);
  border: 1px solid rgba(184,146,42,0.3);
  border-left: none;
  color: var(--gold);
  padding: 0.85rem 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  cursor: pointer;
  transition: background 0.2s, left 0.35s var(--ease);
}
.map-toggle:hover { background: var(--forest); }
.map-toggle.panel-open { left: min(320px, 86vw); }
.filter-bar {
  position: fixed;
  top: 72px;
  right: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.filter-btn {
  padding: 0.4rem 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(9,16,13,0.85);
  backdrop-filter: blur(8px);
  color: var(--mist);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--white);
}
.map-route-label {
  background: rgba(9,16,13,0.9);
  border: 1px solid rgba(184,146,42,0.72);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.35);
}
@media (max-width: 640px) {
  .filter-bar { display: none; }
}

/* ── Al nostre viatge (sidebar) ──────────────────────────────── */
.sidebar-trip {
  border: 0;
  padding: 0;
  background: transparent;
}
.sidebar-trip .st-title {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  display: block;
  margin-bottom: 0.85rem;
}
.sidebar-trip .st-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.sidebar-trip .st-day {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.sidebar-trip .st-day:hover { background: var(--gold); color: var(--white); }
.sidebar-trip .st-map {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-pale);
  padding-bottom: 1px;
  text-decoration: none;
}
.sidebar-trip .st-cal {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.95rem 1rem;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.18s, border-color 0.18s;
}
.sidebar-trip .st-cal:hover { background: var(--gold-light); border-color: var(--gold-light); }


/* ══════════════════════════════════════════════════════════════
   ALTRES DADES - components específics
══════════════════════════════════════════════════════════════ */
/* Submenu enganxat: gestionat per JS, top setejat dinàmicament */
.altres-page .full-submenu.stuck { position: fixed; left: 0; right: 0; width: 100%; z-index: 150; }

/* Anchors: compensar el submenu sticky */
.altres-page h2[id], .altres-page h3[id], .altres-page .royal-house-label[id] { scroll-margin-top: 100px; }

/* Layout 2/3 article + 1/3 sidebar per aquesta pàgina */
.altres-page .page-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 1024px) { .altres-page .page-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; } }
@media (max-width: 800px) { .altres-page .page-layout { grid-template-columns: 1fr; } }

/* ── Sidebar ──────────────────────────────── */
.altres-page .sidebar { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 0; }
@media (max-width: 800px) { .altres-page .sidebar { position: static; } }

.altres-page .sidebar-block {
  background: var(--dark);
  border: 1px solid rgba(184,146,42,0.18);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.altres-page .sidebar-block-title {
  font-family: var(--f-mono);
  font-size: clamp(0.68rem, 1.1vw, 0.75rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(184,146,42,0.15);
  background: rgba(184,146,42,0.05);
}
.altres-page .sidebar-block-subtitle {
  font-family: var(--f-mono);
  font-size: clamp(0.58rem, 0.95vw, 0.64rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0.55rem 1.1rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Vocab - fons clar, lletra fosca */
#vocabular { background: #eef2ee !important; border-color: rgba(0,0,0,0.1) !important; }
#vocabular .sidebar-block-title { color: #1b2d21; background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.1); }
#vocabular .sidebar-block-subtitle { color: #4a6355; border-color: rgba(0,0,0,0.08); }
#vocabular .sidebar-note { color: #4a6355; border-color: rgba(0,0,0,0.08); }
#vocabular .sidebar-note strong { color: #1b2d21; }

.vocab-list { padding: 0.4rem 0; }
.vocab-item {
  padding: 0.6rem 1.1rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.vocab-item:last-child { border-bottom: none; }
.vocab-cat {
  display: block; font-family: var(--f-mono); font-size: clamp(0.6rem, 1vw, 0.66rem);
  letter-spacing: 0.1em; text-transform: uppercase; color: #1b2d21;
  margin-bottom: 0.2rem; font-weight: 600;
}
.vocab-en { display: block; font-size: 0.92rem; color: #09100d; line-height: 1.3; margin-bottom: 0.1rem; }
.vocab-ga { display: block; font-size: 0.82rem; color: #4a6355; font-style: italic; }

.altres-page .sidebar-note {
  padding: 1rem 1.1rem;
  font-size: 0.8rem;
  color: var(--stone);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.altres-page .sidebar-note strong { color: var(--gold-light); font-family: var(--f-mono); font-size: clamp(0.58rem, 0.95vw, 0.64rem);
  letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 0.3rem; }

/* ── Carousel Reialesa ──────────────────────── */
.kc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.kc-arrows { display: flex; gap: 0.5rem; }
.kc-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(184,146,42,0.35);
  background: rgba(9,16,13,0.8);
  color: var(--gold); font-size: 1.1rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.kc-arrow:hover:not(:disabled) { background: rgba(184,146,42,0.15); border-color: var(--gold); }
.kc-arrow:disabled { opacity: 0.3; cursor: default; }

.kc-track-clip {
  overflow: hidden;
  padding: 14px 8px;
  margin: -14px -8px;
  cursor: grab;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
}
.kc-track-clip:active { cursor: grabbing; }
.kc-track {
  display: flex; gap: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform; user-select: none;
}

/* Fitxa de rei */
.kc-card {
  flex: 0 0 180px; width: 180px;
  background: var(--forest);
  border: 1px solid rgba(184,146,42,0.2);
  border-top: 10px solid var(--hcolor, rgba(184,146,42,0.35));
  border-radius: 10px; overflow: hidden;
  cursor: pointer; text-align: left; font: inherit; padding: 0;
  position: relative; opacity: 0.75;
  transition: border-color 0.25s, transform 0.25s, opacity 0.25s;
}
.kc-card:hover {
  transform: scale(1.06); opacity: 1;
  border-color: rgba(184,146,42,0.4); border-top-color: var(--hcolor);
}
.kc-card.active {
  transform: scale(1.09); opacity: 1;
  border-color: rgba(184,146,42,0.5); border-top-color: var(--hcolor);
}
/* Veïns de la targeta activa: s'allunyen lleugerament */
.kc-card:has(+ .kc-card.active) { transform: translateX(-10px); }
.kc-card.active + .kc-card    { transform: translateX(10px); }

/* Grayscale només a la imatge, no a la banda de color */
.kc-card-img { width: 100%; aspect-ratio: 4/5; overflow: hidden; background: rgba(255,255,255,0.04); position: relative; filter: grayscale(1); transition: filter 0.25s; }
.kc-card:hover .kc-card-img, .kc-card.active .kc-card-img { filter: none; }
.kc-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.kc-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,16,13,0.92) 0%, rgba(9,16,13,0.25) 50%, transparent 75%);
}
.kc-card-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; padding: 0.75rem 0.85rem; }
.kc-card-name { font-family: var(--f-display); font-size: 1.35rem; font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 0.2rem; }
.kc-card-reign { font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.kc-pretender-badge {
  position: absolute; top: 0.55rem; right: 0.55rem; z-index: 2;
  background: rgba(9,16,13,0.75); color: var(--hcolor, #B8922A);
  border: 1px solid var(--hcolor, #B8922A);
  font-family: var(--f-mono); font-size: clamp(0.58rem, 0.9vw, 0.64rem); letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.2rem 0.45rem; border-radius: 4px;
  line-height: 1.4;
}

/* Panel de detall */
.kc-detail-panel {
  position: relative;
  margin-top: 2rem;
  background: #f3efe6;
  border: 1px solid rgba(0,0,0,0.1);
  border-top: 12px solid var(--kc-house-color, var(--gold));
  border-radius: 10px;
  padding: 1.5rem;
  display: flex; gap: 1.1rem; align-items: flex-start;
  animation: kcFadeIn 0.22s ease;
}
.kc-detail-panel::before {
  content: '';
  position: absolute;
  top: -20px;
  left: var(--kc-arrow-x, 90px);
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 10px solid var(--kc-house-color, var(--gold));
  transition: left 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
@keyframes kcFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .kc-detail-panel { flex-direction: column; } }

.kc-detail-body { flex: 1; min-width: 0; }
.kc-house-tag {
  display: block; font-family: var(--f-mono); font-size: 1rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  color: var(--kc-house-color, var(--gold));
  margin-bottom: 0.4rem;
}
.kc-detail-name { font-family: var(--f-display); font-size: 2rem; font-weight: 900; color: var(--kc-house-color, #111); line-height: 1.05; margin-bottom: 0.15rem; }
.kc-detail-nick { font-style: italic; font-weight: 400; font-size: 0.88em; color: #555; }
.kc-detail-reign { font-family: var(--f-mono); font-size: clamp(0.75rem, 1.1vw, 0.82rem); letter-spacing: 0.14em; text-transform: uppercase; color: #666; display: inline-block; margin-bottom: 0.85rem; }
.kc-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem 0.75rem; margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid rgba(0,0,0,0.1); }
@media (max-width: 700px) { .kc-meta { grid-template-columns: 1fr 1fr; } }
.kc-meta-item { display: flex; flex-direction: column; gap: 3px; }
.kc-meta-label { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #666; font-weight: 600; }
.kc-meta-val { font-size: 0.9rem; color: #222; font-weight: 500; line-height: 1.3; }
.kc-history { font-size: 0.95rem; line-height: 1.7; color: #333; margin-bottom: 0.75rem; }
.kc-curiosity { padding: 0.7rem 0.9rem; background: rgba(0,0,0,0.05); border-left: 3px solid var(--kc-house-color, var(--gold)); border-radius: 0 8px 8px 0; font-size: 0.88rem; color: #444; line-height: 1.6; }
.kc-curiosity-label { display: block; font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kc-house-color, var(--gold)); margin-bottom: 0.25rem; font-weight: 700; }
.kc-llocs { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(0,0,0,0.1); }
.kc-llocs-label { display: block; font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kc-house-color, var(--gold)); font-weight: 700; margin-bottom: 0.65rem; }
.kc-lloc-list { display: flex; flex-direction: column; gap: 0.6rem; }
.kc-lloc-item { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.5rem 0.7rem; background: rgba(0,0,0,0.04); border-radius: 6px; border-left: 3px solid var(--kc-house-color, var(--gold)); text-decoration: none; transition: background 0.15s; }
.kc-lloc-item:hover { background: rgba(0,0,0,0.08); }
.kc-lloc-name { font-size: 0.9rem; font-weight: 700; color: var(--kc-house-color, #333); }
.kc-lloc-rel { font-size: 0.82rem; color: #555; line-height: 1.5; }

.kc-pretender-note {
  margin-bottom: 0.85rem; padding: 0.6rem 0.85rem;
  background: rgba(139,26,26,0.07); border-left: 3px solid #8B1A1A;
  border-radius: 0 6px 6px 0; font-size: 0.88rem; color: #4a1a1a; line-height: 1.55;
}
.kc-pretender-note-label {
  display: block; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #8B1A1A; font-weight: 700; margin-bottom: 0.2rem;
}

/* Etiqueta de casa reial */
.royal-house-label {
  font-family: var(--f-mono); font-size: clamp(0.65rem, 1vw, 0.72rem); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-top: 3.5rem; margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.royal-house-label::after { content: ''; flex: 1; height: 1px; background: rgba(184,146,42,0.2); }
.royal-house-label + h2 { margin-top: 0.25rem !important; }

/* ── Secció Tartans ──────────────────────── */
.tartan-colors-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem; margin: 1.75rem 0 2.5rem;
}
.tartan-color-row { display: flex; align-items: center; gap: 0.7rem; }
.tartan-color-swatch { width: 28px; height: 28px; border-radius: 3px; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.1); }
.tartan-color-info { display: flex; flex-direction: column; gap: 1px; }
.tartan-color-name { font-family: var(--f-mono); font-size: clamp(0.65rem, 1vw, 0.72rem); letter-spacing: 0.08em; text-transform: uppercase; color: var(--title-green); }
.tartan-color-meaning { font-size: 0.84rem; color: var(--stone); font-weight: 300; }

.tartan-clans-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem; margin: 1.75rem 0;
}
.tartan-clan-card { background: var(--dark); border: 1px solid rgba(184,146,42,0.12); border-radius: 5px; overflow: hidden; }
.tartan-swatch { height: 48px; width: 100%; display: block; }
.tartan-clan-body { padding: 0.9rem 1rem; }
.tartan-clan-name { font-family: var(--f-display); font-size: 0.95rem; font-weight: 800; color: var(--white); margin-bottom: 0.25rem; }
.tartan-clan-desc { font-size: 0.8rem; color: var(--stone); line-height: 1.5; font-weight: 300; }

.tartan-note {
  background: var(--cream); border-left: 3px solid var(--gold);
  padding: 1.1rem 1.4rem; font-size: 0.9rem; color: var(--forest);
  line-height: 1.7; margin-top: 2rem; border-radius: 0 3px 3px 0;
}
.tartan-note strong {
  color: var(--gold); font-family: var(--f-mono); font-size: clamp(0.65rem, 1vw, 0.72rem);
  letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 0.35rem;
}

/* ── Gastronomia ──────────────────────── */
.gastro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.9rem;
  margin: 1.5rem 0 1rem;
}
.gastro-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gastro-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.gastro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gastro-body { padding: 0.95rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.45rem; }
.gastro-meta {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.gastro-name {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #1b2d21;
  line-height: 1.15;
}
.gastro-desc { font-size: 0.9rem; color: #4a6355; line-height: 1.6; font-weight: 300; }
.gastro-zone {
  margin-top: auto;
  padding-top: 0.45rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6d7f72;
}

/* ── Responsive mòbil / tablet ──────────────────────────── */
.altres-page .page-layout > * { min-width: 0; }
#king-browser { width: 100%; min-width: 0; }
.tartan-clan-card, .tartan-clan-desc, .kc-meta-val, .kc-history, .kc-lloc-rel { min-width: 0; overflow-wrap: anywhere; }

/* En mòbil el sidebar va DARRERE de l'article */
@media (max-width: 800px) {
  .altres-page .sidebar { order: 2; margin-top: 2rem; }
  .altres-page .page-body { padding-inline: clamp(0.95rem, 4.3vw, 1.25rem); }
  .article p { font-size: clamp(0.98rem, 3.4vw, 1.05rem); line-height: 1.72; }
}
@media (max-width: 800px) and (min-width: 481px) {
  .altres-page .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
  .sidebar-block { margin-bottom: 0; }
}

/* Submenu: mida reduïda en mòbil */
@media (max-width: 640px) {
  .full-submenu a { padding: 0.7rem 0.8rem; font-size: 0.72rem; letter-spacing: 0.03em; }
}

/* Panel de detall del carousel: ajustos tipogràfics */
@media (max-width: 480px) {
  .kc-detail-name { font-size: 1.55rem; }
  .kc-detail-panel { padding: 1.1rem; gap: 0.85rem; }
  .kc-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .kc-meta { grid-template-columns: 1fr; }
  .kc-card { flex: 0 0 155px; width: 155px; }
}

/* Tartan grids: 1 columna en mòbil petit */
@media (max-width: 480px) {
  .tartan-colors-list { grid-template-columns: 1fr; }
  .tartan-clans-grid { grid-template-columns: 1fr !important; }
}

/* Carousel: evitar overflow horitzontal en mòbil */
@media (max-width: 800px) {
  .kc-top { flex-wrap: wrap; gap: 0.5rem; }
  .kc-top h3 { font-size: 1rem; }
  .kc-track { gap: 1rem; }
}
@media (max-width: 560px) {
  .kc-card {
    flex: 0 0 clamp(136px, 43vw, 166px);
    width: clamp(136px, 43vw, 166px);
  }
  .kc-card-name { font-size: clamp(1.02rem, 4.8vw, 1.24rem); }
  .kc-card-reign { font-size: 0.74rem; letter-spacing: 0.04em; }
  .kc-detail-panel::before { display: none; }
  .kc-detail-panel { margin-top: 1.35rem; border-top-width: 9px; }
  .kc-detail-reign { letter-spacing: 0.09em; }
  .tartan-colors-list,
  .tartan-clans-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .kc-track-clip { margin: -10px -4px; padding: 10px 4px; }
  .kc-detail-panel { padding: 1rem; border-radius: 8px; }
  .kc-meta { grid-template-columns: 1fr; }
  .kc-card:has(+ .kc-card.active),
  .kc-card.active + .kc-card { transform: none; }
}

/* ── Classes genèriques per labels/valors del sidebar ── */
.sb-label {
  display: block; font-family: var(--f-mono); font-size: clamp(0.6rem, 1vw, 0.67rem);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.15rem;
  color: var(--gold);
}
.sb-val    { font-size: 1rem;  font-weight: 400; color: #ffffff; }
.sb-val-sm { font-size: 0.9rem; font-weight: 400; color: #ffffff; }
.sb-absurd {
  font-size: 0.88rem; line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 0.75rem; color: var(--mist);
}

/* ── Dades Ràpides — CLAR: blau cel highland ── */
#dades-rapides { background: #d5e9f5 !important; border-color: rgba(21,101,170,0.25) !important; }
#dades-rapides .sidebar-block-title { background: rgba(21,101,170,0.1); color: #0d4a80; border-color: rgba(21,101,170,0.2); }
#dades-rapides .sb-label { color: #1565aa; }
#dades-rapides .sb-val  { color: #0a2a45; }

/* ── Telèfons Útils — FOSC: vermell escarlata ── */
#telefons { background: #781212 !important; border-color: rgba(255,180,180,0.2) !important; }
#telefons .sidebar-block-title { background: rgba(0,0,0,0.2); color: #ffd8d8; border-color: rgba(255,180,180,0.15); }
#telefons .sb-label { color: #ffb5b5; }
#telefons .sb-val  { color: #fff0f0; }

/* ── Horaris i Costums — CLAR: mel i whisky ── */
#horaris { background: #f5e4a8 !important; border-color: rgba(100,60,0,0.2) !important; }
#horaris .sidebar-block-title { background: rgba(100,60,0,0.1); color: #5a3000; border-color: rgba(100,60,0,0.15); }
#horaris .sb-label  { color: #7a4400; }
#horaris .sb-val-sm { color: #2a1400; }

/* ── Dades absurdes ── */
#absurdes { background: #1b4d2e !important; border-color: rgba(216,245,223,0.2) !important; }
#absurdes .sidebar-block-title { background: rgba(0,0,0,0.2); color: #d8f5df; border-color: rgba(216,245,223,0.18); }
#absurdes .sb-absurd { color: #e0f2e4; border-color: rgba(216,245,223,0.55); }

/* ── Pel·lícules & Sèries — FOSC: blau cinema saturat ── */
#cinema { background: #0c1e50 !important; border-color: rgba(140,185,255,0.2) !important; }
#cinema .sidebar-block-title { background: rgba(0,0,0,0.2); color: #c8dcfc; border-color: rgba(140,185,255,0.15); }
#cinema .cinema-group-label { border-color: rgba(140,185,255,0.15) !important; color: rgba(200,220,252,0.9) !important; }
#cinema .cinema-item { border-color: rgba(140,185,255,0.1) !important; }
#cinema .cinema-title { color: #ddeafc; }
#cinema .cinema-year  { color: rgba(200,220,252,0.6); }
#cinema .cinema-desc  { color: #a8c4ec; }
#cinema .cinema-tag   { color: rgba(180,210,255,0.82); }

/* ── Bloc Pel·lícules i Sèries ────────────────────── */
.cinema-list { padding: 0.3rem 0; }
.cinema-group-label {
  font-family: var(--f-mono); font-size: clamp(0.58rem, 0.95vw, 0.66rem); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  padding: 0.6rem 1.1rem 0.4rem;
  border-bottom: 1px solid rgba(184,146,42,0.12);
  display: flex; align-items: center; gap: 0.5rem;
}
.cinema-group-label::after { content:''; flex:1; height:1px; background:currentColor; opacity:0.25; }
.cinema-item {
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid rgba(184,146,42,0.08);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.cinema-item:last-child { border-bottom: none; }
.cinema-item-top { display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap; }
.cinema-title { font-size: 0.88rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.cinema-year  { font-family: var(--f-mono); font-size: clamp(0.55rem, 0.9vw, 0.62rem); letter-spacing: 0.08em; color: var(--stone); }
.cinema-desc  { font-size: 0.76rem; color: var(--stone); line-height: 1.55; font-weight: 300; }
.cinema-tag   { font-family: var(--f-mono); font-size: clamp(0.55rem, 0.9vw, 0.62rem); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(184,146,42,0.5); }
.cinema-platforms { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.1rem; }
.plat {
  font-family: var(--f-mono); font-size: clamp(0.55rem, 0.9vw, 0.62rem); letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.15rem 0.45rem; border-radius: 3px;
  font-weight: 700; line-height: 1.6; white-space: nowrap;
}
.plat-netflix  { background: #c1060f; color: #fff; }
.plat-disney   { background: #1050c8; color: #fff; }
.plat-prime    { background: #0c7b9e; color: #fff; }
.plat-mubi     { background: #1a1a1a; color: #f5f5f5; }
.plat-britbox  { background: #0a3055; color: #fff; }
.plat-apple    { background: #3a3a3c; color: #fff; }
.plat-digital  { background: #555; color: #eee; }

/* ══ EQUIPATGE INFOGRAFIA ════════════════════════════════════ */
.luggage-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
}
@media (max-width: 860px) {
  .luggage-wrap { grid-template-columns: 1fr; }
}

.luggage-panel {
  background: var(--forest);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(184,146,42,0.18);
}

/* Capçalera del panel */
.luggage-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.lph--ryanair { background: rgba(255,80,0,0.12); }
.lph--easyjet { background: rgba(255,106,0,0.1); }

.lph-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.lph-flight {
  font-family: var(--f-mono);
  font-size: clamp(0.6rem, 0.95vw, 0.68rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: 0.75;
}
.lph-airline {
  font-family: var(--f-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.lph-route {
  font-family: var(--f-mono);
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.lph-badge {
  font-family: var(--f-mono);
  font-size: clamp(0.6rem, 0.9vw, 0.66rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.lph-badge--priority { background: rgba(184,146,42,0.2); color: var(--gold-light); border: 1px solid rgba(184,146,42,0.35); }
.lph-badge--standard { background: rgba(255,255,255,0.07); color: var(--mist); border: 1px solid rgba(255,255,255,0.15); }

/* Fila de bosses */
.luggage-bags-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 1rem 0.5rem;
}

.luggage-bag-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

.luggage-placement {
  font-family: var(--f-mono);
  font-size: clamp(0.58rem, 0.9vw, 0.64rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 3px;
  white-space: nowrap;
}
.luggage-placement--overhead {
  background: rgba(41,128,29,0.2);
  color: #8ecf7a;
  border: 1px solid rgba(41,128,29,0.3);
}
.luggage-placement--underseat {
  background: rgba(184,146,42,0.12);
  color: var(--gold-light);
  border: 1px solid rgba(184,146,42,0.25);
}

/* SVG infografia */
.lbag-svg {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
}

.lbag-name {
  font-family: var(--f-heading);
  font-size: clamp(0.8rem, 1.2vw, 0.92rem);
  font-weight: 700;
  color: var(--cream);
  text-align: center;
  line-height: 1.2;
}
.lbag-dims {
  font-family: var(--f-mono);
  font-size: clamp(0.68rem, 1vw, 0.76rem);
  color: var(--mist);
  text-align: center;
  letter-spacing: 0.04em;
}
.lbag-dims strong { color: var(--gold-light); }

.lbag-status {
  font-family: var(--f-mono);
  font-size: clamp(0.6rem, 0.9vw, 0.66rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 3px;
  white-space: nowrap;
}
.lbag-status--ok    { background: rgba(41,128,29,0.2); color: #8ecf7a; border: 1px solid rgba(41,128,29,0.3); }
.lbag-status--check { background: rgba(180,120,0,0.15); color: #d4a040; border: 1px solid rgba(180,120,0,0.3); }
.lbag-status--no    { background: rgba(122,32,48,0.2); color: #d47a88; border: 1px solid rgba(122,32,48,0.3); }

/* Separador + */
.luggage-plus {
  font-family: var(--f-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--stone);
  padding: 0 0.35rem;
  padding-bottom: 2.5rem;
  flex-shrink: 0;
  align-self: flex-end;
}

/* Nota peu del panel */
.luggage-panel-note {
  font-family: var(--f-body);
  font-size: clamp(0.78rem, 1.1vw, 0.85rem);
  color: var(--mist);
  line-height: 1.6;
  text-align: center;
  padding: 0.9rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 0;
}
.luggage-panel-note strong { color: var(--cream); }

/* Responsive estret */
@media (max-width: 420px) {
  .lbag-svg { max-width: 130px; }
  .luggage-bags-row { padding: 1rem 0.5rem 0.25rem; }
}
