:root {
  --color-bg: #f5f3ef;
  --color-bg-alt: #eeeae3;
  --color-surface: #faf8f4;
  --color-surface-2: #f0ece4;
  --color-primary: #2c3e2d;
  --color-primary-light: #3d5c3f;
  --color-primary-dark: #1a2a1b;
  --color-accent: #b8935a;
  --color-accent-light: #d4aa75;
  --color-accent-dark: #8a6a38;
  --color-text: #1e1e1e;
  --color-text-muted: #5a5650;
  --color-text-light: #8a857d;
  --color-border: #ddd8cf;
  --color-white: #fdfcfa;
  --color-dark: #141410;

  --shadow-xs: 0 1px 3px rgba(28,24,16,0.06), 0 1px 2px rgba(28,24,16,0.04);
  --shadow-sm: 0 2px 8px rgba(28,24,16,0.08), 0 1px 3px rgba(28,24,16,0.06);
  --shadow-md: 0 4px 16px rgba(28,24,16,0.10), 0 2px 6px rgba(28,24,16,0.06);
  --shadow-lg: 0 8px 32px rgba(28,24,16,0.12), 0 4px 12px rgba(28,24,16,0.08);
  --shadow-xl: 0 16px 48px rgba(28,24,16,0.14), 0 8px 20px rgba(28,24,16,0.08);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --font-body: 'Space Grotesk', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  --sidebar-width: 240px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

ul, ol {
  list-style: none;
}

.global-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(184,147,90,0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.global-label--light {
  color: var(--color-accent-light);
  background: rgba(212,170,117,0.18);
}

.global-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
}

.global-btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.global-btn--primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.global-btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.global-btn--ghost:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

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

.global-btn--outline:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-2);
  transform: translateY(-1px);
}

.global-btn--light {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.global-btn--light:hover {
  background: var(--color-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== GLOBAL HEADER ===== */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(245,243,239,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-100%);
  transition: transform var(--transition-slow);
}

.global-header.is-visible {
  transform: translateY(0);
}

.global-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.global-header__logo img {
  height: 32px;
  width: auto;
}

.global-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.global-header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 6px 2px;
  position: relative;
  transition: color var(--transition-fast);
}

.global-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.global-header__nav-link:hover {
  color: var(--color-primary);
}

.global-header__nav-link:hover::after {
  transform: scaleX(1);
}

.global-header__nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.global-header__nav-cta::after {
  display: none;
}

.global-header__nav-cta:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ===== HERO SECTION ===== */
.home-hero {
  min-height: 100vh;
  display: flex;
  background: var(--color-bg);
}

.home-hero__sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  background: var(--color-primary-dark);
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: var(--space-7) var(--space-5);
  gap: var(--space-7);
  flex-shrink: 0;
  z-index: 10;
}

.home-hero__sidebar-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.home-hero__sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.home-hero__sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(253,252,250,0.6);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-base);
}

.home-hero__sidebar-nav a i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.home-hero__sidebar-nav a:hover {
  background: rgba(253,252,250,0.08);
  color: var(--color-white);
}

.home-hero__sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.home-hero__sidebar-contact a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  color: rgba(253,252,250,0.45);
  transition: color var(--transition-fast);
}

.home-hero__sidebar-contact a i {
  color: var(--color-accent);
  font-size: 0.8rem;
}

.home-hero__sidebar-contact a:hover {
  color: rgba(253,252,250,0.75);
}

.home-hero__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-9) var(--space-8);
  gap: var(--space-6);
  min-height: 100vh;
}

.home-hero__atropos-wrap {
  width: 100%;
  max-width: 760px;
}

.home-hero__atropos {
  width: 100%;
  border-radius: var(--radius-xl);
}

.home-hero__card {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  position: relative;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(184,147,90,0.15);
}

.home-hero__card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(184,147,90,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.home-hero__card-content {
  padding: clamp(28px, 5vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  z-index: 2;
  position: relative;
}

.home-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.home-hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
}

.home-hero__title em {
  font-style: normal;
  color: var(--color-accent-light);
}

.home-hero__subtitle {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(253,252,250,0.65);
  line-height: 1.65;
  max-width: 320px;
}

.home-hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.home-hero__card-image {
  position: relative;
  overflow: hidden;
}

.home-hero__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.home-hero__card:hover .home-hero__card-image img {
  opacity: 0.85;
  transform: scale(1.03);
}

.home-hero__bento-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  max-width: 760px;
}

