/* =========================================================================
   Varianti — Marketing Site
   Source: Figma "Varianti (Copy).fig" Home frame (1440 desktop / 420 mobile)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Georgian:wght@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@600,700&display=swap');

/* ---------- TOKENS ---------- */
:root {
  --vt-orange-500: #FF7441;
  --vt-orange-600: #FF7642;
  --vt-orange-deep-900: #501500;
  --vt-orange-deep-950: #280B00;
  --vt-warning-bg: #DC6803;

  --vt-bg-pure: #000000;
  --vt-bg-900: #0C0E12;
  --vt-bg-850: #13161B;
  --vt-bg-800: #22262F;

  --vt-fg-primary: #F7F7F7;
  --vt-fg-on-dark: #FFFFFF;
  --vt-fg-muted: #94979C;
  --vt-fg-quiet: #CECFD2;

  --vt-stroke: rgba(255, 255, 255, 0.12);
  --vt-stroke-strong: rgba(255, 255, 255, 0.2);

  --vt-shadow-button: 0 1px 2px 0 rgba(255, 255, 255, 0),
    inset 0 -2px 0 0 rgba(12, 14, 18, 0.05),
    inset 0 0 0 1px rgba(12, 14, 18, 0.18);
  --vt-shadow-icon-tile: 0 1px 2px 0 rgba(10, 13, 18, 0.05),
    inset 0 -2px 0 0 rgba(10, 13, 18, 0.05),
    inset 0 0 0 1px rgba(10, 13, 18, 0.18);

  --vt-font-sans: "Inter", "Noto Sans Georgian", -apple-system, BlinkMacSystemFont, sans-serif;
  --vt-font-display: "Clash Display", "Inter", sans-serif;

  --container-max: 1280px;
  --container-pad: 32px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--vt-bg-900);
  color: var(--vt-fg-primary);
  font-family: var(--vt-font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
::selection { background: var(--vt-orange-500); color: #fff; }

/* ---------- LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + (var(--container-pad) * 2));
  margin: 0 auto;
  padding: 0 calc(var(--container-pad) + 32px);
}

@media (max-width: 1024px) {
  :root { --container-pad: 16px; }
  .container { padding: 0 16px; }
}

/* ---------- TYPE ---------- */
.eyebrow {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--vt-orange-500);
  margin: 0;
}
.eyebrow--on-dark { color: var(--vt-orange-400, #FF9466); }
.h-display {
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: var(--vt-fg-primary);
  margin: 0;
}
.body-lg {
  font-size: 20px;
  line-height: 30px;
  color: var(--vt-fg-muted);
  margin: 0;
}
.body-md {
  font-size: 18px;
  line-height: 28px;
  color: var(--vt-fg-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .body-lg { font-size: 18px; line-height: 28px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 150ms ease, transform 80ms ease, color 150ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn .icon { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--vt-orange-500);
  color: #fff;
  box-shadow: var(--vt-shadow-button);
}
.btn-primary:hover { background: var(--vt-orange-600); }

.btn-secondary {
  background: var(--vt-bg-850);
  color: var(--vt-fg-primary);
  box-shadow: inset 0 0 0 1px var(--vt-stroke), inset 0 -2px 0 0 rgba(12, 14, 18, 0.05);
}
.btn-secondary:hover { background: var(--vt-bg-800); }

.btn-md { padding: 8px 14px; font-size: 14px; line-height: 20px; }
.btn-md .icon { width: 16px; height: 16px; }
.btn-lg { padding: 10px 18px; }
.btn-xl { padding: 12px 20px; }
.btn-2xl { padding: 16px 28px; font-size: 18px; line-height: 28px; }
.btn-2xl .icon { width: 24px; height: 24px; }

/* ---------- NAVIGATION ---------- */
.site-nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 calc(var(--container-pad) + 32px);
  pointer-events: none;
}
.site-nav__wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  background: rgba(12, 14, 18, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0), inset 0 0 0 1px var(--vt-stroke);
  padding: 12px 12px 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  pointer-events: auto;
}
.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.site-nav__brand .mark { width: 30px; height: 20px; }
.site-nav__brand .word { height: 20px; width: auto; filter: brightness(0) invert(1); }
.site-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--vt-fg-on-dark);
  padding: 4px 0;
  transition: color 150ms ease;
}
.site-nav__links a:hover { color: var(--vt-fg-quiet); }
.site-nav__cta { margin-left: auto; }
.site-nav__menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--vt-fg-on-dark);
}

@media (max-width: 1024px) {
  .site-nav { padding: 0 16px; top: 16px; }
  .site-nav__wrap { padding: 12px; gap: 12px; }
  .site-nav__links, .site-nav__cta { display: none; }
  .site-nav__menu-btn { display: inline-flex; }
}

/* Mobile menu (drawer) */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 14, 18, 0.95);
  backdrop-filter: blur(20px);
  z-index: 200;
  padding: 80px 16px 32px;
  display: none;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__close {
  position: absolute;
  top: 28px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vt-fg-on-dark);
  border-radius: 8px;
}
.mobile-menu a {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--vt-fg-on-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--vt-stroke);
}
.mobile-menu .btn { margin-top: 16px; align-self: flex-start; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--vt-orange-deep-950);
  padding: 176px 0 96px;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(19, 22, 27, 0) 0%, rgba(19, 22, 27, 0.55) 55%, var(--vt-bg-850) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: url('../images/fig-gradient.png') center / cover no-repeat;
  transform: scaleX(-1);
}
.hero__noise {
  position: absolute;
  inset: 0;
  background: url('../images/fig-noise.png') center / 200px 200px;
  opacity: 0.35;
  mix-blend-mode: overlay;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.hero__heading-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 768px;
}
.hero__title {
  font-weight: 700;
  font-size: 60px;
  line-height: 72px;
  letter-spacing: -0.02em;
  color: var(--vt-fg-primary);
  margin: 0;
}
.hero__subtitle {
  font-size: 20px;
  line-height: 30px;
  color: var(--vt-fg-muted);
  margin: 0;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
/* .hero__image removed — replaced by .vrnt-hero component at bottom of file */

@media (max-width: 768px) {
  .hero { padding: 128px 0 64px; }
  .hero__inner { gap: 32px; }
  .hero__title { font-size: 36px; line-height: 44px; }
  .hero__subtitle { font-size: 18px; line-height: 28px; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- ABOUT / WHY US SECTION ---------- */
.about {
  background: var(--vt-bg-850);
  padding: 96px 0;
}
.about__lede {
  display: grid;
  gap: 20px;
  margin-bottom: 64px;
  max-width: 768px;
}
.about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 96px;
}
.feature {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--vt-warning-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--vt-shadow-icon-tile);
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature__body { display: flex; flex-direction: column; gap: 8px; }
.feature__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: var(--vt-fg-primary);
  margin: 0;
}
.feature__copy {
  font-size: 16px;
  line-height: 24px;
  color: var(--vt-fg-muted);
  margin: 0;
}

.about__photo {
  width: 100%;
  max-width: 1216px;
  height: 516px;
  border-radius: 24px;
  background: url('../images/fig-about.jpg') center / cover no-repeat;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .about__features { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .about { padding: 64px 0; }
  .about__lede { margin-bottom: 48px; }
  .about__features { margin-bottom: 64px; gap: 40px; }
  .about__photo { height: 240px; border-radius: 16px; }
  .feature { flex-direction: column; gap: 16px; }
}

/* ---------- COURSE FEATURE SECTION ---------- */
.course-feature {
  background: var(--vt-bg-900);
  padding: 96px 0;
}
.course-feature__head {
  max-width: 768px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 64px;
}
.course-feature__head .body-lg { margin-top: 8px; }
.course-feature__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.course-feature__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.course-feature__list .actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.course-feature__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 560px;
  background: url('../images/fig-dispatching.jpg') center / cover no-repeat;
}

@media (max-width: 1024px) {
  .course-feature__split { grid-template-columns: 1fr; gap: 48px; }
  .course-feature__media { height: 360px; }
}
@media (max-width: 768px) {
  .course-feature { padding: 64px 0; }
  .course-feature__head { margin-bottom: 48px; }
  .course-feature__list { gap: 40px; }
  .course-feature__media { height: 240px; border-radius: 16px; }
  .course-feature__list .actions .btn { width: 100%; }
}

/* ---------- TEAM SECTION ---------- */
.team {
  background: var(--vt-bg-900);
  padding: 96px 0;
}
.team__head {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.team__head .body-lg { margin: 0; }
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.team-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 592 / 772;
  background-size: cover;
  background-position: center;
}
.team-card--1 { background-image: url('../images/fig-team-1.jpg'); }
.team-card--2 { background-image: url('../images/fig-team-2.jpg'); }
.team-card__glass {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: rgba(12, 14, 18, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--vt-stroke-strong);
  border-radius: 16px;
  padding: 20px 24px;
  color: var(--vt-fg-on-dark);
}
.team-card__role {
  font-size: 14px;
  line-height: 20px;
  color: var(--vt-fg-quiet);
  margin: 0 0 4px;
}
.team-card__name {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: var(--vt-fg-on-dark);
  margin: 0;
}

@media (max-width: 768px) {
  .team { padding: 64px 0; }
  .team__head { margin-bottom: 48px; }
  .team__grid { grid-template-columns: 1fr; gap: 24px; }
  .team-card { aspect-ratio: 1 / 1; border-radius: 16px; }
  .team-card__glass { left: 16px; right: 16px; bottom: 16px; padding: 16px; }
}

/* ---------- UPCOMING COURSES ---------- */
.upcoming {
  background: var(--vt-bg-900);
  padding: 96px 0;
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.upcoming__row {
  display: grid;
  grid-template-columns: 768px 416px;
  gap: 32px;
  align-items: start;
  justify-content: space-between;
}
.upcoming__row--reverse { grid-template-columns: 416px 768px; }
.upcoming__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.upcoming__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  background: rgba(255, 116, 65, 0.12);
  color: var(--vt-orange-500);
  border: 1px solid rgba(255, 116, 65, 0.4);
  white-space: nowrap;
}
.upcoming__image {
  width: 100%;
  height: 252px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 1024px) {
  .upcoming__row,
  .upcoming__row--reverse { grid-template-columns: 1fr; gap: 32px; }
  .upcoming__row--reverse .upcoming__copy { order: 1; }
  .upcoming__row--reverse .upcoming__image { order: 2; }
}
@media (max-width: 768px) {
  .upcoming { padding: 64px 0; gap: 64px; }
  .upcoming__image { height: 200px; border-radius: 16px; }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--vt-bg-900);
  padding: 96px 0;
}
.testimonials__head {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--vt-bg-850);
  border: 1px solid var(--vt-stroke);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card__stars {
  display: inline-flex;
  gap: 4px;
  color: var(--vt-orange-500);
}
.testimonial-card__stars .icon { width: 16px; height: 16px; fill: currentColor; }
.testimonial-card__quote {
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: var(--vt-fg-primary);
  margin: 0;
  flex: 1;
}
.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #D9D9D9, #A0A0A0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--vt-fg-primary);
  margin: 0;
}

