/* =============================================
   ART VISIT GUIDE — Main Stylesheet
   Merged from homepage.html + Ghost post styles
   ============================================= */

:root {
  /* Primary — Granate */
  --granate-900: #5C0000;
  --granate-700: #8B0000;
  --granate-500: #B52020;
  --granate-300: #D97070;
  --granate-100: #F7E8E8;
  --granate-050: #FDF3F3;

  /* Cream — backgrounds */
  --cream-900: #BFB4A8;
  --cream-700: #D6CBBF;
  --cream-500: #EDE3D9;
  --cream-300: #F5EEE6;
  --cream-100: #FFF8F0;
  --cream-000: #FFFCF9;

  /* Gold — accent */
  --gold-700: #A07D42;
  --gold-500: #C9A96E;
  --gold-300: #E2CFA0;
  --gold-100: #F5EDD9;

  /* Ink — text */
  --ink-900: #1A1A1A;
  --ink-700: #333333;
  --ink-500: #555555;
  --ink-300: #999999;
  --ink-100: #CCCCCC;

  /* Typography */
  --font-serif: 'Libre Bodoni', Georgia, serif;
  --font-sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale (rem / px) */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.25rem;    /* 20px */
  --text-xl: 1.75rem;    /* 28px */
  --text-2xl: 2.5rem;    /* 40px */

  /* Spacing — 4px base */
  --space-1:  0.25rem;    /*  4px */
  --space-2:  0.5rem;     /*  8px */
  --space-3:  0.75rem;    /* 12px */
  --space-4:  1rem;       /* 16px */
  --space-5:  1.25rem;    /* 20px */
  --space-6:  1.5rem;     /* 24px */
  --space-8:  2rem;       /* 32px */
  --space-10: 2.5rem;     /* 40px */
  --space-12: 3rem;       /* 48px */
  --space-16: 4rem;       /* 64px */
  --space-20: 5rem;       /* 80px */
  --space-24: 6rem;       /* 96px */

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-full: 9999px;

  /* Shadows — warm-tinted, not cool gray */
  --shadow-xs:     0 1px 2px  rgba(90,30,10,0.06);
  --shadow-sm:     0 2px 8px  rgba(90,30,10,0.08);
  --shadow-md:     0 4px 16px rgba(90,30,10,0.10);
  --shadow-lg:     0 8px 32px rgba(90,30,10,0.12);
  --shadow-granate: 0 4px 20px rgba(139,0,0,0.25);

  /* Layout */
  --max-width:  1200px;
  --nav-height: 64px;

  /* Paper design tokens */
  --paper-bg: #FFF8F0;
  --paper-text: #2D2A26;
  --paper-text-muted: #6B6560;
  --paper-text-light: #9B9590;
  --paper-cream-btn: #F5F0E1;
  --paper-border: #D4C4A8;
  --paper-terracotta: #C67B5C;

  /* Backward compatibility for post styles */
  --avg-granate: #8B0000;
  --avg-granate-dark: #6B0000;
  --avg-cream: #FFF8F0;
  --avg-warm: #F5F0E1;
  --avg-text: #1a1a1a;
  --avg-text-muted: #6B6560;
  --avg-border: #D4C4A8;
  --avg-white: #fff;
}

/* ════════════════════════════════════════════
   RESET + BASE — mobile-first
════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--ink-700);
  background: var(--cream-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul[role="list"] { list-style: none; }

/* Visible focus for keyboard navigation (WCAG 2.1 AA) */
:focus-visible {
  outline: 2px solid var(--granate-700);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip to content — screen readers + keyboard users */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--granate-700);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: var(--space-2); }

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

@media (min-width: 768px)  { .container { padding: 0 var(--space-6); } }
@media (min-width: 1024px) { .container { padding: 0 var(--space-8); } }

/* Section header — reusable across sections */
.section-header {
  margin-bottom: var(--space-6);
}
.section-header__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}
.section-header__sub {
  font-size: var(--text-sm);
  color: var(--ink-500);
  line-height: 1.6;
}
@media (min-width: 768px) {
  .section-header { margin-bottom: var(--space-10); }
  .section-header__title { font-size: 24px; }
}
@media (min-width: 1024px) {
  .section-header { margin-bottom: var(--space-10); }
  .section-header__title { font-size: var(--text-xl); }
  .section-header__sub { font-size: var(--text-base); }
}


