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

:root {
  --bg:          #FBF7F2;
  --bg-alt:      #F2EAE0;
  --bg-dark:     #2A1F17;
  --primary:     #C85A3A;
  --primary-dark:#A34430;
  --secondary:   #6B9E78;
  --accent:      #E6B87A;
  --text:        #2A1F17;
  --text-muted:  #7A6355;
  --border:      #DDD2C6;
  --white:       #FFFFFF;
  --radius:      10px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(42,31,23,.08);
  --shadow-md:   0 8px 40px rgba(42,31,23,.12);
  --transition:  .25s ease;
  --max-w:       1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
p  { color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding-block: 80px; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }
.section-dark p { opacity: .8; }
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-label--light { color: var(--accent); }
.section-title { margin-bottom: 16px; }
.section-sub {
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.logo span { color: var(--primary); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: .88rem !important;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
@media (max-width: 768px) {
  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 0 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .nav-cta {
    margin: 8px 20px 0;
    text-align: center;
    border-radius: var(--radius);
  }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
}

.hero {
  padding-block: 72px 60px;
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.hero-form h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}
.hero-form .form-note {
  font-size: .85rem;
  margin-bottom: 22px;
  color: var(--text-muted);
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 16px;
  box-shadow: var(--shadow);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}
.hero-badge span {
  display: block;
  font-size: 1.2rem;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-img-wrap { order: -1; }
  .hero-desc { max-width: 100%; }
}

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,90,58,.12);
}
.form-control::placeholder { color: #B0A098; }
.form-control.error { border-color: #e05252; }
.form-error-msg {
  font-size: .78rem;
  color: #d04040;
  margin-top: 4px;
  display: none;
}
.form-error-msg.visible { display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  font-size: 1rem;
  width: 100%;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,90,58,.3);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 30px;
  font-size: .95rem;
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}
.form-consent {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}
.form-consent a {
  color: var(--primary);
  text-decoration: underline;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.audience-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.audience-card h3 { font-size: 1rem; margin-bottom: 8px; }
.audience-card p { font-size: .88rem; }

.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.learn-list { margin-top: 32px; }
.learn-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.learn-item:last-child { border-bottom: none; }
.learn-item__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.learn-item__text h4 { font-size: .97rem; margin-bottom: 4px; font-family: 'Nunito', sans-serif; font-weight: 700; }
.learn-item__text p { font-size: .86rem; }
.learn-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.learn-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .learn-grid { grid-template-columns: 1fr; }
  .learn-img-wrap { aspect-ratio: 16/9; }
}

.format-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.format-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  transition: background var(--transition);
}
.format-card:hover { background: rgba(255,255,255,.10); }
.format-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.format-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--white); }
.format-card p { font-size: .88rem; color: rgba(255,255,255,.7); }

.program-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.program-step {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  background: var(--white);
  position: relative;
  transition: background var(--transition);
}
.program-step:hover { background: var(--bg-alt); }
.program-step:last-child { border-right: none; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.program-step h3 { font-size: .97rem; margin-bottom: 8px; }
.program-step p { font-size: .84rem; }
@media (max-width: 768px) {
  .program-steps { grid-template-columns: 1fr 1fr; }
  .program-step { border-bottom: 1px solid var(--border); }
  .program-step:nth-child(even) { border-right: none; }
}
@media (max-width: 480px) {
  .program-steps { grid-template-columns: 1fr; }
  .program-step { border-right: none; }
}

.teacher-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.teacher-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.teacher-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.teacher-info { padding-top: 16px; }
.teacher-info .section-label { margin-bottom: 8px; }
.teacher-info h2 { margin-bottom: 20px; }
.teacher-desc { font-size: 1rem; line-height: 1.75; margin-bottom: 24px; }
.teacher-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.teacher-fact {
  background: var(--bg-alt);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
}
@media (max-width: 820px) {
  .teacher-grid { grid-template-columns: 1fr; gap: 32px; }
  .teacher-img-wrap { aspect-ratio: 4/3; max-width: 400px; }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.trust-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200,90,58,.1);
  color: var(--primary);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.trust-card h3 { font-size: .97rem; margin-bottom: 8px; }
.trust-card p { font-size: .86rem; }

.results-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
}
.results-wrap img { width: 100%; height: 100%; object-fit: cover; }

.faq-list {
  margin-top: 48px;
  max-width: 760px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: .97rem;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  transition: all var(--transition);
  color: var(--text-muted);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: .92rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

.cta-section {
  background: var(--bg-alt);
  padding-block: 80px;
}
.cta-inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { margin-bottom: 36px; }
.cta-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  text-align: left;
}

.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding-block: 56px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: .88rem; line-height: 1.6; margin-bottom: 0; }
.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-company {
  font-size: .78rem;
  line-height: 1.7;
  color: rgba(255,255,255,.35);
  max-width: 480px;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--bg-dark);
  color: rgba(255,255,255,.85);
  z-index: 999;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 2px solid var(--primary);
  transition: transform .4s ease;
}
.cookie-banner.hidden {
  transform: translateY(100%);
}
.cookie-text {
  font-size: .85rem;
  line-height: 1.6;
  flex: 1;
  min-width: 220px;
}
.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font-size: .85rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.cookie-btn--accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn--accept:hover { background: var(--primary-dark); }
.cookie-btn--reject {
  background: transparent;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.2);
}
.cookie-btn--reject:hover { color: var(--white); border-color: rgba(255,255,255,.5); }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

.legal-header {
  background: var(--bg-alt);
  padding-block: 48px 40px;
  border-bottom: 1px solid var(--border);
}
.legal-header h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.legal-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  transition: gap var(--transition);
}
.legal-header .back-link:hover { gap: 10px; }
.legal-content {
  max-width: 780px;
  padding-block: 56px 80px;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: .95rem; margin-bottom: 14px; }
.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-content ul li { font-size: .95rem; margin-bottom: 6px; color: var(--text-muted); }

.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(107,158,120,.15);
  color: var(--secondary);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-page h1 { margin-bottom: 16px; }
.success-page p { max-width: 480px; margin: 0 auto 32px; font-size: 1rem; }
