/* ==========================================================================
   Kirsty's Tuition — main stylesheet
   Rebuilt from design_handoff_kirstys_tuition (inline styles → classes).
   Design tokens below match the handoff README exactly.
   ========================================================================== */

:root {
  --kt-green: #1F4D45;
  --kt-green-dark-cell: #24594F;
  --kt-bg: #FAFAF7;
  --kt-sage: #F1F5F1;
  --kt-coral: #E97452;
  --kt-text: #1F2A24;
  --kt-text-muted: #4A544D;
  --kt-text-placeholder: #8b8375;
  --kt-footer-bg: #1F2A24;
  --kt-footer-muted: #9FB3AA;
  --kt-footer-muted-2: #7C9088;
  --kt-border: #E7EBE6;
  --kt-border-2: #DDE4E0;
  --kt-font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --kt-section-x: 64px;
  --kt-section-x-tablet: 32px;
  --kt-section-x-mobile: 20px;
  --kt-radius-lg: 24px;
  --kt-radius-md: 20px;
  --kt-radius-sm: 16px;
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--kt-bg);
  font-family: var(--kt-font);
  color: var(--kt-text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--kt-green); text-decoration: none; }
a:hover { color: var(--kt-coral); }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, button {
  font-family: var(--kt-font);
  font-size: 15px;
}

.kt-page { background: var(--kt-bg); color: var(--kt-text); overflow-x: hidden; }

