/* ============================================================
   Experience History — Main Stylesheet
   ============================================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Louis George Cafe';
  src: url('../fonts/louis_george_cafe_bold-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Louis George Cafe';
  src: url('../fonts/louis_george_cafe_bold_italic-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Louis George Cafe';
  src: url('../fonts/louis_george_cafe-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Louis George Cafe';
  src: url('../fonts/louis_george_cafe_light-webfont.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Louis George Cafe';
  src: url('../fonts/louis_george_cafe_light_italic-webfont.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* --- Brand Colours --- */
:root {
  /* Primary */
  --navy:        #192656;   /* dark blue — headers, footer, primary bg */
  --navy-light:  #28469E;   /* lighter blue — hover states, accents */
  --orange:      #F5A21F;   /* main orange — CTAs, highlights */
  --orange-dark: #F27533;   /* dark orange accent — secondary CTA, tags */
  --sky:         #CAE8E7;   /* brand light blue — feature bar bg, card bands, tints */
  --white:       #FEFCF9;   /* warm white — page bg, card bg */
  --black:       #1a1a1a;   /* near-black — body text */

  /* Derived / utility */
  --navy-dark:   #10193d;   /* deeper navy for footer */
  --text:        #1a1a1a;
  --text-muted:  #5a6480;
  --border:      #e0e4ee;
  --off-white:   #f2efeb;

  /* Typography */
  --font: 'Louis George Cafe', system-ui, sans-serif;

  /* Shape */
  --radius:    12px;
  --radius-lg: 20px;

  /* Shadow */
  --shadow-sm: 0 2px 8px  rgba(25,38,86,.08);
  --shadow-md: 0 6px 24px rgba(25,38,86,.12);
  --shadow-lg: 0 16px 48px rgba(25,38,86,.18);

  /* Motion */
  --transition:      220ms ease;
  --transition-slow: 400ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* --- Utilities --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  font-size: .95rem;
}
.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,162,31,.4);
}
.btn-orange:active { transform: translateY(0); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  padding: 12px 28px;
  font-size: 1rem;
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-blue {
  background: var(--navy-light);
  color: var(--white);
  padding: 10px 22px;
  font-size: .95rem;
}
.btn-blue:hover {
  background: #3353b8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 14px 36px; font-size: 1.05rem; border-radius: 10px; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 10px 22px;
  font-size: .95rem;
  border: 2px solid rgba(255,255,255,.55);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: .85; }
.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-weight: 400;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}
.nav-hamburger:hover { background: rgba(255,255,255,.1); }
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--navy-dark);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--transition);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: var(--orange); }
.nav-mobile .btn-orange { margin-top: 16px; width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 700px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding-top: 72px;
}

/* Castle background image */
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Push castle to the right so the map sits in front of the transition zone */
  object-position: 85% center;
}

/* Gradient: white from left → transparent right, castle bleeds in from the right */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    var(--white)             28%,
    rgba(254,252,249,.94)   38%,
    rgba(254,252,249,.70)   50%,
    rgba(254,252,249,.25)   63%,
    transparent              76%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  /* Text narrower, map gets more room to fill height */
  grid-template-columns: 2fr 3fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px 48px 0;
  max-width: 500px;
}

.hero-eyebrow { display: none; }

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp .6s ease .25s forwards;
}
.hero-title .accent {
  color: var(--orange);
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp .6s ease .38s forwards;
}

.hero-search {
  display: flex;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp .6s ease .5s forwards;
}
.hero-search input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  background: transparent;
}
.hero-search input::placeholder { color: #9aa3b8; }
.hero-search button {
  background: var(--orange);
  color: var(--white);
  padding: 0 24px;
  font-size: 1.1rem;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  border-radius: 0 10px 10px 0;
}
.hero-search button:hover { background: var(--orange-dark); }

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-light);
  font-weight: 700;
  font-size: .9rem;
  transition: color var(--transition), gap var(--transition);
  opacity: 0;
  animation: fadeUp .6s ease .62s forwards;
}
.hero-link:hover { color: var(--orange); gap: 10px; }