@media (max-width: 1024px) {
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .testimonials { padding: 64px 0; }
  .testimonials__head { margin-bottom: 48px; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 24px; }
}

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(ellipse 160% 75% at 50% 145%, rgba(255, 116, 65, 0.55) 0%, rgba(255, 116, 65, 0.28) 18%, rgba(80, 21, 0, 0.45) 38%, rgba(12, 14, 18, 0) 62%),
    var(--vt-bg-900);
  padding: 96px 0;
  position: relative;
}
.cta__card {
  background: var(--vt-orange-deep-900);
  border-radius: 16px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.cta__heading-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  max-width: 768px;
}
.cta__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: var(--vt-fg-primary);
  margin: 0;
}
.cta__subtitle {
  font-size: 20px;
  line-height: 30px;
  color: var(--vt-fg-on-dark);
  margin: 0;
}
.cta__form {
  width: 100%;
  max-width: 549px;
  display: flex;
  gap: 16px;
}
.cta__input {
  flex: 1;
  padding: 12px 14px;
  background: #fff;
  color: #181D27;
  border: 1px solid #D5D7DA;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
}
.cta__input::placeholder { color: #717680; }
.cta__input:focus {
  outline: 2px solid var(--vt-orange-500);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .cta { padding: 64px 0; }
  .cta__card { padding: 40px 24px; gap: 32px; }
  .cta__title { font-size: 30px; line-height: 38px; }
  .cta__subtitle { font-size: 18px; line-height: 28px; }
  .cta__form { flex-direction: column; gap: 12px; }
  .cta__form .btn { width: 100%; }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background:
    radial-gradient(ellipse 105% 80% at 50% 105%, rgba(255, 116, 65, 0.85) 0%, rgba(255, 116, 65, 0.45) 18%, rgba(147, 47, 25, 0.55) 35%, rgba(80, 21, 0, 0.35) 50%, rgba(12, 14, 18, 0) 70%),
    var(--vt-bg-900);
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}
.site-footer__bg { display: none; }
.site-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.site-footer__brand .mark { width: 53px; height: 36px; }
.site-footer__brand .word { height: 36px; width: auto; filter: brightness(0) invert(1); }
.site-footer__claim-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  max-width: 768px;
}
.site-footer__claim {
  font-family: var(--vt-font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.01em;
  color: var(--vt-fg-primary);
  margin: 0;
}
.site-footer__claim-sub {
  font-size: 20px;
  line-height: 30px;
  color: var(--vt-fg-on-dark);
  margin: 0;
}
.site-footer__legal {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--vt-stroke);
  padding-top: 32px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--vt-fg-on-dark);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer__links { display: flex; gap: 24px; }
.site-footer__links a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .site-footer { padding: 48px 0 84px; }
  .site-footer__claim { font-size: 30px; line-height: 38px; }
  .site-footer__claim-sub { font-size: 18px; line-height: 28px; }
  .site-footer__legal { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- LOGO MARK (reusable) ---------- */
.logo-mark { display: inline-block; flex-shrink: 0; }

/* =========================================================================
   PAGE HEADER (reusable across courses/contact/policy/etc.)
   ========================================================================= */
.page-hero {
  position: relative;
  background: var(--vt-orange-deep-950);
  padding: 176px 0 96px;
  overflow: hidden;
  text-align: center;
}
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.page-hero__gradient {
  position: absolute; inset: 0;
  background: url('../images/fig-gradient.png') center / cover no-repeat;
  transform: scaleX(-1);
}
.page-hero__noise {
  position: absolute; inset: 0;
  background: url('../images/fig-noise.png') center / 200px 200px;
  opacity: 0.35; mix-blend-mode: overlay;
}
.page-hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  max-width: 768px; margin: 0 auto;
}
.page-hero__title {
  font-weight: 700; font-size: 60px; line-height: 72px;
  letter-spacing: -0.02em; color: var(--vt-fg-primary); margin: 0;
}
.page-hero__subtitle {
  font-size: 20px; line-height: 30px;
  color: var(--vt-fg-muted); margin: 0;
}
@media (max-width: 768px) {
  .page-hero { padding: 128px 0 64px; }
  .page-hero__title { font-size: 36px; line-height: 44px; }
  .page-hero__subtitle { font-size: 18px; line-height: 28px; }
}

