@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Manrope:wght@300;400;500;600&display=swap');

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

:root {
  --bg: hsl(40, 33%, 98%);
  --fg: hsl(30, 20%, 25%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(15, 45%, 55%);
  --primary-dark: hsl(15, 45%, 45%);
  --primary-fg: hsl(40, 33%, 98%);
  --secondary: hsl(120, 15%, 45%);
  --muted-bg: hsl(40, 20%, 92%);
  --muted-fg: hsl(30, 10%, 45%);
  --accent: hsl(340, 30%, 85%);
  --border: hsl(40, 20%, 88%);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --radius: 1rem;
  --radius-2: 2rem;
  --radius-3: 3rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  line-height: 1.15;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 760px;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.slide-in {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.slide-in.visible {
  opacity: 1;
  transform: none;
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 250, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(74, 56, 42, 0.8);
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
}

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

.btn-primary-lg {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  box-shadow: 0 8px 32px rgba(185, 107, 84, 0.22);
}

.btn-primary-lg:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: 1.5px solid var(--primary);
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-fg);
}

.nav-cta {
  display: none;
}

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

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

.section {
  padding: 6rem 0;
}

.section-white {
  background: var(--card);
}

.section-muted {
  background: hsl(120, 10%, 96%);
}

.section-primary {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 640px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 11rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(252,250,247,0.7) 0%, rgba(252,250,247,0.2) 50%, rgba(252,250,247,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(230, 180, 165, 0.4);
  color: var(--fg);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted-fg);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.7;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(252, 250, 247, 0.6);
  border-radius: var(--radius-2);
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(100, 80, 60, 0.1);
}

.card-dot {
  width: 48px;
  height: 48px;
  background: rgba(230, 180, 165, 0.3);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card p {
  color: var(--muted-fg);
  line-height: 1.7;
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.program-image {
  border-radius: var(--radius-2);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 24px 64px rgba(100,80,60,0.15);
}

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

.program-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.program-step {
  display: flex;
  gap: 1.5rem;
}

.step-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(185, 107, 84, 0.35);
  padding-top: 2px;
  flex-shrink: 0;
  width: 2.5rem;
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--sans);
  margin-bottom: 0.5rem;
}

.step-body p {
  color: var(--muted-fg);
  line-height: 1.7;
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.materials-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.materials-text p {
  font-size: 1.1rem;
  color: var(--muted-fg);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.materials-image {
  border-radius: var(--radius-3);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 12px 40px rgba(100,80,60,0.12);
  border: 4px solid var(--card);
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(100,80,60,0.06);
}

.process-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 3.5rem;
}

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

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

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

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

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

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

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--muted-fg);
  line-height: 1.75;
}

.form-section-inner {
  background: var(--card);
  border-radius: 2.5rem;
  padding: 4rem;
  box-shadow: 0 24px 64px rgba(100,80,60,0.15);
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-section-inner h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.form-section-inner .desc {
  font-size: 1.05rem;
  color: var(--muted-fg);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.section-primary-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-primary-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  mix-blend-mode: multiply;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.form-group input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185,107,84,0.12);
}

.form-group input.error {
  border-color: hsl(0, 70%, 55%);
}

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: hsl(0, 70%, 55%);
  margin-top: 0.375rem;
}

.form-error.show {
  display: block;
}

.form-submit {
  width: 100%;
  height: 3.5rem;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

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

.form-note {
  font-size: 0.75rem;
  color: var(--muted-fg);
  text-align: center;
  margin-top: 1rem;
}

.form-note a {
  text-decoration: underline;
}

.form-note a:hover {
  color: var(--primary);
}

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

footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .logo {
  display: block;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  max-width: 240px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-col ul a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-col .req {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.footer-col .req a {
  color: var(--muted-fg);
  transition: color 0.2s;
}

.footer-col .req a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(180,160,140,0.3);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(120,100,80,0.5);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(100,80,60,0.08);
  display: none;
}

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

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-inner p {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.cookie-inner a {
  text-decoration: underline;
}

.cookie-inner a:hover {
  color: var(--primary);
}

.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 3rem 1.5rem;
}

.success-box {
  background: var(--card);
  border-radius: var(--radius-2);
  padding: 4rem;
  box-shadow: 0 8px 48px rgba(100,80,60,0.12);
  max-width: 600px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--border);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(185,107,84,0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.success-icon svg {
  color: var(--primary);
}

.success-box h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.success-box p {
  font-size: 1.1rem;
  color: var(--muted-fg);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.legal-page {
  padding: 5rem 0 8rem;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.legal-content .updated {
  font-size: 0.9rem;
  color: var(--muted-fg);
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin: 2.5rem 0 0.875rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  color: var(--muted-fg);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  color: var(--muted-fg);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--fg);
  font-weight: 600;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
  }

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

  .mobile-menu {
    position: fixed;
    inset: 0;
    top: 80px;
    background: var(--bg);
    z-index: 35;
    padding: 2rem 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    border-top: 1px solid var(--border);
  }

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

  .mobile-menu a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--fg);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu a:hover {
    color: var(--primary);
  }

  .program-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .program-image {
    max-height: 400px;
    aspect-ratio: 4/3;
  }

  .materials-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .form-section-inner {
    padding: 2.5rem 1.75rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 5rem 0 7rem;
  }

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

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

  .success-box {
    padding: 2.5rem 1.5rem;
  }
}

nav.nav-links {
  display: flex;
}

@media (min-width: 901px) {
  .nav-cta {
    display: inline-flex;
  }
}