/* ════════════════════════════════════════════
   BUTTONS — two variants, three sizes
════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px; /* Apple minimum touch target */
}

.btn--sm   { font-size: 13px;           padding: 0 var(--space-4); height: 36px; min-height: 36px; }
.btn--md   { font-size: var(--text-sm); padding: 0 var(--space-6); height: 48px; }
.btn--lg   { font-size: var(--text-base); padding: 0 var(--space-8); height: 52px; }
.btn--full { width: 100%; }

.btn--primary { background: var(--granate-700); color: white; }
.btn--primary:hover { background: var(--granate-500); box-shadow: var(--shadow-granate); }
.btn--primary:active { transform: scale(0.98); }

.btn--secondary { background: transparent; color: var(--granate-700); border: 1.5px solid var(--granate-700); }
.btn--secondary:hover { background: var(--granate-050); }

.btn--gold { background: var(--gold-500); color: var(--ink-900); font-weight: 600; }
.btn--gold:hover { background: var(--gold-700); color: white; }
.btn--gold:active { transform: scale(0.98); }

/* ════════════════════════════════════════════
   NAV
════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream-100);
  transition: box-shadow 0.2s ease;
}

.nav--scrolled { box-shadow: var(--shadow-xs); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.nav__logo {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--granate-700);
  transition: color 0.15s;
  flex-shrink: 0;
}
.nav__logo:hover { color: var(--granate-900); }

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

.nav__links a {
  font-size: 13px;
  color: var(--paper-text);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--granate-700); }

.nav__links .btn {
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  min-height: 36px;
  height: 36px;
  border-radius: 2px;
  background: var(--granate-700);
  color: var(--paper-cream-btn);
}
.nav__links .btn:hover {
  background: var(--granate-500);
}

.nav__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-700);
  border-radius: var(--radius-md);
  transition: background 0.15s;
}
.nav__hamburger:hover { background: var(--cream-300); }

/* Mobile menu */
.nav__mobile {
  border-top: 1px solid var(--cream-500);
  background: var(--cream-100);
  padding: var(--space-4) var(--space-5) var(--space-6);
}
.nav__mobile[hidden] { display: none; }

.nav__mobile ul { margin-bottom: var(--space-4); }

.nav__mobile li a {
  display: flex;
  align-items: center;
  height: 48px;
  font-size: var(--text-base);
  color: var(--ink-700);
  border-bottom: 1px solid var(--cream-500);
  transition: color 0.15s;
}
.nav__mobile li:last-child a { border-bottom: none; }
.nav__mobile li a:hover { color: var(--granate-700); }

/* Desktop */
@media (min-width: 768px) {
  .nav__inner     { padding: 0 var(--space-20); }
  .nav__links     { display: flex; }
  .nav__hamburger { display: none; }
  .nav__mobile    { display: none !important; }
}


/* ════════════════════════════════════════════
   ENTRANCE ANIMATIONS
════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__rule      { animation: scaleIn 0.6s ease-out both; }
  .hero__headline  { animation: fadeUp 0.7s ease-out 0.15s both; }
  .hero__subhead   { animation: fadeUp 0.6s ease-out 0.3s both; }
  .hero__cta-row   { animation: fadeUp 0.6s ease-out 0.45s both; }
  .hero__trust     { animation: fadeIn 0.8s ease-out 0.6s both; }
  .hero__testimonial { animation: fadeIn 0.8s ease-out 0.75s both; }
}


/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */

.hero {
  background: var(--cream-100);
  padding: var(--space-12) var(--space-5);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
  max-width: 720px;
  margin: 0 auto;
}

.hero__rule {
  width: 48px;
  height: 2px;
  background: rgba(139, 0, 0, 0.35);
  border: none;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--granate-700);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__subhead {
  font-size: 16px;
  color: var(--paper-text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.hero__cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.hero__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--granate-700);
  color: var(--paper-cream-btn);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}
.hero__btn-primary:hover {
  background: var(--granate-500);
  box-shadow: var(--shadow-granate);
}

.hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--paper-text);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  border-radius: 2px;
  border: 1px solid var(--paper-border);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.hero__btn-secondary:hover {
  border-color: var(--paper-text-light);
  background: rgba(255, 248, 240, 0.5);
}

.hero__trust {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-text-light);
}

/* Testimonial */
.hero__testimonial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 0 var(--space-5) var(--space-16);
}

