/* =============================================================
   MentorHarness — Design System & Global Styles
   ============================================================= */

:root {
  /* Brand palette */
  --indigo-900: #14112e;
  --indigo-800: #1d1947;
  --indigo-700: #2a2470;
  --indigo-600: #3f37b5;
  --indigo-500: #5a50e0;
  --indigo-100: #ebe9fc;
  --indigo-50:  #f5f4ff;

  --coral-600: #e8553b;
  --coral-500: #ff6a4d;
  --coral-400: #ff8366;
  --coral-100: #ffe7e0;

  --amber-500: #ffb020;
  --green-500: #19b36b;

  /* Neutrals */
  --ink:       #14112e;
  --ink-soft:  #3b3a52;
  --muted:     #6b6a82;
  --muted-2:   #9897ab;
  --line:      #e7e6f0;
  --line-2:    #efeef6;
  --surface:   #ffffff;
  --bg:        #fbfbfe;
  --bg-tint:   #f5f4ff;

  /* Semantic */
  --primary:   var(--indigo-600);
  --primary-strong: var(--indigo-700);
  --accent:    var(--coral-500);

  /* Typography */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(20,17,46,.06), 0 1px 3px rgba(20,17,46,.05);
  --shadow-md: 0 10px 30px -12px rgba(20,17,46,.18);
  --shadow-lg: 0 28px 60px -24px rgba(20,17,46,.28);
  --shadow-coral: 0 14px 30px -10px rgba(255,106,77,.5);
  --shadow-indigo: 0 14px 30px -10px rgba(63,55,181,.45);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }

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

button { font: inherit; cursor: pointer; border: none; background: none; }

input,
select,
textarea { font: inherit; color: inherit; }

