/* ============================================================
   Karoline Lab — Main Stylesheet
   ============================================================ */

/* ── Variables (base; overridden dynamically by PHP) ── */
:root {
  --accent:       #0C8A8A;
  --accent-hover: #0A7272;
  --dark:         #0D0D0D;
  --dark-card:    #161616;
  --white:        #FFFFFF;
  --off-white:    #F7F7F7;
  --text-dark:    #111111;
  --text-mid:     #555555;
  --text-light:   #999999;
  --border:       rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.08);

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-h:    72px;
  --radius:   12px;
  --radius-sm: 6px;
  --transition: 0.25s ease;
  --max-w:    1160px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ─────────────────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(13,13,13,0.96);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; mix-blend-mode: screen; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Custom logo wrapper */
.nav-logo .custom-logo-link { display: flex; align-items: center; }
.nav-logo .custom-logo { height: 36px; width: auto; mix-blend-mode: screen; }

.nav-links-wrap { margin-left: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links .current-menu-item > a { color: var(--white); }

.btn-nav-cta {
  flex-shrink: 0;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--accent-hover); }

/* Hamburger — hidden on desktop, shown on mobile via media query */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform 0.15s ease;
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(0,0,0,0.2);
  transition: border-color var(--transition), color var(--transition), transform 0.15s ease;
}
.btn-outline:hover { border-color: var(--text-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color var(--transition), border-color var(--transition);
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); }

.btn-large { padding: 18px 44px; font-size: 15px; }
.btn-sm    { padding: 10px 20px; font-size: 12px; }

/* ─────────────────────────────────────────────────────────
   SECTION COMMON
───────────────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-header { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 60px; }
.section-header .section-eyebrow { justify-content: center; }
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--text-mid); line-height: 1.6; }

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vh, 120px) clamp(20px, 5vw, 80px) clamp(60px, 8vh, 100px) clamp(20px, 7vw, 120px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--accent);
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(72px, 9vw, 128px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-content h1 span { color: var(--accent); }
.hero-desc {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

/* ─────────────────────────────────────────────────────────
   METHOD
───────────────────────────────────────────────────────── */
.method {
  background: var(--white);
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,60px);
  max-width: var(--max-w);
  margin-inline: auto;
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  margin-top: 60px;
}
.pillar {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 36px;
}
.pillar:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.pillar-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.pillar h3 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.pillar p { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

.method-editorial { padding-top: 8px; }
.method-quote {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 28px;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}
.method-body { font-size: 16px; color: var(--text-mid); line-height: 1.7; margin-bottom: 36px; }

/* ─────────────────────────────────────────────────────────
   PROGRAMS
───────────────────────────────────────────────────────── */
.programs {
  background: var(--off-white);
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,60px);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--max-w);
  margin-inline: auto;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.program-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.program-card.featured {
  background: var(--dark);
  border-color: var(--accent);
}
.program-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.program-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.program-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  line-height: 1.1;
}
.featured .program-title { color: var(--white); }
.program-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}
.featured .price-amount { color: var(--white); }
.price-note {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}
.program-desc { font-size: 14px; color: var(--text-mid); margin-bottom: 20px; line-height: 1.6; }
.featured .program-desc { color: rgba(255,255,255,0.6); }

/* Checklist */
.kl-checklist { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kl-checklist li { font-size: 14px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.featured .kl-checklist li { color: rgba(255,255,255,0.8); }
.check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.featured .btn-primary { width: 100%; text-align: center; }
.featured .btn-outline  { width: 100%; text-align: center; }
.program-card .btn-outline { width: 100%; text-align: center; border-color: var(--border-light); }
.programs-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 36px;
  max-width: var(--max-w);
  margin-inline: auto;
}

/* ─────────────────────────────────────────────────────────
   AI PLANNER
───────────────────────────────────────────────────────── */
.ai-planner {
  background: var(--dark);
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,60px);
}
.ai-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,100px);
  align-items: center;
}
.ai-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(12,138,138,0.12);
  border: 1px solid rgba(12,138,138,0.25);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.ai-content h2 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.ai-content h2 span { color: var(--accent); }
.ai-content p { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 36px; max-width: 420px; }