.hero__testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-border);
  flex-shrink: 0;
}

.hero__testimonial-text {
  font-size: 14px;
  color: var(--paper-text-muted);
  line-height: 1.5;
}

.hero__testimonial-author {
  font-size: 11px;
  color: var(--paper-text-light);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero { padding: var(--space-16) var(--space-20); }
  .hero__headline { font-size: 48px; }
  .hero__subhead  { font-size: 18px; }
  .hero__cta-row  { flex-direction: row; }
}

@media (min-width: 1024px) {
  .hero { padding: 100px var(--space-20) var(--space-20); }
  .hero__headline { font-size: 56px; }
}


/* ════════════════════════════════════════════
   GUIDES SECTION
════════════════════════════════════════════ */

.guides {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  padding: var(--space-16) var(--space-5);
  max-width: 1440px;
  margin: 0 auto;
}

/* Section header */
.guides__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.guides__header-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.guides__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-text-light);
  margin-bottom: var(--space-2);
}

.guides__title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 400;
  color: var(--paper-text);
  line-height: 1.2;
}

.guides__view-all {
  font-size: 13px;
  color: var(--granate-700);
  transition: color 0.15s;
  flex-shrink: 0;
}
.guides__view-all:hover { color: var(--granate-900); }

/* City tabs */
.guides__cities {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.guides__city {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 2px;
  cursor: default;
}

.guides__city--active {
  background: var(--paper-text);
  color: var(--paper-cream-btn);
}

.guides__city--disabled {
  border: 1px solid rgba(212, 196, 168, 0.4);
  color: rgba(155, 149, 144, 0.6);
  opacity: 0.35;
}

.guides__coming-soon {
  font-size: 10px;
  color: rgba(155, 149, 144, 0.5);
  padding-left: var(--space-2);
}

/* Featured card (Picasso) */
.guides__featured {
  display: flex;
  flex-direction: column;
  background: var(--paper-text);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  min-height: 300px;
}
.guides__featured:hover {
  box-shadow: var(--shadow-lg);
}
.guides__featured:hover .guides__card-link {
  letter-spacing: 0.08em;
}
.guides__featured .guides__card-link {
  transition: letter-spacing 0.25s ease;
}

.guides__featured-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: flex-end;
  padding: var(--space-8) var(--space-6);
  flex: 1;
}

.guides__featured-name {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 400;
  color: var(--paper-cream-btn);
  line-height: 1.15;
}

.guides__featured-desc {
  font-size: 14px;
  color: rgba(245, 240, 225, 0.7);
  line-height: 1.6;
  max-width: 380px;
}

.guides__featured-image {
  background: #3D3A36;
  min-height: 200px;
  overflow: hidden;
}

.guides__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.guides__featured:hover .guides__featured-image img { transform: scale(1.03); }

/* Shared card label + link */
.guides__card-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-text-light);
}

.guides__featured .guides__card-label {
  color: rgba(245, 240, 225, 0.5);
}

.guides__card-link {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--granate-700);
  transition: color 0.15s;
}

.guides__featured .guides__card-link {
  color: var(--paper-terracotta);
}

.guides__card-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--paper-text);
  line-height: 1.25;
}

.guides__card-desc {
  font-size: 13px;
  color: var(--paper-text-muted);
  line-height: 1.5;
}

/* Medium cards (Miró, MNAC) */
.guides__row-2 {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.guides__card-medium {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.guides__card-medium:hover { box-shadow: var(--shadow-md); }
.guides__card-medium:hover .guides__card-link { letter-spacing: 0.08em; }
.guides__card-medium .guides__card-link { transition: letter-spacing 0.25s ease; }
.guides__card-medium:hover .guides__card-image img { transform: scale(1.03); }
.guides__card-image img { transition: transform 0.4s ease; }

.guides__card-image {
  height: 180px;
  background: #E8E0D6;
  overflow: hidden;
}

.guides__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guides__card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-6);
}

/* Small cards (MACBA, Tàpies, MEAM) */
.guides__row-3 {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.guides__card-small {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 2px;
  padding: var(--space-6);
  transition: box-shadow 0.2s;
}
.guides__card-small:hover { box-shadow: var(--shadow-md); }
.guides__card-small:hover .guides__card-link { letter-spacing: 0.08em; }
.guides__card-small .guides__card-link { transition: letter-spacing 0.25s ease; }

/* Tablet */
@media (min-width: 600px) {
  .guides { padding: var(--space-16) var(--space-6); }

  .guides__row-2 {
    flex-direction: row;
    gap: var(--space-5);
  }
  .guides__card-medium { flex: 1; }

  .guides__row-3 {
    flex-direction: row;
    gap: var(--space-5);
  }
  .guides__card-small { flex: 1; }
}

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

  .guides__title { font-size: 32px; }
}