/* ---- Buttons ------------------------------------------------------------ */
.kt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.kt-btn--coral { background: var(--kt-coral); color: #fff; }
.kt-btn--coral:hover { background: var(--kt-coral); color: #fff; opacity: .9; }
.kt-btn--green { background: var(--kt-green); color: #fff; }
.kt-btn--green:hover { color: #fff; opacity: .9; }
.kt-btn--white { background: #fff; }
.kt-btn--outline { background: transparent; border: 1.5px solid var(--kt-green); color: var(--kt-green); padding: 11px 22px; font-size: 14px; }
.kt-btn--outline:hover { color: var(--kt-coral); border-color: var(--kt-coral); }
.kt-btn--block { width: 100%; }
.kt-btn--white-coral { background: #fff; color: var(--kt-coral); }
.kt-btn--white-coral:hover { color: var(--kt-coral); opacity: .85; }

/* ---- Nav ----------------------------------------------------------------- */
.kt-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  padding: 18px 32px;
}
.kt-nav__brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; }
.kt-nav__logo { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.kt-nav__name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--kt-green); white-space: nowrap; }

.kt-nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: wrap;
}
.kt-nav-links li { list-style: none; }
.kt-nav-links a { color: #3A443F; white-space: nowrap; }
.kt-nav-links a.is-current,
.kt-nav-links a:hover,
.kt-nav-links li.current-menu-item > a { color: var(--kt-green); font-weight: 700; }

.kt-nav__cta { flex-shrink: 0; }

/* ---- Page title band (About/Services/Tutors/Reviews/Pricing/FAQ/Contact) - */
.kt-page-title {
  padding: 64px var(--kt-section-x) 48px;
  text-align: center;
}
.kt-page-title__eyebrow,
.kt-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--kt-coral);
  margin-bottom: 16px;
}
.kt-eyebrow--light { color: #9FD8C1; }
.kt-page-title h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 20px;
}
.kt-page-title p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--kt-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.kt-section { padding: 80px var(--kt-section-x); }
.kt-section--tight-top { padding-top: 0; }
.kt-section--sage { background: var(--kt-sage); }
.kt-section--green { background: var(--kt-green); color: #fff; }
.kt-section--coral { background: var(--kt-coral); color: #fff; }
.kt-section--footer-bg { background: var(--kt-footer-bg); color: #CFE3DA; }
.kt-section-header { text-align: center; margin-bottom: 48px; }
.kt-section-header h2 { font-size: 36px; font-weight: 800; }
.kt-section-header--split { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.kt-section-header--split h2 { font-size: 36px; font-weight: 800; }
.kt-block-title { font-size: 30px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
.kt-section-header--sm h2 { font-size: 32px; }
.kt-content-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px 96px; font-size: 15px; line-height: 1.8; color: var(--kt-text-muted); }
.kt-content-narrow--legal { padding-top: 64px; }
.kt-content-narrow p { margin-bottom: 1em; }
.kt-content-narrow strong { color: var(--kt-text); }

/* ---- Hero (Home) --------------------------------------------------------- */
.kt-hero {
  margin: 0 40px;
  border-radius: 28px;
  height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.kt-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.kt-hero__overlay {
  position: relative;
  width: 100%;
  padding: 48px 56px 120px;
  background: linear-gradient(180deg, rgba(15,22,18,.88) 0%, rgba(15,22,18,.6) 40%, rgba(20,30,26,0.05) 70%);
}
.kt-hero__title { font-size: 50px; line-height: 1.1; font-weight: 800; color: #fff; max-width: 640px; margin-bottom: 20px; }
.kt-hero__subtitle { font-size: 17px; line-height: 1.6; color: #EAF3EE; max-width: 520px; margin-bottom: 28px; }
.kt-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Stats grid ----------------------------------------------------------- */
.kt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 56px var(--kt-section-x); }
.kt-stat { background: var(--kt-sage); border-radius: var(--kt-radius-md); padding: 32px 24px; text-align: center; }
.kt-stat__number { font-size: 48px; font-weight: 800; color: var(--kt-green); line-height: 1; margin-bottom: 10px; }
.kt-stat__label { font-size: 15px; font-weight: 600; color: var(--kt-text-muted); }

/* ---- Split (media + content) sections ------------------------------------ */
.kt-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; align-items: stretch; }
.kt-split--reverse { grid-template-columns: 1.1fr 0.9fr; }
.kt-split--reverse .kt-split__media { order: 2; }
.kt-split__media { min-height: 420px; overflow: hidden; }
.kt-split__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.kt-split__content { padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.kt-split__content h2 { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
.kt-split__content p { font-size: 16px; line-height: 1.75; color: var(--kt-text-muted); max-width: 520px; margin-bottom: 20px; }
.kt-split__content a.kt-link { font-weight: 700; font-size: 15px; color: var(--kt-green); }

.kt-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kt-two-col p { font-size: 16px; line-height: 1.75; color: var(--kt-text-muted); margin-bottom: 16px; }
.kt-section--green .kt-two-col p { color: #DCEAE2; }

/* ---- Cards grid (services / discounts / values) --------------------------- */
.kt-cards-grid { display: grid; gap: 20px; }
.kt-cards-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.kt-cards-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kt-cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

.kt-card { background: #fff; border-radius: var(--kt-radius-sm); padding: 28px; }
.kt-card--sage { background: var(--kt-sage); }
.kt-card--bordered { border: 1px solid var(--kt-border); }
.kt-card--center { text-align: center; }
.kt-card--lg { padding: 36px; border-radius: var(--kt-radius-md); }
.kt-card__icon { width: 44px; height: 44px; margin-bottom: 18px; }
.kt-card--lg .kt-card__icon { width: 48px; height: 48px; margin-bottom: 20px; }
.kt-card__icon svg { width: 100%; height: 100%; }
.kt-card__title { font-size: 17px; font-weight: 800; margin-bottom: 10px; color: var(--kt-green); }
.kt-card--lg .kt-card__title { font-size: 20px; }
.kt-card__desc { font-size: 14px; line-height: 1.6; color: var(--kt-text-muted); }
.kt-card--lg .kt-card__desc { font-size: 15px; line-height: 1.7; }
.kt-card__value-title { font-size: 18px; font-weight: 800; color: var(--kt-green); }

.kt-see-all { text-align: center; margin-top: 36px; }
.kt-see-all a { font-weight: 700; font-size: 15px; color: var(--kt-green); }

/* ---- Tutors grid ------------------------------------------------------------ */
.kt-tutors-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 20px; }
.kt-tutors-grid--preview { gap: 18px; }
.tutor-card { text-align: center; }
.tutor-avatar { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 14px; background: var(--kt-sage); }
.tutor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tutor-initial {
  width: 100%; aspect-ratio: 1; border-radius: 50%; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 26px;
}
.tutor-initial--green { background: var(--kt-green); }
.tutor-initial--orange { background: var(--kt-coral); }
.tutor-name { font-weight: 700; font-size: 15px; }
.tutor-sub { font-size: 12px; color: var(--kt-text-placeholder); margin-top: 2px; }

/* Tutor photo/initial button (opens the video popup) — resets default
   button chrome so it looks identical to the old plain div. */
.tutor-avatar-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.tutor-avatar-btn .tutor-avatar,
.tutor-avatar-btn .tutor-initial { margin-bottom: 14px; }
.tutor-avatar-btn:hover .tutor-avatar,
.tutor-avatar-btn:focus-visible .tutor-avatar { box-shadow: 0 0 0 4px rgba(31,77,69,.18); }
.tutor-avatar-btn:hover .tutor-initial,
.tutor-avatar-btn:focus-visible .tutor-initial { box-shadow: 0 0 0 4px rgba(31,77,69,.18); }
.tutor-avatar-btn:focus-visible { outline: 2px solid var(--kt-coral); outline-offset: 4px; border-radius: 50%; }
.tutor-avatar-btn::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(31,42,36,0) center / 34px no-repeat;
  transition: background-color .15s ease;
  pointer-events: none;
}
.tutor-avatar-btn:hover::after {
  background-color: rgba(31,42,36,.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='white' fill-opacity='0.92'/%3E%3Cpath d='M10 8.5l6 3.5-6 3.5z' fill='%231F4D45'/%3E%3C/svg%3E");
}

.kt-tutors-more {
  background: var(--kt-green);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}
.kt-tutors-more strong { font-weight: 800; font-size: 20px; color: #fff; }
.kt-tutors-more span { font-size: 12px; color: #CFE3DA; }

/* ---- Founder feature block --------------------------------------------- */
.kt-founder {
  margin: 0 var(--kt-section-x) 64px;
  background: var(--kt-green);
  border-radius: var(--kt-radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
}
.kt-founder__photo { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; flex: none; }
.kt-founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.kt-founder__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9FD8C1; margin-bottom: 10px; }
.kt-founder__name { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.kt-founder__bio { font-size: 15px; line-height: 1.7; color: #DCEAE2; max-width: 640px; }

/* ---- Testimonial banner (Home) ------------------------------------------ */
.kt-testimonial-banner { background: var(--kt-green); color: #fff; padding: 70px var(--kt-section-x); text-align: center; }
.kt-testimonial-banner blockquote { font-size: 30px; font-weight: 700; line-height: 1.5; max-width: 800px; margin: 0 auto 24px; }
.kt-testimonial-banner cite { font-size: 14px; font-weight: 600; color: #9FD8C1; font-style: normal; }
.kt-testimonial-banner a { display: inline-block; margin-top: 24px; color: #fff; font-weight: 700; font-size: 14px; text-decoration: underline; }

/* ---- CTA split (Home pricing teaser) ------------------------------------ */
.kt-cta-split { padding: 70px var(--kt-section-x); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.kt-cta-split h2 { font-size: 32px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.kt-cta-split p { font-size: 16px; line-height: 1.7; color: var(--kt-text-muted); max-width: 520px; }
.kt-cta-split .kt-link { display: inline-block; margin-top: 20px; font-weight: 700; font-size: 15px; color: var(--kt-green); }
.kt-cta-split__box { background: var(--kt-sage); border-radius: var(--kt-radius-sm); padding: 28px; }
.kt-cta-split__box-title { font-weight: 800; font-size: 17px; margin-bottom: 16px; color: var(--kt-green); }
.kt-cta-split__mock-input { background: #fff; border-radius: 10px; height: 44px; margin-bottom: 12px; }
.kt-cta-split__mock-input:nth-child(2) { margin-bottom: 16px; }

/* ---- CTA bands ------------------------------------------------------------ */
.kt-cta-band { padding: 64px; text-align: center; }
.kt-cta-band--coral { background: var(--kt-coral); color: #fff; }
.kt-cta-band--green { background: var(--kt-green); color: #fff; }
.kt-cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.kt-cta-band p { font-size: 16px; margin-bottom: 28px; }
.kt-cta-band--coral p { color: #FDE4DB; }
.kt-cta-band--green p { color: #DCEAE2; }

/* ---- Values grid (About) -------------------------------------------------- */
.kt-values-grid { padding: 0 var(--kt-section-x) 80px; }

/* ---- Statement / mission (About) ------------------------------------------ */
.kt-statement { padding: 80px var(--kt-section-x); text-align: center; }
.kt-statement p { font-size: 34px; font-weight: 800; line-height: 1.4; max-width: 780px; margin: 0 auto; }

/* ---- Story cards (About "who it's for" / Reviews featured) --------------- */
.kt-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kt-story-card { border-radius: var(--kt-radius-md); padding: 36px; }
.kt-story-card--sage { background: var(--kt-sage); }
.kt-story-card__title { font-size: 15px; font-weight: 700; color: var(--kt-green); margin-bottom: 12px; }
.kt-story-card__body { font-size: 15px; line-height: 1.7; color: var(--kt-text-muted); }

.kt-quote-card { border-radius: var(--kt-radius-md); padding: 40px; }
.kt-quote-card--dark { background: var(--kt-green); color: #fff; }
.kt-quote-card--light { background: var(--kt-sage); color: var(--kt-text); }
.kt-quote-card blockquote { font-size: 24px; font-weight: 700; line-height: 1.5; margin-bottom: 20px; }
.kt-quote-card cite { font-size: 14px; font-weight: 600; font-style: normal; }
.kt-quote-card--dark cite { color: #9FD8C1; }
.kt-quote-card--light cite { color: var(--kt-text-muted); }

/* ---- Subjects grid (Services) --------------------------------------------- */
.kt-subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.15);
  border-radius: var(--kt-radius-sm);
  overflow: hidden;
}
.kt-subjects-grid__cell { background: var(--kt-green-dark-cell); padding: 28px; }
.kt-subjects-grid__cell h3 { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.kt-subjects-grid__cell p { font-size: 14px; color: #B7D4C4; }

/* ---- Numbered steps (How it works / How pricing works / Contact) --------- */
.kt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.kt-step__num { font-size: 40px; font-weight: 800; color: var(--kt-coral); margin-bottom: 12px; }
.kt-section--green .kt-step__num { font-size: 36px; margin-bottom: 10px; }
.kt-step__title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.kt-section--green .kt-step__title { font-size: 16px; margin-bottom: 8px; }
.kt-step__desc { font-size: 15px; line-height: 1.7; color: var(--kt-text-muted); }
.kt-section--green .kt-step__desc { font-size: 14px; color: #DCEAE2; }

.kt-numbered-list { display: flex; flex-direction: column; gap: 16px; }
.kt-numbered-item { display: flex; gap: 14px; align-items: flex-start; }
.kt-numbered-item__num { font-weight: 800; color: var(--kt-coral); }
.kt-numbered-item__text { font-size: 15px; line-height: 1.6; color: #DCEAE2; }

/* ---- Vetting / rating stat bands ------------------------------------------ */
.kt-stat-band { padding: 70px var(--kt-section-x); background: var(--kt-sage); }
.kt-stat-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; text-align: center; }
.kt-stat-band__number { font-size: 32px; font-weight: 800; color: var(--kt-green); margin-bottom: 8px; }
.kt-stat-band__label { font-size: 14px; color: var(--kt-text-muted); }

/* ---- Rating strip (Reviews) ------------------------------------------------ */
.kt-rating-strip { display: flex; justify-content: center; gap: 56px; padding: 8px var(--kt-section-x) 56px; flex-wrap: wrap; }
.kt-rating-card {
  background: #fff; border: 1px solid var(--kt-border); border-radius: var(--kt-radius-sm);
  padding: 24px 32px; text-align: center; min-width: 220px;
}
.kt-rating-card__title { font-size: 28px; font-weight: 800; color: var(--kt-green); }
.kt-rating-card__meta { font-size: 13px; color: var(--kt-text-placeholder); margin-top: 6px; }

/* ---- Video testimonials (Reviews) ------------------------------------------ */
.kt-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kt-video-card {
  background: #1F2A24; border-radius: var(--kt-radius-sm); aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.kt-video-play {
  width: 56px; height: 56px; border-radius: 50%; background: var(--kt-coral);
  display: flex; align-items: center; justify-content: center;
}
.kt-video-play::before {
  content: ""; display: block; width: 0; height: 0;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.kt-video-caption { position: absolute; bottom: 14px; left: 16px; color: #fff; font-size: 13px; font-weight: 600; }
.kt-video-note { text-align: center; font-size: 13px; color: var(--kt-text-placeholder); margin-top: 20px; font-family: ui-monospace, monospace; }
.kt-video-card--linked { text-decoration: none; }

/* ---- Free-trial banner (Pricing) ------------------------------------------ */
.kt-banner-split {
  margin: 0 var(--kt-section-x) 56px;
  background: var(--kt-green);
  border-radius: var(--kt-radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.kt-banner-split h2 { font-size: 30px; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 12px; }
.kt-banner-split p { font-size: 16px; line-height: 1.7; color: #DCEAE2; }
.kt-banner-split .kt-btn { text-align: center; }

/* ---- FAQ list --------------------------------------------------------------- */
.kt-faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1px;
  background: var(--kt-border); border-radius: var(--kt-radius-sm); overflow: hidden;
}
.kt-faq-item { background: #fff; padding: 28px 32px; }
.kt-faq-item__q { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.kt-faq-item__a { font-size: 15px; line-height: 1.7; color: var(--kt-text-muted); }

/* ---- Contact page ------------------------------------------------------------ */
.kt-contact-grid { padding: 0 var(--kt-section-x) 80px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
.kt-contact-form-card { background: #fff; border: 1px solid var(--kt-border); border-radius: var(--kt-radius-md); padding: 40px; }
.kt-form-fields { display: flex; flex-direction: column; gap: 20px; }
.kt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kt-form-group label { display: block; font-size: 13px; font-weight: 700; color: #3A443F; margin-bottom: 8px; }
.kt-form-group input,
.kt-form-group textarea {
  border: 1px solid var(--kt-border-2); border-radius: 10px; padding: 14px 16px;
  width: 100%; background: #fff; color: var(--kt-text);
}

.kt-info-card { border-radius: var(--kt-radius-md); padding: 36px; }
.kt-info-card--dark { background: var(--kt-green); color: #fff; margin-bottom: 24px; }
.kt-info-card--sage { background: var(--kt-sage); }
.kt-info-card__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.kt-info-card--dark .kt-info-card__eyebrow { color: #9FD8C1; }
.kt-info-card--sage .kt-info-card__eyebrow { color: var(--kt-coral); }
.kt-info-card--sage .kt-info-card__body { font-size: 15px; line-height: 1.8; color: var(--kt-text-muted); }
.kt-info-card--sage .kt-info-card__body a { font-weight: 700; color: var(--kt-green); }
.kt-info-card--sage .kt-info-card__body div { margin-top: 8px; }

/* Formidable Forms visual override, so the real plugin form matches the
   design's field styling once it's built (see inc/formidable.php). */
.kt-contact-form-card .frm_forms { font-family: var(--kt-font); }
.kt-contact-form-card .frm_form_field { margin-bottom: 20px; }
.kt-contact-form-card .frm_primary_label { font-size: 13px; font-weight: 700; color: #3A443F; margin-bottom: 8px; display: block; }
.kt-contact-form-card input[type="text"],
.kt-contact-form-card input[type="email"],
.kt-contact-form-card input[type="tel"],
.kt-contact-form-card input[type="number"],
.kt-contact-form-card select,
.kt-contact-form-card textarea {
  border: 1px solid var(--kt-border-2) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  width: 100% !important;
  font-family: var(--kt-font) !important;
  font-size: 15px !important;
  background: #fff !important;
  color: var(--kt-text) !important;
}
.kt-contact-form-card .frm_submit input[type="submit"],
.kt-contact-form-card .frm_submit button {
  background: var(--kt-green) !important;
  color: #fff !important;
  border-radius: 10px !important;
  border: none !important;
  height: 52px;
  font-weight: 700 !important;
  font-size: 15px !important;
  width: 100%;
  cursor: pointer;
}

.kt-notice { border-radius: 12px; padding: 20px 24px; font-size: 14px; line-height: 1.6; }
.kt-notice--warning { background: #FDF3EC; border: 1px solid #F0D6C4; color: #6B4A32; }

/* ---- Legal pages -------------------------------------------------------------- */
.kt-legal-notice { background: var(--kt-sage); color: var(--kt-text-muted); text-align: center; padding: 14px; font-size: 14px; font-weight: 600; }
.kt-legal-title { font-size: 40px; font-weight: 800; margin-bottom: 32px; }

/* ---- Footer ------------------------------------------------------------------ */
.kt-footer { background: var(--kt-footer-bg); color: #CFE3DA; padding: 56px var(--kt-section-x) 32px; }
.kt-footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 40px; }
.kt-footer__brand { max-width: 320px; }
.kt-footer__brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.kt-footer__brand-row img { border-radius: 50%; }
.kt-footer__brand-row span { font-weight: 800; font-size: 18px; color: #fff; }
.kt-footer__brand p { font-size: 14px; line-height: 1.6; color: var(--kt-footer-muted); margin: 0; }
.kt-footer__columns { display: flex; gap: 64px; flex-wrap: wrap; }
.kt-footer__col-title { font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.kt-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.kt-footer__col a { color: var(--kt-footer-muted); }
.kt-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.kt-footer__copyright { font-size: 13px; color: var(--kt-footer-muted-2); }
.kt-footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.kt-footer__legal-links a { color: var(--kt-footer-muted); }
.kt-footer__col li { list-style: none; }

/* ---- Video popup modal (tutor intro videos) ------------------------------ */
.kt-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.kt-video-modal.is-open { display: flex; }
.kt-video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,22,18,.82);
}
.kt-video-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: var(--kt-radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.kt-video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kt-video-modal__close:hover { background: var(--kt-coral); }
.kt-video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.kt-video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
body.kt-modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .kt-video-modal__close { top: -40px; width: 32px; height: 32px; font-size: 20px; }
}

/* ---- Blog (index + single) ------------------------------------------------ */
.kt-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kt-blog-card { background: #fff; border: 1px solid var(--kt-border); border-radius: var(--kt-radius-md); overflow: hidden; display: flex; flex-direction: column; }
.kt-blog-card__media { aspect-ratio: 16/10; background: var(--kt-sage); overflow: hidden; }
.kt-blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.kt-blog-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kt-blog-card__date { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kt-coral); }
.kt-blog-card__title { font-size: 18px; font-weight: 800; color: var(--kt-text); line-height: 1.3; }
.kt-blog-card__title a { color: inherit; }
.kt-blog-card__title a:hover { color: var(--kt-coral); }
.kt-blog-card__excerpt { font-size: 14px; line-height: 1.6; color: var(--kt-text-muted); flex: 1; }
.kt-blog-card__more { font-size: 13px; font-weight: 700; color: var(--kt-green); margin-top: auto; }

.kt-blog-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.kt-blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
  background: #fff; border: 1px solid var(--kt-border-2); color: var(--kt-text); font-size: 14px; font-weight: 600;
}
.kt-blog-pagination .page-numbers.current { background: var(--kt-green); border-color: var(--kt-green); color: #fff; }
.kt-blog-pagination .page-numbers.dots { border: none; background: transparent; }

.kt-single-post { max-width: 780px; margin: 0 auto; padding: 0 32px 96px; }
.kt-single-post__meta { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kt-coral); margin-bottom: 16px; }
.kt-single-post__title { font-size: 40px; font-weight: 800; line-height: 1.2; margin-bottom: 28px; }
.kt-single-post__media { border-radius: var(--kt-radius-md); overflow: hidden; margin-bottom: 32px; }
.kt-single-post__media img { width: 100%; display: block; }
.kt-single-post__content { font-size: 16px; line-height: 1.8; color: var(--kt-text-muted); }
.kt-single-post__content p { margin-bottom: 1.2em; }
.kt-single-post__content h2 { font-size: 24px; font-weight: 800; color: var(--kt-text); margin: 1.4em 0 .6em; }
.kt-single-post__content h3 { font-size: 19px; font-weight: 800; color: var(--kt-text); margin: 1.2em 0 .5em; }
.kt-single-post__back { display: inline-block; margin-bottom: 24px; font-size: 14px; font-weight: 700; color: var(--kt-green); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .kt-stats,
  .kt-cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .kt-tutors-grid { grid-template-columns: repeat(4, 1fr); }
  .kt-subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .kt-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --kt-section-x: var(--kt-section-x-tablet); }
  .kt-hero { margin: 0 20px; height: auto; min-height: 460px; }
  .kt-hero__title { font-size: 38px; }
  .kt-split,
  .kt-split--reverse,
  .kt-two-col,
  .kt-cards-grid--2,
  .kt-cards-grid--3,
  .kt-story-grid,
  .kt-cta-split,
  .kt-banner-split,
  .kt-contact-grid { grid-template-columns: 1fr; }
  .kt-split--reverse .kt-split__media { order: 0; }
  .kt-split__content { padding: 40px 32px; }
  .kt-founder { grid-template-columns: 1fr; text-align: center; margin: 0 20px 48px; }
  .kt-founder__photo { margin: 0 auto; }
  .kt-video-grid,
  .kt-stat-band__grid,
  .kt-steps { grid-template-columns: repeat(2, 1fr); }
  .kt-page-title h1 { font-size: 34px; }
}

@media (max-width: 640px) {
  :root { --kt-section-x: var(--kt-section-x-mobile); }
  .kt-nav { padding: 16px 20px; justify-content: space-between; }
  .kt-nav-links { order: 3; width: 100%; justify-content: center; padding-top: 8px; }
  .kt-stats,
  .kt-cards-grid--4,
  .kt-tutors-grid,
  .kt-subjects-grid,
  .kt-video-grid,
  .kt-stat-band__grid,
  .kt-steps,
  .kt-form-row,
  .kt-blog-grid { grid-template-columns: 1fr; }
  .kt-hero__title { font-size: 30px; }
  .kt-page-title h1 { font-size: 28px; }
  .kt-cta-band, .kt-cta-split, .kt-banner-split, .kt-founder { padding: 32px; }
  .kt-statement p { font-size: 26px; }
  .kt-single-post__title { font-size: 30px; }
}
