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

:root {
  --clr-bg: #FDF8F0;
  --clr-bg-alt: #F5EDE0;
  --clr-surface: #FFFFFF;
  --clr-primary: #C84B11;
  --clr-primary-dark: #A33A0B;
  --clr-secondary: #2D6A4F;
  --clr-accent: #E9B84A;
  --clr-text: #2C1810;
  --clr-text-muted: #6B4F3A;
  --clr-border: #E2D0BE;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'PT Sans', Arial, sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(44,24,16,0.08);
  --shadow-md: 0 4px 20px rgba(44,24,16,0.12);

  --max-w: 1100px;
  --section-pad: 72px 20px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--clr-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--clr-text);
}

/* ─── HEADER ─────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(253, 248, 240, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
  z-index: 100;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo span {
  color: var(--clr-secondary);
}

.main-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  color: var(--clr-text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--clr-primary);
  text-decoration: none;
}

.header-cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--clr-primary);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--clr-primary-dark);
}

.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(--clr-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ───────────────────────────────────────────────── */

.hero {
  padding: 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px 60px 20px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-secondary);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--clr-primary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin-bottom: 36px;
  max-width: 440px;
}

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

.btn-primary {
  display: inline-block;
  padding: 15px 32px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

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

.btn-outline {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: var(--clr-text);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  text-decoration: none;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
}

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

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--clr-bg) 0%, transparent 18%);
}

/* ─── SECTIONS COMMON ─────────────────────────────────────── */

section {
  padding: var(--section-pad);
}

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

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ─── FOR WHOM ──────────────────────────────────────────────── */

.for-whom {
  background: var(--clr-bg-alt);
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.card-whom {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}

.card-whom:hover {
  box-shadow: var(--shadow-md);
}

.card-whom-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.card-whom h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-whom p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* ─── WHAT YOU LEARN ─────────────────────────────────────── */

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

.learn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.learn-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

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

.learn-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.learn-text span {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.learn-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.learn-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ─── FORMAT ─────────────────────────────────────────────── */

.format {
  background: var(--clr-bg-alt);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.format-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border-left: 4px solid var(--clr-primary);
}

.format-card-icon {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.format-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.format-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* ─── MATERIALS ──────────────────────────────────────────── */

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

.materials-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  order: -1;
}

.materials-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

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

.materials-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.95rem;
}

.materials-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-accent);
}

.materials-note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  font-style: italic;
}

/* ─── LEAD FORM ──────────────────────────────────────────── */

.lead-form-section {
  background: var(--clr-secondary);
  color: #fff;
  text-align: center;
}

.lead-form-section .section-label {
  color: rgba(255,255,255,0.65);
}

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

.lead-form-section .section-lead {
  color: rgba(255,255,255,0.8);
  margin-left: auto;
  margin-right: auto;
}

.form-wrap {
  max-width: 540px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.form-group input {
  padding: 12px 14px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.45);
}

.form-group input:focus {
  border-color: var(--clr-accent);
}

.form-group input.error {
  border-color: #ff8a80;
}

.form-error {
  font-size: 0.8rem;
  color: #ff8a80;
  min-height: 18px;
}

.form-footer-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.form-footer-note a {
  color: rgba(255,255,255,0.75);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--clr-accent);
  color: var(--clr-text);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover {
  background: #d9a63a;
  transform: translateY(-1px);
}

/* ─── FAQ ─────────────────────────────────────────────────── */

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--clr-surface);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-q:hover {
  background: var(--clr-bg-alt);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--clr-primary);
  transition: transform 0.3s;
}

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

.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  background: var(--clr-surface);
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

.site-footer {
  background: var(--clr-text);
  color: rgba(255,255,255,0.75);
  padding: 48px 20px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: inline-block;
}

.footer-logo span {
  color: var(--clr-accent);
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-legal-info {
  font-size: 0.78rem;
  opacity: 0.55;
  line-height: 1.8;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── COOKIE BANNER ─────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-text);
  color: rgba(255,255,255,0.9);
  padding: 18px 20px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

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

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.5;
}

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

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

.cookie-btn-accept {
  padding: 9px 20px;
  background: var(--clr-accent);
  color: var(--clr-text);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-btn-accept:hover {
  background: #d9a63a;
}

.cookie-btn-decline {
  padding: 9px 20px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.9);
}

/* ─── LEGAL PAGES ────────────────────────────────────────── */

.legal-hero {
  background: var(--clr-bg-alt);
  padding: 60px 20px 40px;
  border-bottom: 1px solid var(--clr-border);
}

.legal-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.legal-hero .updated {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.legal-body h2 {
  font-size: 1.25rem;
  margin: 36px 0 10px;
}

.legal-body p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

.legal-body ul {
  margin: 0 0 14px 20px;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

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

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 32px;
}

.back-link:hover {
  text-decoration: underline;
}

/* ─── SUCCESS PAGE ───────────────────────────────────────── */

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

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

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

.success-card h1 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.success-card p {
  color: var(--clr-text-muted);
  margin-bottom: 32px;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 768px) {
  :root {
    --section-pad: 52px 20px;
  }

  .burger {
    display: flex;
  }

  .main-nav, .header-cta {
    display: none;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    padding: 20px;
    gap: 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 48px 20px 36px;
    order: 2;
  }

  .hero-image-wrap {
    height: 280px;
    order: 1;
  }

  .hero-image-wrap::after {
    background: linear-gradient(to bottom, transparent 50%, var(--clr-bg) 100%);
  }

  .learn-grid,
  .materials-inner {
    grid-template-columns: 1fr;
  }

  .materials-image {
    order: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .for-whom-grid {
    grid-template-columns: 1fr;
  }

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

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