/* ─── DESIGN TOKENS (Dark) ─── */
:root {
  --ds-accent: #E8600A;
  --ds-accent-rgb: 232, 96, 10;
  --ds-bg: #0A0A0A;
  --ds-surface: #141414;
  --ds-card: #141414;
  --ds-border: #1E1E1E;
  --ds-text: #F0EDE8;
  --ds-muted: #777;
  --ds-overlay: rgba(10, 10, 10, 0.85);
  --ds-font-display: 'Bebas Neue', sans-serif;
  --ds-font-body: 'Inter', sans-serif;
  --ds-radius: 0px;
  --ds-radius-lg: 0px;
  --ds-radius-btn: 0px;
}

/* ─── DESIGN TOKENS (Light) ─── */
[data-theme="light"] {
  --ds-accent: #D45500;
  --ds-accent-rgb: 212, 85, 0;
  --ds-bg: #F5F4F2;
  --ds-surface: #ECEAE7;
  --ds-card: #ECEAE7;
  --ds-border: #D8D5D0;
  --ds-text: #1A1A1A;
  --ds-muted: #6B6B6B;
  --ds-overlay: rgba(245, 244, 242, 0.88);
}

[data-theme="dark"] { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }

/* ─── BASE STYLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ds-bg);
  color: var(--ds-text);
  font-family: var(--ds-font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ds-font-display);
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

.text-accent { color: var(--ds-accent); }

/* ─── PLACEHOLDER ─── */
.placeholder {
  background: repeating-linear-gradient(-45deg, var(--ds-surface), var(--ds-surface) 10px, var(--ds-border) 10px, var(--ds-border) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.placeholder span {
  background: var(--ds-surface);
  padding: 6px 14px;
  border-radius: 2px;
  font-family: monospace;
  font-size: 13px;
  color: var(--ds-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 1;
}

/* ─── NAV ─── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
  border-bottom: 1px solid var(--ds-border);
}

.nav-logo { display: flex; align-items: center; margin-left: -12px; }
.nav-logo-img { height: 48px; width: auto; }
.nav-xxx-divider { width: 1px; height: 32px; background: var(--ds-border); margin: 0 12px; }
.nav-xxx { flex-shrink: 0; }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-link {
  font-size: 15px;
  color: var(--ds-muted);
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.nav-cta {
  background: var(--ds-accent);
  color: #fff;
  border: none;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--ds-radius-btn);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ds-text);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { display: block; }

/* ─── HERO ─── */
.section-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  border-bottom: 1px solid var(--ds-border);
}

.hero-left {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.hero-tag {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ds-accent);
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.hero-title {
  font-size: 82px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ds-muted);
  max-width: 440px;
  font-family: var(--ds-font-body);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn-primary {
  background: var(--ds-accent);
  color: #fff;
  border: none;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--ds-radius-btn);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.btn-secondary {
  background: transparent;
  color: var(--ds-text);
  border: 1px solid var(--ds-border);
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--ds-radius-btn);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* Hero image area */
.hero-image-wrap {
  position: relative;
  overflow: hidden;
}

/* ─── VALUES ─── */
.section-values {
  padding: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ds-border);
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 48px 36px;
  border-right: 1px solid var(--ds-border);
}
.value-card:last-child { border-right: none; }

.value-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: var(--ds-accent);
  line-height: 1;
  opacity: 0.3;
  font-weight: 700;
}

.value-icon-wrap {
  display: contents;
}

.value-icon { display: block; }

.value-title {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.value-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ds-muted);
  font-family: var(--ds-font-body);
  font-weight: 400;
}

.value-text-col { display: contents; }

/* ─── ABOUT ─── */
.section-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  border-bottom: 1px solid var(--ds-border);
}

.about-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.orange-bar {
  width: 60px;
  height: 4px;
  background: var(--ds-accent);
}

.about-title {
  font-size: 56px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.about-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ds-muted);
  max-width: 480px;
  font-weight: 400;
}

