:root {
  --clr-bg: #faf8f4;
  --clr-surface: #ffffff;
  --clr-surface2: #f3f0eb;
  --clr-text: #1e1a16;
  --clr-text-muted: #6b6057;
  --clr-accent: #c4722a;
  --clr-accent-dark: #a05a1f;
  --clr-accent-light: #f5e6d6;
  --clr-green: #3d6b47;
  --clr-green-light: #e4ede6;
  --clr-border: #e2ddd7;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 2px 16px rgba(30,26,22,0.08);
  --shadow-lg: 0 8px 40px rgba(30,26,22,0.12);
  --max-width: 1100px;
  --section-padding: 80px 0;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--clr-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin-bottom: 0; }

.text-muted { color: var(--clr-text-muted); }
.text-accent { color: var(--clr-accent); }
.text-center { text-align: center; }

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

section { padding: var(--section-padding); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 12px;
}

.section-heading { margin-bottom: 16px; }

.section-sub {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 600px;
}

.section-sub.centered { margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

.logo span { color: var(--clr-accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--clr-text); }

.nav-cta {
  background: var(--clr-accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--clr-accent-dark) !important; color: #fff !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  display: none;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  padding: 16px 24px 20px;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--clr-border);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav.open { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--clr-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196,114,42,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--clr-accent);
  border: 2px solid var(--clr-accent);
}

.btn-outline:hover { background: var(--clr-accent); color: #fff; }

.btn-lg { padding: 16px 36px; font-size: 1rem; }

.hero {
  padding: 0;
  background: var(--clr-text);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,26,22,0.85) 0%, rgba(30,26,22,0.5) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(196,114,42,0.2);
  border: 1px solid rgba(196,114,42,0.4);
  color: #e8a870;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 { color: #fff; margin-bottom: 20px; font-size: clamp(2rem, 4.5vw, 3rem); }

.hero h1 em { font-style: normal; color: #e8a870; }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 14px; }

.hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 16px;
}

.hero-stat { background: rgba(255,255,255,0.06); padding: 16px 12px; text-align: center; }

.hero-stat strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: #fff; }

.hero-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.6); line-height: 1.4; }

.for-whom { background: var(--clr-surface); }

.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.for-whom-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

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

.audience-list { display: flex; flex-direction: column; gap: 16px; }

.audience-item { display: flex; gap: 14px; align-items: flex-start; }

.audience-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--clr-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 2px;
}

.audience-item h4 { margin-bottom: 4px; font-size: 0.95rem; }

.audience-item p { font-size: 0.875rem; color: var(--clr-text-muted); line-height: 1.55; }

.results { background: var(--clr-bg); }

.results-header { margin-bottom: 48px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.gallery-item:first-child { grid-row: span 2; aspect-ratio: auto; }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }

.gallery-item:hover img { transform: scale(1.04); }

.results-cta { text-align: center; }

.results-cta p { font-size: 1rem; color: var(--clr-text-muted); margin-bottom: 20px; }

.curriculum { background: var(--clr-surface); }

.curriculum-header {
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.module-item {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--clr-border);
  transition: background 0.2s;
}

.module-item:last-child { border-bottom: none; }

.module-item:hover { background: var(--clr-surface2); }

.module-num {
  flex-shrink: 0;
  width: 60px;
  background: var(--clr-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-accent);
}

.module-body { padding: 20px 24px; }

.module-body h4 { margin-bottom: 6px; }

.module-body p { font-size: 0.875rem; color: var(--clr-text-muted); }

.module-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.tag {
  display: inline-block;
  background: var(--clr-surface2);
  color: var(--clr-text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--clr-border);
}

.format { background: var(--clr-bg); }

.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.format-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

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

.format-features { display: flex; flex-direction: column; gap: 20px; }

.format-feature { display: flex; gap: 16px; align-items: flex-start; }

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--clr-green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.format-feature h4 { margin-bottom: 4px; }

.format-feature p { font-size: 0.875rem; color: var(--clr-text-muted); }

.teacher { background: var(--clr-surface); }

.teacher-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.teacher-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}

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

.teacher-name { font-size: 1.6rem; margin-bottom: 6px; }

.teacher-title { color: var(--clr-accent); font-size: 0.9rem; font-weight: 500; margin-bottom: 20px; }

.teacher-bio { color: var(--clr-text-muted); line-height: 1.75; margin-bottom: 28px; font-size: 0.975rem; }

.teacher-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.teacher-fact { background: var(--clr-surface2); border-radius: var(--radius-sm); padding: 14px 16px; }