@media (min-width: 1024px) {
  .guides { padding: var(--space-16) var(--space-20); }

  .guides__featured {
    flex-direction: row;
    min-height: 400px;
  }

  .guides__featured-text {
    width: 50%;
    padding: var(--space-10);
  }

  .guides__featured-image {
    width: 50%;
    min-height: unset;
  }

  .guides__featured-name { font-size: 36px; }
}


/* ════════════════════════════════════════════
   DIFFERENTIATION BANNER
════════════════════════════════════════════ */

.diff-banner {
  background: var(--granate-700);
  padding: var(--space-16) var(--space-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.diff-banner__headline {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--paper-cream-btn);
  line-height: 1.5;
  max-width: 640px;
}

.diff-banner__sub {
  font-size: 16px;
  color: rgba(245, 240, 225, 0.7);
}

@media (min-width: 768px) {
  .diff-banner { padding: 72px var(--space-20); }
  .diff-banner__headline { font-size: 28px; }
}


/* ════════════════════════════════════════════
   LEAD MAGNET
════════════════════════════════════════════ */

.lead {
  padding: var(--space-16) var(--space-5);
  max-width: 1440px;
  margin: 0 auto;
}

.lead__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.lead__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.lead__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-text-light);
}

.lead__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--paper-text);
  line-height: 1.2;
}

.lead__desc {
  font-size: 16px;
  color: var(--paper-text-muted);
  line-height: 1.6;
}

.lead__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-5);
  list-style: none;
}

.lead__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--paper-text);
}

.lead__bullets li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--granate-700);
  flex-shrink: 0;
}

/* Form area */
.lead__form-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: var(--space-2);
}

.lead__choose {
  font-size: 11px;
  color: var(--paper-text);
}

.lead__museums {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lead__museum {
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  border: 1px solid var(--paper-border);
  border-radius: 2px;
  background: transparent;
  color: var(--paper-text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.lead__museum--active {
  background: var(--paper-text);
  color: var(--paper-cream-btn);
  border-color: var(--paper-text);
}

.lead__museum:hover:not(.lead__museum--active) {
  border-color: var(--paper-text-light);
}

.lead__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.lead__field { position: relative; }

.lead__input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--paper-border);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-900);
  background: transparent;
  transition: border-color 0.15s;
}

.lead__input::placeholder { color: var(--paper-text-light); font-size: 13px; }
.lead__input:focus { outline: none; border-color: var(--granate-700); }

.lead__input[aria-invalid="true"] { border-color: #d44; }

.lead__error {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: #d44;
  text-align: left;
}

.lead__submit {
  padding: 12px 24px;
  background: var(--granate-700);
  color: var(--paper-cream-btn);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.lead__submit:hover { background: var(--granate-500); }

.lead__disclaimer {
  font-size: 11px;
  color: var(--paper-text-light);
}

.lead__proof {
  font-size: 12px;
  color: var(--paper-text-muted);
}

/* Guide video preview */
.lead__preview {
  display: none;
}

.lead__phone {
  width: 280px;
  height: 572px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.1);
}

.lead__video {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .lead { padding: var(--space-20) var(--space-20); }

  .lead__form {
    flex-direction: row;
  }

  .lead__field { flex: 1; }
}

@media (min-width: 1024px) {
  .lead__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-16);
  }

  .lead__content { flex: 1; }

  .lead__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 400px;
  }

  .lead__title { font-size: 36px; }
}


/* ════════════════════════════════════════════
   EXHIBITIONS
════════════════════════════════════════════ */

.expos {
  padding: var(--space-16) var(--space-5);
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.expos__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.expos__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-text-light);
}

.expos__title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 400;
  color: var(--paper-text);
  line-height: 1.2;
}

.expos__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.expos__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.expos__card:hover { box-shadow: var(--shadow-md); }
.expos__card:hover .expos__card-image img { transform: scale(1.03); }
.expos__card:hover .expos__card-link { letter-spacing: 0.08em; }

