/* =========================================================================
   ליווי מכירות — Landing Page Stylesheet
   -------------------------------------------------------------------------
   כל ה-classes בקובץ זה מתחילים ב-prefix "sales-" כדי למזער התנגשויות
   בעת שילוב העמוד בעתיד בתוך אתר קיים. ה-CSS נבנה Mobile First: הסגנון
   הבסיסי מתאים למובייל, ומעל כל breakpoint מורחבים הסגנונות למסכים גדולים.

   כל צבעי המותג מרוכזים במשתני :root אחד למטה — זה המקום היחיד שצריך
   לשנות כדי להתאים את הצבעים לאתר הראשי בעת ההטמעה.
   ========================================================================= */

/* ---------- 1. Design Tokens (CSS Variables) ---------- */
:root {
  /* Brand colors — TODO (מפתח): להתאים לצבעי המותג של האתר הראשי */
  --sales-color-primary: #1c7a5e;
  --sales-color-primary-dark: #145a46;
  --sales-color-primary-light: #e5f3ee;
  --sales-color-secondary: #f6f4ef;
  --sales-color-accent: #c99a44;
  --sales-color-accent-light: #e8c98a;
  --sales-color-navy: #0f2a47;
  --sales-color-navy-dark: #0a1d33;
  --sales-color-dark: #12211c;

  /* Base */
  --sales-color-background: #ffffff;
  --sales-color-surface: #f6f9f7;
  --sales-color-text: #1c1c1c;
  --sales-color-text-muted: #5b6560;
  --sales-color-text-on-dark: #ffffff;
  --sales-color-text-on-dark-muted: #cfd6d2;
  --sales-color-border: #e3e8e4;
  --sales-color-white: #ffffff;
  --sales-color-error: #c0392b;
  --sales-color-success: #1c7a5e;

  /* Typography */
  --sales-font-base: 'Heebo', sans-serif;
  --sales-fs-h1: clamp(2rem, 5vw + 1rem, 3.4rem);
  --sales-fs-h2: clamp(1.6rem, 3vw + 1rem, 2.4rem);
  --sales-fs-h3: 1.2rem;
  --sales-fs-body: 1rem;
  --sales-fs-lg: 1.15rem;
  --sales-fs-sm: 0.9rem;

  /* Spacing */
  --sales-space-xs: 0.5rem;
  --sales-space-sm: 1rem;
  --sales-space-md: 1.5rem;
  --sales-space-lg: 2rem;
  --sales-space-xl: 2.75rem;
  --sales-space-2xl: 3.5rem;

  /* Layout */
  --sales-container-width: 1180px;
  --sales-radius-sm: 8px;
  --sales-radius-md: 14px;
  --sales-radius-lg: 22px;
  --sales-shadow-sm: 0 2px 10px rgba(18, 33, 28, 0.06);
  --sales-shadow-md: 0 10px 30px rgba(18, 33, 28, 0.10);
  --sales-shadow-lg: 0 20px 50px rgba(18, 33, 28, 0.16);
  --sales-transition: 0.25s ease;
}

/* ---------- 2. Reset (scoped, minimal & safe for embedding) ---------- */
.sales-header,
.sales-header *,
.sales-main,
.sales-main *,
.sales-footer,
.sales-footer * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.sales-main img,
.sales-header img {
  max-width: 100%;
  display: block;
}

.sales-main ul,
.sales-main ol,
.sales-header ul,
.sales-footer ul {
  list-style: none;
}

.sales-main a,
.sales-header a,
.sales-footer a {
  text-decoration: none;
  color: inherit;
}

.sales-main button,
.sales-main input {
  font: inherit;
  color: inherit;
}

/* Base typography scope — applied only within this landing page's regions */
.sales-header,
.sales-main,
.sales-footer {
  font-family: var(--sales-font-base);
  color: var(--sales-color-text);
  font-size: var(--sales-fs-body);
  line-height: 1.6;
  background: var(--sales-color-background);
  direction: rtl;
}

