/* ==========================================================
AX PREMIUM UI KIT — COSMOENERGETICS MASTER EDITION
Production-ready components for academy website
========================================================== */

/* ==========================================================
0. TOKENS ADD-ON
========================================================== */
:root {
  --ax-header-h: 84px;
  --ax-topbar-h: 44px;
  --ax-z-header: 1000;
  --ax-z-overlay: 1200;
  --ax-z-modal: 1300;
  --ax-z-cookie: 1400;

  --ax-hero-glow: radial-gradient(circle at 20% 20%, rgba(30,64,175,0.08), transparent 40%),
                  radial-gradient(circle at 80% 10%, rgba(122,92,46,0.08), transparent 35%);

  --ax-gradient-primary: linear-gradient(135deg, #1e40af 0%, #172554 100%);
  --ax-gradient-accent: linear-gradient(135deg, #8a6835 0%, #654a22 100%);
  --ax-gradient-panel: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,1) 100%);
}

/* ==========================================================
1. HEADER / TOPBAR / NAV
========================================================== */
.ax-topbar {
  min-height: var(--ax-topbar-h);
  display: flex;
  align-items: center;
  background: #0f172a;
  color: rgba(255,255,255,0.82);
  font-size: var(--ax-f-sm);
}

.ax-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ax-topbar__left,
.ax-topbar__right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ax-topbar a {
  color: rgba(255,255,255,0.88);
}

.ax-topbar a:hover {
  color: #fff;
}

.ax-header {
  position: sticky;
  top: 0;
  z-index: var(--ax-z-header);
  background: rgba(248,250,252,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.ax-header__inner {
  min-height: var(--ax-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ax-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ax-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ax-gradient-primary);
  box-shadow: var(--ax-shadow-md);
}

.ax-logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ax-logo__title {
  font-family: var(--ax-font-heading);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ax-text);
}

.ax-logo__subtitle {
  font-size: 0.78rem;
  color: var(--ax-text-muted);
  line-height: 1.2;
}

.ax-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ax-nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ax-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ax-text-soft);
  font-size: 15px;
  font-weight: 600;
  transition: color var(--ax-transition-fast);
}

.ax-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--ax-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ax-transition-fast);
}

.ax-nav__link:hover,
.ax-nav__link.is-active {
  color: var(--ax-text);
}

.ax-nav__link:hover::after,
.ax-nav__link.is-active::after {
  transform: scaleX(1);
}

.ax-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ax-burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ax-border-soft);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ax-shadow-xs);
}

.ax-burger__box {
  position: relative;
  width: 20px;
  height: 16px;
}

.ax-burger__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--ax-text);
  transition: transform var(--ax-transition), opacity var(--ax-transition);
}

.ax-burger__line:nth-child(1) { top: 0; }
.ax-burger__line:nth-child(2) { top: 7px; }
.ax-burger__line:nth-child(3) { top: 14px; }

.ax-burger.is-active .ax-burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ax-burger.is-active .ax-burger__line:nth-child(2) {
  opacity: 0;
}
.ax-burger.is-active .ax-burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ax-mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 420px);
  background: #fff;
  box-shadow: var(--ax-shadow-xl);
  transform: translateX(100%);
  transition: transform var(--ax-transition);
  z-index: var(--ax-z-overlay);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.ax-mobile-panel.is-open {
  transform: translateX(0);
}

.ax-mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.ax-mobile-panel__nav {
  display: grid;
  gap: 8px;
}

.ax-mobile-panel__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ax-text);
  font-weight: 600;
  background: transparent;
}

.ax-mobile-panel__link:hover {
  background: var(--ax-panel-soft);
}

.ax-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ax-transition), visibility var(--ax-transition);
  z-index: calc(var(--ax-z-overlay) - 1);
}

.ax-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1100px) {
  .ax-nav {
    display: none;
  }

  .ax-burger {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .ax-topbar {
    display: none;
  }
}

/* ==========================================================
2. BREADCRUMBS
========================================================== */
.ax-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--ax-text-muted);
  font-size: var(--ax-f-sm);
}

.ax-breadcrumbs a {
  color: var(--ax-text-soft);
}

.ax-breadcrumbs a:hover {
  color: var(--ax-primary);
}

.ax-breadcrumbs__sep {
  opacity: 0.5;
}

