@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;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(43, 33%, 95%);
  --fg:         hsl(34, 8%, 16%);
  --primary:    hsl(75, 10%, 40%);
  --secondary:  hsl(43, 17%, 87%);
  --border:     hsl(47, 18%, 80%);
  --muted:      hsl(37, 4%, 40%);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section-pad { padding-block: 96px; }

@media (min-width: 768px) { .section-pad { padding-block: 160px; } }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }

.label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  border: none;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover { background: hsl(34, 8%, 24%); }

.btn-outline-light {
  background: transparent;
  color: var(--bg);
  border: 1px solid var(--bg);
}
.btn-outline-light:hover { background: var(--bg); color: var(--fg); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 0;
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.main-nav {
  display: flex;
  gap: 48px;
}

.main-nav a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(42, 38, 34, 0.75);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--fg); }

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 88px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 242, 235, 0.50);
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg);
  max-width: 420px;
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 128px; }
}

.about-text { display: flex; flex-direction: column; gap: 24px; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
}

.section-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(42, 38, 34, 0.68);
  max-width: 480px;
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1s ease;
}
.about-img-wrap:hover img { transform: scale(1.04); }

.bg-secondary { background: var(--secondary); }

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(42, 38, 34, 0.12);
}
@media (min-width: 768px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }

.audience-card {
  background: var(--secondary);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.audience-num {
  font-family: var(--font-serif);
  font-size: 52px;
  color: rgba(103, 106, 89, 0.35);
  line-height: 1;
}

.audience-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
}

.audience-card p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(42, 38, 34, 0.6);
}

.result-header {
  margin-left: auto;
  max-width: 66%;
  margin-bottom: 96px;
}
@media (max-width: 767px) { .result-header { max-width: 100%; } }

.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 768px) { .result-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }

.result-img-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 1s ease;
}
.result-img-main:hover img { transform: scale(1.04); }

.result-img-side { padding-top: 0; }
@media (min-width: 768px) { .result-img-side { padding-top: 120px; } }

.result-img-side img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 1s ease;
}
.result-img-side:hover img { transform: scale(1.04); }

.result-caption {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(42, 38, 34, 0.45);
}

.program-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 768px) {
  .program-layout { flex-direction: row; gap: 128px; }
}

.program-sidebar { flex-shrink: 0; width: 280px; }

.program-list { flex: 1; }

.program-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 32px;
  border-top: 1px solid rgba(42, 38, 34, 0.1);
}
@media (min-width: 768px) {
  .program-item { flex-direction: row; gap: 48px; }
}

.program-item:last-child { border-bottom: 1px solid rgba(42, 38, 34, 0.1); }

.program-mod {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(42, 38, 34, 0.38);
  flex-shrink: 0;
  width: 100px;
  padding-top: 4px;
}

.program-content { flex: 1; }

.program-content h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 8px;
}

.program-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(42, 38, 34, 0.58);
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) { .format-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

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

.format-features { display: flex; flex-direction: column; gap: 36px; }

.format-feature { display: flex; gap: 20px; align-items: flex-start; }

.format-icon {
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.format-feature h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 6px;
}

.format-feature p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(42, 38, 34, 0.58);
}

.cta-dark {
  background: var(--fg);
  padding-block: 96px;
}
@media (min-width: 768px) { .cta-dark { padding-block: 128px; } }

.cta-dark-inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta-dark h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--bg);
}

.cta-dark p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245, 242, 235, 0.65);
  max-width: 520px;
}

.enroll-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
@media (min-width: 768px) { .enroll-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }

.enroll-text .section-title { margin-bottom: 32px; }

.enroll-steps { display: flex; flex-direction: column; gap: 0; }

.enroll-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-block: 20px;
  border-top: 1px solid rgba(42, 38, 34, 0.1);
}

.enroll-step:last-child { border-bottom: 1px solid rgba(42, 38, 34, 0.1); }

.step-num {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.enroll-step p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(42, 38, 34, 0.65);
}

.form-box {
  background: var(--secondary);
  border: 1px solid rgba(42, 38, 34, 0.1);
  padding: 40px;
}
@media (min-width: 768px) { .form-box { padding: 56px; } }

.form-box h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 32px;
}

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

.form-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(42, 38, 34, 0.7);
}

.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(42, 38, 34, 0.22);
  padding: 10px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--fg);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus,
.form-textarea:focus { border-bottom-color: var(--primary); }

.form-textarea { resize: none; min-height: 72px; line-height: 1.5; }

.form-error {
  font-family: var(--font-sans);
  font-size: 11px;
  color: hsl(0, 50%, 45%);
  min-height: 16px;
}

.form-submit {
  width: 100%;
  height: 56px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: hsl(75, 12%, 34%); }

.form-consent {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(42, 38, 34, 0.45);
  text-align: center;
  margin-top: 12px;
}

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

.faq-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 768px) { .faq-layout { flex-direction: row; gap: 128px; } }

.faq-sidebar { flex-shrink: 0; width: 280px; }

.faq-list { flex: 1; }

.faq-item { border-top: 1px solid rgba(42, 38, 34, 0.1); }
.faq-item:last-child { border-bottom: 1px solid rgba(42, 38, 34, 0.1); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-block: 24px;
  cursor: pointer;
  text-align: left;
}

.faq-q-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  transition: color 0.2s;
}
.faq-question:hover .faq-q-text { color: var(--muted); }

.faq-toggle {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -2px;
  transition: transform 0.3s;
}

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

.faq-answer {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(42, 38, 34, 0.58);
  max-width: 640px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-bottom 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.site-footer {
  background: var(--fg);
  color: var(--bg);
  padding-block: 80px;
}
@media (min-width: 768px) { .site-footer { padding-block: 128px; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; gap: 32px; } }

.footer-brand .logo { color: var(--bg); font-size: 36px; display: block; margin-bottom: 24px; }

.footer-brand p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 242, 235, 0.6);
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.35);
  margin-bottom: 16px;
}

.footer-legal p,
.footer-legal a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(245, 242, 235, 0.55);
}

.footer-links a {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(245, 242, 235, 0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--bg); }

.footer-bottom {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 242, 235, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  align-items: flex-start;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; } }

.footer-bottom span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: rgba(245, 242, 235, 0.35);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.6s ease;
}

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

.cookie-inner {
  background: var(--fg);
  color: var(--bg);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  width: 100%;
  border-radius: 2px;
}
@media (min-width: 640px) { .cookie-inner { flex-direction: row; align-items: center; gap: 24px; } }

.cookie-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 242, 235, 0.75);
  flex: 1;
}

.cookie-text a {
  color: rgba(245, 242, 235, 0.75);
  text-decoration: underline;
}

.cookie-accept {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(245, 242, 235, 0.3);
  color: var(--bg);
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.cookie-accept:hover { background: rgba(245, 242, 235, 0.12); }

.legal-main {
  padding-top: 160px;
  padding-bottom: 96px;
}

.legal-content {
  max-width: 720px;
  margin-inline: auto;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--fg);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(42, 38, 34, 0.72);
  margin-bottom: 16px;
}

.legal-content ul {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(42, 38, 34, 0.72);
  padding-left: 20px;
  margin-bottom: 16px;
}

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

.legal-content ul.no-list { list-style: none; padding-left: 0; }

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }

.success-main {
  padding-top: 88px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.success-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 80px;
}
@media (min-width: 768px) { .success-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.success-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 24px;
}

.success-text p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(42, 38, 34, 0.65);
  max-width: 420px;
  margin-bottom: 40px;
}

.success-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
