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

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

:root {
  --clay: #c47c4a;
  --clay-dark: #9c5f2f;
  --clay-light: #e8b48a;
  --cream: #fdf8f3;
  --cream-mid: #f5ede3;
  --brown: #2c1a0e;
  --brown-mid: #6b4f3a;
  --brown-light: #a07c60;
  --sage: #7a8f6e;
  --sage-light: #c4d4bc;
  --white: #ffffff;
  --border: #e0cfc0;
  --shadow: rgba(44, 26, 14, 0.12);
  --radius: 10px;
  --max-w: 1120px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--brown);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--clay-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover, a:focus {
  color: var(--clay);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--brown-mid);
  max-width: 600px;
  line-height: 1.75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 243, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--clay);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--brown-mid);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover, .nav-links a:focus {
  color: var(--clay);
  text-decoration: none;
}

.nav-cta {
  background: var(--clay) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover, .nav-cta:focus {
  background: var(--clay-dark) !important;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--brown);
}

.nav-burger svg {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream-mid);
  padding: 80px 0;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clay-light);
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--clay);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--brown-mid);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 6px 32px var(--shadow);
}

.hero-form-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}

.hero-form-sub {
  font-size: 0.88rem;
  color: var(--brown-light);
  margin-bottom: 24px;
}

.hero-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px var(--shadow);
  aspect-ratio: 4/3;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(196, 124, 74, 0.15);
}

.form-group input::placeholder {
  color: var(--brown-light);
}

.form-consent {
  font-size: 0.78rem;
  color: var(--brown-light);
  margin-top: 12px;
  line-height: 1.5;
}

.form-consent a {
  color: var(--clay-dark);
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 14px 28px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(196, 124, 74, 0.3);
}

.btn-primary:hover {
  background: var(--clay-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 124, 74, 0.35);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--clay-dark);
  border: 2px solid var(--clay);
}

.btn-outline:hover {
  background: var(--clay);
  color: var(--white);
  text-decoration: none;
}

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

.btn-large {
  padding: 16px 40px;
  font-size: 1rem;
}

.learn {
  padding: 96px 0;
  background: var(--white);
}

.learn-header {
  text-align: center;
  margin-bottom: 56px;
}

.learn-header .section-lead {
  margin: 0 auto;
}

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

.learn-card {
  background: var(--cream-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.learn-card:hover {
  box-shadow: 0 4px 20px var(--shadow);
  transform: translateY(-2px);
}

.learn-card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.learn-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}

.learn-card-desc {
  font-size: 0.88rem;
  color: var(--brown-mid);
  line-height: 1.65;
}

.format {
  padding: 96px 0;
  background: var(--cream-mid);
}

.format-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.format-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 32px var(--shadow);
}

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

.format-steps {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.format-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.format-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.format-step-body {
  padding-top: 4px;
}

.format-step-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brown);
  margin-bottom: 3px;
}

.format-step-desc {
  font-size: 0.87rem;
  color: var(--brown-mid);
}

.gallery {
  padding: 96px 0;
  background: var(--white);
}

.gallery-header {
  text-align: center;
  margin-bottom: 52px;
}

.gallery-header .section-lead {
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 3px 16px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: scale(1.025);
  box-shadow: 0 6px 28px rgba(44, 26, 14, 0.18);
}

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

.instructor {
  padding: 96px 0;
  background: var(--cream-mid);
}

.instructor-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: center;
}

.instructor-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 32px var(--shadow);
  background: var(--cream);
  aspect-ratio: 3/4;
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.instructor-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--clay-light) 0%, var(--cream-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 380px;
}

.instructor-photo-placeholder span {
  font-size: 4rem;
}

.instructor-photo-placeholder p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--brown-mid);
  font-style: italic;
}

.instructor-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}

.instructor-role {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.instructor-bio {
  font-size: 1rem;
  color: var(--brown-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

.instructor-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.instructor-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--brown-mid);
}

.instructor-highlight::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}

.faq {
  padding: 96px 0;
  background: var(--white);
}

.faq-header {
  text-align: center;
  margin-bottom: 52px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.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;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  padding: 22px 48px 22px 0;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

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

.faq-question:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--clay);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clay);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--clay);
  color: var(--white);
}

.faq-answer {
  display: none;
  padding: 0 16px 22px 0;
  font-size: 0.95rem;
  color: var(--brown-mid);
  line-height: 1.75;
}

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

.lead-form {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--cream-mid) 0%, var(--cream) 100%);
}

.lead-form-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.lead-form-inner .section-title {
  margin-bottom: 12px;
}

.lead-form-inner .section-lead {
  margin: 0 auto 40px;
  text-align: center;
}

.lead-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 48px;
  box-shadow: 0 6px 32px var(--shadow);
  text-align: left;
}

.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-legal-company {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover, .footer-col a:focus {
  color: var(--clay-light);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--brown);
  color: rgba(255,255,255,0.85);
  padding: 18px 24px;
  display: none;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

.cookie-banner-text a {
  color: var(--clay-light);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--clay);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

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

.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 16px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.87rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-cookie-decline:hover {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.5);
}

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

.legal-page-header {
  padding: 60px 0 48px;
  background: var(--cream-mid);
  border-bottom: 1px solid var(--border);
}

.legal-page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}

.legal-page-date {
  font-size: 0.88rem;
  color: var(--brown-light);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 56px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown);
  margin: 40px 0 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--brown-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 0.95rem;
  color: var(--brown-mid);
  line-height: 1.8;
  margin-bottom: 6px;
}

.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: var(--cream-mid);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}

.success-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 16px;
}

.success-text {
  font-size: 1.05rem;
  color: var(--brown-mid);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.trust-strip {
  padding: 40px 0;
  background: var(--cream-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--brown-mid);
  font-weight: 700;
}

.trust-item span:first-child {
  font-size: 1.2rem;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);
  flex-direction: column;
  padding: 24px;
}

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

.nav-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.nav-mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brown);
  font-size: 1.5rem;
  padding: 8px;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-mobile-links a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--brown);
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-img-wrap {
    display: none;
  }

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

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

  .instructor-photo {
    max-width: 280px;
    margin: 0 auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

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

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

  .nav-burger {
    display: block;
  }

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

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

  .lead-form-card {
    padding: 28px 20px;
  }

  .trust-items {
    gap: 28px;
  }
}

@media (max-width: 500px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
