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

:root {
  --terra: #c1654a;
  --terra-dark: #a54e38;
  --cream: #f5f0e8;
  --cream-dark: #ede5d8;
  --clay: #2d2016;
  --clay-mid: #6b4226;
  --brown: #8b5e3c;
  --sand: #d4b896;
  --white: #ffffff;
  --text: #2d2016;
  --text-light: #6b5340;

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: 'Helvetica Neue', Arial, 'Segoe UI', sans-serif;

  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(45, 32, 22, 0.10);
  --shadow-lg: 0 8px 40px rgba(45, 32, 22, 0.16);

  --max-width: 1140px;
  --section-gap: 96px;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: bold;
  color: var(--terra);
  letter-spacing: 0.02em;
}

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

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  font-size: 14px;
  color: var(--text-light);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--terra);
}

.nav-cta {
  background: var(--terra);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--terra-dark) !important;
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ===== HERO ===== */
#hero {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(45, 32, 22, 0.72) 0%, rgba(45, 32, 22, 0.35) 55%, rgba(45, 32, 22, 0.15) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-text {
  color: var(--white);
}

.hero-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--white);
}

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

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
}

/* ===== LEAD FORM ===== */
.lead-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.lead-form-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--clay);
  margin-bottom: 8px;
}

.lead-form-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

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

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

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--terra);
  background: var(--white);
}

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

.btn-primary {
  display: block;
  width: 100%;
  background: var(--terra);
  color: var(--white);
  border: none;
  border-radius: 40px;
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
}

.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 101, 74, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.form-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
  line-height: 1.4;
}

.form-note a {
  color: var(--terra);
  text-decoration: underline;
}

/* ===== SECTION LABELS & TITLES ===== */
.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--clay);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== WHAT YOU'LL MAKE ===== */
#what-you-make {
  background: var(--cream-dark);
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.what-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.what-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.what-card-img {
  height: 200px;
  background: var(--cream-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.what-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clay-icon {
  font-size: 56px;
  line-height: 1;
}

.what-card-body {
  padding: 24px 24px 28px;
}

.what-card-body h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--clay);
  margin-bottom: 8px;
}

.what-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== COURSE OVERVIEW ===== */
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.module-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.module-item:hover {
  transform: translateX(4px);
}

.module-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--terra);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.module-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 4px;
}

.module-text p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.course-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 88px;
}

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

/* ===== HOW IT WORKS ===== */
#how-it-works {
  background: var(--clay);
  color: var(--white);
}

#how-it-works .section-title {
  color: var(--white);
}

#how-it-works .section-desc {
  color: rgba(255,255,255,0.65);
}

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 48px;
  right: 48px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}

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

.step-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
}

.step h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
}

/* ===== FOR WHOM ===== */
#for-whom {
  background: var(--cream-dark);
}

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

.whom-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  border-left: 3px solid var(--terra);
  box-shadow: var(--shadow);
}

.whom-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 6px;
}

.whom-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== FORMAT ===== */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.format-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  box-shadow: var(--shadow);
}

.format-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.format-card h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--clay);
  margin-bottom: 8px;
}

.format-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== FAQ ===== */
#faq {
  background: var(--cream-dark);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.faq-question span {
  font-size: 15px;
  font-weight: 600;
  color: var(--clay);
  line-height: 1.4;
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--terra);
  transition: transform 0.25s, background 0.2s;
  font-weight: 300;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--terra);
  color: var(--white);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
#cta {
  background: var(--terra);
  padding: 80px 0;
}

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

.cta-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 420px;
}

#cta .lead-form-card {
  background: rgba(255,255,255,0.96);
}

/* ===== FOOTER ===== */
footer {
  background: var(--clay);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-brand .logo {
  color: var(--sand);
  margin-bottom: 12px;
  display: inline-block;
}

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

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

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

footer ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

footer ul a:hover {
  color: var(--sand);
}

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

.footer-legal {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.35);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  background: var(--clay);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  z-index: 9999;
  display: flex;
  gap: 20px;
  align-items: center;
  animation: slideUp 0.4s ease;
}

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

#cookie-banner p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.8);
  flex: 1;
}

#cookie-banner a {
  color: var(--sand);
  text-decoration: underline;
}

#cookie-accept {
  flex-shrink: 0;
  background: var(--terra);
  color: var(--white);
  border: none;
  border-radius: 40px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

#cookie-accept:hover {
  background: var(--terra-dark);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--clay);
  margin-bottom: 8px;
}

.legal-page .updated {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 36px;
}

.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--clay);
  margin: 32px 0 10px;
}

.legal-page p, .legal-page li {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 20px;
}

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

.legal-page a {
  color: var(--terra);
  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-card {
  max-width: 500px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  font-size: 64px;
  margin-bottom: 24px;
  display: block;
}

.success-card h1 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--clay);
  margin-bottom: 14px;
}

.success-card p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.btn-back {
  display: inline-block;
  background: var(--terra);
  color: var(--white);
  border-radius: 40px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn-back:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
    padding: 20px 24px;
    gap: 16px;
    z-index: 99;
  }
  .burger { display: flex; }
  header { position: relative; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .lead-form-card { max-width: 480px; }
  .hero-desc { display: none; }

  .course-grid { grid-template-columns: 1fr; }
  .course-image { display: none; }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid::before { display: none; }

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

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  #cookie-banner {
    flex-direction: column;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 600px) {
  :root { --section-gap: 64px; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .lead-form-card { padding: 28px 22px; }
  .success-card { padding: 40px 28px; }
  #cta { padding: 60px 0; }
}
