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

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

:root {
  --primary: #34495E;
  --primary-dark: #2C3E50;
  --accent-purple: #8E44AD;
  --accent-green: #2ECC71;
  --accent-orange: #F39C12;
  --neutral-light: #ECF0F1;
  --neutral-mid: #BDC3C7;
  --neutral-dark: #7F8C8D;
  --white: #ffffff;
  --text-body: #2C3E50;
  --text-muted: #5D6D7E;
  --border: #D5D8DC;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1440px;
  --container: 1080px;
  --radius: 4px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--wide {
  max-width: var(--max-width);
  padding-left: 48px;
  padding-right: 48px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn--primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(52, 73, 94, 0.25);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn--light {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-dark);
}

.btn--light:hover {
  background-color: var(--neutral-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ===== HEADER ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(44, 62, 80, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.header-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: opacity var(--transition);
}

.header-logo:hover {
  opacity: 0.85;
}

.header-logo span {
  color: var(--accent-orange);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--white);
  background-color: rgba(255,255,255,0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== FOOTER ===== */

.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand-name span {
  color: var(--accent-orange);
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-editorial-note {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--accent-orange);
  opacity: 0.9;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-line {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-contact-line a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-contact-line a:hover {
  color: var(--white);
}

.footer-hours {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ===== PAGE OFFSET ===== */

.page-body {
  padding-top: 72px;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  height: 92vh;
  min-height: 580px;
  max-height: 860px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,62,80,0.82) 0%, rgba(44,62,80,0.45) 60%, rgba(44,62,80,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-orange);
  padding-left: 12px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

/* ===== SECTION DEFAULTS ===== */

section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 16px;
  border-left: 2px solid var(--accent-purple);
  padding-left: 10px;
}

.section-title {
  margin-bottom: 20px;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ===== EDITORIAL INTRO ===== */

.editorial-intro {
  background-color: var(--neutral-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

.editorial-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.editorial-intro h2 {
  margin-bottom: 24px;
}

.editorial-intro p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== TOPIC CARDS ===== */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.topic-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.topic-card:hover {
  box-shadow: 0 8px 32px rgba(52,73,94,0.12);
  transform: translateY(-3px);
}

.topic-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.topic-card-body {
  padding: 28px 24px;
}

.topic-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--accent-purple);
}

.topic-card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.topic-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== MISCONCEPTIONS ===== */

.misconceptions {
  background-color: var(--primary-dark);
}

.misconceptions h2,
.misconceptions h3 {
  color: var(--white);
}

.misconceptions .section-label {
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.misconception-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 48px;
}

.misconception-split:last-child {
  margin-bottom: 0;
}

.misconception-split.reverse {
  direction: rtl;
}

.misconception-split.reverse > * {
  direction: ltr;
}

.misconception-img-col {
  overflow: hidden;
}

.misconception-img-col img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.misconception-split:hover .misconception-img-col img {
  transform: scale(1.03);
}

.misconception-text-col {
  background-color: rgba(255,255,255,0.04);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.misconception-text-col h3 {
  font-size: 1.375rem;
  margin-bottom: 20px;
}

.misconception-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.misconception-list li {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.misconception-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
}

/* ===== HISTORICAL BLOCK ===== */

.historical {
  background-color: var(--neutral-light);
}

.historical-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.timeline-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.timeline-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.timeline-card-body {
  padding: 24px 20px;
}

.timeline-era {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 8px;
  display: block;
}

.timeline-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== FAQ SECTION ===== */

.faq-section {
  background-color: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent-purple);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--neutral-mid);
  border-radius: 50%;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--neutral-dark);
  transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
}

.faq-icon::before {
  width: 8px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 8px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-question {
  color: var(--accent-purple);
}

.faq-item.open .faq-icon {
  border-color: var(--accent-purple);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background-color: var(--accent-purple);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding var(--transition);
}

.faq-answer-inner {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ===== CONTACT PREVIEW ===== */

.contact-preview {
  background-color: var(--neutral-light);
}

.contact-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-preview-image-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.contact-preview-image-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.contact-preview-image-wrap:hover img {
  transform: scale(1.03);
}

.contact-preview-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.contact-preview-text p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ===== SOFT CTA ===== */

.soft-cta {
  background-color: var(--primary);
  padding-top: 72px;
  padding-bottom: 72px;
  text-align: center;
}

.soft-cta h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.875rem;
}

.soft-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ABOUT PAGE ===== */

.page-hero {
  background-color: var(--primary-dark);
  padding-top: 96px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-image-wrap {
  position: absolute;
  inset: 0;
}

.page-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  max-width: 620px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.breadcrumb a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb-sep {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.breadcrumb-current {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
}

.about-layout {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-content-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-main-text h2 {
  margin-bottom: 20px;
  margin-top: 48px;
}

.about-main-text h2:first-child {
  margin-top: 0;
}

.about-main-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.mission-panel {
  background-color: var(--neutral-light);
  border-left: 4px solid var(--accent-purple);
  padding: 32px 28px;
  margin: 40px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.mission-panel p {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--primary-dark);
  margin-bottom: 0;
}

.about-sidebar {
  position: sticky;
  top: 100px;
}

.about-sidebar-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.about-sidebar-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.about-sidebar-info {
  background-color: var(--neutral-light);
  border-radius: var(--radius);
  padding: 24px;
}

.about-sidebar-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.about-sidebar-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ===== FAQ PAGE ===== */

.faq-page-layout {
  padding-top: 64px;
  padding-bottom: 96px;
}

.faq-page-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 64px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 100px;
}

.faq-sidebar-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-dark);
  margin-bottom: 16px;
}

.faq-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-sidebar-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background-color var(--transition), color var(--transition);
  line-height: 1.5;
}

.faq-sidebar-links a:hover {
  background-color: var(--neutral-light);
  color: var(--primary-dark);
}

.faq-page-list .faq-item:first-child {
  border-top: 1px solid var(--border);
}

/* ===== CONTACT PAGE ===== */

.contact-layout {
  padding-top: 64px;
  padding-bottom: 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-section h2 {
  margin-bottom: 12px;
}

.contact-form-section p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 36px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--primary-dark);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(142,68,173,0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.contact-aside {
  background-color: var(--neutral-light);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.contact-aside-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.contact-aside-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-dark);
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-purple);
}

.contact-detail-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-detail-text a {
  color: var(--accent-purple);
  transition: opacity var(--transition);
}

.contact-detail-text a:hover {
  opacity: 0.75;
}

.contact-hours {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-hours-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-dark);
  margin-bottom: 12px;
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ===== THANK YOU PAGE ===== */

.thankyou-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.thankyou-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px 56px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}

.thankyou-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(46,204,113,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.thankyou-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-green);
}

.thankyou-card h2 {
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.thankyou-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ===== LEGAL PAGES ===== */

.legal-layout {
  padding-top: 64px;
  padding-bottom: 96px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--neutral-dark);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 0;
}

.legal-content h2:first-of-type {
  margin-top: 32px;
}

.legal-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1.25rem;
}

.legal-content ul li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

/* ===== 404 ===== */

.error-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}