/* ---------- COURSES HERO (Courses page) ---------- */
.courses-hero {
  background: var(--vt-bg-900);
  padding: 144px 0 64px;
}
.courses-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.courses-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.courses-hero__title {
  font-weight: 700; font-size: 60px; line-height: 72px;
  letter-spacing: -0.02em; color: var(--vt-fg-primary); margin: 0;
}
.courses-hero__subtitle {
  font-size: 20px; line-height: 30px; color: var(--vt-fg-muted); margin: 0;
  max-width: 560px;
}
.courses-hero__cta { margin-top: 24px; align-self: flex-start; }
.courses-hero__media {
  position: relative;
  height: 640px;
  border-radius: 24px;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.courses-hero__arrow {
  position: absolute;
  left: -28px;
  top: -10px;
  width: 230px;
  height: 195px;
  z-index: 1;
  pointer-events: none;
}
.play-btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 128px; height: 128px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.play-btn:hover { background: rgba(255, 255, 255, 0.28); }
.play-btn:active { transform: translate(-50%, -50%) scale(0.96); }
.play-btn svg { width: 48px; height: 48px; margin-left: 6px; }
@media (max-width: 1024px) {
  .courses-hero { padding: 112px 0 48px; }
  .courses-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .courses-hero__title { font-size: 40px; line-height: 48px; }
  .courses-hero__media { height: 380px; }
  .courses-hero__arrow { display: none; }
}
@media (max-width: 768px) {
  .courses-hero__title { font-size: 32px; line-height: 40px; }
  .courses-hero__subtitle { font-size: 18px; line-height: 28px; }
  .courses-hero__media { height: 260px; border-radius: 16px; }
  .play-btn { width: 80px; height: 80px; }
  .play-btn svg { width: 32px; height: 32px; }
}

/* ---------- COURSES LIST (Courses page) ---------- */
.courses-list {
  background: var(--vt-bg-900);
  padding: 64px 0 96px;
}
.courses-list .container { display: flex; flex-direction: column; gap: 64px; }
.course-row { width: 100%; }
.course-row__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--vt-bg-850);
  border-radius: 16px;
  padding: 64px;
}
.course-row__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.course-row__head { display: flex; flex-direction: column; gap: 16px; }
.course-row__title {
  font-weight: 700; font-size: 36px; line-height: 44px;
  letter-spacing: -0.02em; color: var(--vt-fg-primary); margin: 0;
}
.course-row__copy {
  font-size: 20px; line-height: 30px; color: var(--vt-fg-muted); margin: 0;
}
.course-row__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.course-row__actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 8px;
}
.course-row__price { display: inline-flex; gap: 8px; align-items: baseline; }
.course-row__price-old {
  font-weight: 700; font-size: 24px; line-height: 24px;
  color: var(--vt-fg-primary); opacity: 0.4;
  text-decoration: line-through;
}
.course-row__price-new {
  font-weight: 700; font-size: 24px; line-height: 24px;
  color: var(--vt-fg-primary);
}
.course-row__media {
  width: 100%;
  height: 516px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
}

/* Tinted pill badges (color variants) */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid;
  background: transparent;
  white-space: nowrap;
}
.pill--blue {
  color: #84CAFF;
  border-color: rgba(132, 202, 255, 0.36);
  background: rgba(6, 89, 134, 0.4);
}
.pill--red {
  color: #FDA29B;
  border-color: rgba(253, 162, 155, 0.36);
  background: rgba(147, 47, 25, 0.4);
}
.pill--green {
  color: #75E0A7;
  border-color: rgba(117, 224, 167, 0.36);
  background: rgba(8, 93, 58, 0.4);
}

@media (max-width: 1024px) {
  .course-row__inner { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .course-row__media { height: 360px; order: -1; }
  .course-row--reverse .course-row__media { order: -1; }
  .courses-list .container { gap: 32px; }
}
@media (max-width: 768px) {
  .courses-list { padding: 48px 0 64px; }
  .course-row__inner { padding: 24px; }
  .course-row__title { font-size: 28px; line-height: 36px; }
  .course-row__copy { font-size: 18px; line-height: 28px; }
  .course-row__media { height: 240px; border-radius: 16px; }
  .course-row__actions .btn { width: 100%; }
}

/* ---------- COURSE CARDS (legacy, may not be used) ---------- */
.course-cards { background: var(--vt-bg-900); padding: 96px 0; }
.course-cards .container { display: flex; flex-direction: column; gap: 32px; }
.course-card {
  background: var(--vt-bg-850);
  border: 1px solid var(--vt-stroke);
  border-radius: 16px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.course-card--reverse { direction: ltr; }
.course-card__body { display: flex; flex-direction: column; gap: 16px; }
.course-card__title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.course-card__title {
  font-weight: 700; font-size: 36px; line-height: 44px;
  letter-spacing: -0.02em; color: var(--vt-fg-primary); margin: 0;
}
.course-card__copy {
  font-size: 18px; line-height: 28px; color: var(--vt-fg-muted); margin: 0;
}
.course-card__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.course-card__actions {
  display: flex; align-items: center; gap: 20px; margin-top: 16px; flex-wrap: wrap;
}
.course-card__price { display: flex; gap: 8px; align-items: baseline; }
.course-card__price-old {
  font-weight: 700; font-size: 24px; opacity: 0.4;
  color: var(--vt-fg-primary); text-decoration: line-through;
}
.course-card__price-new {
  font-weight: 700; font-size: 24px; color: var(--vt-fg-primary);
}
.course-card__media {
  width: 100%; height: 480px; border-radius: 16px;
  background-size: cover; background-position: center;
}
@media (max-width: 1024px) {
  .course-card { grid-template-columns: 1fr; padding: 32px; }
  .course-card__media { height: 320px; order: -1; }
  .course-card--reverse .course-card__media { order: -1; }
}
@media (max-width: 768px) {
  .course-cards { padding: 64px 0; }
  .course-card { padding: 24px; }
  .course-card__title { font-size: 28px; line-height: 36px; }
  .course-card__media { height: 220px; }
}

/* ---------- DETAIL PAGE (Figma exact) ---------- */
.detail-page {
  background: var(--vt-bg-900);
  padding: 144px 0 64px;
}
.detail-page__title {
  font-weight: 700;
  font-size: 60px;
  line-height: 72px;
  letter-spacing: -0.02em;
  color: var(--vt-fg-primary);
  margin: 0 0 48px;
}
.detail-page__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1216 / 480;
  border-radius: 24px;
  overflow: hidden;
  background-image: var(--hero-image, url('../images/fig-detailed-hero.jpg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.detail-page__arrow {
  position: absolute;
  left: 24%;
  top: 8%;
  width: 230px;
  height: 195px;
  pointer-events: none;
}
.detail-page__row {
  display: grid;
  grid-template-columns: 1fr 352px;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}
.detail-page__main { display: flex; flex-direction: column; gap: 32px; }

/* Stats bar */
.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--vt-bg-800);
  border-bottom: 1px solid var(--vt-bg-800);
}
.detail-stat { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; border-left: 1px solid var(--vt-bg-800); }
.detail-stat:first-child { border-left: none; padding-left: 0; }
.detail-stat__value {
  font-weight: 700; font-size: 16px; line-height: 24px;
  color: var(--vt-fg-on-dark); margin: 0;
}
.detail-stat__label {
  font-size: 14px; line-height: 20px;
  color: var(--vt-fg-muted); margin: 0;
}

/* Buy sidebar card */
.detail-buy {
  position: sticky;
  top: 100px;
  background: var(--vt-bg-900);
  border: 1px solid var(--vt-bg-800);
  border-radius: 24px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.detail-buy__price { display: flex; align-items: baseline; gap: 8px; }
.detail-buy__price-old {
  font-weight: 700; font-size: 24px; line-height: 24px;
  color: var(--vt-fg-primary); opacity: 0.4;
  text-decoration: line-through;
}
.detail-buy__price-new {
  font-weight: 700; font-size: 24px; line-height: 24px;
  color: var(--vt-fg-primary);
}
.detail-buy__form {
  display: flex; flex-direction: column; gap: 12px;
}
.detail-buy__field {
  position: relative;
  display: flex;
  align-items: center;
}
.detail-buy__field input {
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  color: #181D27;
  border: 1px solid #D5D7DA;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
}
.detail-buy__field input::placeholder { color: #717680; }
.detail-buy__field:has(.detail-buy__icon) input { padding-left: 40px; }
.detail-buy__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: #717680;
  pointer-events: none;
}
.detail-buy__icon svg { width: 20px; height: 20px; }
.vh {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.detail-buy__submit { width: 100%; margin-top: 8px; }

.detail-buy__or {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #C7C7C7;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}
.detail-buy__or::before,
.detail-buy__or::after {
  content: ''; flex: 1; height: 1px; background: var(--vt-bg-800);
}
.detail-buy__alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: var(--vt-bg-850);
  border: 1px solid #373A41;
  border-radius: 999px;
  color: #CECFD2;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: background 150ms ease;
  white-space: nowrap;
}
.detail-buy__alt + .detail-buy__alt { margin-top: -4px; }
.detail-buy__alt:hover { background: var(--vt-bg-800); }
.bank-mark--bnpl { background: #7C3AED; color: #fff; font-weight: 800; font-size: 14px; padding: 0 8px; height: 24px; border-radius: 4px; display: inline-flex; align-items: center; }

/* Course description block */
.detail-page__desc {
  display: flex; flex-direction: column; gap: 16px;
}
.detail-page__h2 {
  font-weight: 700; font-size: 30px; line-height: 38px;
  color: var(--vt-fg-primary); margin: 0;
}
.detail-page__p {
  font-size: 16px; line-height: 24px; color: var(--vt-fg-muted); margin: 0;
}
.detail-page__sub {
  font-size: 18px; line-height: 28px; color: var(--vt-fg-muted); margin: 0;
}

/* Section headers */
.detail-section-head {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 48px;
  max-width: 768px;
}
.detail-section-head--center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }

/* What You'll Learn */
.detail-features { background: var(--vt-bg-900); padding: 64px 0; }
.detail-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
}
.learn-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.learn-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
  color: #0c0e12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05), inset 0 -2px 0 0 rgba(10, 13, 18, 0.05), inset 0 0 0 1px rgba(10, 13, 18, 0.18);
}
.learn-item__icon svg { width: 24px; height: 24px; }
.learn-item__text {
  font-size: 16px; line-height: 24px;
  color: var(--vt-fg-muted); margin: 0;
  max-width: 360px;
}

/* Wall of love */
.wall-of-love { background: var(--vt-bg-900); padding: 64px 0; }
.wall-of-love__stack {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 768px; margin: 0 auto;
}
.wol-card {
  background: var(--vt-bg-850);
  border: 1px solid var(--vt-stroke);
  border-radius: 12px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.wol-card__stars {
  display: inline-flex; gap: 4px;
  color: var(--vt-orange-500);
}
.wol-card__stars .icon { width: 20px; height: 20px; fill: currentColor; }
.wol-card__quote {
  font-weight: 500; font-size: 16px; line-height: 24px;
  color: var(--vt-fg-primary); margin: 0;
}
.wol-card__person { display: flex; flex-direction: column; gap: 2px; }
.wol-card__name {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; font-size: 16px; line-height: 24px;
  color: var(--vt-fg-primary);
}
.wol-card__name .verified { width: 16px; height: 16px; }
.wol-card__handle {
  font-size: 14px; line-height: 20px;
  color: var(--vt-fg-muted);
}

/* FAQ */
.faq { background: var(--vt-bg-900); padding: 64px 0; }
.faq__list { max-width: 768px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--vt-bg-800);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--vt-bg-800); }
.faq-item__q {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: var(--vt-fg-primary);
  cursor: pointer;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--vt-fg-muted);
  flex-shrink: 0; margin-top: 2px;
}
.faq-item__icon svg { width: 24px; height: 24px; }
.faq-item__minus { display: none; }
.faq-item[open] .faq-item__plus { display: none; }
.faq-item[open] .faq-item__minus { display: block; }
.faq-item__a {
  margin: 16px 0 0; padding-right: 48px;
  font-size: 16px; line-height: 24px;
  color: var(--vt-fg-muted);
}

