:root {
  --home-preview-navy: #092954;
  --home-preview-blue: #0869e8;
  --home-preview-blue-deep: #075bc6;
  --home-preview-ink-muted: #345a83;
  --home-preview-line: #cbdcf0;
  --home-preview-surface: #f8fbff;
  --home-preview-section: #f0f7fd;
}

.home-scroll-previews {
  position: relative;
  z-index: 1;
  overflow: visible;
  color: var(--home-preview-navy);
  background: var(--home-preview-surface);
}

.home-scroll-section {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: clamp(66px, 6vw, 100px) max(24px, calc((100vw - 1240px) / 2));
}

/* A blurred shadow layer softens section changes without creating a visible stripe. */
.home-scroll-previews::before,
.home-scroll-section + .home-scroll-section::before,
#footer.jmt-lower-section__footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -42px;
  right: 0;
  left: 0;
  height: 84px;
  pointer-events: none;
  background: rgba(7, 36, 73, .26);
  filter: blur(30px);
}

.home-scroll-previews::before {
  top: -34px;
  height: 68px;
  background: rgba(7, 36, 73, .34);
  filter: blur(24px);
}

.home-scroll-section + .home-scroll-section {
  z-index: 1;
}

#footer.jmt-lower-section__footer {
  position: relative;
  z-index: 1;
}

.home-scroll-section__shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1240px);
  margin: 0 auto;
}

.home-scroll-section__eyebrow {
  display: block;
  margin: 0 0 clamp(32px, 3.3vw, 48px);
  color: var(--home-preview-blue);
  font-size: clamp(20px, 1.75vw, 26px);
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.home-scroll-section h2,
.home-scroll-section h3,
.home-scroll-section p { margin-top: 0; }

.home-scroll-section h2 {
  max-width: 26ch;
  margin-bottom: 22px;
  color: var(--home-preview-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 3.7vw, 56px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.09;
  /* Keep natural phrase-length lines instead of a poem-like stack of short lines. */
  text-wrap: normal;
}

.home-scroll-section p {
  color: var(--home-preview-ink-muted);
  font-size: clamp(17px, 1.23vw, 19px);
  line-height: 1.62;
}

.home-scroll-section__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 50px;
  margin-top: 26px;
  padding: 0 20px 0 23px;
  border: 1px solid #1261d4;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2477ea, #1261d4);
  box-shadow: 0 8px 18px rgba(18, 97, 212, .22);
  font: 700 clamp(14px, 1vw, 15px) / 1 Arial, sans-serif;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-scroll-section__link:hover,
.home-scroll-section__link:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #1267dd, #0b4cae);
  box-shadow: 0 11px 22px rgba(18, 97, 212, .3);
  transform: translateY(-2px);
  text-decoration: none;
}

.home-scroll-section--services {
  padding-top: clamp(58px, 5.2vw, 76px);
  padding-bottom: clamp(66px, 5.2vw, 84px);
  background-color: #fbfdff;
  background-image: url("../img/home-services-routes-v1.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-scroll-services__body {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(42px, 4.5vw, 68px);
  align-items: center;
}

.home-scroll-services__body > .home-scroll-section__intro { max-width: 680px; }
.home-scroll-section--services h2 {
  max-width: 25ch;
  font-size: clamp(38px, 3.25vw, 51px);
}

@media (min-width: 961px) {
  html:is([lang="geo"], [lang="ka"]) .home-scroll-section--services h2 {
    max-width: none;
    font-size: clamp(34px, 2.7vw, 42px);
    line-height: 1.14;
  }
}
.home-scroll-services__list { border-top: 1px solid var(--home-preview-line); }

.home-scroll-services__item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 26px;
  gap: 20px;
  align-items: center;
  min-height: 112px;
  padding: 21px 0;
  border-bottom: 1px solid var(--home-preview-line);
}

.home-scroll-services__item > .fa:not(.home-scroll-services__arrow) {
  color: var(--home-preview-blue);
  font-size: clamp(36px, 2.8vw, 46px);
  line-height: 1;
  text-align: center;
}

.home-scroll-services__item h3 {
  margin: 0 0 6px;
  color: var(--home-preview-navy);
  font-size: clamp(18px, 1.32vw, 21px);
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-scroll-services__item p {
  margin: 0;
  font-size: clamp(15px, 1.03vw, 17px);
  line-height: 1.47;
}

.home-scroll-services__arrow {
  color: var(--home-preview-blue);
  font-size: clamp(30px, 2.4vw, 38px);
  line-height: 1;
  text-align: right;
}

.home-scroll-section--about {
  padding-top: clamp(46px, 4.1vw, 64px);
  padding-bottom: clamp(66px, 5.5vw, 90px);
  background-color: #eef7ff;
  background-image: url("../img/home-about-geometry-v1.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-scroll-about__body {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  gap: clamp(28px, 3vw, 42px);
  /* Start both columns on the same horizontal line: image and heading stay parallel. */
  align-items: start;
}

.home-scroll-about__media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  /* A taller frame balances the image with the adjacent title and details. */
  aspect-ratio: 1.85 / 1;
  background: #e8f2fc;
  box-shadow: 0 16px 36px rgba(31, 87, 143, .11);
}

.home-scroll-about__media img {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.85 / 1;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.home-scroll-about__copy { max-width: 650px; }
.home-scroll-about__copy h2 {
  max-width: none;
  font-size: clamp(36px, 2.9vw, 46px);
}

html:is([lang="geo"], [lang="ka"]) .home-scroll-about__copy h2 {
  /* Georgian glyphs are wider; this keeps complete phrases in two balanced lines. */
  font-size: clamp(34px, 2.35vw, 40px);
  line-height: 1.14;
}

@media (min-width: 961px) {
  /* Keep the image left-aligned and reserve a real visual gutter before the copy. */
  html:is([lang="geo"], [lang="ka"]) .home-scroll-about__body {
    grid-template-columns: minmax(0, 578px) minmax(0, 1fr);
    gap: clamp(58px, 4vw, 76px);
  }
}

/* Wide desktop: center the visual within the left half and open more space to copy. */
@media (min-width: 1600px) {
  .home-scroll-about__media {
    transform: translateX(clamp(-120px, -6vw, -72px));
  }
}

.home-scroll-about__facts {
  display: grid;
  gap: 11px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--home-preview-navy);
  font-size: clamp(15px, 1.06vw, 17px);
  font-weight: 700;
  list-style: none;
}

/* Center the call-to-action under the facts rather than under the checkmark column. */
@media (min-width: 601px) {
  .home-scroll-about__copy > .home-scroll-section__link {
    margin: 13px 0 0 30px;
  }
}

/* On desktop, keep the company action alongside the middle fact instead of
   leaving it isolated beneath the list. */
@media (min-width: 961px) {
  .home-scroll-about__copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
  }
  .home-scroll-about__copy > h2,
  .home-scroll-about__copy > p {
    grid-column: 1 / -1;
  }
  .home-scroll-about__facts {
    grid-column: 1;
    margin-bottom: 0;
  }
  .home-scroll-about__copy > .home-scroll-section__link {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    justify-self: end;
    margin: 0;
  }
}

.home-scroll-about__facts i { width: 25px; color: var(--home-preview-blue); }

.home-scroll-section--employees {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, rgba(5, 24, 54, .97) 0%, rgba(5, 33, 73, .91) 49%, rgba(5, 33, 73, .62) 100%), url("../img/employees/team-logistics-background-v1.webp") center / cover no-repeat;
}