.home-hero__mini-cell {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.home-hero__mini-cell i {
  font-size: 1.3rem;
  color: var(--color-accent);
}

.home-hero__mini-cell span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.home-hero__mini-cell:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.home-hero__mini-cell:hover i,
.home-hero__mini-cell:hover span {
  color: var(--color-white);
}

.home-hero__mini-cell--a { border-top: 3px solid var(--color-accent); }
.home-hero__mini-cell--b { border-top: 3px solid var(--color-primary-light); }
.home-hero__mini-cell--c { border-top: 3px solid #7a9e7e; }
.home-hero__mini-cell--d { border-top: 3px solid #c4a882; }

/* ===== ABOUT SECTION ===== */
.home-about {
  padding: var(--space-10) 0;
  background: var(--color-surface);
}

.home-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.home-about__bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-4);
}

.home-about__cell {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.home-about__cell:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-about__cell--intro {
  grid-column: 1 / 3;
  grid-row: 1;
}

.home-about__cell--intro h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: var(--space-5);
}

.home-about__cell--intro p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.home-about__cell--image {
  grid-column: 3;
  grid-row: 1 / 3;
  padding: 0;
  overflow: hidden;
}

.home-about__cell--image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow);
}

.home-about__cell--image:hover img {
  transform: scale(1.04);
}

