@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #f2f0eb;
  --bg-dark: #1a1916;
  --bg-card: #e8e5de;
  --text: #1a1916;
  --text-light: #5a5750;
  --text-on-dark: #f2f0eb;
  --text-muted-dark: #9a9590;
  --accent: #c8a84b;
  --accent-dark: #a88930;
  --accent-glow: rgba(200, 168, 75, 0.18);
  --border: #d0ccc3;
  --border-dark: #2e2c28;
  --nav-height: 72px;

  --shadow-sm: 0 1px 3px rgba(26,25,22,0.08), 0 1px 2px rgba(26,25,22,0.04);
  --shadow-md: 0 4px 12px rgba(26,25,22,0.1), 0 2px 6px rgba(26,25,22,0.06);
  --shadow-lg: 0 12px 32px rgba(26,25,22,0.12), 0 4px 12px rgba(26,25,22,0.08), 0 1px 4px rgba(26,25,22,0.05);
  --shadow-card: 0 2px 8px rgba(26,25,22,0.08), 0 8px 24px rgba(26,25,22,0.06);
  --shadow-card-hover: 0 4px 16px rgba(26,25,22,0.14), 0 16px 40px rgba(26,25,22,0.1), 0 1px 4px rgba(26,25,22,0.06);
  --shadow-accent: 0 4px 20px rgba(200,168,75,0.25), 0 1px 4px rgba(200,168,75,0.15);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --font-mono: 'Courier New', 'Courier', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Epilogue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

ul { list-style: none; }

.mono { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-label {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-header {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-heading--light { color: var(--text-on-dark); }

.section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
}

.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.body-text--light { color: var(--text-muted-dark); }


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
}

.btn--primary {
  background: var(--accent);
  color: #1a1916;
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,168,75,0.35), 0 2px 8px rgba(200,168,75,0.2);
}

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

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline-light {
  color: var(--text-on-dark);
  border-color: rgba(242,240,235,0.3);
}

.btn--outline-light:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; min-height: 38px; }
.btn--full { width: 100%; justify-content: center; }


.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: rgba(242,240,235,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 36px; width: auto; }

.nav__links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav__link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.18s ease;
  position: relative;
}

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

.nav__link--active {
  color: var(--accent);
  font-weight: 600;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}


.mobile-sheet { display: none; }

.mobile-sheet__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,25,22,0.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-sheet__panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 1101;
  padding: 1rem 1.5rem 2.5rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -8px 40px rgba(26,25,22,0.18);
}

.mobile-sheet__handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.mobile-sheet__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-sheet__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.18s ease;
  min-height: 52px;
}

.mobile-sheet__link i {
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.mobile-sheet__link:hover {
  background: var(--bg-card);
  color: var(--accent);
}

.mobile-sheet--open .mobile-sheet__backdrop { opacity: 1; pointer-events: all; }
.mobile-sheet--open .mobile-sheet__panel { transform: translateY(0); }


.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
  position: relative;
  overflow: hidden;
}

.hero__shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.hero__shape--circle-lg {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
  border-radius: 50%;
}

.hero__shape--circle-sm {
  width: 200px;
  height: 200px;
  background: var(--accent);
  bottom: 100px;
  left: -50px;
  border-radius: 50%;
  opacity: 0.08;
}

.hero__shape--rect {
  width: 300px;
  height: 300px;
  background: var(--text);
  bottom: -100px;
  right: 200px;
  border-radius: var(--radius-lg);
  transform: rotate(20deg);
  opacity: 0.04;
}

.hero__shape--dot-grid {
  width: 200px;
  height: 200px;
  top: 200px;
  left: 50px;
  background-image: radial-gradient(var(--accent) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.15;
  border-radius: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero__heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero__heading-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #e8c060 50%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__grid-label {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-light);
  font-size: 0.75rem;
  opacity: 0.7;
}

.hero__image-block {
  position: relative;
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: clamp(350px, 55vh, 520px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero__image-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--bg-dark);
  color: var(--accent);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}


.marquee-strip {
  background: var(--bg-dark);
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.marquee-strip__track {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  letter-spacing: 0.06em;
}

.marquee-strip__track .sep { color: var(--accent); opacity: 0.5; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.intro-grid__left { }

.intro-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.intro-card__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.intro-card:hover .intro-card__img { transform: scale(1.03); }

.intro-card__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--bg-dark);
  color: var(--accent);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}


.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.2s ease;
}