.about-image-wrap {
  overflow: hidden;
  position: relative;
}

/* ─── PROGRAMS ─── */
.section-programs {
  padding: 80px 60px;
  border-bottom: 1px solid var(--ds-border);
}

.programs-header { margin-bottom: 48px; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  overflow: hidden;
  border-radius: var(--ds-radius);
}

.program-info {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-name {
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.program-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ds-muted);
  font-weight: 400;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ds-accent);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* ─── PARTNERS ─── */
.section-partners {
  padding: 60px;
  text-align: center;
  border-bottom: 1px solid var(--ds-border);
}

.partners-title {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ds-muted);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 40px;
}

.partners-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 144px;
  height: 58px;
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  text-decoration: none;
  padding: 8px;
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

a.partner-item:hover {
  border-color: var(--ds-accent);
}

/* ─── SUPPORT ─── */
.section-support {
  padding: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--ds-border);
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 28px;
  border-right: 1px solid var(--ds-border);
  align-items: center;
  text-align: center;
}
.support-card:last-child { border-right: none; }

.support-circle {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ds-accent);
  align-items: center;
  justify-content: center;
  color: var(--ds-accent);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.support-text-col { display: contents; }

.support-title {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.support-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ds-muted);
  font-weight: 400;
}

/* ─── LOCATION ─── */
.section-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  border-bottom: 1px solid var(--ds-border);
}

.location-info {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.location-title {
  font-size: 48px;
  text-transform: uppercase;
  line-height: 1;
}

.location-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ds-muted);
  font-weight: 400;
}

.location-map-wrap {
  overflow: hidden;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-size: 12px;
  color: var(--ds-muted);
}

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

.footer-link {
  font-size: 12px;
  color: var(--ds-muted);
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* ─── THEME TOGGLE ─── */
.theme-toggle { display: flex; align-items: center; justify-content: center; }
.theme-icon-sun, .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: block; }

