/* ==========================================================================
   YogaForYou Baden — Swiss Botanical Editorial Design System
   Warm Alabaster · Deep Eucalyptus Sage · Sunset Terracotta
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-canvas: #faf8f4;
  --bg-surface: #ffffff;
  --bg-warm: #f3ede3;
  --bg-sage-tint: #ebf1ec;
  --bg-terracotta-tint: #f9efe9;

  --sage-900: #1e352c;
  --sage-800: #2a473c;
  --sage-700: #395c4e;
  --sage-600: #4c7464;
  --sage-200: #d1dfd6;

  --terracotta-600: #b85d3b;
  --terracotta-500: #c96f4b;
  --terracotta-400: #db8c6b;

  --ink-900: #1c221f;
  --ink-700: #3d4742;
  --ink-500: #606c66;
  --ink-400: #7f8a84;

  --border-subtle: rgba(30, 53, 44, 0.11);
  --border-strong: rgba(30, 53, 44, 0.22);

  --danger-bg: #fdf2f0;
  --danger-text: #a33424;
  --danger-border: rgba(163, 52, 36, 0.25);

  --amber-bg: #fdf8eb;
  --amber-text: #7c5210;
  --amber-border: rgba(176, 121, 24, 0.3);

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Spacing & Layout */
  --container-max: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(28, 34, 31, 0.05);
  --shadow-sm: 0 6px 20px rgba(30, 53, 44, 0.06);
  --shadow-md: 0 16px 40px rgba(30, 53, 44, 0.09);
  --shadow-lg: 0 24px 60px rgba(30, 53, 44, 0.14);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--terracotta-500);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  padding: 96px 0;
}

.section--warm {
  background-color: var(--bg-warm);
}

.section--sage {
  background-color: var(--bg-sage-tint);
}

.section--white {
  background-color: var(--bg-surface);
}

/* Typography Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background-color: var(--terracotta-500);
}

.section-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header--center .eyebrow::before {
  display: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--sage-900);
  margin: 0 0 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--sage-800);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(42, 71, 60, 0.22);
}

.btn--primary:hover {
  background-color: var(--sage-900);
  box-shadow: 0 12px 26px rgba(30, 53, 44, 0.28);
}

.btn--accent {
  background-color: var(--terracotta-500);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(201, 111, 75, 0.25);
}

.btn--accent:hover {
  background-color: var(--terracotta-600);
}

.btn--outline {
  background-color: transparent;
  color: var(--sage-900);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  background-color: var(--sage-900);
  border-color: var(--sage-900);
  color: #ffffff;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

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

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

/* ==========================================================================
   Announcement Bar & Header
   ========================================================================== */
.announcement-bar {
  background-color: var(--sage-900);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  padding: 9px 16px;
}

.announcement-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  text-align: center;
}

.announcement-bar__link {
  color: #f4c8b1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-bar__link:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  background-color: rgba(250, 248, 244, 0.96);
  box-shadow: var(--shadow-xs);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--sage-900);
  letter-spacing: -0.01em;
}

.brand__sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--terracotta-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--sage-900);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-500);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-btn.is-active {
  background-color: var(--bg-surface);
  color: var(--sage-900);
  box-shadow: var(--shadow-xs);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--sage-900);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px 24px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer__list a {
  display: block;
  padding: 10px 4px;
  font-weight: 600;
  color: var(--sage-900);
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 56px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 111, 75, 0.1) 0%,
    rgba(250, 248, 244, 0) 70%
  );
  pointer-events: none;
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 5.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--sage-900);
  margin: 0 0 22px;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta-600);
}

.hero__subtitle {
  font-size: 1.075rem;
  color: var(--ink-500);
  line-height: 1.72;
  max-width: 520px;
  margin: 0 0 32px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.hero-fact__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 4px;
}

.hero-fact__value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sage-900);
}

.hero-visual {
  position: relative;
}

.hero-visual__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.3;
  background-color: var(--bg-warm);
}

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

.hero-visual__card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.hero-visual__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-sage-tint);
  color: var(--sage-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-visual__card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sage-900);
  margin: 0 0 2px;
}

