/* Museum Pass Planners — mpx- prefixed BEM. Breakpoints 992/768/520. */

:root {
  --mpx-indigo: #3b2f63;
  --mpx-indigo-dark: #2a2148;
  --mpx-indigo-soft: #ece9f4;
  --mpx-saffron: #e4a11b;
  --mpx-saffron-dark: #b87c0c;
  --mpx-saffron-soft: #fbf0d6;
  --mpx-paper: #faf8f4;
  --mpx-surface: #ffffff;
  --mpx-surface-2: #f2efe8;
  --mpx-ink: #211c2e;
  --mpx-ink-soft: #534c63;
  --mpx-line: #e0dbd0;
  --mpx-line-strong: #c8c1b2;
  --mpx-radius: 14px;
  --mpx-radius-sm: 7px;
  --mpx-shadow: 0 10px 30px rgba(43, 33, 72, 0.10);
  --mpx-shadow-sm: 0 3px 12px rgba(43, 33, 72, 0.07);
  --mpx-wrap: 1180px;
  --mpx-gap: 26px;
  --mpx-head-font: Baskerville, "Hoefler Text", "Baskerville Old Face", "Times New Roman", serif;
  --mpx-body-font: Verdana, Geneva, "DejaVu Sans", Tahoma, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--mpx-body-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--mpx-ink);
  background: var(--mpx-paper);
}

h1, h2, h3, h4 {
  font-family: var(--mpx-head-font);
  line-height: 1.18;
  color: var(--mpx-indigo);
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: 2.6rem; letter-spacing: -0.01em; }
h2 { font-size: 1.95rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--mpx-indigo); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--mpx-saffron-dark); }

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

:focus-visible {
  outline: 3px solid var(--mpx-saffron);
  outline-offset: 2px;
}

.mpx-wrap {
  width: 100%;
  max-width: var(--mpx-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.mpx-eyebrow {
  display: inline-block;
  font-family: var(--mpx-body-font);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mpx-saffron-dark);
  font-weight: 700;
  margin-bottom: 0.8em;
}

.mpx-lead { font-size: 1.12rem; color: var(--mpx-ink-soft); }

/* Buttons — soft rounded, underline-on-hover ghost */
.mpx-btn {
  display: inline-block;
  font-family: var(--mpx-body-font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--mpx-radius-sm);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.mpx-btn--primary {
  background: var(--mpx-indigo);
  color: #fff;
}
.mpx-btn--primary:hover { background: var(--mpx-indigo-dark); color: #fff; transform: translateY(-2px); }
.mpx-btn--accent {
  background: var(--mpx-saffron);
  color: var(--mpx-indigo-dark);
}
.mpx-btn--accent:hover { background: var(--mpx-saffron-dark); color: #fff; transform: translateY(-2px); }
.mpx-btn--ghost {
  background: transparent;
  color: var(--mpx-indigo);
  border-color: var(--mpx-line-strong);
}
.mpx-btn--ghost:hover { border-color: var(--mpx-indigo); text-decoration: underline; }

/* Header */
.mpx-header {
  background: var(--mpx-surface);
  border-bottom: 1px solid var(--mpx-line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.mpx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}
.mpx-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.mpx-brand__mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--mpx-indigo);
  color: var(--mpx-saffron);
  font-family: var(--mpx-head-font);
  font-weight: 700;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.mpx-brand__name {
  font-family: var(--mpx-head-font);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--mpx-indigo);
}
.mpx-nav { display: flex; align-items: center; gap: 4px; }
.mpx-nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mpx-ink-soft);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 6px;
}
.mpx-nav__link:hover,
.mpx-nav__link[aria-current="page"] {
  color: var(--mpx-indigo);
  background: var(--mpx-indigo-soft);
}
.mpx-nav__link--cta {
  background: var(--mpx-saffron);
  color: var(--mpx-indigo-dark);
  margin-left: 8px;
}
.mpx-nav__link--cta:hover { background: var(--mpx-saffron-dark); color: #fff; }
.mpx-nav__toggle {
  display: none;
  background: none;
  border: 2px solid var(--mpx-line-strong);
  border-radius: 6px;
  padding: 8px 11px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--mpx-indigo);
}

/* Hero — split with compare table */
.mpx-hero { padding: 64px 0 56px; }
.mpx-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.mpx-hero__title { font-size: 3rem; }
.mpx-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.mpx-compare {
  background: var(--mpx-surface);
  border: 1px solid var(--mpx-line);
  border-radius: var(--mpx-radius);
  box-shadow: var(--mpx-shadow);
  overflow: hidden;
}
.mpx-compare__head {
  background: var(--mpx-indigo);
  color: #fff;
  padding: 16px 20px;
  font-family: var(--mpx-head-font);
  font-size: 1.15rem;
}
.mpx-compare__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--mpx-line);
  font-size: 0.92rem;
}
.mpx-compare__row:last-child { border-bottom: 0; }
.mpx-compare__name { font-weight: 700; color: var(--mpx-indigo); }
.mpx-compare__price { color: var(--mpx-saffron-dark); font-weight: 700; white-space: nowrap; }
.mpx-compare__foot { padding: 16px 20px; background: var(--mpx-surface-2); font-size: 0.82rem; color: var(--mpx-ink-soft); }