.home-about__cell--stat {
  grid-column: span 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.home-about__cell--stat2 {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.home-about__stat-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.home-about__stat-inner i {
  font-size: 1.8rem;
  color: var(--color-accent-light);
}

.home-about__cell--stat2 .home-about__stat-inner i {
  color: rgba(253,252,250,0.7);
}

.home-about__stat-inner strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
}

.home-about__stat-inner span {
  font-size: 0.8rem;
  color: rgba(253,252,250,0.65);
}

.home-about__cell--quote {
  grid-column: 1;
  grid-row: 2;
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  display: flex;
  align-items: center;
}

.home-about__cell--quote blockquote p {
  font-size: 1rem;
  font-style: italic;
  color: rgba(253,252,250,0.8);
  line-height: 1.65;
}

/* ===== INFO BLOCKS ===== */
.home-info-blocks {
  padding: var(--space-10) 0;
  background: var(--color-bg);
}

.home-info-blocks__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.home-info-blocks__header {
  text-align: center;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.home-info-blocks__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.home-info-blocks__header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-info-blocks__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.home-info-blocks__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.home-info-blocks__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.home-info-blocks__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.home-info-blocks__card:hover::before {
  transform: scaleX(1);
}

.home-info-blocks__card-icon {
  width: 52px;
  height: 52px;
  background: rgba(184,147,90,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: background var(--transition-base);
}

.home-info-blocks__card-icon i {
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: color var(--transition-base);
}

.home-info-blocks__card:hover .home-info-blocks__card-icon {
  background: var(--color-accent);
}

.home-info-blocks__card:hover .home-info-blocks__card-icon i {
  color: var(--color-white);
}

.home-info-blocks__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.home-info-blocks__card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== COURSES ===== */
.home-courses {
  padding: var(--space-10) 0;
  background: var(--color-surface);
}

.home-courses__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.home-courses__header {
  margin-bottom: var(--space-8);
}

.home-courses__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.home-courses__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-4);
}

.home-courses__cell {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.home-courses__cell:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.home-courses__cell--featured {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.home-courses__cell--featured img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.home-courses__cell--featured:hover img {
  transform: scale(1.04);
}

.home-courses__cell-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.home-courses__cell--featured {
  position: relative;
}

.home-courses__cell-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
}

.home-courses__cell-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

.home-courses__cell-body p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.home-courses__cell--standard {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.home-courses__cell-icon {
  width: 48px;
  height: 48px;
  background: rgba(44,62,45,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-courses__cell-icon i {
  font-size: 1.3rem;
  color: var(--color-primary);
}

.home-courses__cell--standard h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.home-courses__cell--standard p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  flex: 1;
}

.home-courses__cell--wide {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.home-courses__cell--wide img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.home-courses__cell--wide:hover img {
  transform: scale(1.04);
}

.home-courses__cell--compact {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.home-courses__cell--compact .home-courses__cell-icon {
  background: rgba(253,252,250,0.12);
}

.home-courses__cell--compact .home-courses__cell-icon i {
  color: var(--color-accent-light);
}

.home-courses__cell--compact h3 {
  color: var(--color-white);
}

.home-courses__cell--compact p {
  color: rgba(253,252,250,0.65);
}

/* ===== HOW IT WORKS ===== */
.home-how {
  padding: var(--space-10) 0;
  background: var(--color-bg-alt);
}

.home-how__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: var(--space-8) var(--space-10);
}

.home-how__header {
  grid-column: 1;
  grid-row: 1;
}

.home-how__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.home-how__header p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.home-how__steps {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.home-how__step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.home-how__step:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: var(--color-accent);
}

.home-how__step-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 40px;
  line-height: 1;
  padding-top: 2px;
}

.home-how__step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.home-how__step-content p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.home-how__image-wrap {
  grid-column: 2;
  grid-row: 1 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.home-how__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.home-how__image-wrap:hover img {
  transform: scale(1.04);
}

/* ===== CTA BANNER ===== */
.home-cta-banner {
  padding: var(--space-10) 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #3d5c3f 100%);
  position: relative;
  overflow: hidden;
}

.home-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(184,147,90,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.home-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 40%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(184,147,90,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.home-cta-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.home-cta-banner__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
}

.home-cta-banner__text {
  color: rgba(253,252,250,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
}

/* ===== GALLERY ===== */
.home-gallery {
  padding: var(--space-10) 0;
  background: var(--color-surface);
}

.home-gallery__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.home-gallery__header {
  margin-bottom: var(--space-8);
}

.home-gallery__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: var(--space-4);
}

.home-gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.home-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.home-gallery__item:hover img {
  transform: scale(1.06);
}

.home-gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,16,0.65) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.home-gallery__item:hover .home-gallery__item-overlay {
  opacity: 1;
}

.home-gallery__item-overlay span {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.home-gallery__item--large {
  grid-column: 1 / 3;
  grid-row: 1;
}

.home-gallery__item--tall {
  grid-column: 3;
  grid-row: 1 / 3;
}

/* ===== CONTACT ===== */
.home-contact {
  padding: var(--space-10) 0;
  background: var(--color-bg);
}

.home-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.home-contact__header {
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.home-contact__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.home-contact__header p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-contact__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  min-height: 520px;
}

.home-contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.home-contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
}

.home-contact__form-wrap {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.home-contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.home-contact__form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.home-contact__form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.home-contact__form-group input,
.home-contact__form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  min-height: 44px;
}

.home-contact__form-group input:focus,
.home-contact__form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(44,62,45,0.1);
}

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

.home-contact__form-check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.home-contact__form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.home-contact__form-check label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.home-contact__form-check label a {
  color: var(--color-accent);
  text-decoration: underline;
}

.home-contact__form-check label a:hover {
  color: var(--color-accent-dark);
}

.home-contact__submit {
  align-self: flex-start;
  width: 100%;
  justify-content: center;
}

.home-contact__info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.home-contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.home-contact__info-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-contact__info-item > i {
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.home-contact__info-item div {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.home-contact__info-item strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-contact__info-item span,
.home-contact__info-item a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.home-contact__info-item a:hover {
  color: var(--color-primary);
}

/* ===== GLOBAL FOOTER ===== */
.global-footer {
  background: var(--color-primary-dark);
  color: rgba(253,252,250,0.65);
  padding-top: var(--space-9);
}

.global-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-8);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
}

.global-footer__brand img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: var(--space-4);
}

.global-footer__brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 240px;
}

.global-footer__links,
.global-footer__legal,
.global-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.global-footer__links h4,
.global-footer__legal h4,
.global-footer__contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-light);
  margin-bottom: var(--space-1);
}