.sales-main h1,
.sales-main h2,
.sales-main h3,
.sales-header h1,
.sales-footer h2 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.sales-skip-link {
  position: absolute;
  right: -999px;
  top: 0;
  background: var(--sales-color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 0 var(--sales-radius-sm);
}
.sales-skip-link:focus {
  right: 0;
}

/* Focus visibility for keyboard users */
.sales-main a:focus-visible,
.sales-main button:focus-visible,
.sales-main input:focus-visible,
.sales-header a:focus-visible,
.sales-header button:focus-visible,
.sales-footer a:focus-visible {
  outline: 3px solid var(--sales-color-accent);
  outline-offset: 2px;
}

/* ---------- 3. Layout helpers ---------- */
.sales-container {
  width: 100%;
  max-width: var(--sales-container-width);
  margin-inline: auto;
  padding-inline: var(--sales-space-md);
}

.sales-section {
  padding-block: var(--sales-space-2xl);
}

/* Keeps a section's own top content clear of the sticky header on direct
   anchor navigation (e.g. a page loaded with #sales-faq already in the
   URL) — in-page nav clicks already offset for this in JS, via
   getHeaderOffset() in script.js, which this value should stay in sync
   with. */
.sales-section,
#sales-hero,
#sales-contact {
  scroll-margin-top: 112px;
}

.sales-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sales-space-lg);
}

.sales-heading-lg {
  font-size: var(--sales-fs-h2);
  color: var(--sales-color-dark);
}
.sales-heading-lg--light {
  color: var(--sales-color-text-on-dark);
}
.sales-section-head .sales-heading-lg::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.9rem auto 0;
  background: var(--sales-color-primary);
  border-radius: 999px;
}

.sales-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* ---------- 4. Buttons ---------- */
.sales-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  font-size: var(--sales-fs-body);
  cursor: pointer;
  transition: transform var(--sales-transition), box-shadow var(--sales-transition), background var(--sales-transition), color var(--sales-transition), border-color var(--sales-transition);
  /* normal (not nowrap) so long CTA labels wrap instead of forcing the
     button — and the page — wider than narrow phone screens; min-width:0
     lets it actually shrink below its content's natural width when a
     parent constrains it (e.g. width:100%), which inline-flex resists by
     default. Short labels are unaffected since they never need to wrap. */
  white-space: normal;
  min-width: 0;
}
.sales-btn:hover {
  transform: translateY(-2px);
}
.sales-btn:active {
  transform: translateY(0);
}

.sales-btn--primary {
  background: linear-gradient(135deg, var(--sales-color-primary) 0%, var(--sales-color-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(28, 122, 94, 0.28);
}
.sales-btn--primary:hover {
  box-shadow: 0 10px 26px rgba(28, 122, 94, 0.38);
}

.sales-btn--outline {
  background: transparent;
  border-color: var(--sales-color-primary);
  color: var(--sales-color-primary);
}
.sales-btn--outline:hover {
  background: var(--sales-color-primary-light);
}

.sales-btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.sales-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.sales-btn--lg {
  padding: 1rem 2rem;
  font-size: var(--sales-fs-lg);
}
.sales-btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: var(--sales-fs-sm);
}
.sales-btn--block {
  width: 100%;
}
.sales-btn--whatsapp {
  color: #fff;
}

/* ---------- 5. Header ---------- */
.sales-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--sales-color-border);
  backdrop-filter: saturate(180%) blur(6px);
}

.sales-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sales-space-sm);
  padding-block: 0.9rem;
}

.sales-header__logo {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--sales-radius-md);
  padding: 0.35rem 0.7rem;
}
.sales-header__logo-img {
  display: block;
  height: 84px;
  width: auto;
}

.sales-nav {
  display: none;
}
.sales-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sales-space-md);
}
.sales-nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sales-color-text);
  transition: color var(--sales-transition);
}
.sales-nav__link:hover {
  color: var(--sales-color-primary);
}

.sales-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sales-header__actions .sales-btn {
  display: none;
}

.sales-header__burger {
  display: grid;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}
.sales-header__burger span {
  width: 24px;
  height: 2px;
  background: var(--sales-color-dark);
  border-radius: 2px;
  transition: transform var(--sales-transition), opacity var(--sales-transition);
}
.sales-header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.sales-header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.sales-header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sales-mobile-nav {
  border-top: 1px solid var(--sales-color-border);
  background: var(--sales-color-white);
}
.sales-mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding: var(--sales-space-sm) var(--sales-space-md);
  gap: 0.25rem;
}
.sales-mobile-nav__link {
  display: block;
  padding: 0.7rem 0.2rem;
  font-weight: 600;
  border-bottom: 1px solid var(--sales-color-border);
}
.sales-mobile-nav__list li:last-child {
  margin-top: 0.6rem;
}

