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

:root {
  --bg: hsl(40, 33%, 97%);
  --fg: hsl(20, 10%, 15%);
  --primary: hsl(25, 45%, 35%);
  --primary-fg: hsl(40, 33%, 97%);
  --secondary: hsl(30, 20%, 90%);
  --muted: hsl(30, 20%, 93%);
  --muted-fg: hsl(25, 15%, 45%);
  --border: hsl(30, 20%, 88%);
  --input-border: hsl(30, 20%, 85%);
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(40, 36, 33, 0.08);
  --shadow-md: 0 4px 12px rgba(40, 36, 33, 0.10);
  --shadow-lg: 0 8px 24px rgba(40, 36, 33, 0.12);
  --shadow-xl: 0 16px 48px rgba(40, 36, 33, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

.serif {
  font-family: 'Playfair Display', serif;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

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

.logo:hover {
  color: var(--primary);
  opacity: 0.85;
}

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

nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(40, 36, 33, 0.75);
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: hsl(25, 45%, 30%);
  color: var(--primary-fg);
  box-shadow: var(--shadow-md);
}

.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(--fg);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
}

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

.mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(40, 36, 33, 0.8);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

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

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

main {
  padding-top: 76px;
}

.page-main {
  padding-top: 76px;
  flex: 1;
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.21, 0.47, 0.32, 0.98), transform 0.8s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

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

section {
  padding: 96px 24px;
}

.hero {
  padding: 96px 24px 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero-text p {
  font-size: 18px;
  color: var(--muted-fg);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 17px;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
  font-family: 'Outfit', sans-serif;
}

.btn:hover {
  background: hsl(25, 45%, 30%);
  color: var(--primary-fg);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: scale(0.98);
}

.btn-dark {
  background: var(--fg);
  color: var(--bg);
}

.btn-dark:hover {
  background: hsl(20, 10%, 22%);
  color: var(--bg);
}

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

.hero-img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
}

.hero-img-tint {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: hsl(25, 45%, 35%, 0.08);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.result-section {
  background: var(--secondary);
}

.result-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.result-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
}

.result-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 28px;
  line-height: 1.15;
}

.result-text p {
  font-size: 17px;
  color: rgba(40, 36, 33, 0.75);
  line-height: 1.75;
  margin-bottom: 20px;
}

.for-whom-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.for-whom-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  margin-bottom: 64px;
}

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

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

.card-num {
  width: 48px;
  height: 48px;
  background: hsl(25, 45%, 35%, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

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

.process-section {
  background: var(--fg);
  color: var(--bg);
}

.process-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.process-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  margin-bottom: 64px;
  color: var(--primary-fg);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step {
  display: flex;
  gap: 24px;
}

.step-line {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
  min-height: 80px;
}

.step-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-fg);
}

.step-content p {
  font-size: 15px;
  color: rgba(251, 249, 247, 0.65);
  line-height: 1.7;
}

.process-images {
  position: relative;
}

.process-img-main {
  width: 83%;
  margin-left: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 10px;
}

.process-img-overlay {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 8px solid var(--fg);
  box-shadow: var(--shadow-xl);
}

.faq-section {
  background: hsl(30, 20%, 93%, 0.4);
}

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

.faq-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  margin-bottom: 56px;
}

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

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 28px 32px;
}

.faq-item h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--fg);
}

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

.enroll-section {
  background: hsl(25, 45%, 35%, 0.04);
}

.enroll-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid rgba(229, 221, 213, 0.7);
  border-radius: 20px;
  padding: 64px 56px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.enroll-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  line-height: 1.2;
}

.enroll-box p {
  font-size: 16px;
  color: var(--muted-fg);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(40, 36, 33, 0.75);
}

.form-group input {
  padding: 16px 20px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  color: var(--fg);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: rgba(122, 99, 84, 0.4);
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(25, 45%, 35%, 0.12);
}

.form-note {
  font-size: 12px;
  color: rgba(122, 99, 84, 0.7);
  text-align: center;
  margin-top: 8px;
  line-height: 1.6;
}

.form-note a {
  text-decoration: underline;
  color: var(--muted-fg);
  transition: color 0.2s;
}

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

footer {
  background: var(--fg);
  color: var(--bg);
  padding: 80px 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

.footer-brand .logo {
  color: var(--primary-fg);
  display: block;
  margin-bottom: 20px;
}

.footer-brand .logo:hover {
  color: var(--primary-fg);
  opacity: 0.85;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(251, 249, 247, 0.6);
  max-width: 300px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.footer-meta {
  font-size: 12px;
  color: rgba(251, 249, 247, 0.4);
  line-height: 2;
  font-weight: 300;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(251, 249, 247, 0.7);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 12px;
  color: rgba(251, 249, 247, 0.3);
  font-weight: 300;
  margin-top: 48px;
  text-align: right;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 20px 32px;
  box-shadow: 0 -4px 20px rgba(40, 36, 33, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  font-size: 14px;
  color: var(--muted-fg);
  flex: 1;
  max-width: 760px;
  line-height: 1.6;
}

.cookie-text a {
  text-decoration: underline;
  color: var(--muted-fg);
  transition: color 0.2s;
}

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

.cookie-accept {
  flex-shrink: 0;
  padding: 10px 32px;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cookie-accept:hover {
  background: hsl(20, 10%, 22%);
}

.prose-page {
  padding: 60px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.prose-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 8px;
  line-height: 1.2;
}

.prose-page .date {
  font-size: 14px;
  color: var(--muted-fg);
  margin-bottom: 48px;
}

.prose-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 14px;
}

.prose-page p {
  font-size: 16px;
  color: rgba(40, 36, 33, 0.8);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose-page ul {
  margin: 12px 0 16px 20px;
}

.prose-page ul li {
  font-size: 16px;
  color: rgba(40, 36, 33, 0.8);
  line-height: 1.8;
  margin-bottom: 6px;
}

.prose-page strong {
  font-weight: 600;
  color: var(--fg);
}

.success-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
  text-align: center;
  min-height: calc(100vh - 76px - 260px);
}

.success-icon {
  width: 88px;
  height: 88px;
  background: hsl(25, 45%, 35%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 36px;
}

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

.success-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
}

.success-page p {
  font-size: 17px;
  color: var(--muted-fg);
  max-width: 480px;
  line-height: 1.75;
  margin: 0 auto 48px;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

  .burger {
    display: flex;
  }

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

  .hero-img {
    height: 400px;
  }

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

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

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

  .process-images {
    display: none;
  }

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

  .footer-right {
    align-items: flex-start;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-copy {
    text-align: left;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
  }

  .enroll-box {
    padding: 40px 28px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 64px 20px;
  }

  .hero {
    padding: 64px 20px;
  }
}
