@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

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

:root {
  --white: #ffffff;
  --bg-light: #f7f7f5;
  --bg-card: #fafaf8;
  --grey-100: #f2f1ee;
  --grey-200: #e5e3de;
  --grey-300: #ccc9c2;
  --grey-400: #9c9891;
  --grey-600: #6b6860;
  --grey-800: #3a3834;
  --grey-900: #1e1d1a;
  --orange: #e8732a;
  --orange-light: #f28c4a;
  --orange-pale: #fdf0e7;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,.09);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); background: var(--bg-light); color: var(--grey-800); line-height: 1.65; -webkit-font-smoothing: antialiased; }

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-light); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--font-main); }

/* ===================== UTILITY ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.text-orange { color: var(--orange); }
.text-grey { color: var(--grey-600); }
.text-dark { color: var(--grey-900); }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.text-center { text-align: center; }
.text-upper { text-transform: uppercase; letter-spacing: .08em; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius); font-size: .9rem;
  font-weight: 600; cursor: pointer; border: none; transition: all var(--transition);
  text-decoration: none; line-height: 1;
}
.btn-primary {
  background: var(--orange); color: #fff;
}
.btn-primary:hover { background: var(--orange-light); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,115,42,.35); }
.btn-outline {
  background: transparent; color: var(--orange); border: 1.5px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--grey-800); border: 1.5px solid var(--grey-200);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===================== HEADER ===================== */
.site-header {
  background: var(--white); border-bottom: 1px solid var(--grey-200);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; background: var(--orange); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--grey-900); letter-spacing: -.03em; }
.logo-text span { color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px; border-radius: var(--radius); font-size: .875rem;
  font-weight: 500; color: var(--grey-800); transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--orange); background: var(--orange-pale); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  min-width: 220px; padding: 8px; box-shadow: var(--shadow-md); z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: var(--radius);
  font-size: .875rem; color: var(--grey-800);
}
.dropdown-menu a:hover { background: var(--grey-100); color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--grey-800); border-radius: 2px; transition: all .3s; }

/* ===================== HERO ===================== */
.hero {
  background: var(--white);
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--grey-200);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-eyebrow {
  font-size: .78rem; font-weight: 600; color: var(--orange);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.15; color: var(--grey-900); margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.05rem; color: var(--grey-600); line-height: 1.7; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 40px; border-top: 1px solid var(--grey-200); padding-top: 32px;
}
.hero-stat-item { padding-right: 24px; }
.hero-stat-item:not(:last-child) { border-right: 1px solid var(--grey-200); margin-right: 24px; }
.hero-stat-number { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--grey-900); }
.hero-stat-label { font-size: .8rem; color: var(--grey-600); margin-top: 2px; }

.hero-image-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 5/4; box-shadow: var(--shadow-lg);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== SECTION TITLES ===================== */
.section-header { margin-bottom: 48px; }
.section-eyebrow {
  font-size: .78rem; font-weight: 600; color: var(--orange);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700; color: var(--grey-900); line-height: 1.2;
}
.section-lead { font-size: 1rem; color: var(--grey-600); margin-top: 12px; max-width: 580px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-lead { margin: 12px auto 0; }

/* ===================== CARDS ===================== */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); overflow: hidden; transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-image { aspect-ratio: 16/9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-image img { transform: scale(1.03); }
.card-body { padding: 20px 22px; }
.card-category {
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  color: var(--orange); margin-bottom: 8px;
}
.card-title { font-size: 1.05rem; font-weight: 600; color: var(--grey-900); line-height: 1.35; margin-bottom: 10px; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--orange); }
.card-excerpt { font-size: .875rem; color: var(--grey-600); line-height: 1.6; margin-bottom: 14px; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--grey-400); flex-wrap: wrap; }
.card-meta-item { display: flex; align-items: center; gap: 4px; }

/* Article card wide */
.card-wide { display: grid; grid-template-columns: 280px 1fr; }
.card-wide .card-image { aspect-ratio: auto; }
.card-wide .card-image img { height: 100%; }
.card-wide .card-body { display: flex; flex-direction: column; justify-content: center; padding: 28px; }

/* ===================== GRID LAYOUTS ===================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ===================== FEATURED GRID ===================== */
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.featured-main { grid-row: 1 / 3; }
.featured-main .card-image { aspect-ratio: 3/2.2; }
.featured-main .card-title { font-size: 1.3rem; }

