/* ===== BASE & RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #FAF7F3;
  --bg-warm: #F2EDE5;
  --bg-dark: #2C2420;
  --text: #2C2420;
  --text-muted: #6B5E57;
  --accent: #C4714A;
  --accent-hover: #AD5F3A;
  --accent-light: #F5E8DF;
  --border: #E0D8CF;
  --white: #FFFFFF;
  --success: #5A8A6A;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --max-w: 1100px;
  --section-gap: 96px;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  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.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text-muted); }

.lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-muted);
}

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

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.1s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

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

.btn-lg {
  font-size: 1rem;
  padding: 16px 40px;
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo span {
  color: var(--accent);
}

.nav-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

@media (max-width: 640px) {
  .header-nav .nav-link { display: none; }
}

/* ===== HERO ===== */
.hero {
  padding: 72px 0 80px;
  background: var(--bg);
}

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

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

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero .lead {
  margin-bottom: 36px;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image { aspect-ratio: 16/9; }
  .hero-content { max-width: 100%; }
}

/* ===== LEAD FORM ===== */
.lead-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 420px;
}

.lead-form-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.lead-form-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus {
  border-color: var(--accent);
  background: var(--white);
}

.form-consent {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}
.form-consent a {
  color: var(--accent);
  text-decoration: underline;
}

.lead-form .btn { width: 100%; margin-top: 4px; }

/* ===== SECTION: POSTER EXAMPLES ===== */
.examples {
  background: var(--bg-warm);
}

.examples-header {
  text-align: center;
  margin-bottom: 56px;
}
.examples-header h2 { margin-bottom: 16px; }

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

.poster-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.poster-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.poster-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.poster-card:hover .poster-img img {
  transform: scale(1.04);
}

.poster-caption {
  padding: 16px 20px;
}

.poster-caption h4 {
  margin-bottom: 4px;
}

.poster-caption p {
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .posters-grid { grid-template-columns: 1fr; }
}

/* ===== SECTION: FOR WHOM ===== */
.for-whom { background: var(--bg); }

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

.for-whom-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.for-whom-content h2 { margin-bottom: 20px; }

.who-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.who-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.who-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.who-item p {
  font-size: 0.95rem;
  padding-top: 6px;
}

@media (max-width: 840px) {
  .for-whom-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .for-whom-image { aspect-ratio: 16/9; }
}

/* ===== SECTION: WHAT YOU LEARN ===== */
.curriculum {
  background: var(--bg-dark);
  color: var(--white);
}

.curriculum h2 { color: var(--white); margin-bottom: 16px; }
.curriculum .lead { color: rgba(255,255,255,0.65); margin-bottom: 52px; }
.curriculum .section-label { color: #C4714A; }

.curriculum-header {
  max-width: 600px;
  margin-bottom: 52px;
}

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

.module-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background 0.2s;
}

.module-card:hover {
  background: rgba(255,255,255,0.08);
}

.module-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.module-card h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.module-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 640px) {
  .modules-grid { grid-template-columns: 1fr; }
}

/* ===== SECTION: PROCESS ===== */
.process { background: var(--bg-warm); }

.process-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.process-header h2 { margin-bottom: 16px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.6% + 28px);
  right: calc(16.6% + 28px);
  height: 1px;
  background: var(--border);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.9rem; }

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps::before { display: none; }
  .step-number { margin-bottom: 16px; }
}

/* ===== SECTION: CTA FORM ===== */
.cta-section {
  background: var(--accent-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.cta-text h2 { margin-bottom: 16px; }

.cta-form-wrap .lead-form {
  min-width: 360px;
}

@media (max-width: 840px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-form-wrap .lead-form {
    min-width: unset;
    max-width: 100%;
  }
}

/* ===== SECTION: FAQ ===== */
.faq { background: var(--bg); }

.faq-header {
  max-width: 560px;
  margin-bottom: 48px;
}
.faq-header h2 { margin-bottom: 12px; }

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
}

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.2s;
}

.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 20px;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.95rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-links-inline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-links-inline a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-links-inline a:hover { color: var(--white); }

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: none;
  animation: slideUp 0.3s ease;
}

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

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 80px 0;
  min-height: 80vh;
}

.legal-page h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

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

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

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

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

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

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 40px;
}
.back-link:hover { text-decoration: underline; }

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.success-inner {
  max-width: 480px;
}

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

.success-inner h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.success-inner p {
  margin-bottom: 36px;
  font-size: 1.05rem;
}
