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

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

:root {
  --bg: hsl(35, 33%, 96%);
  --fg: hsl(20, 20%, 15%);
  --primary: hsl(20, 75%, 45%);
  --primary-fg: hsl(35, 33%, 96%);
  --card: hsl(35, 30%, 93%);
  --card-alt: hsl(30, 25%, 88%);
  --border: hsl(35, 20%, 88%);
  --muted: hsl(20, 15%, 45%);
  --secondary-bg: hsla(30, 25%, 88%, 0.4);
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 2px 8px hsla(20, 30%, 20%, 0.06);
  --shadow-md: 0 4px 20px hsla(20, 30%, 20%, 0.1);
  --shadow-lg: 0 8px 40px hsla(20, 30%, 20%, 0.12);
  --shadow-xl: 0 20px 60px hsla(20, 30%, 20%, 0.14);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

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

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

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.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; }

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
  background: hsla(35, 33%, 96%, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 2.5rem;
  padding: 0 1.25rem;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.88;
}

.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 20%, hsla(20, 75%, 45%, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
}

.hero-eyebrow-line {
  width: 2rem;
  height: 1px;
  background: hsla(20, 75%, 45%, 0.35);
}

.hero-eyebrow-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  padding: 0 2rem;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px hsla(20, 75%, 45%, 0.25);
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 6px 24px hsla(20, 75%, 45%, 0.35);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  padding: 0 2rem;
  background: var(--card);
  color: var(--fg);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}

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

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 1023px) {
  .hero-image-wrap {
    aspect-ratio: 4/3;
    max-height: 480px;
  }
}

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

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

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

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

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 36rem;
}

.two-col {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .two-col.reverse > :first-child {
    order: 2;
  }

  .two-col.reverse > :last-child {
    order: 1;
  }
}

.image-decorated {
  position: relative;
}

.image-decorated::before {
  content: '';
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  background: var(--card-alt);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.image-decorated img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--card-alt);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.625rem;
}

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

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

.process-item {
  display: flex;
  gap: 1.25rem;
}

.process-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.process-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  stroke-width: 1.5;
}

.process-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

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

.instructor-wrap {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.instructor-photo {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--card);
  box-shadow: var(--shadow-md);
}

.instructor-name {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.instructor-bio {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
}

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

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

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

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

.faq-chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted);
  transition: transform 0.3s;
}

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

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}

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

.enroll-box {
  background: var(--bg);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-xl);
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .enroll-box {
    padding: 4rem 3rem;
  }
}

@media (min-width: 1024px) {
  .enroll-box-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.enroll-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.enroll-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.enroll-image {
  display: none;
}

@media (min-width: 1024px) {
  .enroll-image {
    display: block;
  }

  .enroll-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius);
  }
}

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

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

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

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(20, 75%, 45%, 0.12);
}

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

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

.form-input.error + .form-error {
  display: block;
}

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

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

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

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.25rem;
  padding: 0 2rem;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px hsla(20, 75%, 45%, 0.25);
}

.btn-submit:hover {
  opacity: 0.9;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-submit svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.2s;
}

.btn-submit:not(:disabled):hover svg {
  transform: translateX(3px);
}

footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  line-height: 1.65;
  max-width: 18rem;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.875rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  transition: color 0.2s;
}

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

.footer-details {
  line-height: 1.9;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

@media (min-width: 640px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
  }
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: hsla(20, 75%, 45%, 0.4);
  transition: text-decoration-color 0.2s;
}

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

.cookie-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 2.375rem;
  padding: 0 1.25rem;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-btn:hover {
  opacity: 0.88;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
}

@media (min-width: 768px) {
  .legal-page {
    padding: 8rem 3rem 6rem;
  }
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--fg);
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

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

.legal-page p {
  margin-bottom: 1.125rem;
  line-height: 1.75;
  color: var(--fg);
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

.legal-page ul {
  margin-bottom: 1.125rem;
  padding-left: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--fg);
}

.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

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

.success-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: hsla(20, 75%, 45%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--primary);
}

.success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 1.5;
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.success-text {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
