/* ─────────────────────────────────────────────────────
   PAGES.CSS — inner page styles
   Imports the same design tokens from style.css
───────────────────────────────────────────────────── */

/* ─── PAGE HERO ─────────────────────────────────── */
.page-hero {
  background: var(--ink);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 65% 50%, rgba(184,146,90,0.07) 0%, transparent 60%);
}

/* Subtle grid, same as hero */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.breadcrumb a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.3; }

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  max-width: 680px;
}

.page-hero h1 em { color: var(--gold); font-style: italic; }

.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  max-width: 540px;
  line-height: 1.8;
}

.page-hero .hero-actions { margin-top: 2rem; }

/* ─── PAGE SECTIONS ──────────────────────────────── */
.page-section        { padding: var(--section-pad) 0; }
.page-section--sand  { background: var(--sand); }
.page-section--white { background: var(--white); }
.page-section--dark  { background: var(--ink); }
.page-section--mid   { background: var(--ink-soft); }
.page-section--soft  { background: var(--sand-dark); }

/* ─── STATS BAND ─────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat-band-item {
  padding: 2.25rem 1.75rem;
  text-align: center;
  border-right: 1px solid var(--border-dark);
  transition: background 0.25s;
}
.stat-band-item:last-child { border-right: none; }
.stat-band-item:hover { background: var(--ink-soft); }

.stat-band-item .num {
  display: block;
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-band-item .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ─── FEATURE GRID ───────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.feature-grid--reverse { direction: rtl; }
.feature-grid--reverse > * { direction: ltr; }

.feature-text p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.feature-text--light p { color: rgba(255,255,255,0.5); }
.feature-text--light .section-title { color: var(--white); }

.feature-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.feature-visual-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.feature-visual:hover .feature-visual-inner { transform: scale(1.04); }

/* Gradient swatches for placeholder visuals */
.gr-1 { background: linear-gradient(135deg,#1a1040,#2d1b69 55%,#7c3aed); }
.gr-2 { background: linear-gradient(135deg,#0f172a,#0c4a6e 55%,#0369a1); }
.gr-3 { background: linear-gradient(135deg,#1c0b0b,#7f1d1d 55%,#dc2626); }
.gr-4 { background: linear-gradient(135deg,#052e16,#14532d 55%,#22c55e); }
.gr-5 { background: linear-gradient(135deg,#1e1b4b,#312e81 55%,#6366f1); }
.gr-6 { background: linear-gradient(135deg,#292524,#78350f 55%,#d97706); }
.gr-7 { background: linear-gradient(135deg,#0c0a09,#7c2d12 55%,#f59e0b); }

/* ─── INFO CARDS ─────────────────────────────────── */
.cards-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.cards-free-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.cards-free-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }

.info-card {
  background: var(--white);
  padding: 2rem;
  transition: background 0.2s var(--ease);
}
.info-card:hover { background: var(--sand); }

.info-card--dark { background: var(--ink); }
.info-card--dark:hover { background: var(--ink-soft); }
.info-card--dark h3 { color: var(--white); }
.info-card--dark p { color: rgba(255,255,255,0.4); }

.info-card__icon {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  display: block;
}
.info-card h3 { font-size: 0.97rem; color: var(--ink); margin-bottom: 0.4rem; }
.info-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.7; }

/* ─── PRICING CARDS ──────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.pricing-card {
  background: var(--white);
  padding: 2.25rem 2rem;
  position: relative;
  transition: background 0.2s;
}
.pricing-card:hover { background: var(--sand); }

.pricing-card--featured { background: var(--ink); }
.pricing-card--featured:hover { background: var(--ink-soft); }
.pricing-card--featured h3 { color: var(--white); }
.pricing-card--featured .price { color: var(--gold) !important; }
.pricing-card--featured .price-period { color: rgba(255,255,255,0.35) !important; }
.pricing-card--featured .pricing-features { border-color: var(--border-dark) !important; }
.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.7); border-color: var(--border-dark) !important; }
.pricing-card--featured .pricing-features li::before { color: var(--gold); }

.pricing-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.pricing-card h3 { font-size: 1rem; color: var(--ink); margin-bottom: 0.35rem; }
.pricing-card > p { font-size: 0.8rem; color: var(--muted); margin-bottom: 0; }

.price {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin: 1.25rem 0 0.25rem;
}

.price-period { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.5rem; }

.pricing-features {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.83rem;
  color: var(--muted);
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-size: 0.75rem; top: 0.4rem; }

/* ─── FAQ ACCORDION ───────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }

.faq-item { background: var(--white); transition: background 0.2s; }
.faq-item.open,
.faq-item:hover { background: var(--sand); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
  line-height: 1;
}

.faq-item.open .faq-icon { background: var(--gold); border-color: var(--gold); color: var(--white); transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 1.5rem 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ─── TABS ────────────────────────────────────────── */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
  width: fit-content;
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  background: var(--white);
  border: none;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tab-btn:hover { background: var(--sand); color: var(--ink); }
.tab-btn.active { background: var(--ink); color: var(--white); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── TEAM CARDS ─────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }

.team-card {
  background: var(--white);
  padding: 2rem;
  text-align: center;
  transition: background 0.2s;
}
.team-card:hover { background: var(--sand); }

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: transform 0.25s;
}
.team-card:hover .team-avatar { transform: scale(1.05); }

.team-card h3 { font-size: 0.97rem; color: var(--ink); margin-bottom: 0.2rem; }
.team-card .role { font-size: 0.75rem; color: var(--gold); font-weight: 500; letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* ─── TICKET CARDS ────────────────────────────────── */
.tickets-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }

.ticket-card { background: var(--white); transition: background 0.2s; }
.ticket-card:hover { background: var(--sand); }

.ticket-card__header { height: 140px; position: relative; overflow: hidden; }
.ticket-card__header-visual { position: absolute; inset: 0; transition: transform 0.5s var(--ease); }
.ticket-card:hover .ticket-card__header-visual { transform: scale(1.04); }

.ticket-card__body { padding: 1.25rem 1.5rem; }

.ticket-date { font-size: 0.72rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.4rem; }
.ticket-card__body h3 { font-size: 0.95rem; color: var(--ink); margin-bottom: 0.25rem; line-height: 1.35; }
.ticket-card__body .location { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.75rem; }
.ticket-card__body .ticket-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

.ticket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ticket-price { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ticket-price span { font-size: 0.75rem; font-family: var(--f-body); color: var(--muted); font-weight: 400; }
.ticket-spots { font-size: 0.7rem; color: var(--gold); font-weight: 500; margin-top: 1px; }

.qty-wrap { display: flex; align-items: center; gap: 0.4rem; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border);
  background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--ink); transition: all 0.2s;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-input { width: 28px; text-align: center; border: none; background: none; font-size: 0.88rem; font-weight: 600; color: var(--ink); font-family: var(--f-body); }

/* ─── BLOG CARDS ──────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }

.blog-card { background: var(--white); transition: background 0.2s; }
.blog-card:hover { background: var(--sand); }

.blog-card__img { height: 180px; overflow: hidden; }
.blog-card__img-inner { width: 100%; height: 100%; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-card__img-inner { transform: scale(1.04); }

.blog-card__body { padding: 1.5rem; }

.blog-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.blog-card__body h3 { font-size: 0.97rem; color: var(--ink); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card__body p { font-size: 0.83rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }

.blog-meta { font-size: 0.73rem; color: var(--muted-light); margin-bottom: 1rem; }

.read-more { font-size: 0.78rem; font-weight: 500; color: var(--gold); letter-spacing: 0.04em; transition: letter-spacing 0.25s; }
.read-more:hover { letter-spacing: 0.1em; }

/* ─── PARTNER LOGOS ───────────────────────────────── */
.partners-track { display: flex; flex-wrap: wrap; gap: 1px; background: var(--border-dark); border: 1px solid var(--border-dark); border-radius: var(--r-lg); overflow: hidden; justify-content: center; }

.partner-logo {
  flex: 1 1 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  background: var(--ink);
  transition: background 0.2s;
}
.partner-logo:hover { background: var(--ink-soft); }
.partner-logo span { font-family: var(--f-display); font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.25); letter-spacing: 0.05em; transition: color 0.2s; }
.partner-logo:hover span { color: rgba(255,255,255,0.6); }

/* ─── NEWSLETTER STRIP ────────────────────────────── */
.newsletter { background: var(--ink-soft); padding: 4rem 0; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter-text h3 { font-family: var(--f-display); font-size: 1.35rem; color: var(--white); margin-bottom: 0.25rem; }
.newsletter-text p { font-size: 0.83rem; color: rgba(255,255,255,0.35); }
.newsletter-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter-form input {
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.85rem;
  min-width: 250px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.25); }
.newsletter-form input:focus { border-color: var(--gold); }

/* ─── TIMELINE ────────────────────────────────────── */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before { content:''; position:absolute; left:0; top:4px; bottom:4px; width:1px; background: linear-gradient(to bottom, var(--gold), rgba(184,146,90,0.1)); }

.timeline-item { position:relative; margin-bottom:2.25rem; }
.timeline-item:last-child { margin-bottom:0; }

.timeline-dot { position:absolute; left:-2.17rem; top:5px; width:10px; height:10px; border-radius:50%; background:var(--gold); border:2px solid var(--sand); }

.timeline-date { font-size:0.7rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); display:block; margin-bottom:0.3rem; }
.timeline-content h3 { font-size:0.97rem; color:var(--ink); margin-bottom:0.35rem; }
.timeline-content p { font-size:0.83rem; color:var(--muted); line-height:1.7; }

/* ─── PORTFOLIO GRID ──────────────────────────────── */
.portfolio-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; grid-auto-rows:220px; }

.portfolio-item { position:relative; overflow:hidden; cursor:pointer; }
.portfolio-item--large { grid-column:span 2; }

.portfolio-visual { position:absolute; inset:0; transition:transform 0.5s var(--ease); }
.portfolio-item:hover .portfolio-visual { transform:scale(1.05); }

.portfolio-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  display:flex; flex-direction:column; justify-content:flex-end; padding:1.25rem;
  z-index:1;
  opacity:0; transition:opacity 0.3s;
}
.portfolio-item:hover .portfolio-overlay { opacity:1; }
.portfolio-overlay h3 { font-size:1rem; color:var(--white); margin-bottom:0.15rem; }
.portfolio-overlay p { font-size:0.75rem; color:rgba(255,255,255,0.55); }

/* ─── FORMATION CARD ──────────────────────────────── */
.formation-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.formation-card:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .stats-band .stat-band-item:nth-child(2) { border-right: none; }
  .stats-band .stat-band-item:nth-child(3) { border-top: 1px solid var(--border-dark); }
  .stats-band .stat-band-item:nth-child(4) { border-top: 1px solid var(--border-dark); border-right: none; }
  .cards-3 { grid-template-columns: repeat(2,1fr); }
  .cards-4 { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .tickets-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows:200px; }
  .portfolio-item--large { grid-column: span 1; }
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-grid--reverse { direction: ltr; }
  .cards-2 { grid-template-columns: 1fr; }
  .cards-free-2 { grid-template-columns: 1fr; }
  .cards-free-3 { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { min-width: unset; width: 100%; }
  .page-hero h1 { font-size: clamp(1.9rem, 6vw, 2.75rem); }
}

@media (max-width: 640px) {
  .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .tickets-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows:180px; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .tab-buttons { width: 100%; }
  .tab-btn { flex: 1; text-align: center; }
}
