/* ============================================================
   holidayfinder Partnerships — Design Tokens & Global Styles
   ============================================================ */

/* Google Fonts loaded in HTML */

/* ---- Design Tokens ---------------------------------------- */
:root {
  /* Colors */
  --color-bg-dark:       #101827;
  --color-accent:        #266df1;
  --color-text-primary:  #262626;
  --color-text-secondary:#6d6d6d;
  --color-text-tertiary: #888888;
  --color-text-inverted: #ffffff;
  --color-surface:       #ffffff;
  --color-shark-50:      #f0f0f0;
  --color-shark-200:     #d1d1d1;
  --color-azure-50:      #eff7ff;
  --color-azure-100:     #daeaff;
  --color-success-light: #d4f7e3;
  --color-border-dark:   rgba(255,255,255,0.1);

  /* Typography */
  --font-family:         'Poppins', sans-serif;
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-lg:   18px;
  --text-xl:   20px;
  --text-2xl:  24px;
  --text-3xl:  30px;
  --text-4xl:  36px;
  --text-5xl:  48px;
  --text-7xl:  72px;

  /* Border Radius */
  --radius-pill:   32px;
  --radius-big:    24px;
  --radius-large:  20px;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-9:  36px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Shadows */
  --shadow-card: 0px 7px 14px rgba(0,0,0,0.04),
                 0px 26px 26px rgba(0,0,0,0.04),
                 0px 59px 35px rgba(0,0,0,0.02),
                 0px 105px 42px rgba(0,0,0,0.01),
                 0px 164px 46px rgba(0,0,0,0);

}

/* Hebrew pages use Rubik, no italic */
[dir="rtl"] { --font-family: 'Rubik', sans-serif; }
[dir="rtl"] em,
[dir="rtl"] i { font-style: normal; }

/* ---- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-surface);
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Utility --------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-20) 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent);
  white-space: nowrap;
}

.tag--dark {
  border-color: var(--color-bg-dark);
  color: var(--color-bg-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-text-inverted);
}

.btn--white {
  background: var(--color-surface);
  color: var(--color-text-primary);
}

.btn--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-inverted);
  width: 100%;
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-bg-dark);
  border: 1.5px solid var(--color-bg-dark);
}

/* ---- Navbar ---------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(16, 24, 39, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .navbar__inner { padding: 0; }
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* RTL navbar: let natural RTL direction place logo right, menu left */
/* Explicit px sizes derived from each SVG viewBox so preserveAspectRatio=none renders correctly */
.navbar__logo .logo-mark {
  width: 38px;
  height: 40px;
  flex-shrink: 0;
}
.navbar__logo .logo-text {
  width: 136px;
  height: 22px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.navbar__link {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s, background 0.2s;
}
.navbar__link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.navbar__link.active { color: #fff; background: rgba(255,255,255,0.18); font-weight: 600; }

.navbar__cta {
  background: var(--color-accent);
  color: #fff;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: opacity 0.2s;
}
.navbar__cta:hover { opacity: 0.88; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 98;
  background: rgba(16, 24, 39, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 0 0 16px 16px;
  box-shadow: none;
  padding: 76px 28px 40px;
  gap: 12px;
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu .navbar__link {
  height: 40px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: none;
}
.mobile-menu .navbar__link:hover { background: rgba(255,255,255,0.1); }
.mobile-menu .navbar__link.active {
  background: rgba(0,0,0,0.5);
  color: #fff;
}
.mobile-menu .navbar__cta {
  height: 40px;
  padding: 0 var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  text-align: center;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Hero ------------------------------------------------- */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-24) 0 var(--space-20);
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(227.33deg, rgba(0,0,0,0.5) 6.64%, rgba(0,0,0,0) 66.24%),
              linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 100%);
}

.hero__shade {
  position: absolute;
  left: -493px;
  top: 168px;
  width: 1298px;
  height: 1298px;
  pointer-events: none;
  z-index: 0;
}
.hero__shade img {
  position: absolute;
  inset: -15.41%;
  width: calc(100% + 30.82%);
  height: calc(100% + 30.82%);
  max-width: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-14);
  padding-top: 120px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-text-inverted);
  text-align: center;
  padding: 0 96px;
  width: 100%;
}

