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

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

:root {
  --bg: hsl(36, 29%, 97%);
  --fg: hsl(34, 8%, 16%);
  --border: hsl(38, 25%, 86%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(13, 37%, 52%);
  --primary-fg: hsl(36, 29%, 97%);
  --muted: hsl(40, 27%, 91%);
  --muted-fg: hsl(34, 8%, 40%);
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 12px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.07);
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

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

header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background-color: hsla(36, 29%, 97%, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

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

.logo {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  color: var(--fg);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

nav a {
  color: var(--muted-fg);
  transition: color 0.2s;
}

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

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

nav a.nav-cta:hover {
  opacity: 0.8;
}

.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-color: 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;
  gap: 0;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 39;
  box-shadow: var(--shadow);
}

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

.mobile-nav a {
  padding: 0.75rem 1.5rem;
  color: var(--muted-fg);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}

.mobile-nav a:hover {
  color: var(--fg);
  background-color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.88;
}

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

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

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn--full {
  width: 100%;
}

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

.section {
  padding: 5rem 0;
}

.section--muted {
  background-color: var(--muted);
  border-top: 1px solid hsla(38, 25%, 86%, 0.5);
  border-bottom: 1px solid hsla(38, 25%, 86%, 0.5);
}

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

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

.hero {
  background-color: hsla(40, 27%, 91%, 0.35);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 4rem;
}

.hero-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: hsla(13, 37%, 52%, 0.12);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--muted-fg);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

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

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

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

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

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

.outcome-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--fg);
}

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

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

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

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

.step-num {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: hsla(13, 37%, 52%, 0.35);
  line-height: 1;
  padding-top: 0.25rem;
  flex-shrink: 0;
  width: 2.5rem;
}

.step-body h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--fg);
}

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

.process-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.process-images .img-top {
  margin-top: 2rem;
}

.process-images img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.instructor-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.instructor-text {
  padding: 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.instructor-text h2 {
  font-family: 'Lora', serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.instructor-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.instructor-text p {
  color: var(--muted-fg);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.instructor-text p:last-child {
  margin-bottom: 0;
}

.instructor-image {
  min-height: 480px;
  overflow: hidden;
}

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

.gallery-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 21/9;
}

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

.enroll-block {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-xl);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.enroll-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1rem;
}

.enroll-lead {
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.enroll-perks {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.enroll-perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--fg);
}

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

.form-box {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--card);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: hsl(34, 8%, 60%);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

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

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

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

footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  color: var(--fg);
  display: inline-block;
  margin-bottom: 0.875rem;
}

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

.footer-col h4 {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--fg);
}

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

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

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

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

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

.footer-details a {
  color: var(--muted-fg);
  transition: color 0.2s;
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
  animation: slide-up 0.3s ease;
}

@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

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

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

.btn--cookie {
  padding: 0.625rem 1.5rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

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

.legal-page h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2rem;
}

.legal-content {
  color: var(--muted-fg);
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content h2 {
  font-family: 'Lora', serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--fg);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-content strong {
  font-weight: 600;
  color: var(--fg);
}

.success-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: hsla(13, 37%, 52%, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.success-icon svg {
  color: var(--primary);
}

.success-page h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1rem;
}

.success-page p {
  color: var(--muted-fg);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 2.5rem;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 0 3rem;
  }

  .hero-subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image-wrap {
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-images {
    order: -1;
    max-width: 480px;
  }

  .instructor-card {
    grid-template-columns: 1fr;
  }

  .instructor-text {
    order: 2;
    padding: 2.5rem;
  }

  .instructor-image {
    order: 1;
    min-height: 320px;
    max-height: 400px;
  }

  .enroll-block {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2rem;
  }

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

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

  .burger {
    display: flex;
  }

  .section {
    padding: 3.5rem 0;
  }

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

  .gallery-wrap {
    aspect-ratio: 4/3;
  }

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

  .enroll-block {
    padding: 1.75rem;
  }

  .form-box {
    padding: 1.5rem;
  }

  .instructor-text {
    padding: 2rem 1.5rem;
  }

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

  .btn--cookie {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .process-images {
    grid-template-columns: 1fr;
  }

  .process-images .img-top {
    margin-top: 0;
  }
}
