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

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

:root {
  --bg:           #faf7f2;
  --bg-warm:      #f0e8d5;
  --surface:      #ffffff;
  --text:         #2c2a26;
  --text-muted:   #6b6660;
  --accent:       #c94f28;
  --accent-dark:  #a63e1e;
  --accent-light: #f5e1d8;
  --green:        #4a7c59;
  --green-light:  #ddeee3;
  --border:       #e2d9cc;
  --radius:       10px;
  --radius-lg:    18px;
  --shadow-sm:    0 2px 8px rgba(44, 42, 38, 0.08);
  --shadow-md:    0 4px 24px rgba(44, 42, 38, 0.12);
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max-w:        1100px;
  --section-gap:  88px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--text);
}
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.2rem, 3vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(201, 79, 40, 0.32);
}
.btn-primary:hover { background: var(--accent-dark); }

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--text);
  text-decoration: none;
}
.logo-main {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}
.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent); text-decoration: none; }

.header-cta {
  font-size: 0.9rem;
  padding: 10px 22px;
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hero {
  background: var(--bg-warm);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 540px;
  padding: 72px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--text);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-note::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.outcomes {
  padding: var(--section-gap) 0;
}

.outcomes-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.outcomes-header p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 1.05rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.outcome-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.outcome-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.outcome-card h4 {
  margin-bottom: 6px;
}
.outcome-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.format {
  background: var(--text);
  padding: var(--section-gap) 0;
  color: #fff;
}

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

.format-content .section-label { color: #e08060; }
.format-content h2 { color: #fff; margin-bottom: 16px; }
.format-content > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

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

.format-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.format-item h4 { color: #fff; margin-bottom: 4px; }
.format-item p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.format-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

.program {
  padding: var(--section-gap) 0;
}

.program-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.program-header p {
  color: var(--text-muted);
  margin-top: 12px;
}

.modules {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.module-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.module-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.module-header:hover { background: var(--bg); }

.module-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-title { flex: 1; font-weight: 600; }

.module-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}

.module-item.open .module-toggle {
  transform: rotate(45deg);
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

.module-body {
  display: none;
  padding: 0 24px 24px 76px;
}
.module-item.open .module-body { display: block; }

.module-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module-body li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.module-body li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
}

.for-whom {
  background: var(--bg-warm);
  padding: var(--section-gap) 0;
}

.for-whom-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.whom-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 3px solid var(--accent);
}

.whom-card h4 { margin-bottom: 8px; }
.whom-card p { font-size: 0.9rem; color: var(--text-muted); }

.materials {
  padding: var(--section-gap) 0;
}

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

.materials-content .section-label { margin-bottom: 12px; }
.materials-content h2 { margin-bottom: 16px; }
.materials-content > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.materials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.material-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.material-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.material-item span { font-size: 0.9rem; }

.materials-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.author {
  background: var(--green-light);
  padding: var(--section-gap) 0;
}

.author-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.author-role {
  font-size: 0.88rem;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.author-bio {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.97rem;
}

.faq {
  padding: var(--section-gap) 0;
}

.faq-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}

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

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

.lead-form-section {
  background: var(--accent);
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}

.lead-form-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.lead-form-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

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

.lead-form-copy h2 {
  color: #fff;
  margin-bottom: 16px;
}
.lead-form-copy p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.lead-form-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lead-form-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
}
.lead-form-perks li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.form-card h3 {
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

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

.form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 79, 40, 0.12);
}

.form-group input::placeholder { color: var(--text-muted); }

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.form-agree label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

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

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

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

.site-footer {
  background: #1e1b17;
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-brand .logo-main {
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: block;
}

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

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}

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

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }

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

.footer-legal {
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: right;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  padding: 24px 28px;
  z-index: 999;
  display: none;
  border: 1px solid var(--border);
}

.cookie-banner.visible { display: block; }

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cookie-banner a { color: var(--accent); }

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

.cookie-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-accept:hover { background: var(--accent-dark); }

.cookie-decline {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.cookie-decline:hover { border-color: var(--text-muted); }

.gallery-section {
  background: var(--bg-warm);
  padding: var(--section-gap) 0;
}

.gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.gallery-frame {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-frame img {
  width: 100%;
  height: auto;
  display: block;
}

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

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

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

.success-card h1 { font-size: 1.8rem; margin-bottom: 12px; }
.success-card p { color: var(--text-muted); margin-bottom: 32px; }

.legal-page {
  padding: 64px 0 96px;
  min-height: 80vh;
}

.legal-page-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 48px;
}

.legal-page-header h1 { margin-bottom: 8px; }
.legal-page-header p { color: var(--text-muted); font-size: 0.9rem; }

.legal-content h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
  color: var(--text);
}

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

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

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

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

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--accent);
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  :root { --section-gap: 64px; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    min-height: auto;
    padding: 56px 24px;
  }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-image img { height: 280px; }

  .outcomes-grid { grid-template-columns: 1fr; }

  .format-inner { grid-template-columns: 1fr; gap: 40px; }
  .format-image { order: -1; }
  .format-image img { max-height: 280px; object-fit: cover; }

  .for-whom-grid { grid-template-columns: 1fr; }

  .materials-inner { grid-template-columns: 1fr; gap: 40px; }

  .lead-form-inner { grid-template-columns: 1fr; gap: 40px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-copy { text-align: left; }

  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
    z-index: 99;
  }
  .burger { display: flex; }

  .success-card { padding: 40px 28px; }
}

@media (max-width: 600px) {
  :root { --section-gap: 52px; }

  .header-cta { display: none; }

  .form-card { padding: 28px 20px; }

  .author-inner { grid-template-columns: 1fr; text-align: center; }
  .author-avatar { margin: 0 auto; }
}