@media (min-width: 900px) {
  .sales-nav {
    display: block;
  }
  .sales-header__actions .sales-btn {
    display: inline-flex;
  }
  .sales-header__burger {
    display: none;
  }
  .sales-mobile-nav {
    display: none !important;
  }
}

/* ---------- 6. Hero ---------- */
.sales-hero {
  position: relative;
  background: linear-gradient(180deg, #204b3a 0%, #295b47 60%, #2c604b 100%);
  padding-block: var(--sales-space-xl) var(--sales-space-lg);
  overflow: hidden;
}
.sales-hero::before,
.sales-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.sales-hero::before {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(201, 154, 68, 0.22) 0%, transparent 70%);
}
.sales-hero::after {
  width: 500px;
  height: 500px;
  bottom: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(28, 122, 94, 0.35) 0%, transparent 70%);
}

.sales-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sales-space-lg);
}

.sales-hero__content {
  color: #fff;
}

/* Tag+class selector so this beats .sales-main h1's text-wrap:balance on
   specificity — otherwise "balance" quietly wins and re-enables wrapping
   despite nowrap below (both set the same underlying text-wrap-mode). */
h1.sales-hero__title {
  font-size: clamp(1.15rem, 2.6vw + 0.7rem, 2.5rem);
  color: #fff;
  margin-bottom: var(--sales-space-sm);
  white-space: nowrap;
  text-wrap: nowrap;
}

.sales-hero__subtitle {
  font-size: var(--sales-fs-lg);
  color: var(--sales-color-accent-light);
  font-weight: 700;
  margin-bottom: var(--sales-space-sm);
}

.sales-hero__lead {
  font-size: var(--sales-fs-lg);
  color: #fff;
  font-weight: 600;
  margin-bottom: var(--sales-space-sm);
}

.sales-hero__trust {
  font-size: var(--sales-fs-lg);
  color: #fff;
  font-weight: 700;
  margin-bottom: var(--sales-space-xs);
}

.sales-hero__desc {
  font-size: var(--sales-fs-lg);
  color: var(--sales-color-text-on-dark-muted);
  max-width: 55ch;
  margin-bottom: var(--sales-space-md);
}

.sales-hero__checklist {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--sales-space-lg);
}
.sales-hero__checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 600;
}
.sales-hero__checklist .sales-icon {
  color: var(--sales-color-accent-light);
}

.sales-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.sales-hero__actions .sales-btn {
  width: 100%;
}
.sales-hero__caption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--sales-color-text-on-dark-muted);
}

@media (min-width: 700px) {
  .sales-hero__actions {
    flex-direction: row;
  }
  .sales-hero__actions .sales-btn {
    width: auto;
  }
}

.sales-hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}
.sales-hero__image {
  width: 100%;
  height: auto;
  border-radius: var(--sales-radius-lg);
  box-shadow: var(--sales-shadow-lg);
}

@media (min-width: 960px) {
  .sales-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--sales-space-2xl);
  }
  .sales-hero__content,
  .sales-hero__media {
    flex: 1 1 50%;
  }
}

/* ---------- 7. Reservists split layout (text + image) ---------- */
.sales-reservists__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sales-space-lg);
}
.sales-reservists__image {
  width: 100%;
  height: auto;
  border-radius: var(--sales-radius-lg);
  box-shadow: var(--sales-shadow-md);
}

/* ---------- 9. Cards (shared) ---------- */
.sales-card {
  background: var(--sales-color-white);
  border: 1px solid var(--sales-color-border);
  border-radius: var(--sales-radius-md);
  padding: var(--sales-space-md);
  box-shadow: var(--sales-shadow-sm);
  transition: transform var(--sales-transition), box-shadow var(--sales-transition), border-color var(--sales-transition);
}
.sales-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sales-shadow-lg);
  border-color: var(--sales-color-primary-light);
}
.sales-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sales-color-primary-light) 0%, #d3ece2 100%);
  color: var(--sales-color-primary);
  margin-bottom: var(--sales-space-sm);
  transition: transform var(--sales-transition);
}
.sales-card:hover .sales-card__icon {
  transform: scale(1.08);
}
.sales-card__icon svg {
  width: 26px;
  height: 26px;
}
.sales-card__eyebrow {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sales-color-primary);
  margin-bottom: 0.3rem;
}
.sales-card__title {
  font-size: var(--sales-fs-h3);
  margin-bottom: 0.4rem;
  color: var(--sales-color-dark);
}
/* The why-us cards pair an eyebrow with an h3 title — sized down here (not
   in the shared .sales-card__title rule, which the audience cards above
   also use) to match the body text below it, staying bold via the
   .sales-main h3 rule so it still reads as a heading, just no longer the
   dominant line — the green eyebrow is meant to lead. */
