/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --bg:           #FAF8F4;
  --surface:      #FFFFFF;
  --text:         #1C1612;
  --text-muted:   #7A6E65;
  --accent:       #C4956A;
  --accent-hov:   #B07F58;
  --accent-light: #F2E8DC;
  --border:       #EAE2D8;
  --dark:         #1C1612;
  --dark-surface: #231E19;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.55, 1);

  --nav-h: 68px;
  --page-px: clamp(1.25rem, 5vw, 5rem);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* =============================================
   TYPOGRAPHY TOKENS
   ============================================= */
.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.label--light { color: rgba(255,255,255,0.55); }

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.38s; }

/* Hero loads on page load, not on scroll */
.hero-anim {
  opacity: 0;
  transform: translateY(24px);
}

.hero-anim--1 { animation: heroReveal 0.9s var(--ease-out) 0.1s forwards; }
.hero-anim--2 { animation: heroReveal 0.9s var(--ease-out) 0.22s forwards; }
.hero-anim--3 { animation: heroReveal 0.9s var(--ease-out) 0.38s forwards; }
.hero-anim--4 { animation: heroReveal 0.9s var(--ease-out) 0.52s forwards; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: background 0.25s var(--ease-out),
              color 0.25s var(--ease-out),
              transform 0.18s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
  white-space: nowrap;
}

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

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background: var(--accent-hov);
  box-shadow: 0 8px 24px -6px rgba(196,149,106,0.4);
}

.btn--dark {
  background: var(--dark);
  color: #fff;
}
.btn--dark:hover {
  background: #2e261f;
  box-shadow: 0 8px 24px -6px rgba(28,22,18,0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--text-muted);
  background: rgba(0,0,0,0.03);
}

.btn--light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--light:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.45);
}

.btn--lg {
  padding: 0.9rem 2.25rem;
  font-size: 0.9rem;
}

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

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              backdrop-filter 0.4s;
}

.nav.is-scrolled {
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--page-px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
}

.nav__logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav__links {
  display: none;
  gap: 2.25rem;
  margin-left: auto;
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link.is-active { color: var(--text); }

.nav__cta {
  display: none;
  margin-left: 1.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.8rem;
}

.nav__burger {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  transform-origin: center;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease-out);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.mobile-menu__link:hover { color: var(--accent); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100dvh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: linear-gradient(135deg, var(--accent-light) 0%, transparent 70%);
  border-radius: 50% 0 0 60%;
  pointer-events: none;
}

.hero__grid {
  flex: 1;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--page-px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__photo-wrap {
  position: relative;
  display: inline-block;
  border-radius: 2px 40% 2px 40%;
  overflow: hidden;
  max-width: 380px;
  width: 100%;
}

.hero__photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.6s var(--ease-out);
}

.hero__photo-wrap:hover .hero__photo {
  transform: scale(1.03);
}

.hero__photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.hero__photo-badge-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}

.hero__photo-badge-text {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-muted);
  font-weight: 500;
}

/* Decorative elements */
.hero__decor { position: absolute; pointer-events: none; }

.hero__decor--ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  top: -30px;
  right: -20px;
  animation: spinSlow 30s linear infinite;
}

.hero__decor--ring::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.hero__decor--dot-grid {
  bottom: 2rem;
  right: -1rem;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.35;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--page-px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.75rem var(--page-px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stats__num-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.stats__num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stats__unit {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--accent);
  font-weight: 400;
}

.stats__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 18ch;
}

.stats__divider {
  display: none;
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: clamp(4rem, 10vw, 8rem) var(--page-px);
}

.about__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.about__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about__photo-wrap {
  border-radius: 40% 4px 40% 4px;
  overflow: hidden;
  max-width: 440px;
  width: 100%;
}

.about__photo {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.7s var(--ease-out);
}

.about__photo-wrap:hover .about__photo {
  transform: scale(1.04);
}

.about__quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  max-width: 400px;
}

.about__quote-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--accent);
}

.about__quote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.about__quote-author {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.about__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.about__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.about__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 1rem;
}

.about__creds {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 480px;
}

.about__cred {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

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

.about__cred-line {
  width: 2px;
  height: 36px;
  background: var(--accent-light);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  overflow: hidden;
}

.about__cred-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: top 0.4s var(--ease-out);
}

.about__cred:hover .about__cred-line::after { top: 0; }

.about__cred-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.about__cred-body strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.about__cred-body span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: clamp(3rem, 8vw, 6rem) var(--page-px);
  background: var(--surface);
}

.services__header {
  max-width: 1320px;
  margin: 0 auto 3.5rem;
}

.services__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.services__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.services__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 40ch;
}

/* Course Card */
.course {
  max-width: 1320px;
  margin: 0 auto 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr;
  transition: box-shadow 0.3s var(--ease-out);
}

.course:hover {
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.1);
}

.course__body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.course__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.course__tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.course__date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.course__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.course__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 55ch;
}

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

.course__includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.course__includes li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.5em;
}

