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

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

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background-color: #FAF7F2;
  color: #2C1810;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: #C4622D; text-decoration: none; }
a:hover { text-decoration: underline; }

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

section { padding: 80px 0; }

:root {
  --cream: #FAF7F2;
  --cream-2: #F0E8DC;
  --amber: #C4622D;
  --amber-light: #E8A87C;
  --brown: #8B5E3C;
  --brown-dark: #2C1810;
  --brown-mid: #6B4C3B;
  --white: #FFFFFF;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
  text-align: center;
  letter-spacing: 0.02em;
}

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

.btn-primary:hover {
  background-color: #a84e22;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary:active { transform: translateY(0); }

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

.btn-outline:hover {
  background: var(--amber);
  color: #fff;
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196, 98, 45, 0.12);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.01em;
}

.nav-logo span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

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

.nav-links a:hover {
  color: var(--amber);
  text-decoration: none;
}

.nav-cta { margin-left: 8px; }

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

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.hero {
  padding: 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.42);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,24,16,0.6) 0%, rgba(196,98,45,0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: #fff;
}

.hero-tag {
  display: inline-block;
  background: rgba(232, 168, 124, 0.25);
  border: 1px solid rgba(232, 168, 124, 0.5);
  color: var(--amber-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

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

.why-section {
  background: var(--cream-2);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

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

.section-intro {
  color: var(--brown-mid);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.why-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 24px;
  border-left: 3px solid var(--amber);
}

.why-card-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.why-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--brown-dark);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--brown-mid);
  line-height: 1.6;
}

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

.for-whom-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(44,24,16,0.15);
}

.for-whom-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.for-whom-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.for-whom-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.fw-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  margin-top: 8px;
}

.fw-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.fw-text span {
  font-size: 0.87rem;
  color: var(--brown-mid);
}

.learn-section {
  background: var(--cream-2);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.learn-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  position: relative;
}

.learn-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  color: rgba(196, 98, 45, 0.12);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.learn-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.learn-card p {
  font-size: 0.87rem;
  color: var(--brown-mid);
  line-height: 1.6;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-light), transparent);
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-circle {
  width: 72px;
  height: 72px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--brown-mid);
  line-height: 1.6;
}

.teacher-section {
  background: var(--cream-2);
}

.teacher-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}

.teacher-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(44,24,16,0.18);
  aspect-ratio: 3/4;
  background: #d4c4b0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.teacher-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 6px;
}

.teacher-role {
  font-size: 0.9rem;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.teacher-bio {
  color: var(--brown-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.teacher-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(196, 98, 45, 0.15);
}

.teacher-fact strong {
  display: block;
  font-size: 1.4rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--amber);
  font-weight: 700;
  line-height: 1;
}

.teacher-fact span {
  font-size: 0.82rem;
  color: var(--brown-mid);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(196, 98, 45, 0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dark);
  transition: color 0.2s;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  font-size: 1.1rem;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 20px;
  color: var(--brown-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

.form-section {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #4a2515 100%);
  color: #fff;
}

.form-section .section-label {
  color: var(--amber-light);
}

.form-section .section-title {
  color: #fff;
}

.form-section .section-intro {
  color: rgba(255,255,255,0.7);
}

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

.form-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.form-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.form-points li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--amber-light);
  font-weight: 700;
  margin-top: 1px;
}

.lead-form {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
}

.lead-form h3 {
  color: var(--brown-dark);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 0.87rem;
  color: var(--brown-mid);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2d5c8;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--brown-dark);
  background: #FDFAF7;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--amber);
}

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

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

.form-agree {
  font-size: 0.78rem;
  color: #a89080;
  margin-top: 14px;
  line-height: 1.5;
}

.form-agree a {
  color: var(--brown-mid);
}

.form-error {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.55);
  padding: 48px 0 32px;
  font-size: 0.85rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 36px;
}

.footer-brand .nav-logo {
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  max-width: 260px;
}

.footer-links h5 {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--amber-light);
  text-decoration: none;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

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

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

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

.success-card {
  text-align: center;
  max-width: 520px;
  padding: 56px 40px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(44,24,16,0.1);
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.success-card h1 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--brown-dark);
}

.success-card p {
  color: var(--brown-mid);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--brown-mid);
  margin-bottom: 48px;
}

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

.legal-content p, .legal-content li {
  color: var(--brown-mid);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.legal-content ul li { margin-bottom: 6px; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brown-dark);
  color: rgba(255,255,255,0.85);
  z-index: 999;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.85rem;
  flex: 1;
  min-width: 200px;
}

.cookie-text a {
  color: var(--amber-light);
  text-decoration: underline;
}

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

.cookie-accept {
  padding: 10px 22px;
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-accept:hover { background: #a84e22; }

.cookie-decline {
  padding: 10px 18px;
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-size: 0.87rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-decline:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 900px) {
  .for-whom-grid { grid-template-columns: 1fr; }
  .for-whom-image { display: none; }
  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-photo { aspect-ratio: unset; height: 280px; max-width: 300px; }
  .form-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .process-steps::before { display: none; }
}

@media (max-width: 700px) {
  section { padding: 56px 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--cream); padding: 24px; border-bottom: 1px solid rgba(196,98,45,0.1); gap: 20px; }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .hero { min-height: 80vh; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .lead-form { padding: 28px 20px; }
}

@media (max-width: 400px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; text-align: center; }
}