.feature-item:nth-child(even) { border-right: none; }
.feature-item:nth-last-child(-n+2) { border-bottom: none; }

.feature-item:hover { background: rgba(200,168,75,0.05); }

.feature-item__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.feature-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
}

.feature-item__text {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
}


.courses-swiper {
  padding-bottom: 3rem !important;
}

.course-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  height: 100%;
}

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

.course-card__img-wrap {
  position: relative;
  overflow: hidden;
}

.course-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-card__img { transform: scale(1.05); }

.course-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: #1a1916;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.course-card__body { padding: 1.5rem; }

.course-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text);
  line-height: 1.3;
}

.course-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.swiper-button-prev, .swiper-button-next {
  color: var(--accent) !important;
}

.swiper-pagination-bullet-active { background: var(--accent) !important; }


.info-blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.info-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.info-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}

.info-block:hover::before { opacity: 1; }

.info-block__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(200,168,75,0.2);
}

.info-block__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.info-block__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}


.free-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.free-teaser__img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-dark);
}


.topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  gap: 1.25rem;
  transition: all 0.25s ease;
}

.topic-card--wide { grid-column: span 2; }

.topic-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.topic-card__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  min-width: 3rem;
}

.topic-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.topic-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}


.section--cta-band { background: var(--bg-dark); }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(200,168,75,0.06) 0%, transparent 60%);
}

.cta-band__heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.cta-band__sub {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
}

.cta-band__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


.page-hero {
  padding-top: calc(var(--nav-height) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.page-hero__shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero__heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text);
}

.page-hero__sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-light);
  line-height: 1.7;
}

.page-hero--team, .page-hero--online, .page-hero--free, .page-hero--contact {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}


.team-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.team-intro__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: rgba(242,240,235,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200,168,75,0.12);
}

.team-card__img-wrap { overflow: hidden; }

.team-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__img { transform: scale(1.04); }

.team-card__info { padding: 1.5rem; }

.team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.25rem;
}

.team-card__role {
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
}


.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-item {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all 0.25s ease;
}

.value-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.value-item__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.value-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.value-item__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}


.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tab {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-tab--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1916;
  font-weight: 700;
}

.courses-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.course-full-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.course-full-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}

.course-full-card__img-wrap { overflow: hidden; }

.course-full-card__img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-full-card:hover .course-full-card__img { transform: scale(1.04); }

.course-full-card__content { padding: clamp(1.5rem, 3vw, 2rem); }

.course-full-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.course-tag {
  background: var(--accent);
  color: #1a1916;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.course-level { color: var(--text-light); font-size: 0.78rem; }

.course-full-card__title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.course-full-card__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.course-full-card__modules { margin-bottom: 1.5rem; }

.course-modules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.course-modules-list li {
  font-size: 0.875rem;
  color: var(--text-light);
  padding-left: 1rem;
  position: relative;
}

.course-modules-list li::before {
  content: '//';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}


.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.how-step {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: rgba(242,240,235,0.03);
  transition: all 0.25s ease;
}

.how-step:hover {
  border-color: var(--accent);
  background: rgba(200,168,75,0.05);
}

.how-step__num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1rem;
}

.how-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
}

.how-step__text {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
}


.free-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.free-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  gap: 1.25rem;
  transition: all 0.25s ease;
}

.free-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.free-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  border: 1px solid rgba(200,168,75,0.2);
}

