:root {
  --bg: #ffffff;
  --bg-soft: #f0f8f4;
  --surface: #ffffff;
  --text: #1a3326;
  --text-muted: #4a6352;
  --accent: #039b4f;
  --accent-dark: #027a3f;
  --accent-mid: #04ad58;
  --accent-soft: #e8f6ef;
  --accent-glow: #c2ebd4;
  --border: #cce8d9;
  --shadow: 0 12px 40px rgba(3, 155, 79, 0.1);
  --shadow-sm: 0 4px 16px rgba(3, 155, 79, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 76px;
  --font: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* Topbar */
.topbar {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-size: 13px;
  position: relative;
  z-index: 110;
}
.ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}
.ico--sm { width: 14px; height: 14px; }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
}
.topbar__addr { position: relative; }
.topbar__addr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.topbar__addr-btn:hover,
.topbar__addr.is-open .topbar__addr-btn {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .55);
}
.topbar__addr-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 120;
  width: min(340px, calc(100vw - 32px));
  padding: 16px;
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(3, 155, 79, .22);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.topbar__addr-pop::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.topbar__addr.is-open .topbar__addr-pop {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
@media (hover: hover) {
  .topbar__addr:hover .topbar__addr-pop {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}
.topbar__addr-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.topbar__addr-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.topbar__addr-item:last-of-type { border-bottom: none; }
.topbar__addr-item .ico { color: var(--accent); margin-top: 2px; }
.topbar__addr-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 2px;
}
.topbar__addr-item span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.topbar__addr-note {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}
.topbar a { color: rgba(255,255,255,.85); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__phone,
.topbar__phones a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.topbar__phones { display: flex; gap: 14px; flex-wrap: wrap; }
.topbar__social { display: flex; gap: 8px; align-items: center; }
.topbar__social a {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  transition: transform .2s, box-shadow .2s;
}
.topbar__social a:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.topbar__actions { display: flex; gap: 8px; margin-left: auto; }
.topbar__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.topbar__action:hover { background: var(--accent-glow); }
.topbar__action--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
}
.topbar__action--outline:hover { background: rgba(255,255,255,.15); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 24px rgba(3, 155, 79, .08); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; flex-shrink: 0; }
.logo__img { height: 48px; width: auto; object-fit: contain; }
.logo__img--footer { height: 40px; filter: brightness(0) invert(1); }
.logo__text { font-size: 15px; line-height: 1.2; color: var(--text); max-width: 140px; }
.logo__text span { color: var(--accent); }
.nav {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  padding: 8px 10px; border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav > a .ico { color: var(--accent); opacity: .85; }
.nav > a:hover .ico { opacity: 1; }
.nav > a:hover { color: var(--accent); background: var(--accent-soft); }
.nav__extra { font-size: 12px; }

/* Dropdown nav */
.nav-dd { position: relative; }
.nav-dd__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  padding: 8px 10px; border: none; background: none;
  border-radius: 8px; cursor: pointer;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-dd__toggle .ico { color: var(--accent); opacity: .85; }
.nav-dd__toggle:hover .ico,
.nav-dd.is-open .nav-dd__toggle .ico { opacity: 1; }
.nav-dd__toggle::after {
  content: '';
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 3px;
  transition: transform .2s;
}
.nav-dd.is-open .nav-dd__toggle::after { transform: rotate(180deg); }
.nav-dd__toggle:hover,
.nav-dd.is-open .nav-dd__toggle {
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-dd__menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 50;
}
.nav-dd.is-open .nav-dd__menu {
  opacity: 1; visibility: visible; transform: none;
}
.nav-dd__menu a {
  display: block;
  padding: 10px 12px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-dd__menu a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.header__actions { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; padding: 10px;
  border: none; background: none; cursor: pointer;
}
.burger span {
  display: block; height: 2px; background: var(--text);
  border-radius: 2px; transition: .2s;
}
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  max-height: 80vh; overflow-y: auto;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600; padding: 10px 8px; font-size: 14px; border-radius: 8px;
}
.mobile-nav a .ico { color: var(--accent); opacity: .9; }
.mobile-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.mobile-nav.is-open { display: flex; }
.mobile-nav__group {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  margin: 4px 0;
}
.mobile-nav__group summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700; font-size: 14px;
  padding: 10px 4px; cursor: pointer;
  color: var(--accent-dark);
  list-style: none;
}
.mobile-nav__group summary .ico { color: var(--accent); opacity: .9; }
.mobile-nav__group summary::-webkit-details-marker { display: none; }
.mobile-nav__group a {
  padding-left: 16px; font-size: 13px; font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px;
  border-radius: 999px; border: none;
  font-weight: 700; font-size: 14px;
  cursor: pointer; transition: .2s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-mid));
  color: #fff;
  box-shadow: 0 8px 24px rgba(3, 155, 79, .35);
  animation: pulse-glow 3s ease-in-out infinite;
}
.header__actions .btn--primary { gap: 6px; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(3, 155, 79, .35); }
  50% { box-shadow: 0 8px 32px rgba(3, 155, 79, .55); }
}
.btn--primary:hover { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); transform: translateY(-2px); animation: none; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--white { background: #fff; color: var(--accent); }
.btn--white:hover { background: var(--accent-soft); }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 0;
  background: #ffffff;
}
.hero__bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: clamp(72px, 10vw, 100px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__bubbles canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero__waves {
  position: relative;
  z-index: 3;
  width: 100%;
  line-height: 0;
  margin-top: -32px;
  pointer-events: none;
}
.hero__waves-svg {
  display: block;
  width: 100%;
  height: clamp(80px, 11vw, 112px);
}
.hero__wave--1,
.hero__wave--2,
.hero__wave--3 {
  transform-box: fill-box;
  transform-origin: center;
}
.hero__wave--1 {
  opacity: .95;
  animation: hero-wave-drift 14s ease-in-out infinite;
}
.hero__wave--2 {
  opacity: .92;
  animation: hero-wave-drift 11s ease-in-out infinite reverse;
}
.hero__wave--3 {
  animation: hero-wave-drift 17s ease-in-out infinite;
}
@keyframes hero-wave-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-1.5%); }
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0 28px;
}
.badge {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  border: 1px solid rgba(3, 155, 79, .15);
  animation: badge-in .7s ease both;
}
@keyframes badge-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.hero__line {
  display: block;
  animation: hero-line-in .8s cubic-bezier(.22,1,.36,1) both;
}
.hero__line:nth-child(2) { animation-delay: .12s; }
.hero__line:nth-child(3) { animation-delay: .24s; }
@keyframes hero-line-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero__line--accent {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--accent-mid));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  font-size: 17px; color: var(--text-muted);
  max-width: 460px; margin: 0 0 16px;
  animation: hero-line-in .8s .32s cubic-bezier(.22,1,.36,1) both;
}
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 0 0 20px;
  animation: hero-line-in .8s .42s cubic-bezier(.22,1,.36,1) both;
}
.hero__tags li {
  padding: 8px 14px;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
  animation: hero-line-in .8s .52s cubic-bezier(.22,1,.36,1) both;
}
.hero__stats {
  display: flex; gap: 24px; flex-wrap: wrap;
  animation: hero-line-in .8s .62s cubic-bezier(.22,1,.36,1) both;
}
.hero__stats strong {
  display: block;
  font-size: 24px; font-weight: 800;
  color: var(--accent); line-height: 1.1;
}
.hero__stats span { font-size: 13px; color: var(--text-muted); }
.hero__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: flex-end;
  animation: hero-media-in 1s .2s cubic-bezier(.22,1,.36,1) both;
}
@keyframes hero-media-in {
  from { opacity: 0; transform: translateX(32px) scale(.96); }
  to { opacity: 1; transform: none; }
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 54vh, 560px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -16px;
}
.hero-visual__figure {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}
.hero-visual__portrait {
  width: min(182%, 754px);
  height: auto;
  max-height: min(676px, 68vh);
  object-fit: contain;
  object-position: bottom center;
  transform: translateY(8px);
  animation: portrait-in 1s .4s cubic-bezier(.22,1,.36,1) both;
}
@keyframes portrait-in {
  from { opacity: 0; transform: translateY(28px) scale(.96); }
  to { opacity: 1; transform: translateY(8px) scale(1); }
}
.hero-visual__bubble {
  position: absolute;
  z-index: 4;
  top: 6%;
  left: 0;
  max-width: 180px;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(3, 155, 79, .1);
  animation: bubble-pop 1s .7s cubic-bezier(.22,1,.36,1) both;
}
.hero-visual__bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 28px;
  width: 18px; height: 18px;
  background: #fff;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.hero-visual__bubble span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