.global-footer__links a,
.global-footer__legal a {
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.global-footer__links a:hover,
.global-footer__legal a:hover {
  color: var(--color-white);
}

.global-footer__contact p {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.global-footer__contact p i {
  color: var(--color-accent);
  font-size: 0.85rem;
  width: 16px;
  flex-shrink: 0;
}

.global-footer__contact a {
  transition: color var(--transition-fast);
}

.global-footer__contact a:hover {
  color: var(--color-white);
}

.global-footer__bottom {
  border-top: 1px solid rgba(253,252,250,0.1);
  padding: var(--space-5) var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(253,252,250,0.35);
}

/* ===== MOBILE TAB BAR ===== */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(28,24,16,0.12);
  padding: 0 var(--space-2);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-tab-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 12px;
  flex: 1;
  min-height: 56px;
  justify-content: center;
  color: var(--color-text-light);
  transition: color var(--transition-fast);
  border-radius: var(--radius-sm);
  margin: 4px 2px;
}

.mobile-tab-bar__item i {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.mobile-tab-bar__item span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.mobile-tab-bar__item.active {
  color: var(--color-primary);
  background: rgba(44,62,45,0.08);
}

.mobile-tab-bar__item:hover {
  color: var(--color-primary);
}

.mobile-tab-bar__item:active i {
  transform: scale(0.9);
}

/* ===== COOKIE CONSENT ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-primary-dark);
  border-top: 1px solid rgba(184,147,90,0.3);
  box-shadow: 0 -4px 24px rgba(20,20,16,0.2);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

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

.cookie-bar__main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.cookie-bar__text {
  font-size: 0.85rem;
  color: rgba(253,252,250,0.72);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-bar__text a {
  color: var(--color-accent-light);
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-bar__btn {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 40px;
  white-space: nowrap;
}

.cookie-bar__btn--accept {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.cookie-bar__btn--accept:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.cookie-bar__btn--reject {
  background: transparent;
  color: rgba(253,252,250,0.6);
  border-color: rgba(253,252,250,0.2);
}

.cookie-bar__btn--reject:hover {
  border-color: rgba(253,252,250,0.4);
  color: rgba(253,252,250,0.85);
}

.cookie-bar__btn--customize {
  background: transparent;
  color: var(--color-accent-light);
  border-color: transparent;
  text-decoration: underline;
  padding: 9px 10px;
}

.cookie-bar__btn--customize:hover {
  color: var(--color-accent);
}

.cookie-bar__categories {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-4);
  display: none;
  gap: var(--space-4);
  flex-wrap: wrap;
  border-top: 1px solid rgba(253,252,250,0.08);
}

.cookie-bar__categories.is-open {
  display: flex;
}

.cookie-bar__category {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(253,252,250,0.05);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
}

.cookie-bar__category label {
  font-size: 0.8rem;
  color: rgba(253,252,250,0.7);
  cursor: pointer;
}

.cookie-bar__category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.cookie-bar__category--required label {
  color: rgba(253,252,250,0.4);
  cursor: default;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
}

.legal-header {
  background: var(--color-primary);
  padding: var(--space-9) var(--space-6);
  text-align: center;
}

.legal-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.legal-header p {
  color: rgba(253,252,250,0.65);
  font-size: 0.9rem;
}

.legal-content {
  flex: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-9) var(--space-6);
  width: 100%;
}

.legal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-border);
}

.legal-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: var(--space-5) 0 var(--space-3);
}

.legal-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: var(--space-3);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  list-style: disc;
  padding-left: var(--space-6);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.legal-card ul li {
  margin-bottom: var(--space-2);
}

.legal-card a {
  color: var(--color-accent);
  text-decoration: underline;
}

.legal-nav {
  text-align: center;
  padding: var(--space-5) var(--space-6) var(--space-9);
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.legal-nav a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ===== THANKS PAGE ===== */
.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-9) var(--space-6);
}

.thanks-card {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.thanks-quote {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-9) var(--space-8);
  margin-bottom: var(--space-7);
  position: relative;
  box-shadow: var(--shadow-xl);
}

.thanks-quote::before {
  content: '\201C';
  position: absolute;
  top: var(--space-5);
  left: var(--space-7);
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.35;
  font-family: Georgia, serif;
  line-height: 1;
}

