/* =========================
   ROOT VARIABLES
========================= */
:root {
  --navy: #12232c;
  --blue: #3470a8;
  --gold: #edc108;
  --bg: #f6f8fb;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;
}

/* =========================
   GLOBAL
========================= */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

/* =========================
   SHARED BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary {
  background: var(--gold);
  color: #111827;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-outline {
  background: white;
  color: var(--navy);
  border: 1px solid var(--border);
}

/* =========================
   HEADER / FOOTER
========================= */
.site-header {
  background: var(--navy);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  height: 42px;
  display: block;
}

.menu-toggle {
  display: none;
}

.site-nav {
  display: flex;
  gap: 18px;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.site-footer {
  background: var(--navy);
  color: white;
  padding: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footer-brand img {
  height: 40px;
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  color: #d6dde6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social img {
  width: 22px;
  height: 22px;
  display: block;
}

/* =========================
   INDEX / SPONSOR LIST PAGE
========================= */
.savings-pass-page {
  background: var(--bg);
  padding: 32px 0 48px;
}

.pass-hero {
  background: linear-gradient(135deg, var(--navy), #1b3550);
  color: white;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}

.pass-eyebrow {
  display: inline-block;
  background: rgba(237, 193, 8, 0.18);
  color: #ffe27a;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pass-hero h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 14px;
  color: #fff;
}

.pass-hero p {
  font-size: 18px;
  color: #e6edf5;
  margin: 0 0 24px;
  max-width: 720px;
}

.pass-hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pass-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.pass-btn-primary {
  background: var(--gold);
  color: #111827;
}

.pass-btn-secondary {
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  background: transparent;
}

.pass-qr-card {
  background: white;
  color: var(--text);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.pass-qr-box {
  border: 2px dashed #d1d5db;
  border-radius: 20px;
  background: #f9fafb;
  padding: 26px;
  text-align: center;
}

.pass-qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto 14px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0/30px 30px,
    linear-gradient(#111 10px, transparent 10px) 0 0/30px 30px,
    linear-gradient(90deg, #ddd 10px, transparent 10px) 15px 15px/30px 30px,
    linear-gradient(#ddd 10px, transparent 10px) 15px 15px/30px 30px,
    #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.pass-content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.pass-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.pass-sidebar h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 24px;
  color: var(--navy);
}

.pass-search-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-size: 14px;
  margin-bottom: 16px;
  background: white;
  box-sizing: border-box;
}

.pass-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pass-filter-btn {
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.pass-filter-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.pass-section-title {
  margin: 0 0 20px;
  font-size: 30px;
  color: var(--navy);
}

.pass-partner-section {
  margin-bottom: 32px;
}

.pass-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pass-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(17,24,39,0.04);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pass-card-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pass-card-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 0;
}

.pass-card-title-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 58px;
}

.pass-logo-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #f3f4f6;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 4px;
  box-sizing: border-box;
}

.pass-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.pass-card h4 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.2;
  color: var(--navy);
}

.pass-badge {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #eef2ff;
  color: #334155;
}

.pass-divider {
  height: 1px;
  background: #e8edf3;
  width: 100%;
}

.pass-offer {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  color: #111827;
}

.pass-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pass-card-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text);
  background: white;
}

.pass-card-link.primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.pass-card-link.disabled {
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
  pointer-events: none;
}

.pass-cta {
  margin-top: 28px;
  background: var(--navy);
  color: white;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.pass-cta p {
  margin: 8px 0 0;
  color: #d6dde6;
  max-width: 720px;
}

.pass-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pass-hidden {
  display: none !important;
}

/* =========================
   SPONSOR DETAIL PAGES
========================= */
.sponsor-page {
  padding: 32px 0 56px;
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.hero-card {
  background: linear-gradient(135deg, var(--navy), #1b3550);
  color: white;
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.logo-panel {
  background: white;
  border-radius: 24px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.logo-panel img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

.eyebrow {
  display: inline-block;
  background: rgba(237, 193, 8, 0.18);
  color: #ffe27a;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.1;
}

.hero-copy p {
  margin: 0 0 18px;
  color: #e6edf5;
  font-size: 17px;
  max-width: 760px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.meta-pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  margin-top: 28px;
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-card h2 {
  margin: 0 0 14px;
  font-size: 30px;
  color: var(--navy);
}

.section-card p {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--text);
}

.section-card p:last-child {
  margin-bottom: 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.event-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(17,24,39,0.05);
  display: flex;
  flex-direction: column;
}

.event-image {
  background: #f3f4f6;
  height: 220px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.event-body h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  color: var(--navy);
}

.event-meta {
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
}

.event-meta strong {
  color: var(--navy);
}

.event-copy {
  font-size: 16px;
  color: var(--text);
}

.event-rsvp {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.event-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}

.details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.details-list {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.detail-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 15px;
}

.detail-item span,
.detail-item a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.quote-card {
  background: var(--navy);
  color: white;
  border-radius: 24px;
  padding: 28px;
  position: sticky;
  top: 20px;
}

.quote-card blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}

.bottom-cta {
  margin-top: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.bottom-cta h3 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--navy);
}

.bottom-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .pass-hero {
    grid-template-columns: 1fr 1fr;
  }

  .pass-content-layout {
    grid-template-columns: 1fr;
  }

  .pass-sidebar {
    position: static;
  }

  .pass-sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-card,
  .details-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    position: static;
  }
}

@media (max-width: 900px) {
  .header-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 16px;
  }

  .savings-pass-page {
    padding: 20px 0 36px;
  }

  .pass-hero,
  .pass-sponsor-grid {
    grid-template-columns: 1fr;
  }

  .pass-hero {
    padding: 26px;
  }

  .pass-hero h1 {
    font-size: 34px;
  }

  .pass-sidebar,
  .pass-cta,
  .hero-card,
  .section-card,
  .quote-card,
  .bottom-cta,
  .event-body {
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .event-body h3 {
    font-size: 22px;
  }
}