@keyframes bubble-pop {
  from { opacity: 0; transform: scale(.9) translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hero-visual__badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.hero-visual__badge svg {
  width: 20px; height: 20px;
  color: var(--accent);
}
.hero-visual__badge--book {
  bottom: 28%;
  right: 0;
}
.hero__float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(3, 155, 79, .1);
  border: 1px solid var(--border);
  z-index: 5;
}
.hero__float strong { display: block; font-size: 13px; }
.hero__float span { font-size: 12px; color: var(--text-muted); }
.hero__float--1 { top: 0; right: 0; }
.hero__float--2 { bottom: 32%; left: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero__line, .badge, .hero__lead, .hero__tags, .hero__actions,
  .hero__stats, .hero__media, .hero-visual__portrait,
  .hero-visual__bubble, .hero__wave {
    animation: none !important;
  }
}


/* About cover */
.about-cover {
  margin: 0 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.about-cover img { width: 100%; height: auto; object-fit: cover; max-height: 420px; }

/* Gallery */
.gallery-section {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.gallery-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}
.gallery-head h2 { margin: 0 0 10px; }
.gallery-head p { margin: 0; color: var(--text-muted); font-size: 17px; }
.gallery-head__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(190px, 220px);
  gap: 14px;
}
.gallery-grid.is-visible .gallery-card {
  animation: gallery-card-in .7s cubic-bezier(.22, 1, .36, 1) both;
}
.gallery-grid.is-visible .gallery-card:nth-child(1) { animation-delay: .05s; }
.gallery-grid.is-visible .gallery-card:nth-child(2) { animation-delay: .1s; }
.gallery-grid.is-visible .gallery-card:nth-child(3) { animation-delay: .15s; }
.gallery-grid.is-visible .gallery-card:nth-child(4) { animation-delay: .2s; }
.gallery-grid.is-visible .gallery-card:nth-child(5) { animation-delay: .25s; }
.gallery-grid.is-visible .gallery-card:nth-child(6) { animation-delay: .3s; }
@keyframes gallery-card-in {
  from { opacity: 0; transform: translateY(28px) scale(.94); }
  to { opacity: 1; transform: none; }
}

.gallery-card {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: #e8f0eb;
  box-shadow: 0 4px 20px rgba(3, 155, 79, .08);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
}
.gallery-card--hero { grid-row: span 2; }
.gallery-card--wide { grid-column: span 2; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(3, 60, 35, .05) 0%, rgba(3, 60, 35, .65) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity .35s;
}
.gallery-card__zoom {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .35);
  transform: scale(.8);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.gallery-card__zoom svg { width: 24px; height: 24px; }
.gallery-card__caption {
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  transform: translateY(8px);
  transition: transform .35s;
}
.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(3, 155, 79, .18);
  outline: none;
}
.gallery-card:hover img,
.gallery-card:focus-visible img { transform: scale(1.08); }
.gallery-card:hover .gallery-card__overlay,
.gallery-card:focus-visible .gallery-card__overlay { opacity: 1; }
.gallery-card:hover .gallery-card__zoom,
.gallery-card:focus-visible .gallery-card__zoom { transform: scale(1); }
.gallery-card:hover .gallery-card__caption,
.gallery-card:focus-visible .gallery-card__caption { transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { animation: lightbox-fade-in .35s ease both; }
@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 15, .88);
  backdrop-filter: blur(12px);
}
.lightbox__frame {
  position: relative;
  z-index: 2;
  max-width: min(92vw, 1100px);
  max-height: 72vh;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .45);
  animation: lightbox-img-in .4s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes lightbox-img-in {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: none; }
}
.lightbox__img {
  display: block;
  max-width: min(92vw, 1100px);
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
}
.lightbox__img.is-changing {
  animation: lightbox-img-swap .3s ease both;
}
@keyframes lightbox-img-swap {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(.96); }
  100% { opacity: 1; transform: scale(1); }
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .22); transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__footer {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: #fff;
  pointer-events: none;
}
.lightbox__caption {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.lightbox__counter {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
}
.lightbox__thumbs {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  max-width: min(92vw, 520px);
  overflow-x: auto;
}
.lightbox__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 42px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox__thumb.is-active,
.lightbox__thumb:hover {
  opacity: 1;
  border-color: var(--accent-mid);
  transform: scale(1.05);
}

/* Problems section */
.problems-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 50%, var(--bg-soft) 100%);
}
.problems-section__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.problems-section__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.problems-section__orb--1 {
  width: 360px; height: 360px;
  top: -80px; left: -100px;
  background: rgba(234, 88, 12, .12);
}
.problems-section__orb--2 {
  width: 400px; height: 400px;
  bottom: -120px; right: -80px;
  background: rgba(3, 155, 79, .14);
}
.problems-section__grid {
  position: absolute;
  inset: 0;
  opacity: .4;
  background-image:
    linear-gradient(rgba(3, 155, 79, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 155, 79, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent);
}
.section-head--center {
  text-align: center;
  margin-inline: auto;
  max-width: 640px;
}

.problems-flow {
  display: grid;
  gap: 14px;
  margin-bottom: 48px;
}
.problems-flow__row {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 12px;
  align-items: stretch;
}
.problem-card,
.result-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.problem-card {
  background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
  border-color: #fed7aa;
  box-shadow: 0 8px 24px rgba(234, 88, 12, .08);
}
.result-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%);
  border-color: #a7f3d0;
  box-shadow: 0 8px 24px rgba(3, 155, 79, .1);
}
.problem-card:hover,
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
}
.problem-card__icon,
.result-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.problem-card__icon {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  box-shadow: 0 6px 16px rgba(234, 88, 12, .35);
}
.result-card__icon {
  background: linear-gradient(135deg, var(--accent-mid), var(--accent-dark));
  color: #fff;
  box-shadow: 0 6px 16px rgba(3, 155, 79, .35);
}
.problem-card:hover .problem-card__icon,
.result-card:hover .result-card__icon {
  transform: scale(1.08) rotate(-3deg);
}
.problem-card__icon .ico,
.result-card__icon .ico { width: 22px; height: 22px; }
.problem-card__tag,
.result-card__tag {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.problem-card__tag { color: #ea580c; }
.result-card__tag { color: var(--accent); }
.problem-card h3,
.result-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.problems-bridge {
  display: grid;
  place-items: center;
  color: var(--accent);
  position: relative;
}
.problems-bridge__svg {
  width: 72px;
  height: 24px;
}
.problems-bridge__path {
  stroke-dasharray: 6 5;
  animation: bridge-flow 1.4s linear infinite;
}
@keyframes bridge-flow {
  to { stroke-dashoffset: -22; }
}
.problems-bridge::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-mid);
  animation: bridge-dot 1.4s ease-in-out infinite;
}
@keyframes bridge-dot {
  0% { transform: translateX(-28px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(28px); opacity: 0; }
}

.problems-flow__row {
  opacity: 0;
  transform: translateY(20px);
}
.problems-flow.is-visible .problems-flow__row {
  animation: problem-row-in .65s cubic-bezier(.22,1,.36,1) both;
}
.problems-flow.is-visible .problems-flow__row:nth-child(1) { animation-delay: .05s; }
.problems-flow.is-visible .problems-flow__row:nth-child(2) { animation-delay: .12s; }
.problems-flow.is-visible .problems-flow__row:nth-child(3) { animation-delay: .19s; }
.problems-flow.is-visible .problems-flow__row:nth-child(4) { animation-delay: .26s; }
.problems-flow.is-visible .problems-flow__row:nth-child(5) { animation-delay: .33s; }
.problems-flow.is-visible .problems-flow__row:nth-child(6) { animation-delay: .4s; }
@keyframes problem-row-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.problems-flow.is-visible .problem-card {
  animation: problem-card-shake .5s cubic-bezier(.22,1,.36,1) both;
}
.problems-flow.is-visible .problems-flow__row:nth-child(1) .problem-card { animation-delay: .2s; }
.problems-flow.is-visible .problems-flow__row:nth-child(2) .problem-card { animation-delay: .27s; }
.problems-flow.is-visible .problems-flow__row:nth-child(3) .problem-card { animation-delay: .34s; }
.problems-flow.is-visible .problems-flow__row:nth-child(4) .problem-card { animation-delay: .41s; }
.problems-flow.is-visible .problems-flow__row:nth-child(5) .problem-card { animation-delay: .48s; }
.problems-flow.is-visible .problems-flow__row:nth-child(6) .problem-card { animation-delay: .55s; }
@keyframes problem-card-shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
  100% { transform: none; }
}
.problems-flow.is-visible .result-card {
  animation: result-card-pop .55s cubic-bezier(.22,1,.36,1) both;
}
.problems-flow.is-visible .problems-flow__row:nth-child(1) .result-card { animation-delay: .35s; }
.problems-flow.is-visible .problems-flow__row:nth-child(2) .result-card { animation-delay: .42s; }
.problems-flow.is-visible .problems-flow__row:nth-child(3) .result-card { animation-delay: .49s; }
.problems-flow.is-visible .problems-flow__row:nth-child(4) .result-card { animation-delay: .56s; }
.problems-flow.is-visible .problems-flow__row:nth-child(5) .result-card { animation-delay: .63s; }
.problems-flow.is-visible .problems-flow__row:nth-child(6) .result-card { animation-delay: .7s; }
@keyframes result-card-pop {
  from { opacity: 0; transform: scale(.92) translateX(12px); }
  to { opacity: 1; transform: none; }
}

