/* =============================================================================
   Playing Lean — Master Stylesheet
   -----------------------------------------------------------------------------
   Shared across every page of playinglean.com. Organised into clearly labelled
   sections so styles are easy to locate and maintain:

     01. Base / Reset
     02. Design Tokens (CSS variables)
     03. Typography
     04. Layout (containers & sections)
     05. Navigation
     06. Buttons
     07. Hero            (home)
     08. About the Game  (home)
     09. How It Works     (home)
     10. Scenarios        (home)
     11. Testimonials     (home)
     12. Call to Action   (home)
     13. Videos           (home)
     14. Facilitator Training (home)
     15. Partners         (home)
     16. Newsletter       (home)
     17. Article / Blog Post pages
     18. Blog Index
     19. Facilitator Directory
     20. Error Page (404)
     21. Footer
     22. Responsive / Media Queries
   ========================================================================== */


/* =============================================================================
   01. BASE / RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vegur', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* Home page uses slightly tighter leading for its dense marketing layout. */
.page-home {
  line-height: 1.6;
}


/* =============================================================================
   02. DESIGN TOKENS (CSS variables)
   ========================================================================== */
:root {
  /* Brand palette */
  --dark:    #35312F;  /* PlayingDark */
  --grey:    #B2AEA4;  /* PlayingGrey */
  --green:   #64A230;  /* PlayingGreen */
  --yellow:  #FCD300;  /* PlayingYellow */
  --orange:  #EC8200;  /* PlayingOrange */
  --red:     #E94B32;  /* PlayingRed */

  /* Aliases used throughout */
  --navy:   var(--dark);
  --teal:   var(--green);
  --teal-l: #78c03a;   /* lighter green tint */
  --sand:   #F7F4EF;
  --white:  #ffffff;
  --gray:   #6b6560;
  --gray-l: #f2efeb;
  --text:   var(--dark);
}


/* =============================================================================
   03. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: 'Arvo', serif;
  font-weight: 700;
}


/* =============================================================================
   04. LAYOUT (containers & sections)
   ========================================================================== */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-family: 'Arvo', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 3rem;
}


/* =============================================================================
   05. NAVIGATION
   ========================================================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8e4de;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--dark);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
  opacity: 1 !important;
}
.nav-cta:hover { background: #cc3a23; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}


/* =============================================================================
   06. BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}


/* =============================================================================
   07. HERO  (home)
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #1e1b19 0%, var(--dark) 60%, #2d3a20 100%);
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-blend-mode: multiply;
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,27,25,0.88) 0%, rgba(30,27,25,0.65) 60%, rgba(30,27,25,0.4) 100%);
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(252,211,0,0.15);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Arvo', serif;
  color: var(--yellow);
  display: block;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}


/* =============================================================================
   08. ABOUT THE GAME  (home)
   ========================================================================== */
