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

:root {
  --bg: #faf7f2;
  --bg-dark: #1c1410;
  --bg-mid: #f0ebe2;
  --text: #1a1210;
  --text-muted: #6b5c50;
  --primary: #a8291b;
  --primary-hover: #8a1f14;
  --accent: #c9862a;
  --accent-light: #f0d9b3;
  --border: #ddd5c8;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 16px;

  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
}

html {
  scroll-behavior: smooth;
}

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%;
}

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

/* ---- TYPOGRAPHY ---- */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: normal;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

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

/* ---- LAYOUT ---- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ---- HEADER ---- */

.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);
  padding: 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

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

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
}

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

/* ---- HERO ---- */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--bg-dark);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(28, 20, 16, 0.92) 0%,
    rgba(28, 20, 16, 0.55) 60%,
    rgba(28, 20, 16, 0.20) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 80px 24px;
  color: #fff;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.hero-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1rem;
}

/* ---- FOR WHOM ---- */

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

.section-intro {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-intro h2 {
  margin-bottom: 12px;
}

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.card h3 {
  margin-bottom: 8px;
}

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

/* ---- SKILLS ---- */

.skills {
  background: var(--bg);
}

.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.skills-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.skills-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.skill-num {
  min-width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 2px;
  flex-shrink: 0;
}

.skill-text strong {
  display: block;
  margin-bottom: 2px;
}

.skill-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---- FORMAT ---- */

.format {
  background: var(--bg-dark);
  color: #fff;
}

.format .section-label {
  color: var(--accent);
}

.format h2 {
  color: #fff;
  margin-bottom: 12px;
}

.format-sub {
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
  max-width: 540px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.format-item {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.format-item:hover {
  background: rgba(255,255,255,0.09);
}

.format-item .icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.format-item h3 {
  color: #fff;
  margin-bottom: 8px;
}

.format-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

/* ---- PROGRAM ---- */

.program {
  background: var(--bg-mid);
}

.program-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.program-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  position: sticky;
  top: 80px;
}

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

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

.module-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.module-header:hover {
  background: var(--bg-mid);
}

.module-num {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.module-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.25s;
}

.module.open .module-arrow {
  transform: rotate(180deg);
}

.module-body {
  display: none;
  padding: 0 24px 20px 76px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.module.open .module-body {
  display: block;
}

.module-body ul {
  list-style: disc;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ---- HOW IT WORKS ---- */

.how {
  background: var(--bg);
}

.steps {
  display: flex;
  gap: 0;
  position: relative;
}

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

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

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

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---- FAQ ---- */

.faq {
  background: var(--bg-mid);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

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

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}

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

.faq-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---- LEAD FORM ---- */

.lead-form-section {
  background: var(--primary);
  color: #fff;
}

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

.lead-form-copy h2 {
  color: #fff;
  margin-bottom: 14px;
}

.lead-form-copy p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.form-promise {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-promise span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-promise span::before {
  content: '✓';
  color: var(--accent);
  font-weight: 600;
}

.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.lead-form h3 {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 24px;
}

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

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

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

.form-field input:focus {
  border-color: var(--primary);
}

.form-field input::placeholder {
  color: #b0a098;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s;
}

.form-submit-btn:hover {
  background: var(--primary-hover);
}

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

.form-consent a {
  color: var(--primary);
  text-decoration: underline;
}

/* ---- FOOTER ---- */

.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
  font-size: 0.875rem;
}

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.825rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.85);
  font-weight: normal;
  margin-bottom: 16px;
}

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

.footer-col ul a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: rgba(255,255,255,0.9);
}

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

.footer-legal {
  color: rgba(255,255,255,0.3);
  font-size: 0.775rem;
  line-height: 1.7;
}

/* ---- COOKIE BANNER ---- */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  max-width: 560px;
  width: calc(100% - 48px);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  z-index: 999;
  transition: opacity 0.3s, transform 0.3s;
}

.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

.cookie-text {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.5;
}

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

.cookie-accept {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  font-family: var(--font-body);
}

.cookie-accept:hover {
  background: var(--primary-hover);
}

/* ---- LEGAL PAGES ---- */

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

.legal-header {
  border-bottom: 1px solid var(--border);
  padding: 0 0 32px;
  margin-bottom: 40px;
}

.legal-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.legal-header .updated {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
}

.legal-content p {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.legal-content ul li {
  margin-bottom: 4px;
}

/* ---- SUCCESS PAGE ---- */

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

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

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #edf7ed;
  border: 2px solid #4caf50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
}

.success-inner h1 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  color: var(--text);
}

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

.success-inner .btn-primary {
  text-decoration: none;
  display: inline-flex;
}

/* ---- MOBILE NAV ---- */

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .burger {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .skills-layout,
  .program-layout,
  .lead-form-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .program-image {
    position: static;
    order: -1;
  }

  .skills-image {
    order: -1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding: 0;
  }

  .step-circle {
    margin: 0;
    flex-shrink: 0;
  }

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

@media (max-width: 600px) {
  section {
    padding: 56px 0;
  }

  .hero-content {
    padding: 64px 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

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

  .lead-form {
    padding: 24px 20px;
  }
}