.problems-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.problems-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.problems-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.problems-visual:hover img { transform: scale(1.04); }
.problems-visual__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 12px 18px;
  background: rgba(255,255,255,.95);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  animation: float-y 4s ease-in-out infinite;
}
.problems-visual__badge strong {
  display: block;
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
}
.problems-visual__badge span {
  font-size: 12px;
  color: var(--text-muted);
}
.problems-foot__cta h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 28px);
}
.problems-foot__cta p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .problems-flow__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .problems-bridge {
    transform: rotate(90deg);
    height: 40px;
  }
  .problems-bridge::after {
    animation-name: bridge-dot-v;
  }
  @keyframes bridge-dot-v {
    0% { transform: translateY(-12px); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
  }
  .problems-foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .problems-flow__row,
  .problem-card,
  .result-card,
  .problems-bridge__path,
  .problems-bridge::after,
  .problems-visual__badge {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Problems image (legacy) */
.problems-image {
  margin: 0 0 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.problems-image img { width: 100%; height: auto; }

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-card__embed {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.video-card__embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-card h3 {
  margin: 0;
  padding: 16px 20px;
  font-size: 16px;
}

/* Sections */
.section { padding: 80px 0; }
#about.section {
  padding-top: 80px;
}
.section--soft { background: var(--bg-soft); }
.section--cta { padding: 0 0 80px; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.section-head p { margin: 0; color: var(--text-muted); font-size: 17px; }
.section-head--row {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.link-more {
  color: var(--accent); font-weight: 700; font-size: 15px;
  white-space: nowrap;
}
.link-more:hover { text-decoration: underline; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.about-card h3 { margin: 0 0 10px; font-size: 20px; }
.about-card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.about-card--accent {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff; border: none;
}
.about-card--accent p { color: rgba(255,255,255,.85); }
.about-card--accent a { color: #fff; font-weight: 700; margin-top: 16px; display: inline-block; }

/* Tabs & Courses */
.courses-section {
  padding-top: 44px;
}
.courses-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}
.courses-head h2 { margin: 0 0 10px; }
.courses-head p { margin: 0; color: var(--text-muted); font-size: 17px; }

.course-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 32px;
  padding: 8px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.course-tabs__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: .25s;
  text-align: left;
  color: var(--text-muted);
}
.course-tabs__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: .25s;
}
.course-tabs__icon .ico { width: 20px; height: 20px; }
.course-tabs__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.course-tabs__text strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.course-tabs__text small {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}
.course-tabs__btn.is-active,
.course-tabs__btn:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(3, 155, 79, .25);
}
.course-tabs__btn.is-active .course-tabs__text strong,
.course-tabs__btn.is-active .course-tabs__text small,
.course-tabs__btn:hover .course-tabs__text strong,
.course-tabs__btn:hover .course-tabs__text small { color: #fff; }
.course-tabs__btn.is-active .course-tabs__icon,
.course-tabs__btn:hover .course-tabs__icon {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.courses-panels { position: relative; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.courses-grid[hidden] { display: none; }
.courses-grid:not([hidden]) {
  animation: courses-panel-in .35s cubic-bezier(.22, 1, .36, 1);
}
@keyframes courses-panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.course-card--modern {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  --cc-accent: var(--accent);
  --cc-bg: var(--accent-soft);
  --cc-glow: rgba(3, 155, 79, .12);
}
.course-card--modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px var(--cc-glow);
  border-color: color-mix(in srgb, var(--cc-accent) 25%, var(--border));
}
.course-card--modern.course-card--featured {
  border-color: color-mix(in srgb, var(--cc-accent) 35%, var(--border));
  box-shadow: 0 6px 24px var(--cc-glow);
}
.course-card--c-green  { --cc-accent: #039b4f; --cc-bg: #e8f6ef; --cc-glow: rgba(3, 155, 79, .14); }
.course-card--c-blue   { --cc-accent: #2563eb; --cc-bg: #eff6ff; --cc-glow: rgba(37, 99, 235, .14); }
.course-card--c-orange { --cc-accent: #ea580c; --cc-bg: #fff7ed; --cc-glow: rgba(234, 88, 12, .14); }
.course-card--c-purple { --cc-accent: #7c3aed; --cc-bg: #f5f3ff; --cc-glow: rgba(124, 58, 237, .14); }
.course-card--c-teal   { --cc-accent: #0d9488; --cc-bg: #f0fdfa; --cc-glow: rgba(13, 148, 136, .14); }
.course-card--c-coral  { --cc-accent: #e11d48; --cc-bg: #fff1f2; --cc-glow: rgba(225, 29, 72, .14); }

.course-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.course-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cc-bg);
  color: var(--cc-accent);
  flex-shrink: 0;
  transition: transform .25s, background .25s;
}
.course-card__icon svg {
  width: 24px;
  height: 24px;
}
.course-card--modern:hover .course-card__icon {
  transform: scale(1.08) rotate(-4deg);
  background: color-mix(in srgb, var(--cc-accent) 12%, #fff);
}
.course-card__badge {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--cc-bg);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--cc-accent);
  white-space: nowrap;
}
.course-card__badge--hot {
  background: var(--cc-accent);
  color: #fff;
}
.course-card--modern h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}
.course-card--modern p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
}
.course-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--cc-accent);
  transition: gap .2s;
}
.course-card__cta:hover { gap: 10px; }

.courses-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.courses-foot p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* Legacy course card (if used elsewhere) */
.tabs {
  display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap;
}
.tabs__btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700; font-size: 14px;
  cursor: pointer; transition: .2s;
  color: var(--text-muted);
}
.tabs__btn.is-active,
.tabs__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.course-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: .25s;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.course-card__tag,
.course-card__bonus {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--text-muted);
  margin-bottom: 12px;
  align-self: flex-start;
}
.course-card__bonus { background: var(--accent-soft); color: var(--accent); }
.course-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.3; }
.course-card p { margin: 0 0 16px; color: var(--text-muted); font-size: 14px; flex: 1; }
.course-card__meta {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.course-card__meta span {
  font-size: 12px; font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-soft);
  border-radius: 6px;
  color: var(--text-muted);
}
.course-card__link {
  color: var(--accent); font-weight: 700; font-size: 14px;
}
.course-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface));
}