.free-card__tag {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.free-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.free-card__text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.free-card__topics {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.free-card__topics span {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: var(--font-mono);
}


.featured-material {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  background: rgba(242,240,235,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
}

.featured-material__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.featured-material__tag {
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.featured-material__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.featured-material__text {
  font-size: 0.95rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}


.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

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

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

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.2s ease;
  min-height: 44px;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder { color: var(--text-light); opacity: 0.6; }

.form-select { cursor: pointer; }

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

.form-group--checkbox { flex-direction: row; align-items: flex-start; gap: 0.75rem; }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-link { color: var(--accent); text-decoration: underline; }

.contact-info-block { margin-bottom: 2rem; }

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

.contact-detail:last-child { border-bottom: none; }

.contact-detail__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}

.contact-detail__label {
  color: var(--text-light);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.contact-detail__value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.contact-detail__value a:hover { color: var(--accent); }

.contact-map {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
}


.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: rgba(242,240,235,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--accent);
  background: rgba(200,168,75,0.05);
}

.faq-item__icon {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-item__q {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.faq-item__a {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
}


.thanks-hero {
  min-height: 55vh;
  background: linear-gradient(135deg, #1a1916 0%, #2a2720 40%, #1e1b14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 3rem) 1rem 4rem;
  position: relative;
  overflow: hidden;
}

.thanks-hero__shapes { position: absolute; inset: 0; pointer-events: none; }

.thanks-hero__content { position: relative; z-index: 1; max-width: 600px; }

.thanks-icon {
  width: 72px;
  height: 72px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1916;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-accent);
}

.thanks-hero__heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.thanks-hero__sub {
  font-size: 1rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

.thanks-next { padding: clamp(3rem, 6vw, 5rem) 0; }

.thanks-next__heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.thanks-next__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.thanks-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.25s ease;
}

.thanks-step:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.thanks-step__icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.thanks-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.thanks-step__text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.thanks-home { text-align: center; margin-top: 1rem; }


.legal-hero {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 2.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.legal-hero__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal-meta { color: var(--text-light); font-size: 0.8rem; }

.section--legal { padding: clamp(2rem, 5vw, 4rem) 0; }

.legal-intro {
  max-width: 800px;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.legal-intro p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}


.accordion { max-width: 900px; }

.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.accordion__item--open { border-color: var(--accent); }
.accordion__item--open .accordion__body { display: block; }

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background 0.2s ease;
  min-height: 52px;
}

.accordion__header:hover { background: var(--bg); }

.accordion__icon {
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion__item--open .accordion__icon { transform: rotate(180deg); }

.accordion__body {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.accordion__body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

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

.accordion__body ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.accordion__body li {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

.accordion__body strong { color: var(--text); font-weight: 600; }


.footer { background: var(--bg-dark); color: var(--text-on-dark); margin-top: auto; }

.footer__top { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.footer__logo { height: 32px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.85; }

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 0.75rem;
}

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

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

.footer__nav-title {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

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

.footer__nav-group a {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.footer__nav-group a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding: 1.25rem 0;
}

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


.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 2rem);
  max-width: 480px;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(26,25,22,0.4), 0 2px 8px rgba(26,25,22,0.2);
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.cookie-consent--hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }

.cookie-consent--expanded {
  max-width: 520px;
  border-radius: var(--radius-xl);
}

.cookie-consent__compact { }

.cookie-consent__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
}

.cookie-consent__text {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
  margin-bottom: 1rem;
}

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

.cookie-consent__btns {
  display: flex;
  gap: 0.75rem;
}

.cookie-consent__expanded { display: none; }

.cookie-consent--expanded .cookie-consent__compact { display: none; }
.cookie-consent--expanded .cookie-consent__expanded { display: block; }

.cookie-consent__expanded-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}

.cookie-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.cookie-toggle-item:last-of-type { border-bottom: none; }

.cookie-toggle-info {}

.cookie-toggle-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 0.2rem;
}

.cookie-toggle-desc {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
  line-height: 1.4;
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border-dark);
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: var(--text-muted-dark);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); background: #1a1916; }
.toggle-switch input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }

.cookie-consent__save-btn {
  width: 100%;
  margin-top: 1rem;
  justify-content: center;
}


@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3rem;
    gap: 2rem;
  }

  .hero__image-block { display: none; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid__right { order: -1; }

  .free-teaser-grid { grid-template-columns: 1fr; }
  .free-teaser__image { order: -1; }

  .topics-grid { grid-template-columns: 1fr; }
  .topic-card--wide { grid-column: span 1; }

  .course-full-card { grid-template-columns: 1fr; }
  .course-full-card__img { height: 240px; }

  .team-intro-grid { grid-template-columns: 1fr; }

  .featured-material { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .mobile-sheet { display: block; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; }
  .feature-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-dark); }
  .feature-item:last-child { border-bottom: none; }

  .cta-band { flex-direction: column; align-items: flex-start; }

  .footer__nav { grid-template-columns: 1fr; gap: 1.5rem; }

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

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

  .free-card { flex-direction: column; }

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

  .thanks-next__steps { grid-template-columns: 1fr; }

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

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

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

  .filter-tabs { gap: 0.35rem; }

  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  .cta-band__actions { flex-direction: column; width: 100%; }
  .cta-band__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .cookie-consent { bottom: 1rem; }
  .hero__grid-label { gap: 0.75rem; }
  .course-full-card__img { height: 200px; }
  .featured-material__img { height: 220px; }
}