.hero__title {
  font-size: var(--text-7xl);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.72px;
}

.hero__subtitle {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.6;
  max-width: 700px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-text-inverted);
  font-size: var(--text-sm);
  font-weight: 500;
}
.trust-item img { width: 20px; height: 20px; }

/* ---- Numbers --------------------------------------------- */
.numbers {
  background: var(--color-bg-dark);
  padding: 80px 0;
}

.numbers__grid {
  display: flex;
  gap: 80px;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.numbers__item {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 0;
}

.numbers__value {
  font-family: var(--font-family);
  font-size: 30px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1;
}

.numbers__label {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}

/* ---- Destinations ----------------------------------------- */
.destinations {
  background: var(--color-shark-50);
}

.section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.section__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--color-text-primary);
}

.section__subtitle {
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-tertiary);
  max-width: 640px;
}

.dest-grid {
  display: flex;
  gap: var(--space-7);
  height: 360px;
}

.dest-card {
  flex: 1 0 0;
  border-radius: var(--radius-large);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 20px;
}

.dest-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(102,102,102,0) 50%, rgba(0,0,0,0.8) 100%);
}

.dest-card__badge {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  height: 28px;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.dest-card__info {
  margin-top: auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.dest-card__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #fff;
  line-height: 1;
}

.dest-card__price {
  font-size: 10px;
  color: var(--color-shark-200);
  line-height: 1;
}

/* ---- Destinations (affiliates version) ------------------- */
.tag--blue {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.dest-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.dest-card__subtitle {
  font-size: var(--text-base);
  font-weight: 400;
  color: #fff;
  line-height: 1;
}

.dest-card__earn {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  height: 36px;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
  margin-top: var(--space-5);
}

/* ---- Programs -------------------------------------------- */
.programs { background: var(--color-surface); }

.programs__grid {
  display: flex;
  gap: var(--space-10);
}

.program-card {
  flex: 1;
  background: var(--color-surface);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 594px;
}

.program-card__img {
  height: 230px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.program-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-card__img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}

.program-card__audience {
  height: 48px;
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  padding: 0 var(--space-6);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}

.program-card__body {
  padding: var(--space-9) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  flex: 1;
  overflow: hidden;
}

.program-card__text-block {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.program-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.program-card__desc {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.program-card__rate-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.program-card__rate-value {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.24px;
  line-height: 1.4;
}
.program-card__rate-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.program-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 40px;
  padding: 0 var(--space-4);
  background: #f0f0f0;
  color: #262626;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: opacity 0.2s;
  align-self: flex-start;
}
.program-card__btn img { filter: brightness(0) !important; }
.program-card__btn:hover { opacity: 0.88; }

/* ---- Why Section ----------------------------------------- */
.why-section {
  background: linear-gradient(to bottom, #fff, var(--color-azure-50));
}

.why-section .container {
  display: flex;
  gap: var(--space-12);
  align-items: center;
}

.why__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.why__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-6) 0;
}

.why__bullet {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.why__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-big);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}
.why__icon img { width: 24px; height: 24px; }

.why__bullet-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.16px;
  line-height: 1.2;
}
.why__bullet-desc {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-top: 2px;
}

.why__image {
  flex: 1;
  border-radius: var(--radius-big);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.why__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- How It Works ---------------------------------------- */
.how-it-works { background: var(--color-azure-50); padding-top: var(--space-10); }

.how-grid {
  display: flex;
  gap: var(--space-10);
  align-items: center;
}

.how-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

.how-item__number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-big);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}

.how-item__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  text-align: center;
}

.how-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.16px;
  line-height: 1.2;
}
.how-item__desc {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* ---- Features -------------------------------------------- */
.features { background: var(--color-surface); }

.features__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
}

