/* ===== Design tokens (from Figma) ===== */
:root {
  --color-cream: #fbf9f8;
  --color-white: #ffffff;
  --color-dark: #172818;
  --color-body: #434842;
  --color-accent: #775928;
  --color-accent-soft: rgba(119, 89, 40, 0.1);
  --color-heading-on-dark: #ffdeae;
  --color-pill-bg: #eae8e7;
  --color-pill-border: #dbd9d9;
  --color-footer-bg: #e4e2e2;
  --color-dot-active: #2c3e2c;
  --color-dot-inactive: #dbd9d9;
  --color-icon-dark: #2c3e2c;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-dark); margin: 0; }
p { margin: 0; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: #8a6a34;
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.btn-dark:hover {
  background: #24391f;
  transform: translateY(-1px);
}
.btn-nav {
  padding: 14px 32px;
  font-size: 18px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}
.btn-lg {
  padding: 20px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}
.btn-icon { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.btn-cta {
  padding: 20px 40px;
  font-size: 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 248, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 54px;
}
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-dark);
}
.nav-links a:hover { color: var(--color-accent); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 4px 20px 16px;
  border-top: 1px solid rgba(23,40,24,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 0;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-dark);
  border-bottom: 1px solid rgba(23,40,24,0.06);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ===== Hero ===== */
.hero { padding: 64px 0 96px; overflow: hidden; }
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-copy { max-width: 576px; }
.hero-copy h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.48px;
}
.hero-sub {
  display: block;
  margin-top: 23px;
  font-size: 18px;
  line-height: 1.6;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 23px; }

.hero-art {
  position: relative;
  flex-shrink: 0;
  width: 448px;
  height: 448px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art-glow {
  position: absolute;
  inset: 0;
  background: rgba(119, 89, 40, 0.08);
  filter: blur(32px);
  border-radius: 9999px;
}
.hero-art-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  overflow: hidden;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,0.15));
}
.hero-art-ring img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Value / Trust strip ===== */
.values { padding: 0 0 64px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--color-white);
  border: 1px solid rgba(195, 200, 191, 0.2);
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.value-icon { width: 52px; height: 52px; object-fit: contain; }
.value-card p {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--color-icon-dark);
}

/* ===== Our Services ===== */
.services { padding: 32px 0 96px; background: var(--color-cream); }
.services .section-heading { margin-bottom: 40px; }

.services-toggle {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--color-pill-bg);
  border-radius: 9999px;
  margin: 0 auto 56px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.services-tab {
  border: none;
  background: transparent;
  color: var(--color-body);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.services-tab.active { background: var(--color-dark); color: var(--color-white); }
.services-tab:not(.active):hover { color: var(--color-dark); }

.services-panel[hidden] { display: none; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.services-grid--webinar {
  grid-template-columns: 0.75fr 1fr;
  grid-template-areas: "media title" "media rest";
  row-gap: 0;
  column-gap: 64px;
  align-items: start;
}
.services-webinar-title { grid-area: title; }
.services-webinar-media { grid-area: media; }
.services-grid--webinar .services-info { grid-area: rest; }

.services-info h3, .services-webinar-title { font-size: 36px; letter-spacing: -0.3px; margin-bottom: 4px; }
.services-info > p { font-size: 18px; line-height: 1.6; color: var(--color-body); }

.services-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--color-dark);
  border-left: 3px solid var(--color-accent);
  padding-left: 16px;
  margin: 16px 0 0;
}
.services-quote--closing { margin: 24px 0 0; }