/* Hero map visual — full column height, map fills available space */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  animation: fadeIn .9s ease .55s forwards;
  height: 100%;
}
.hero-map-wrap {
  /* Portrait aspect ratio matches new gb.svg (480 × 752.8) */
  height: calc(700px - 72px);
  width: calc((700px - 72px) * (480 / 752.8));   /* ≈ 400px */
  max-width: 100%;
  flex-shrink: 0;
}
.hero-map-wrap .uk-map-container {
  height: 100%;
  width: 100%;
}
.hero-map-wrap .uk-map-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
/* White map silhouette — invert to white, drop-shadow adds the glow */
.hero-visual .uk-map-img {
  filter: brightness(0) invert(1) drop-shadow(0 12px 48px rgba(25,38,86,.2));
}
/* Hero map pins are navy */
.hero-visual .pin-overlay { color: var(--navy); }


/* ============================================================
   MAP PIN — shared
   ============================================================ */
.map-pin {
  cursor: pointer;
  opacity: 0;
  animation: pinDrop .5s cubic-bezier(.34,1.56,.64,1) forwards;
}
.map-pin:nth-child(1)  { animation-delay: .3s;  }
.map-pin:nth-child(2)  { animation-delay: .55s; }
.map-pin:nth-child(3)  { animation-delay: .8s;  }
.map-pin:nth-child(4)  { animation-delay: 1.05s;}
.map-pin:nth-child(5)  { animation-delay: 1.3s; }
.map-pin:nth-child(6)  { animation-delay: 1.55s;}
.map-pin:nth-child(7)  { animation-delay: 1.8s; }
.map-pin:nth-child(8)  { animation-delay: 2.05s;}
.map-pin:nth-child(9)  { animation-delay: 2.3s; }
.map-pin:nth-child(10) { animation-delay: 2.55s;}

.pin-pulse {
  animation: pinPulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.map-pin:nth-child(1)  .pin-pulse { animation-delay: 0s;    }
.map-pin:nth-child(2)  .pin-pulse { animation-delay: .24s;  }
.map-pin:nth-child(3)  .pin-pulse { animation-delay: .48s;  }
.map-pin:nth-child(4)  .pin-pulse { animation-delay: .72s;  }
.map-pin:nth-child(5)  .pin-pulse { animation-delay: .96s;  }
.map-pin:nth-child(6)  .pin-pulse { animation-delay: 1.2s;  }
.map-pin:nth-child(7)  .pin-pulse { animation-delay: 1.44s; }
.map-pin:nth-child(8)  .pin-pulse { animation-delay: 1.68s; }
.map-pin:nth-child(9)  .pin-pulse { animation-delay: 1.92s; }
.map-pin:nth-child(10) .pin-pulse { animation-delay: 2.16s; }

/* Map tooltip */
.map-tooltip {
  position: absolute;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s ease;
  z-index: 10;
  transform: translate(-50%, -110%);
  top: 0; left: 0;
}
.map-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom: none;
  border-top-color: var(--navy);
}
.map-tooltip.visible { opacity: 1; }

/* ============================================================
   FEATURES BAR
   ============================================================ */