.feature-card {
  flex: 1 0 0;
  min-width: 300px;
  min-height: 240px;
  background: var(--color-surface);
  border-radius: var(--radius-large);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-big);
  background: var(--color-azure-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-card__icon img { width: 24px; height: 24px; }

.feature-card__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.feature-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.16px;
  line-height: 1.2;
}
.feature-card__desc {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* ---- Testimonials ---------------------------------------- */
.testimonials { background: var(--color-surface); }

.testimonials__grid {
  display: flex;
  gap: var(--space-10);
}

.testimonial-card {
  flex: 1;
  background: var(--color-surface);
  border-radius: var(--radius-large);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-card);
  min-height: 340px;
}

.testimonial-card__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
  overflow: hidden;
}

.profile {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.profile__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-big);
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e5e5;
}
.profile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.16px;
  line-height: 1.2;
}
.profile__role {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.stars {
  display: flex;
  gap: 2.4px;
}
.stars img { width: 12px; height: 12px; }

.testimonial-card__quote {
  font-size: var(--text-base);
  font-style: italic; /* overridden to normal for RTL in [dir="rtl"] block */
  color: var(--color-text-primary);
  line-height: 1.5;
  flex: 1;
}

.testimonial-card__earnings {
  background: var(--color-success-light);
  border-radius: var(--radius-pill);
  height: 36px;
  padding: 0 var(--space-4);
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  align-self: flex-start;
}

/* ---- Join / Form Section ---------------------------------- */
.join-section {
  background: var(--color-bg-dark);
  padding: var(--space-20) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-card {
  background: var(--color-azure-100);
  border-radius: 32px;
  padding: var(--space-9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.join-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.join-headline__title {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-bg-dark);
  line-height: 1.4;
  letter-spacing: -0.48px;
}

.join-headline__sub {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-bg-dark);
  line-height: 1.5;
}

.join-trust {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: var(--space-8);
}
.join-trust .trust-item { color: var(--color-bg-dark); }
.join-trust .trust-item img { filter: brightness(0); }

/* Lead Form */
.lead-form {
  width: 100%;
  max-width: 670px;
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.form-row {
  display: flex;
  gap: var(--space-6);
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-secondary);
}

.form-group input,
.form-group select {
  background: var(--color-surface);
  border: none;
  border-radius: var(--radius-pill);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-family);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-primary);
  outline: none;
  width: 100%;
  appearance: none;
  transition: box-shadow 0.2s;
}
.form-group input::placeholder { color: rgba(0,0,0,0.3); }
.form-group select { color: var(--color-text-primary); }
.form-group input:focus,
.form-group select:focus {
  box-shadow: 0 0 0 3px rgba(38, 109, 241, 0.3);
}

.form-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