.services-numbered-list {
  list-style: none;
  counter-reset: services-step;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services-numbered-list li {
  position: relative;
  padding-left: 40px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-body);
}
.services-numbered-list li::before {
  counter-increment: services-step;
  content: counter(services-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-numbered-list strong { color: var(--color-dark); font-weight: 600; }

.services-card {
  background: var(--color-white);
  border: 1px solid rgba(195, 200, 191, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(44,62,44,0.05);
  overflow: hidden;
}
.services-table { width: 100%; border-collapse: collapse; }
.services-table th {
  background: var(--color-dark);
  color: var(--color-white);
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  padding: 18px 28px;
}
.services-table td {
  padding: 18px 28px;
  font-size: 16px;
  color: var(--color-body);
  border-bottom: 1px solid rgba(23,40,24,0.08);
}
.services-table tr:last-child td { border-bottom: none; }
.services-table td:last-child { font-weight: 600; color: var(--color-dark); }

.services-card-footer { background: #f5f3f1; padding: 20px 28px; }
.services-card-footer .services-cta-btn { width: 100%; }

.services-cta-btn { padding: 16px 32px; font-size: 16px; font-weight: 600; }

.services-book-btn {
  opacity: 0.65;
  cursor: not-allowed;
}
.services-book-btn:hover { background: var(--color-accent); transform: none; }

.services-webinar-media {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 120px;
}
.services-webinar-image {
  aspect-ratio: 3 / 2;
  background: var(--color-white);
  border: 1px solid rgba(195, 200, 191, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(44,62,44,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.services-webinar-image svg { width: 45%; height: 45%; color: var(--color-dark); opacity: 0.3; }
.services-webinar-image img { width: 100%; height: 100%; object-fit: cover; }

.services-speaker {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.services-speaker-photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-pill-bg);
  border: 1px solid rgba(195, 200, 191, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.services-speaker-photo svg { width: 32px; height: 32px; color: var(--color-body); opacity: 0.6; }
.services-speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.services-speaker-details { display: flex; flex-direction: column; gap: 2px; }
.services-speaker-name { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--color-dark); }
.services-speaker-role { font-size: 14px; color: var(--color-accent); font-weight: 600; }
.services-speaker-bio { font-size: 14px; color: var(--color-body); opacity: 0.85; margin-top: 4px; }

.services-price { font-size: 18px; font-weight: 600; color: var(--color-dark); margin: 16px 0 20px; }

.services-label { font-weight: 600; color: var(--color-dark); font-size: 16px; margin: 20px 0 8px; }
.services-label:first-of-type { margin-top: 16px; }

.services-bullet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.services-bullet-list li { font-size: 15px; line-height: 1.6; color: var(--color-body); padding-left: 18px; position: relative; }
.services-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.services-mini-table-wrap {
  display: table;
  margin: 20px 0 28px;
  border: 1px solid rgba(195, 200, 191, 0.3);
  border-radius: 10px;
  overflow: hidden;
}
.services-mini-table { border-collapse: collapse; }
.services-mini-table th {
  background: var(--color-pill-bg);
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 22px;
  text-align: left;
}
.services-mini-table td {
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  border-top: 1px solid rgba(195, 200, 191, 0.3);
}

/* ===== Mission ===== */
.mission {
  position: relative;
  background: var(--color-dark);
  padding: 96px 0;
  overflow: hidden;
}
.mission-inner {
  position: relative;
  z-index: 1;
  max-width: 896px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.mission h2 { color: var(--color-heading-on-dark); font-size: 48px; letter-spacing: -0.48px; }
.mission p { color: var(--color-white); font-size: 18px; line-height: 1.6; opacity: 0.85; }

.mission-glow { position: absolute; width: 384px; height: 384px; background: var(--color-accent); filter: blur(48px); border-radius: 9999px; opacity: 0.1; }
.mission-glow-tl { top: -100px; left: -100px; }
.mission-glow-br { bottom: -100px; right: -100px; }

/* ===== Pill carousel ===== */
.pill-carousel {
  overflow: hidden;
  padding: 32px 0;
  background: var(--color-white);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.pill-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: pill-scroll 32s linear infinite;
}
.pill-carousel:hover .pill-track { animation-play-state: paused; }
@keyframes pill-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.pill {
  flex-shrink: 0;
  background: var(--color-pill-bg);
  border: 1px solid var(--color-pill-border);
  border-radius: 9999px;
  padding: 12px 33px;
  font-size: 18px;
  color: var(--color-dark);
  white-space: nowrap;
}

/* ===== Global Network ===== */
.global-network { padding: 96px 0 77px; background: var(--color-cream); }
.section-heading { text-align: center; max-width: 672px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 15px; }
.section-heading h2 { font-size: 48px; letter-spacing: -0.48px; }
.section-heading p { font-size: 18px; }

.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}
.mentor-card {
  flex: 0 0 calc((100% - 24px * 4) / 5);
  background: var(--color-white);
  border: 1px solid rgba(195, 200, 191, 0.2);
  border-radius: 12px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mentor-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--color-pill-bg);
}
.mentor-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.mentor-country { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--color-dot-active); }
.mentor-bio { font-size: 16px; line-height: 1.6; color: var(--color-body); margin: 0; }
.mentor-bio-line { display: block; }
.mentor-bio-line + .mentor-bio-line { margin-top: 8px; }

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: none;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease;
}
.carousel-nav:hover { background: var(--color-white); }
.carousel-nav img { width: 8px; height: 14px; }
.carousel-nav-left { left: -24px; }
.carousel-nav-right { right: -24px; }
.carousel-nav:disabled { opacity: 0.3; cursor: default; }

.carousel-dots { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--color-dot-inactive);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease;
}
.carousel-dot.active { background: var(--color-dot-active); }

/* ===== How it works ===== */
.how-it-works { padding: 62px 0 154px; background: var(--color-cream); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(44,62,44,0.05);
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.step-icon img { width: 25px; height: 25px; }
.step-number { color: var(--color-accent); font-size: 16px; }
.step-card h3 { font-size: 24px; margin-top: 4px; }
.step-card p { font-size: 16px; line-height: 1.6; }

/* ===== Final CTA ===== */
.final-cta {
  position: relative;
  background: var(--color-dark);
  padding: 96px 0;
  overflow: hidden;
  text-align: center;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 896px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
}
.final-cta h2 { color: var(--color-heading-on-dark); font-size: 48px; letter-spacing: -0.48px; }
.final-cta p { color: var(--color-white); font-size: 18px; line-height: 1.6; opacity: 0.8; max-width: 672px; }
.final-cta .btn-cta { margin-top: 10px; }

.cta-glow { position: absolute; width: 384px; height: 384px; background: var(--color-accent); filter: blur(48px); border-radius: 9999px; opacity: 0.1; }
.cta-glow-tl { top: -80px; left: 0; }
.cta-glow-br { bottom: -80px; right: 0; }

/* ===== Footer ===== */
.footer { background: var(--color-footer-bg); padding: 64px 0 0; }
.footer-inner { padding-bottom: 48px; }
.footer-brand { max-width: 480px; display: flex; flex-direction: column; gap: 15px; }
.footer-logo { height: 64px; width: auto; align-self: flex-start; }
.footer-tagline { font-family: var(--font-heading); font-size: 20px; color: var(--color-dark); }
.footer-desc, .footer-email { font-size: 16px; line-height: 1.6; }
.footer-email a { color: var(--color-accent); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(23,40,24,0.1);
  padding: 24px 0;
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .mentor-card { flex: 0 0 calc((100% - 24px * 2) / 3); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-copy { max-width: 100%; }
  .hero-sub { max-width: 576px; margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-art { display: none; }
  .hero-break { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .values-grid { grid-template-columns: 1fr; }

  .carousel-nav, .carousel-dots { display: none; }
  .carousel-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .carousel-viewport::-webkit-scrollbar { display: none; }
  .mentor-card { scroll-snap-align: start; flex: 0 0 calc((100% - 24px) / 2); }

  /* Our Services: stack single-column on mobile, desktop stays side by side. */
  .services-grid { grid-template-columns: 1fr; gap: 40px; }

  /* 1:1 Mentorship: table + book button first, details below. */
  .services-grid--sessions .services-card { order: -1; }

  /* Webinars: title, then image + speaker, then the rest of the details. */
  .services-grid--webinar {
    grid-template-areas: "title" "media" "rest";
    row-gap: 24px;
  }
  .services-webinar-media { position: static; top: auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero-copy h1 { font-size: 34px; }
  .mission h2, .section-heading h2, .final-cta h2 { font-size: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
  .mentor-card { flex: 0 0 35%; }
  .mentor-body { padding: 12px; gap: 4px; }
  .mentor-country { font-size: 10px; }
  .mentor-bio { font-size: 11px; line-height: 1.35; }
  .btn-nav { padding: 10px 20px; font-size: 15px; }
}
