@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-soft: #F0EBE3;
  --bg-dark: #2C1810;
  --text: #2C1810;
  --text-muted: #6B5344;
  --accent: #8B3A3A;
  --accent-light: #C4956A;
  --accent-pale: #F5EDE4;
  --border: #DDD0C4;
  --white: #FFFFFF;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w: 1160px;
  --section-py: 80px;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  text-decoration: underline;
}

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text);
}

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

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

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

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #6d2d2d;
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
}

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

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

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

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

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

.nav .btn {
  padding: 9px 22px;
  font-size: 0.88rem;
}

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

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

/* ── HERO ── */
.hero {
  padding: 72px 0 80px;
  overflow: hidden;
}

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

.hero-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
  font-weight: 700;
}

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

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

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

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  min-width: 170px;
}

.hero-badge .badge-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-badge .badge-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--bg-dark);
  padding: 24px 0;
}

.trust-strip-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* ── SECTION BASE ── */
section {
  padding: var(--section-py) 0;
}

section.alt-bg {
  background: var(--bg-soft);
}

section.dark-bg {
  background: var(--bg-dark);
  color: var(--white);
}

section.dark-bg h2,
section.dark-bg h3 {
  color: var(--white);
}

section.dark-bg .section-label {
  color: var(--accent-light);
}

section.dark-bg .section-desc {
  color: rgba(255,255,255,0.7);
}

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

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

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

.portfolio-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.portfolio-card-body {
  padding: 18px 20px;
}

.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.portfolio-card-tag {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

/* ── CURRICULUM ── */
.curriculum-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 56px;
}

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

.curriculum-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

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

.module-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.module-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  min-width: 32px;
  opacity: 0.4;
}

.module-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.module-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── WHO IS IT FOR ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

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

.audience-card .aud-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.audience-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.audience-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.step-card::after {
  content: '';
  position: absolute;
  top: 48px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--border);
}

.step-card:last-child::after {
  display: none;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── MATERIALS ── */
.materials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.materials-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

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

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

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

.material-row span {
  font-size: 0.9rem;
  color: var(--text);
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

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

.faq-question:hover {
  color: var(--accent);
}

.faq-question .faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s;
}

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

.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

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

/* ── LEAD FORM ── */
.lead-form-section {
  background: var(--accent-pale);
}

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

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

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select {
  padding: 12px 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);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

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

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

.field-error {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 2px;
  display: none;
}

.field-error.visible {
  display: block;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

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

.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(139, 58, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

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

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

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

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

.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

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

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

.footer-legal strong {
  color: rgba(255,255,255,0.55);
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 2px solid var(--accent);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

#cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

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

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

#cookie-accept {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#cookie-accept:hover {
  background: #6d2d2d;
}

#cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

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

/* ── LEGAL PAGES ── */
.legal-hero {
  padding: 56px 0 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

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

.legal-content {
  padding: 56px 0 80px;
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 36px 0 14px;
}

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

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

.legal-content ul {
  margin: 0 0 16px 24px;
}

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

/* ── SUCCESS PAGE ── */
.success-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.success-layout .success-page {
  flex: 1;
}

.success-page {
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.success-card {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  padding: 60px 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.success-card h1 {
  font-size: 2rem;
  margin-bottom: 14px;
}

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

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  padding: 24px;
}

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

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links .btn {
  margin-top: 24px;
  text-align: center;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

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

  .hero-image-wrap {
    order: -1;
  }

  .hero-badge {
    bottom: 12px;
    left: 12px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .curriculum-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

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

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

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

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-strip-inner {
    flex-direction: column;
    gap: 16px;
  }
}