.form-cta__note {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}
.form-success__icon { margin-bottom: var(--space-4); }
.form-success__icon img { width: 72px; height: 72px; display: block; margin: 0 auto; }
.form-success__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}
.form-success__msg {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ---- Footer ----------------------------------------------- */
.footer {
  background: var(--color-bg-dark);
  padding: 0 0 var(--space-8);
}

.footer__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__links {
  display: flex;
  gap: var(--space-24);
  padding: var(--space-14) 0;
  border-bottom: 1px solid var(--color-border-dark);
  color: var(--color-text-inverted);
}

.footer__spacer {
  flex: 1;
}

.footer__brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.footer__brand-name {
  font-size: var(--text-base);
  font-weight: 600;
}
.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  opacity: 0.7;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.footer__col-title {
  font-size: var(--text-base);
  font-weight: 600;
}
.footer__col a {
  font-size: var(--text-sm);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer__col a:hover { opacity: 1; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-7) 0;
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer__bottom-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ---- Inner Page Hero -------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
  padding: 140px 0 var(--space-20);
  text-align: center;
  color: var(--color-text-inverted);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(227.33deg, rgba(0,0,0,0.55) 6.64%, rgba(0,0,0,0.2) 66.24%),
              linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 100%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__tag { margin-bottom: var(--space-5); }
.page-hero .tag { border-color: var(--color-accent); color: var(--color-accent); }

.page-hero__title {
  font-size: var(--text-7xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.48px;
  margin-bottom: var(--space-5);
}

.page-hero__sub {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto var(--space-8);
}

.page-hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.page-hero__stats {
  display: flex;
  gap: var(--space-16);
  justify-content: center;
  flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-dark);
  margin-top: var(--space-8);
}

/* ---- Commission Table ------------------------------------- */
.commission { background: var(--color-shark-50); }

.commission__cards {
  display: flex;
  gap: var(--space-6);
}

.commission-card {
  flex: 1;
  background: var(--color-surface);
  border-radius: var(--radius-large);
  padding: var(--space-7);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
}

.commission-card__tier {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.commission-card__bookings {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-primary);
}

.commission-card__rate {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.commission-card__earnings {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* ---- FAQ Accordion ---------------------------------------- */
.faq { background: var(--color-surface); }

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.accordion-item {
  background: var(--color-surface);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: 0 7px 14px rgba(0,0,0,0.04), 0 26px 26px rgba(0,0,0,0.04), 0 59px 35px rgba(0,0,0,0.02);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.accordion-header:hover { background: var(--color-shark-50); }

.accordion-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--color-text-secondary);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.accordion-icon::before {
  width: 14px;
  height: 1.5px;
}
.accordion-icon::after {
  width: 1.5px;
  height: 14px;
}
.accordion-item.open .accordion-icon::after { opacity: 0; }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-body { max-height: 400px; }

.accordion-body p {
  padding: 0 28px 28px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.accordion-item.open .accordion-body p {
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
}

/* ---- Tags Cloud ------------------------------------------- */
.tags-section { background: var(--color-surface); }

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.tags-cloud .tag {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  border-color: #e5e5e5;
  background: var(--color-surface);
  transition: border-color 0.2s, background 0.2s;
}
.tags-cloud .tag:hover {
  border-color: var(--color-accent);
  background: rgba(38,109,241,0.04);
}

/* ---- Language Dropdown ------------------------------------ */
.lang-dropdown {
  position: relative;
}
.lang-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 16px;
  border-radius: 32px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  font-family: var(--font-family);
}
.lang-dropdown__toggle:hover,
.lang-dropdown.open .lang-dropdown__toggle {
  background: rgba(255,255,255,0.15);
}
.lang-dropdown__arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.lang-dropdown.open .lang-dropdown__arrow {
  transform: rotate(180deg);
}
.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  min-width: 72px;
  overflow: hidden;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.lang-dropdown.open .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown__menu a {
  display: block;
  padding: 10px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: background 0.15s;
}
.lang-dropdown__menu a:hover {
  background: var(--color-azure-50);
}

/* Mobile lang dropdown */
.mobile-menu .lang-dropdown {
  align-self: center;
}
.mobile-menu .lang-dropdown__menu {
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.mobile-menu .lang-dropdown.open .lang-dropdown__menu {
  transform: translateX(-50%) translateY(0);
}

/* ---- RTL Support ------------------------------------------ */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .hero__trust { flex-direction: row-reverse; }
[dir="rtl"] .program-card__link { flex-direction: row-reverse; }
[dir="rtl"] .why-section .container { flex-direction: row; }
[dir="rtl"] .how-grid { flex-direction: row; }
[dir="rtl"] .btn img,
[dir="rtl"] .program-card__btn img { transform: scaleX(-1); }
[dir="rtl"] .numbers__grid { flex-direction: row-reverse; }
[dir="rtl"] .dest-grid { flex-direction: row-reverse; }
[dir="rtl"] .programs__grid { flex-direction: row-reverse; }
[dir="rtl"] .testimonials__grid { flex-direction: row-reverse; }
[dir="rtl"] .features__grid { direction: rtl; }
[dir="rtl"] .section__header { text-align: center; }

[dir="rtl"] .why__bullet { flex-direction: row; }
[dir="rtl"] .why__content .tag { align-self: flex-end; }
[dir="rtl"] .why__content > .btn { align-self: flex-end; }

/* ---- Inner Page Sections ---------------------------------- */

/* Numbers Bar */
.numbers-bar {
  background: var(--color-bg-dark);
  padding: var(--space-20) 0;
}
.numbers-bar .container {
  display: flex;
  gap: var(--space-20);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}
.numbers-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  min-width: 0;
}
.numbers-bar__value {
  font-size: var(--text-3xl);
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.numbers-bar__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  line-height: 1;
}

/* Who Section */
.who-section {
  background: linear-gradient(to bottom, #fff, var(--color-azure-50));
  padding: var(--space-20) 0;
}
.who-section .container {
  display: flex;
  gap: var(--space-12);
  align-items: center;
}
.who-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
}
.who-section__photo {
  flex: 1;
  border-radius: var(--radius-large);
  overflow: hidden;
  position: relative;
  min-height: 400px;
  align-self: stretch;
}
.who-section__photo img {
  width: 100%;
  height: 134%;
  object-fit: cover;
  position: absolute;
  top: -13%;
  left: 0;
}
.who-section__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-large);
}
.who-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-6) 0;
}
.who-item {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.who-item__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-big);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.who-item__icon img { width: 24px; height: 24px; }
.who-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.2;
  letter-spacing: -0.16px;
}
.who-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* How Section (inner pages) */
.how-section {
  background: var(--color-azure-50);
  padding: 40px 0 var(--space-20);
}
.how-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
}