/* ===================== TOPICS / TAGS ===================== */
.topic-tag {
  display: inline-flex; align-items: center; padding: 5px 14px;
  background: var(--grey-100); border-radius: 100px; font-size: .8rem;
  font-weight: 500; color: var(--grey-700); transition: all var(--transition);
  text-decoration: none;
}
.topic-tag:hover { background: var(--orange-pale); color: var(--orange); }
.topic-tag.active { background: var(--orange); color: #fff; }
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===================== COURSE CARD ===================== */
.course-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition);
}
.course-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.course-card-img { aspect-ratio: 16/9; overflow: hidden; }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; }
.course-card-body { padding: 22px; }
.course-level {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 10px;
}
.level-beginner { background: #e8f5e9; color: #2e7d32; }
.level-intermediate { background: #fff3e0; color: #e65100; }
.level-advanced { background: #fce4ec; color: #c62828; }
.course-title { font-size: 1.05rem; font-weight: 600; color: var(--grey-900); margin-bottom: 8px; line-height: 1.35; }
.course-title a { color: inherit; }
.course-title a:hover { color: var(--orange); }
.course-desc { font-size: .875rem; color: var(--grey-600); margin-bottom: 16px; line-height: 1.55; }
.course-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--grey-100); }
.course-duration { font-size: .8rem; color: var(--grey-400); display: flex; align-items: center; gap: 4px; }
.course-free { font-size: .8rem; font-weight: 600; color: #2e7d32; }

/* ===================== AUTHOR CARD ===================== */
.author-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 28px; text-align: center; transition: all var(--transition);
}
.author-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--grey-100); }
.author-name { font-size: 1rem; font-weight: 600; color: var(--grey-900); margin-bottom: 4px; }
.author-role { font-size: .82rem; color: var(--grey-600); margin-bottom: 12px; }
.author-bio { font-size: .82rem; color: var(--grey-600); line-height: 1.55; }

/* ===================== STATS BAR ===================== */
.stats-bar { background: var(--grey-900); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 24px; }
.stat-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.1); }
.stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--orange); margin-bottom: 6px; }
.stat-label { font-size: .875rem; color: rgba(255,255,255,.65); }

/* ===================== PAGE HERO ===================== */
.page-hero {
  background: var(--white); padding: 56px 0 48px; border-bottom: 1px solid var(--grey-200);
}
.page-hero-inner { max-width: 680px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--grey-400); margin-bottom: 20px; }
.breadcrumb a { color: var(--grey-600); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: var(--grey-300); }
.page-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; color: var(--grey-900); line-height: 1.15; margin-bottom: 16px; }
.page-lead { font-size: 1.05rem; color: var(--grey-600); line-height: 1.7; }

/* ===================== SIDEBAR LAYOUT ===================== */
.content-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.sidebar-widget { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.widget-title { font-size: .875rem; font-weight: 700; color: var(--grey-900); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--orange); display: inline-block; }
.widget-list li { padding: 10px 0; border-bottom: 1px solid var(--grey-100); font-size: .875rem; }
.widget-list li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-list a { color: var(--grey-800); font-weight: 500; }
.widget-list a:hover { color: var(--orange); }