.hero-visual__card-detail {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: 0;
}

/* ==========================================================================
   Courses Section
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.course-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.course-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-warm);
}

.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.course-card:hover .course-card__media img {
  transform: scale(1.03);
}

.course-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--sage-900);
  box-shadow: var(--shadow-xs);
}

.course-badge--accent {
  background-color: var(--terracotta-500);
  color: #ffffff;
}

.course-card__body {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-sage-tint);
  color: var(--sage-900);
}

.meta-pill--price {
  background-color: var(--bg-terracotta-tint);
  color: var(--terracotta-600);
}

.course-card__title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--sage-900);
  margin: 0 0 10px;
  line-height: 1.15;
}

.course-card__summary {
  color: var(--ink-500);
  font-size: 0.96rem;
  margin: 0 0 20px;
}

.course-card__list-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 12px;
}

.course-card__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--ink-700);
  line-height: 1.55;
}

.course-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--terracotta-500);
}

.course-card__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.course-card__venue {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--ink-500);
}

/* Private Session Wide Card */
.private-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  box-shadow: var(--shadow-sm);
}

.private-card__media {
  position: relative;
  min-height: 280px;
  background-color: var(--bg-warm);
}

.private-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.private-card__body {
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   Schedule & Pricing Band
   ========================================================================== */
.schedule-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-table-wrap {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-400);
  padding: 18px 24px;
  background-color: rgba(243, 237, 227, 0.55);
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.schedule-day {
  font-weight: 700;
  color: var(--sage-900);
  display: block;
}

.schedule-time {
  font-size: 0.88rem;
  color: var(--terracotta-600);
  font-weight: 600;
}

.schedule-course {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sage-900);
}

.schedule-venue {
  font-size: 0.9rem;
  color: var(--ink-500);
}

.schedule-rate {
  font-weight: 700;
  color: var(--sage-900);
  white-space: nowrap;
}

.guarantee-box {
  margin-top: 24px;
  background-color: var(--bg-surface);
  border: 1px solid var(--sage-200);
  border-left: 4px solid var(--sage-800);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.guarantee-box__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-sage-tint);
  color: var(--sage-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-box h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sage-900);
}

.guarantee-box p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-500);
}

/* ==========================================================================
   Benefits Grid
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.benefit-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: var(--bg-sage-tint);
  color: var(--sage-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sage-900);
  margin: 0 0 10px;
  line-height: 1.2;
}

.benefit-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-500);
  line-height: 1.65;
}

/* ==========================================================================
   My Journey (Instructor Bio)
   ========================================================================== */
.journey-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.journey-photo-wrap {
  position: relative;
}

.journey-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.5;
  background-color: var(--bg-warm);
}

.journey-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
}

.journey-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.journey-stat {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
}

.journey-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sage-900);
  line-height: 1.1;
}

.journey-stat__label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-top: 4px;
}

.journey-quote {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.38;
  color: var(--terracotta-600);
  margin: 0 0 24px;
  padding-left: 20px;
  border-left: 3px solid var(--terracotta-400);
}

.journey-copy p {
  margin: 0 0 16px;
  color: var(--ink-700);
  font-size: 0.99rem;
}

.journey-signature {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.journey-signature__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--sage-900);
  margin: 0;
}

.journey-signature__role {
  font-size: 0.88rem;
  color: var(--ink-500);
  margin: 2px 0 0;
}

/* ==========================================================================
   Gallery & Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(
    to top,
    rgba(24, 34, 29, 0.82) 0%,
    rgba(24, 34, 29, 0) 100%
  );
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.gallery-item:hover .gallery-item__caption,
.gallery-item:focus-visible .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(18, 25, 22, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__dialog {
  position: relative;
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-top: 14px;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background-color: rgba(255, 255, 255, 0.26);
}

.lightbox__close {
  top: 22px;
  right: 22px;
}

.lightbox__prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--sage-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--terracotta-500);
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  padding: 0 24px 22px;
  color: var(--ink-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Registration & Contact Section (EmailJS)
   ========================================================================== */