.sales-why-us__card .sales-card__title {
  font-size: 0.95rem;
}
.sales-card__text {
  color: var(--sales-color-text-muted);
  font-size: 0.95rem;
}

/* ---------- 11. Audience grid ---------- */
.sales-audience {
  background: var(--sales-color-background);
}
.sales-audience__intro {
  text-align: center;
  font-weight: 700;
  color: var(--sales-color-dark);
  margin-top: var(--sales-space-sm);
}
.sales-audience__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sales-space-md);
  margin-top: var(--sales-space-lg);
}
.sales-audience__card {
  text-align: center;
}
.sales-audience__card .sales-card__icon {
  margin-inline: auto;
}
@media (min-width: 620px) {
  .sales-audience__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .sales-audience__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 12. Reservists ---------- */
.sales-reservists {
  background: var(--sales-color-navy);
  color: #fff;
}
.sales-reservists__top-message {
  font-weight: 800;
  font-size: var(--sales-fs-lg);
  color: var(--sales-color-accent-light);
  margin-bottom: var(--sales-space-sm);
}
.sales-reservists__text {
  color: var(--sales-color-text-on-dark-muted);
  font-size: var(--sales-fs-lg);
  margin-bottom: var(--sales-space-sm);
}
.sales-reservists__tag {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: var(--sales-space-md);
}

@media (min-width: 900px) {
  .sales-reservists__inner {
    flex-direction: row;
    align-items: center;
  }
  .sales-reservists__content,
  .sales-reservists__media {
    flex: 1 1 50%;
  }
}

/* ---------- 13. Why us ---------- */
.sales-why-us {
  background: var(--sales-color-surface);
}
.sales-why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sales-space-md);
}
@media (min-width: 620px) {
  .sales-why-us__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .sales-why-us__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 14. Timeline (how it works) ---------- */
.sales-how {
  background: var(--sales-color-background);
}
.sales-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sales-timeline__step {
  position: relative;
  background: var(--sales-color-surface);
  border: 1px solid var(--sales-color-border);
  border-radius: var(--sales-radius-md);
  padding: var(--sales-space-md);
  padding-inline-start: 4.5rem;
  margin-bottom: var(--sales-space-md);
}
.sales-timeline__step:last-child {
  margin-bottom: 0;
}
.sales-timeline__number {
  position: absolute;
  right: var(--sales-space-md);
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--sales-color-primary);
}
.sales-timeline__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sales-color-primary-light);
  color: var(--sales-color-primary);
  margin-bottom: var(--sales-space-xs);
}
.sales-timeline__icon svg {
  width: 20px;
  height: 20px;
}
.sales-timeline__eyebrow {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sales-color-primary);
  margin-bottom: 0.2rem;
}
/* Sized to match .sales-timeline__text below it, same treatment as the
   why-us cards' .sales-card__title — stays bold via the .sales-main h3
   rule, but the green eyebrow above it is the line meant to lead. */
.sales-timeline__title {
  font-size: 0.9rem;
  color: var(--sales-color-dark);
}
.sales-timeline__text {
  color: var(--sales-color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}
.sales-how__closing {
  text-align: center;
  font-weight: 700;
  font-size: var(--sales-fs-lg);
  color: var(--sales-color-dark);
  margin-top: var(--sales-space-lg);
}

@media (min-width: 900px) {
  .sales-timeline {
    flex-direction: row;
    align-items: stretch;
    gap: var(--sales-space-sm);
  }
  .sales-timeline__step {
    flex: 1;
    padding-inline-start: var(--sales-space-md);
    padding-top: 3.4rem;
    margin-bottom: 0;
  }
  .sales-timeline__number {
    right: var(--sales-space-md);
    top: var(--sales-space-md);
    transform: none;
  }
  .sales-timeline__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -0.65rem;
    width: 1.2rem;
    height: 2px;
    background: var(--sales-color-border);
  }
}