/* ==========================================================
3. HERO PREMIUM BLOCK
========================================================== */
.ax-hero-premium {
  position: relative;
  overflow: clip;
  background:
    var(--ax-hero-glow),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.ax-hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.82) 45%, rgba(255,255,255,0.7) 100%);
  pointer-events: none;
}

.ax-hero-premium__inner {
  position: relative;
  z-index: 1;
}

.ax-hero-premium__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.ax-hero-premium__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ax-hero-premium__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 34px;
  padding: 6px 14px;
  background: var(--ax-accent-soft);
  border: 1px solid var(--ax-accent-line);
  color: var(--ax-accent);
  font-size: var(--ax-f-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--ax-radius-pill);
}

.ax-hero-premium__title {
  max-width: 12ch;
}

.ax-hero-premium__lead {
  max-width: 62ch;
}

.ax-hero-premium__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.ax-hero-premium__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-top: 8px;
}

.ax-hero-premium__feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--ax-border-soft);
  border-radius: var(--ax-radius-pill);
  color: var(--ax-text-soft);
  font-size: var(--ax-f-sm);
  box-shadow: var(--ax-shadow-xs);
}

.ax-hero-premium__visual {
  position: relative;
}

.ax-hero-premium__glass {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 28px;
  box-shadow: var(--ax-shadow-xl);
  padding: clamp(22px, 2vw, 28px);
}

.ax-hero-premium__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ax-hero-premium__stat {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--ax-border-soft);
}

.ax-hero-premium__stat-value {
  font-family: var(--ax-font-heading);
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ax-text);
}

.ax-hero-premium__stat-label {
  margin-top: 6px;
  color: var(--ax-text-muted);
  font-size: var(--ax-f-sm);
}

@media (max-width: 960px) {
  .ax-hero-premium__layout {
    grid-template-columns: 1fr;
  }

  .ax-hero-premium__title {
    max-width: 14ch;
  }
}

/* ==========================================================
4. FEATURES SECTION
========================================================== */
.ax-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  background: var(--ax-panel);
  border: 1px solid var(--ax-border-soft);
  border-radius: 20px;
  box-shadow: var(--ax-shadow-sm);
  transition: transform var(--ax-transition), box-shadow var(--ax-transition), border-color var(--ax-transition);
}

.ax-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ax-shadow-lg);
  border-color: var(--ax-border-mid);
}

.ax-feature-card__icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--ax-accent-soft);
  border: 1px solid var(--ax-accent-line);
  color: var(--ax-accent);
  font-size: 1.3rem;
}

.ax-feature-card__title {
  margin-bottom: 12px;
}

.ax-feature-card__text {
  color: var(--ax-text-soft);
  line-height: 1.72;
}

/* ==========================================================
5. COURSE CARDS / PROGRAM CARDS
========================================================== */
.ax-course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ax-gradient-panel);
  border: 1px solid var(--ax-border-soft);
  border-radius: 22px;
  box-shadow: var(--ax-shadow-sm);
  overflow: hidden;
  transition: transform var(--ax-transition), box-shadow var(--ax-transition), border-color var(--ax-transition);
}

.ax-course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ax-shadow-lg);
  border-color: var(--ax-border-mid);
}

.ax-course-card__top {
  padding: 28px 28px 22px;
  border-bottom: 1px solid var(--ax-border-soft);
}

.ax-course-card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 28px 28px;
  flex: 1;
}

.ax-course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ax-course-card__title {
  margin-top: 14px;
}

.ax-course-card__text {
  color: var(--ax-text-soft);
  line-height: 1.72;
}

.ax-course-card__list {
  display: grid;
  gap: 10px;
}

.ax-course-card__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ax-text-soft);
  line-height: 1.55;
}

.ax-course-card__item::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 999px;
  background: var(--ax-accent);
  flex: 0 0 8px;
}

.ax-course-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--ax-border-soft);
}

.ax-course-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ax-course-card__price-label {
  color: var(--ax-text-muted);
  font-size: var(--ax-f-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ax-course-card__price-value {
  font-family: var(--ax-font-heading);
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ax-text);
}

/* ==========================================================
6. PRICING SECTION
========================================================== */
.ax-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.ax-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ax-border-soft);
  border-radius: 24px;
  box-shadow: var(--ax-shadow-sm);
  transition: transform var(--ax-transition), box-shadow var(--ax-transition), border-color var(--ax-transition);
}