/* CTA banner */
.cta-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--accent-mid));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 48px;
  box-shadow: 0 16px 48px rgba(3, 155, 79, .25);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(222,255,164,.3), transparent 50%);
  animation: orb-drift 8s ease-in-out infinite;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin: 0 0 8px; font-size: 28px; }
.cta-banner p { margin: 0; opacity: .9; }

/* Split / lists */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.check-list {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: grid; gap: 12px;
}
.check-list li {
  padding-left: 28px;
  position: relative;
  font-size: 15px;
}
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
}
.check-list--warn li::before { background: #ffe0d6; border: 2px solid var(--accent); }
.check-list--ok li::before { background: #d4f5e0; border: 2px solid #22c55e; }

/* Teachers */
.teachers-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #026b38 0%, #039b4f 42%, #04b35a 100%);
  color: #fff;
}
.teachers-section__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.teachers-section__orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.teachers-section__orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  filter: blur(2px);
}
.teachers-section__orb--2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -60px;
  background: rgba(255, 255, 255, .07);
}
.teachers-section__orb--3 {
  width: 180px;
  height: 180px;
  top: 40%;
  left: 35%;
  background: rgba(255, 255, 255, .05);
}
.section-label--light {
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .12);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
}
.teachers-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.teachers-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.teachers-head p {
  margin: 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}
.teachers-track {
  position: relative;
  z-index: 1;
}
.teachers-track::before,
.teachers-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 56px;
  z-index: 3;
  pointer-events: none;
}
.teachers-track::before {
  left: 0;
  background: linear-gradient(90deg, #038a4a, transparent);
}
.teachers-track::after {
  right: 0;
  background: linear-gradient(270deg, #04a854, transparent);
}
.teachers-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.teachers-scroll::-webkit-scrollbar { display: none; }
.teachers-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--accent-dark);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  transition: transform .2s, box-shadow .2s;
}
.teachers-nav:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}
.teachers-nav--prev { left: -8px; }
.teachers-nav--next { right: -8px; }