/* ===================== ARTICLE CONTENT ===================== */
.article-content { font-size: 1rem; line-height: 1.8; color: var(--grey-800); }
.article-content h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--grey-900); margin: 40px 0 16px; }
.article-content h3 { font-size: 1.15rem; font-weight: 600; color: var(--grey-900); margin: 28px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 16px 0 20px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content blockquote {
  border-left: 4px solid var(--orange); margin: 32px 0; padding: 16px 24px;
  background: var(--orange-pale); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem; color: var(--grey-800); font-style: italic;
}
.article-content strong { font-weight: 600; color: var(--grey-900); }
.article-content a { color: var(--orange); text-decoration: underline; text-decoration-color: rgba(232,115,42,.4); }

/* ===================== FORMS ===================== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .875rem; font-weight: 500; color: var(--grey-800); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 11px 16px; border: 1.5px solid var(--grey-200);
  border-radius: var(--radius); font-size: .9rem; color: var(--grey-900);
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,115,42,.12); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-hint { font-size: .78rem; color: var(--grey-400); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none; background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: var(--radius);
  padding: 16px 20px; color: #2e7d32; font-size: .9rem; margin-top: 16px; align-items: center; gap: 10px;
}
.form-success.show { display: flex; }
.form-error { display: none; color: #c62828; font-size: .82rem; margin-top: 4px; }

/* ===================== EVENT CARD ===================== */
.event-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; grid-template-columns: 100px 1fr; transition: all var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-date-block {
  background: var(--grey-900); display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 20px 16px; text-align: center;
}
.event-day { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--orange); line-height: 1; }
.event-month { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.event-body { padding: 18px 20px; }
.event-title { font-size: 1rem; font-weight: 600; color: var(--grey-900); margin-bottom: 6px; }
.event-title a { color: inherit; }
.event-title a:hover { color: var(--orange); }
.event-meta { font-size: .8rem; color: var(--grey-400); display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.event-excerpt { font-size: .875rem; color: var(--grey-600); line-height: 1.55; }

/* ===================== NEWSLETTER ===================== */
.newsletter-strip {
  background: var(--grey-900); padding: 64px 0;
}
.newsletter-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.newsletter-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.newsletter-lead { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.65; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1; padding: 13px 18px; border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius); background: rgba(255,255,255,.07);
  color: #fff; font-size: .9rem; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { border-color: var(--orange); }
.newsletter-note { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: 8px; }

/* ===================== ACCORDION / FAQ ===================== */
.faq-item { border-bottom: 1px solid var(--grey-200); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-size: .95rem; font-weight: 600;
  color: var(--grey-900); gap: 16px;
}
.faq-question .icon { width: 24px; height: 24px; flex-shrink: 0; transition: transform .3s; }
.faq-answer { font-size: .9rem; color: var(--grey-600); line-height: 1.7; padding-bottom: 20px; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }

/* ===================== BREADCRUMB ===================== */
.page-breadcrumb {
  background: var(--grey-100); padding: 10px 0; border-bottom: 1px solid var(--grey-200);
}
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--grey-400); }
.breadcrumb-inner a { color: var(--grey-600); }
.breadcrumb-inner a:hover { color: var(--orange); }

/* ===================== PAGINATION ===================== */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 48px; }
.page-link {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); border: 1.5px solid var(--grey-200); font-size: .875rem;
  font-weight: 500; color: var(--grey-800); transition: all var(--transition);
  text-decoration: none;
}
.page-link:hover { border-color: var(--orange); color: var(--orange); }
.page-link.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.page-link.wide { width: auto; padding: 0 16px; }

/* ===================== SEARCH BAR ===================== */
.search-bar { display: flex; gap: 10px; margin-bottom: 32px; }
.search-input { flex: 1; padding: 12px 18px; border: 1.5px solid var(--grey-200); border-radius: var(--radius); font-size: .9rem; outline: none; }
.search-input:focus { border-color: var(--orange); }
.search-btn { background: var(--orange); color: #fff; border: none; padding: 12px 22px; border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: .9rem; }
.search-btn:hover { background: var(--orange-light); }

/* ===================== GLOSSARY ===================== */
.glossary-letter { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--orange); border-bottom: 2px solid var(--grey-200); padding-bottom: 10px; margin-bottom: 20px; margin-top: 40px; }
.glossary-term { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--grey-100); }
.term-word { font-weight: 600; color: var(--grey-900); font-size: .9rem; }
.term-def { font-size: .875rem; color: var(--grey-600); line-height: 1.65; }

/* ===================== INFO BOX ===================== */
.info-box {
  background: var(--orange-pale); border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 24px 0;
}
.info-box-title { font-weight: 600; font-size: .9rem; color: var(--orange); margin-bottom: 6px; }
.info-box p { font-size: .875rem; color: var(--grey-700); line-height: 1.6; margin: 0; }

/* ===================== RESOURCE CARD ===================== */
.resource-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 24px; display: flex; gap: 18px; align-items: flex-start; transition: all var(--transition);
}
.resource-card:hover { box-shadow: var(--shadow-sm); border-color: var(--orange); }
.resource-icon {
  width: 48px; height: 48px; border-radius: var(--radius); background: var(--orange-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--orange); font-size: 1.2rem; font-weight: 700;
}
.resource-title { font-size: .95rem; font-weight: 600; color: var(--grey-900); margin-bottom: 5px; }
.resource-title a { color: inherit; }
.resource-title a:hover { color: var(--orange); }
.resource-desc { font-size: .82rem; color: var(--grey-600); line-height: 1.55; margin-bottom: 10px; }
.resource-type { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--grey-400); }