/* ---- Earnings Section (Travel Advisors) ------------------- */
.earnings-section {
  background: var(--color-surface);
  padding: var(--space-20) 0;
}
.earnings-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
}
.earnings-section .section__subtitle {
  max-width: 720px;
}
.earnings-cards {
  display: flex;
  gap: var(--space-7);
  width: 100%;
  padding-top: var(--space-5);
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.earnings-cards::-webkit-scrollbar { display: none; }
.earnings-card {
  flex: 0 0 calc((100% - var(--space-7) * 3) / 4);
  min-width: calc((100% - var(--space-7) * 3) / 4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  scroll-snap-align: start;
}
.earnings-card__label {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.5;
  transition: opacity 0.3s;
}
.earnings-card__visual {
  position: relative;
  height: 360px;
  border-radius: 28px;
  overflow: hidden;
}
.earnings-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.earnings-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
  border-radius: inherit;
}
.earnings-card__info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1;
  background: var(--color-shark-25, #f7f7f7);
  border-radius: 12px;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}
.earnings-card:hover .earnings-card__info,
.earnings-card--active .earnings-card__info {
  opacity: 1;
  transform: translateY(0);
}
.earnings-card:hover .earnings-card__label,
.earnings-card--active .earnings-card__label {
  opacity: 0;
}
/* Hide default active overlay while any card is being hovered (unless it's the active card itself) */
.earnings-cards:has(.earnings-card:hover) .earnings-card--active:not(:hover) .earnings-card__info {
  opacity: 0;
  transform: translateY(12px);
}
.earnings-cards:has(.earnings-card:hover) .earnings-card--active:not(:hover) .earnings-card__label {
  opacity: 1;
}
.earnings-card__info-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: #000;
  text-align: center;
  line-height: 1.2;
}
.earnings-card__data {
  display: flex;
  gap: 8px;
}
.earnings-card__data-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.earnings-card__data-label {
  font-size: var(--text-base);
  font-weight: 500;
  color: #888;
  line-height: 1.5;
}
.earnings-card__data-value {
  font-size: 22px;
  color: #000;
  line-height: 1;
}
.earnings-card__earn {
  background: #fff;
  border-radius: var(--radius-pill);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Features/Feat Section */
.feat-section {
  background: var(--color-surface);
  padding: var(--space-20) 0;
}
.feat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
}
.feat-card {
  background: #fff;
  border-radius: var(--radius-large);
  padding: 28px;
  flex: 1 0 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 240px;
  box-shadow: var(--shadow-card);
}
.feat-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-big);
  background: var(--color-azure-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-card__icon img { width: 24px; height: 24px; }
.feat-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.16px;
  line-height: 1.2;
}
.feat-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Tags Section (Who's already partnering) */
.tags-section {
  background: var(--color-shark-50);
  padding: var(--space-20) 0;
}
.tags-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
}
.tags-cloud--outline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  justify-content: center;
}
.tag--outline {
  border: 1px solid #454545;
  border-radius: var(--radius-pill);
  padding: 14px 20px;
  font-size: var(--text-base);
  font-weight: 500;
  color: #454545;
  white-space: nowrap;
}