.teacher-card {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  text-align: center;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s;
  --t-ring: #039b4f;
  --t-bg: #e8f6ef;
}
.teacher-card--c1 { --t-ring: #039b4f; --t-bg: #e8f6ef; }
.teacher-card--c2 { --t-ring: #0d9488; --t-bg: #ecfdf5; }
.teacher-card--c3 { --t-ring: #2563eb; --t-bg: #eff6ff; }
.teacher-card--c4 { --t-ring: #7c3aed; --t-bg: #f5f3ff; }
.teacher-card--c5 { --t-ring: #ea580c; --t-bg: #fff7ed; }
.teacher-card--c6 { --t-ring: #0891b2; --t-bg: #ecfeff; }
.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .18);
}
.teacher-card__avatar-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--t-ring), color-mix(in srgb, var(--t-ring) 60%, #fff));
  transition: transform .3s;
}
.teacher-card:hover .teacher-card__avatar-wrap { transform: scale(1.06); }
.teacher-card__avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--t-bg);
  color: var(--t-ring);
  font-weight: 800;
  font-size: 22px;
  border: 3px solid #fff;
}
.teacher-card__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--t-bg);
  color: var(--t-ring);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.teacher-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}
.teacher-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.feature-card__num {
  display: block;
  font-size: 32px; font-weight: 800;
  color: var(--accent-soft);
  -webkit-text-stroke: 1px var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}
.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; font-size: 14px; color: var(--text-muted); }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  text-align: center;
}
.stats-bar strong {
  display: block;
  font-size: 36px; font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stats-bar span { font-size: 14px; color: var(--text-muted); }

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.schedule-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.schedule-card h3 { margin: 0 0 8px; font-size: 20px; }
.schedule-card > p { margin: 0 0 16px; color: var(--text-muted); font-size: 14px; }
.schedule-card ul { list-style: none; padding: 0; margin: 0; }
.schedule-card li { padding: 8px 0; border-top: 1px solid var(--border); }
.schedule-card--accent {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff; border: none;
}
.schedule-card--accent > p { color: rgba(255,255,255,.7); }
.schedule-card--accent li { border-color: rgba(255,255,255,.15); }
.schedule-card--accent a { color: var(--accent); font-weight: 700; display: inline-block; margin-top: 12px; }

/* Carousels — news & reviews */
.carousel-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 72px 0;
}
.carousel-section--news {
  background: linear-gradient(145deg, #014d28 0%, #027a3f 38%, #039b4f 72%, #04c468 100%);
}
.carousel-section--reviews {
  background: linear-gradient(145deg, #026b38 0%, #039b4f 45%, #03a856 75%, #02c45e 100%);
}
.carousel-section__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.carousel-section__orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}
.carousel-section__orb--1 {
  width: 440px; height: 440px;
  top: -140px; right: -100px;
}
.carousel-section__orb--2 {
  width: 280px; height: 280px;
  bottom: -80px; left: 10%;
  background: rgba(255, 255, 255, .06);
}
.carousel-section__orb--3 {
  width: 360px; height: 360px;
  top: -100px; left: -80px;
}
.carousel-section__orb--4 {
  width: 300px; height: 300px;
  bottom: -60px; right: 8%;
  background: rgba(255, 255, 255, .07);
}
.carousel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.carousel-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.carousel-head p {
  margin: 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}

.carousel {
  position: relative;
  z-index: 1;
}
.carousel__viewport {
  overflow: hidden;
  margin: 0 52px;
}
.carousel__track {
  display: flex;
  gap: 20px;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--accent-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.carousel__nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .22);
}
.carousel__nav:disabled {
  opacity: .35;
  cursor: default;
}
.carousel__nav--prev { left: 0; }
.carousel__nav--next { right: 0; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: width .3s, background .3s;
}
.carousel__dot.is-active {
  width: 28px;
  background: #fff;
}

/* News cards */
.news-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  background: rgba(255, 255, 255, .97);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .14);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .2);
}
.news-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__date {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.news-card__body { padding: 20px 22px 22px; }
.news-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}
.news-card h3 a { transition: color .2s; }
.news-card h3 a:hover { color: var(--accent); }
.news-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  transition: gap .2s;
}
.news-card__link:hover { gap: 10px; }

/* Review slides */
.review-slide {
  flex: 0 0 calc((100% - 20px) / 2);
  min-width: 0;
  margin: 0;
  padding: 28px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
  position: relative;
  overflow: hidden;
}
.review-slide::before {
  content: '“';
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 72px;
  line-height: 1;
  color: var(--accent-soft);
  font-family: Georgia, serif;
  pointer-events: none;
}
.review-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .18);
}
.review-slide__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.review-slide__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-soft);
  flex-shrink: 0;
}
.review-slide__stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 2px;
}
.review-slide__name {
  display: block;
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
}
.review-slide__role {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}
.review-slide p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.carousel[data-per-view="2"] .news-card { flex: 0 0 calc((100% - 20px) / 2); }
.carousel[data-per-view="1"] .news-card,
.carousel[data-per-view="1"] .review-slide { flex: 0 0 100%; }