/* Chat UI */
.chat-window {
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.chat-header {
  background: #222;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.chat-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.chat-bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.chat-bubble.user {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-bubble.ai {
  background: var(--accent);
  color: var(--white);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

/* ─────────────────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,60px);
  gap: clamp(40px,6vw,100px);
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); }
.about-image-placeholder { width: 100%; aspect-ratio: 3/4; background: linear-gradient(135deg,#eee,#ddd); border-radius: var(--radius); }
.about-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--dark);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  color: var(--white);
}
.badge-num {
  display: block;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.badge-lbl { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }

.about-content h2 {
  font-family: var(--font-head);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.about-content h2 span { color: var(--accent); }
.about-content p { font-size: 16px; color: var(--text-mid); line-height: 1.7; margin-bottom: 18px; }

.about-creds { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.cred-item { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; }
.cred-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────────────────── */
.testimonials {
  background: var(--off-white);
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,60px);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--max-w);
  margin-inline: auto;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition);
}
.testi-card:hover { transform: translateY(-3px); }
.testi-stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; }
.testi-result {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(12,138,138,0.1);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}
.testi-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dark);
  flex: 1;
  font-style: italic;
}
.testi-meta { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.testi-name { font-size: 14px; font-weight: 600; }
.testi-program { font-size: 12px; color: var(--text-light); }

/* ─────────────────────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--dark);
  padding: clamp(80px,10vw,120px) clamp(20px,5vw,60px);
  text-align: center;
}
.cta-inner { max-width: 640px; margin-inline: auto; }
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-banner h2 span { color: var(--accent); }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 40px; line-height: 1.65; }

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
.site-footer {
  background: #080808;
  color: rgba(255,255,255,0.6);
  padding: clamp(60px,8vw,100px) clamp(20px,5vw,60px) 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(32px,4vw,60px);
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img, .footer-brand .custom-logo { height: 32px; width: auto; mix-blend-mode: screen; margin-bottom: 16px; }
.footer-logo-text {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}
.footer-desc { font-size: 14px; line-height: 1.65; margin-bottom: 24px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color var(--transition), color var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

.footer-heading {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-nav li { list-style: none; }

.footer-nl-desc { font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
.footer-nl-form { display: flex; flex-direction: column; gap: 10px; }
.footer-nl-form input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-body);
  width: 100%;
  transition: border-color var(--transition);
}
.footer-nl-form input::placeholder { color: rgba(255,255,255,0.3); }
.footer-nl-form input:focus { outline: none; border-color: var(--accent); }
.footer-nl-form button {
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.footer-nl-form button:hover { background: var(--accent-hover); }

.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ─────────────────────────────────────────────────────────
   BLOG / PAGES
───────────────────────────────────────────────────────── */
.site-main { padding-top: var(--nav-h); }
.page-title-bar {
  background: var(--dark);
  padding: 60px 0;
}
.page-title-bar h1 {
  font-family: var(--font-head);
  font-size: clamp(36px,5vw,64px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
}
.page-hero { position: relative; }
.page-hero img { width: 100%; max-height: 480px; object-fit: cover; }
.page-hero-title {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; padding-bottom: 32px;
}
.page-hero-title h1 { font-family: var(--font-head); font-size: clamp(32px,4vw,54px); font-weight: 900; text-transform: uppercase; color: var(--white); }
.page-content { padding-top: 60px; padding-bottom: 80px; max-width: 760px; }
.page-content p { margin-bottom: 1.5em; font-size: 17px; line-height: 1.75; color: var(--text-mid); }
.page-content h2,.page-content h3,.page-content h4 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; margin: 1.8em 0 0.6em; color: var(--text-dark); }

.posts-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 32px; padding: 60px 0; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); transition: transform var(--transition); }
.post-card:hover { transform: translateY(-3px); }
.post-thumb img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-meta { font-size: 12px; color: var(--text-light); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.post-card-body h2 { font-family: var(--font-head); font-size: 22px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.post-card-body h2 a { color: var(--text-dark); }
.post-card-body p { font-size: 14px; color: var(--text-mid); margin-bottom: 20px; }

.post-header { padding: 60px 0 32px; }
.post-cats { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.post-title { font-family: var(--font-head); font-size: clamp(36px,5vw,60px); font-weight: 900; text-transform: uppercase; }
.post-featured-image { margin-bottom: 40px; }
.post-featured-image img { border-radius: var(--radius); width: 100%; max-height: 480px; object-fit: cover; }
.post-content { padding-bottom: 80px; max-width: 720px; }
.post-content p { font-size: 17px; line-height: 1.75; color: var(--text-mid); margin-bottom: 1.5em; }

/* Program single */
.program-hero { background: var(--dark); padding: clamp(80px,10vw,120px) clamp(20px,5vw,60px); }
.program-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.program-hero-content h1 { font-family: var(--font-head); font-size: clamp(36px,5vw,60px); font-weight: 900; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.program-hero-image img { border-radius: var(--radius); }
.program-detail { padding: 80px clamp(20px,5vw,60px); }
.program-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 60px; }
.sidebar-card { background: var(--off-white); border-radius: var(--radius); padding: 32px; position: sticky; top: calc(var(--nav-h) + 20px); }
.sidebar-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — Tablet (≤900px)
───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  .hero-content {
    order: 1;
    padding: 48px clamp(20px,5vw,40px) 40px;
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .hero-image {
    order: 2;
    width: 100%;
    height: auto;
    overflow: visible;
  }
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}
  .hero-content h1 { font-size: clamp(60px, 12vw, 90px); }
  .hero-eyebrow { justify-content: center; }
  .hero-desc { text-align: center; }
  .hero-actions { justify-content: center; }
  .method-grid { grid-template-columns: 1fr; }
  .ai-inner { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-image img { aspect-ratio: 4/3; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .program-hero-inner { grid-template-columns: 1fr; }
  .program-detail-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — Mobile (≤640px)
───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  /* ── Nav: logo centered, hamburger right ── */
  .nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-inline: 16px;
  }
  .nav-logo {
    display: flex;
    justify-content: center;
    flex: 1;
  }
  .nav-logo img,
  .nav-logo .custom-logo { height: 38px; }
  .nav-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* Hamburger — top right absolute */
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    padding: 6px;
  }

  /* CTA button hidden on mobile — shown inside menu instead */
  .btn-nav-cta { display: none; }

  /* Mobile dropdown menu */
  .nav-links-wrap {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 28px 24px 36px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .nav-links-wrap.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links a {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    padding: 16px 0;
    letter-spacing: 0.06em;
  }
  .nav-links a:hover { color: var(--accent); }

  /* Hero */
  .hero-content { padding: 40px 24px 32px; }
  .hero-content h1 { font-size: clamp(52px, 14vw, 72px); }
  .hero-image { height: auto; max-height: none; }

  /* Other sections */
  .programs-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-heading { font-size: clamp(30px, 8vw, 44px); }
}

/* ─────────────────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.6s ease both; animation-delay: 0.1s; }
.hero-content h1 { animation: fadeUp 0.7s ease both; animation-delay: 0.2s; }
.hero-desc { animation: fadeUp 0.7s ease both; animation-delay: 0.35s; }
.hero-actions { animation: fadeUp 0.7s ease both; animation-delay: 0.5s; }

/* ─────────────────────────────────────────────────────────
   ACCESSIBILITY
───────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}