/* ===================== TABS ===================== */
.tab-nav { display: flex; border-bottom: 2px solid var(--grey-200); margin-bottom: 32px; gap: 0; }
.tab-btn {
  padding: 12px 24px; font-size: .875rem; font-weight: 600; cursor: pointer;
  border: none; background: none; color: var(--grey-600); position: relative; transition: color var(--transition);
}
.tab-btn::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: transparent; transition: background var(--transition); }
.tab-btn.active { color: var(--orange); }
.tab-btn.active::after { background: var(--orange); }
.tab-btn:hover { color: var(--grey-900); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--grey-900); color: rgba(255,255,255,.75); margin-top: auto; }
.footer-main { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo-text { color: #fff; }
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.65; margin-top: 12px; max-width: 280px; }
.footer-heading { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.9); margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .875rem; color: rgba(255,255,255,.55); }
.footer-contact-item svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ===================== MOBILE NAV ===================== */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: var(--white);
  flex-direction: column; padding: 20px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-close { background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--grey-900); padding: 4px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  display: block; padding: 13px 16px; font-size: 1rem; font-weight: 500;
  color: var(--grey-800); border-radius: var(--radius); transition: all var(--transition);
}
.mobile-nav-links a:hover { background: var(--orange-pale); color: var(--orange); }

/* ===================== HIGHLIGHT BOX ===================== */
.highlight-box {
  background: var(--orange-pale); border: 1px solid rgba(232,115,42,.2);
  border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px;
}
.highlight-box h3 { font-size: 1rem; font-weight: 700; color: var(--grey-900); margin-bottom: 10px; }
.highlight-box p { font-size: .875rem; color: var(--grey-700); line-height: 1.6; }

/* ===================== TABLE ===================== */
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table th { padding: 12px 16px; text-align: left; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-600); background: var(--grey-100); border-bottom: 2px solid var(--grey-200); }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--grey-100); color: var(--grey-800); }
.data-table tr:hover td { background: var(--grey-100); }

/* ===================== POLICY PAGE ===================== */
.policy-layout { padding: 60px 0; }
.policy-content { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 48px; }
.policy-content h1 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--grey-900); margin-bottom: 8px; }
.policy-updated { font-size: .82rem; color: var(--grey-400); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--grey-200); }
.policy-content h2 { font-size: 1.15rem; font-weight: 700; color: var(--grey-900); margin: 36px 0 12px; }
.policy-content h3 { font-size: 1rem; font-weight: 600; color: var(--grey-900); margin: 24px 0 8px; }
.policy-content p { font-size: .9rem; color: var(--grey-700); line-height: 1.75; margin-bottom: 16px; }
.policy-content ul { margin: 12px 0 16px 22px; }
.policy-content ul li { font-size: .9rem; color: var(--grey-700); line-height: 1.7; margin-bottom: 6px; list-style: disc; }
.policy-content a { color: var(--orange); text-decoration: underline; }
.policy-toc { background: var(--grey-100); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.policy-toc h4 { font-size: .875rem; font-weight: 700; color: var(--grey-900); margin-bottom: 12px; }
.policy-toc ul { margin: 0; }
.policy-toc ul li { list-style: none; margin-bottom: 6px; }
.policy-toc ul li a { font-size: .875rem; color: var(--grey-600); text-decoration: none; }
.policy-toc ul li a:hover { color: var(--orange); }

/* ===================== BACK TO TOP ===================== */
.back-top {
  position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px;
  background: var(--orange); color: #fff; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  opacity: 0; transition: all var(--transition); z-index: 500;
}
.back-top.show { opacity: 1; }
.back-top:hover { background: var(--orange-light); transform: translateY(-2px); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-inner { gap: 40px; }
  .content-sidebar { grid-template-columns: 1fr; }
  .content-sidebar .sidebar { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:not(:last-child) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 20px; }
  .stat-item:nth-child(n) { border-right: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav, .header-actions .btn-outline { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-stat-item:not(:last-child) { border-right: none; border-bottom: 1px solid var(--grey-200); padding-bottom: 16px; margin-right: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-main { grid-row: auto; }
  .card-wide { grid-template-columns: 1fr; }
  .card-wide .card-image { aspect-ratio: 16/9; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
  .policy-content { padding: 28px; }
  .glossary-term { grid-template-columns: 1fr; gap: 4px; }
  .form-row { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 80px 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .page-title { font-size: 1.75rem; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* R13 */
:root {
  --grey-700: inherit;
}