.teacher-fact strong { display: block; font-family: var(--font-heading); font-size: 1.4rem; color: var(--clr-accent); margin-bottom: 2px; }

.teacher-fact span { font-size: 0.8rem; color: var(--clr-text-muted); }

.lead-form-section {
  background: linear-gradient(135deg, #1e1a16 0%, #2d261d 100%);
  color: #fff;
  padding: 80px 0;
}

.lead-form-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lead-form-copy h2 { color: #fff; margin-bottom: 16px; }

.lead-form-copy p { color: rgba(255,255,255,0.7); margin-bottom: 28px; line-height: 1.7; }

.lead-perks { display: flex; flex-direction: column; gap: 10px; }

.lead-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.lead-perk::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 20px;
  text-align: center;
}

.form-card {
  background: var(--clr-surface);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-card h3 { margin-bottom: 6px; font-size: 1.25rem; }

.form-card .form-sub { font-size: 0.875rem; color: var(--clr-text-muted); margin-bottom: 24px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--clr-text); }

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--clr-bg);
  color: var(--clr-text);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-accent);
}

.form-group input::placeholder { color: #b0a89e; }

.form-submit { width: 100%; margin-top: 8px; }

.form-legal {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-top: 12px;
  line-height: 1.5;
  text-align: center;
}

.form-legal a { color: var(--clr-accent); text-decoration: underline; }

.faq { background: var(--clr-bg); }

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

.faq-col { display: flex; flex-direction: column; gap: 0; }

.faq-item { border-bottom: 1px solid var(--clr-border); padding: 0; }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text);
  transition: color 0.2s;
}

.faq-question:hover { color: var(--clr-accent); }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s, border-color 0.2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--clr-accent); color: var(--clr-accent); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }

.faq-answer p { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.7; padding-bottom: 18px; }

.faq-item.open .faq-answer { max-height: 300px; }

.site-footer {
  background: #1a1713;
  color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { color: #fff; font-size: 1.3rem; margin-bottom: 12px; display: block; }

.footer-brand p { font-size: 0.85rem; line-height: 1.65; max-width: 280px; }

.footer-col h5 {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }

.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-text { font-size: 0.78rem; line-height: 1.7; max-width: 560px; }

.footer-copy { font-size: 0.78rem; white-space: nowrap; }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 700px;
  background: var(--clr-text);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: opacity 0.3s, transform 0.3s;
}

.cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }

.cookie-text { flex: 1; font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.55; }

.cookie-text a { color: #e8a870; text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-accept {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-accept:hover { background: var(--clr-accent-dark); }

.cookie-dismiss {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: none;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-dismiss:hover { background: rgba(255,255,255,0.18); }

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg);
  padding: 40px 24px;
}

.success-card {
  background: var(--clr-surface);
  border-radius: var(--radius);
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--clr-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
}

.success-card h1 { font-size: 1.8rem; margin-bottom: 16px; }

.success-card p { color: var(--clr-text-muted); line-height: 1.7; margin-bottom: 32px; }

.legal-page { padding: 64px 0 80px; }

.legal-page h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }

.legal-date { font-size: 0.85rem; color: var(--clr-text-muted); margin-bottom: 40px; }

.legal-content { max-width: 720px; }

.legal-content h2 { font-size: 1.2rem; margin-top: 36px; margin-bottom: 12px; }

.legal-content h2:first-child { margin-top: 0; }

.legal-content p { font-size: 0.95rem; color: var(--clr-text-muted); line-height: 1.75; margin-bottom: 12px; }

.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }

.legal-content ul li { font-size: 0.95rem; color: var(--clr-text-muted); line-height: 1.75; margin-bottom: 6px; }

.legal-content a { color: var(--clr-accent); text-decoration: underline; }

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 900px) {
  :root { --section-padding: 56px 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 48px; }
  .hero-visual { order: -1; }
  .for-whom-grid, .format-grid, .lead-form-inner { grid-template-columns: 1fr; gap: 32px; }
  .teacher-inner { grid-template-columns: 1fr; gap: 32px; }
  .teacher-photo { max-width: 320px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-row: span 1; aspect-ratio: 1; }
  .curriculum-header { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; bottom: 16px; width: calc(100% - 32px); }
  .cookie-actions { width: 100%; }
  .cookie-accept, .cookie-dismiss { flex: 1; text-align: center; }
  .teacher-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  .form-card { padding: 24px 20px; }
  .success-card { padding: 36px 24px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .teacher-facts { grid-template-columns: 1fr; }
}
