:root {
  --color-bg: #faf9f6;
  --color-surface: #ffffff;
  --color-text: #22322b;
  --color-text-muted: #5a6b62;
  --color-primary: #1f6f54;
  --color-primary-dark: #164f3c;
  --color-accent: #d98d3a;
  --color-border: #e3e0d8;
  --shadow-card: 0 4px 16px rgba(34, 50, 43, 0.08);
  --radius: 12px;
  --max-width: 1100px;
  --font-heading: "Georgia", "Iowan Old Style", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

img[hidden] {
  display: none;
}

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

section {
  padding: 80px 0;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h2 {
  font-size: 2rem;
  margin: 0 0 8px;
  text-align: center;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 141, 58, 0.35);
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-nav .brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.site-nav .brand .brand-sep {
  margin: 0 0.6em;
  font-weight: 400;
  opacity: 0.6;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--color-primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1f6f54 0%, #164f3c 60%, #0f3a2b 100%);
  background-image: linear-gradient(
      135deg,
      rgba(31, 111, 84, 0.75) 0%,
      rgba(15, 58, 43, 0.85) 100%
    ), url("../media/hero/hero.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin: 0 0 16px;
}

.hero .pitch {
  font-size: 1.2rem;
  margin: 0 0 32px;
  color: #eef4f0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.portrait-wrap {
  position: relative;
  width: 240px;
  height: 240px;
}

.portrait-wrap img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--color-surface);
  box-shadow: var(--shadow-card);
}

.portrait-fallback {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.portrait-fallback[hidden] {
  display: none;
}

.credentials {
  margin-top: 24px;
  padding-left: 20px;
}

.credentials li {
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

/* Subjects */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.card h3 {
  margin-top: 0;
}

.card .who {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(31, 111, 84, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.pricing-table th {
  background: var(--color-primary-dark);
  color: #fff;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.placeholder-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
  font-style: italic;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.testimonial .quote-mark {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.testimonial p.quote {
  font-style: italic;
  margin: 0 0 12px;
}

.testimonial .author {
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.9rem;
}

/* Intro video */
.video-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-wrap video {
  width: 100%;
  display: block;
}

/* Booking */
.booking-section {
  background: var(--color-surface);
}

#booking-not-configured {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
  background: #fff8ec;
  border: 1px solid #f0d9a8;
  border-radius: var(--radius);
  text-align: center;
  color: #6b4f19;
}

#booking-not-configured h3 {
  margin-top: 0;
  color: #6b4f19;
}

#booking-widget {
  min-height: 600px;
}

/* Footer */
footer {
  background: var(--color-primary-dark);
  color: #dfeee6;
  padding: 40px 0;
  text-align: center;
}

footer a {
  color: #fff;
}

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

footer .copyright {
  font-size: 0.85rem;
  color: #9fc2b1;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .card-grid,
  .steps,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-nav ul {
    display: none;
  }
}

@media (max-width: 480px) {
  section {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    min-height: 60vh;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}