.expos__card-image {
  height: 200px;
  background: #E8E0D6;
  overflow: hidden;
}

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

.expos__card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-6);
}

.expos__card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.expos__badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.expos__badge--warm {
  background: rgba(198, 123, 92, 0.1);
  color: var(--paper-terracotta);
}

.expos__badge--neutral {
  background: rgba(155, 149, 144, 0.1);
  color: var(--paper-text-light);
}

.expos__card-venue {
  font-size: 10px;
  color: var(--paper-text-light);
}

.expos__card-name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--paper-text);
  line-height: 1.3;
}

.expos__card-link {
  font-size: 12px;
  color: var(--granate-700);
  transition: letter-spacing 0.25s ease;
}

@media (min-width: 600px) {
  .expos__grid {
    flex-direction: row;
    gap: var(--space-5);
  }
  .expos__card { flex: 1; }
}

@media (min-width: 768px) {
  .expos__title { font-size: 32px; }
}

@media (min-width: 1024px) {
  .expos { padding: var(--space-16) var(--space-20); }
}


/* ════════════════════════════════════════════
   PRATFALL QUOTE
════════════════════════════════════════════ */

.pratfall {
  border-top: 1px solid var(--paper-border);
  padding: 56px var(--space-5);
  display: flex;
  justify-content: center;
}

.pratfall__text {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--paper-text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 520px;
}

@media (min-width: 768px) {
  .pratfall { padding: 56px var(--space-20); }
  .pratfall__text { font-size: 18px; }
}


/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */

.footer {
  background: var(--paper-text);
  padding: 48px var(--space-5);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.footer__brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 225, 0.5);
}

.footer__tagline {
  font-size: 16px;
  color: var(--paper-cream-btn);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
  padding-top: var(--space-2);
}

.footer__links a {
  font-size: 12px;
  color: rgba(245, 240, 225, 0.5);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--paper-cream-btn); }


/* ════════════════════════════════════════════
   BARCELONA HUB
════════════════════════════════════════════ */

/* Hub Hero */
.hub-hero {
  padding: 72px var(--space-5) 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-hero__rule {
  width: 48px;
  height: 2px;
  background: rgba(139, 0, 0, 0.35);
  border: none;
  margin-bottom: var(--space-8);
}

.hub-hero__title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--granate-700);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 620px;
  margin-bottom: var(--space-5);
}

.hub-hero__desc {
  font-size: 16px;
  color: var(--paper-text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: var(--space-8);
}

.hub-hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-text-light);
}

.hub-hero__stats span:nth-child(even) {
  color: var(--paper-border);
}

@media (min-width: 768px) {
  .hub-hero { padding: 100px var(--space-20) 72px; }
  .hub-hero__title { font-size: 52px; }
  .hub-hero__desc { font-size: 17px; }
}

/* Hub Section Headers — label + line */
.hub-section {
  padding: 0 var(--space-5);
  max-width: 1440px;
  margin: 0 auto;
}

.hub-section__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: 28px;
}

.hub-section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--granate-700);
  white-space: nowrap;
  flex-shrink: 0;
}

.hub-section__line {
  flex: 1;
  height: 1px;
  background: var(--paper-border);
}

/* Museum Grid — 3 columns */
.hub-museums {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}

.hub-museum {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.hub-museum:hover { box-shadow: var(--shadow-md); }
.hub-museum:hover .hub-museum__img img { transform: scale(1.03); }

.hub-museum__img {
  height: 180px;
  background: #E8E0D6;
  overflow: hidden;
}
.hub-museum__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hub-museum__body {
  padding: 20px 24px;
}

.hub-museum__name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--paper-text);
  line-height: 1.3;
  margin-bottom: 6px;
}

.hub-museum__desc {
  font-size: 13px;
  color: var(--paper-text-light);
  line-height: 1.5;
}

@media (min-width: 600px) {
  .hub-museums { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hub-section { padding: 0 var(--space-20); }
  .hub-museums { grid-template-columns: 1fr 1fr 1fr; }
  .hub-museum__img { height: 200px; }
}

/* Exhibitions Grid */
.hub-expos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}