ul { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--tint { background: var(--bg-tint); }
.section--ink {
  background: radial-gradient(120% 120% at 80% -10%, #2a2470 0%, #14112e 55%);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}
.section--ink .eyebrow { color: var(--coral-400); }

.section-head { max-width: 660px; }
.section-head--center { margin-inline: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.075rem;
}
.section--ink .section-head p { color: #c4c2e0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn--primary:hover { background: var(--coral-600); transform: translateY(-2px); }

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: var(--indigo-700); transform: translateY(-2px); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn--outline-light {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

.btn--link {
  padding: 0;
  border-radius: 0;
  color: var(--primary);
  background: none;
  box-shadow: none;
}
.btn--link:hover { color: var(--coral-600); }

.btn--lg { padding: 17px 30px; font-size: 1.05rem; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Badges / pills ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--indigo-50);
  color: var(--primary);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.tag--coral { background: var(--coral-100); color: var(--coral-600); border-color: #ffd5cb; }
.tag--green { background: #e2f8ee; color: #0e8a4f; border-color: #c4eed8; }
.tag--ghost { background: #fff; color: var(--muted); }

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(25,179,107,.18);
  flex: none;
}

/* =============================================================
   Navbar
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--indigo-600), var(--coral-500));
  color: #fff;
  box-shadow: var(--shadow-indigo);
}
.brand__mark svg { width: 20px; height: 20px; }
.brand b { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
}
.nav__links a {
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink-soft);
  transition: color .15s ease;
  position: relative;
}
.nav__links a:hover { color: var(--primary); }
.nav__links a.is-active { color: var(--primary); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: rotate(-45deg) translateY(-1px); }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 88% 0%, rgba(255,106,77,.10), transparent 60%),
    radial-gradient(55% 60% at 6% 8%, rgba(90,80,224,.12), transparent 55%),
    var(--bg);
  padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 8vw, 100px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  line-height: 1.04;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--indigo-600), var(--coral-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 22px;
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 540px;
}
.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__search {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 7px 7px 7px 18px;
  box-shadow: var(--shadow-md);
  max-width: 480px;
}
.hero__search svg { width: 20px; height: 20px; color: var(--muted-2); flex: none; }
.hero__search input {
  border: none;
  outline: none;
  flex: 1;
  background: transparent;
  font-size: .98rem;
  min-width: 0;
}
.hero__trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
}
.avatars { display: flex; }
.avatars img,
.avatars span {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -10px;
  object-fit: cover;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: #fff;
}
.avatars :first-child { margin-left: 0; }
.stars { color: var(--amber-500); letter-spacing: 2px; }

/* Hero visual */
.hero__visual { position: relative; }
.hero__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.hero__card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__card-top img {
  width: 60px; height: 60px; border-radius: 16px; object-fit: cover;
}
.hero__card-name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.hero__card-role { color: var(--muted); font-size: .88rem; }
.hero__card-skills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.hero__card-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__card-price b { font-family: var(--font-head); font-size: 1.2rem; }
.hero__card-price span { color: var(--muted); font-size: .85rem; }

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .85rem;
  font-weight: 600;
}
.float-chip small { color: var(--muted); font-weight: 500; display: block; }
.float-chip .ic {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
}
.float-chip--a { top: -22px; left: -26px; animation: floaty 6s ease-in-out infinite; }
.float-chip--b { bottom: -26px; right: -22px; animation: floaty 6s ease-in-out infinite .8s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Logo strip ---------- */
.logos {
  padding: 30px 0 8px;
}
.logos p {
  text-align: center;
  color: var(--muted-2);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
}
.logos__row span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: #b9b8c9;
  letter-spacing: -.02em;
}

/* =============================================================
   Generic grids / cards
   ============================================================= */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dcdaee; }

/* Step cards */
.step {
  padding: 30px 26px;
  position: relative;
}
.step__num {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(140deg, var(--indigo-600), var(--indigo-500));
  box-shadow: var(--shadow-indigo);
  margin-bottom: 20px;
}
.step:nth-child(2) .step__num { background: linear-gradient(140deg, var(--coral-500), var(--coral-400)); box-shadow: var(--shadow-coral); }
.step:nth-child(3) .step__num { background: linear-gradient(140deg, #19b36b, #38cf86); box-shadow: 0 14px 30px -10px rgba(25,179,107,.45); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* Feature cards */
.feature { padding: 28px 26px; }
.feature__ic {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--indigo-50);
  color: var(--primary);
  margin-bottom: 18px;
}
.feature__ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* =============================================================
   Category cards
   ============================================================= */
.cat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-md);
}
.cat__ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  flex: none;
  background: var(--indigo-50);
}
.cat h3 { font-size: 1.05rem; }
.cat p { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.cat__arrow { margin-left: auto; color: var(--muted-2); transition: transform .2s ease, color .2s; }
.cat:hover .cat__arrow { transform: translateX(4px); color: var(--primary); }

/* =============================================================
   Mentor card
   ============================================================= */
.mentor-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mentor-card__head {
  padding: 22px 22px 0;
  display: flex;
  gap: 14px;
}
.mentor-card__ava {
  width: 64px; height: 64px;
  border-radius: 16px;
  object-fit: cover;
  flex: none;
}
.mentor-card__id { min-width: 0; flex: 1; }
.mentor-card__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mentor-card__name .verif { color: var(--primary); }
.mentor-card__role { color: var(--muted); font-size: .88rem; }
.mentor-card__co {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.mentor-card__bio {
  padding: 14px 22px 0;
  color: var(--muted);
  font-size: .92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mentor-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px 22px 0;
}
.mentor-card__meta {
  margin-top: auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .86rem;
  color: var(--muted);
}
.mentor-card__meta b { color: var(--ink); }
.mentor-card__foot {
  padding: 16px 22px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mentor-card__price b { font-family: var(--font-head); font-size: 1.15rem; }
.mentor-card__price span { color: var(--muted); font-size: .82rem; }
.mentor-card__plans { font-size: .84rem; font-weight: 600; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: .9rem; }
.rating svg { width: 16px; height: 16px; color: var(--amber-500); }
.rating span { color: var(--muted); font-weight: 500; }

/* =============================================================
   Stats band
   ============================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  background: linear-gradient(120deg, #fff, var(--coral-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: #c4c2e0; margin-top: 6px; font-size: .95rem; }

/* =============================================================
   Testimonials
   ============================================================= */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.quote__stars { color: var(--amber-500); letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: 1.02rem; color: var(--ink-soft); }
.quote__who {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote__who b { font-family: var(--font-head); display: block; font-size: .96rem; }
.quote__who span { color: var(--muted); font-size: .84rem; }

/* =============================================================
   Pricing
   ============================================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}
.plan--feat {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.plan--feat::before {
  content: "Most popular";
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .76rem;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-coral);
}
.plan h3 { font-size: 1.3rem; }
.plan__desc { color: var(--muted); font-size: .92rem; margin-top: 6px; min-height: 42px; }
.plan__price { margin: 20px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-family: var(--font-head); font-size: 2.6rem; }
.plan__price span { color: var(--muted); font-size: .95rem; }
.plan ul { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 28px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.plan li svg { width: 20px; height: 20px; color: var(--green-500); flex: none; margin-top: 1px; }
.plan li.off { color: var(--muted-2); }
.plan li.off svg { color: var(--muted-2); }
.plan .btn { margin-top: auto; }

/* =============================================================
   FAQ accordion
   ============================================================= */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item.is-open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  text-align: left;
}
.faq__q .ic {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--indigo-50);
  color: var(--primary);
  display: grid; place-items: center;
  flex: none;
  transition: transform .25s ease, background .2s;
  font-size: 1.2rem;
}
.faq__item.is-open .faq__q .ic { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq__a-inner { padding: 0 22px 22px; color: var(--muted); }

/* =============================================================
   CTA band
   ============================================================= */
.cta {
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(255,106,77,.35), transparent 55%),
    radial-gradient(70% 120% at 0% 100%, rgba(90,80,224,.45), transparent 55%),
    var(--indigo-700);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.cta p { color: #d9d7f2; margin-top: 16px; font-size: 1.1rem; max-width: 560px; margin-inline: auto; }
.cta__btns { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   Footer
   ============================================================= */
.footer {
  background: var(--indigo-900);
  color: #b9b6d6;
  padding: clamp(50px, 7vw, 80px) 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 36px;
}
.footer .brand { color: #fff; }
.footer__about { margin-top: 18px; font-size: .92rem; max-width: 280px; color: #9a97bd; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  color: #cfcce9;
  transition: background .2s, color .2s, transform .2s;
}
.footer__social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer__col h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 16px;
  font-family: var(--font-head);
}
.footer__col a { display: block; padding: 7px 0; font-size: .92rem; color: #a5a2c7; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .87rem;
  color: #8b88ad;
}
.footer__bottom a:hover { color: #fff; }

/* =============================================================
   Page header (sub pages)
   ============================================================= */
.pagehead {
  background:
    radial-gradient(60% 90% at 90% 0%, rgba(255,106,77,.10), transparent 60%),
    radial-gradient(60% 90% at 5% 10%, rgba(90,80,224,.12), transparent 55%),
    var(--bg);
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line-2);
}
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--primary); }
.pagehead h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.pagehead p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; max-width: 620px; }

/* =============================================================
   Browse mentors layout
   ============================================================= */
.browse {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
  align-items: start;
}
.filters {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.filters h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filters__reset { font-size: .82rem; font-weight: 600; color: var(--accent); }
.filter-group { margin-top: 22px; }
.filter-group h4 {
  font-family: var(--font-head);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 9px;
  font-size: .92rem;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.cat-link:hover { background: var(--indigo-50); color: var(--primary); }
.cat-link.is-active { background: var(--indigo-50); color: var(--primary); font-weight: 700; }
.cat-link .count { color: var(--muted-2); font-size: .8rem; }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: .92rem;
  cursor: pointer;
  color: var(--ink-soft);
}
.check input { width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; }
.check span.count { margin-left: auto; color: var(--muted-2); font-size: .8rem; }
.range-out { font-weight: 700; color: var(--primary); font-family: var(--font-head); }
input[type="range"] { width: 100%; accent-color: var(--primary); margin-top: 8px; }

.browse__main { min-width: 0; }
.browse__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.searchbox {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 11px 18px;
  box-shadow: var(--shadow-sm);
}
.searchbox svg { width: 19px; height: 19px; color: var(--muted-2); flex: none; }
.searchbox input { border: none; outline: none; flex: 1; background: transparent; min-width: 0; }
.select {
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 11px 16px;
  background: #fff;
  font-weight: 600;
  font-size: .92rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.browse__count { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.browse__count b { color: var(--ink); }
.browse__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.filters__mobile-toggle { display: none; }
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty svg { width: 54px; height: 54px; color: var(--muted-2); margin: 0 auto 16px; }

/* =============================================================
   Mentor profile page
   ============================================================= */
.profile {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}
.profile__top {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.profile__ava { width: 110px; height: 110px; border-radius: 24px; object-fit: cover; flex: none; box-shadow: var(--shadow-md); }
.profile__name { font-size: clamp(1.6rem, 3.5vw, 2.3rem); display: flex; align-items: center; gap: 10px; }
.profile__role { color: var(--muted); font-size: 1.05rem; margin-top: 4px; }
.profile__quickmeta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: .92rem; color: var(--ink-soft); }
.profile__quickmeta span { display: inline-flex; align-items: center; gap: 7px; }
.profile__quickmeta svg { width: 17px; height: 17px; color: var(--primary); }

.profile__section { margin-top: 40px; }
.profile__section h2 { font-size: 1.4rem; margin-bottom: 16px; }
.profile__section p { color: var(--ink-soft); }
.profile__skills { display: flex; flex-wrap: wrap; gap: 9px; }

.exp-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}
.exp-item:last-child { border-bottom: none; }
.exp-item__logo {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--indigo-50);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: var(--primary);
  flex: none;
}
.exp-item h4 { font-size: 1.02rem; }
.exp-item .where { color: var(--muted); font-size: .9rem; }
.exp-item .when { color: var(--muted-2); font-size: .84rem; margin-top: 2px; }

.review {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
}
.review:last-child { border-bottom: none; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review__head b { font-family: var(--font-head); }
.review__head .when { color: var(--muted-2); font-size: .82rem; }
.review p { margin-top: 12px; }

/* Sticky booking card */
.booking {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
}
.booking__price { display: flex; align-items: baseline; gap: 7px; }
.booking__price b { font-family: var(--font-head); font-size: 2.1rem; }
.booking__price span { color: var(--muted); }
.booking__plans { margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.plan-opt {
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.plan-opt:hover { border-color: var(--primary); }
.plan-opt.is-sel { border-color: var(--primary); background: var(--indigo-50); }
.plan-opt__top { display: flex; align-items: center; justify-content: space-between; }
.plan-opt__top b { font-family: var(--font-head); font-size: .98rem; }
.plan-opt__top em { font-style: normal; font-weight: 700; color: var(--primary); }
.plan-opt small { color: var(--muted); font-size: .84rem; }
.booking__guarantee {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  color: var(--muted);
  justify-content: center;
}
.booking__guarantee svg { width: 17px; height: 17px; color: var(--green-500); }

/* =============================================================
   Forms (become a mentor / contact)
   ============================================================= */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 44px);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 8px;
  font-family: var(--font-head);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 16px;
  background: var(--bg);
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--indigo-100);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form-success {
  display: none;
  background: #e2f8ee;
  border: 1px solid #c4eed8;
  color: #0e7a45;
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin-bottom: 22px;
  font-weight: 600;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; }

/* checklist on become-mentor */
.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
}
.benefit__ic {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: var(--coral-100); color: var(--coral-600);
}
.benefit__ic svg { width: 22px; height: 22px; }
.benefit h4 { font-size: 1.05rem; margin-bottom: 3px; }
.benefit p { color: var(--muted); font-size: .92rem; }

/* =============================================================
   Reveal animation
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .profile { grid-template-columns: 1fr; }
  .booking { position: static; }
}

@media (max-width: 860px) {
  .nav__links,
  .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px var(--gutter) 18px;
  }
  .nav.is-open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .nav.is-open .nav__links a.is-active::after { display: none; }

  .grid--2,
  .grid--3,
  .grid--4,
  .t-grid,
  .price-grid,
  .browse__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }

  .browse { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: 0;
    z-index: 200;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s ease;
  }
  .filters.is-open { transform: none; }
  .filters__mobile-toggle { display: inline-flex; }
  .filters__close { display: inline-flex !important; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
  .float-chip--a { left: -8px; }
  .float-chip--b { right: -8px; }
  .profile__top { flex-direction: column; }
}

.filters__close { display: none; position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background:#fff; }

/* =============================================================
   Checkout modal
   ============================================================= */
.modal-back {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,17,46,.55);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.modal-back.show { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  max-width: 440px;
  width: 100%;
  transform: translateY(14px);
  transition: transform .25s ease;
}
.modal-back.show .modal { transform: none; }
.modal h3 { font-size: 1.3rem; }
.modal__sub { margin-top: 8px; color: var(--ink-soft); }
.modal__list { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.modal__list li { font-size: .92rem; color: var(--ink-soft); padding-left: 22px; position: relative; }
.modal__list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 700; }
.modal__note {
  font-size: .82rem;
  color: var(--muted);
  background: var(--bg-tint);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin-bottom: 18px;
}
.modal__note code { font-family: Consolas, "Courier New", monospace; }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 28px; }
.hide { display: none !important; }
.spread { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