/* Sections */
.mpx-section { padding: 60px 0; }
.mpx-section--alt { background: var(--mpx-surface-2); }
.mpx-section__head { max-width: 720px; margin-bottom: 36px; }

/* Steps */
.mpx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mpx-gap); }
.mpx-step {
  background: var(--mpx-surface);
  border: 1px solid var(--mpx-line);
  border-radius: var(--mpx-radius);
  padding: 28px 24px;
}
.mpx-step__num {
  font-family: var(--mpx-head-font);
  font-size: 2.1rem;
  color: var(--mpx-saffron);
  line-height: 1;
  margin-bottom: 12px;
}

/* Cards */
.mpx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mpx-gap); }
.mpx-card {
  background: var(--mpx-surface);
  border: 1px solid var(--mpx-line);
  border-radius: var(--mpx-radius);
  overflow: hidden;
  box-shadow: var(--mpx-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.mpx-card:hover { transform: translateY(-4px); box-shadow: var(--mpx-shadow); }
.mpx-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mpx-indigo-soft); }
.mpx-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mpx-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.mpx-card__tag {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--mpx-saffron-dark); font-weight: 700; margin-bottom: 8px;
}
.mpx-card__link { margin-top: auto; font-weight: 700; }

/* Two-column */
.mpx-twocol { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: start; }
.mpx-callout {
  background: var(--mpx-indigo);
  color: #fff;
  border-radius: var(--mpx-radius);
  padding: 30px 28px;
}
.mpx-callout h3 { color: var(--mpx-saffron); }
.mpx-callout p { color: rgba(255,255,255,0.86); }

/* Table */
.mpx-table-wrap { overflow-x: auto; }
.mpx-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--mpx-surface);
  border: 1px solid var(--mpx-line);
  border-radius: var(--mpx-radius);
  overflow: hidden;
  font-size: 0.92rem;
}
.mpx-table th, .mpx-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--mpx-line); }
.mpx-table th { background: var(--mpx-indigo-soft); color: var(--mpx-indigo); font-weight: 700; }
.mpx-table tr:last-child td { border-bottom: 0; }

