:root {
  --ink: #19231f;
  --muted: #5d6a63;
  --leaf: #386857;
  --leaf-dark: #254b3f;
  --red: #7d3728;
  --moss: #dbe8df;
  --clay: #b66a52;
  --paper: #fbfaf6;
  --line: #d8ddd6;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(31, 51, 44, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.site-header {
  align-items: center;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand, .nav-links { align-items: center; display: flex; gap: 12px; }
.brand { font-weight: 700; text-decoration: none; }
.brand-mark, .hero-panel {
  align-items: center;
  background: var(--leaf);
  color: var(--white);
  display: inline-flex;
  font-family: Lora, serif;
  justify-content: center;
}
.brand-logo {
  border-radius: 50%;
  height: 46px;
  object-fit: cover;
  width: 46px;
}
.brand-mark { border-radius: 50%; height: 42px; width: 42px; }
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}
.language-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
}
.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  min-height: 78vh;
  padding: clamp(56px, 9vw, 110px) clamp(18px, 6vw, 86px);
}
.hero-copy { max-width: 760px; }
.eyebrow {
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Lora, Georgia, serif; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5.8vw, 4.8rem); margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 18px; }
h3 { font-size: 1.2rem; line-height: 1.25; }
h4 { font-size: 0.92rem; margin: 0 0 6px; }
.hero-copy p:not(.eyebrow), .intro > p {
  color: var(--muted);
  max-width: 680px;
}
.hero-copy p:not(.eyebrow) {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.intro > p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}
.contact-section p {
  color: var(--muted);
  font-size: 0.8rem;
  max-width: 680px;
}
.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}
.button.primary { background: var(--leaf); color: var(--white); }
.button.secondary { background: var(--ink); color: var(--white); }
.button:disabled { background: #9aa59f; cursor: not-allowed; }
.hero-panel {
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: clamp(4rem, 12vw, 9rem);
  overflow: hidden;
  padding: clamp(18px, 4vw, 44px);
}
.hero-panel img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.section { padding: clamp(52px, 7vw, 86px) clamp(18px, 6vw, 86px); }
.intro, .booking-section, .contact-section {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}
.contact-simple {
  display: block;
}
.section-heading { margin-bottom: 26px; }
.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
  padding: clamp(24px, 4vw, 42px);
}
.course-day { color: var(--leaf); font-weight: 800; margin-bottom: 8px; }
.course-details { display: grid; gap: 14px; margin: 0; }
.course-details div { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.course-details p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 4px 0 0;
}
.course-details a { color: var(--leaf-dark); }
.course-info {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}
.course-info p, .course-note {
  color: var(--muted);
  margin-bottom: 0;
}
.course-note {
  background: var(--moss);
  border-radius: 8px;
  font-weight: 700;
  margin-top: 18px;
  padding: 12px 14px;
}
dt { color: var(--muted); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; }
dd { margin: 0; font-weight: 700; }
.review-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-card, .form-card, .payment-box, .simplybook-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.review-card span { color: var(--leaf); font-weight: 800; }
.booking-section {
  background: var(--moss);
  align-items: start;
}
.status { border-radius: 8px; display: inline-flex; font-weight: 800; padding: 8px 12px; }
.status.open { background: var(--white); color: var(--red); }
.status.full { background: #f2d8d2; color: #7d3728; }
.payment-box { margin-top: 22px; }
.payment-box ul { margin-bottom: 0; padding-left: 20px; }
.simplybook-card {
  display: block;
  overflow: hidden;
  overflow-y: auto;
  padding: 8px;
}
.simplybook-card iframe {
  border: 0;
  border-radius: 6px;
  display: block;
  height: min(1400px, 95vh);
  min-height: 1400px;
  width: 100%;
}
.form-card { display: grid; gap: 16px; }
label {
  color: var(--muted);
  display: grid;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 8px;
}
input, textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-width: 0;
  padding: 12px 14px;
  width: 100%;
}
textarea { resize: vertical; }
.errorlist { color: #8b2f20; margin: 0; padding-left: 18px; }
.messages { padding: 0 clamp(18px, 6vw, 86px); }
.message {
  border-radius: 8px;
  font-weight: 700;
  margin: 0 auto 12px;
  max-width: 1100px;
  padding: 14px 18px;
}
.message.success { background: #d9ecdf; color: #24513d; }
.message.error { background: #f2d8d2; color: #7d3728; }
.email-link { color: var(--leaf-dark); font-weight: 800; }
.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 56px);
}
.empty-state { color: var(--muted); }

@media (max-width: 820px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .nav-links { flex-wrap: wrap; }
  .hero, .intro, .course-card, .booking-section, .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-panel { max-width: 320px; width: 100%; }
  .review-grid { grid-template-columns: 1fr; }
}