@media (max-width: 1024px) {
  .news-card { flex: 0 0 calc((100% - 20px) / 2); }
  .review-slide { flex: 0 0 100%; }
  .carousel__viewport { margin: 0 44px; }
}
@media (max-width: 768px) {
  .carousel-section { padding: 56px 0; }
  .carousel-head { flex-direction: column; align-items: flex-start; }
  .carousel-head .btn { align-self: stretch; text-align: center; }
  .news-card { flex: 0 0 100%; }
  .carousel__nav { display: none; }
  .carousel__viewport { margin: 0; }
  .carousel__track { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__track { transition: none !important; }
  .news-card:hover,
  .review-slide:hover { transform: none; }
}

/* Reviews (legacy grid) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.review-card__stars { color: #f59e0b; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { margin: 0 0 16px; font-size: 15px; line-height: 1.55; }
.review-card footer { font-size: 13px; color: var(--text-muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-list { display: grid; gap: 20px; margin: 24px 0; }
.contact-item h3 { margin: 0 0 6px; font-size: 15px; color: var(--accent); }
.contact-item p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.contact-item a:hover { color: var(--accent); }
.contact-messengers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.contact-messengers a {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.contact-messengers a:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 20px rgba(3, 155, 79, .15);
}
.contact-form,
.modal-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.modal__dialog .modal-form {
  margin-top: 4px;
  padding: 24px;
  background: linear-gradient(180deg, #f8fcf9 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.contact-form h3,
.modal__dialog h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.modal__dialog > p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.contact-form > p {
  margin: 0 0 24px;
  color: var(--text-muted);
}
.contact-form label,
.modal-form label {
  display: block;
  margin-bottom: 18px;
}
.contact-form label:last-of-type,
.modal-form label:last-of-type {
  margin-bottom: 22px;
}
.contact-form span,
.modal-form span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .01em;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  line-height: 1.45;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #8fa898;
}
.contact-form select,
.modal-form select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a6352' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.contact-form textarea,
.modal-form textarea {
  display: block;
  min-height: 128px;
  max-height: 280px;
  padding: 14px 16px;
  line-height: 1.6;
  resize: vertical;
}
.modal-form textarea {
  min-height: 140px;
}
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover,
.modal-form input:hover,
.modal-form select:hover,
.modal-form textarea:hover {
  border-color: #9dd4b5;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(3, 155, 79, .12);
}
.contact-form .btn,
.modal-form .btn {
  margin-top: 4px;
}
.form-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.form-note a { color: var(--accent); font-weight: 600; }
.form-note a:hover { text-decoration: underline; }

/* Instagram */
.section--instagram { padding-top: 0; }
.instagram-banner__btn { gap: 10px; }
.instagram-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 48px;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #003d1c 0%, var(--accent-dark) 35%, #004d22 100%);
  color: rgba(255,255,255,.85);
  padding: 0 0 0;
}
.footer__bg {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.footer__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: footer-orb 14s ease-in-out infinite alternate;
}
.footer__orb--1 {
  width: 360px; height: 360px;
  background: rgba(222,255,164,.2);
  top: -80px; right: -60px;
}
.footer__orb--2 {
  width: 280px; height: 280px;
  background: rgba(3, 155, 79, .35);
  bottom: -40px; left: -40px;
  animation-delay: -6s;
}
@keyframes footer-orb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -15px) scale(1.1); }
}
.footer__pattern {
  position: absolute; inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.footer-cta-section {
  background: #fff;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.footer__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0;
  padding: 36px 40px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.footer__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(180deg, var(--accent-dark), var(--accent-mid));
}
.footer__cta-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.footer__cta h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text);
  font-weight: 800;
  letter-spacing: -.02em;
}
.footer__cta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}
.footer__main {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 48px;
}
.footer .logo__text { color: #fff; }
.footer__desc {
  margin: 16px 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
  max-width: 320px;
}
.footer__legal-info {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,.5);
}
.footer__addresses {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer__addresses li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.45;
}
.footer__icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--accent-glow);
  margin-top: 1px;
}
.footer__icon--title {
  width: 20px; height: 20px;
  margin-top: 0;
}
.footer h4 {
  display: flex; align-items: center; gap: 8px;
  color: #fff;
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 800;
}
.footer__nav { display: flex; flex-direction: column; gap: 2px; }
.footer__nav a,
.footer__contact-list a {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  padding: 7px 0;
  color: rgba(255,255,255,.72);
  transition: color .25s, transform .25s;
}
.footer__nav a::before {
  content: '';
  width: 0; height: 2px;
  background: var(--accent-glow);
  border-radius: 2px;
  transition: width .25s;
  flex-shrink: 0;
}
.footer__nav a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer__nav a:hover::before { width: 12px; margin-right: 4px; }
.footer__contact-list {
  list-style: none;
  padding: 0; margin: 0 0 20px;
}
.footer__contact-list a:hover { color: var(--accent-glow); }
.footer__social {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.footer__social-btn {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: none;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.footer__social-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}
.footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
}
.footer__legal a {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  transition: color .2s;
  position: relative;
}
.footer__legal a:hover { color: var(--accent-glow); }
.footer__legal a:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -12px;
  color: rgba(255,255,255,.25);
  pointer-events: none;
}

/* Footer reveal stagger */
.footer .reveal.is-visible.footer__brand { animation: footer-in .7s ease both; }
.footer .reveal.is-visible.footer__col:nth-child(2) { animation: footer-in .7s .1s ease both; }
.footer .reveal.is-visible.footer__col:nth-child(3) { animation: footer-in .7s .2s ease both; }
.footer .reveal.is-visible.footer__col:nth-child(4) { animation: footer-in .7s .3s ease both; }
@keyframes footer-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto;
  animation: cookie-in .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(32px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.cookie-banner__inner {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 22px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(3, 155, 79, .2);
}
.cookie-banner__icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--accent);
  animation: cookie-wiggle 3s ease-in-out infinite;
}
@keyframes cookie-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}
.cookie-banner p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  flex: 1;
}
.cookie-banner p a { color: var(--accent); font-weight: 600; }
.cookie-banner p a:hover { text-decoration: underline; }
.cookie-banner__actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-banner__more { border-color: var(--border) !important; }

/* Legal pages */
.legal-page {
  padding: 48px 0 80px;
  background: var(--bg-soft);
  min-height: 60vh;
}
.legal-page__inner {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
}
.legal-page__updated {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.legal-page section { margin-bottom: 28px; }
.legal-page h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--accent-dark);
}
.legal-page p, .legal-page li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--accent); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
.legal-page__links {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.cookie-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 13px;
}
.cookie-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 2fr .8fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.cookie-table__row:last-child { border-bottom: none; }
.cookie-table__head {
  background: var(--accent-soft);
  font-weight: 700;
  color: var(--accent-dark);
}
.footer--mini { padding-top: 0; }
.footer--mini .footer__bottom { border-top: none; }
@media (max-width: 768px) {
  .legal-page__inner { padding: 28px 20px; }
  .cookie-table__row { grid-template-columns: 1fr; gap: 4px; }
  .cookie-table__head { display: none; }
}

/* Social icons */
.social-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.social-icon--inline {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
}