/* Bottom buy block */
.detail-bottom-buy { background: var(--vt-bg-900); padding: 32px 0 64px; }
.detail-buy--wide {
  position: static;
  max-width: 768px;
  margin: 0 auto;
  padding: 24px;
}

@media (max-width: 1024px) {
  .detail-page { padding: 112px 0 48px; }
  .detail-page__title { font-size: 40px; line-height: 48px; }
  .detail-page__hero { aspect-ratio: 16/9; }
  .detail-page__arrow { display: none; }
  .detail-page__row { grid-template-columns: 1fr; }
  .detail-buy { position: static; }
  .detail-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .detail-stat { padding: 12px 16px; border-left: none; border-top: 1px solid var(--vt-bg-800); }
  .detail-stat:first-child, .detail-stat:nth-child(2) { border-top: none; padding-top: 0; }
  .detail-features__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .detail-page__title { font-size: 32px; line-height: 40px; margin-bottom: 32px; }
  .detail-page__h2 { font-size: 24px; line-height: 32px; }
  .detail-page__hero { border-radius: 16px; }
  .detail-stats { grid-template-columns: 1fr; gap: 8px; }
  .detail-stat { border-top: 1px solid var(--vt-bg-800); padding: 12px 0; }
  .detail-stat:first-child { border-top: none; padding-top: 0; }
  .wol-card { padding: 24px; }
}

