/* ============================================
   INNER PAGES — OntarioMultiplex
   ============================================ */

/* Page Hero (inner pages) */
.page-hero {
  padding-top: clamp(var(--space-24), 14vw, 10rem);
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-20));
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
  pointer-events: none;
}

.page-hero__content { position: relative; z-index: 1; }

.page-hero__eyebrow {
  margin-bottom: var(--space-6);
}

.page-hero__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.page-hero__heading em {
  font-style: italic;
  color: var(--color-primary);
}

.page-hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 54ch;
  line-height: 1.6;
}

/* ---- ACCORDION (FAQ) ---- */
.accordion {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-6);
  text-align: left;
  background: var(--color-surface);
  cursor: pointer;
  gap: var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition-interactive);
}

.accordion-trigger:hover { background: var(--color-surface-2); }

.accordion-trigger__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition-interactive);
}

.accordion-item.open .accordion-trigger__icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--color-surface-2);
}

.accordion-body__inner {
  padding: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

/* ---- FEATURE CARDS ---- */
.feature-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-5);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.feature-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---- PRICING CARDS ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 800px;
  margin-inline: auto;
}

.pricing-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--color-primary-border);
  background: var(--color-surface-2);
  box-shadow: var(--shadow-glow);
}

.pricing-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.pricing-card__note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
  margin-bottom: var(--space-8);
}

.pricing-card__features li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: flex-start;
}

.pricing-card__features li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 4' stroke='%23c9a84c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  margin-top: 2px;
}

@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---- SEARCH TOOL (Finder page) ---- */
.search-tool {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.search-form-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.search-form-grid .form-group:last-child {
  grid-column: 1 / -1;
}

.search-results-panel {
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-lg);
}

.search-results-panel.hidden { display: none; }

@media (max-width: 700px) {
  .search-form-grid, .search-form-grid--3 { grid-template-columns: 1fr; }
  .search-form-grid .form-group:last-child { grid-column: 1; }
}

/* ---- MEMBERS GATE ---- */
.members-gate {
  background: var(--color-surface);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.members-gate__lock {
  display: inline-flex;
  margin-bottom: var(--space-8);
}

.members-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  text-align: left;
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.members-feature {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: flex-start;
}

.members-feature svg { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 600px) {
  .members-feature-grid { grid-template-columns: 1fr; }
}

/* ---- BOOKING FORM ---- */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  align-items: start;
}

.booking-sidebar {
  position: sticky;
  top: calc(var(--space-20) + var(--space-4));
}

.booking-sidebar__info {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.booking-form-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.booking-form .form-group { margin-bottom: var(--space-5); }

@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
}

/* ---- ABOUT PAGE CLIENT TYPES ---- */
.client-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.client-type-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-interactive);
}

.client-type-card:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-glow);
}

.client-type-card__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-primary);
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.client-type-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.client-type-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.client-type-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.client-type-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.client-type-card__list li::before {
  content: '—';
  color: var(--color-primary);
}

@media (max-width: 900px) { .client-type-grid { grid-template-columns: 1fr; } }

/* ============================================
   FOOTER GRID — shared across all inner pages
   ============================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-6);
}

.footer-brand__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 36ch;
  line-height: 1.65;
}

.footer-nav__heading {
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  flex-wrap: wrap;
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-4);
  flex-shrink: 0;
}

.footer-bottom__links a {
  text-decoration: none;
}
.footer-bottom__links a:hover { color: var(--color-text-muted); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Related markets section */
.related-market-link {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1px solid var(--gold, #c9a84c);
  color: var(--gold, #c9a84c);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.related-market-link:hover {
  background: var(--gold, #c9a84c);
  color: #0e0d0b;
}
