/* ============ FONTS ============ */
@font-face {
  font-family: "Verlag";
  src: url("../assets/fonts/Verlag-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Verlag";
  src: url("../assets/fonts/Verlag-Book.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Verlag";
  src: url("../assets/fonts/Verlag-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Verlag";
  src: url("../assets/fonts/Verlag-Black.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ============ RESET / BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background: #000;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

:root {
  --pad: 40px;
  --accent: #d11242;
}

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 26px var(--pad);
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0));
  color: #fff;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.header__logo {
  transition: opacity .3s ease;
}
.header__logo.is-hidden {
  opacity: 0; pointer-events: none;
}
.header__logo img {
  height: 15px; width: auto;
  /* logo svg is dark; invert to white over the dark hero */
  filter: brightness(0) invert(1);
}
.header__right {
  display: flex; align-items: center; gap: 28px;
}

/* language switcher */
.lang {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .06em; font-weight: 400;
}
.lang__item {
  opacity: .7; transition: opacity .2s ease;
  padding-bottom: 2px;
}
.lang__item:hover { opacity: 1; }
.lang__item.is-active {
  opacity: 1; font-weight: 700;
  border-bottom: 1px solid #fff;
}
.lang__sep { opacity: .4; }

/* homepage language selector (native <details> dropdown, light-on-dark header) */
.lang-sel { position: relative; font-size: 13px; letter-spacing: .06em; }
.lang-sel > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; color: #fff; opacity: .9; }
.lang-sel > summary::-webkit-details-marker { display: none; }
.lang-sel > summary:hover { opacity: 1; }
.lang-sel > summary svg { transition: transform .18s ease; }
.lang-sel[open] > summary svg { transform: rotate(180deg); }
.lang-sel__menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid #e2e2e2; box-shadow: 0 10px 28px rgba(0,0,0,.18); min-width: 150px; }
.lang-sel__menu li { margin: 0; }
.lang-sel__menu a { display: block; padding: 9px 18px; color: #222; white-space: nowrap; letter-spacing: .04em; }
.lang-sel__menu a:hover { background: #f4f4f4; }
.lang-sel__menu a[aria-current="true"] { font-weight: 700; }
/* solid header variant: dark summary text */
.header--solid .lang-sel > summary { color: #1a1a1a; }

/* visit + tickets buttons */
.btn-visit,
.btn-tickets {
  font-size: 16px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 4px;
  color: #fff;
  background: transparent;
  border: 0;
  transition: opacity .2s ease;
}
.btn-visit:hover,
.btn-tickets:hover { opacity: .75; }
.btn-visit[aria-current="page"] { opacity: 1; border-bottom: 1px solid #fff; padding-bottom: 11px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh; min-height: 620px;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    rgba(0,0,0,.01) 10%,
    rgba(0,0,0,.34) 57%,
    rgba(0,0,0,.68) 100%
  );
}
/* big wordmark over the video */
.hero__logo {
  position: absolute; left: 0; right: 0; top: 12%;
  display: flex; justify-content: center;
  padding: 0 var(--pad);
  pointer-events: none;
}
.hero__logo img {
  width: min(90%, 1200px);
  height: auto;
  filter: brightness(0) invert(1);  /* dark svg -> white over video */
}

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

.hero__caption {
  position: absolute; left: 0; right: 0; bottom: 56px;
  padding: 0 var(--pad);
  color: #fff;
}

/* video controls (bottom-right) */
.hero__controls {
  position: absolute; right: var(--pad); bottom: 48px;
  display: flex; align-items: center; gap: 22px;
  color: #fff;
}
.hero__ctrl {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 0; color: #fff;
  cursor: pointer; opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.hero__ctrl:hover { opacity: 1; transform: scale(1.08); }
.hero__ctrl svg { display: block; }

/* icon toggling: play/pause */
.hero__ctrl .ic-play  { display: none; }
.hero__ctrl.is-paused .ic-pause { display: none; }
.hero__ctrl.is-paused .ic-play  { display: block; }

/* icon toggling: sound on/off (default = muted) */
.hero__ctrl .ic-sound { display: none; }
.hero__ctrl.is-on .ic-muted { display: none; }
.hero__ctrl.is-on .ic-sound { display: block; }
.hero__status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: .16em;
  font-weight: 400;
  margin-bottom: 20px;
}
.hero__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76,175,80,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(76,175,80,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}
.hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.12;
  max-width: 20ch;
}

/* ============ FEATURED EXHIBITIONS SLIDER ============ */
.featured {
  position: relative;
  background: #fff;
  color: #000;
  overflow: hidden;
}
.featured__viewport { overflow: hidden; }
.featured__track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.featured__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.featured__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.featured__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.featured__body {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: 26px;
  padding: 40px clamp(24px, 5vw, 96px);
}
.featured__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.14;
  max-width: 16ch;
}
.featured__dates {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 29px);
}
.featured__btn {
  margin-top: 6px;
  background: #000; color: #fff;
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 17px 46px;
  transition: opacity .2s ease;
}
.featured__btn:hover { opacity: .82; }
.featured__partner { margin-top: 4px; }
.featured__partner img { height: 46px; width: auto; }

.featured__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; z-index: 4;
  display: inline-flex; align-items: center; justify-content: center;
  background: #000; color: #fff; border: 0; cursor: pointer;
  transition: opacity .2s ease;
}
.featured__nav:hover { opacity: .82; }
.featured__nav--prev { left: 0; }
.featured__nav--next { right: 0; }

/* ============ COLLECTION HIGHLIGHTS GRID ============ */
.highlights { background: #fff; }
.highlights__row { display: grid; }
.highlights__row--2 { grid-template-columns: 1fr 1fr; }
.highlights__row--3 { grid-template-columns: 1fr 1fr 1fr; }

.card {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
}
.highlights__row--2 .card { height: 46vh; min-height: 360px; }
.highlights__row--3 .card { height: 44vh; min-height: 340px; }
.card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
a.card:hover img { transform: scale(1.04); }
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, 0) 70%);
}
.card__eyebrow {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: rgba(0, 0, 0, .55);
  font-size: 12px; letter-spacing: .02em;
  padding: 7px 13px;
}
.card__cap {
  position: absolute; left: 34px; right: 34px; bottom: 26px; z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
}
.card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic; font-weight: 500;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.14;
}
a.card:hover .card__title { text-decoration: underline; text-underline-offset: 4px; }
.card__sub {
  font-size: 13px; font-weight: 400;
  letter-spacing: .09em; text-transform: uppercase;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .featured__slide { grid-template-columns: 1fr; }
  .featured__body { padding: 44px 24px 56px; gap: 20px; }
  .highlights__row--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .highlights__row--2,
  .highlights__row--3 { grid-template-columns: 1fr; }
  .highlights__row--2 .card,
  .highlights__row--3 .card { height: 62vw; min-height: 300px; }
  .card__cap { left: 22px; right: 22px; bottom: 22px; }
  .featured__nav { width: 40px; height: 40px; }
  :root { --pad: 20px; }
  .header { padding: 18px var(--pad); }
  .header__right { gap: 16px; }
  .btn-visit,
  .btn-tickets { padding: 9px 16px; }
  .hero__caption { bottom: 36px; }
}

