@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --green: #4a5e35;
  --green-light: #6b7c50;
  --green-dark: #354428;
  --cream: #f8f6f1;
  --cream-dark: #ede9e0;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --border: #d8d2c4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* ── TOP BANNER ── */
.wix-banner {
  background: var(--white);
  border-bottom: 2px solid #4a90d9;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  color: #444;
}

/* ── HEADER / NAV ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wrap svg { width: 48px; height: 48px; }

.logo-text { line-height: 1.2; }
.logo-text .brand { font-family: 'EB Garamond', serif; font-size: 18px; color: var(--green-dark); font-weight: 600; }
.logo-text .tagline { font-size: 11px; color: var(--text-light); font-style: italic; }

nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }

nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.2s;
}

nav a:hover { border-color: var(--border); background: var(--cream); }
nav a.active { border-color: var(--green); color: var(--green); }

.ticker {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 6px;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: center;
}

.hero-text {
  padding: 60px 60px 60px 80px;
  background: var(--white);
}

.hero-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'EB Garamond', serif;
  font-size: 58px;
  line-height: 1.1;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.hero-body { color: var(--text-light); max-width: 380px; margin-bottom: 32px; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid var(--green-dark);
  color: var(--green-dark);
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  font-family: 'Lato', sans-serif;
}

.btn:hover { background: var(--green-dark); color: var(--white); }
.btn-filled { background: var(--green-dark); color: var(--white); }
.btn-filled:hover { background: var(--green); border-color: var(--green); color: var(--white); }

.hero-image {
  height: 520px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c8d8b0 0%, #a5b88a 50%, #7a9460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SECTION COMMONS ── */
section { padding: 72px 24px; }

.section-inner { max-width: 1000px; margin: 0 auto; }

.section-title {
  font-family: 'EB Garamond', serif;
  font-size: 42px;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 8px;
}

.section-rule {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin: 0 auto 32px;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ── ABOUT SECTION ── */
.about-section { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  height: 400px;
}

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

.about-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #d4e0c4 0%, #b5c99a 100%);
}

.about-content h2 {
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.about-content h3 {
  font-size: 14px;
  color: var(--green);
  margin-bottom: 16px;
  font-style: italic;
  font-weight: 400;
}

.about-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 24px; }

/* ── SERVICES ── */
.services-section { background: var(--white); }

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

.service-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.service-card:hover { box-shadow: 0 4px 20px rgba(74,94,53,0.12); }

.service-img {
  height: 180px;
  background: var(--cream-dark);
  overflow: hidden;
}

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

