@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --cream:     #f7f2ea;
  --cream-dark:#ede5d6;
  --terracotta:#c4674a;
  --terracotta-dark: #a8503a;
  --sage:      #7a9e7e;
  --sage-dark: #5e826c;
  --brown:     #4a3728;
  --brown-light: #7a5c46;
  --text:      #2e2016;
  --text-muted:#7a6a5a;
  --white:     #ffffff;
  --border:    #ddd4c4;
  --shadow:    rgba(74, 55, 40, 0.12);
  --radius:    12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--terracotta-dark); }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--brown);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(196, 103, 74, 0.35);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 103, 74, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}
.btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 234, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--terracotta); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--terracotta); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all var(--transition);
}

.hero {
  padding: 80px 0 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { padding-bottom: 80px; }
.hero-tag {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  margin-bottom: 24px;
  color: var(--brown);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-image {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px var(--shadow);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 560px; margin: 0 auto; }

.for-whom { background: var(--white); }
.whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.whom-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
}
.whom-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.whom-card h3 { margin-bottom: 10px; }

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.learn-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.learn-item:hover { box-shadow: 0 8px 24px var(--shadow); }
.learn-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
}
.learn-item h3 { margin-bottom: 6px; }

.format { background: var(--brown); color: var(--white); }
.format h2 { color: var(--cream); }
.format p { color: rgba(247, 242, 234, 0.7); }
.format .section-label { color: var(--cream-dark); opacity: 0.7; }
.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.format-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.format-card h3 { color: var(--cream); margin-bottom: 10px; }
.format-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.program { background: var(--cream-dark); }
.program-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.program-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 28px 28px 24px;
  border-left: 4px solid var(--terracotta);
  transition: box-shadow var(--transition);
}
.program-item:hover { box-shadow: 0 8px 24px var(--shadow); }
.program-week {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.program-item h3 { margin-bottom: 10px; }

.teacher { background: var(--white); }
.teacher-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}
.teacher-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 50px var(--shadow);
}
.teacher-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-content .section-label { display: block; margin-bottom: 8px; }
.teacher-content h2 { margin-bottom: 6px; }
.teacher-role {
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 24px;
  font-size: 1rem;
}
.teacher-text { margin-bottom: 32px; }
.teacher-stats {
  display: flex;
  gap: 40px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.results { background: var(--cream); }
.results-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.results-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px var(--shadow);
}
.results-list { list-style: none; }
.results-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.results-list li:last-child { border-bottom: none; }
.result-check {
  width: 28px;
  height: 28px;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.results-list h3 { margin-bottom: 4px; font-size: 1.05rem; }

.faq { background: var(--cream-dark); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--cream); }
.faq-question h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--brown);
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  font-size: 1.2rem;
  color: var(--terracotta);
  font-weight: 300;
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--terracotta);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 28px 24px;
}
.faq-answer p { font-size: 0.95rem; }

.lead-form-section { background: var(--terracotta); }
.lead-form-section h2 { color: var(--white); }
.lead-form-section p { color: rgba(255,255,255,0.85); }
.lead-form-section .section-label { color: rgba(255,255,255,0.7); }
.form-wrapper {
  max-width: 560px;
  margin: 0 auto;
}
.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 24px 60px rgba(74, 55, 40, 0.2);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 8px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 103, 74, 0.15);
  background: var(--white);
}
.form-submit {
  width: 100%;
  margin-top: 8px;
}
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}
.form-note a { color: var(--terracotta); }

.site-footer {
  background: var(--brown);
  color: rgba(247, 242, 234, 0.75);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand .nav-logo {
  color: var(--cream);
  font-size: 1.3rem;
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 0.88rem; margin-bottom: 16px; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(247, 242, 234, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  font-size: 0.8rem;
  color: rgba(247, 242, 234, 0.45);
  line-height: 1.8;
}
.footer-legal p { color: rgba(247, 242, 234, 0.45); }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(247, 242, 234, 0.35);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brown);
  color: var(--cream);
  padding: 20px 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  color: rgba(247, 242, 234, 0.85);
  font-size: 0.9rem;
  flex: 1;
  min-width: 240px;
}
.cookie-banner a { color: var(--cream-dark); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-accept {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-accept:hover { background: var(--terracotta-dark); }
.cookie-decline {
  background: transparent;
  color: var(--cream-dark);
  border: 1px solid rgba(247, 242, 234, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-decline:hover { border-color: var(--cream); color: var(--cream); }

.legal-page { padding: 120px 0 80px; }
.legal-page h1 { margin-bottom: 10px; }
.legal-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin: 36px 0 12px;
}
.legal-content p, .legal-content li {
  margin-bottom: 12px;
  color: var(--text-muted);
}
.legal-content ul { padding-left: 24px; }
.legal-content strong { color: var(--text); }

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.success-inner { max-width: 500px; }
.success-icon {
  width: 80px;
  height: 80px;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
}
.success-inner h1 { margin-bottom: 16px; }
.success-inner p { margin-bottom: 32px; }

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

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { padding-bottom: 0; order: 1; }
  .hero-image { order: 2; max-height: 340px; border-radius: var(--radius); }
  .teacher-inner { grid-template-columns: 1fr; gap: 40px; }
  .teacher-image { max-height: 360px; aspect-ratio: unset; order: -1; }
  .results-inner { grid-template-columns: 1fr; gap: 40px; }
  .program-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .teacher-stats { gap: 28px; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    box-shadow: 0 8px 24px var(--shadow);
  }
  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .lead-form { padding: 32px 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .teacher-stats { flex-direction: column; gap: 16px; }
}
