@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --primary: #C4614A;
  --primary-hover: #B0503A;
  --primary-light: rgba(196, 97, 74, 0.1);
  --bg: #FAF8F5;
  --card: #F2EDE8;
  --foreground: #1A1410;
  --muted: #7A6A5E;
  --border: #E0D5CD;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --shadow: 0 4px 24px rgba(26, 20, 16, 0.08);
  --shadow-lg: 0 8px 40px rgba(26, 20, 16, 0.14);
  --container: 1200px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color var(--transition);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 0.6875rem 1.75rem;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 97, 74, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
  padding: 0.625rem 1.75rem;
}

.btn-outline:hover {
  background: var(--card);
}

.btn-dark {
  background: var(--foreground);
  color: var(--white);
  padding: 0.6875rem 1.75rem;
}

.btn-dark:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.nav-cta {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 1rem 1.25rem;
}

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

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

.mobile-menu a:last-child {
  border-bottom: none;
}

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

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

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

.fade-up.delay-1 { transition-delay: 0.15s; }
.fade-up.delay-2 { transition-delay: 0.3s; }
.fade-up.delay-3 { transition-delay: 0.45s; }

section.hero {
  padding: 5rem 0 7rem;
  background: var(--bg);
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.3rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

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

.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 30rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

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

.hero-badge-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  animation: slideUp 0.9s 0.3s both ease-out;
}

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

.badge-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.badge-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--foreground);
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

section.about {
  padding: 5.5rem 0;
  background: var(--card);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
}

.section-intro {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3.5rem;
}

.section-intro h2 {
  margin-bottom: 1rem;
}

.section-intro p {
  font-size: 1.0625rem;
  color: var(--muted);
}

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow var(--transition);
}

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

.card-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--foreground);
}

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

section.process {
  padding: 5.5rem 0;
  background: var(--bg);
}

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

.two-col img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary);
}

.step-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

.step-body p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

section.showcase {
  padding: 5.5rem 0;
  background: rgba(196, 97, 74, 0.04);
  border-top: 1px solid rgba(196, 97, 74, 0.12);
  border-bottom: 1px solid rgba(196, 97, 74, 0.12);
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--foreground);
}

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

section.faq {
  padding: 5.5rem 0;
  background: var(--bg);
}

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

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}

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

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-bottom: 0;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

section.enroll {
  padding: 5.5rem 0;
  background: var(--card);
  position: relative;
  overflow: hidden;
}

.enroll-blob-1,
.enroll-blob-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.enroll-blob-1 {
  width: 320px;
  height: 320px;
  background: rgba(196, 97, 74, 0.08);
  top: -80px;
  left: -80px;
}

.enroll-blob-2 {
  width: 420px;
  height: 420px;
  background: rgba(122, 106, 94, 0.06);
  bottom: -120px;
  right: -80px;
}

.form-card {
  max-width: 32rem;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.form-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-card-header h2 {
  margin-bottom: 0.75rem;
}

.form-card-header p {
  font-size: 0.9375rem;
  color: var(--muted);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6875rem 0.875rem;
  color: var(--foreground);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

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

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

.field-error {
  font-size: 0.8125rem;
  color: #c0392b;
  display: none;
}

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

.form-submit-wrap {
  margin-top: 1.5rem;
}

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

.form-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

section.success-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
}

.success-inner {
  text-align: center;
  max-width: 28rem;
}

.success-icon {
  width: 88px;
  height: 88px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--primary);
}

.success-icon svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-inner h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.success-inner p {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-page {
  padding: 4rem 0 6rem;
}

.legal-page h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 0.625rem;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal-body {
  max-width: 44rem;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 2.25rem 0 0.75rem;
}

.legal-body p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.75rem 0 1rem;
}

.legal-body ul li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}

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

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 0.875rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 22rem;
  margin-bottom: 0.5rem;
}

.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.125rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

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

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

.footer-col ul li {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1rem 1.25rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-inner {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

  .hamburger {
    display: flex;
  }

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

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

  .hero-badge-card {
    bottom: -1rem;
    left: 0;
  }

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

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

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

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

@media (max-width: 600px) {
  section.hero {
    padding: 3rem 0 5rem;
  }

  .form-card {
    padding: 2rem 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

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

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

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