.course__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.course__price-block {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.course__price-old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.course__price {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Program modules */
.course__program {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.course__program-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.course__module {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: flex-start;
}

.course__module-num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  padding-top: 0.1em;
}

.course__module-body strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.course__module-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Featured course */
.course--featured {
  border-color: var(--accent);
  background: var(--text);
  position: relative;
}

.course--featured .course__title,
.course--featured .course__module-body strong {
  color: #fff;
}

.course--featured .course__desc,
.course--featured .course__includes li,
.course--featured .course__date,
.course--featured .course__module-body p {
  color: rgba(255,255,255,0.55);
}

.course--featured .course__price-old {
  color: rgba(255,255,255,0.4);
}

.course--featured .course__price {
  color: #fff;
}

.course--featured .course__tag {
  background: rgba(196,149,106,0.2);
  color: var(--accent);
}

.course--featured .course__includes li::before {
  background: var(--accent);
}

.course--featured .course__price-row {
  border-top-color: rgba(255,255,255,0.1);
}

.course__featured-label {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(196,149,106,0.35);
  border-radius: 100px;
}

/* Weeks grid */
.course__weeks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.course__week {
  padding: 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}

.course__week-num {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}

.course__week strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.course__week p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.45;
}

.course__result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.75rem;
  background: rgba(196,149,106,0.1);
  border: 1px solid rgba(196,149,106,0.2);
  border-radius: 6px;
}

/* =============================================
   EVENT: BEAUTY РЕЙС
   ============================================= */
.event {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.event::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,149,106,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.event__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) var(--page-px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

.event__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.event__title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
}

.event__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.event__when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.event__date-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.event__location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.event__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 46ch;
}

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

.event__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.event__list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.event__tariffs {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}

.event__tariff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
}

.event__tariff:last-child { border-bottom: none; }

.event__tariff--accent { background: rgba(196,149,106,0.08); }

.event__tariff-name {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
}

.event__tariff-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.event__tariff--accent .event__tariff-price { color: var(--accent); }

.event__dresscode {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}

/* Event Visual */
.event__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.event__photo {
  width: 100%;
  max-width: 480px;
  object-fit: cover;
  border-radius: 4px 40% 4px 40%;
  aspect-ratio: 5 / 6;
}

.event__photo-caption {
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: clamp(4rem, 10vw, 8rem) var(--page-px);
}

.contact__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.contact__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact__address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}

.contact__channel:first-child { border-top: 1px solid var(--border); }
.contact__channel:hover { opacity: 0.7; }

.contact__channel-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 8px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact__channel strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.1rem;
}

.contact__channel span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-optional {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.12);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6E65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

/* Form validation */
.form-group.has-error input,
.form-group.has-error select {
  border-color: #d94f4f;
  box-shadow: 0 0 0 3px rgba(217,79,79,0.1);
}

.form-error {
  font-size: 0.75rem;
  color: #c0392b;
  display: none;
}

.form-group.has-error .form-error { display: block; }

.form-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(196,149,106,0.08);
  border: 1px solid rgba(196,149,106,0.25);
  border-radius: 10px;
}

.form-success[hidden] { display: none; }

.form-success__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-success strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.form-success p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  padding: 3rem var(--page-px) 2rem;
}

.footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
}

.footer__tagline {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.5);
  transition: border-color 0.2s, color 0.2s;
}

.footer__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer__bottom {
  max-width: 1320px;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.footer__bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.5;
}

/* =============================================
   RESPONSIVE — TABLET (640px+)
   ============================================= */
@media (min-width: 640px) {
  .stats__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .stats__item {
    padding: 0;
  }

  .stats__divider {
    display: none;
  }

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

/* =============================================
   RESPONSIVE — DESKTOP (900px+)
   ============================================= */
@media (min-width: 900px) {

  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: calc(100dvh - var(--nav-h));
  }

  .hero__photo-wrap {
    max-width: 500px;
  }

  .stats__inner {
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
    gap: 0;
  }

  .stats__item {
    padding: 0 2.5rem;
  }

  .stats__item:first-child { padding-left: 0; }
  .stats__item:last-child { padding-right: 0; }

  .stats__divider { display: block; }

  .about__inner {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    gap: 5rem;
  }

  .about__photo-wrap {
    max-width: 100%;
  }

  .about__visual {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
  }

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

  .course__program {
    border-top: none;
    border-left: 1px solid var(--border);
  }

  .course--featured .course__program {
    border-left-color: rgba(255,255,255,0.07);
  }

  .event__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact__inner {
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
  }

  .contact__info {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
  }
}

/* =============================================
   RESPONSIVE — WIDE (1200px+)
   ============================================= */
@media (min-width: 1200px) {
  .hero__grid {
    grid-template-columns: 55% 45%;
  }

  .hero__photo-wrap {
    max-width: 520px;
  }
}

/* =============================================
   IMAGE PLACEHOLDER (offline fallback)
   ============================================= */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 320px;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.06) 100%);
  pointer-events: none;
}

.img-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(28,22,18,0.5);
  text-align: center;
  padding: 1.5rem;
}

.img-placeholder__inner span {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.03em;
  color: rgba(28,22,18,0.45);
  line-height: 1.4;
}

/* Hero photo placeholder matches the photo-wrap shape */
.hero__photo-wrap .img-placeholder {
  aspect-ratio: 4 / 5;
  min-height: unset;
  border-radius: inherit;
}

/* About photo placeholder */
.about__photo-wrap .img-placeholder {
  aspect-ratio: 4 / 5;
  min-height: unset;
  border-radius: inherit;
}

/* Event photo placeholder */
.event__photo.img-placeholder,
.event__visual .img-placeholder {
  aspect-ratio: 5 / 6;
  min-height: unset;
  border-radius: 4px 40% 4px 40%;
  max-width: 480px;
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-anim {
    opacity: 1;
    transform: none;
  }
}
