
:root {
  --cream: #FAF7F2;
  --cream-dark: #F2EDE4;
  --rose: #C4807A;
  --rose-dark: #A86560;
  --rose-light: #EDD9D7;
  --terracotta: #8B4E49;
  --brown: #2C1810;
  --brown-mid: #5A3228;
  --text: #3A2820;
  --text-muted: #7A6055;
  --white: #FFFFFF;
  --border: #E8DDD6;
  --shadow: 0 4px 24px rgba(44, 24, 16, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 1100px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.text-center { text-align: center; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--rose);
  color: var(--white);
  border: 2px solid var(--rose);
}
.btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196, 128, 122, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.9); }
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-full { width: 100%; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  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;
  gap: 32px;
  height: 68px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brown);
  flex-shrink: 0;
}
.logo span { color: var(--rose); }
.logo--light { color: var(--cream); }
.logo--light span { color: var(--rose-light); }
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--rose); }
.header-cta { margin-left: 8px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  width: 100%;
}
.mobile-nav .btn { margin-top: 8px; }
.mobile-nav.open { display: flex; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 24, 16, 0.72) 0%,
    rgba(44, 24, 16, 0.45) 50%,
    rgba(44, 24, 16, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-facts {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
}
.fact-icon { font-size: 1.125rem; flex-shrink: 0; }
.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.for-whom-section { background: var(--cream-dark); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 1.75rem; margin-bottom: 16px; }
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 10px;
}
.card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

.learn-section { background: var(--white); }
.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.learn-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.learn-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.learn-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}
.learn-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.materials-section { background: var(--cream-dark); }
.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.materials-text p { color: var(--text-muted); margin-bottom: 16px; }
.materials-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-section { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 40px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item--tall {
  grid-row: 1 / 3;
}
.gallery-item--tall img { height: 480px; }
.gallery-grid .gallery-item:not(.gallery-item--tall) img { height: 230px; }
.gallery-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.program-section { background: var(--cream-dark); }
.modules-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.module {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.module:last-child { border-bottom: none; }
.module-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose-light);
  flex-shrink: 0;
  width: 48px;
  line-height: 1;
  padding-top: 4px;
}
.module-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}
.module-content p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }

.format-section { background: var(--white); }
.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.format-item {
  padding: 28px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.format-icon { font-size: 2rem; margin-bottom: 16px; }
.format-item h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 10px;
}
.format-item p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

.faq-section { background: var(--cream-dark); }
.faq-container { max-width: 760px; }
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--brown);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--rose); }
.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--rose);
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-answer.open { max-height: 300px; }
.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.lead-form-section {
  background: var(--terracotta);
  background: linear-gradient(135deg, var(--terracotta) 0%, #6B3530 100%);
}
.lead-form-container { max-width: 660px; }
.lead-form-section .section-label { color: var(--rose-light); }
.lead-form-section .section-title { color: var(--white); }
.lead-form-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  margin-bottom: 36px;
}
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.9375rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.45); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.15);
}
.form-group input.error,
.form-group textarea.error { border-color: #F9A8A4; }
.form-error {
  font-size: 0.8125rem;
  color: #F9A8A4;
  min-height: 16px;
}
.form-checkbox { display: flex; flex-direction: column; gap: 4px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--rose-light);
}
.checkbox-label a { color: var(--rose-light); text-decoration: underline; }
.lead-form-section .btn-primary {
  background: var(--white);
  color: var(--terracotta);
  border-color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}
.lead-form-section .btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  max-width: 240px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-legal a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-company, .footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--brown);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}
.cookie-inner a { color: var(--rose-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner .btn-primary { background: var(--rose); border-color: var(--rose); }
.cookie-banner .btn-ghost { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }
.cookie-banner .btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.5); background: transparent; }

.legal-page { padding-top: 120px; padding-bottom: 80px; min-height: 100vh; }
.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--brown);
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brown);
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-content p, .legal-content li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; }
.legal-content li { list-style: disc; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rose);
  margin-bottom: 32px;
  transition: color var(--transition);
}
.back-link:hover { color: var(--rose-dark); }

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.success-content { max-width: 480px; }
.success-icon {
  font-size: 3.5rem;
  margin-bottom: 24px;
  display: block;
}
.success-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--brown);
  margin-bottom: 16px;
}
.success-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.success-content .btn { margin-top: 24px; }

@media (max-width: 900px) {
  .about-grid, .learn-grid, .materials-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: -1; }
  .cards-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--tall { grid-row: auto; }
  .gallery-item--tall img, .gallery-grid .gallery-item:not(.gallery-item--tall) img { height: 240px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 768px) {
  :root { --max-width: 100%; }
  .section { padding: 60px 0; }
  .main-nav, .header-cta { display: none; }
  .burger { display: flex; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
  .module { gap: 20px; }
  .module-num { font-size: 1.5rem; width: 36px; }
}

@media (max-width: 480px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 1.625rem; }
  .hero-title { font-size: 2rem; }
}