.register-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--sage-900);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 22px;
  color: #ffffff;
}

.contact-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-list__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.11);
  color: #f4c8b1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list__label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}

.contact-list__value {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}

.contact-list__value a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s var(--ease);
}

.maps-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.tip-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.tip-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--sage-900);
}

.tip-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-500);
}

/* Form Card */
.form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 36px 34px;
  box-shadow: var(--shadow-md);
}

.setup-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background-color: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-text);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.setup-banner[hidden] {
  display: none;
}

.setup-banner strong {
  display: block;
  margin-bottom: 2px;
}

.setup-banner code {
  background-color: rgba(124, 82, 16, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.82rem;
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 22px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sage-900);
  margin-bottom: 7px;
}

.form-label__opt {
  font-weight: 400;
  color: var(--ink-400);
  font-size: 0.82rem;
}

.form-label__req {
  color: var(--terracotta-600);
}

.reg-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reg-type-option {
  position: relative;
}

.reg-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reg-type-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11px 12px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-canvas);
  color: var(--ink-700);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.reg-type-option input:checked + label {
  border-color: var(--sage-800);
  background-color: var(--bg-sage-tint);
  color: var(--sage-900);
  box-shadow: 0 0 0 1px var(--sage-800);
}

.reg-type-option input:focus-visible + label {
  outline: 2px solid var(--terracotta-500);
  outline-offset: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--ink-900);
  background-color: var(--bg-canvas);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--sage-700);
  box-shadow: 0 0 0 3px rgba(57, 92, 78, 0.14);
}

.form-control.is-invalid {
  border-color: var(--danger-text);
  background-color: var(--danger-bg);
}

select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232a473c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 104px;
}

.field-error {
  display: block;
  font-size: 0.82rem;
  color: var(--danger-text);
  margin-top: 5px;
  min-height: 0;
}

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

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

.form-alert__link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-privacy {
  font-size: 0.82rem;
  color: var(--ink-400);
  margin: 0 0 18px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

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

/* Registration Confirmation Card */
.success-panel {
  text-align: left;
  padding: 8px 0;
}

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

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  background-color: var(--bg-sage-tint);
  color: var(--sage-800);
  margin-bottom: 16px;
}

.success-badge--demo {
  background-color: var(--amber-bg);
  color: var(--amber-text);
}

.success-panel h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--sage-900);
  margin: 0 0 10px;
}

.success-panel__text {
  color: var(--ink-500);
  font-size: 0.96rem;
  margin: 0 0 24px;
}

.success-summary {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
  display: grid;
  gap: 12px;
}

.success-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 10px;
}

.success-summary__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.success-summary__label {
  color: var(--ink-400);
  font-weight: 500;
}

.success-summary__val {
  color: var(--sage-900);
  font-weight: 600;
  text-align: right;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--sage-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 68px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand__logo {
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  padding: 3px;
  object-fit: contain;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 310px;
  margin: 0;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4c8b1;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ==========================================================================
   Subtle Scroll Reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1040px) {
  .nav-inner > nav,
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .nav-actions .btn {
    display: none;
  }
  .hero-grid,
  .journey-grid,
  .register-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .container {
    padding: 0 18px;
  }
  .nav-inner {
    height: 68px;
    gap: 10px;
  }
  .brand {
    gap: 10px;
    min-width: 0;
  }
  .brand__logo {
    width: 38px;
    height: 38px;
  }
  .brand__name {
    font-size: 1.35rem;
  }
  .brand__sub {
    font-size: 0.65rem;
  }
  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .lang-btn {
    padding: 4px 8px;
  }
  .section {
    padding: 68px 0;
  }
  .hero {
    padding: 36px 0 60px;
  }
  .courses-grid,
  .private-card,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-card {
    padding: 26px 20px;
  }
  .form-row,
  .reg-type-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .schedule-table th,
  .schedule-table td {
    padding: 14px 12px;
  }
  .schedule-table th:nth-child(3),
  .schedule-table td:nth-child(3) {
    display: none;
  }
  .gallery-item__caption {
    opacity: 1;
    transform: none;
  }
}