/* ---------- 14.5. Tenders map ---------- */
.sales-tenders {
  background: var(--sales-color-surface);
}
.sales-tenders__hook {
  font-weight: 700;
  color: var(--sales-color-dark);
  margin-top: var(--sales-space-sm);
  line-height: 1.5;
}

.sales-tenders__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sales-space-lg);
  margin-bottom: var(--sales-space-lg);
}
.sales-tenders__head {
  margin: 0;
  text-align: start;
}
/* .sales-audience__intro is reused here from the audience section, which
   centers it — override just this instance so it follows the rest of
   this heading block instead. */
.sales-tenders__head .sales-audience__intro {
  text-align: start;
}
@media (min-width: 900px) {
  .sales-tenders__top {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--sales-space-2xl, 3rem);
  }
  .sales-tenders__head {
    flex: 1;
    max-width: 480px;
  }
}

.sales-tenders__map-wrap {
  position: relative;
  /* Israel's outline is tall and narrow — sizing the wrap to roughly its real
     proportions keeps the whole country visible without the map spilling
     into a wide box full of empty (masked) sea/border padding on the sides. */
  width: min(300px, 100%);
  height: 620px;
  margin: 0 auto;
  flex: none;
}
@media (min-width: 700px) {
  .sales-tenders__map-wrap {
    width: min(340px, 100%);
    height: 700px;
  }
}
.sales-tenders__map {
  width: 100%;
  height: 100%;
  background: var(--sales-color-border);
  direction: ltr;
  border-radius: var(--sales-radius-lg);
  overflow: hidden;
  box-shadow: var(--sales-shadow-md);
}

.sales-tenders__map .sales-tenders__map-mask {
  fill-rule: evenodd;
}

/* Plain English city-name labels (see initTendersMap) — stripped of
   Leaflet's default tooltip box/arrow so it reads as map text, not a
   callout bubble. */
.sales-tenders__map .sales-tenders__map-city-label {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  font-family: var(--sales-font-base);
  font-size: 0.68rem;
  font-weight: 700;
  color: #33463d;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
  pointer-events: none;
}
.sales-tenders__map .sales-tenders__map-city-label::before {
  display: none;
}

/* Our own popup panel — positioned in pixel space via JS (initTendersMap),
   independent of Leaflet's built-in Popup so we control edge behavior.
   Rendered as a fixed-position element appended directly to <body> (moved
   there in JS) rather than nested inside the map: Leaflet's map pane is
   GPU-transformed for panning, which was silently painting the map's own
   tiles/overlay layer above this panel despite its z-index — moving it out
   of that subtree avoids the compositing conflict entirely. */
.sales-tenders__popup,
.sales-tenders__popup * {
  /* The site-wide box-sizing:border-box reset only reaches descendants of
     .sales-main/.sales-header — now that this panel lives directly under
     <body>, it needs its own, or the button's padding gets added on top of
     its 100% width instead of eaten from it, pushing it wider than the
     card and out past its edge. */
  box-sizing: border-box;
}
.sales-tenders__popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 240px;
  /* Sized against the viewport, not the (now narrow) map wrap — otherwise
     the popup gets squeezed down to the wrap's width and its content wraps
     awkwardly. */
  max-width: min(240px, calc(100vw - 2rem));
  background: #fff;
  border-radius: var(--sales-radius-md);
  box-shadow: var(--sales-shadow-lg);
  padding: 1rem 1.2rem;
  direction: rtl;
  text-align: start;
  font-family: var(--sales-font-base);
}
.sales-tenders__popup-close {
  position: absolute;
  top: 0.5rem;
  inset-inline-end: 0.6rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--sales-color-text-muted);
  cursor: pointer;
  padding: 0.2rem;
}
.sales-tenders__popup-city {
  font-weight: 800;
  color: var(--sales-color-dark);
  margin-bottom: 0.4rem;
  padding-inline-end: 1.1rem;
}
.sales-tenders__popup-row {
  font-size: 0.85rem;
  color: var(--sales-color-text-muted);
  margin-bottom: 0.3rem;
}
.sales-tenders__popup-cta {
  margin-top: 0.5rem;
  width: 100%;
}

.sales-tenders__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: var(--sales-space-lg);
}
.sales-tenders__filter {
  border: 1.5px solid var(--sales-color-border);
  background: #fff;
  color: var(--sales-color-text-muted);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--sales-transition), color var(--sales-transition), border-color var(--sales-transition);
}
.sales-tenders__filter:hover {
  border-color: var(--sales-color-primary);
  color: var(--sales-color-primary);
}
.sales-tenders__filter--active {
  background: var(--sales-color-primary);
  border-color: var(--sales-color-primary);
  color: #fff;
}