.features-bar {
  background: var(--sky);
  padding: 40px 0;
  border-bottom: 1px solid rgba(25,38,86,.1);
}
.features-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.feature-item.visible { opacity: 1; transform: translateY(0); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon.navy   { background: var(--navy);       color: var(--white); }
.feature-icon.orange { background: var(--orange);     color: var(--white); }
.feature-icon.dark   { background: var(--black);      color: var(--white); }
.feature-icon.sky    { background: var(--navy-light);  color: var(--white); }

.feature-text h3 { font-size: .98rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.feature-text p  { font-size: .87rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section { padding: 40px 0; background: var(--white); }
.map-section-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Right-column stats in map section */
.map-section-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.map-stat {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.map-stat.visible { opacity: 1; transform: translateY(0); }

.map-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.map-stat-icon.navy   { color: var(--navy); }
.map-stat-icon.orange { color: var(--orange); }

.map-stat-text strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 3px;
}
.map-stat-text > span { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }

/* gb.svg + pin layer */
.uk-map-container {
  position: relative;
  display: block;
  width: 100%;
}
.uk-map-container img.uk-map-img {
  display: block;
  width: 100%;
  height: auto;
}
.uk-map-container .pin-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ============================================================
   POPUP DEMO (map section centre column)
   ============================================================ */
.popup-demo-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.popup-demo-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 12px 36px rgba(25,38,86,.2));
}

.popup-demo-card {
  background: var(--white);
  border-radius: 14px;
  width: 300px;
  position: relative;
  transition: opacity 300ms ease, transform 300ms ease;
}
.popup-demo-card.fading {
  opacity: 0;
  transform: translateY(8px);
}

.popup-demo-x {
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(25,38,86,.08);
  color: var(--navy);
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-demo-header {
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--border);
}
.popup-demo-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.popup-demo-cat {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(245,162,31,.15);
  color: var(--orange-dark);
}
.popup-demo-cat.cat-national {
  background: rgba(40,70,158,.12);
  color: var(--navy-light);
}
.popup-demo-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  font-weight: 700;
  color: #92400e;
  background: rgba(245,158,11,.12);
  padding: 3px 8px;
  border-radius: 4px;
}
.popup-demo-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.popup-demo-body { padding: 12px 14px; }
.popup-demo-desc {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}
.popup-demo-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.popup-demo-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--text-muted);
}
.popup-demo-meta-row svg { flex-shrink: 0; color: var(--orange); }
.popup-demo-stars { color: #f59e0b; letter-spacing: -.5px; }
.popup-demo-rating-val { font-weight: 700; color: var(--navy); }

.popup-demo-footer {
  padding: 10px 14px 14px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.popup-demo-btn-primary,
.popup-demo-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 6px;
}
.popup-demo-btn-primary {
  background: var(--navy);
  color: var(--white);
}
.popup-demo-btn-secondary {
  color: var(--navy);
  border: 1.5px solid var(--border);
}

/* Leaflet-style pointer tail */
.popup-demo-tail {
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid var(--white);
  margin-top: -1px;
}

/* Orange map pin */
.popup-demo-pin {
  width: 34px;
  margin-top: -2px;
}
.popup-demo-pin svg { width: 100%; height: auto; }

/* ============================================================
   FEATURED MUSEUMS
   ============================================================ */
.featured-section { padding: 100px 0; background: var(--off-white); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.section-header .section-title { margin-bottom: 0; }

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap var(--transition), color var(--transition);
}
.view-all-link:hover { gap: 10px; color: var(--orange-dark); }

.museums-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.museum-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.museum-card.visible { opacity: 1; transform: translateY(0); }
.museum-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.museum-card:hover .museum-img img { transform: scale(1.06); }

.museum-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--sky);
}
.museum-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.museum-body { padding: 16px 20px 10px; }
.museum-location {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.museum-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}
.museum-explore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy-light);
  font-weight: 700;
  font-size: .88rem;
  transition: gap var(--transition), color var(--transition);
}
.museum-explore:hover { gap: 9px; color: var(--navy); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy);
  padding: 40px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cta-logo-wrap img { height: 64px; width: auto; }
.cta-content { flex: 1; }
.cta-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-body { color: rgba(254,252,249,.65); font-size: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-logo { height: 44px; width: auto; margin-bottom: 20px; }
.footer-tagline {
  color: rgba(254,252,249,.45);
  font-size: .9rem;
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(254,252,249,.65);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }

.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(254,252,249,.5);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p { color: rgba(254,252,249,.3); font-size: .82rem; }
.footer-bottom a { color: rgba(254,252,249,.3); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes pinDrop {
  from { opacity: 0; transform: translateY(-18px) scale(.5); }
  to   { opacity: 1; transform: translateY(0)     scale(1); }
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1);    opacity: .65; }
  50%       { transform: scale(1.5); opacity: 0;   }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .museums-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-inner       { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-hamburger { display: flex; }

  .hero { height: auto; min-height: 580px; }
  .hero-bg img { object-position: center center; }
  .hero-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(254,252,249,.95) 0%,
      rgba(254,252,249,.85) 65%,
      rgba(254,252,249,.6) 100%
    );
  }
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
    padding: 40px 0 48px;
    height: auto;
  }
  .hero-content {
    padding: 0;
    max-width: 100%;
    justify-content: center;
  }
  .hero-visual { display: none; }
  .hero-link { justify-content: center; }

  .features-bar-inner { grid-template-columns: 1fr; gap: 20px; }

  .map-section-inner { grid-template-columns: 1fr; gap: 40px; }
  .popup-demo-visual { order: -1; }
  .map-section-stats { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .map-stat { flex: 1 1 calc(50% - 10px); }

  .section-header { flex-direction: column; align-items: flex-start; }
  .museums-grid   { grid-template-columns: 1fr 1fr; }

  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-logo-wrap    { justify-content: center; }

  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .museums-grid { grid-template-columns: 1fr; }
  .hero-title   { font-size: 2.2rem; }
  .hero-search  { flex-direction: column; }
  .hero-search input  { border-radius: 10px 10px 0 0; }
  .hero-search button { border-radius: 0 0 10px 10px; padding: 14px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