.ax-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ax-shadow-lg);
  border-color: var(--ax-border-mid);
}

.ax-pricing-card--featured {
  border-color: var(--ax-primary-line);
  box-shadow: 0 20px 40px -18px rgba(30,64,175,0.22), var(--ax-shadow-md);
}

.ax-pricing-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
}

.ax-pricing-card__plan {
  color: var(--ax-text);
  font-family: var(--ax-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.ax-pricing-card__desc {
  margin-top: 10px;
  color: var(--ax-text-soft);
  line-height: 1.7;
}

.ax-pricing-card__price {
  margin-top: 22px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.ax-pricing-card__amount {
  font-family: var(--ax-font-heading);
  font-size: clamp(2rem, 1.4rem + 1.3vw, 3rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ax-text);
}

.ax-pricing-card__unit {
  padding-bottom: 6px;
  color: var(--ax-text-muted);
  font-size: var(--ax-f-sm);
}

.ax-pricing-card__features {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ax-border-soft);
}

.ax-pricing-card__actions {
  margin-top: 28px;
}

/* ==========================================================
7. TESTIMONIALS
========================================================== */
.ax-testimonial-card {
  height: 100%;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ax-border-soft);
  border-radius: 22px;
  box-shadow: var(--ax-shadow-sm);
}

.ax-testimonial-card__stars {
  display: flex;
  gap: 6px;
  color: var(--ax-accent);
  margin-bottom: 18px;
}

.ax-testimonial-card__quote {
  color: var(--ax-text-soft);
  line-height: 1.78;
}

.ax-testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ax-border-soft);
}

.ax-testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--ax-panel-soft);
  overflow: hidden;
  flex: 0 0 48px;
}

.ax-testimonial-card__name {
  color: var(--ax-text);
  font-weight: 700;
  line-height: 1.2;
}

.ax-testimonial-card__meta {
  color: var(--ax-text-muted);
  font-size: var(--ax-f-sm);
  margin-top: 3px;
}

/* ==========================================================
8. FAQ / ACCORDION
========================================================== */
.ax-faq {
  display: grid;
  gap: 16px;
}

.ax-faq-item {
  background: #fff;
  border: 1px solid var(--ax-border-soft);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--ax-shadow-xs);
  transition: border-color var(--ax-transition-fast), box-shadow var(--ax-transition-fast);
}

.ax-faq-item:hover {
  border-color: var(--ax-border-mid);
  box-shadow: var(--ax-shadow-sm);
}

.ax-faq-item[open] {
  border-color: var(--ax-primary-line);
  box-shadow: var(--ax-shadow-sm);
}

.ax-faq-item__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 20px 24px;
  font-family: var(--ax-font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ax-text);
}

.ax-faq-item__summary::-webkit-details-marker {
  display: none;
}

.ax-faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ax-panel-soft);
  border: 1px solid var(--ax-border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ax-primary);
  flex: 0 0 28px;
  transition: transform var(--ax-transition-fast), background-color var(--ax-transition-fast);
}

.ax-faq-item[open] .ax-faq-item__icon {
  transform: rotate(45deg);
  background: var(--ax-primary-soft);
}

.ax-faq-item__content {
  padding: 0 24px 22px;
  color: var(--ax-text-soft);
  line-height: 1.76;
}

.ax-faq-item__content > * + * {
  margin-top: 0.9em;
}

/* ==========================================================
9. CTA BLOCKS
========================================================== */
.ax-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: var(--ax-gradient-primary);
  color: #fff;
  box-shadow: var(--ax-shadow-xl);
}

.ax-cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  filter: blur(12px);
}

.ax-cta__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.ax-cta__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ax-cta__title {
  color: #fff;
  max-width: 18ch;
}

.ax-cta__text {
  color: rgba(255,255,255,0.86);
  max-width: 62ch;
  line-height: 1.75;
}

.ax-cta .ax-btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.24);
}

.ax-cta .ax-btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.36);
}