/* FAQ */
.mpx-faq { max-width: 820px; }
.mpx-faq__item {
  background: var(--mpx-surface);
  border: 1px solid var(--mpx-line);
  border-radius: var(--mpx-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.mpx-faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-family: var(--mpx-body-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--mpx-indigo);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.mpx-faq__icon { color: var(--mpx-saffron-dark); transition: transform 0.2s ease; }
.mpx-faq__q[aria-expanded="true"] .mpx-faq__icon { transform: rotate(45deg); }
.mpx-faq__a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.25s ease, padding 0.25s ease; }
.mpx-faq__a[data-open="true"] { padding: 0 22px 20px; max-height: 600px; }

/* Pricing */
.mpx-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mpx-gap); align-items: start; }
.mpx-plan {
  background: var(--mpx-surface);
  border: 1px solid var(--mpx-line);
  border-radius: var(--mpx-radius);
  padding: 30px 26px;
}
.mpx-plan--featured { border-color: var(--mpx-saffron); box-shadow: var(--mpx-shadow); }
.mpx-plan__price { font-family: var(--mpx-head-font); font-size: 2.3rem; color: var(--mpx-indigo); }
.mpx-plan__price span { font-size: 0.95rem; color: var(--mpx-ink-soft); font-family: var(--mpx-body-font); }
.mpx-plan__list { list-style: none; padding: 0; margin: 18px 0 24px; }
.mpx-plan__list li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--mpx-line); font-size: 0.92rem; }
.mpx-plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--mpx-saffron-dark); font-weight: 700; }

/* Forms */
.mpx-form { display: grid; gap: 16px; max-width: 640px; }
.mpx-field { display: grid; gap: 6px; }
.mpx-field label { font-weight: 700; font-size: 0.88rem; color: var(--mpx-indigo); }
.mpx-field input, .mpx-field select, .mpx-field textarea {
  font-family: var(--mpx-body-font);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--mpx-line-strong);
  border-radius: var(--mpx-radius-sm);
  background: var(--mpx-surface);
  color: var(--mpx-ink);
}
.mpx-field input:focus, .mpx-field select:focus, .mpx-field textarea:focus {
  border-color: var(--mpx-indigo);
  outline: none;
  box-shadow: 0 0 0 3px var(--mpx-indigo-soft);
}
.mpx-form__status {
  display: none;
  padding: 13px 16px;
  border-radius: var(--mpx-radius-sm);
  background: var(--mpx-saffron-soft);
  color: var(--mpx-indigo-dark);
  font-weight: 700;
  font-size: 0.9rem;
}
.mpx-form__status[data-show="true"] { display: block; }
.mpx-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--mpx-ink-soft); }
.mpx-consent input { margin-top: 3px; }

/* Page banner */
.mpx-banner { background: var(--mpx-indigo); color: #fff; padding: 50px 0; }
.mpx-banner h1 { color: #fff; }
.mpx-banner p { color: rgba(255,255,255,0.85); max-width: 680px; margin: 0; }
.mpx-breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.mpx-breadcrumb a { color: var(--mpx-saffron); }

/* Footer */
.mpx-footer { background: var(--mpx-indigo-dark); color: rgba(255,255,255,0.8); padding: 52px 0 28px; margin-top: 10px; }
.mpx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.mpx-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.mpx-footer ul { list-style: none; padding: 0; margin: 0; }
.mpx-footer li { margin-bottom: 9px; }
.mpx-footer a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.9rem; }
.mpx-footer a:hover { color: var(--mpx-saffron); }
.mpx-footer address { font-style: normal; font-size: 0.88rem; line-height: 1.8; }
.mpx-footer__legal {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mpx-prose { max-width: 820px; }
.mpx-prose h2 { margin-top: 1.6em; }
.mpx-prose ul { padding-left: 20px; }
.mpx-prose li { margin-bottom: 8px; }

@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  .mpx-hero__title { font-size: 2.4rem; }
  .mpx-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .mpx-steps, .mpx-cards, .mpx-plans { grid-template-columns: repeat(2, 1fr); }
  .mpx-twocol { grid-template-columns: 1fr; }
  .mpx-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mpx-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--mpx-surface); flex-direction: column; align-items: stretch; padding: 12px 24px 18px; border-bottom: 1px solid var(--mpx-line); gap: 2px; }
  .mpx-nav[data-open="true"] { display: flex; }
  .mpx-nav__link--cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .mpx-nav__toggle { display: block; }
  .mpx-plans { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  h1 { font-size: 1.9rem; }
  .mpx-hero__title { font-size: 2rem; }
  .mpx-steps, .mpx-cards { grid-template-columns: 1fr; }
  .mpx-footer__grid { grid-template-columns: 1fr; }
  .mpx-wrap { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
}