/* Float actions */
.float-actions {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.float-actions__menu {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
}
.float-actions__item {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition:
    opacity .35s cubic-bezier(.22, 1, .36, 1),
    transform .4s cubic-bezier(.22, 1, .36, 1),
    visibility .35s;
}
.float-actions.is-open .float-actions__item {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.float-actions.is-open .float-actions__item:nth-child(1) { transition-delay: .22s; }
.float-actions.is-open .float-actions__item:nth-child(2) { transition-delay: .15s; }
.float-actions.is-open .float-actions__item:nth-child(3) { transition-delay: .08s; }
.float-actions.is-open .float-actions__item:nth-child(4) { transition-delay: 0s; }
.float-actions__btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  transition: transform .2s, box-shadow .2s;
}
.float-actions__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}
.float-actions__btn--call {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
}
.float-actions__btn--call .ico {
  width: 24px;
  height: 24px;
}
.float-actions__toggle {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: 18px;
  background: linear-gradient(145deg, #027a3f, #039b4f 50%, #04b35a);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(3, 155, 79, .4);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.float-actions__toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 40px rgba(3, 155, 79, .5);
}
.float-actions__icon {
  width: 26px;
  height: 26px;
  transition: opacity .25s, transform .3s cubic-bezier(.22, 1, .36, 1);
}
.float-actions__icon--close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}
.float-actions__icon--chat {
  opacity: 1;
  transform: none;
}
.float-actions.is-open .float-actions__icon--chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.float-actions.is-open .float-actions__icon--close {
  opacity: 1;
  transform: none;
}
.float-actions.is-open .float-actions__toggle {
  background: linear-gradient(145deg, #1a3326, #2d4a3a);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .25);
}
@media (max-width: 768px) {
  .float-actions {
    bottom: 16px;
    left: 16px;
  }
  .float-actions__toggle {
    width: 54px;
    height: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-actions__item {
    transition: none !important;
  }
  .float-actions:not(.is-open) .float-actions__item {
    display: none;
  }
  .float-actions.is-open .float-actions__item {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(26,26,46,.5);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  width: min(100%, 460px);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  box-shadow: 0 24px 64px rgba(3, 155, 79, .18), 0 8px 24px rgba(0, 0, 0, .08);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(3, 155, 79, .1);
}
.modal__dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-mid));
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  color: var(--text-muted);
  transition: background .2s, color .2s, transform .2s;
}
.modal__close:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
  transform: scale(1.05);
}

/* Toast */
.toast {
  position: fixed; bottom: 100px; left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  z-index: 300;
  box-shadow: var(--shadow);
  animation: toast-in .3s ease;
}
.toast[hidden] { display: none; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }

.course-card,
.teacher-card,
.feature-card,
.review-card {
  animation: none;
}
.courses-grid.is-visible .course-card,
.teachers-scroll.is-visible .teacher-card,
.features-grid.is-visible .feature-card,
.reviews-grid.is-visible .review-card {
  animation: card-in .6s cubic-bezier(.22,1,.36,1) both;
}
.teachers-scroll.is-visible .teacher-card:nth-child(2) { animation-delay: .08s; }
.teachers-scroll.is-visible .teacher-card:nth-child(3) { animation-delay: .16s; }
.teachers-scroll.is-visible .teacher-card:nth-child(4) { animation-delay: .24s; }
.teachers-scroll.is-visible .teacher-card:nth-child(5) { animation-delay: .32s; }
.teachers-scroll.is-visible .teacher-card:nth-child(6) { animation-delay: .4s; }
.features-grid.is-visible .feature-card,
.reviews-grid.is-visible .review-card {
  animation: card-in .6s cubic-bezier(.22,1,.36,1) both;
}
.courses-grid.is-visible .course-card:nth-child(2) { animation-delay: .06s; }
.courses-grid.is-visible .course-card:nth-child(3) { animation-delay: .12s; }
.courses-grid.is-visible .course-card:nth-child(4) { animation-delay: .18s; }
.courses-grid.is-visible .course-card:nth-child(5) { animation-delay: .24s; }
.courses-grid.is-visible .course-card:nth-child(6) { animation-delay: .3s; }
.courses-grid.is-visible .course-card:nth-child(7) { animation-delay: .36s; }
.courses-grid.is-visible .course-card:nth-child(8) { animation-delay: .42s; }
.courses-grid.is-visible .course-card:nth-child(9) { animation-delay: .48s; }
.courses-grid.is-visible .course-card:nth-child(10) { animation-delay: .54s; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-grid.is-visible .gallery-card,
  .lightbox.is-open,
  .lightbox__frame,
  .lightbox__img.is-changing,
  .teachers-scroll.is-visible .teacher-card {
    animation: none !important;
  }
  .gallery-card img,
  .gallery-card__overlay,
  .gallery-card__zoom,
  .gallery-card__caption,
  .teacher-card,
  .teacher-card__avatar-wrap {
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav > a { display: none; }
  .nav__extra { display: none; }
  .nav-dd:not(.nav-dd--about) { display: none; }
}
@media (max-width: 1024px) {
  .topbar__phones { display: none; }
  .course-tabs { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
  .hero__content { padding: 16px 0 0; }
  .hero__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-visual { min-height: clamp(380px, 46vh, 480px); }
  .hero-visual__bubble { max-width: 170px; top: 8%; }
  .about-grid,
  .courses-grid,
  .features-grid,
  .reviews-grid,
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(160px, 200px); }
  .gallery-card--hero { grid-row: span 1; }
  .gallery-card--wide { grid-column: span 2; }
  .video-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__cta { padding: 28px; }
}
@media (max-width: 768px) {
  .topbar__phones { display: none; }
  .topbar__actions { display: none; }
  .topbar__addr-btn span { display: none; }
  .topbar__phone-text { display: none; }
  .nav, .header__actions .btn--ghost { display: none; }
  .logo__text { display: none; }
  .burger { display: flex; }
  .section { padding: 56px 0; }
  .split-section,
  .contact-grid,
  .schedule-grid { grid-template-columns: 1fr; }
  .course-tabs__text small { display: none; }
  .courses-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .courses-foot .btn { width: 100%; }
  .courses-grid,
  .features-grid,
  .reviews-grid,
  .about-grid,
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(200px, 240px); }
  .gallery-card--wide,
  .gallery-card--hero { grid-column: span 1; grid-row: span 1; }
  .lightbox__nav { display: none; }
  .lightbox__footer { bottom: 72px; }
  .cta-banner,
  .instagram-banner { padding: 28px; }
  .hero__float { display: none; }
  .hero__bubbles { bottom: 64px; }
  .hero-visual { min-height: clamp(340px, 42vh, 440px); }
  .hero-visual__portrait { max-height: min(494px, 57vh); width: min(150%, 624px); }
  .hero__waves-svg { height: 64px; }
  .hero__waves { margin-top: -20px; }
  .hero-visual__bubble { left: 4px; max-width: 150px; padding: 10px 14px; }
  .hero-visual__badge--book { right: 4px; bottom: 20%; }
  .footer__main { grid-template-columns: 1fr; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .footer__cta-actions { width: 100%; }
  .footer__cta-actions .btn { flex: 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; }
  .cookie-banner__inner { flex-direction: column; }
  .teachers-head { flex-direction: column; align-items: flex-start; }
  .teachers-head .btn { align-self: stretch; text-align: center; }
  .teachers-nav { display: none; }
  .teachers-track::before,
  .teachers-track::after { width: 28px; }
  .teacher-card { flex: 0 0 min(78vw, 220px); }
}

/* ===== Course page ===== */
.page-course .header { background: rgba(255,255,255,.92); }
.section--soft { background: var(--bg-soft); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.breadcrumbs a {
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current="page"] { color: #fff; font-weight: 600; }

.course-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 0;
  background: linear-gradient(135deg, #014d28 0%, #026b38 35%, #039b4f 70%, #04b35a 100%);
  color: #fff;
}
.course-hero__bubbles {
  position: absolute;
  inset: 0 0 clamp(60px, 8vw, 88px);
  z-index: 0;
  pointer-events: none;
}
.course-hero__bubbles canvas { display: block; width: 100%; height: 100%; }
.course-hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.course-hero__orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.course-hero__orb--1 {
  width: 500px; height: 500px;
  top: -180px; right: -120px;
}
.course-hero__orb--2 {
  width: 320px; height: 320px;
  bottom: 60px; left: -100px;
  background: rgba(255,255,255,.05);
}
.course-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: clamp(420px, 52vh, 520px);
}
.course-hero__badge {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 16px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  animation: badge-in .7s ease both;
}
.course-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.course-hero__line {
  display: block;
  animation: hero-line-in .8s cubic-bezier(.22,1,.36,1) both;
}
.course-hero__line--dim {
  color: rgba(255,255,255,.75);
  animation-delay: .12s;
}
.course-hero__lead {
  margin: 0 0 20px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  animation: hero-line-in .8s .2s cubic-bezier(.22,1,.36,1) both;
}
.course-hero__tags {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.course-hero__tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.course-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.course-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.course-gauge {
  position: relative;
  width: min(280px, 80%);
  aspect-ratio: 1;
  animation: course-gauge-in 1s cubic-bezier(.22,1,.36,1) .3s both;
}
@keyframes course-gauge-in {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: none; }
}
.course-gauge__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.course-gauge__track {
  fill: none;
  stroke: rgba(255,255,255,.15);
  stroke-width: 10;
}
.course-gauge__fill {
  fill: none;
  stroke: #fff;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 515;
  stroke-dashoffset: 515;
  transition: stroke-dashoffset 2.4s cubic-bezier(.22,1,.36,1);
}
.course-gauge.is-animated .course-gauge__fill {
  stroke-dashoffset: 80;
}
.course-gauge__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.course-gauge__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
  margin-bottom: 4px;
}
.course-gauge__value {
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.course-gauge__unit {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}
.course-gauge__compare {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.course-gauge__after { color: #c2ebd4; }
.course-text-stream {
  position: absolute;
  right: 0;
  top: 10%;
  width: 140px;
  height: 280px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  opacity: .45;
  pointer-events: none;
}
.course-text-stream__inner {
  animation: course-text-scroll 12s linear infinite;
}
.course-text-stream__inner p {
  margin: 0 0 20px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes course-text-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.course-hero__float {
  position: absolute;
  padding: 12px 16px;
  background: rgba(255,255,255,.95);
  color: var(--text);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
  font-size: 12px;
  animation: float-y 4s ease-in-out infinite;
}
.course-hero__float strong { display: block; font-size: 14px; color: var(--accent); }
.course-hero__float span { color: var(--text-muted); }
.course-hero__float--1 { top: 8%; left: 0; animation-delay: 0s; }
.course-hero__float--2 { bottom: 18%; right: 0; animation-delay: -2s; }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.course-hero__waves {
  position: relative;
  z-index: 3;
  line-height: 0;
  margin-top: -24px;
}
.course-hero__waves-svg {
  display: block;
  width: 100%;
  height: clamp(64px, 9vw, 96px);
}
.course-hero__wave {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-wave-drift 13s ease-in-out infinite;
}
.course-hero__wave--2 { animation-duration: 16s; animation-direction: reverse; }

.course-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.course-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.course-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.course-pill .ico { color: var(--accent); width: 28px; height: 28px; }
.course-pill strong { display: block; font-size: 16px; }
.course-pill span { font-size: 13px; color: var(--text-muted); }
.course-pill--accent {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border-color: transparent;
  color: #fff;
}
.course-pill--accent .ico { color: #fff; }
.course-pill--accent span { color: rgba(255,255,255,.8); }

.course-about-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.course-about-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.course-about-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(transparent, rgba(2,107,56,.85));
}
.course-about-card__stat {
  flex: 1;
  padding: 12px;
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.course-about-card__stat strong {
  display: block;
  font-size: 22px;
  color: var(--accent);
}

.course-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.course-result-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
}
.course-result-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.course-result-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  background: var(--accent-soft);
  border-radius: 14px;
  color: var(--accent);
}
.course-result-card h3 { margin: 0 0 8px; font-size: 17px; }
.course-result-card p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.45; }

.course-program {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  counter-reset: prog;
}
.course-program li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.course-program li:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.course-program__num {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}
.course-program li strong { display: block; margin-bottom: 4px; font-size: 16px; }
.course-program li p { margin: 0; font-size: 14px; color: var(--text-muted); }

.course-note {
  margin-top: 20px;
  padding: 16px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
}

.course-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
}
.course-table th,
.course-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.course-table th {
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.course-table tr:last-child td { border-bottom: none; }
.course-table__price {
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}
.course-table__row--highlight {
  background: var(--accent-soft);
}
.course-table__row--highlight td { border-color: var(--border); }

.course-discounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.course-discount {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.course-discount strong {
  flex-shrink: 0;
  padding: 8px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
}
.course-discount span { font-size: 14px; color: var(--text-muted); line-height: 1.45; }

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .course-hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .course-hero__visual { min-height: 300px; order: -1; }
  .course-pills { grid-template-columns: repeat(2, 1fr); }
  .course-results { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .course-pills { grid-template-columns: 1fr; }
  .course-results { grid-template-columns: 1fr; }
  .course-discounts { grid-template-columns: 1fr; }
  .course-text-stream { display: none; }
  .course-hero__float { display: none; }
  .course-table th:nth-child(3),
  .course-table td:nth-child(3) { display: none; }
  .cta-banner__actions { width: 100%; }
  .cta-banner__actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .course-gauge,
  .course-hero__line,
  .course-hero__lead,
  .course-text-stream__inner,
  .course-hero__float,
  .course-hero__wave {
    animation: none !important;
  }
  .course-gauge__fill { stroke-dashoffset: 80; transition: none; }
}