@media (max-width: 860px) {
  .ax-cta__layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
10. PROCESS / STEPS
========================================================== */
.ax-steps {
  display: grid;
  gap: 20px;
}

.ax-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--ax-border-soft);
  border-radius: 20px;
  box-shadow: var(--ax-shadow-xs);
}

.ax-step__num {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--ax-primary-soft);
  border: 1px solid var(--ax-primary-line);
  color: var(--ax-primary);
  font-family: var(--ax-font-heading);
  font-size: 1.45rem;
  font-weight: 800;
}

.ax-step__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ax-step__text {
  color: var(--ax-text-soft);
  line-height: 1.72;
}

@media (max-width: 640px) {
  .ax-step {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
11. TIMELINE
========================================================== */
.ax-timeline {
  position: relative;
  display: grid;
  gap: 24px;
}

.ax-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: var(--ax-border-soft);
}

.ax-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
}

.ax-timeline__dot {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--ax-primary);
  box-shadow: var(--ax-shadow-sm);
}

.ax-timeline__card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ax-border-soft);
  border-radius: 18px;
  box-shadow: var(--ax-shadow-xs);
}

.ax-timeline__date {
  color: var(--ax-accent);
  font-size: var(--ax-f-sm);
  font-weight: 700;
  margin-bottom: 6px;
}

.ax-timeline__text {
  color: var(--ax-text-soft);
  line-height: 1.7;
}

/* ==========================================================
12. TABLE / COMPARISON PRICING
========================================================== */
.ax-compare {
  overflow-x: auto;
  border: 1px solid var(--ax-border-soft);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--ax-shadow-sm);
}

.ax-compare table {
  width: 100%;
  min-width: 760px;
}

.ax-compare th,
.ax-compare td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--ax-border-soft);
  text-align: left;
}

.ax-compare th {
  font-family: var(--ax-font-heading);
  font-size: 0.98rem;
  color: var(--ax-text);
  background: var(--ax-panel-soft);
}

.ax-compare td {
  color: var(--ax-text-soft);
}

.ax-compare tr:last-child td {
  border-bottom: 0;
}

.ax-compare__yes {
  color: var(--ax-success);
  font-weight: 700;
}

.ax-compare__no {
  color: var(--ax-text-muted);
}

/* ==========================================================
13. CONTACTS / CONTACT CARDS
========================================================== */
.ax-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.ax-contact-card {
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--ax-border-soft);
  border-radius: 22px;
  box-shadow: var(--ax-shadow-sm);
}

.ax-contact-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.ax-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ax-contact-item__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--ax-accent-soft);
  border: 1px solid var(--ax-accent-line);
  color: var(--ax-accent);
  flex: 0 0 44px;
}

.ax-contact-item__title {
  font-weight: 700;
  color: var(--ax-text);
  line-height: 1.2;
}

.ax-contact-item__text {
  color: var(--ax-text-soft);
  margin-top: 4px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .ax-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
14. FORMS PREMIUM
========================================================== */
.ax-form-card {
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--ax-border-soft);
  border-radius: 22px;
  box-shadow: var(--ax-shadow-sm);
}

.ax-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ax-form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-top: 6px;
}

.ax-form-note {
  color: var(--ax-text-muted);
  font-size: var(--ax-f-xs);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .ax-form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
15. VIDEO / MEDIA CARDS
========================================================== */
.ax-video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--ax-border-soft);
  box-shadow: var(--ax-shadow-sm);
  transition: transform var(--ax-transition), box-shadow var(--ax-transition), border-color var(--ax-transition);
}

.ax-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ax-shadow-lg);
  border-color: var(--ax-border-mid);
}

.ax-video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ax-panel-soft);
}

.ax-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ax-video-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--ax-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ax-shadow-lg);
}

.ax-video-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 24px;
}

.ax-video-card__meta {
  color: var(--ax-text-muted);
  font-size: var(--ax-f-sm);
}

/* ==========================================================
16. STICKY CTA BAR
========================================================== */
.ax-sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(100% - 24px, 920px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px 14px 18px;
  background: rgba(15,23,42,0.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: var(--ax-shadow-xl);
  backdrop-filter: blur(14px);
}

.ax-sticky-cta__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ax-sticky-cta__title {
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.ax-sticky-cta__text {
  color: rgba(255,255,255,0.74);
  font-size: var(--ax-f-sm);
  line-height: 1.4;
}

.ax-sticky-cta .ax-btn-primary {
  box-shadow: none;
}

@media (max-width: 720px) {
  .ax-sticky-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .ax-sticky-cta .ax-btn {
    width: 100%;
  }
}

/* ==========================================================
17. COOKIE BANNER PREMIUM
========================================================== */
.ax-cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--ax-z-cookie);
  width: min(100% - 24px, 420px);
  padding: 20px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 20px;
  box-shadow: var(--ax-shadow-xl);
}