/* ============ DETAIL PAGES (exhibitions / artworks / community) ============ */
.header--solid {
  position: fixed;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: saturate(140%) blur(6px);
}
.page-detail { background: #fff; }

/* ============ LEGAL PAGES ============ */
.legal { background: #fff; padding: 132px var(--pad) 84px; }
.legal__inner { max-width: 820px; margin: 0 auto; color: #333; }
.legal__crumb { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #999; margin: 0 0 18px; }
.legal__crumb a { color: #999; }
.legal h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: clamp(30px, 5vw, 46px); color: #111; margin: 0 0 6px; line-height: 1.1; }
.legal__meta { font-size: 13px; color: #8a8a8a; letter-spacing: .02em; margin: 0; }
.legal__rule { width: 40px; height: 3px; background: var(--accent); margin: 20px 0 30px; }
.legal__lead { font-size: 16.5px; line-height: 1.7; color: #222; margin: 0 0 8px; }
.legal h2 { font-size: 19px; color: #111; font-weight: 700; margin: 40px 0 12px; letter-spacing: .01em; }
.legal h3 { font-size: 15.5px; color: #111; font-weight: 700; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.72; color: #333; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 8px 0 14px; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: #111; }
.legal__caps { text-transform: uppercase; font-size: 13.5px; letter-spacing: .02em; color: #444; background: #f7f7f7; border-left: 3px solid #ddd; padding: 14px 16px; margin: 12px 0; line-height: 1.7; }
.legal__tablewrap { overflow-x: auto; margin: 14px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legal th, .legal td { border: 1px solid #e4e4e4; padding: 9px 12px; text-align: left; vertical-align: top; }
.legal th { background: #f6f6f6; font-weight: 700; color: #111; white-space: nowrap; }
.legal__xref { display: flex; gap: 20px; flex-wrap: wrap; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #ececec; font-size: 14px; }
.legal__xref a { color: #444; text-decoration: none; }
.legal__xref a:hover { color: var(--accent); }

.detail-hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.detail-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.detail-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.78) 100%);
}
.detail-hero__inner {
  position: relative; z-index: 2;
  color: #fff;
  padding: 0 var(--pad) 64px;
  max-width: 1000px;
}
.detail-hero__eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  opacity: .9; margin-bottom: 20px;
}
.detail-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08;
  max-width: 20ch;
}
.detail-hero__dates {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  margin-top: 18px;
}

.detail {
  color: #1a1a1a;
  padding: clamp(56px, 8vw, 110px) var(--pad);
}
.detail__body { max-width: 760px; margin: 0 auto; }
.detail__back {
  display: inline-block;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: #666; margin-bottom: 44px;
  transition: color .2s ease;
}
.detail__back:hover { color: #000; }
.detail__lead {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.42;
  color: #111;
  margin-bottom: 38px;
}
.detail__body p {
  font-size: 17px; line-height: 1.72;
  color: #333;
  margin-bottom: 24px;
}
.detail__meta {
  margin-top: 52px; padding-top: 34px;
  border-top: 1px solid #e4e4e4;
  display: flex; flex-direction: column; gap: 10px;
}
.detail__meta dt {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #999;
}
.detail__meta dd {
  font-size: 16px; color: #222; margin-bottom: 8px;
}
.detail__partner { margin-top: 30px; }
.detail__partner span {
  display: block; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: #999; margin-bottom: 12px;
}
.detail__partner img { height: 44px; width: auto; }

/* stats + join blocks (community) */
.detail__stats {
  max-width: 900px; margin: 0 auto 10px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  text-align: center; padding-top: 10px;
}
.detail__stat b {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4vw, 52px); font-weight: 500; color: #111;
}
.detail__stat span {
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #777;
}
.detail__list { list-style: none; margin: 18px 0 0; }
.detail__list li {
  padding: 18px 0; border-bottom: 1px solid #e4e4e4;
  font-size: 18px; color: #222;
}
.detail__list li:first-child { border-top: 1px solid #e4e4e4; }

/* ============ SITE FOOTER ============ */
.site-footer { background: #fff; color: #333; border-top: 1px solid #e6e6e6; overflow-x: clip; }
.site-footer__inner { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 74px) var(--pad); }
.site-footer__brand { display: inline-block; margin-bottom: 14px; }
.site-footer__brand img { height: 17px; width: auto; filter: brightness(0); }
.site-footer__brand:hover img { filter: brightness(0.35); }
.site-footer__brandline { position: relative; height: 1px; background: #e6e6e6; margin: 0 0 clamp(34px, 4vw, 48px); }
.site-footer__brandline::before { content: ""; position: absolute; left: 0; top: -1px; width: 60px; height: 3px; background: var(--accent); }
.site-footer__cols { display: flex; justify-content: space-between; gap: clamp(30px, 4vw, 64px); flex-wrap: wrap; }
/* CONTACT: phone | email side by side */
.fcontact { display: grid; grid-template-columns: auto auto; gap: 0 34px; align-items: start; }
/* THE MUSEUM: links in two columns (fill down, then across) */
.fmuseo { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); gap: 4px 34px; }
/* #MYGUGGENHEIMBILBAO strip inside the footer, between links and patrons */
.site-footer__social { margin: clamp(38px, 4vw, 58px) 0 0; }
.site-footer__social .myggb__head { padding: 0; margin-bottom: clamp(20px, 2.5vw, 28px); }
.site-footer__social:hover .myggb__track { animation-play-state: paused; }
.site-footer__col h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400; font-size: 16px;
  letter-spacing: normal; text-transform: uppercase;
  color: #222; margin-bottom: 18px;
}
.site-footer__col a.is-accent { color: var(--accent); }
.site-footer__col a.is-accent:hover { color: #a10d33; }
.site-footer__col p { font-size: 14px; line-height: 1.7; color: #555; margin-bottom: 14px; }
.site-footer__col a { font-size: 14px; line-height: 1.7; color: #555; display: block; transition: color .2s ease; }
.site-footer__col a:hover { color: #000; }
.site-footer__col .fcontact p { margin: 0; line-height: 1.45; }
.site-footer__col .fcontact a { display: inline; line-height: inherit; }
.site-footer__patrons {
  position: relative;
  margin-top: clamp(40px, 5vw, 62px); padding-top: clamp(32px, 3.5vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px 40px; flex-wrap: wrap;
}
/* full-screen line above the trustees */
.site-footer__patrons::before {
  content: ""; position: absolute; top: 0; left: calc(50% - 50vw);
  width: 100vw; height: 1px; background: #ececec;
}
.site-footer__pgroup { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 26px); flex-wrap: wrap; }
.site-footer__plabel { font-size: 13px; letter-spacing: .01em; color: #9a9a9a; white-space: nowrap; }
.site-footer__patrons img {
  height: 33px; width: auto; opacity: .78; filter: grayscale(1);
  transition: opacity .2s ease, filter .2s ease;
}
.site-footer__patrons img:hover { opacity: 1; filter: grayscale(0); }
.site-footer__legal { border-top: 1px solid #ececec; }
.site-footer__legal-inner {
  max-width: 1200px; margin: 0 auto; padding: 22px var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #888;
}
.site-footer__legal a { color: #888; transition: color .2s ease; }
.site-footer__legal a:hover { color: #000; }
.site-footer__legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .site-footer__cols { flex-direction: column; gap: 30px; }
  .fcontact { grid-template-columns: 1fr; gap: 0; }
  .fmuseo { grid-auto-flow: row; grid-template-rows: none; }
  .site-footer__legal-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
  .detail-hero { min-height: 60vh; }
  .detail__stats { grid-template-columns: 1fr; gap: 22px; }
}

/* ============ ARTWORK GALLERY (detail pages) ============ */
.gallery { background: #fff; padding: clamp(40px, 6vw, 84px) var(--pad); border-top: 1px solid #ececec; }
.gallery__inner { max-width: 1200px; margin: 0 auto; }
.gallery__head {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; color: #111;
  font-size: clamp(22px, 2.4vw, 32px);
  margin-bottom: 34px;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px 26px;
}
.gwork { margin: 0; }
.gwork img {
  width: 100%; height: 330px; object-fit: cover;
  background: #f2f2f2; display: block;
}
.gwork figcaption {
  font-size: 13px; line-height: 1.55; color: #555;
  margin-top: 12px;
}
@media (max-width: 640px) {
  .gwork img { height: 260px; }
}

/* ============ ARTWORK PAGE (individual obra) ============ */
.artwork {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: calc(100vh - 92px);
  background: #fff;
}
.artwork__media {
  display: flex; align-items: center; justify-content: center;
  background: #ededed;
  padding: clamp(40px, 6vw, 90px);
}
.artwork__media img {
  max-width: 100%; max-height: 74vh;
  width: auto; height: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}
.artwork__info {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 80px);
}
.artwork__back {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: #888; margin-bottom: 30px; transition: color .2s ease;
}
.artwork__back:hover { color: #000; }
.artwork__eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: #a11; margin-bottom: 18px;
}
.artwork__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400; font-style: italic;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12; color: #111;
}
.artwork__artist {
  font-size: 17px; color: #333; margin-top: 16px; font-weight: 400;
}
.artwork__ficha {
  margin-top: 30px; padding-top: 26px;
  border-top: 1px solid #e4e4e4;
  font-size: 15px; line-height: 1.7; color: #555;
  max-width: 46ch;
}
@media (max-width: 820px) {
  .artwork { grid-template-columns: 1fr; }
  .artwork__media { padding: 70px 24px; }
  .artwork__media img { max-height: 52vh; }
  .artwork__info { padding: 44px 24px 64px; }
}

/* gallery cards as links */
.gwork a { color: inherit; display: block; }
.gwork > a img { transition: opacity .25s ease, transform .5s ease; }
.gwork:hover > a img { opacity: .9; }
.gwork figcaption a:hover { color: #111; text-decoration: underline; text-underline-offset: 3px; }

/* ============ #MYGUGGENHEIMBILBAO SLIDER ============ */
.myggb { background: #fff; padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.myggb__head { padding: 0 var(--pad); margin-bottom: clamp(30px, 4vw, 48px); }
.myggb__title {
  display: inline-block;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400; font-size: 16px;
  color: #222; padding-bottom: 10px; position: relative;
}
.myggb__title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 3px; background: var(--accent);
}
.myggb__viewport { width: 100%; overflow: hidden; }
.myggb__track {
  display: flex; gap: 12px; width: max-content;
  animation: myggb-scroll 60s linear infinite;
}
.myggb:hover .myggb__track { animation-play-state: paused; }
.myggb__track a { flex: 0 0 auto; display: block; }
.myggb__track img {
  width: 200px; height: 200px; object-fit: cover;
  display: block; background: #eee;
}
@keyframes myggb-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 6px)); }
}
@media (max-width: 640px) {
  .myggb__track img { width: 150px; height: 150px; }
}

/* ============ TICKETS PAGE ============ */
.tickets { background: #fff; color: #1a1a1a; padding: 120px var(--pad) clamp(52px, 7vw, 92px); }
.tickets__inner { max-width: 1200px; margin: 0 auto; }
.tickets__eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.tickets__title {
  font-family: "Playfair Display", Georgia, serif; font-weight: 400;
  font-size: clamp(34px, 5vw, 58px); color: #111; line-height: 1.08;
}
.tickets__lead { font-size: 16px; line-height: 1.7; color: #555; max-width: 62ch; margin-top: 18px; }
.tickets__tabs {
  display: flex; gap: 30px; flex-wrap: wrap;
  margin: 40px 0 8px; padding-bottom: 0; border-bottom: 1px solid #e6e6e6;
}
.tickets__tab {
  padding: 0 0 16px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: #777; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s ease, border-color .2s ease;
}
.tickets__tab:hover { color: #000; }
.tickets__tab.is-active { color: #000; border-bottom-color: var(--accent); }
.tickets__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px; margin-top: clamp(34px, 4vw, 52px);
}
.tcard { display: flex; flex-direction: column; border: 1px solid #eaeaea; background: #fff; }
.tcard__img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: #f2f2f2; }
.tcard__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px; }
.tcard__title { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 21px; color: #111; line-height: 1.15; }
.tcard__desc { font-size: 14px; line-height: 1.65; color: #555; margin: 14px 0 20px; flex: 1; }
.tcard__price { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 20px; }
.tcard__price small { font-size: 13px; font-weight: 400; color: #888; }
.tcard__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tcard__buy, .tcard__info {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 22px; transition: opacity .2s ease, background .2s ease, color .2s ease;
}
.tcard__buy { background: #000; color: #fff; }
.tcard__buy:hover { opacity: .82; }
.tcard__info { border: 1px solid #111; color: #111; }
.tcard__info:hover { background: #111; color: #fff; }

.friends {
  background: #111; color: #fff; text-align: center;
  padding: clamp(56px, 8vw, 100px) var(--pad);
}
.friends__title { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: clamp(26px, 3.4vw, 42px); }
.friends__text { color: #bbb; margin: 16px auto 30px; max-width: 52ch; font-size: 16px; line-height: 1.6; }
.friends__btn {
  display: inline-block; background: #fff; color: #000;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 40px; transition: opacity .2s ease;
}
.friends__btn:hover { opacity: .85; }
@media (max-width: 640px) {
  .tickets__tabs { gap: 18px; }
}

/* ============ TICKETS PAGE (reference structure) ============ */
.tk { background: #fff; color: #111; }
.tk-header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 24px var(--pad); gap: 16px;
}
.tk-header__lang { justify-self: start; font-size: 13px; letter-spacing: .08em; color: #222; display: inline-flex; align-items: center; gap: 6px; }
/* tickets language dropdown (native <details>) */
.tk-lang { justify-self: start; position: relative; font-size: 13px; letter-spacing: .08em; color: #222; }
.tk-lang > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; }
.tk-lang > summary::-webkit-details-marker { display: none; }
.tk-lang > summary svg { transition: transform .18s ease; }
.tk-lang[open] > summary svg { transform: rotate(180deg); }
.tk-lang__menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid #e2e2e2; box-shadow: 0 8px 24px rgba(0,0,0,.10); min-width: 150px; }
.tk-lang__menu li { margin: 0; }
.tk-lang__menu a { display: block; padding: 9px 18px; color: #222; white-space: nowrap; letter-spacing: .04em; text-transform: none; }
.tk-lang__menu a:hover { background: #f4f4f4; }
.tk-lang__menu a[aria-current="true"] { font-weight: 700; }
.tk-header__logo { justify-self: center; }
.tk-header__logo img { height: 18px; width: auto; filter: brightness(0); }

.tk-hero { padding: 8px var(--pad) 0; max-width: 1280px; margin: 0 auto; }
.tk-chip { display: inline-block; border: 1px solid #dcdcdc; padding: 6px 14px; font-size: 12px; color: #333; }
.tk-title {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(58px, 12vw, 160px); line-height: .92; letter-spacing: -.01em;
  text-align: center; color: #000; margin: 10px 0 4px;
}
.tk-tabs {
  display: flex; justify-content: center; gap: clamp(18px, 3vw, 54px); flex-wrap: wrap;
  border-bottom: 1px solid #e6e6e6; margin-top: clamp(24px, 3vw, 40px);
}
.tk-tab {
  padding: 0 0 18px; font-size: 14px; letter-spacing: .03em; text-transform: uppercase;
  color: #333; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s ease, border-color .2s ease;
}
.tk-tab:hover { color: #000; }
.tk-tab.is-active { color: #000; border-bottom-color: var(--accent); }

.tk-grid {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
}
.tk-card { border: 1px solid #e8e8e8; display: grid; grid-template-columns: 1fr; }
.tk-card--wide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
.tk-card__media { overflow: hidden; }
.tk-card__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.tk-card__body { padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column; }
.tk-card--text .tk-card__body { min-height: 440px; }
.tk-card__title {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700; text-transform: uppercase; color: #111;
  font-size: clamp(21px, 2.3vw, 30px); line-height: 1.12;
}
.tk-rule { width: 34px; height: 3px; background: var(--accent); margin: 15px 0 24px; }
.tk-card__desc p { font-size: 15px; line-height: 1.65; color: #444; margin-bottom: 14px; }
.tk-card__desc p.lead { font-weight: 700; color: #111; }
.tk-card__foot { margin-top: auto; padding-top: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.tk-info { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #111; transition: color .2s ease; }
.tk-info:hover { color: var(--accent); }
.tk-buy {
  background: #000; color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 36px; transition: opacity .2s ease;
}
.tk-buy:hover { opacity: .82; }
@media (max-width: 820px) {
  .tk-grid { grid-template-columns: 1fr; }
  .tk-card--wide { grid-template-columns: 1fr; }
  .tk-card--text .tk-card__body { min-height: 0; }
}

/* ============ BOOKING PAGE (purchase flow) ============ */
.book { background: #fff; color: #111; }
.book__crumb { max-width: 1200px; margin: 0 auto; padding: 8px var(--pad) 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #999; }
.book__crumb a { color: #999; }
.book__crumb a:hover { color: #111; }
.book__head { max-width: 1200px; margin: 0 auto; padding: 18px var(--pad) 0; }
.book__title { font-family: "Verlag", "Helvetica Neue", Arial, sans-serif; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 5vw, 56px); line-height: 1; color: #000; }
.book__rule { width: 40px; height: 3px; background: var(--accent); margin: 16px 0 20px; }
.book__desc { max-width: 62ch; font-size: 15px; line-height: 1.7; color: #555; }
.book__desc b { color: #111; }

.book__steps { max-width: 1200px; margin: 28px auto 0; padding: 0 var(--pad); display: flex; flex-wrap: wrap; gap: 10px 30px; border-bottom: 1px solid #e6e6e6; }
.book__step { padding-bottom: 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #bbb; display: inline-flex; align-items: center; gap: 9px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.book__step b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; font-size: 11px; font-weight: 700; }
.book__step.is-active { color: #111; border-bottom-color: var(--accent); }
.book__step.is-active b { background: var(--accent); border-color: var(--accent); color: #fff; }

.book__grid { max-width: 1200px; margin: 0 auto; padding: clamp(34px, 4vw, 54px) var(--pad); display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
.book__q { font-family: "Playfair Display", Georgia, serif; font-size: clamp(19px, 2vw, 24px); color: #111; margin-bottom: 18px; }
.book__block { margin-bottom: 40px; }

.cal { max-width: 380px; }
.cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__month { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #111; font-weight: 700; }
.cal__btn { width: 32px; height: 32px; border: 1px solid #ddd; background: #fff; cursor: pointer; color: #333; display: inline-flex; align-items: center; justify-content: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: 11px; letter-spacing: .04em; color: #999; padding: 6px 0; text-transform: uppercase; }
.cal__day { aspect-ratio: 1; border: 1px solid transparent; background: #f6f6f6; color: #222; font-size: 14px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.cal__day:hover:not(:disabled) { background: #e9e9e9; }
.cal__day:disabled { color: #ccc; background: #fafafa; cursor: not-allowed; }
.cal__day.is-selected { background: var(--accent); color: #fff; }
.cal__day.is-empty { background: transparent; border: 0; cursor: default; }

.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slot { padding: 11px 20px; border: 1px solid #ddd; background: #fff; font-size: 14px; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.slot:hover { border-color: #999; }
.slot.is-selected { background: #111; color: #fff; border-color: #111; }

.qty__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid #ececec; }
.qty__row:first-child { border-top: 1px solid #ececec; }
.qty__label b { display: block; font-size: 15px; color: #111; }
.qty__label span { font-size: 13px; color: #888; }
.qty__ctrl { display: inline-flex; align-items: center; gap: 14px; }
.qty__btn { width: 34px; height: 34px; border: 1px solid #ccc; background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: #333; }
.qty__btn:hover { border-color: #111; color: #111; }
.qty__n { min-width: 22px; text-align: center; font-size: 16px; }

.book__aside { position: sticky; top: 100px; border: 1px solid #e8e8e8; }
.book__aside img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.book__sum { padding: 26px 24px; }
.book__promo { display: flex; gap: 8px; margin-bottom: 22px; }
.book__promo input { flex: 1; border: 1px solid #ddd; padding: 12px 14px; font: inherit; font-size: 14px; }
.book__promo button { padding: 12px 18px; border: 1px solid #111; background: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.book__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.book__total span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #888; }
.book__total b { font-size: 30px; font-weight: 700; color: #111; }
.book__continue { display: block; width: 100%; text-align: center; background: #000; color: #fff; border: 0; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 17px; transition: opacity .2s ease; }
.book__continue:hover { opacity: .82; }
.book__continue:disabled { opacity: .4; cursor: not-allowed; }
.book__links { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.book__links a { font-size: 13px; color: #555; }
.book__links a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .book__grid { grid-template-columns: 1fr; gap: 34px; }
  .book__aside { position: static; }
}

/* ============ BOOKING PAGE v2 (reference layout) ============ */
.bk { max-width: 1200px; margin: 0 auto; }
.bk-steps {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 12px clamp(24px, 4vw, 64px);
  padding: 34px var(--pad) 30px;
}
.bk-step {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
  color: #bbb; display: inline-flex; align-items: baseline; gap: 10px;
}
.bk-step i { font-style: normal; }
.bk-step.is-active { color: #111; font-weight: 700; }

.bk-sec { padding: 0 var(--pad); }
.bk-sec__head {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 0 20px; border-bottom: 1px solid #232323;
  font-size: 20px; color: #111;
}
.bk-sec__head svg { flex: 0 0 auto; color: #333; }
.bk-sec__sub { padding: 16px 0; border-bottom: 1px solid #ececec; font-size: 14px; color: #888; }
.bk-sec__body { padding: 40px 0 48px; }
.bk-sec.is-collapsed .bk-sec__body,
.bk-sec.is-collapsed .bk-sec__sub { display: none; }

/* calendar */
.cal2 { max-width: 455px; margin: 0 auto; }
.cal2__nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-bottom: 24px; }
.cal2__month { font-size: 26px; color: #222; letter-spacing: .01em; }
.cal2__month b { font-weight: 700; -webkit-text-stroke: 0.7px currentColor; text-stroke: 0.7px currentColor; }
.cal2__month span { color: #333; font-weight: 700; -webkit-text-stroke: 0.4px currentColor; text-stroke: 0.4px currentColor; }
.cal2__arrow { width: 40px; height: 34px; border: 1px solid #dcdcdc; background: #fff; cursor: pointer; color: #333; display: inline-flex; align-items: center; justify-content: center; }
.cal2__arrow:disabled { opacity: .35; cursor: default; }
.cal2__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal2__dow { text-align: left; padding: 0 0 14px 12px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #999; }
.cal2__day {
  border-left: 1px solid #ededed; min-height: 64px;
  padding: 9px 0 0 12px; text-align: left;
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700; font-size: 25px; color: #111;
  -webkit-text-stroke: 0.6px currentColor; text-stroke: 0.6px currentColor;
  background: transparent; border-top: 0; border-right: 0; border-bottom: 0; cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.cal2__day:hover:not(:disabled):not(.is-selected) { background: #f4f4f4; }
.cal2__day:disabled { color: #c9c9c9; cursor: default; }
.cal2__day.is-selected { background: #000; color: #fff; }
.cal2__day.is-empty { cursor: default; }

/* month slide (whole block moves as one) */
@keyframes calNext { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes calPrev { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
.cal2__grid.is-next .cal2__day { animation: calNext .34s cubic-bezier(.16,.84,.44,1) both; }
.cal2__grid.is-prev .cal2__day { animation: calPrev .34s cubic-bezier(.16,.84,.44,1) both; }
@media (prefers-reduced-motion: reduce) {
  .cal2__grid.is-next .cal2__day, .cal2__grid.is-prev .cal2__day { animation: none; }
}

/* time slots */
.bk-slots { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-slot { padding: 12px 22px; border: 1px solid #ddd; background: #fff; font-size: 14px; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.bk-slot:hover { border-color: #999; }
.bk-slot.is-selected { background: #111; color: #fff; border-color: #111; }

/* quantity */
.bk-qrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid #ececec; }
.bk-qrow:first-child { border-top: 1px solid #ececec; }
.bk-qrow__label b { display: block; font-size: 15px; color: #111; }
.bk-qrow__label span { font-size: 13px; color: #888; }
.bk-qctrl { display: inline-flex; align-items: center; gap: 16px; }
.bk-qbtn { width: 36px; height: 36px; border: 1px solid #ccc; background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: #333; }
.bk-qbtn:hover { border-color: #111; color: #111; }
.bk-qn { min-width: 22px; text-align: center; font-size: 16px; }

/* bottom bar */
.bk-bar {
  display: flex; align-items: stretch; justify-content: flex-end; gap: 30px;
  padding: 34px var(--pad) 64px; margin-top: 8px;
}
.bk-bar__total { align-self: center; text-align: right; }
.bk-bar__total span { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #888; margin-bottom: 4px; }
.bk-bar__total b { font-size: 22px; font-weight: 700; color: #111; }
.bk-bar__continue {
  display: inline-flex; align-items: center; gap: 10px;
  background: #9b9b9b; color: #fff; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 0 40px; transition: background .2s ease;
}
.bk-bar__continue:not(:disabled) { background: #000; }
.bk-bar__continue:not(:disabled):hover { opacity: .85; }
.bk-bar__continue:disabled { cursor: not-allowed; }
@media (max-width: 640px) {
  .bk-bar { flex-direction: column; align-items: stretch; }
  .bk-bar__continue { justify-content: center; padding: 18px; }
}

/* ============ BOOKING v2 — time grid + date summary ============ */
.bk-sec__head { justify-content: space-between; }
.bk-hl { display: inline-flex; align-items: center; gap: 14px; }
.bk-sec__headright { display: inline-flex; align-items: center; gap: 18px; font-size: 16px; color: #111; }
.bk-edit { width: 34px; height: 34px; border: 1px solid #ddd; background: #fff; cursor: pointer; color: #333; display: inline-flex; align-items: center; justify-content: center; }
.bk-edit:hover { border-color: #111; color: #111; }
.bk-sec.is-picked .bk-sec__sub,
.bk-sec.is-picked .bk-sec__body { display: none; }

.bk-slots--grid { display: grid; grid-template-columns: repeat(4, 190px); justify-content: center; gap: 32px; max-width: 1000px; margin: 0 auto; }
.bk-tslot { position: relative; }
.bk-tslot button { width: 100%; padding: 16px 10px; border: 1px solid #d8d8d8; background: #fff; font-size: 15px; color: #111; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.bk-tslot button:hover { border-color: #999; }
.bk-tslot.is-selected button { border-color: #111; border-width: 2px; }
.bk-notice { margin-top: 62px; }
.bk-notice h5 { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #111; margin: 26px 0 8px; }
.bk-notice p { font-size: 14px; line-height: 1.6; color: #555; margin: 0; }
.bk-notice p.red { color: var(--accent); }
@media (max-width: 720px) {
  .bk-slots--grid { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
}

/* ============ BOOKING v2 — hidden fix, ticket types ============ */
.bk-sec__headright[hidden], .bk-when-sel[hidden], .bk-when-ask[hidden] { display: none; }

.bk-sec__sub--center { text-align: center; color: #111; }

.bk-tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 70px; max-width: 1040px; margin: 0 auto; }
.bk-trow { display: flex; align-items: center; gap: 18px; }
.bk-trow__name { flex: 1; font-size: 15px; color: #222; line-height: 1.3; }
.bk-trow__price { font-weight: 700; font-size: 15px; color: #111; white-space: nowrap; }
.bk-stepper { display: inline-flex; align-items: stretch; }
.bk-stepper button { width: 38px; height: 38px; border: 1px solid #cfcfcf; background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: #333; }
.bk-stepper button:hover { border-color: #111; }
.bk-stepper button.inc { background: #111; color: #fff; border-color: #111; }
.bk-stepper button.inc:hover { background: #333; }
.bk-stepper .n { width: 48px; height: 38px; border-top: 1px solid #cfcfcf; border-bottom: 1px solid #cfcfcf; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: #111; }
@media (max-width: 720px) {
  .bk-tickets { grid-template-columns: 1fr; gap: 22px; }
}

/* ============ SUMMARY / CHECKOUT PAGE ============ */
.sp { max-width: 1200px; margin: 0 auto; }
.sp-cart { display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid #e6e6e6; padding: 26px 30px; margin: 16px var(--pad) 0; }
.sp-cart__title { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 24px; color: #111; }
.sp-cart__rule { width: 34px; height: 3px; background: var(--accent); margin: 12px 0 16px; }
.sp-cart__line { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: #111; }
.sp-cart__line svg { color: #333; }
.sp-timer { display: flex; align-items: center; gap: 18px; border-left: 1px solid #eee; padding-left: 24px; }
.sp-timer__ring { position: relative; width: 66px; height: 66px; }
.sp-timer__ring svg { transform: rotate(-90deg); }
.sp-timer__ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #111; }
.sp-timer__txt b { display: block; font-size: 16px; color: #111; }
.sp-timer__txt span { font-size: 13px; color: #666; }

.sp-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px var(--pad) 0; }
.sp-seguir { background: #111; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 18px 30px; transition: opacity .2s ease; }
.sp-seguir:hover { opacity: .82; }
.sp-total { text-align: right; }
.sp-total span { display: block; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.sp-total b { font-size: 24px; color: #111; }

.sp-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 40px; }
.sp-field label { display: block; font-size: 13px; color: #777; margin-bottom: 8px; }
.sp-field label b { color: var(--accent); font-weight: 400; }
.sp-field input, .sp-field select { width: 100%; border: 0; border-bottom: 1px solid #cfcfcf; padding: 8px 0; font: inherit; font-size: 15px; color: #111; background: transparent; }
.sp-field input:focus, .sp-field select:focus { outline: none; border-bottom-color: #111; }
.sp-note { font-size: 13px; color: #888; margin-top: 24px; }
.sp-gift { margin-top: 16px; background: #111; color: #fff; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 15px 26px; }
.sp-gift:hover { opacity: .85; }

.sp-pay { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.sp-pay__opt { display: flex; align-items: center; gap: 14px; }
.sp-pay__opt input { width: 20px; height: 20px; accent-color: #111; }
.sp-pay__label b { display: block; font-size: 15px; color: #111; }
.pay-badges { display: inline-flex; gap: 6px; margin-top: 8px; }
.pay-badge { height: 22px; padding: 0 7px; border: 1px solid #e2e2e2; border-radius: 3px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.pay-visa { color: #1a1f71; }
.pay-mc { color: #eb001b; font-style: normal; }
.pay-amex { color: #2e77bc; }
.sp-pay__info h4 { font-size: 14px; letter-spacing: .06em; color: #111; margin-bottom: 10px; }
.sp-pay__info p { font-size: 14px; line-height: 1.65; color: #555; }
@media (max-width: 820px) {
  .sp-cart { flex-direction: column; align-items: flex-start; }
  .sp-timer { border-left: 0; padding-left: 0; }
  .sp-form { grid-template-columns: 1fr; gap: 28px; }
  .sp-pay { grid-template-columns: 1fr; gap: 22px; }
}

/* ============ SUMMARY — consent block ============ */
.sp-consent__text { font-size: 15px; line-height: 1.7; color: #333; margin-bottom: 28px; }
.sp-check { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 15px; color: #333; line-height: 1.5; }
.sp-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: #111; flex: 0 0 auto; }
.sp-check a { text-decoration: underline; text-underline-offset: 2px; }

/* ============ ORDER SUCCESS ============ */
.sp-success { padding: 8px var(--pad) 80px; max-width: 920px; }
.sp-success__icon { width: 56px; height: 56px; border-radius: 50%; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.sp-success__title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(28px, 4vw, 40px); font-weight: 500; color: #111; line-height: 1.2; margin-bottom: 12px; }
.sp-success__lead { font-size: 16px; line-height: 1.65; color: #555; max-width: 52ch; margin-bottom: 36px; }
.sp-success__card { border: 1px solid #e6e6e6; padding: 28px 32px; margin-bottom: 32px; }
.sp-success__row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.sp-success__row:last-child { border-bottom: 0; }
.sp-success__row .k { color: #777; }
.sp-success__row .v { color: #111; font-weight: 600; text-align: right; }
.sp-success__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sp-success__actions a { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 18px 30px; transition: opacity .2s ease; }
.sp-success__actions .is-primary { background: #111; color: #fff; }
.sp-success__actions .is-secondary { border: 1px solid #111; color: #111; }
.sp-success__actions a:hover { opacity: .82; }
.bk-steps .bk-step.is-done { color: #111; }
@media (max-width: 640px) {
  .sp-success__row { flex-direction: column; gap: 4px; }
  .sp-success__row .v { text-align: left; }
}

/* ============ REDSYS / BBVA PAYMENT GATEWAY ============ */
.rs { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: #f4f6f8; min-height: 100vh; display: flex; flex-direction: column; color: #333; }
.rs-header { background: #004481; padding: 22px; text-align: center; }
.rs-header b { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: .04em; }
.rs-main { flex: 1; display: flex; justify-content: center; gap: 24px; padding: 44px 20px; flex-wrap: wrap; align-items: flex-start; }
.rs-panel { background: #fff; border: 1px solid #e3e6ea; border-radius: 4px; }
.rs-op { width: 290px; }
.rs-op__head, .rs-card__head { padding: 16px; border-bottom: 1px solid #eceef1; font-size: 15px; color: #333; }
.rs-op__head { text-align: center; }
.rs-op__body { padding: 4px 18px 16px; }
.rs-op__amount { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.rs-op__amount .k { color: #004481; font-size: 13px; letter-spacing: .03em; }
.rs-op__amount .v { font-size: 20px; color: #222; }
.rs-op__row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f2f2f2; font-size: 13px; }
.rs-op__row:last-child { border-bottom: 0; }
.rs-op__row .k { color: #555; }
.rs-op__row .v { font-style: italic; color: #222; text-align: right; }
.rs-card { width: 520px; max-width: 100%; }
.rs-card__head { display: flex; align-items: center; justify-content: space-between; }
.rs-card__brands { display: inline-flex; gap: 5px; }
.rs-card__body { padding: 26px; }
.rs-input { position: relative; margin-bottom: 14px; }
.rs-col { display: flex; flex-direction: column; }
.rs-col .rs-input { margin-bottom: 0; }
.rs-input > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9aa2ad; }
.rs-input input { width: 100%; padding: 14px 14px 14px 44px; border: 1px solid #cfd4da; border-radius: 4px; font-size: 15px; font-family: inherit; }
.rs-input input:focus { outline: none; border-color: #004481; box-shadow: 0 0 0 2px rgba(0,68,129,.15); }
.rs-hint { display: none; align-items: center; gap: 7px; font-size: 13px; color: #5a6472; margin: 8px 0 0; }
.rs-hint.show { display: flex; }
#payForm > .rs-hint { margin-bottom: 20px; }
.rs-hint svg { color: #2f7bd0; }
.rs-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.rs-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rs-btn { padding: 13px; border-radius: 4px; font-size: 15px; cursor: pointer; border: 1px solid #cfd4da; background: #fff; color: #333; font-family: inherit; }
.rs-btn:hover { border-color: #004481; }
.rs-btn--pay { background: #e6e8eb; color: #9aa2ad; border-color: #e6e8eb; cursor: not-allowed; }
.rs-btn--pay.is-on { background: #004481; color: #fff; border-color: #004481; cursor: pointer; }
.rs-footer { background: transparent; padding: 0 0 26px; text-align: center; }
.rs-footer__brands { background: #e9ecef; padding: 22px; margin-bottom: 20px; display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap; }
.rs-powered { font-size: 12px; color: #666; margin-bottom: 6px; }
.rs-powered b { color: #e8730c; }
.rs-copy { font-size: 12px; color: #8a929c; }
.rs-brand { height: 22px; padding: 0 7px; border-radius: 3px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; font-style: italic; }
.rs-brand.v { color: #1a1f71; border: 1px solid #e2e2e2; }
.rs-brand.m { color: #eb001b; font-style: normal; border: 1px solid #e2e2e2; }
.rs-brand.a { color: #fff; background: #2e77bc; }
@media (max-width: 640px) { .rs-row2 { grid-template-columns: 1fr; } }

/* ============ REDSYS — real logo images ============ */
.rs-header img { display: inline-block; height: 32px; width: auto; vertical-align: middle; }
.rs-card__brands img { height: 22px; width: auto; }
.rs-input > img { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: auto; }
.rs-footer__brands img { width: auto; vertical-align: middle; }
.rs-powered { text-align: center; }
.rs-powered img { height: 22px; width: auto; display: block; margin: 0 auto; }

/* ============ ACERCA DEL MUSEO / CONTRATACIÓN ============ */
.acerca-hero {
  background: #fff; color: #000;
  padding: clamp(120px, 15vw, 190px) 0 0;
  overflow: hidden;
}
.acerca-hero__wordmark {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, 14vw, 190px); /* fallback; JS fits exact size to viewport */
  line-height: .92; letter-spacing: -.02em;
  white-space: nowrap; overflow: hidden;
  padding: 0 var(--pad);
  margin-bottom: clamp(28px, 4vw, 46px);
}
.acerca-hero__mark { display: inline-block; }

/* secondary section tabs */
.acerca-tabs {
  position: relative;
  border-bottom: 1px solid #e4e4e4;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.acerca-tabs::-webkit-scrollbar { display: none; }
.acerca-tabs__inner {
  display: flex; gap: clamp(28px, 4vw, 56px);
  padding: 0 var(--pad);
  min-width: max-content;
}
.acerca-tabs__item {
  padding: 22px 0 20px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: #8a8a8a; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s ease;
}
.acerca-tabs__item:hover { color: #000; }
.acerca-tabs__item.is-active { color: #000; font-weight: 700; border-bottom-color: var(--accent); }

@media (max-width: 720px) {
  .acerca-hero { padding-top: clamp(92px, 22vw, 132px); }
  .acerca-hero__wordmark {
    white-space: normal;
    font-size: clamp(40px, 13vw, 80px);
    line-height: .98;
    hyphens: none; overflow-wrap: break-word;
  }
  .acerca-tabs__item { font-size: 12px; letter-spacing: .06em; }
}
@media (max-width: 400px) {
  .acerca-hero__wordmark { font-size: 38px; }
}

/* acerca del museo content */
.acerca {
  background: #fff;
  color: #1a1a1a;
  padding: clamp(28px, 4vw, 48px) var(--pad) clamp(60px, 8vw, 100px);
}
.acerca__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.acerca__intro {
  font-size: 16px;
  line-height: 1.72;
  color: #444;
  margin: 0 0 clamp(36px, 5vw, 56px);
  max-width: 920px;
}
.acerca-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin: 0 0 clamp(40px, 5vw, 56px);
}
.acerca-card:last-child { margin-bottom: 0; }
.acerca-card__media {
  overflow: hidden;
  background: #eee;
  aspect-ratio: 16 / 9;
}
.acerca-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.acerca-card__body {
  padding: clamp(8px, 1.5vw, 16px) 0;
}
.acerca-card h2 {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  text-transform: none;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 clamp(14px, 2vw, 20px);
}
.acerca-card p {
  font-size: 15.5px;
  line-height: 1.72;
  color: #444;
  margin: 0;
}
.acerca-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 768px) {
  .acerca-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* contratación body */
.contrata { background: #fff; color: #1a1a1a; padding: clamp(48px, 7vw, 88px) var(--pad) clamp(60px, 8vw, 110px); }
.contrata__inner { max-width: 1120px; margin: 0 auto; }
.contrata__section + .contrata__section {
  margin-top: clamp(36px, 5vw, 52px);
}
.contrata__heading {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; color: #000;
  margin: 0;
}
.contrata__heading .contrata__mark {
  position: relative;
  display: inline-block;
}
.contrata__heading .contrata__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: var(--accent);
}
.contrata__rule { width: 60px; height: 4px; background: var(--accent); margin: 16px 0 clamp(30px, 4vw, 48px); }
.contrata__intro { max-width: 760px; font-size: 17px; line-height: 1.72; color: #444; margin-bottom: clamp(30px, 4vw, 50px); }
.contrata__subheading {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700; font-size: clamp(19px, 2.2vw, 26px); color: #000;
  margin: clamp(48px, 6vw, 72px) 0 0;
}
.contrata__empty { font-size: 16px; color: #444; margin: 14px 0 0; }
.contrata__empty strong { font-weight: 700; color: #111; }

/* accordion */
.acc { border-top: 1px solid #e0e0e0; }
.acc__item { border-bottom: 1px solid #e0e0e0; }
.acc__head {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 28px; justify-content: space-between;
  padding: clamp(24px, 3vw, 34px) 4px;
  text-align: left; font-family: inherit;
}
.acc__title {
  font-weight: 700; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.32; color: #111;
  transition: color .2s ease;
}
.acc__head:hover .acc__title { color: var(--accent); }
.acc__icon {
  position: relative; flex: 0 0 auto; width: 26px; height: 26px;
}
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: #111; transition: transform .28s ease, opacity .2s ease;
}
.acc__icon::before { width: 26px; height: 1.5px; transform: translate(-50%, -50%); }
.acc__icon::after  { width: 1.5px; height: 26px; transform: translate(-50%, -50%); }
.acc__head[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc__head[aria-expanded="true"] .acc__icon::before { background: var(--accent); }

.acc__panel { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.acc__panel-inner { padding: 4px 4px 40px; }
.acc__meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 40px;
  max-width: 720px; margin-bottom: 34px;
}
.acc__meta dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #999; margin-bottom: 7px; }
.acc__meta dd { font-size: 16px; color: #1a1a1a; }
.acc__status {
  display: inline-block; margin-bottom: 30px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); border: 1px solid currentColor; border-radius: 2px;
  padding: 6px 12px;
}
.acc__status b { color: #111; font-weight: 700; }
.acc__docs-label { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #999; margin-bottom: 14px; }
.acc__doc {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; max-width: 720px; background: none; border: 0; cursor: pointer;
  padding: 13px 0; border-top: 1px solid #ececec; text-align: left; font-family: inherit;
}
.acc__doc:last-child { border-bottom: 1px solid #ececec; }
.acc__doc-name { font-size: 15px; color: #333; line-height: 1.4; transition: color .2s ease; }
.acc__doc-dl {
  flex: 0 0 auto; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
}
.acc__doc-dl svg { width: 14px; height: 14px; }
.acc__doc:hover .acc__doc-name { color: #000; }

@media (max-width: 640px) {
  .acc__meta { grid-template-columns: 1fr; gap: 18px; }
  .acc__doc { flex-wrap: wrap; gap: 4px; }
}

/* ============ CORPORATE EVENTS ============ */
.corp { background: #fff; color: #1a1a1a; padding: clamp(36px, 5vw, 56px) var(--pad) clamp(60px, 8vw, 110px); }
.corp__inner { max-width: 1120px; margin: 0 auto; }
.corp__crumb { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #999; margin: 0 0 28px; }
.corp__crumb a { color: #999; }
.corp__heading {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(26px, 4vw, 44px); line-height: 1.05; color: #000; margin: 0;
}
.corp__rule { width: 60px; height: 4px; background: var(--accent); margin: 16px 0 clamp(24px, 3vw, 36px); }
.corp__intro { max-width: 820px; font-size: 17px; line-height: 1.72; color: #444; margin: 0 0 14px; }
.corp__subheading {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700; font-size: clamp(19px, 2.2vw, 26px); color: #000;
  margin: clamp(40px, 5vw, 64px) 0 clamp(20px, 2.5vw, 28px);
}
.corp-spaces-section {
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: clamp(8px, 1vw, 16px) var(--pad) 0;
  width: 100%;
}
.corp-spaces__title {
  margin: 0 auto clamp(28px, 3.5vw, 40px);
  max-width: 1120px;
  text-align: center;
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #000;
}
.corp-spaces__mark {
  position: relative;
  display: inline-block;
}
.corp-spaces__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: var(--accent);
}
.corp-spaces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  max-width: 1440px;
  margin: 0 auto;
}
.corp-space {
  margin: 0;
  border: 1px solid #e8e8e8;
  background: #fff;
}
.corp-space__media {
  position: relative;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 2.35 / 1;
}
.corp-space__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}
.corp-space:hover .corp-space__media img { transform: scale(1.03); }
.corp-space__cap {
  margin: 0;
  padding: 12px 14px 14px;
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  text-align: left;
}
.corp__catalog { margin: clamp(24px, 3vw, 34px) auto 0; max-width: 1440px; font-size: 15px; text-align: center; }
.corp__catalog a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.corp-services {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px);
  max-width: 920px;
}
.corp-service h4 {
  font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #111; margin: 0 0 10px;
}
.corp-service p { font-size: 16px; line-height: 1.72; color: #444; margin: 0; }
.corp .acc__panel-inner p { font-size: 16px; line-height: 1.72; color: #444; margin: 0 0 12px; }
.corp .acc__panel-inner p:last-child { margin-bottom: 0; }
.corp-contact p { font-size: 16px; line-height: 1.72; color: #444; margin: 0 0 8px; }
.corp-contact a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 960px) {
  .corp-spaces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .corp-spaces { grid-template-columns: 1fr; }
  .corp-services { grid-template-columns: 1fr; }
}

/* ============ LANGUAGE DROPDOWN ============ */
.langsel { position: relative; }
.langsel__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer; color: inherit;
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 0;
}
.langsel__chev { transition: transform .25s ease; }
.langsel__btn[aria-expanded="true"] .langsel__chev { transform: rotate(180deg); }
.langsel__menu {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 60;
  min-width: 190px; list-style: none; margin: 0; padding: 7px 0;
  background: #fff; border: 1px solid #dcdcdc;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  display: none;
}
.langsel.is-open .langsel__menu { display: block; animation: langpop .16s ease both; }
@keyframes langpop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.langsel__opt {
  display: block; padding: 9px 22px;
  font-size: 14px; letter-spacing: .09em; text-transform: uppercase;
  color: #444; transition: background .15s ease, color .15s ease;
}
.langsel__opt:hover { background: #f3f3f3; color: #000; }
.langsel__opt.is-current { color: #000; font-weight: 700; }

/* ============ PLAN YOUR VISIT ============ */
.visit-hero {
  background: #fff; color: #000;
  padding: clamp(100px, 12vw, 140px) 0 0;
}
.visit-hero__wordmark {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1; letter-spacing: -.01em;
  padding: 0 var(--pad);
  margin-bottom: clamp(20px, 3vw, 32px);
  text-align: center;
}
.visit-hero__mark { display: inline-block; }
.visit-tabs {
  position: relative;
  border-bottom: 1px solid #e4e4e4;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.visit-tabs::-webkit-scrollbar { display: none; }
.visit-tabs__inner {
  display: flex; gap: clamp(28px, 4vw, 56px);
  padding: 0 var(--pad);
  min-width: max-content;
}
.visit-tabs__item {
  padding: 22px 0 20px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: #8a8a8a; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s ease;
}
.visit-tabs__item:hover { color: #000; }
.visit-tabs__item.is-active { color: #000; font-weight: 700; border-bottom-color: var(--accent); }

.visit {
  background: #fff; color: #1a1a1a;
  padding: clamp(28px, 4vw, 44px) var(--pad) clamp(60px, 8vw, 100px);
}
.visit__inner { max-width: 1320px; margin: 0 auto; }
.visit-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.visit-chip {
  font-family: inherit;
  font-size: 13px; letter-spacing: .04em;
  padding: 10px 18px;
  border: 1px solid #d8d8d8; border-radius: 999px;
  background: #fff; color: #444; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.visit-chip:hover { border-color: #aaa; color: #000; }
.visit-chip.is-active {
  border-color: var(--accent); color: var(--accent); font-weight: 700;
}

.visit-layout {
  display: block;
}
.visit-block { margin-bottom: clamp(36px, 5vw, 56px); }
.visit-block__title {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .02em;
  color: #000; margin: 0 0 clamp(16px, 2vw, 22px);
}

.visit-cal {
  border: 1px solid #e8e8e8; padding: clamp(18px, 2.5vw, 24px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.visit-cal__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
}
.visit-cal__head h2 {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: #111; margin: 0;
}
.visit-cal__head span { font-size: 14px; color: #666; }
.visit-cal__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  text-align: center; font-size: 13px; color: #333; margin-bottom: 16px;
}
.visit-cal__grid > span:first-child,
.visit-cal__grid > span:nth-child(2),
.visit-cal__grid > span:nth-child(3),
.visit-cal__grid > span:nth-child(4),
.visit-cal__grid > span:nth-child(5),
.visit-cal__grid > span:nth-child(6),
.visit-cal__grid > span:nth-child(7) {
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #999;
}
.visit-cal__grid .is-muted { color: #ccc; }
.visit-cal__grid .is-today {
  background: var(--accent); color: #fff; border-radius: 50%;
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.visit-cal__btn {
  font-family: inherit; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 0;
}
.visit-cal__btn:hover { opacity: .75; }

.visit-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 18px);
}
.visit-cards--wide { grid-template-columns: 1fr; }
.visit-card {
  border: 1px solid #ececec; background: #fff; overflow: hidden;
  display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr);
}
.visit-cards--wide .visit-card { grid-template-columns: minmax(160px, 42%) minmax(0, 1fr); }
.visit-card img {
  width: 100%; height: 100%; min-height: 120px;
  object-fit: cover; object-position: center;
}
.visit-card__body { padding: 14px 16px 16px; }
.visit-card__meta {
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: #888; margin: 0 0 6px;
}
.visit-card h3 {
  font-size: 15px; line-height: 1.35; font-weight: 700; color: #111; margin: 0;
}
.visit-card p { font-size: 13px; color: #666; margin: 6px 0 0; }

.visit-block__title--mark .visit-block__mark {
  position: relative;
  display: inline-block;
}
.visit-block__title--mark .visit-block__mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--accent);
}

.visit-slider {
  position: relative;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad);
}
.visit-slider__viewport { overflow: hidden; }
.visit-slider__track {
  display: flex;
  gap: 12px;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.visit-activity {
  flex: 0 0 calc((100% - 24px) / 3.15);
  min-width: 220px;
  border: 1px solid #e4e4e4;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
a.visit-activity:hover {
  border-color: #ccc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.visit-activity__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f2f2f2;
}
.visit-activity__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.visit-activity__body {
  padding: 16px 18px 20px;
  flex: 1;
}
.visit-activity__meta {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  margin: 0 0 8px;
  line-height: 1.45;
}
.visit-activity__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin: 0;
}
.visit-exhibitions .visit-activity__meta {
  margin: 8px 0 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
.visit-slider__nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  transition: opacity .2s ease, border-color .2s ease;
}
.visit-slider__nav:hover:not(:disabled) { border-color: #aaa; }
.visit-slider__nav:disabled { opacity: 0; pointer-events: none; }
.visit-slider__nav--prev { left: 4px; }
.visit-slider__nav--next { right: 4px; }

.visit-slider--essentials .visit-essential {
  flex: 0 0 calc((100% - 24px) / 3.15);
  min-width: 180px;
  margin: 0;
}
.visit-slider--essentials .visit-essential__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}
.visit-slider--essentials .visit-essential__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.visit-slider--essentials .visit-essential h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 10px 0 4px;
}
.visit-slider--essentials .visit-essential p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.visit-essentials {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 18px);
}
.visit-essential { margin: 0; text-decoration: none; color: inherit; cursor: pointer; display: block; }
a.visit-essential:hover h3 { color: #000; }
a.visit-essential:hover .visit-essential__media img { opacity: .92; }
.visit-essential img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eee;
}
.visit-essential h3 {
  font-size: 15px; font-weight: 700; color: #111; margin: 10px 0 4px;
}
.visit-essential p { font-size: 13px; color: #666; margin: 0; }

.visit-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.visit-panel {
  border: 1px solid #e8e8e8; padding: clamp(18px, 2.5vw, 24px);
  font-size: 14px; line-height: 1.65; color: #444;
}
.visit-panel h2 {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: #111; margin: 0 0 14px;
}
.visit-panel__lead { font-size: 16px; color: #111; margin: 0 0 10px; }
.visit-panel ul { margin: 10px 0; padding-left: 18px; }
.visit-panel li { margin: 6px 0; }
.visit-notes { list-style: none; padding: 0; margin-top: 16px; border-top: 1px solid #eee; padding-top: 14px; }
.visit-notes li {
  font-size: 12px; letter-spacing: .02em; color: #666;
  padding-left: 14px; position: relative; margin: 8px 0;
}
.visit-notes li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.visit-panel--accent { border-color: #ddd; background: #fafafa; }
.visit-prices { list-style: none; padding: 0; margin: 0; }
.visit-prices li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #e8e8e8; font-size: 14px;
}
.visit-prices li:last-child { border-bottom: 0; }
.visit-prices strong { font-size: 15px; color: #111; white-space: nowrap; }
.visit-panel__actions { margin-top: 18px; }
.visit-btn {
  display: inline-block; width: 100%; text-align: center;
  padding: 14px 18px; background: var(--accent); color: #fff;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  transition: opacity .2s ease;
}
.visit-btn:hover { opacity: .88; }

/* visit info band (hours + prices) */
.visit-info {
  background: #f3f3f3;
  color: #111;
  padding: clamp(48px, 6vw, 72px) var(--pad);
}
.visit-info__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 80px);
}
.visit-info__heading {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.05;
  letter-spacing: .02em;
  margin: 0 0 clamp(22px, 3vw, 30px);
}
.visit-info__heading--stack { line-height: 1.08; }
.visit-info__mark {
  position: relative;
  display: inline-block;
}
.visit-info__mark::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0.72em;
  bottom: -7px;
  height: 3px;
  background: var(--accent);
}
.visit-info__lead {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  color: #111;
  margin: 0 0 14px;
  text-transform: none;
}
.visit-info__text,
.visit-info__more p,
.visit-info__more li {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  margin: 0 0 10px;
}
.visit-info__more ul {
  margin: 0 0 10px;
  padding-left: 18px;
}
.visit-info__details { margin: 0 0 6px; }
.visit-info__details > summary { list-style: none; }
.visit-info__details > summary::-webkit-details-marker { display: none; }
.visit-info__link {
  display: inline-block;
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.visit-info__more {
  margin-top: 16px;
  padding-top: 4px;
}
.visit-info__alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: clamp(24px, 3vw, 32px) 0 20px;
  padding: 16px 18px;
  background: #dceef5;
  color: #222;
}
.visit-info__alert-icon {
  flex: 0 0 auto;
  color: #111;
  line-height: 0;
}
.visit-info__alert p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.visit-info__alert strong {
  font-weight: 700;
  letter-spacing: .02em;
}
.visit-info__notes {
  list-style: none;
  margin: 0 0 clamp(28px, 4vw, 36px);
  padding: 0;
  display: grid;
  gap: 12px;
}
.visit-info__notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #888;
}
.visit-info__note-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #727272;
  line-height: 0;
}
.visit-info__note-icon svg { display: block; }
.visit-info__note-text { flex: 1; min-width: 0; }
.visit-info__sponsor p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #777;
}
.visit-info__sponsor img {
  width: auto;
  height: 28px;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
}
.visit-info__prices {
  list-style: none;
  margin: 0;
  padding: 0;
}
.visit-info__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #d8d8d8;
}
.visit-info__price:first-child { padding-top: 0; }
.visit-info__price-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.visit-info__price-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.25;
  color: #111;
}
.visit-info__price-sub {
  font-size: 13px;
  color: #888;
}
.visit-info__price strong {
  font-family: "Verlag", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}
.visit-info__price.is-free strong { color: #999; }
.visit-info__actions {
  margin-top: clamp(24px, 3vw, 32px);
}
.visit-info__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  transition: opacity .2s ease;
}
.visit-info__btn:hover { opacity: .88; }
.visit-info__btn--primary { background: var(--accent); }

@media (max-width: 1024px) {
  .visit-layout { grid-template-columns: 1fr; }
  .visit-info__inner { grid-template-columns: 1fr; gap: 48px; }
  .visit-essentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .visit-hero { padding-top: clamp(88px, 18vw, 112px); }
  .visit-hero__wordmark { font-size: clamp(28px, 7vw, 40px); }
  .visit-tabs__item { font-size: 12px; letter-spacing: .06em; }
  .visit-activity { flex: 0 0 calc((100% - 12px) / 1.35); min-width: 0; }
  .visit-slider--essentials .visit-essential { flex: 0 0 calc((100% - 12px) / 1.35); min-width: 0; }
  .visit-slider__nav { width: 32px; height: 32px; }
  .visit-cards,
  .visit-essentials { grid-template-columns: 1fr; }
  .visit-card,
  .visit-cards--wide .visit-card { grid-template-columns: 1fr; }
  .visit-card img { min-height: 180px; max-height: 220px; }
}
@media (max-width: 400px) {
  .visit-hero__wordmark { font-size: 26px; }
}