.hub-expo {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.hub-expo:hover { box-shadow: var(--shadow-md); }
.hub-expo:hover .hub-expo__img img { transform: scale(1.03); }

.hub-expo__img {
  position: relative;
  height: 180px;
  background: #E8E0D6;
  overflow: hidden;
}
.hub-expo__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hub-expo__badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hub-expo__badge--ended {
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.85);
}
.hub-expo__badge--warm {
  background: rgba(198, 123, 92, 0.85);
  color: #fff;
}
.hub-expo__badge--neutral {
  background: rgba(107, 101, 96, 0.75);
  color: #fff;
}

.hub-expo__body {
  padding: 20px 24px;
}

.hub-expo__venue {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-text-light);
  margin-bottom: 6px;
}

.hub-expo__name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  color: var(--paper-text);
  line-height: 1.3;
  margin-bottom: 4px;
}

.hub-expo__desc {
  font-size: 13px;
  color: var(--paper-text-light);
  line-height: 1.5;
}

@media (min-width: 600px) {
  .hub-expos { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hub-expos { grid-template-columns: 1fr 1fr 1fr; }
  .hub-expo__img { height: 200px; }
}

/* Testimonials */
.hub-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}

.hub-testimonial {
  background: #fff;
  border-radius: 0 10px 10px 0;
  border-left: 3px solid var(--granate-700);
  padding: 24px;
}

.hub-testimonial__text {
  font-size: 14px;
  color: var(--paper-text);
  line-height: 1.65;
  margin-bottom: 12px;
}

.hub-testimonial__author {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-text-light);
}

@media (min-width: 768px) {
  .hub-testimonials { grid-template-columns: 1fr 1fr 1fr; }
}

/* Plan Your Visit — link rows */
.hub-plan {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: var(--space-16);
}

.hub-plan-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: #fff;
  border: 1px solid var(--paper-border);
  border-radius: 10px;
  padding: 16px 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.hub-plan-link:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--paper-text-light);
}

.hub-plan-link__avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--cream-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--granate-700);
  flex-shrink: 0;
}

.hub-plan-link__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hub-plan-link__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--paper-text);
}

.hub-plan-link__desc {
  font-size: 12px;
  color: var(--paper-text-light);
}

@media (min-width: 768px) {
  .hub-plan { grid-template-columns: 1fr 1fr; }
}

/* Hub Lead Magnet */
.hub-lead {
  background: #fff;
  border-radius: 10px;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.hub-lead__preview {
  display: none;
}

.hub-lead__phone {
  width: 140px;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--shadow-md);
}

.hub-lead__phone video {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.hub-lead__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--granate-700);
  line-height: 1.3;
  margin-bottom: var(--space-5);
}

.hub-lead__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-6);
}

.hub-lead__bullets li {
  font-size: 14px;
  color: var(--paper-text-muted);
  padding-left: 20px;
  position: relative;
}
.hub-lead__bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--paper-text-light);
}

.hub-lead__proof {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-text-light);
  margin-bottom: var(--space-5);
}

.hub-lead__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--granate-700);
  color: var(--paper-cream-btn);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 4px;
  transition: background 0.15s, box-shadow 0.15s;
}
.hub-lead__cta:hover {
  background: var(--granate-500);
  box-shadow: var(--shadow-granate);
}

.hub-lead__fine {
  font-size: 12px;
  color: var(--paper-text-light);
  margin-top: 8px;
}

@media (min-width: 768px) {
  .hub-lead {
    flex-direction: row;
    align-items: center;
    padding: var(--space-10);
  }
  .hub-lead__preview {
    display: flex;
    flex-shrink: 0;
  }
  .hub-lead__title { font-size: 26px; }
}


/* ════════════════════════════════════════════
   CONSENT BANNER
════════════════════════════════════════════ */
#avg-consent-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #fff;
  border-top: 1px solid var(--avg-border);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
  padding: 16px 20px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Public Sans', sans-serif;
}
#avg-consent-banner p { margin: 0; font-size: 13px; color: #333; max-width: 480px; }
.avg-consent-buttons { display: flex; gap: 8px; flex-shrink: 0; }
.avg-consent-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.avg-consent-accept { background: var(--avg-granate); color: #fff; }
.avg-consent-accept:hover { background: #6d0000; }
.avg-consent-reject { background: transparent; color: #555; border: 1px solid #ccc; }
.avg-consent-reject:hover { border-color: #999; color: #333; }

@media (max-width: 600px) {
  #avg-consent-banner { flex-direction: column; text-align: center; padding: 14px 16px; gap: 12px; }
  .avg-consent-buttons { width: 100%; justify-content: center; }
}