/* ─── LANGUAGE TOGGLE ─── */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-btn);
  font-family: var(--ds-font-body);
  font-size: 12px;
  line-height: 1;
}
.lang-btn, .lang-theme-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  gap: 3px;
}
.lang-theme-btn {
  padding: 6px 8px;
  color: var(--ds-muted);
  transition: color 0.2s;
}
.lang-theme-btn:hover { color: var(--ds-accent); }
.lang-divider {
  width: 1px;
  align-self: stretch;
  background: var(--ds-border);
}
.lang-option {
  color: var(--ds-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.lang-option.is-active {
  color: var(--ds-accent);
  font-weight: 700;
}
.lang-sep {
  color: var(--ds-border);
  font-weight: 400;
}

body.transitions-ready {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
body.transitions-ready *:not(script):not(style) {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ─── SUBPAGE CONTENT ─── */
.subpage-hero {
  padding: 80px 60px 48px;
  border-bottom: 1px solid var(--ds-border);
}

.subpage-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.subpage-title {
  font-family: var(--ds-font-display);
  line-height: 1.05;
  font-size: 64px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.subpage-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ds-muted);
  max-width: 640px;
  margin-top: 20px;
}

.subpage-body {
  padding: 64px 60px;
}

.subpage-section {
  margin-bottom: 56px;
}
.subpage-section:last-child { margin-bottom: 0; }

.subpage-section-title {
  font-family: var(--ds-font-display);
  margin-bottom: 24px;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.content-card {
  background: var(--ds-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 32px;
  margin-bottom: 20px;
}

.content-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ds-muted);
}

.content-text p { margin-bottom: 16px; }
.content-text p:last-child { margin-bottom: 0; }

.content-text ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.content-text ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.content-text a {
  color: var(--ds-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content-text a.btn-primary {
  color: #fff;
  text-decoration: none;
}

.content-text strong {
  color: var(--ds-text);
  font-weight: 600;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--ds-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 28px;
}

.info-card-title {
  font-family: var(--ds-font-display);
  font-size: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.info-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ds-muted);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.schedule-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--ds-surface);
  color: var(--ds-accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ds-border);
}
.schedule-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ds-border);
  color: var(--ds-muted);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td:first-child { color: var(--ds-text); font-weight: 500; }

.event-card {
  background: var(--ds-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.event-date {
  font-family: var(--ds-font-display);
  font-size: 18px;
  color: var(--ds-accent);
  white-space: nowrap;
  min-width: 80px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.event-info { flex: 1; }
.event-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}
.event-desc {
  font-size: 14px;
  color: var(--ds-muted);
  line-height: 1.5;
}

.price-card {
  background: var(--ds-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 32px;
  text-align: center;
}

.price-amount {
  font-family: var(--ds-font-display);
  font-size: 48px;
  color: var(--ds-accent);
  line-height: 1;
}

.price-label {
  font-size: 14px;
  color: var(--ds-muted);
  margin-top: 8px;
}

.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps-list li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ds-muted);
}
.steps-list li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0;
  border: 2px solid var(--ds-accent);
  background: transparent;
  color: var(--ds-accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.results-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--ds-surface);
  color: var(--ds-accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ds-border);
}
.results-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ds-border);
  color: var(--ds-muted);
}
.results-table tr:last-child td { border-bottom: none; }
.results-table td:first-child { color: var(--ds-text); font-weight: 500; }
.results-table .highlight td { color: var(--ds-accent); font-weight: 600; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ds-accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Inter', sans-serif;
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-top: 10px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ─── SUBPAGE RESPONSIVE ─── */
@media (max-width: 768px) {
  .subpage-hero { padding: 48px 24px 32px; flex-direction: column !important; }
  .wlfteam-hero-img { flex: 0 0 auto !important; max-width: 300px; }
  .subpage-title { font-size: 44px; }
  .subpage-body { padding: 32px 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; gap: 8px; }
  .event-date { min-width: auto; }
  .content-card { flex-direction: column !important; }
  .content-card > * { min-width: 0 !important; }
  .content-card .btn-primary { width: 100%; justify-content: center; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .section-hero { min-height: auto; }
  .hero-title { font-size: 60px; }
  .about-title { font-size: 44px; }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-card { border-right: none; }
  .value-card:nth-child(odd) { border-right: 1px solid var(--ds-border); }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-card { border-right: none; }
}

@media (max-width: 768px) {
  .site-nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ds-bg);
    border-bottom: 1px solid var(--ds-border);
    padding: 24px;
    gap: 20px;
    z-index: 100;
  }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-logo { flex: 1; justify-content: center; margin-left: 0; }
  .nav-xxx-divider { height: 24px; margin: 0 8px; }
  .nav-xxx { width: 10px; height: 30px; }
  .site-nav { position: relative; }

  .section-hero { grid-template-columns: 1fr; }
  .hero-left { padding: 48px 24px; }
  .hero-title { font-size: 52px; }
  .hero-image-wrap { min-height: 300px; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; text-align: center; }

  .values-grid {
    grid-template-columns: 1fr;
  }
  .value-card { border-right: none; }

  .section-about { grid-template-columns: 1fr; min-height: auto; }
  .about-content { padding: 48px 24px; }
  .about-image-wrap { min-height: 250px; }

  .section-programs { padding: 48px 24px; }
  .programs-grid { grid-template-columns: 1fr; }

  .section-partners { padding: 48px 24px; }
  .partners-row { gap: 16px; }

  .support-grid {
    grid-template-columns: 1fr;
  }
  .support-card { border-right: none; }

  .section-location { grid-template-columns: 1fr; min-height: auto; }
  .location-info { padding: 48px 24px; }
  .location-map-wrap .placeholder { min-height: 250px; }

  .site-footer { flex-direction: column; gap: 16px; padding: 32px 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }

  .lang-toggle { font-size: 13px; align-self: flex-start; }
  .lang-btn { padding: 6px 10px; }
  .lang-theme-btn { padding: 6px 8px; }
}