/* ---------- DETAIL PAGE (legacy) ---------- */
.detail-hero { background: var(--vt-bg-900); padding: 144px 0 64px; }
.detail-hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.detail-hero__copy { display: flex; flex-direction: column; gap: 20px; }
.detail-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.detail-hero__image {
  height: 480px; border-radius: 24px;
  background-size: cover; background-position: center;
}
.detail-grid { background: var(--vt-bg-900); padding: 64px 0 96px; }
.detail-grid__inner {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start;
}
.detail-sidebar { position: sticky; top: 100px; }
.detail-sidebar__card {
  background: var(--vt-bg-850); border: 1px solid var(--vt-stroke);
  border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.detail-sidebar__price { font-size: 36px; font-weight: 700; color: var(--vt-fg-primary); margin: 0; }
.detail-sidebar__price span { font-size: 16px; color: var(--vt-fg-muted); font-weight: 400; }
.detail-sidebar__price-old {
  font-size: 18px; color: var(--vt-fg-muted); text-decoration: line-through; margin: 0;
}
.detail-sidebar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.detail-sidebar__list li {
  font-size: 14px; color: var(--vt-fg-quiet); padding: 8px 0;
  border-bottom: 1px solid var(--vt-stroke);
}
.detail-content { display: flex; flex-direction: column; gap: 48px; }
.detail-section { display: flex; flex-direction: column; gap: 16px; }
.detail-list, .detail-syllabus { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 12px; }
.detail-list li, .detail-syllabus li { color: var(--vt-fg-quiet); font-size: 16px; line-height: 24px; }
.detail-syllabus li strong { color: var(--vt-fg-primary); margin-right: 8px; }
@media (max-width: 1024px) {
  .detail-hero__inner { grid-template-columns: 1fr; }
  .detail-hero__image { height: 320px; }
  .detail-grid__inner { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
}
@media (max-width: 768px) {
  .detail-hero { padding: 112px 0 48px; }
  .detail-hero__image { height: 240px; }
}

/* ---------- CONTACT ---------- */
.contact-grid { background: var(--vt-bg-900); padding: 96px 0; }
.contact-grid__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item {
  background: var(--vt-bg-850); border: 1px solid var(--vt-stroke);
  border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 8px;
}
.contact-item__icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--vt-warning-bg); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.contact-item__icon .icon { width: 24px; height: 24px; }
.contact-item h3 { margin: 0; font-size: 20px; color: var(--vt-fg-primary); }
.contact-item p { margin: 0; color: var(--vt-fg-muted); }
.contact-item a { color: var(--vt-orange-500); font-weight: 700; }
.contact-item a:hover { text-decoration: underline; }
.contact-form {
  background: var(--vt-bg-850); border: 1px solid var(--vt-stroke);
  border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__field { display: flex; flex-direction: column; gap: 6px; }
.contact-form__field label { font-size: 14px; color: var(--vt-fg-quiet); font-weight: 500; }
.contact-form__field input,
.contact-form__field textarea {
  padding: 12px 14px; background: var(--vt-bg-900);
  color: var(--vt-fg-primary);
  border: 1px solid var(--vt-stroke); border-radius: 8px;
  font-size: 16px; line-height: 24px; font-family: inherit;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: 2px solid var(--vt-orange-500); outline-offset: 1px;
  border-color: var(--vt-orange-500);
}
.contact-form button { margin-top: 8px; align-self: flex-start; }
@media (max-width: 1024px) {
  .contact-grid__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .contact-grid { padding: 64px 0; }
  .contact-form, .contact-item { padding: 24px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form button { width: 100%; }
}

/* ---------- PAYMENT ---------- */
.payment-section { background: var(--vt-bg-900); padding: 144px 0 96px; }
.payment-grid {
  display: grid; grid-template-columns: 1fr 384px; gap: 48px; align-items: start;
}
.payment-form {
  display: flex; flex-direction: column; gap: 24px;
}
.payment-fieldset {
  background: var(--vt-bg-850); border: 1px solid var(--vt-stroke);
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.payment-fieldset legend {
  padding: 0 8px; font-size: 16px; font-weight: 700; color: var(--vt-fg-primary);
}
.payment-methods { display: flex; gap: 12px; flex-wrap: wrap; }
.payment-method {
  flex: 1; min-width: 140px; padding: 14px 16px;
  background: var(--vt-bg-900); border: 1px solid var(--vt-stroke);
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
}
.payment-method:has(input:checked) { border-color: var(--vt-orange-500); }
.payment-method input { accent-color: var(--vt-orange-500); }

/* Bank gateway cards (TBC / BoG / Installment) */
.payment-method-card {
  display: block;
  background: var(--vt-bg-900);
  border: 1px solid var(--vt-stroke);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative;
}
.payment-method-card + .payment-method-card { margin-top: 12px; }
.payment-method-card input { position: absolute; opacity: 0; pointer-events: none; }
.payment-method-card__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.payment-method-card__head { display: flex; align-items: center; gap: 14px; }
.payment-method-card__logo {
  width: 56px; height: 40px; flex-shrink: 0;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #0c0e12;
}
.payment-method-card__logo svg { width: 22px; height: 22px; }
.bank-mark {
  font-family: var(--vt-font-display, "Inter", sans-serif);
  font-weight: 800; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; border-radius: 8px;
  font-size: 14px;
}
.bank-mark--tbc { background: #00B5BB; color: #fff; }
.bank-mark--bog { background: #FF6B00; color: #fff; }
.payment-method-card__title { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.payment-method-card__title strong { color: var(--vt-fg-primary); font-weight: 700; font-size: 15px; }
.payment-method-card__title span { color: var(--vt-fg-muted); font-size: 13px; }
.payment-method-card__check {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 999px;
  border: 2px solid var(--vt-stroke); color: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.payment-method-card__check svg { width: 14px; height: 14px; }
.payment-method-card__desc {
  margin: 0; font-size: 13px; line-height: 18px;
  color: var(--vt-fg-muted); padding-left: 70px;
}
.payment-method-card:has(input:checked) {
  border-color: var(--vt-orange-500);
  background: rgba(255, 116, 65, 0.05);
}
.payment-method-card:has(input:checked) .payment-method-card__check {
  background: var(--vt-orange-500);
  border-color: var(--vt-orange-500);
  color: #fff;
}
.payment-method-card:focus-within { outline: 2px solid var(--vt-orange-500); outline-offset: 2px; }

/* Terms checkbox */
.payment-terms {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 4px; color: var(--vt-fg-muted); font-size: 14px; line-height: 20px;
  cursor: pointer;
}
.payment-terms input { margin-top: 2px; accent-color: var(--vt-orange-500); flex-shrink: 0; }
.payment-terms a { color: var(--vt-orange-500); text-decoration: underline; }

@media (max-width: 540px) {
  .payment-method-card__desc { padding-left: 0; }
}
.payment-summary {
  background: var(--vt-bg-850); border: 1px solid var(--vt-stroke);
  border-radius: 16px; padding: 32px; position: sticky; top: 100px;
}
.payment-line { display: flex; justify-content: space-between; padding: 8px 0; color: var(--vt-fg-primary); }
.payment-line--muted { color: var(--vt-fg-muted); }
.payment-line--total { font-weight: 700; font-size: 20px; }
.payment-summary hr { border: none; border-top: 1px solid var(--vt-stroke); margin: 8px 0; }
.payment-note { font-size: 13px; color: var(--vt-fg-muted); margin: 16px 0 0; }
@media (max-width: 1024px) {
  .payment-grid { grid-template-columns: 1fr; }
  .payment-summary { position: static; }
}
@media (max-width: 768px) {
  .payment-section { padding: 112px 0 64px; }
  .payment-fieldset, .payment-summary { padding: 20px; }
  .payment-methods { flex-direction: column; }
}

/* ---------- POLICY ---------- */
.policy { background: var(--vt-bg-900); padding: 96px 0; }
.policy__inner { max-width: 768px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.policy-section { display: flex; flex-direction: column; gap: 12px; }
.policy-h {
  font-weight: 700; font-size: 24px; line-height: 32px;
  color: var(--vt-fg-primary); margin: 0;
}
.policy-p { font-size: 16px; line-height: 24px; color: var(--vt-fg-quiet); margin: 0; }
@media (max-width: 768px) {
  .policy { padding: 64px 0; }
  .policy-h { font-size: 20px; line-height: 28px; }
}

/* ---------- 404 ---------- */
.error-page {
  position: relative; background: var(--vt-orange-deep-950);
  min-height: 100vh; padding: 144px 0 96px;
  display: flex; align-items: center; overflow: hidden;
}
.error-page__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.error-page__inner {
  position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; gap: 24px; align-items: center;
}
.error-page__code {
  font-family: var(--vt-font-display);
  font-weight: 700; font-size: 160px; line-height: 1;
  color: var(--vt-orange-500); margin: 0; letter-spacing: -0.04em;
}
.error-page__title {
  font-weight: 700; font-size: 48px; line-height: 56px;
  color: var(--vt-fg-primary); margin: 0; letter-spacing: -0.02em;
}
.error-page__copy { font-size: 18px; line-height: 28px; color: var(--vt-fg-muted); margin: 0; }
.error-page__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
@media (max-width: 768px) {
  .error-page__code { font-size: 96px; }
  .error-page__title { font-size: 32px; line-height: 40px; }
  .error-page__actions { width: 100%; flex-direction: column; }
  .error-page__actions .btn { width: 100%; }
}

/* =========================================================================
   THEME ADDITIONS (varianti-2026)
   ========================================================================= */
html { scroll-padding-top: 100px; }
body.admin-bar .site-nav { top: 48px; }
@media (max-width: 782px) { body.admin-bar .site-nav { top: 46px; } }

/* Payment method card — disabled / coming soon state */
.payment-method-card.is-disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.payment-method-card .badge--coming {
  margin-left: 6px; padding: 2px 8px; font-size: 11px; letter-spacing: 0.04em;
  background: rgba(255,116,65,0.12); color: var(--vt-orange-500);
  border: 1px solid rgba(255,116,65,0.4); border-radius: 999px;
  text-transform: uppercase; font-weight: 700;
}

/* Legacy/utility pills (course detail listing) */
.badge-warning { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-weight: 500; font-size: 14px; line-height: 20px; background: rgba(220,104,3,0.16); color: #FF9466; border: 1px solid rgba(220,104,3,0.4); white-space: nowrap; }
.badge-neutral { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-weight: 500; font-size: 14px; line-height: 20px; background: rgba(255,255,255,0.05); color: var(--vt-fg-quiet); border: 1px solid var(--vt-stroke); white-space: nowrap; }

/* Thank-you message */
.varianti-thankyou { background: var(--vt-bg-850); border: 1px solid var(--vt-stroke); border-radius: 16px; padding: 48px 32px; text-align: center; margin: 32px auto; max-width: 560px; }
.varianti-thankyou h2 { font-weight: 700; font-size: 32px; color: var(--vt-fg-primary); margin: 16px 0 8px; }
.varianti-thankyou p { color: var(--vt-fg-muted); font-size: 18px; margin: 0; }

/* WooCommerce notices on dark theme */
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  background: var(--vt-bg-850) !important;
  border-top: 3px solid var(--vt-orange-500) !important;
  color: var(--vt-fg-primary) !important;
  border-radius: 0 0 12px 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 16px !important;
  list-style: none !important;
}
.woocommerce-info a, .woocommerce-message a, .woocommerce-error a { color: var(--vt-orange-500) !important; }

/* ============================================================ */
/* HOME HERO — Variant Field component                          */
/* All selectors scoped to .vrnt-hero. No font-family — inherits */
/* from body (Manrope). Brand orange matches --vt-orange-500.    */
/* ============================================================ */

.vrnt-hero {
  position: relative;
  width: 100%;
  max-width: 1216px;
  aspect-ratio: 1216 / 516;
  margin: 16px auto 0;
  background: #141414;
  border-radius: 24px;
  border: 1px solid #2A2A2A;
  overflow: hidden;
  color: #fff;
}

.vrnt-hero-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 880px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(255,116,65,0.28) 0%, rgba(255,116,65,0.10) 40%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 1;
}
.vrnt-hero-glow-2 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(255,116,65,0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.vrnt-hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}
.vrnt-hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* V TOP TIPS */
.vrnt-tip {
  position: absolute;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.vrnt-tip-1 { top: 27.13%; left: 36.18%; }
.vrnt-tip-2 { top: 27.13%; left: 63.82%; }
.vrnt-tip-halo {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,116,65,0.40) 0%, rgba(255,116,65,0.15) 35%, transparent 70%);
  pointer-events: none;
  filter: blur(6px);
}
.vrnt-tip-pulse {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #FF7441;
  opacity: 0;
  animation: vrntTipPulse 2.6s ease-out infinite;
  pointer-events: none;
}
.vrnt-tip-pulse-late { animation-delay: 1.3s; }
.vrnt-tip-core {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF8651;
  box-shadow: 0 0 14px rgba(255,116,65,0.9), 0 0 28px rgba(255,116,65,0.55);
  z-index: 3;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.vrnt-tip:hover .vrnt-tip-core,
.vrnt-tip:focus-visible .vrnt-tip-core {
  transform: scale(1.45);
  box-shadow: 0 0 18px rgba(255,116,65,1), 0 0 40px rgba(255,116,65,0.7);
}
@keyframes vrntTipPulse {
  0%   { transform: scale(0.7); opacity: 0.85; }
  100% { transform: scale(3.6); opacity: 0; }
}

/* V WAY-STATIONS */
.vrnt-stop {
  position: absolute;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 7;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.vrnt-stop-1 { top: 37.79%; left: 39.64%; }
.vrnt-stop-2 { top: 52.71%; left: 44.49%; }
.vrnt-stop-3 { top: 52.71%; left: 55.51%; }
.vrnt-stop-4 { top: 37.79%; left: 60.36%; }
.vrnt-stop-core {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF7441;
  opacity: 0.95;
  box-shadow: 0 0 10px rgba(255,116,65,0.75);
  z-index: 3;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.vrnt-stop:hover .vrnt-stop-core,
.vrnt-stop:focus-visible .vrnt-stop-core {
  transform: scale(1.6);
  box-shadow: 0 0 16px rgba(255,116,65,1), 0 0 30px rgba(255,116,65,0.55);
}
.vrnt-stop-ring {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,116,65,0.5);
  pointer-events: none;
}
.vrnt-stop-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #FF7441;
  opacity: 0;
  animation: vrntStopPulse 3.6s ease-out infinite;
  pointer-events: none;
}
.vrnt-stop-1 .vrnt-stop-pulse { animation-delay: 0s;   }
.vrnt-stop-2 .vrnt-stop-pulse { animation-delay: 0.9s; }
.vrnt-stop-3 .vrnt-stop-pulse { animation-delay: 1.8s; }
.vrnt-stop-4 .vrnt-stop-pulse { animation-delay: 2.7s; }
@keyframes vrntStopPulse {
  0%   { transform: scale(1);   opacity: 0.70; }
  100% { transform: scale(2.8); opacity: 0;    }
}

/* TOOLTIPS */
.vrnt-tooltip {
  position: absolute;
  background: #1E1E1E;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  padding: 12px 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
  z-index: 20;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.vrnt-tooltip-lg { min-width: 250px; }
.vrnt-tooltip-lg .vrnt-tooltip-title { font-size: 14px; }
.vrnt-tooltip-lg .vrnt-tooltip-meta  { font-size: 11.5px; }
.vrnt-tooltip-sm { min-width: 180px; padding: 10px 12px; }
.vrnt-tooltip-sm .vrnt-tooltip-title { font-size: 13px; }
.vrnt-tooltip-sm .vrnt-tooltip-meta  { font-size: 11px; }
.vrnt-tooltip-status {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FF7441;
  background: rgba(255,116,65,0.10);
  border: 1px solid rgba(255,116,65,0.25);
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.vrnt-tooltip-status.is-soon {
  color: #A0A0A0;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.vrnt-tooltip-title {
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
  line-height: 1.3;
}
.vrnt-tooltip-meta {
  color: #A0A0A0;
  line-height: 1.4;
}
.vrnt-tooltip-arrow {
  margin-top: 8px;
  font-size: 11px;
  color: #FF7441;
  font-weight: 600;
}

.vrnt-tip-down {
  left: 50%;
  top: calc(100% + 14px);
  transform: translateX(-50%) translateY(-4px);
}
.vrnt-tip:hover .vrnt-tip-down,
.vrnt-tip:focus-visible .vrnt-tip-down {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.vrnt-tip-out-left {
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
}
.vrnt-stop:hover .vrnt-tip-out-left,
.vrnt-stop:focus-visible .vrnt-tip-out-left {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.vrnt-tip-out-right {
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
}
.vrnt-stop:hover .vrnt-tip-out-right,
.vrnt-stop:focus-visible .vrnt-tip-out-right {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .vrnt-hero { border-radius: 16px; }
  .vrnt-tooltip-lg { min-width: 200px; }
  .vrnt-tooltip-sm { min-width: 150px; }
}

/* ============================================================ */
/* /DISPATCHING-COURSE HERO — Variant US Freight Map (v3)       */
/* Real US silhouette (us-atlas Albers projection) + projected   */
/* cities. Tooltips fixed 240px width, all center-anchored.      */
/* ============================================================ */

.vrnt-map {
  position: relative;
  width: 100%;
  max-width: 1216px;
  aspect-ratio: 1216 / 516;
  margin: 0 auto;
  background: #141414;
  border-radius: 24px;
  border: 1px solid #2A2A2A;
  overflow: hidden;
  color: #fff;
}
.vrnt-map-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 880px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(255,116,65,0.18) 0%, rgba(255,116,65,0.06) 40%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 1;
}
.vrnt-map-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}
.vrnt-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* CITIES — projected from real lat/long via Albers USA */
.vrnt-city {
  position: absolute;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 8;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.vrnt-city-seattle  { top: 10.70%; left: 24.92%; }
.vrnt-city-la       { top: 58.71%; left: 24.25%; }
.vrnt-city-phoenix  { top: 64.23%; left: 31.30%; }
.vrnt-city-dallas   { top: 70.40%; left: 49.67%; }
.vrnt-city-memphis  { top: 61.68%; left: 57.68%; }
.vrnt-city-chicago  { top: 37.90%; left: 59.66%; }
.vrnt-city-atlanta  { top: 65.04%; left: 64.60%; }

.vrnt-city-halo {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,116,65,0.35) 0%, rgba(255,116,65,0.12) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(4px);
}
.vrnt-city-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid #FF7441;
  opacity: 0;
  animation: vrntCityPulse 2.8s ease-out infinite;
  pointer-events: none;
}
.vrnt-city-core {
  position: relative;
  border-radius: 50%;
  background: #FF8651;
  box-shadow: 0 0 12px rgba(255,116,65,0.85), 0 0 24px rgba(255,116,65,0.5);
  z-index: 3;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.vrnt-city:hover .vrnt-city-core,
.vrnt-city:focus-visible .vrnt-city-core {
  transform: scale(1.5);
  box-shadow: 0 0 18px rgba(255,116,65,1), 0 0 38px rgba(255,116,65,0.7);
}
.vrnt-city-t1 .vrnt-city-core  { width: 12px; height: 12px; }
.vrnt-city-t1 .vrnt-city-halo  { width: 86px; height: 86px; }
.vrnt-city-t1 .vrnt-city-pulse { width: 14px; height: 14px; }
.vrnt-city-t2 .vrnt-city-core  { width: 10px; height: 10px; }
.vrnt-city-t2 .vrnt-city-halo  { width: 72px; height: 72px; }
.vrnt-city-t2 .vrnt-city-pulse { width: 12px; height: 12px; }
.vrnt-city-t3 .vrnt-city-core  { width: 8px; height: 8px; }
.vrnt-city-t3 .vrnt-city-halo  { width: 58px; height: 58px; }
.vrnt-city-t3 .vrnt-city-pulse { width: 10px; height: 10px; }
.vrnt-city-chicago .vrnt-city-pulse { animation-delay: 0s;   }
.vrnt-city-la      .vrnt-city-pulse { animation-delay: 0.4s; }
.vrnt-city-atlanta .vrnt-city-pulse { animation-delay: 0.8s; }
.vrnt-city-dallas  .vrnt-city-pulse { animation-delay: 1.2s; }
.vrnt-city-memphis .vrnt-city-pulse { animation-delay: 1.6s; }
.vrnt-city-phoenix .vrnt-city-pulse { animation-delay: 2.0s; }
.vrnt-city-seattle .vrnt-city-pulse { animation-delay: 2.4s; }
@keyframes vrntCityPulse {
  0%   { transform: scale(1);   opacity: 0.75; }
  100% { transform: scale(3.2); opacity: 0;    }
}

/* TOOLTIPS — fixed width 240px, centered. US occupies left 2/3 of frame */
/* so center anchoring works for all 7 cities without overflow */
.vrnt-tt {
  position: absolute;
  background: #1E1E1E;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  padding: 11px 13px;
  width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
  z-index: 20;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.vrnt-tt-down {
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(-4px);
}
.vrnt-tt-up {
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(4px);
}
.vrnt-city:hover .vrnt-tt-down,
.vrnt-city:focus-visible .vrnt-tt-down,
.vrnt-city:hover .vrnt-tt-up,
.vrnt-city:focus-visible .vrnt-tt-up {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.vrnt-tt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}
.vrnt-tt-city { font-size: 13px; font-weight: 600; color: #fff; }
.vrnt-tt-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF7441;
  background: rgba(255,116,65,0.10);
  border: 1px solid rgba(255,116,65,0.25);
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
}
.vrnt-tt-badge.is-cool {
  color: #A0A0A0;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.vrnt-tt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 3px 0;
  font-size: 11.5px;
}
.vrnt-tt-label { color: #A0A0A0; }
.vrnt-tt-val { color: #fff; font-weight: 600; }
.vrnt-tt-val.is-hot { color: #FF7441; }
.vrnt-tt-divider { border-top: 1px solid #2A2A2A; margin: 7px -13px; }
.vrnt-tt-lane { font-size: 11px; color: #A0A0A0; margin-top: 3px; line-height: 1.4; }
.vrnt-tt-lane b { color: #FF7441; font-weight: 600; }

@media (max-width: 768px) {
  .vrnt-map { border-radius: 16px; }
  .vrnt-tt { width: 200px; padding: 9px 11px; }
  .vrnt-tt-city { font-size: 12px; }
  .vrnt-tt-row { font-size: 11px; }
  .vrnt-tt-lane { font-size: 10.5px; }
}


/* ============================================================ */
/* /COURSES page additions                                       */
/* - Stack layout for dispatch course-row (map full width)      */
/* - Coming-soon indicator for AI courses                       */
/* ============================================================ */

.course-row--stack .course-row__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.course-row--stack .course-row__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.course-row__media--map {
  width: 100%;
  height: auto;
  background: none;
  border-radius: 0;
}

.course-row__coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FF7441;
  background: rgba(255,116,65,0.10);
  border: 1px solid rgba(255,116,65,0.30);
  padding: 12px 24px;
  border-radius: 100px;
}


/* ============================================================ */
/* AI THUMB — Generative AI course visual                       */
/* Orbiting model dots (Claude, ChatGPT, Gemini, ComfyUI,       */
/* Nano Banana, Higgsfield) around a glowing center spark.      */
/* ============================================================ */
.ai-thumb {
  position: relative;
  width: 100%;
  max-width: 1216px;
  aspect-ratio: 16 / 10;
  background: radial-gradient(ellipse at center, #1A1410 0%, #0E0E0E 80%);
  border-radius: 14px;
  border: 1px solid #2A2A2A;
  overflow: hidden;
}
.ai-thumb-warmth {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(255,116,65,0.07) 100%);
  pointer-events: none;
  z-index: 1;
}
.ai-thumb-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ai-thumb-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.022;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 6;
}

.ai-thumb .orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 5;
}
.ai-thumb .orbit-outer { width: 64%; height: 64%; }
.ai-thumb .orbit-mid   { width: 50%; height: 50%; }
.ai-thumb .orbit-inner { width: 36%; height: 36%; }

.ai-thumb .orbit-ring {
  position: absolute;
  inset: 0;
}
@keyframes aiSpinFwd    { to { transform: rotate(360deg); } }
@keyframes aiSpinRev    { to { transform: rotate(-360deg); } }
@keyframes aiSpinFwdRev { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes aiSpinRevFwd { to { transform: translate(-50%, -50%) rotate(360deg); } }

.ai-thumb .orbit-outer .orbit-ring  { animation: aiSpinFwd 28s linear infinite; }
.ai-thumb .orbit-outer .orbit-shard { animation: aiSpinFwdRev 28s linear infinite; }
.ai-thumb .orbit-mid   .orbit-ring  { animation: aiSpinRev 22s linear infinite; }
.ai-thumb .orbit-mid   .orbit-shard { animation: aiSpinRevFwd 22s linear infinite; }
.ai-thumb .orbit-inner .orbit-ring  { animation: aiSpinFwd 18s linear infinite; }
.ai-thumb .orbit-inner .orbit-shard { animation: aiSpinFwdRev 18s linear infinite; }

.ai-thumb .orbit-outer .orbit-ring.start-180   { animation-delay: -14s; }
.ai-thumb .orbit-outer .orbit-shard.start-180  { animation-delay: -14s; }
.ai-thumb .orbit-mid   .orbit-ring.start-180   { animation-delay: -11s; }
.ai-thumb .orbit-mid   .orbit-shard.start-180  { animation-delay: -11s; }
.ai-thumb .orbit-inner .orbit-ring.start-180   { animation-delay: -9s; }
.ai-thumb .orbit-inner .orbit-shard.start-180  { animation-delay: -9s; }

.ai-thumb .orbit-shard {
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-thumb .orbit-dot {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-thumb .orbit-dot-halo {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,116,65,0.35) 0%, rgba(255,116,65,0.12) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(4px);
}
.ai-thumb .orbit-dot-pulse {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #FF7441;
  opacity: 0;
  animation: aiDotPulse 2.8s ease-out infinite;
  pointer-events: none;
}
.ai-thumb .orbit-dot-core {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FF8651;
  box-shadow: 0 0 12px rgba(255,116,65,0.85), 0 0 24px rgba(255,116,65,0.5);
  z-index: 3;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ai-thumb .orbit-shard:hover .orbit-dot-core,
.ai-thumb .orbit-shard:focus-visible .orbit-dot-core {
  transform: scale(1.5);
  box-shadow: 0 0 18px rgba(255,116,65,1), 0 0 38px rgba(255,116,65,0.7);
}

.ai-thumb .pulse-d0 .orbit-dot-pulse { animation-delay: 0s;   }
.ai-thumb .pulse-d1 .orbit-dot-pulse { animation-delay: 0.4s; }
.ai-thumb .pulse-d2 .orbit-dot-pulse { animation-delay: 0.8s; }
.ai-thumb .pulse-d3 .orbit-dot-pulse { animation-delay: 1.2s; }
.ai-thumb .pulse-d4 .orbit-dot-pulse { animation-delay: 1.6s; }
.ai-thumb .pulse-d5 .orbit-dot-pulse { animation-delay: 2.0s; }

@keyframes aiDotPulse {
  0%   { transform: scale(1);   opacity: 0.75; }
  100% { transform: scale(3.2); opacity: 0;    }
}

.ai-thumb:hover .orbit-ring,
.ai-thumb:hover .orbit-shard { animation-play-state: paused; }

.ai-thumb .orbit-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%) translateY(4px);
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  padding: 8px 11px;
  min-width: 140px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(10px);
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.ai-thumb .orbit-shard:hover .orbit-tip,
.ai-thumb .orbit-shard:focus-visible .orbit-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ai-thumb .orbit-tip-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #FF7441;
  margin-bottom: 3px;
}
.ai-thumb .orbit-tip-meta {
  font-size: 10.5px;
  color: #A0A0A0;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.01em;
}


/* Override course-row__media when it wraps the AI thumb — let the thumb size itself */
.course-row__media--ai {
  background: none;
  border-radius: 0;
  height: auto;
}
.upcoming__image--ai {
  background: none;
  border-radius: 0;
  height: auto;
}


/* ============================================================ */
/* TEAM CAROUSEL — ported from old varianti-wp-theme            */
/* ============================================================ */
.team-section { padding-top: 96px; padding-bottom: 96px; }

.team-carousel-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.team-card-c {
  position: absolute;
  overflow: hidden;
  transition: left 0.48s cubic-bezier(0.4,0,0.2,1),
              opacity 0.48s cubic-bezier(0.4,0,0.2,1),
              width 0.48s cubic-bezier(0.4,0,0.2,1),
              height 0.48s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.48s cubic-bezier(0.4,0,0.2,1);
  user-select: none;
  top: 50%;
  transform: translateY(-50%);
}

.team-bg { position: absolute; inset: 0; }

.team-glow-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,116,65,0.12) 0%, transparent 60%);
}

.team-avatar {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,116,65,0.15);
  border: 2px solid rgba(255,116,65,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: width 0.48s, height 0.48s;
}

/* Team photo — full-card background when photo is uploaded */
.team-card-c.has-photo .team-bg {
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}
/* Gradient overlay: transparent at top (photo visible) → dark at bottom (text readable) */
.team-card-c.has-photo .team-glow-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(15,4,0,0.18) 32%,
    rgba(30,8,0,0.72) 58%,
    rgba(9,1,0,0.98) 82%
  ) !important;
}
/* Hide the circular avatar when card has a full photo */
.team-card-c.has-photo .team-avatar { display: none !important; }
/* Hide the bottom fade — glow-overlay handles it */
.team-card-c.has-photo .team-fade  { display: none !important; }

.team-initials {
  font-weight: 700;
  color: #FF7441;
  letter-spacing: 1px;
}

.team-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, rgba(6,2,0,0.97));
}

.team-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-bar {
  width: 32px;
  height: 3px;
  background: #FF7441;
  border-radius: 2px;
  margin-bottom: 6px;
  display: none;
}

.team-name { font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-role { font-weight: 600; color: #FF7441; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-desc { font-size: 12px; color: rgba(255,255,255,0.45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.team-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.team-nav-btn {
  width: 48px; height: 48px;
  border-radius: 9999px;
  background: rgba(18,6,0,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,100,50,0.25);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.team-nav-btn:hover { background: rgba(255,116,65,0.15); }

.team-dots { display: flex; gap: 8px; align-items: center; }

.team-dot {
  height: 8px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: all 0.3s;
  width: 8px;
}
.team-dot.active { width: 28px; background: #FF7441; }

/* ============================================================ */
/* COURSE CHECKOUT — page-checkout.php                          */
/* Course-aware checkout placeholder. Real BoG/TBC wiring TBD.  */
/* ============================================================ */
.checkout-page {
  padding: 96px 0 80px;
  background: #141414;
  color: #fff;
  min-height: 80vh;
}
.checkout-page__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.checkout-page__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 12px 0 12px;
}
.checkout-page__sub {
  font-size: 15px;
  color: #A0A0A0;
  line-height: 1.55;
}
.checkout-page__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.checkout-card {
  background: rgba(20, 12, 8, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 116, 65, 0.20);
  border-radius: 20px;
  overflow: visible;
}
.checkout-card__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  background: rgba(255, 116, 65, 0.08);
  border-bottom: 1px solid rgba(255, 116, 65, 0.18);
  border-radius: 20px 20px 0 0;
  flex-wrap: wrap;
}
.checkout-card__strip-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.checkout-card__strip-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 116, 65, 0.12);
  border: 1px solid rgba(255, 116, 65, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF7441;
  flex-shrink: 0;
}
.checkout-card__strip-label {
  font-size: 11px;
  color: #94979c;
  margin: 0 0 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.checkout-card__strip-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.25;
}
.checkout-card__strip-meta {
  font-size: 12px;
  color: #94979c;
  margin: 0;
}
.checkout-card__strip-price {
  font-size: 22px;
  font-weight: 800;
  color: #FF7441;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #f7f7f7;
}
.checkout-step__num {
  width: 26px;
  height: 26px;
  background: #FF7441;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.checkout-form { padding: 0 24px 24px; }
.checkout-form__row { margin-bottom: 14px; }
.checkout-form__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkout-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-form__label {
  font-size: 12px;
  color: #94979c;
  letter-spacing: 0.02em;
}
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: #fff;
  font-size: 14px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: #555860;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: rgba(255, 116, 65, 0.55);
  background: rgba(255, 255, 255, 0.06);
}
.checkout-form textarea { resize: vertical; min-height: 80px; }

.checkout-pay {
  padding: 14px 24px 24px;
}
.checkout-pay__pending {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 116, 65, 0.30);
  border-radius: 10px;
  color: #FF7441;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.checkout-pay__btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.checkout-pay__hint {
  font-size: 12px;
  color: #94979c;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.checkout-sidebar { position: sticky; top: 96px; }
.checkout-summary {
  background: rgba(20, 12, 8, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 116, 65, 0.20);
  border-radius: 18px;
  padding: 20px;
}
.checkout-summary__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94979c;
  margin: 0 0 14px;
}
.checkout-summary__course {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.checkout-summary__icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 116, 65, 0.10);
  border: 1px solid rgba(255, 116, 65, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF7441;
  flex-shrink: 0;
}
.checkout-summary__name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.checkout-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}
.checkout-summary__total-label {
  font-size: 12px;
  color: #94979c;
}
.checkout-summary__total-price {
  font-size: 22px;
  font-weight: 800;
  color: #FF7441;
}
.checkout-summary__includes {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-summary__includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94979c;
}
.checkout-summary__includes li svg { color: #FF7441; flex-shrink: 0; }
.checkout-summary__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.checkout-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #94979c;
  font-size: 11px;
}
.checkout-badge svg { color: #FF7441; flex-shrink: 0; }
.checkout-sidebar__contact {
  text-align: center;
  font-size: 12px;
  color: #555860;
  margin-top: 14px;
}
.checkout-sidebar__contact a {
  color: #FF7441;
  text-decoration: none;
}

@media (max-width: 860px) {
  .checkout-page__layout {
    grid-template-columns: 1fr;
  }
  .checkout-sidebar { position: static; }
  .checkout-form__row--two { grid-template-columns: 1fr; }
}

/* Detail page checkout CTA — replaces inline buy form */
.detail-buy__cta {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  text-decoration: none;
}
.detail-buy__hint {
  font-size: 12px;
  color: #94979c;
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.5;
}


/* ============================================================ */
/* HOMEPAGE FLUID HERO — Varianti Fluid Logo                    */
/* Particle physics rendering inside a 1216×516 slot.           */
/* Replaces the .vrnt-hero V-field component.                   */
/* ============================================================ */
.vfl-hero {
  position: relative;
  width: 100%;
  max-width: 1216px;
  aspect-ratio: 1216 / 516;
  margin: 16px auto 0;
  background: radial-gradient(ellipse at 50% 50%, #1A1410 0%, #141414 55%, #0E0E0E 100%);
  border-radius: 24px;
  border: 1px solid #2A2A2A;
  overflow: hidden;
  cursor: grab;
}
.vfl-hero.vfl-dragging { cursor: grabbing; }

.vfl-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 80%; height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255,116,65,0.10) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.vfl-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}
.vfl-fluid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  filter: blur(11px) contrast(9);
  pointer-events: none;
}
.vfl-core {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: screen;
}
.vfl-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 50%, rgba(14,14,14,0.5) 100%);
  pointer-events: none;
  z-index: 8;
}
.vfl-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  pointer-events: none;
  transition: opacity 0.6s;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.vfl-hint.vfl-hidden { opacity: 0; }
.vfl-hint::before, .vfl-hint::after {
  content: '';
  display: block; width: 18px; height: 1px;
  background: currentColor;
}

@media (max-width: 768px) {
  .vfl-hero { border-radius: 16px; }
  .vfl-hint { font-size: 9.5px; bottom: 14px; }
  .vfl-fluid { filter: blur(8px) contrast(8); }
}