/* Commission Section (Bronze/Silver/Gold) */
.commission-section {
  background: var(--color-surface);
  padding: var(--space-20) 0;
}
.commission-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: center;
}
.commission-cards-new {
  display: flex;
  gap: 40px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}
.commission-card-new {
  background: #fff;
  border-radius: var(--radius-big);
  box-shadow: 0 7px 14px rgba(0,0,0,0.04), 0 26px 26px rgba(0,0,0,0.04), 0 59px 35px rgba(0,0,0,0.02);
  width: 100%;
  min-width: 320px;
  padding: 0 48px;
  position: relative;
  flex-shrink: 0;
}
.commission-card-new__tier {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: var(--text-base);
  font-weight: 600;
  white-space: nowrap;
}
.commission-card-new__tier--bronze { background: #ffded2; border: 1px solid #c56d4f; color: #c56d4f; }
.commission-card-new__tier--silver { background: #eee; border: 1px solid #909090; color: #909090; }
.commission-card-new__tier--gold   { background: #f1e8d4; border: 1px solid #b19045; color: #b19045; }
.commission-card-new__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--space-14) 0 var(--space-8);
}
.commission-card-new__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6) 0;
  border-bottom: 1px solid #f0f0f0;
}
.commission-card-new__row:last-child {
  border-bottom: none;
}
.commission-card-new__label {
  font-size: var(--text-xs);
  color: #aaa;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.commission-card-new__value {
  font-size: var(--text-2xl);
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* Partner Story Section */
.partner-section {
  background: var(--color-shark-50);
  padding: var(--space-20) 0;
}
.partner-section .container {
  display: flex;
  gap: var(--space-12);
  align-items: center;
}
.partner-section__photo {
  flex: 1;
  aspect-ratio: 1;
  border-radius: var(--radius-large);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  align-self: stretch;
}
.partner-section__photo img {
  width: 100%;
  height: 229%;
  object-fit: cover;
  position: absolute;
  top: -38%;
  left: 0;
}
.partner-section__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-large);
}
.partner-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
}
.partner-section__quote {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.3px;
  line-height: 1.4;
}
.partner-section__body {
  font-size: var(--text-base);
  color: var(--color-text-tertiary);
  line-height: 1.5;
  font-weight: 500;
}
.partner-profile {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.partner-profile__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-big);
  overflow: hidden;
  flex-shrink: 0;
}
.partner-profile__img img { width: 100%; height: 100%; object-fit: cover; }
.partner-profile__name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.16px;
  line-height: 1.2;
}
.partner-profile__role {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Results Stat Cards Section */
.results-section {
  background: #fff;
  padding: var(--space-20) 0;
}
.results-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  align-items: center;
}
.results-cards {
  display: flex;
  gap: var(--space-10);
  width: 100%;
}
.result-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  border-radius: var(--radius-large);
  box-shadow: 0 7px 14px rgba(0,0,0,0.04), 0 26px 26px rgba(0,0,0,0.04), 0 59px 35px rgba(0,0,0,0.02);
  min-height: 120px;
  background: #fff;
}
.result-card--highlight {
  background: var(--color-azure-50);
}
.result-card__value {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent);
}
.result-card--highlight .result-card__value {
  color: var(--color-text-primary);
}
.result-card__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1;
}
.result-card--highlight .result-card__label {
  color: var(--color-text-primary);
}