.error-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  color: var(--neutral-light);
  line-height: 1;
  margin-bottom: 24px;
}

.error-section h2 {
  margin-bottom: 16px;
}

.error-section p {
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ===== COOKIE BANNER ===== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--primary-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  flex: 1;
}

.cookie-banner-text a {
  color: var(--accent-orange);
  text-decoration: underline;
  transition: opacity var(--transition);
}

.cookie-banner-text a:hover {
  opacity: 0.8;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--transition), color var(--transition);
}

.cookie-btn-accept {
  background-color: var(--accent-green);
  color: var(--white);
  border-color: var(--accent-green);
}

.cookie-btn-accept:hover {
  background-color: #27ae60;
}

.cookie-btn-decline {
  background-color: transparent;
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.2);
}

.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-content-wrap {
    grid-template-columns: 1fr;
  }
  .about-sidebar {
    position: static;
  }
  .faq-page-grid {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --container: 100%;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .container--wide {
    padding-left: 20px;
    padding-right: 20px;
  }
  section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .nav-toggle {
    display: flex;
  }
  .header-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .header-nav.open {
    display: flex;
  }
  .header-nav a {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  .hero {
    height: auto;
    min-height: 70vh;
    padding: 48px 0;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .historical-timeline {
    grid-template-columns: 1fr;
  }
  .misconception-split,
  .misconception-split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .misconception-img-col img {
    height: 240px;
  }
  .misconception-text-col {
    padding: 36px 24px;
  }
  .contact-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .thankyou-card {
    padding: 40px 28px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-content-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  .hero-lead { font-size: 1rem; }
  .btn { padding: 12px 24px; font-size: 0.8125rem; }
}