.sales-tenders__list {
  display: flex;
  flex-direction: column;
  gap: var(--sales-space-lg);
}
.sales-tenders__group-title {
  font-size: var(--sales-fs-h3);
  color: var(--sales-color-dark);
  margin-bottom: var(--sales-space-sm);
}
.sales-tenders__group ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sales-tenders__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sales-space-sm);
  background: #fff;
  border: 1px solid var(--sales-color-border);
  border-radius: var(--sales-radius-md);
  padding: var(--sales-space-sm) var(--sales-space-md);
}
.sales-tenders__item-place {
  font-weight: 700;
  color: var(--sales-color-dark);
}
.sales-tenders__item-date {
  color: var(--sales-color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}
.sales-tenders__empty {
  color: var(--sales-color-text-muted);
  text-align: center;
}

@media (max-width: 480px) {
  .sales-tenders__item {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* ---------- 15. Pricing / Tracks ---------- */
.sales-tracks {
  background: var(--sales-color-surface);
}
.sales-tracks__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sales-space-lg);
  align-items: stretch;
}
@media (min-width: 960px) {
  .sales-tracks__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sales-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sales-color-border);
  border-radius: var(--sales-radius-lg);
  padding: var(--sales-space-lg) var(--sales-space-md);
  box-shadow: var(--sales-shadow-sm);
  transition: transform var(--sales-transition), box-shadow var(--sales-transition);
}
.sales-pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sales-shadow-lg);
}
.sales-pricing-card__tier {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: var(--sales-space-sm);
}
.sales-pricing-card__tier--basic {
  background: #f1e4d2;
  color: #8a6a35;
}
.sales-pricing-card__tier--premium {
  background: var(--sales-color-primary-light);
  color: var(--sales-color-primary-dark);
}
.sales-pricing-card__tier--vip {
  background: var(--sales-color-accent-light);
  color: #5a3d0a;
}
.sales-pricing-card__name {
  font-size: 1.35rem;
  color: var(--sales-color-dark);
  margin-bottom: 0.35rem;
}
.sales-pricing-card__tagline {
  color: var(--sales-color-text-muted);
  font-size: 0.92rem;
  margin-bottom: var(--sales-space-md);
  min-height: 2.6em;
}
.sales-pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: var(--sales-space-md);
}
.sales-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--sales-color-text-muted);
}
.sales-pricing-card__features .sales-icon {
  color: var(--sales-color-primary);
  margin-top: 0.15em;
}
.sales-pricing-card__prices {
  border-top: 1px solid var(--sales-color-border);
  padding-top: var(--sales-space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.sales-pricing-card__price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--sales-color-text-muted);
}
.sales-pricing-card__price-row--highlight {
  font-size: 1.05rem;
  color: var(--sales-color-dark);
  font-weight: 700;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--sales-color-border);
  margin-top: 0.2rem;
}
.sales-pricing-card__price-main {
  font-size: 1.6rem;
  color: var(--sales-color-primary);
  font-weight: 800;
}

.sales-pricing-card--featured {
  border-color: var(--sales-color-primary);
  box-shadow: var(--sales-shadow-lg);
}
.sales-pricing-card__badge {
  position: absolute;
  top: -14px;
  right: var(--sales-space-md);
  background: var(--sales-color-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--sales-shadow-sm);
}

.sales-pricing-card--vip {
  background: var(--sales-color-dark);
  border-color: var(--sales-color-accent);
  color: #fff;
}
.sales-pricing-card--vip .sales-pricing-card__name,
.sales-pricing-card--vip .sales-pricing-card__price-row--highlight {
  color: #fff;
}
.sales-pricing-card--vip .sales-pricing-card__price-row--highlight {
  border-color: rgba(255, 255, 255, 0.25);
}
.sales-pricing-card--vip .sales-pricing-card__tagline,
.sales-pricing-card--vip .sales-pricing-card__price-row,
.sales-pricing-card--vip .sales-pricing-card__features li {
  color: var(--sales-color-text-on-dark-muted);
}
.sales-pricing-card--vip .sales-pricing-card__features .sales-icon {
  color: var(--sales-color-accent-light);
}
.sales-pricing-card--vip .sales-pricing-card__price-main {
  color: var(--sales-color-accent-light);
}
.sales-pricing-card--vip .sales-pricing-card__prices {
  border-color: rgba(255, 255, 255, 0.18);
}