/* RTL overrides for inner page sections */
[dir="rtl"] .commission-card-new__tier { left: auto; right: 50%; transform: translateX(50%); }

/* ---- Slider Dots ------------------------------------------ */
.slider-dots {
  display: none;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-5);
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--color-shark-200);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.slider-dot.active {
  background: var(--color-bg-dark);
  border-color: var(--color-bg-dark);
  transform: scale(1.25);
}

/* Earnings dots always visible */
#earnings-dots {
  display: flex;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 1248px) {
  .hero__title { font-size: var(--text-5xl); }
  .dest-grid { flex-wrap: wrap; height: auto; }
  .dest-card { min-height: 240px; }
  .programs__grid { flex-direction: column; }
  [dir="rtl"] .programs__grid { flex-direction: column; }
  .program-card { height: auto; }
  .why-section .container { flex-direction: column; }
  [dir="rtl"] .why-section .container { flex-direction: column; }
  .how-grid { flex-wrap: wrap; }
  .how-connector { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { flex-direction: column; }
  [dir="rtl"] .testimonials__grid { flex-direction: column; }
  .testimonial-card { height: auto; }
  .commission__cards { flex-direction: column; }
  .footer__links { flex-direction: column; gap: var(--space-10); }
}

@media (max-width: 768px) {
  .container,
  .navbar__inner,
  .hero__content,
  .footer__inner {
    max-width: calc(100% - 32px); /* 16px gutter each side on mobile */
  }

  .hero { justify-content: flex-end; padding-bottom: 64px; }
  .hero__content { padding-top: 0; gap: var(--space-10); }
  .hero__title { font-size: 40px; letter-spacing: -0.4px; }
  .hero__subtitle { font-size: var(--text-base); }
  .hero__headline { padding: 0; gap: var(--space-4); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .hero__trust { flex-direction: column; align-items: center; gap: 20px; }
  .numbers__grid { flex-direction: column; align-items: center; gap: var(--space-12); white-space: normal; }
  .numbers__item { flex: none; width: 100%; text-align: center; }
  [dir="rtl"] .numbers__grid { flex-direction: column; align-items: center; }
  /* Logo mobile size per Figma (210×28px) */
  .navbar__logo img { width: 210px !important; height: 28px !important; }

  /* Destinations — scroll-snap slider */
  .dest-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 20px;
    height: auto;
  }
  .dest-grid::-webkit-scrollbar { display: none; }
  [dir="rtl"] .dest-grid { flex-direction: row; }
  .dest-card {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 360px;
    scroll-snap-align: start;
    background: var(--color-bg-dark);
  }
  .features__grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .join-card { border-radius: var(--radius-large); padding: var(--space-6); }
  .join-headline__title { font-size: var(--text-3xl); }
  .page-hero__title { font-size: var(--text-3xl); }
  .page-hero__stats { gap: var(--space-8); }
  .how-grid { flex-direction: column; gap: var(--space-8); }
  [dir="rtl"] .how-grid { flex-direction: column; gap: var(--space-8); }
  [dir="rtl"] .programs__grid { flex-direction: column; }
  [dir="rtl"] .why-section .container { flex-direction: column; }
  [dir="rtl"] .why__content {
    align-items: center;
    text-align: center;
  }
  [dir="rtl"] .why__content .section__title,
  [dir="rtl"] .why__content .section__subtitle {
    text-align: center !important;
    max-width: 100% !important;
  }
  [dir="rtl"] .why__content .tag { align-self: center; }
  [dir="rtl"] .why__content > .btn { align-self: center; }
  [dir="rtl"] .why__bullet { justify-content: center; }
  .program-card { height: auto; }
  .program-card__img { height: 180px; }
  .program-card__text-block { height: auto; }
  .why__image { min-height: 300px !important; }

  .navbar__menu,
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  /* Navbar stays dark when mobile menu is open — keeps logo and hamburger visible */
  .navbar.menu-open {
    background: rgba(16, 24, 39, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: none;
  }

  /* Trust items: vertical stack on mobile */
  .join-trust { flex-direction: column; gap: 20px; }

  /* Remove double padding in join section */
  .join-section .container { padding: 0; }

  /* Taller submit button */
  .form-cta .btn { height: 48px; }

  .footer__links { flex-direction: column; }
  .footer__bottom { flex-direction: column; text-align: left; align-items: flex-start; }
  .footer__bottom-brand { flex-direction: column; align-items: flex-start; }

  .footer {
    border-radius: 0 0 24px 24px;
  }

  [dir="rtl"] .form-row { flex-direction: column; }

  /* Mobile sliders */
  .slider-dots {
    display: flex;
    position: relative;
    z-index: 2;
    padding-top: 8px;
  }

  /* ---- Features slider ---- */
  .features__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
  }
  .features__grid::-webkit-scrollbar { display: none; }
  .features__grid .feature-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    height: auto;
    min-height: 240px;
    box-shadow: none;
    background: #f0f0f0;
  }

  /* ---- Testimonials slider ---- */
  .testimonials__grid {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
  }
  .testimonials__grid::-webkit-scrollbar { display: none; }
  .testimonials__grid .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    height: auto;
    box-shadow: none;
    background: #f0f0f0;
  }
  [dir="rtl"] .testimonials__grid { flex-direction: row; }

  /* ---- Feat grid slider ---- */
  .feat-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
  }
  .feat-grid::-webkit-scrollbar { display: none; }
  .feat-grid .feat-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    height: auto;
    min-height: 240px;
    box-shadow: none;
    background: #f0f0f0;
  }

  /* Results: stack vertically on mobile */
  .results-cards {
    flex-direction: column;
    gap: var(--space-10);
  }
  .result-card { min-height: 120px; }

  /* ---- Earnings section mobile slider ---- */
  .earnings-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
  }
  .earnings-cards::-webkit-scrollbar { display: none; }
  .earnings-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }
  .earnings-card__visual { height: 300px; }
  .earnings-card__info { opacity: 1; transform: none; }
  .earnings-card__label { display: none; }

  /* ---- Inner page mobile fixes ---- */

  /* Hero: larger title, stacked buttons */
  .page-hero__title { font-size: 40px; }
  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero__actions .btn { justify-content: center; }

  /* Numbers bar: vertical stack */
  .numbers-bar .container {
    flex-direction: column;
    gap: 48px;
    flex-wrap: nowrap;
  }
  .numbers-bar__item { flex: none; }

  /* Who section: column, photo 300px */
  .who-section .container {
    flex-direction: column;
    gap: var(--space-12);
  }
  .who-section__photo {
    width: 100%;
    height: 300px;
    min-height: 300px;
    align-self: auto;
  }

  /* How section: bigger gap between steps */
  .how-grid { gap: 40px; }
  [dir="rtl"] .how-grid { gap: 40px; }

  /* Tags: tighter gap, smaller pills, centered */
  .tags-cloud--outline { gap: var(--space-3); justify-content: center; align-items: center; }
  .tag--outline {
    height: 36px;
    padding: 0 var(--space-4);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Commission: stacked column */
  .commission-cards-new {
    flex-direction: column;
    gap: 64px;
    align-items: center;
  }

  /* Partner story: column, photo 300px */
  .partner-section .container {
    flex-direction: column;
    gap: var(--space-12);
  }
  .partner-section__photo {
    width: 100%;
    height: 300px;
    min-height: 300px;
    align-self: auto;
    aspect-ratio: auto;
  }
  .partner-section__photo img {
    position: static;
    width: 100%;
    height: 100%;
    top: auto;
  }
}