.service-img-math { background: linear-gradient(135deg, #e8f0d8 0%, #c8dba8 100%); }
.service-img-reading { background: linear-gradient(135deg, #f0e8d8 0%, #dbc8a8 100%); }
.service-img-general { background: linear-gradient(135deg, #d8e8f0 0%, #a8c8db 100%); }

.service-body { padding: 20px; }

.service-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}

.service-body p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.service-price { font-size: 15px; color: var(--green); font-style: italic; }

/* ── FEEDBACK ── */
.feedback-section { background: var(--cream); }

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.feedback-form h2 {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.feedback-form p { color: var(--text-light); font-size: 14px; margin-bottom: 24px; }

.stars { display: flex; gap: 6px; margin-bottom: 20px; }
.star { font-size: 22px; cursor: pointer; color: #ccc; transition: color 0.15s; }
.star.filled, .star:hover { color: #e6b800; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--green);
  border-radius: 2px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  outline: none;
  color: var(--text);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(74,94,53,0.08);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.feedback-info { padding-top: 20px; }
.feedback-info h3 { font-family: 'EB Garamond', serif; font-size: 22px; color: var(--green-dark); margin-bottom: 16px; }
.feedback-info p { color: var(--text-light); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }

/* ── GOALS PAGE ── */
.goals-hero {
  text-align: center;
  padding: 72px 24px 40px;
  background: var(--white);
}

.goals-hero .eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 4px;
}

.goals-hero h1 {
  font-family: 'EB Garamond', serif;
  font-size: 72px;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 24px;
}

.goals-hero p { max-width: 680px; margin: 0 auto; color: var(--text-light); line-height: 1.8; }

.mission-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 480px;
}

.mission-img {
  height: 480px;
  overflow: hidden;
}

.mission-img img { width: 100%; height: 100%; object-fit: cover; }
.mission-img-placeholder { width: 100%; height: 100%; background: linear-gradient(160deg, #d4e0c4 0%, #9ab87a 100%); }

.mission-text {
  padding: 60px;
  text-align: center;
}

.mission-text h2 {
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.mission-text .sub { font-style: italic; color: var(--text-light); margin-bottom: 24px; font-size: 14px; }
.mission-text p { color: var(--text-light); line-height: 1.9; }

.goals-list-section { background: var(--cream); padding: 72px 24px; }

.goals-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.goals-ul { list-style: none; }

.goals-ul li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 15px;
}

.goals-ul li strong { color: var(--green-dark); display: block; margin-bottom: 4px; }
.goals-ul li:last-child { border-bottom: none; }

.goals-img {
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
}

.goals-img img { width: 100%; height: 100%; object-fit: cover; }
.goals-img-placeholder { width: 100%; height: 100%; background: linear-gradient(160deg, #e8ead8 0%, #c8ccb0 100%); }

/* ── LEARN MORE ── */
.learn-about { background: var(--white); padding: 72px 24px; }

.learn-hero-img {
  max-width: 1000px;
  margin: 0 auto 48px;
  height: 360px;
  border-radius: 4px;
  overflow: hidden;
}

.learn-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.learn-hero-img-placeholder { width: 100%; height: 100%; background: linear-gradient(160deg, #c8d4b0 0%, #8fa870 100%); }

.signup-section { background: var(--cream); padding: 72px 24px; }

.signup-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.signup-inner p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.signup-inner ul { text-align: left; display: inline-block; margin: 16px 0 32px; color: var(--text-light); }
.signup-inner ul li { padding: 6px 0; }

.why-us { background: var(--white); padding: 56px 24px; }
.why-us .section-inner { max-width: 800px; }
.why-us p { color: var(--text-light); font-style: italic; margin-bottom: 16px; }
.why-us ul { list-style: none; }
.why-us ul li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  position: relative;
  line-height: 1.7;
}
.why-us ul li::before {
  content: '✓';
  color: var(--green);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.why-us ul li:last-child { border-bottom: none; }

/* ── TEAM ── */
.team-section { background: var(--cream); padding: 72px 24px; }

.team-card-single {
  max-width: 360px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(74,94,53,0.08);
}

.team-photo {
  height: 280px;
  overflow: hidden;
  background: linear-gradient(160deg, #d4e0c4 0%, #9ab87a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-photo-placeholder {
  font-family: 'EB Garamond', serif;
  font-size: 80px;
  color: var(--white);
  opacity: 0.7;
}

.team-info { padding: 24px; }
.team-info h3 { font-family: 'EB Garamond', serif; font-size: 26px; color: var(--green-dark); margin-bottom: 4px; }
.team-info .role { font-size: 13px; color: var(--green); margin-bottom: 8px; }
.team-info .subjects { font-size: 14px; color: var(--text-light); }

/* ── JOKE ── */
.joke-section { background: var(--white); padding: 72px 24px; }

.joke-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.joke-question { font-family: 'EB Garamond', serif; font-size: 22px; color: var(--text); margin-bottom: 20px; font-style: italic; }
.joke-dots { color: var(--text-light); margin-bottom: 20px; letter-spacing: 4px; font-size: 18px; }

.joke-answer {
  background: var(--cream);
  border-radius: 4px;
  padding: 20px;
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  color: var(--green-dark);
  display: none;
  margin-top: 16px;
}

/* ── SCHEDULE PAGE ── */
.schedule-page { background: var(--white); padding: 60px 24px; }

.calendar-wrap {
  max-width: 860px;
  margin: 0 auto 60px;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.cal-header h3 {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  color: var(--green-dark);
  min-width: 180px;
  text-align: center;
}

.cal-nav-btn {
  background: none;
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cal-nav-btn:hover { background: var(--cream); color: var(--green); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.cal-day-header {
  text-align: center;
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.cal-cell {
  border: 1px solid var(--border);
  min-height: 100px;
  padding: 8px;
}

.cal-date { font-size: 14px; color: var(--text-light); margin-bottom: 6px; }
.cal-no-class { font-size: 12px; color: var(--text-light); font-style: italic; }

.notice-box {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
  background: var(--cream);
  border-radius: 4px;
  padding: 16px;
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
}

.options-section { background: var(--cream); padding: 72px 24px; }

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.option-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.option-card:hover { box-shadow: 0 4px 20px rgba(74,94,53,0.12); }

.option-img {
  height: 160px;
  overflow: hidden;
}

.option-img img { width: 100%; height: 100%; object-fit: cover; }
.option-img-1 { background: linear-gradient(135deg, #d4dfc4 0%, #a0b880 100%); }
.option-img-2 { background: linear-gradient(135deg, #d4cfc4 0%, #b0a880 100%); }
.option-img-3 { background: linear-gradient(135deg, #c4d4df 0%, #80a0b8 100%); }

.option-body { padding: 20px; text-align: center; }
.option-body h3 { font-family: 'EB Garamond', serif; font-size: 20px; color: var(--green-dark); margin-bottom: 6px; }
.option-body .price { font-size: 15px; color: var(--text-light); margin-bottom: 12px; font-style: italic; }
.option-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

.inperson-cta {
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
}

.inperson-cta h3 {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  color: var(--green-dark);
  margin-bottom: 8px;
  text-decoration: underline;
}

.inperson-cta p { color: var(--text-light); font-size: 14px; margin-bottom: 16px; }

/* ── CART PAGE ── */
.cart-section { background: var(--white); padding: 72px 24px; min-height: 400px; }

.cart-inner { max-width: 860px; margin: 0 auto; }

.cart-title { font-family: 'EB Garamond', serif; font-size: 32px; color: var(--green-dark); margin-bottom: 32px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }

.cart-empty {
  text-align: center;
  padding: 80px 0;
}

.cart-empty p { font-family: 'EB Garamond', serif; font-size: 22px; color: var(--text-light); margin-bottom: 24px; }

/* ── FOOTER ── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand .brand-name { font-family: 'EB Garamond', serif; font-size: 22px; color: var(--green-dark); }
.footer-brand .brand-tag { font-size: 13px; color: var(--text-light); font-style: italic; line-height: 1.5; }

.footer-links h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 16px; font-weight: 700; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { text-decoration: none; color: var(--text-light); font-size: 14px; transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--green); }

.footer-contact h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 16px; font-weight: 700; }
.footer-contact p { font-size: 14px; color: var(--text-light); margin-bottom: 10px; }
.footer-contact a { color: var(--green); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-tutor h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 16px; font-weight: 700; }
.footer-tutor p { font-size: 14px; color: var(--text-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: var(--text-light); }
.footer-bottom a { color: var(--green); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

.back-to-top {
  font-size: 13px;
  color: var(--green);
  text-decoration: underline;
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'Lato', sans-serif;
}

/* ── TREE SVG ── */
.tree-svg { fill: var(--green-dark); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { height: 280px; }
  .hero-text { padding: 40px 24px; }
  .hero-title { font-size: 40px; }

  .about-grid,
  .mission-section,
  .feedback-grid,
  .goals-columns { grid-template-columns: 1fr; }

  .mission-section { grid-template-columns: 1fr; }
  .mission-img { height: 260px; }

  .services-grid,
  .options-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .header-inner { flex-direction: column; align-items: flex-start; }
  nav { width: 100%; }
}
