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

:root {
  /* Brand palette — pulled from logo */
  --blue:       #7fa8bc;   /* logo background steel blue */
  --blue-dark:  #5a8599;
  --blue-light: #d4e6ef;
  --gold:       #a07830;   /* logo border/bee gold */
  --gold-light: #c9a05a;
  --cream:      #f7f3ed;   /* warm off-white */
  --cream-dark: #ede7dc;
  --white:      #ffffff;
  --ink:        #1e1e1e;
  --ink-mid:    #4a4a4a;
  --ink-soft:   #7a7a7a;

  /* Sub-site accent overrides (set per site) */
  --accent:     var(--blue);
  --accent-dark: var(--blue-dark);

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    10px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow:    0 6px 32px rgba(0,0,0,0.12);

  --max-w:  1120px;
  --nav-h:  72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── Typography ────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { color: var(--ink-mid); max-width: 65ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

/* ── Layout ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section        { padding: 5rem 0; }
.section--cream { background: var(--cream); }
.section--blue  { background: var(--blue-light); }
.section--dark  { background: var(--ink); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p  { color: rgba(255,255,255,0.75); }

@media (max-width: 640px) { .section { padding: 3.5rem 0; } }

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav__logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--gold); }

.nav__cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.nav__cta:hover { background: var(--gold-light) !important; color: var(--white) !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow);
  }

  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1rem; }
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn--outline:hover { background: var(--gold); color: var(--white); }

.btn--white {
  background: var(--white);
  color: var(--ink);
}
.btn--white:hover { background: var(--cream); color: var(--ink); }

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://beyourbest.solutions/images/hero-home.png');
  background-size: cover;
  background-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30,30,30,0.65) 0%,
    rgba(30,30,30,0.3) 60%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 2rem 0;
}

.hero__content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero__content p  { color: rgba(255,255,255,0.88); max-width: 52ch; font-size: 1.1rem; margin-bottom: 2rem; }

.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero { min-height: 75vh; }
  .hero__bg { background-position: 70% center; }
  .hero__overlay {
    background: linear-gradient(to bottom, rgba(30,30,30,0.5), rgba(30,30,30,0.45));
  }
}

/* ── Section headers ──────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0.75rem auto 0; }
.section-header p { margin-top: 0.75rem; }

/* ── Hub pathway cards ────────────────────────── */
.pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pathway-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
}

.pathway-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}

.pathway-card:hover .pathway-card__bg { transform: scale(1.04); }

.pathway-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.82) 0%, rgba(20,20,20,0.1) 60%);
}

.pathway-card__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
}

.pathway-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.pathway-card__icon--myo  { background: rgba(127,168,188,0.35); }
.pathway-card__icon--bio  { background: rgba(160,120,48,0.35); }
.pathway-card__icon--shop { background: rgba(180,140,80,0.35); }

.pathway-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
}

.pathway-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pathway-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  max-width: 100%;
  margin-bottom: 1.25rem;
}

.pathway-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.pathway-card:hover .pathway-card__link { border-color: var(--white); }

@media (max-width: 900px) {
  .pathways { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pathway-card { min-height: 320px; }
}

/* ── Philosophy / about strip ─────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-strip__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}

.about-strip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-strip__text h2 { margin-bottom: 1rem; }
.about-strip__text p  { margin-bottom: 1.25rem; }

.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.credential-tag {
  background: var(--cream-dark);
  color: var(--ink-mid);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .about-strip { grid-template-columns: 1fr; gap: 2rem; }
  .about-strip__img { aspect-ratio: 3/2; max-width: 400px; }
}

/* ── Philosophy quote ─────────────────────────── */
.philosophy {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.philosophy__quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.philosophy__body { font-size: 1.05rem; color: var(--ink-mid); max-width: 65ch; margin: 0 auto 1rem; }

/* ── Testimonials ─────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.testimonial-card__author {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 680px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* ── Stats strip ──────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--cream-dark);
}

.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item__label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 14ch;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid var(--cream-dark); }
}

@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--cream-dark); }
  .stat-item:last-child { border-bottom: none; }
}

/* ── Footer ───────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer__brand img {
  height: 52px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer__brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  max-width: 30ch;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 0.6rem; }
.footer__col a  { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__bottom a { color: rgba(255,255,255,0.4); }
.footer__bottom a:hover { color: var(--gold-light); }

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Utility ──────────────────────────────────── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.gap-1 { gap: 1rem; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── Disclaimer ───────────────────────────────── */
.disclaimer {
  font-size: 0.75rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--cream-dark);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  max-width: 100%;
}
