/* ===================================================================
   Mentorix — style.css
   Brand tokens from approved brand board, extended for single-page site.
   =================================================================== */

/* --- Design tokens ------------------------------------------------ */
:root {
  --bg: #f7f2ef;
  --paper: #fcf9f6;
  --panel: #fffdfb;
  --panel-2: #f4ede9;
  --ink: #231d1f;
  --muted: #6e6568;
  --line: rgba(35, 29, 31, .12);
  --lavender: #cfc3df;
  --dusty-blue: #afc4d8;
  --blush: #e6cfd7;
  --champagne: #d8c3a5;
  --mulberry: #4e4452;
  --pearl: #faf7f4;
  --shadow: 0 18px 46px rgba(78, 68, 82, .09);
  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 34px;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--pearl);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* --- Utility ------------------------------------------------------ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Reusable pastel gradient background (from logo-panel) */
.brand-bg {
  background:
    radial-gradient(circle at 20% 20%, rgba(207,195,223,.45), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(175,196,216,.45), transparent 30%),
    radial-gradient(circle at 60% 85%, rgba(230,207,215,.48), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(244,238,234,.9));
}

/* --- Typography --------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: .95;
  font-weight: 600;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 12px;
}

/* --- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}

.btn:hover { opacity: .88; transform: translateY(-1px); }

.btn-primary {
  background: var(--mulberry);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* --- Top bar / Navigation ----------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 244, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link svg { width: 36px; flex-shrink: 0; }

.logo-link .wordmark {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: .15em;
  font-size: 15px;
  color: var(--mulberry);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: background .2s, color .2s;
}

.nav-links a:hover {
  background: rgba(207,195,223,.2);
  color: var(--mulberry);
}

.nav-links .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
}

.nav-links .nav-icon svg {
  width: 18px;
  height: 18px;
}

.nav-cta {
  background: var(--mulberry) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  font-weight: 700 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger svg { width: 24px; height: 24px; stroke: var(--mulberry); }

/* --- Hero --------------------------------------------------------- */
.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-logo-side {
  display: grid;
  place-items: center;
}

.hero-logo-side svg {
  width: 100%;
  max-width: 340px;
}

.hero-text h1 {
  font-size: clamp(42px, 5vw, 68px);
  color: var(--mulberry);
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 17px;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-badges span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- About Us ----------------------------------------------------- */
.about {
  padding: 80px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--mulberry);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 56ch;
}

.founder-card {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.8);
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(78, 68, 82, .12);
}

.founder-card h3 {
  font-size: 30px;
  color: var(--mulberry);
  margin-bottom: 4px;
}

.founder-card .founder-role {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.founder-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Testimonials ------------------------------------------------- */
.testimonials {
  padding: 80px 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(207,195,223,.2), transparent 30%),
    radial-gradient(circle at 85% 50%, rgba(175,196,216,.18), transparent 28%),
    var(--pearl);
}

.testimonials h2 {
  font-size: clamp(34px, 4vw, 48px);
  color: var(--mulberry);
  text-align: center;
  margin-bottom: 40px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.3;
  color: var(--mulberry);
  font-style: italic;
  flex: 1;
}

.testi-card .testi-author {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--blush));
  border: 2px solid rgba(255,255,255,.8);
  flex-shrink: 0;
  object-fit: cover;
}

/* --- University ticker -------------------------------------------- */
.ticker-section {
  padding: 48px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-section h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--mulberry);
  text-align: center;
  margin-bottom: 32px;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  flex-shrink: 0;
  padding: 12px 24px;
  margin: 0 10px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Contact ------------------------------------------------------ */
.contact {
  padding: 80px 0;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: clamp(34px, 4vw, 48px);
  color: var(--mulberry);
  margin-bottom: 12px;
}

.contact > .wrap > p,
.contact-inner > p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}

.hubspot-placeholder {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 48px 32px;
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 15px;
}

/* --- Services ----------------------------------------------------- */
.services {
  padding: 80px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(207,195,223,.18), transparent 30%),
    var(--pearl);
}

.services h2 {
  font-size: clamp(34px, 4vw, 48px);
  color: var(--mulberry);
  text-align: center;
  margin-bottom: 14px;
}

.services > .wrap > p {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(78, 68, 82, .13);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--lavender), var(--dusty-blue));
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.service-icon svg { width: 28px; height: 28px; stroke: var(--mulberry); fill: none; }

.service-card h3 {
  font-size: 26px;
  color: var(--mulberry);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Footer ------------------------------------------------------- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--pearl), var(--panel-2));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand svg { width: 30px; }

.footer-brand .wordmark {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 13px;
  color: var(--mulberry);
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background .2s;
}

.footer-social a:hover {
  background: rgba(207,195,223,.25);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-copy {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}

.footer-copy span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  opacity: .7;
}

/* --- Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-logo-side { order: -1; }
  .hero-logo-side svg { max-width: 260px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-badges { justify-content: center; }

  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text p { margin-left: auto; margin-right: auto; }
  .founder-card { max-width: 380px; margin: 0 auto; }

  .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

  .services-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer-brand { justify-content: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 247, 244, .98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    gap: 8px;
    z-index: 99;
  }

  .nav-links.open a { width: 100%; text-align: left; }
  .nav-links.open .nav-icon { width: auto; justify-content: flex-start; gap: 8px; }

  .hamburger { display: block; }
  .topbar-inner { position: relative; }

  .hero { padding: 48px 0 40px; }
  .hero-text h1 { font-size: 38px; }

  .wrap { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 32px; }
  .testi-card blockquote { font-size: 19px; }
}