.about { background: var(--sand); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Intro paragraph beneath the About heading. */
.about-lead {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.about-visual {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.about-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px 16px 0 0;
  display: block;
}
.about-photo-caption {
  background: var(--dark);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 0 0 16px 16px;
  flex: 1;
}
/* Caption used on its own (no photo above) gets all four corners rounded. */
.about-photo-caption.standalone {
  border-radius: 16px;
}
.about-photo-caption h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}
.about-photo-caption p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.cards-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.cards-strip img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(100,162,48,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.feature-item h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.feature-item p {
  font-size: 0.875rem;
  color: var(--gray);
}


/* =============================================================================
   09. HOW IT WORKS  (home)
   ========================================================================== */
.how { background: var(--white); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step {
  counter-increment: step;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  position: relative;
}
.step::before {
  content: counter(step);
  display: block;
  font-size: 2.5rem;
  font-family: 'Arvo', serif;
  font-weight: 700;
  color: var(--green);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.875rem; color: var(--gray); }


/* =============================================================================
   10. SCENARIOS  (home)
   ========================================================================== */
.scenarios { background: var(--dark); color: white; }
.scenarios h2 { color: white; }
.scenarios .section-label { color: var(--yellow); }
.scenarios .lead { color: rgba(255,255,255,0.7); }

.scenario-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.scenario-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.2s;
}
.scenario-card:hover { background: rgba(255,255,255,0.1); }
.scenario-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.scenario-card-body { padding: 1.75rem; }
.scenario-emoji { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.scenario-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.badge-base { background: var(--green); color: white; }
.badge-exp  { background: rgba(236,130,0,0.2); color: var(--orange); border: 1px solid var(--orange); }
.scenario-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.scenario-card p  { font-size: 0.875rem; color: rgba(255,255,255,0.65); }


/* =============================================================================
   11. TESTIMONIALS  (home)
   ========================================================================== */
.testimonials { background: var(--gray-l); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial {
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.testimonial blockquote {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  quotes: "\201C""\201D";
}
.testimonial blockquote::before { content: open-quote; color: var(--green); font-size: 1.4rem; line-height: 0; vertical-align: -0.4rem; margin-right: 0.2rem; }
.testimonial-author strong { font-weight: 700; font-size: 0.875rem; color: var(--dark); display: block; }
.testimonial-author span   { font-size: 0.8rem; color: var(--gray); }


/* =============================================================================
   12. CALL TO ACTION  (home)
   ========================================================================== */
.ctas { background: var(--white); }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.cta-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cta-card-img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--white);
  display: block;
}
.cta-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.cta-card.primary .cta-card-body { background: var(--green); color: white; }
.cta-card.secondary .cta-card-body { background: var(--sand); color: var(--navy); border: 1px solid #e5e7eb; }
.cta-card .cta-icon { font-size: 2.5rem; }
.cta-card h3 { font-size: 1.5rem; font-weight: 800; }
.cta-card p  { font-size: 0.95rem; opacity: 0.85; flex: 1; }
.cta-card.primary .btn { background: white; color: var(--green); }
.cta-card.secondary .btn { background: var(--dark); color: white; }


/* =============================================================================
   13. VIDEOS  (home)
   ========================================================================== */
.videos { background: var(--sand); text-align: center; }
.videos .lead { margin-left: auto; margin-right: auto; }

.video-embed {
  border-radius: 16px;
  aspect-ratio: 16/9;
  max-width: 760px;
  margin: 0 auto 2rem;
  overflow: hidden;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* =============================================================================
   14. FACILITATOR TRAINING  (home)
   ========================================================================== */
.facilitator-training { background: var(--dark); color: white; }
.ft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.facilitator-training .section-label { color: var(--yellow); }
.facilitator-training h2 { color: white; }
.facilitator-training .lead { color: rgba(255,255,255,0.75); }
.ft-includes { list-style: none; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ft-includes li { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.ft-price { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.ft-price-amount { font-family: 'Arvo', serif; font-size: 2.5rem; font-weight: 700; color: var(--yellow); }
.ft-price-note { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.ft-visual img { width: 100%; border-radius: 16px; object-fit: cover; max-height: 420px; }


/* =============================================================================
   15. PARTNERS  (home)
   ========================================================================== */
.partners { background: var(--white); padding: 3rem 2rem; text-align: center; }
.partners p { font-size: 0.85rem; color: var(--gray); margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray);
  opacity: 0.6;
}
.partner-logo small { font-weight: 400; font-size: 0.75rem; }


/* =============================================================================
   16. NEWSLETTER  (home)
   ========================================================================== */
.newsletter {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}
.newsletter h2 { color: white; margin-bottom: 0.75rem; }
.newsletter p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 0.95rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--yellow); }
.newsletter-form button {
  background: var(--red);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #cc3a23; }
/* Confirmation / error message shown via JS after submitting the newsletter form. */
#nl-confirm { margin-top: 1rem; color: var(--yellow); display: none; }
#nl-confirm.nl-error { color: #ff8a7a; }


/* =============================================================================
   17. ARTICLE / BLOG POST PAGES
   (privacy-policy.html and individual blog posts)
   ========================================================================== */
.post-header { background: var(--sand); padding: 4rem 2rem 3rem; text-align: center; }
.post-header .meta { font-size: 0.85rem; color: var(--gray); margin-bottom: 1rem; }
.post-header h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); max-width: 780px; margin: 0 auto; line-height: 1.2; text-wrap: balance; }
.post-body { max-width: 740px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.post-body h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.post-body h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.post-body p { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol { margin: 0 0 1.25rem 1.5rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body img { max-width: 100%; border-radius: 8px; margin: 1.5rem 0; }
.post-body a { color: var(--green); }
.post-body blockquote { border-left: 3px solid var(--green); padding-left: 1.25rem; color: var(--gray); margin: 1.5rem 0; font-style: italic; }
.back-link { display: inline-block; color: var(--green); text-decoration: none; font-size: 0.9rem; font-weight: 600; margin-bottom: 2rem; }
.back-link:hover { text-decoration: underline; }


/* =============================================================================
   18. BLOG INDEX  (blog/index.html)
   ========================================================================== */
.blog-header { background: var(--sand); padding: 4rem 2rem 3rem; text-align: center; }
.blog-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.blog-header p { color: var(--gray); font-size: 1.1rem; }

.blog-grid { max-width: 740px; margin: 0 auto; padding: 4rem 2rem; display: grid; gap: 0; }
.post-card { padding: 2rem 0; border-bottom: 1px solid #e8e4de; }
.post-card:last-child { border-bottom: none; }
.post-date { font-size: 0.8rem; color: var(--gray); margin-bottom: 0.4rem; }
.post-card h2 { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.3; }
.post-card h2 a { color: var(--dark); text-decoration: none; }
.post-card h2 a:hover { color: var(--green); }
.post-excerpt { color: var(--gray); font-size: 0.95rem; margin-bottom: 0.75rem; line-height: 1.6; }
.read-more { color: var(--green); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.read-more:hover { text-decoration: underline; }


/* =============================================================================
   19. FACILITATOR DIRECTORY  (facilitators/index.html)
   ========================================================================== */
.page-header { background: var(--sand); padding: 4rem 2rem 3rem; text-align: center; }
.page-header .label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.page-header p { color: var(--gray); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.page-header .cta { display: inline-block; background: var(--red); color: white; padding: 0.85rem 2rem; border-radius: 8px; font-weight: 700; text-decoration: none; }

.directory { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem; }
.countries-grid { columns: 3; column-gap: 2.5rem; }
.country-block { break-inside: avoid; margin-bottom: 2.5rem; }
.country-name { font-size: 0.8rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--green); }
.facilitator-list { list-style: none; }
.facilitator-list li { font-size: 0.95rem; color: var(--dark); padding: 0.3rem 0; border-bottom: 1px solid #ede9e3; }
.facilitator-list li:last-child { border-bottom: none; }


/* =============================================================================
   20. ERROR PAGE  (404.html)
   ========================================================================== */
.page-error {
  background: var(--sand);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.page-error .logo img { height: 48px; width: auto; margin-bottom: 2.5rem; }
.page-error .code {
  font-family: 'Arvo', serif;
  font-weight: 700;
  font-size: clamp(4rem, 18vw, 9rem);
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.02em;
}
.page-error h1 {
  font-family: 'Arvo', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0.5rem 0 1rem;
}
.page-error p {
  max-width: 32rem;
  color: var(--gray);
  margin-bottom: 2rem;
}
.page-error .actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.page-error .btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.page-error .btn:hover { transform: translateY(-2px); }
.page-error .btn-primary { background: var(--green); color: var(--white); }
.page-error .btn-secondary { background: transparent; color: var(--dark); border: 1px solid #d8d2c8; }


/* =============================================================================
   21. FOOTER
   ========================================================================== */
footer {
  background: #1a1714;
  color: rgba(255,255,255,0.6);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { display: block; margin-bottom: 0.75rem; }
.footer-brand .nav-logo img { mix-blend-mode: lighten; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-brand p + p { margin-top: 0.75rem; }
.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom span a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-left: 0.75rem;
}
.footer-bottom .footer-legal { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.footer-bottom .footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom .footer-legal a:hover { color: white; }
.social-links { display: flex; align-items: center; gap: 1rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.social-links a:hover { color: white; }
.social-links a svg { width: 20px; height: 20px; fill: currentColor; }


/* =============================================================================
   22. RESPONSIVE / MEDIA QUERIES
   ========================================================================== */

/* --- Tablet & below --------------------------------------------------------- */
@media (max-width: 768px) {
  /* Navigation collapses to a toggle-driven menu */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e8e4de;
    z-index: 1000;
  }
  .nav-toggle { display: block; }

  /* Home page grids stack */
  .about-grid { grid-template-columns: 1fr; }
  .cta-grid   { grid-template-columns: 1fr; }

  /* Facilitator training section stacks and hides its visual */
  .ft-grid { grid-template-columns: 1fr; }
  .ft-visual { display: none; }

  /* Footer condenses to two columns */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Facilitator directory columns ----------------------------------------- */
@media (max-width: 900px) {
  .countries-grid { columns: 2; }
}
@media (max-width: 560px) {
  .countries-grid { columns: 1; }
}

/* --- Phones ----------------------------------------------------------------- */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}
