/* ═══════════════════════════════════════════════════════
   VARIANTI THEME — MAIN STYLESHEET
═══════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }

html { color: #f7f7f7; }

body {
  margin: 0; padding: 0;
  font-family: 'Inter', 'Noto Sans Georgian', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #090100;
  /* Replaces 7.7 MB background.png — single smooth radial, no visible seam */
  background-image:
    radial-gradient(ellipse 110% 55% at 50% 0%, rgba(75,20,0,0.7) 0%, rgba(30,8,0,0.35) 45%, rgba(9,1,0,0) 75%);
  background-attachment: scroll;
  color: #f7f7f7;
}

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4, h5, h6 { margin: 0; }

p { margin: 0; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ── NAVBAR ── */
.navbar-outer {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-top: 12px;
  display: flex;
  justify-content: center;
}

.navbar-inner-wrap {
  width: 100%;
  max-width: 1280px;
  padding-left: 32px;
  padding-right: 32px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12,14,18,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 12px 12px 16px;
  border: none;
  transition: border 0.3s;
}

.navbar.scrolled { border: 1px solid rgba(255,255,255,0.08); }

.navbar-left { display: flex; align-items: center; gap: 32px; }

.navbar-logo { display: flex; align-items: center; }

.navbar-links { display: flex; align-items: center; gap: 20px; }

.navbar-links a { color: #fff; font-weight: 600; font-size: 16px; }

.navbar-right { display: flex; align-items: center; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FF7441;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 9999px;
  padding: 12px 18px;
  border: 2px solid rgba(255,255,255,0.12);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  font-family: inherit;
}
.btn-primary:hover { opacity: 0.9; color: #fff; }
.btn-primary.btn-sm { font-size: 14px; padding: 10px 14px; }
.btn-primary.btn-lg { font-size: 18px; padding: 16px 22px; }

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18,6,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #cecfd2;
  font-weight: 600;
  font-size: 18px;
  border-radius: 9999px;
  padding: 16px 22px;
  border: 1px solid rgba(255,100,50,0.25);
  cursor: pointer;
  text-decoration: none;
}

.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #94979c;
  font-weight: 600;
  font-size: 15px;
  border-radius: 9999px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: default;
}

/* ── TYPOGRAPHY HELPERS ── */
.accent-text   { color: #FF7441; font-weight: 700; }
.label-orange  { font-size: 16px; font-weight: 600; color: #FF7441; margin: 0; }
.page-title    { font-size: 36px; font-weight: 700; line-height: 44px; letter-spacing: -0.72px; color: #f7f7f7; }
.section-title { font-size: 36px; font-weight: 700; letter-spacing: -0.72px; color: #f7f7f7; }
.section-desc  { font-size: 20px; font-weight: 400; line-height: 30px; color: #94979c; }
.section-sub-title { font-size: 28px; font-weight: 700; color: #f7f7f7; }
.section-body-text { font-size: 18px; line-height: 28px; color: #94979c; }

.section-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 64px;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 64px;
}

/* ── SECTION SPACING ── */
.section {
  background: transparent;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

/* ── GLASS CARD ── */
.glass-card {
  background: rgba(18,6,0,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,100,50,0.18);
  border-radius: 24px;
}

/* ── DARK CARD ── */
.dark-card {
  background: #13161b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
}

/* ── FORM HELPERS ── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 600; color: #f7f7f7; }
.form-error { font-size: 14px; color: #FF7441; margin: 0; }

.dark-input {
  background: #0c0e12;
  border: 1px solid #373a41;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px;
  color: #f7f7f7;
  outline: none;
  width: 100%;
  font-family: inherit;
  transition: border-color 0.2s;
}
.dark-input:focus { border-color: rgba(255,116,65,0.5); }
.dark-input::placeholder { color: #85888e; }

/* ── PILL BADGES ── */
.course-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  background: rgba(255,116,65,0.15);
  color: #FF7441;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 4px 12px;
  border: 1px solid rgba(255,116,65,0.25);
}

/* ── HERO ── */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 1100px;
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,100,20,0.45) 0%, rgba(180,50,0,0.2) 40%, transparent 70%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('../images/background.png');
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.06;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 180px;
  padding-bottom: 96px;
  gap: 48px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 800px;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #f7f7f7;
  text-shadow: 0 4px 4px rgba(0,0,0,0.25);
  margin: 0;
}

.hero-sub {
  font-size: 20px;
  color: #94979c;
  max-width: 480px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-image-placeholder {
  width: 100%;
  max-width: 1216px;
  height: 516px;
  border-radius: 24px;
  background: rgba(18,6,0,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,100,50,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── ABOUT: FEATURE GRID ── */
.feature-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
  min-width: 280px;
}

.icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #FF7441;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.feature-text h3 { font-size: 20px; font-weight: 600; color: #f7f7f7; }
.feature-text p  { font-size: 16px; line-height: 24px; color: #94979c; }

/* ── COURSE CARDS (home sections) ── */
.course-section { padding-top: 64px; padding-bottom: 64px; }

.course-card {
  background: rgba(18,6,0,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,100,50,0.18);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 260px;
}

.course-card-content {
  flex: 1;
  min-width: 280px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.course-card-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.72px;
  color: #f7f7f7;
}

.course-card-desc {
  font-size: 16px;
  line-height: 26px;
  color: #94979c;
}

.course-card-action {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.course-card-image {
  flex: 1;
  min-width: 280px;
  min-height: 320px;
  background: rgba(30,10,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94979c;
  font-size: 15px;
}

.course-price { display: flex; align-items: center; gap: 8px; }
.price-old { font-size: 16px; color: #94979c; text-decoration: line-through; }
.price-new { font-size: 20px; font-weight: 700; color: #f7f7f7; }

/* ── COURSE LIST (courses page) ── */
.course-list-card {
  background: rgba(18,6,0,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,100,50,0.18);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  min-height: 260px;
}

.course-list-content {
  flex: 1;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.course-list-image {
  width: 340px;
  min-width: 200px;
  flex-shrink: 0;
  background: rgba(30,10,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94979c;
  font-size: 14px;
}

/* ── TEAM CAROUSEL ── */
.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 {
  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.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.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.has-photo .team-avatar { display: none !important; }
/* Hide the bottom fade — glow-overlay handles it */
.team-card.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; }

/* ── TESTIMONIALS ── */
.testimonials-section { padding-top: 96px; padding-bottom: 96px; }

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  flex: 1;
  min-width: 340px;
  background: rgba(18,6,0,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,100,50,0.15);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stars { display: flex; gap: 3px; }

.testimonial-quote {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #f7f7f7;
  flex: 1;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: rgba(40,15,0,0.7);
  border: 1px solid rgba(255,100,50,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── CTA / NEWSLETTER ── */
.cta-section { padding-top: 96px; padding-bottom: 96px; }

.cta-box {
  background: rgba(18,6,0,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,100,50,0.18);
  border-radius: 24px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.cta-title { font-size: 36px; font-weight: 700; line-height: 44px; letter-spacing: -0.72px; color: #f7f7f7; }
.cta-sub { font-size: 20px; color: #fff; }

.cta-input-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 549px;
}

.cta-email-input {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border: 1px solid #373a41;
  border-radius: 9999px;
  padding: 12px 16px;
  font-size: 16px;
  color: #0c0e12;
  outline: none;
  font-family: inherit;
}

.cta-privacy { font-size: 14px; color: rgba(255,255,255,0.7); }
.cta-privacy a { color: #fff; text-decoration: underline; }

/* ── FOOTER ── */
.site-footer {
  width: 100%;
  background: transparent;
  padding-top: 64px;
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.footer-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(200,65,0,0.38) 0%, transparent 70%),
    linear-gradient(to bottom, transparent 0%, rgba(5,1,0,0.72) 35%, rgba(5,1,0,0.92) 100%);
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-headline {
  font-family: 'Clash Display', sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  color: #f7f7f7;
  max-width: 600px;
}

.footer-sub {
  font-size: 20px;
  color: #fff;
  max-width: 560px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 16px; color: #fff; }

/* ── COURSE DETAIL ── */
.course-detail-grid {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.course-detail-main {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.course-detail-title { font-size: 40px; font-weight: 700; line-height: 48px; letter-spacing: -0.8px; color: #f7f7f7; }
.course-detail-sub   { font-size: 20px; line-height: 30px; color: #94979c; }
.course-detail-price { font-size: 36px; font-weight: 700; color: #f7f7f7; }

.badge-active {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255,116,65,0.15);
  color: #FF7441;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 4px 14px;
}

.course-detail-card {
  flex: 1;
  min-width: 280px;
  background: #13161b;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.course-stats { display: flex; flex-direction: column; gap: 0; }

.course-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 12px;
}
.stat-label { font-size: 15px; color: #94979c; }
.stat-value { font-size: 15px; font-weight: 600; color: #f7f7f7; text-align: right; }

.mentor-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,116,65,0.08);
  border: 1px solid rgba(255,116,65,0.2);
  border-radius: 12px;
  padding: 14px;
  margin-top: 8px;
}

.mentor-avatar {
  width: 48px; height: 48px; min-width: 48px;
  background: #22262f;
  border-radius: 9999px;
  border: 2px solid rgba(255,116,65,0.4);
  display: flex; align-items: center; justify-content: center;
}

.mentor-label { font-size: 12px; color: #94979c; margin-bottom: 2px; }
.mentor-name  { font-size: 16px; font-weight: 600; color: #f7f7f7; }
.mentor-role  { font-size: 13px; color: #FF7441; }

.course-section-block { margin-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }

.curriculum-card {
  background: #13161b;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.curriculum-week  { font-size: 13px; font-weight: 600; color: #FF7441; }
.curriculum-title { font-size: 18px; font-weight: 600; color: #f7f7f7; }

.curriculum-list {
  margin: 0;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.curriculum-list li { font-size: 15px; color: #94979c; line-height: 22px; }

/* ── FAQ ── */
.faq-item {
  background: #13161b;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #f7f7f7;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  gap: 12px;
}

.faq-chevron { flex-shrink: 0; transition: transform 0.3s; color: #94979c; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-answer { padding: 0 24px 20px; }
.faq-answer p { font-size: 15px; color: #94979c; line-height: 24px; }

/* ── CONTACT FORM CARD ── */
.contact-form-card {
  flex: 1.5;
  min-width: 320px;
  background: #13161b;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── PAYMENTS PAGE ── */
.payment-course-block {
  background: rgba(18,6,0,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,100,50,0.18);
  border-radius: 24px;
  padding: 40px;
}

.payment-tiers {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.payment-tier-card {
  flex: 1;
  min-width: 220px;
  background: rgba(12,6,0,0.6);
  border: 1px solid rgba(255,100,50,0.15);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.payment-tier-featured {
  border-color: rgba(255,116,65,0.45);
  background: rgba(255,116,65,0.08);
}

.payment-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF7441;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 3px 12px;
  white-space: nowrap;
}

.payment-tier-top { display: flex; flex-direction: column; gap: 6px; }
.payment-tier-label { font-size: 14px; font-weight: 600; color: #94979c; margin: 0; }
.payment-tier-price { font-size: 36px; font-weight: 700; color: #f7f7f7; margin: 0; }
.payment-tier-desc  { font-size: 13px; color: #94979c; margin: 0; }

/* ── TRUST BADGES ── */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(18,6,0,0.6);
  border: 1px solid rgba(255,100,50,0.15);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #f7f7f7;
}

/* ── WOOCOMMERCE THANK YOU ── */
.varianti-thankyou {
  max-width: 560px;
  margin: 80px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  background: rgba(18,6,0,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,100,50,0.2);
  border-radius: 24px;
  padding: 56px 40px;
}

.varianti-thankyou h1, .varianti-thankyou h2 {
  font-size: 32px;
  font-weight: 700;
  color: #f7f7f7;
}

.thankyou-sub { font-size: 18px; color: #94979c; }

.thankyou-order-details {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  width: 100%;
}
.thankyou-order-details p { font-size: 14px; color: #94979c; margin-bottom: 6px; }
.thankyou-order-details strong { color: #f7f7f7; }

/* ── CONTACT PAGE LAYOUT ── */
.contact-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.contact-info-col {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-form-col {
  flex: 1;
  min-width: 280px;
}

/* ── HAMBURGER BUTTON ── hidden on desktop, shown at ≤768px ── */
.nav-hamburger {
  display: none !important; /* !important guards against any WP/plugin override */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  /* 44×44px minimum touch target for mobile */
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f7f7f7;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
  pointer-events: none;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE SLIDE-DOWN MENU ── hidden everywhere except when .open at ≤768px ── */
.mobile-menu {
  display: none !important; /* !important prevents any inheritance from ancestors */
  position: fixed;
  /* top calculated from: navbar-outer padding(12px) + navbar padding(12px) + content(~24px) + gap(8px) = 56px */
  top: 64px;
  left: 12px;
  right: 12px;
  background: rgba(10,3,0,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,100,50,0.25);
  border-radius: 18px;
  padding: 12px;
  z-index: 98; /* below admin bar (z-index 99999) but above page content */
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
/* Only show when both conditions met: .open class AND inside ≤768px viewport */
@media (max-width: 768px) {
  .mobile-menu.open { display: flex !important; }
}
.mobile-menu a {
  color: #f7f7f7;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 12px;
  transition: background 0.15s;
  display: block;
}
.mobile-menu a:hover,
.mobile-menu a:active { background: rgba(255,255,255,0.07); }
.mobile-menu .btn-primary {
  text-align: center !important;
  justify-content: center !important;
  margin-top: 8px;
  width: 100% !important;
  display: flex !important;
}

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .hero-title { font-size: 42px; }
  .course-detail-grid { gap: 32px; }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-title { font-size: 36px; }
  /* Hero: remove the 1100px min-height and let content dictate height */
  .hero-section { min-height: 0 !important; padding-bottom: 48px; }
  .section { padding: 56px 0; }
  /* All inner pages: reduce top padding (fixed navbar ~56px + breathing room) */
  .page-inner { padding-top: 80px !important; padding-bottom: 64px !important; }
  /* Hero buttons: stack vertically, full width */
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-glass, .btn-primary.btn-lg { text-align: center; justify-content: center; }
  /* Course layouts */
  .course-card { flex-direction: column; }
  .course-card-image { min-height: 200px; }
  .course-list-card { flex-direction: column; }
  .course-list-image { width: 100%; height: 200px; }
  /* Show hamburger, hide desktop links */
  .navbar-links { display: none !important; }
  .nav-hamburger { display: flex !important; }
  /* Other sections */
  .team-carousel-wrap { height: 380px; }
  .cta-box { padding: 40px 24px; }
  .payment-tiers { flex-direction: column; }
  .testimonials-grid { flex-direction: column; }
  .feature-grid { flex-direction: column; }
  .course-detail-grid { flex-direction: column; }
  .footer-grid { flex-direction: column; gap: 32px; }
  .contact-layout { flex-direction: column; gap: 32px; }
  .contact-info-col, .contact-form-col { min-width: unset; width: 100%; }
  /* Prevent horizontal overflow on any element */
  img, video, table { max-width: 100%; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .hero-title { font-size: 30px; line-height: 1.25; }
  .section-title { font-size: 26px; }
  .hero-sub { font-size: 15px; }
  .page-title { font-size: 28px; }
}