/* ---------- 17. FAQ Accordion ---------- */
.sales-faq {
  background: var(--sales-color-background);
}
.sales-faq__inner {
  max-width: 780px;
}
.sales-accordion__item {
  border-bottom: 1px solid var(--sales-color-border);
}
.sales-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: var(--sales-space-sm) 0.25rem;
  text-align: right;
  font-weight: 700;
  font-size: 1rem;
  color: var(--sales-color-dark);
  cursor: pointer;
}
.sales-accordion__chevron {
  width: 20px;
  height: 20px;
  color: var(--sales-color-primary);
  transition: transform var(--sales-transition);
  flex-shrink: 0;
}
.sales-accordion__trigger[aria-expanded="true"] .sales-accordion__chevron {
  transform: rotate(180deg);
}
.sales-accordion__panel {
  padding: 0 0.25rem var(--sales-space-sm);
  color: var(--sales-color-text-muted);
}

/* ---------- 18. Final CTA + Lead form ---------- */
.sales-final {
  background: var(--sales-color-surface);
}
.sales-final__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sales-space-lg);
}
.sales-final__intro {
  text-align: center;
}
.sales-final__subtitle {
  font-weight: 700;
  color: var(--sales-color-primary);
  margin-top: var(--sales-space-xs);
}
.sales-final__text {
  color: var(--sales-color-text-muted);
  font-size: var(--sales-fs-lg);
  margin-top: var(--sales-space-xs);
}

.sales-lead-form {
  background: #fff;
  color: var(--sales-color-text);
  border-radius: var(--sales-radius-lg);
  padding: var(--sales-space-lg);
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
  box-shadow: var(--sales-shadow-lg);
}
.sales-form-field {
  margin-bottom: var(--sales-space-sm);
}
.sales-form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--sales-color-dark);
}
.sales-form-field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sales-color-border);
  border-radius: var(--sales-radius-sm);
  background: var(--sales-color-surface);
  transition: border-color var(--sales-transition), box-shadow var(--sales-transition);
}
.sales-form-field input:focus {
  border-color: var(--sales-color-primary);
  box-shadow: 0 0 0 3px var(--sales-color-primary-light);
  outline: none;
}
.sales-form-field input[aria-invalid="true"] {
  border-color: var(--sales-color-error);
}
.sales-form-error {
  display: block;
  min-height: 1.1em;
  color: var(--sales-color-error);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}
.sales-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: var(--sales-space-sm);
}
.sales-form-actions .sales-btn--outline {
  color: var(--sales-color-primary);
  border-color: var(--sales-color-primary);
}
.sales-lead-form__success {
  margin-top: var(--sales-space-sm);
  text-align: center;
  font-weight: 700;
  color: var(--sales-color-success);
  background: var(--sales-color-primary-light);
  border-radius: var(--sales-radius-sm);
  padding: 0.75rem;
}

@media (min-width: 700px) {
  .sales-final__inner {
    flex-direction: row-reverse;
    align-items: center;
    text-align: right;
  }
  .sales-final__intro {
    flex: 1;
    text-align: right;
  }
  .sales-lead-form {
    margin-inline: 0;
  }
}

/* ---------- 19. Footer ---------- */
.sales-footer {
  background: var(--sales-color-dark);
  color: var(--sales-color-text-on-dark-muted);
  padding-block: var(--sales-space-xl);
}
.sales-footer__inner {
  text-align: center;
}
.sales-footer__heading {
  color: #fff;
  font-size: var(--sales-fs-h3);
  margin-bottom: var(--sales-space-md);
}
.sales-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 420px;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .sales-footer__contact {
    flex-direction: row;
    max-width: none;
  }
}
.sales-footer__contact-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sales-radius-md);
  transition: border-color var(--sales-transition), background var(--sales-transition), transform var(--sales-transition);
}
.sales-footer__contact-item:hover {
  border-color: var(--sales-color-primary);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.sales-footer__contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(28, 122, 94, 0.35);
  color: var(--sales-color-accent-light);
}
.sales-footer__contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: start;
}
.sales-footer__contact-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}
.sales-footer__contact-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

/* ---------- 20. Utility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .sales-header *,
  .sales-main *,
  .sales-footer * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