.thanks-quote blockquote p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: rgba(253,252,250,0.85);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.thanks-quote cite {
  display: block;
  margin-top: var(--space-5);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--color-accent-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thanks-content h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.thanks-content p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
  .home-hero__main {
    padding: var(--space-8) var(--space-6);
  }

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

  .home-about__bento {
    grid-template-columns: 1fr 1fr;
  }

  .home-about__cell--intro {
    grid-column: 1 / 3;
  }

  .home-about__cell--image {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .home-about__cell--stat {
    grid-row: 3;
  }

  .home-about__cell--stat2 {
    grid-row: 3;
  }

  .home-about__cell--quote {
    grid-row: 3;
  }

  .home-courses__bento {
    grid-template-columns: 1fr 1fr;
  }

  .home-courses__cell--featured {
    grid-column: 1 / 3;
  }

  .home-courses__cell--wide {
    grid-column: 1 / 3;
  }

  .home-courses__cell--compact {
    grid-column: 1 / 3;
  }

  .home-how__container {
    grid-template-columns: 1fr;
  }

  .home-how__image-wrap {
    grid-column: 1;
    grid-row: 3;
    max-height: 360px;
  }

  .global-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

@media (max-width: 900px) {
  :root {
    --sidebar-width: 0px;
  }

  .home-hero__sidebar {
    display: none;
  }

  .home-hero__main {
    padding: var(--space-9) var(--space-5);
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: clamp(80px, 15vw, 120px);
  }

  .home-hero__card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-hero__card-image {
    height: 220px;
  }

  .home-hero__bento-mini {
    grid-template-columns: repeat(4, 1fr);
  }

  .home-contact__split {
    grid-template-columns: 1fr;
  }

  .home-contact__map {
    height: 300px;
  }

  .home-contact__info-row {
    grid-template-columns: 1fr;
  }

  .home-gallery__grid {
    grid-template-rows: 200px 200px 200px;
  }

  .home-gallery__item--large {
    grid-column: 1 / 3;
  }

  .home-gallery__item--tall {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .global-header__nav {
    display: none;
  }

  .mobile-tab-bar {
    display: flex;
    align-items: stretch;
  }

  body {
    padding-bottom: 64px;
  }
}

@media (max-width: 680px) {
  .home-hero__bento-mini {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-info-blocks__grid {
    grid-template-columns: 1fr;
  }

  .home-about__bento {
    grid-template-columns: 1fr;
  }

  .home-about__cell--intro,
  .home-about__cell--image {
    grid-column: 1;
  }

  .home-about__cell--stat,
  .home-about__cell--stat2,
  .home-about__cell--quote {
    grid-row: auto;
    grid-column: 1;
  }

  .home-courses__bento {
    grid-template-columns: 1fr;
  }

  .home-courses__cell--featured,
  .home-courses__cell--wide,
  .home-courses__cell--compact {
    grid-column: 1;
  }

  .home-courses__cell--featured,
  .home-courses__cell--wide {
    grid-template-columns: 1fr;
  }

  .home-courses__cell--featured img,
  .home-courses__cell--wide img {
    height: 200px;
    min-height: 200px;
  }

  .home-gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }

  .home-gallery__item--large {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .home-gallery__item--tall {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .home-how__container {
    padding: 0 var(--space-4);
  }

  .global-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .global-footer__bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  .home-contact__container,
  .home-about__container,
  .home-info-blocks__container,
  .home-courses__container,
  .home-how__container,
  .home-gallery__container {
    padding: 0 var(--space-4);
  }

  .home-cta-banner__inner {
    padding: 0 var(--space-4);
  }
}

@media (max-width: 420px) {
  .home-hero__bento-mini {
    grid-template-columns: 1fr 1fr;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__actions .global-btn {
    justify-content: center;
  }

  .home-gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }

  .home-gallery__item--large,
  .home-gallery__item--tall {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (min-width: 1400px) {
  .home-hero__main {
    padding: var(--space-9) var(--space-10);
  }

  .home-hero__atropos-wrap {
    max-width: 860px;
  }
}