.ax-cookie__title {
  font-family: var(--ax-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ax-text);
}

.ax-cookie__text {
  margin-top: 10px;
  color: var(--ax-text-soft);
  font-size: var(--ax-f-sm);
  line-height: 1.65;
}

.ax-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* ==========================================================
18. SIDEBAR / ASIDE
========================================================== */
.ax-layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.ax-sidebar {
  position: sticky;
  top: calc(var(--ax-header-h) + 24px);
  display: grid;
  gap: 18px;
}

.ax-sidebar-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ax-border-soft);
  border-radius: 18px;
  box-shadow: var(--ax-shadow-sm);
}

.ax-sidebar-card__title {
  font-family: var(--ax-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ax-text);
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .ax-layout-sidebar {
    grid-template-columns: 1fr;
  }

  .ax-sidebar {
    position: static;
  }
}

/* ==========================================================
19. FOOTER PREMIUM
========================================================== */
.ax-footer {
  position: relative;
  background: #0f172a;
  color: rgba(255,255,255,0.78);
}

.ax-footer__top {
  padding-block: clamp(56px, 7vw, 88px) clamp(36px, 5vw, 56px);
}

.ax-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr;
  gap: 28px;
}

.ax-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ax-footer__title {
  color: #fff;
  font-family: var(--ax-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.ax-footer__text {
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 34ch;
}

.ax-footer__heading {
  color: #fff;
  font-family: var(--ax-font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.ax-footer__nav,
.ax-footer__contacts {
  display: grid;
  gap: 10px;
}

.ax-footer a {
  color: rgba(255,255,255,0.74);
}

.ax-footer a:hover {
  color: #fff;
}

.ax-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 18px;
}

.ax-footer__bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  font-size: var(--ax-f-sm);
  color: rgba(255,255,255,0.56);
}

@media (max-width: 1100px) {
  .ax-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ax-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
20. ARTICLE / CONTENT PAGE BLOCKS
========================================================== */
.ax-article {
  display: grid;
  gap: 28px;
}

.ax-article__hero {
  display: grid;
  gap: 18px;
}

.ax-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--ax-text-muted);
  font-size: var(--ax-f-sm);
}

.ax-article__cover {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--ax-shadow-lg);
  background: var(--ax-panel-soft);
}

.ax-article__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ax-article__body {
  color: var(--ax-text-soft);
  line-height: 1.82;
}

.ax-article__body > * + * {
  margin-top: 1em;
}

.ax-article__body h2,
.ax-article__body h3 {
  color: var(--ax-text);
  font-family: var(--ax-font-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 1.7em;
  margin-bottom: 0.45em;
}

.ax-article__body ul,
.ax-article__body ol {
  padding-left: 1.2em;
}

.ax-article__body blockquote {
  padding: 20px 22px;
  border-left: 4px solid var(--ax-accent);
  background: var(--ax-accent-soft);
  border-radius: 0 16px 16px 0;
  color: var(--ax-text);
}

/* ==========================================================
21. RESPONSIVE GLOBAL IMPROVEMENTS
========================================================== */
@media (max-width: 860px) {
  .ax-header__actions .ax-btn-secondary {
    display: none;
  }

  .ax-course-card__footer,
  .ax-pricing-card__actions,
  .ax-form-submit {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .ax-header__inner {
    min-height: 74px;
  }

  .ax-logo__subtitle {
    display: none;
  }

  .ax-hero-premium__actions,
  .ax-btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .ax-hero-premium__actions .ax-btn,
  .ax-btn-group .ax-btn {
    width: 100%;
  }

  .ax-course-card__top,
  .ax-course-card__body,
  .ax-pricing-card,
  .ax-testimonial-card,
  .ax-contact-card,
  .ax-form-card {
    padding-left: 20px;
    padding-right: 20px;
  }
}