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

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

:root {
  --bg: #f8f5f0;
  --bg-card: #f0ebe4;
  --fg: #2c1a14;
  --fg-muted: #7a6560;
  --primary: #c47a58;
  --primary-dark: #a96240;
  --primary-light: rgba(196,122,88,0.12);
  --secondary: #e6ddd5;
  --border: #ddd0c7;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 4px rgba(44,26,20,0.06);
  --shadow-md: 0 4px 16px rgba(44,26,20,0.10);
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

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

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

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

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

header.scrolled {
  background: rgba(248,245,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.logo:hover {
  opacity: 0.85;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(44,26,20,0.75);
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

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

.btn-primary-lg {
  background: var(--primary);
  color: #fff;
  padding: 18px 36px;
  border-radius: 100px;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

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

.btn-full {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  font-size: 16px;
  background: var(--primary);
  color: #fff;
}

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

.btn-full:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(248,245,240,0.97) 35%, rgba(248,245,240,0.75) 60%, rgba(248,245,240,0.15) 100%);
}

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

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin-bottom: 24px;
  color: var(--fg);
}

.hero p {
  font-size: 18px;
  color: rgba(44,26,20,0.78);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.7;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--fg-muted);
  font-size: 17px;
}

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

.card {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.card-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(196,122,88,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 24px;
}

.card h3 {
  font-size: 18px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 10px;
}

.card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

.split-section {
  overflow: hidden;
}

.split-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.split-image {
  flex: 0 0 46%;
  position: relative;
}

.split-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}

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

.deco-circle-1 {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--secondary);
  z-index: -1;
}

.deco-circle-2 {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(196,122,88,0.22);
  z-index: -1;
}

.split-text {
  flex: 1;
}

.split-text h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 40px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-bar {
  width: 3px;
  border-radius: 100px;
  flex-shrink: 0;
  background: var(--primary);
  opacity: 0.4;
}

.feature-item:nth-child(2) .feature-bar { opacity: 0.65; }
.feature-item:nth-child(3) .feature-bar { opacity: 1; }

.feature-item h4 {
  font-size: 18px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 6px;
}

.feature-item p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

.instructor-section {
  background: rgba(230,221,213,0.35);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.instructor-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 48px;
}

.instructor-photo {
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-md);
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.instructor-name {
  font-size: 32px;
  margin-bottom: 16px;
}

.instructor-quote {
  color: var(--fg-muted);
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 24px;
}

.instructor-meta {
  display: flex;
  gap: 28px;
}

.instructor-meta span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(44,26,20,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}

.instructor-meta span::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

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

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.accordion-trigger:hover {
  background: rgba(230,221,213,0.3);
}

.accordion-num {
  font-size: 13px;
  font-family: monospace;
  color: rgba(196,122,88,0.65);
  flex-shrink: 0;
  min-width: 28px;
}

.accordion-title {
  flex: 1;
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
}

.accordion-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  border-top: 1px solid var(--border);
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-body ul {
  list-style: none;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-body li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.55;
}

.accordion-body li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 6px;
}

.faq-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  transition: background 0.2s;
}

.faq-trigger:hover {
  background: rgba(230,221,213,0.3);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  display: none;
  border-top: 1px solid var(--border);
  padding: 20px 24px 24px;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
}

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

.form-section {
  position: relative;
  overflow: hidden;
}

.form-blob-1 {
  position: absolute;
  top: 25%;
  left: -8%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.4;
  filter: blur(60px);
  z-index: 0;
}

.form-blob-2 {
  position: absolute;
  bottom: 20%;
  right: -8%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0.6;
  filter: blur(60px);
  z-index: 0;
}

.form-wrap {
  position: relative;
  z-index: 1;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 12px;
}

.form-header p {
  color: var(--fg-muted);
  font-size: 16px;
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--fg);
}

.form-group input {
  width: 100%;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

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

.form-error {
  display: none;
  font-size: 12px;
  color: #d04040;
  margin-top: 6px;
}

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

.form-note {
  font-size: 12px;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 16px;
}

.form-note a {
  text-decoration: underline;
  transition: color 0.2s;
}

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

footer {
  background: rgba(230,221,213,0.4);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

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

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 22px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 240px;
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--fg-muted);
  transition: color 0.2s;
}

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

.footer-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-meta li {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--fg-muted);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(248,245,240,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 20px rgba(44,26,20,0.07);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-banner p {
  font-size: 14px;
  color: var(--fg-muted);
}

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

.cookie-accept {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

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

.legal-page {
  padding: 140px 0 96px;
}

.legal-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 40px;
}

.legal-body h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  color: var(--fg);
}

.legal-body p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 12px 0 16px;
}

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

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

.success-inner {
  text-align: center;
  max-width: 420px;
}

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

.success-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary);
}

.success-inner h1 {
  font-size: 38px;
  margin-bottom: 16px;
}

.success-inner p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .split-inner {
    flex-direction: column;
    gap: 48px;
  }
  .split-image {
    flex: none;
    width: 100%;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .instructor-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }
  .instructor-meta {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 100px 0 64px; }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(248,245,240,0.96) 40%, rgba(248,245,240,0.70) 100%);
  }
  nav { display: none; }
  .instructor-photo {
    width: 160px;
    height: 160px;
  }
  .form-card { padding: 28px 20px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }
  .legal-page { padding: 120px 0 64px; }
}