.home-scroll-employees__body {
  display: grid;
  /* The support panel needs a real side zone for its icon, especially for Georgian copy. */
  grid-template-columns: minmax(0, 1.05fr) minmax(500px, .95fr);
  gap: clamp(32px, 3vw, 48px);
  align-items: center;
}

.home-scroll-employees__copy { max-width: 700px; }
.home-scroll-section--employees .home-scroll-section__eyebrow { color: #94c5ff; }
.home-scroll-section--employees h2,
.home-scroll-section--employees p { color: #fff; }
.home-scroll-section--employees h2 {
  max-width: none;
  /* Slightly smaller only in the split desktop layout: it keeps complete phrases
     on two lines while the support card retains enough room for its icon. */
  font-size: clamp(32px, 2.35vw, 40px);
  letter-spacing: .008em;
  line-height: 1.14;
  text-wrap: wrap;
}
.home-scroll-section--employees p {
  max-width: 62ch;
  color: #e1efff;
  letter-spacing: .02em;
  line-height: 1.68;
}
.home-scroll-section__link--light { border-color: #1261d4; color: #fff; background: linear-gradient(135deg, #2477ea, #1261d4); }
.home-scroll-section__link--light:hover,
.home-scroll-section__link--light:focus-visible { color: #fff; background: linear-gradient(135deg, #1267dd, #0b4cae); }
.home-scroll-employees__note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(78px, 10vw, 124px);
  width: calc(100% - 28px);
  min-height: 280px;
  margin-left: 28px;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(32px, 4vw, 52px) clamp(32px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(189, 218, 245, .34);
  border-radius: 42px 0 42px 42px;
  background: #31516f url("../img/employees/team-support-panel-v1.png") center / cover no-repeat;
  background-blend-mode: soft-light;
  box-shadow: 0 18px 38px rgba(0, 22, 52, .2), inset 0 1px 0 rgba(255, 255, 255, .07);
  color: #fff;
}

.home-scroll-employees__note-copy { position: relative; z-index: 1; display: grid; min-width: 0; gap: 15px; max-width: 300px; }
.home-scroll-employees__note-copy::after { content: ""; width: 92px; height: 3px; order: -1; background: #86bce9; }
.home-scroll-employees__note-copy strong { font-size: clamp(26px, 2.1vw, 32px); font-weight: 700; letter-spacing: .01em; line-height: 1.16; text-wrap: normal; }
.home-scroll-employees__note-copy span { max-width: 28ch; color: #e7f1ff; font-size: clamp(17px, 1.35vw, 19px); font-weight: 600; letter-spacing: .012em; line-height: 1.35; text-wrap: normal; }
.home-scroll-employees__note-icon {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 124px;
  width: 124px;
  height: 124px;
  place-items: center;
  border: 2px solid rgba(204, 228, 248, .53);
  border-radius: 50%;
  background: rgba(83, 144, 203, .72);
  box-shadow: 0 0 0 9px rgba(153, 197, 235, .12), 0 12px 24px rgba(0, 31, 69, .28);
}
.home-scroll-employees__note-icon i { color: #fff; font-size: 50px; }

@media (max-width: 960px) {
  .home-scroll-services__body,
  .home-scroll-about__body,
  .home-scroll-employees__body { grid-template-columns: 1fr; }
  .home-scroll-services__body > .home-scroll-section__intro,
  .home-scroll-about__copy,
  .home-scroll-employees__copy { max-width: 720px; margin: 0 auto; }
  .home-scroll-about__media { max-width: 720px; width: 100%; margin: 0 auto; }
  .home-scroll-employees__note {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) clamp(78px, 16vw, 108px);
    gap: clamp(18px, 4vw, 26px);
    padding: clamp(28px, 5vw, 40px);
  }
  .home-scroll-employees__note-copy { max-width: 290px; }
  .home-scroll-employees__note-copy strong { font-size: clamp(23px, 3vw, 28px); }

  .home-scroll-section--services,
  .home-scroll-section--about { background-position: center center; }
}

/* At notebook widths the team title has no room to form readable phrases
   next to the support card.  Stack the card below it instead of creating
   multiple short, poem-like lines. */
@media (max-width: 1200px) and (min-width: 961px) {
  .home-scroll-employees__body { grid-template-columns: 1fr; }
  .home-scroll-employees__copy { max-width: 820px; }
  .home-scroll-employees__note { width: 100%; max-width: 760px; margin-left: 0; }
}

@media (max-width: 600px) {
  .home-scroll-section { padding: 52px 20px; }
  .home-scroll-section__eyebrow { margin-bottom: 30px; font-size: 18px; letter-spacing: .13em; }
  .home-scroll-section h2 { max-width: 20ch; font-size: clamp(31px, 9vw, 40px); text-wrap: normal; }
  .home-scroll-section--employees h2 {
    max-width: 100%;
    font-size: clamp(30px, 8.9vw, 40px);
    letter-spacing: .012em;
    line-height: 1.2;
  }
  .home-scroll-section p { font-size: 16px; }
  .home-scroll-section--services,
  .home-scroll-section--about { background-size: auto 100%; }
  .home-scroll-services__item { grid-template-columns: 46px minmax(0, 1fr) 18px; gap: 12px; min-height: 0; padding: 18px 0; }
  .home-scroll-services__item > .fa:not(.home-scroll-services__arrow) { font-size: 32px; }
  .home-scroll-services__item h3 { font-size: 16px; }
  .home-scroll-services__item p { font-size: 14px; }
  .home-scroll-services__arrow { font-size: 26px; }
  .home-scroll-about__media,
  .home-scroll-about__media img { min-height: 230px; }
  .home-scroll-employees__note { grid-template-columns: minmax(0, 1fr) 72px; min-height: 0; gap: 18px; padding: 30px 26px; border-radius: 28px 0 28px 28px; }
  .home-scroll-employees__note-copy { gap: 13px; }
  .home-scroll-employees__note-copy::after { width: 70px; }
  .home-scroll-employees__note-copy strong { font-size: clamp(23px, 7vw, 29px); }
  .home-scroll-employees__note-copy span { font-size: 16px; }
  .home-scroll-employees__note-icon { flex-basis: 72px; width: 72px; height: 72px; box-shadow: 0 0 0 7px rgba(153, 197, 235, .12), 0 10px 22px rgba(0, 31, 69, .28); }
  .home-scroll-employees__note-icon i { font-size: 30px; }
  .home-scroll-section__link { width: 100%; justify-content: space-between; }
}
