/* =========================================================
   ILAZ TRADE — base, buttons, header
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #0B1F33;
  --muted-blue: #4F7AA6;
  --gold: #C5A46D;
  --light-blue: #EAF3FB;
  --white: #FFFFFF;
  --graphite: #263238;

  /* Derived */
  --bg: #F6F9FC;
  --text-soft: #4A5A68;
  --line: #D6E2EE;
  --muted-blue-text: #46709B; /* muted blue, darkened just enough for small text (WCAG AA) */

  --font: "Outfit", "Heebo", "Helvetica Neue", Arial, sans-serif;
  --container: 1600px;
  --gutter: clamp(20px, 5.5vw, 88px);
  --header-h: 116px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  /* anchor links stop below the (compact) fixed header */
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  padding-top: var(--header-h); /* room for the fixed header */
  font-family: var(--font);
  color: var(--graphite);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--muted-blue); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--radius);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
/* Hover: lift + soft shadow. Press: settles back down. */
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .08s; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: #163454; box-shadow: 0 12px 24px -12px rgba(11, 31, 51, .55); }
.btn-primary:active { box-shadow: 0 4px 10px -6px rgba(11, 31, 51, .5); }
.btn-outline {
  background: rgba(255,255,255,.55);
  color: var(--navy);
  border: 1px solid var(--muted-blue);
  font-weight: 400;
}
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 12px 24px -12px rgba(11, 31, 51, .55); }
.btn-lg { height: 54px; padding: 0 38px; }
.btn-pill { height: 47px; padding: 0 30px; border-radius: 999px; font-size: 15px; }

.icon-arrow {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s;
}
.btn:hover .icon-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  transition: box-shadow .25s;
  /* white and slightly translucent, so it meets the white hero without a seam */
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: var(--header-h);
  transition: height .25s ease;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { width: clamp(180px, calc(34vw - 260px), 300px); height: auto; transition: width .25s ease; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, calc(4vw - 28px), 38px);
  margin-inline-start: auto;
  margin-inline-end: clamp(20px, 2.5vw, 40px);
}
.main-nav a {
  position: relative;
  white-space: nowrap;
  font-size: 15px;
  color: var(--graphite);
  padding: 8px 0;
  transition: color .2s;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.is-active { color: var(--navy); font-weight: 500; }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-inline-end: clamp(16px, 1.75vw, 28px);
  padding: 3px;
  border: 1px solid rgba(79, 122, 166, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
}
.lang-switch a {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--graphite);
  opacity: .7;
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 11px;
  cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] {
  background: var(--navy);
  color: var(--white);
  opacity: 1;
}

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ---- header ---- */
.brand-logo--night { display: none; }
.site-header { transition: background-color .3s ease, border-color .3s ease, box-shadow .25s; }

/* ---------- Laptop: tighten header so longer AZ labels fit ---------- */
@media (max-width: 1440px) {
  .btn-pill { padding: 0 22px; gap: 10px; }
  .main-nav { margin-inline-end: 14px; gap: clamp(12px, calc(3.4vw - 24px), 30px); }
  .main-nav a { font-size: 14.5px; }
  .lang-switch { margin-inline-end: 14px; }
}

/* ---------- Compact header (hamburger) ----------
   main.js adds .nav-compact when the full menu does not fit on one line
   (depends on language and label length) and always at ≤960px. */
.nav-compact .header-cta { display: none; }
.nav-compact .nav-toggle { display: flex; margin-inline-start: 0; }
.nav-compact .lang-switch { margin-inline-start: auto; margin-inline-end: 6px; }
/* one step before the hamburger: drop the button arrow and tighten spacing */
.nav-tight .header-cta { padding: 0 20px; }
.nav-tight .header-cta .icon-arrow { display: none; }
.nav-tight .main-nav { gap: clamp(12px, 1.4vw, 22px); margin-inline-end: 12px; }
.nav-tight .lang-switch { margin-inline-end: 12px; }

.nav-compact .main-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column; align-items: stretch; gap: 0;
  margin: 0;
  padding: 8px var(--gutter) 24px;
  background: var(--white);
  border-bottom: 1px solid #E6EDF4;
  box-shadow: 0 20px 40px -24px rgba(11,31,51,.25);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-compact .main-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid #EEF3F8; }
.nav-compact .main-nav a::after { display: none; }
.nav-compact .main-nav .nav-cta-mobile {
  display: inline-flex; margin-top: 18px; height: 52px;
  border-bottom: 0; color: var(--white);
}
.site-header.nav-compact.nav-open .main-nav { visibility: visible; opacity: 1; transform: none; }
.site-header.nav-compact.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-compact.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-compact.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  :root { --header-h: 76px; }

}

@media (max-width: 520px) {
  .header-inner { gap: 10px; }
  .brand-logo { width: 150px; }
}

/* =========================================================
   Hebrew (right-to-left)
   ========================================================= */
[dir="rtl"] .main-nav a,
[dir="rtl"] .btn { font-size: 16px; }

/* Arrows point the reading direction */
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .icon-arrow { transform: scaleX(-1) translateX(3px); }

.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 31, 51, .35); }
@media (min-width: 961px) {
  .site-header.is-scrolled .header-inner { height: 76px; }
  .site-header.is-scrolled .brand-logo { width: clamp(180px, calc(30vw - 200px), 270px); }
  .site-header.is-scrolled .btn-pill { height: 40px; }
}
.btn-pill { transition: background-color .2s, height .25s ease, transform .2s ease, box-shadow .2s ease; }

/* ---------- Skip link (visible only when focused with the keyboard) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- Language suggestion banner ---------- */
.lang-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content; /* left: 50% would otherwise shrink it to half the screen */
  max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px;
  border: 1px solid #DCE6F0;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 40px -20px rgba(11, 31, 51, .45);
  font-family: var(--font);
  font-size: 15px;
  color: var(--graphite);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .3s, transform .3s;
}
.lang-banner[dir="rtl"] { padding: 10px 18px 10px 10px; font-family: "Heebo", var(--font); }
.lang-banner.is-visible { opacity: 1; transform: translate(-50%, 0); }
.lang-banner-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  fill: none; stroke: var(--muted-blue); stroke-width: 1.5;
}
.lang-banner-action {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.lang-banner-action:hover { background: #163454; }
.lang-banner-close {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 0; border-radius: 50%;
  background: transparent; cursor: pointer;
}
.lang-banner-close:hover { background: var(--light-blue); }
.lang-banner-close svg { width: 18px; height: 18px; fill: none; stroke: var(--graphite); stroke-width: 1.8; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .lang-banner { transition: none; } }
/* desktop: sit in the corner so the hero's bridge stays visible */
@media (min-width: 961px) {
  .lang-banner { left: auto; right: 24px; transform: translateY(16px); }
  .lang-banner.is-visible { transform: none; }
  .lang-banner[dir="rtl"] { right: auto; left: 24px; }
}
/* phone: text on its own line, button and close below */
@media (max-width: 520px) {
  .lang-banner { flex-wrap: wrap; row-gap: 10px; }
  .lang-banner-text { flex: 1 1 calc(100% - 40px); min-width: 0; }
  .lang-banner-action { margin-inline-start: 36px; }
  .lang-banner-close { margin-inline-start: auto; }
}

/* =========================================================
   Content sections (after the hero)
   ========================================================= */
.sec-title {
  margin: 0;
  font-size: clamp(34px, 3.1vw, 50px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--navy);
}
.sec-title span { display: block; text-wrap: balance; }
.sec-title .tone { color: var(--muted-blue); }
[dir="rtl"] .sec-title { letter-spacing: 0; font-weight: 600; }
.sec-text { margin: 0; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; color: var(--text-soft); text-wrap: pretty; }

/* ---------- Call to action band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding-block: clamp(120px, 10vw, 160px) clamp(96px, 8vw, 130px);
  background: var(--navy);
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
}
[dir="rtl"] .cta-band { clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%); }
.cta-photo { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 56%; }
/* the hero's light beam, drawn in code so it stays soft on the dark band */
.cta-photo::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; inset-inline-start: 52%; width: 9%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.14), rgba(255,255,255,0));
  transform: skewX(-33deg); pointer-events: none;
}
[dir="rtl"] .cta-photo::after { transform: skewX(33deg); }
.cta-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .62;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 50%);
  mask-image: linear-gradient(to right, transparent 0%, #000 50%);
}
[dir="rtl"] .cta-photo img { transform: scaleX(-1); }
.cta-in { position: relative; z-index: 1; max-width: var(--container); }
.cta-in .sec-title { color: var(--white); max-width: 14em; }
.cta-in .sec-title .tone { color: #9DBBDD; }
.cta-in .sec-text { max-width: 30em; margin-top: 22px; color: rgba(255,255,255,.75); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--light-blue); box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); }

/* ---------- Footer ---------- */
.site-footer { background: #081726; color: rgba(255,255,255,.7); padding-block: 80px 34px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-brand img { width: 230px; height: auto; }
.ft-brand p { max-width: 22em; margin: 20px 0 0; font-size: 15px; line-height: 1.6; }
.ft-social { display: flex; gap: 10px; margin-top: 26px; }
.ft-social a, .ft-social-soon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: background-color .2s, border-color .2s; }
.ft-social-soon { opacity: .55; cursor: default; }
.ft-social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.ft-social svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ft-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.ft-col h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: #fff; }
.ft-col h3::before { content: ""; flex: none; width: 20px; height: 2px; background: var(--gold); }
.ft-col a { color: rgba(255,255,255,.72); transition: color .2s; }
.ft-col a:hover { color: #fff; }
[dir="rtl"] .ft-col span[dir="ltr"] { text-align: end; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; font-size: 14px; }
.ft-bottom p { margin: 0; }
.ft-langs { display: flex; gap: 6px; }
.ft-langs a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.75); font-size: 13.5px; }
.ft-langs a[aria-current="true"] { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Scrolling & reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.js-scroll { scroll-behavior: auto; }

/* a clear, quiet edge between header and hero: hairline + soft shadow */
.site-header {
  border-bottom: 1px solid rgba(79, 122, 166, .14);
  box-shadow: 0 10px 28px -22px rgba(11, 31, 51, .45);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(11, 31, 51, .4); }
/* Azerbaijani menu labels are longer: slightly tighter spacing so the header stays inside the grid */
@media (min-width: 961px) { [lang="az"] .main-nav { gap: clamp(12px, calc(3.4vw - 24px), 31px); } }
@media (min-width: 961px) and (max-width: 1440px) { [lang="az"] .main-nav { gap: clamp(10px, calc(3vw - 22px), 26px); } }
/* =========================================================
   REDESIGNED CONTENT SECTIONS
   About · Focus sectors · Who we work with · Partnership models
   · How we work · Contact
   One 12-column grid, one type scale, one line motif.
   (Let's Talk and footer are unchanged; hero and header background were redesigned.)
   ========================================================= */
:root {
  --cols: 12;
  --gap: clamp(24px, 2.2vw, 40px);
  --sec-y: clamp(104px, 8.3vw, 160px);

  --fs-display: clamp(40px, 3.55vw, 66px);
  --fs-h2: clamp(34px, 2.95vw, 54px);
  --fs-h3: clamp(22px, 1.62vw, 30px);
  --fs-lead: clamp(19px, 1.42vw, 25px);
  --fs-body: clamp(16px, 1.1vw, 18px);
  --fs-meta: clamp(14px, .98vw, 16px);

  --hair: #E1E9F2;           /* hairlines on light surfaces */
  --hair-strong: #CFDCE9;    /* panel borders */
  --on-navy: rgba(255,255,255,.74);
  --hair-navy: rgba(255,255,255,.16);
  --gold-text: #8A6A34;      /* gold dark enough for small text on white (4.9:1) */
  --ph: #66778A;             /* placeholder text (4.6:1 on white) */
  --r-panel: 8px;
  --r-img: 6px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Shared heading system ---------- */
.s-label {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 clamp(18px, 1.5vw, 24px);
  font-size: var(--fs-meta); font-weight: 500; line-height: 1.3;
  color: var(--muted-blue-text);
}
.s-label::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--gold); }
.s-label--light { color: #B9CDE3; }

.s-title, .s-display {
  margin: 0; font-weight: 500; color: var(--navy);
  letter-spacing: -.018em; text-wrap: balance;
}
.s-title { font-size: var(--fs-h2); line-height: 1.1; }
.s-display { font-size: var(--fs-display); line-height: 1.07; max-width: 17em; }
.s-title .tone, .s-display .tone { color: var(--muted-blue); }
.s-display .tone { display: block; }
[dir="rtl"] .s-title, [dir="rtl"] .s-display { letter-spacing: 0; font-weight: 600; line-height: 1.15; }

.s-text { margin: 0; max-width: 32em; font-size: var(--fs-body); line-height: 1.65; color: var(--text-soft); text-wrap: pretty; }

/* heading row: title on the left 7 columns, intro text bottom-aligned in the last 4 */
.s-head {
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(52px, 4.4vw, 84px);
}
.s-head > div:first-child { grid-column: 1 / span 7; }
.s-head > .s-text { grid-column: 9 / span 4; padding-bottom: .35em; }

/* =========================================================
   ABOUT — statement, mission/vision, and a fact strip that
   bridges into the navy sectors band
   ========================================================= */
.s-about {
  position: relative; z-index: 2;
  display: flow-root; /* lets the fact strip hang over the seam instead of collapsing its margin */
  padding-top: clamp(88px, 7vw, 136px);
  background: linear-gradient(180deg, #F8FAFD 0%, #FFFFFF 70%);
}
/* thin line icon in a white circle, the same circle as the hero strip's arrows */
.about-dot { color: var(--gold); }
.about-lead { grid-column: 1 / span 5; margin: 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--navy); text-wrap: pretty; }
.about-text { grid-column: 6 / span 4; margin: 0; padding-top: .3em; font-size: var(--fs-body); line-height: 1.7; color: var(--text-soft); text-wrap: pretty; }

/* fact strip: sits on the seam between About and the navy band */
:root { --facts-overlap: clamp(56px, 4.4vw, 76px); }

/* =========================================================
   FOCUS SECTORS — navy band, intro held in place while the
   sector index scrolls past
   ========================================================= */
.s-sectors {
  position: relative; overflow: clip; /* clip, not hidden: keeps the sticky intro working */
  background: var(--navy); color: var(--white);
  padding-block: calc(var(--sec-y) + var(--facts-overlap)) var(--sec-y);
}
.sectors-beam {
  position: absolute; top: -10%; bottom: -10%; inset-inline-start: 34%; width: 11%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.045), rgba(255,255,255,0));
  transform: skewX(-33deg); pointer-events: none;
}
[dir="rtl"] .sectors-beam { transform: skewX(33deg); }
.sectors-grid { position: relative; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); }
.sectors-intro { grid-column: 1 / span 4; grid-row: 1 / span 2; align-self: start; position: sticky; top: 124px; }
.s-sectors .s-title { color: var(--white); }
.s-sectors .s-text { margin-top: clamp(20px, 1.7vw, 28px); color: var(--on-navy); max-width: 24em; }

.sector-list { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-navy); }
.sector {
  position: relative;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: baseline;
  padding-block: clamp(26px, 2.2vw, 38px);
  border-bottom: 1px solid var(--hair-navy);
}
.sector::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease-out);
}
[dir="rtl"] .sector::after { transform-origin: right center; }
.sector h3 {
  grid-column: 1 / span 4; margin: 0;
  font-size: var(--fs-h3); font-weight: 400; line-height: 1.22; letter-spacing: -.01em;
  color: var(--white); text-wrap: balance;
  transition: color .3s, transform .45s var(--ease-out);
}
.sector h3 br { display: none; }
.sector p { grid-column: 5 / span 3; margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.68); text-wrap: pretty; }
.sector:hover::after { transform: scaleX(1); }
.sector:hover h3 { color: #E2CB9F; transform: translateX(6px); }
[dir="rtl"] .sector:hover h3 { transform: translateX(-6px); }
[dir="rtl"] .sector h3 { font-weight: 500; letter-spacing: 0; }

.sectors-note { grid-column: 6 / span 7; margin: clamp(26px, 2.2vw, 34px) 0 0; font-size: var(--fs-meta); line-height: 1.6; color: var(--on-navy); }

/* =========================================================
   WHO WE WORK WITH — the two sides of the trade, joined by
   a two-way axis
   ========================================================= */
.s-sides { background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFD 100%); padding-block: var(--sec-y) clamp(64px, 5vw, 96px); }
.sides { display: grid; grid-template-columns: minmax(0, 1fr) clamp(80px, 7.4vw, 136px) minmax(0, 1fr); align-items: start; }
.side-b { margin-top: clamp(32px, 3.2vw, 56px); }
.side-img { overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-img); background: var(--light-blue); }
.side-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transition: transform 1.1s var(--ease-out); }
.side:hover .side-img img { transform: scale(1.03); }
.side-body { position: relative; padding-top: clamp(26px, 2.2vw, 36px); margin-top: clamp(22px, 1.8vw, 30px); border-top: 1px solid var(--hair-strong); }
.side-body::before {
  content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 64px; height: 2px;
  background: var(--gold); transform-origin: left center;
}
[dir="rtl"] .side-body::before { transform-origin: right center; }
.side-k { margin: 0 0 12px; font-size: var(--fs-meta); font-weight: 500; color: var(--muted-blue-text); }
.side h3 { margin: 0 0 16px; max-width: 19em; font-size: var(--fs-h3); font-weight: 500; line-height: 1.22; letter-spacing: -.01em; color: var(--navy); text-wrap: balance; }
.side h3 .tone { color: var(--muted-blue); }
.side-body > .side-text { margin: 0; max-width: 31em; font-size: var(--fs-body); line-height: 1.65; color: var(--text-soft); text-wrap: pretty; }
[dir="rtl"] .side h3 { letter-spacing: 0; font-weight: 600; }

.sides-axis { display: flex; flex-direction: column; align-items: center; padding-top: clamp(60px, 5.2vw, 100px); }
.axis-line { width: 1px; height: clamp(48px, 4.2vw, 76px); background: linear-gradient(180deg, rgba(79,122,166,0), rgba(79,122,166,.45)); transform-origin: center bottom; }
.axis-line:last-child { background: linear-gradient(0deg, rgba(79,122,166,0), rgba(79,122,166,.45)); transform-origin: center top; }
.axis-node {
  display: grid; place-items: center; flex: none;
  width: 58px; height: 58px; margin-block: 10px;
  border: 1px solid var(--gold); border-radius: 50%;
  background: var(--white);
}
.axis-node svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   PARTNERSHIP MODELS — side-by-side comparison sheet
   ========================================================= */
.s-models { background: linear-gradient(180deg, #F7FAFD 0%, #EEF4FA 100%); padding-block: clamp(64px, 5vw, 96px) clamp(64px, 5vw, 96px); }
.compare {
  display: grid;
  grid-template-columns: minmax(150px, 2.1fr) minmax(0, 5fr) minmax(0, 5fr);
  grid-template-rows: repeat(5, auto);
  background: var(--white);
  border: 1px solid var(--hair-strong);
  border-radius: var(--r-panel);
  box-shadow: 0 40px 80px -60px rgba(11, 31, 51, .45);
  overflow: hidden;
}
.compare-keys {
  grid-column: 1; grid-row: 1 / span 5;
  display: grid; grid-template-rows: subgrid;
  background: #F8FBFE;
}
.compare-keys span { padding: clamp(24px, 1.9vw, 30px) clamp(22px, 2vw, 34px); font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--muted-blue-text); }
.compare-keys span + span { border-top: 1px solid var(--hair); }
.model {
  position: relative;
  grid-row: 1 / span 5;
  display: grid; grid-template-rows: subgrid;
  border-inline-start: 1px solid var(--hair);
  transition: background-color .35s ease;
}
.model:hover { background: #FBFDFF; }
.model-head { position: relative; padding: clamp(32px, 2.6vw, 44px) clamp(28px, 2.8vw, 48px) clamp(28px, 2.3vw, 38px); }
.model-rule {
  position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: var(--gold); transform-origin: left center;
}
[dir="rtl"] .model-rule { transform-origin: right center; }
/* the model's name is the card's heading (h3); the line under it is supporting text */
.model-name {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 0; font-size: var(--fs-h3); font-weight: 500; line-height: 1.22; letter-spacing: -.01em; color: var(--navy);
}
.model-name::before { content: ""; flex: none; width: 22px; height: 2px; margin-top: .6em; background: var(--gold); }   /* on the first line when the name wraps */
[dir="rtl"] .model-name { letter-spacing: 0; font-weight: 600; }
.model-sub { margin: 12px 0 0; max-width: 26em; font-size: clamp(15.5px, 1.1vw, 18px); font-weight: 400; line-height: 1.5; color: var(--muted-blue-text); text-wrap: balance; }
/* row labels inside each cell: read by screen readers on every screen; shown on mobile, where the left column is gone */
.model-key { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.model-cell { padding: clamp(24px, 1.9vw, 30px) clamp(28px, 2.8vw, 48px); border-top: 1px solid var(--hair); }
.model-cell p { margin: 0; max-width: 33em; font-size: clamp(15.5px, 1.05vw, 17px); line-height: 1.7; color: var(--text-soft); text-wrap: pretty; }
.model-eng p { font-weight: 500; line-height: 1.5; color: var(--navy); }
.model-cta { padding: clamp(24px, 2vw, 32px) clamp(28px, 2.8vw, 48px) clamp(30px, 2.6vw, 44px); border-top: 1px solid var(--hair); }
.model-link { height: 50px; padding: 0 26px; gap: 14px; font-size: 15.5px; background: transparent; }
.model-link:focus-visible { outline: 2px solid var(--muted-blue); outline-offset: 3px; }

/* =========================================================
   HOW WE WORK — a single line drawn through four steps
   ========================================================= */
.s-process { background: linear-gradient(180deg, #EEF4FA 0%, #F6F9FC 100%); padding-block: clamp(72px, 5.6vw, 104px) var(--sec-y); }
.s-head--process { margin-bottom: clamp(48px, 4vw, 72px); padding-top: clamp(56px, 4.6vw, 84px); border-top: 1px solid var(--hair-strong); }
.s-head--process > .s-text { color: var(--muted-blue-text); }

.timeline-wrap { position: relative; }
.tl-track { position: absolute; top: 6.5px; inset-inline: 0; height: 2px; background: var(--hair-strong); }
.tl-fill { position: absolute; inset: 0; background: var(--gold); transform-origin: left center; }
[dir="rtl"] .tl-fill { transform-origin: right center; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.tl-step { position: relative; padding-top: clamp(38px, 3vw, 48px); padding-inline-end: clamp(8px, 1.4vw, 28px); }
.tl-node {
  position: absolute; top: 0; inset-inline-start: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--gold); border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 6px #F2F7FC;
  transition: background-color .45s ease, border-color .45s ease;
}
.tl-num { margin: 0 0 16px; font-size: var(--fs-meta); font-weight: 500; color: var(--muted-blue-text); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.tl-step h3 { margin: 0 0 12px; font-size: clamp(20px, 1.42vw, 25px); font-weight: 500; line-height: 1.25; color: var(--navy); text-wrap: balance; }
.tl-step p:last-child { margin: 0; max-width: 21em; font-size: clamp(15.5px, 1.05vw, 17px); line-height: 1.65; color: var(--text-soft); text-wrap: pretty; }
[dir="rtl"] .tl-step h3 { font-weight: 600; }

/* =========================================================
   CONTACT — details held on the left, the form as the main surface
   ========================================================= */
.s-contact { background: #F6F9FC; padding-block: var(--sec-y); }
.contact-layout { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.contact-aside { grid-column: 1 / span 4; position: sticky; top: 116px; }
.contact-aside .s-text { margin-top: clamp(18px, 1.6vw, 26px); max-width: 26em; }

.channels { margin-top: clamp(36px, 3.2vw, 52px); border-top: 1px solid var(--hair-strong); }
.channel { padding-block: clamp(22px, 1.9vw, 30px); }
.channel-k { margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--muted-blue-text); }
.channel-mail {
  display: inline-block;
  font-size: clamp(21px, 1.62vw, 28px); font-weight: 500; letter-spacing: -.01em; color: var(--navy);
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 4px;
  transition: background-size .4s var(--ease-out);
}
[dir="rtl"] .channel-mail { background-position: 100% 100%; }
.channel-mail:hover { background-size: 100% 1.5px; }
.channel-text { margin: 12px 0 0; max-width: 26em; font-size: 15.5px; line-height: 1.6; color: var(--text-soft); }
.channel-wa {
  display: flex; align-items: center; gap: 16px;
  padding-block: 18px; border-block: 1px solid var(--hair-strong);
  font-weight: 500; color: var(--navy);
}
.channel-wa > span:nth-child(2) { flex: 1; }
.channel-wa .wa-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); transition: background-color .25s; }
.channel-wa .wa-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linejoin: round; }
.channel-wa .icon-arrow { stroke: var(--muted-blue); }
.channel-wa:hover .wa-icon { background: var(--muted-blue); }
.channel-wa:hover .icon-arrow { transform: translateX(4px); }
[dir="rtl"] .channel-wa .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .channel-wa:hover .icon-arrow { transform: scaleX(-1) translateX(4px); }
.channel-note { margin: 20px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--text-soft); }

.contact-form {
  grid-column: 6 / span 7;
  padding: clamp(32px, 3.3vw, 60px);
  background: var(--white);
  border: 1px solid var(--hair-strong);
  border-radius: var(--r-panel);
  box-shadow: 0 40px 80px -64px rgba(11, 31, 51, .5);
}
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.field { display: block; margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { display: block; margin-bottom: 9px; font-size: 14.5px; font-weight: 500; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid #8296AC; border-radius: 6px; background: var(--white);
  font: inherit; font-size: 16px; color: var(--graphite);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.field textarea::placeholder { color: var(--ph); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--muted-blue); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--muted-blue); box-shadow: 0 0 0 3px rgba(79,122,166,.2); }
.field .req { color: var(--gold-text); font-weight: 500; }
.field .opt { font-weight: 400; color: var(--ph); }
.field > span.select-wrap { position: relative; display: block; margin: 0; font-size: inherit; font-weight: 400; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; top: 50%; inset-inline-end: 18px; width: 8px; height: 8px; margin-top: -6px; border-right: 1.6px solid var(--navy); border-bottom: 1.6px solid var(--navy); transform: rotate(45deg); pointer-events: none; }
.roles { display: flex; flex-wrap: wrap; gap: 10px; }
.roles legend { width: 100%; padding: 0; }
.roles label { position: relative; cursor: pointer; }
.roles input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.roles label span { display: inline-block; padding: 11px 18px; border: 1px solid #8296AC; border-radius: 6px; font-size: 14.5px; color: var(--navy); transition: background-color .2s, color .2s, border-color .2s; }
.roles label:hover span { border-color: var(--muted-blue); }
.roles input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.roles input:focus-visible + span { outline: 2px solid var(--muted-blue); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 8px; padding-top: 26px; border-top: 1px solid var(--hair); }
.consent { display: flex; align-items: flex-start; gap: 10px; flex: 1 1 260px; max-width: 28em; font-size: 13.5px; line-height: 1.55; color: var(--text-soft); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); }
.consent a { color: var(--muted-blue-text); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--navy); }
.form-status { margin: 16px 0 0; font-size: 14.5px; color: var(--muted-blue-text); }
.form-status:empty { display: none; }

/* ---------- Smaller screens (basic stacking; desktop is the focus) ---------- */
@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .tl-track { display: none; }
}
@media (max-width: 960px) {
  .ft-top { grid-template-columns: 1fr; }
  .cta-photo { width: 100%; }
  .s-head > div:first-child, .s-head > .s-text, .about-lead, .about-text, .sectors-intro, .sector-list, .sectors-note, .contact-aside, .contact-form { grid-column: 1 / -1; }
  .s-head > .s-text { margin-top: 18px; }
  .about-text { margin-top: 18px; }
  /* stacked: label, statement, mission / vision, then the values */
  .sectors-intro, .contact-aside { position: static; margin-bottom: 40px; }
  .sector h3, .sector p { grid-column: 1 / -1; }
  .sector p { margin-top: 10px; }
  .sides { grid-template-columns: 1fr; row-gap: 40px; }
  .sides-axis { display: none; }
  .side-b { margin-top: 0; }
  .compare { grid-template-columns: 1fr; grid-template-rows: none; }
  .compare-keys { display: none; }
  .model { grid-row: auto; display: block; border-inline-start: 0; border-top: 1px solid var(--hair); }
  .model-key { position: static; width: auto; height: auto; margin: 0 0 6px; overflow: visible; clip: auto; white-space: normal;
    display: block; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--muted-blue-text); }
}
@media (max-width: 620px) {
  .f-row, .timeline { grid-template-columns: 1fr; }
}

/* =========================================================
   Scroll reveal (desktop ≥961px). main.js adds html.rv-on and
   marks elements; .rv-in is removed again once an element has
   fully left the screen, so the reveal replays on every pass.
   Only opacity and transform — no blur, filter or scale.
   ========================================================= */
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  /* original reveal (still used by the Let's Talk band) */
  .rv-on .rv { opacity: 0; transform: translate3d(0, 48px, 0); transition: none; }
  .rv-on .rv.rv-in {
    opacity: 1; transform: translate3d(0, 0, 0);
    transition: opacity .95s var(--ease-out), transform .95s var(--ease-out);
    transition-delay: var(--rv-delay, 0ms);
  }
  /* calmer variant for the content sections */
  .rv-on .rv.rv-sm { transform: translate3d(0, 26px, 0); }
  .rv-on .rv.rv-sm.rv-in { transform: translate3d(0, 0, 0); transition-duration: .85s; }

  /* keep hover feedback on elements that also reveal */
  .rv-on .sector.rv.rv-in { transition-property: opacity, transform; }

  /* drawn lines */
  .rv-on .side-body::before,
  .rv-on .model-rule,
  .rv-on .tl-fill { transform: scaleX(0); transition: none; }
  .rv-on .side-body.rv-in::before,
  .rv-on .model.rv-in .model-rule {
    transform: scaleX(1);
    transition: transform 1.1s cubic-bezier(.65, 0, .35, 1);
    transition-delay: calc(var(--rv-delay, 0ms) + 150ms);
  }
  .rv-on .timeline-wrap.rv-in .tl-fill { transform: scaleX(1); transition: transform 1.9s cubic-bezier(.65, 0, .35, 1) .1s; }
  .rv-on .tl-node { background: #F2F7FC; border-color: var(--muted-blue); }
  .rv-on .timeline-wrap.rv-in .tl-node { background: var(--gold); border-color: var(--gold); transition-delay: var(--node-delay, 0ms); }

  .rv-on .axis-line { transform: scaleY(0); transition: none; }
  .rv-on .sides-axis.rv-in .axis-line { transform: scaleY(1); transition: transform .9s var(--ease-out) .25s; }
  .rv-on .axis-node { opacity: 0; transform: rotate(-90deg); transition: none; }
  .rv-on .sides-axis.rv-in .axis-node { opacity: 1; transform: none; transition: opacity .6s ease .5s, transform 1s var(--ease-out) .5s; }
}

/* Mobile & tablet (≤960px): a simple one-time fade-up */
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .js-reveal .rv-m { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
  .js-reveal .rv-m.is-in { opacity: 1; transform: none; }
}

/* compact (hamburger) header above 960px: same 76px height as on tablets,
   so small laptops don't lose vertical space to a tall header with only a few controls */
@media (min-width: 961px) {
  :root:has(.site-header.nav-compact) { --header-h: 76px; }
}

/* ---- footer skyline: the page ends where it began ----
   Tel Aviv, Baku and the TV tower as thin white lines at very low opacity, standing on the footer's divider line,
   across the full width behind the footer columns. Never mirrored in Hebrew. */
.site-footer { position: relative; overflow: hidden; }
.ft-top { position: relative; }

/* =========================================================
   HERO — corporate (.hx)
   One quiet light surface in the brand's own tones. Start side: headline (navy, second line muted blue, as every
   section title on the page), the subtitle and one action. End side: a regional map plate (images/hero-region.svg)
   with Israel and Azerbaijan in muted blue and the gold route Tel Aviv – Baku, which draws itself once on load.
   Bottom band: "Who we work with" and the two audiences as entry points, on the page's 12-column grid.
   Hebrew: the layout mirrors, the map does not (geography); it moves to the left.
   ========================================================= */
.hx { position: relative; background: var(--bg); overflow: hidden; isolation: isolate; }
.hx-stage { position: relative; min-height: clamp(470px, calc(100svh - var(--header-h) - 150px), 760px); display: flex; align-items: center; }

/* map */
.hx-map {
  position: absolute; z-index: 0; top: 0; bottom: 0; inset-inline-end: 0;
  width: 64%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16%), linear-gradient(to bottom, transparent 0, #000 7%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 16%), linear-gradient(to bottom, transparent 0, #000 7%, #000 94%, transparent 100%);
  mask-composite: intersect;
}
[dir="rtl"] .hx-map {
  width: 56%;   /* the start side is on the right here: Baku's label must stay clear of the headline */
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 16%), linear-gradient(to bottom, transparent 0, #000 7%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to left, transparent 0%, #000 16%), linear-gradient(to bottom, transparent 0, #000 7%, #000 94%, transparent 100%);
}
.hx-map svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rm-grat { fill: none; stroke: #D7E2EE; stroke-width: .8; }
.rm-sea { fill: #E8EFF7; }
.rm-land { fill: #FFFFFF; }
.rm-border { fill: none; stroke: #D5E0EB; stroke-width: .6; stroke-linejoin: round; }
.rm-il, .rm-az { fill: var(--muted-blue); stroke: #3F6893; stroke-width: .8; }
.hx-route { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .5 0 .5; }
.hx-shine { fill: none; stroke: #F3DCAE; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: .5 0 .5; opacity: .35;
  filter: drop-shadow(0 0 1.5px #E8C483) drop-shadow(0 0 3.5px rgba(214, 170, 92, .7)); pointer-events: none; }
.hx-arrow { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hx-pin .ring { fill: #fff; stroke: var(--gold); stroke-width: 2.4; }
.hx-pin .dot { fill: var(--navy); }
.hx-place .city { font-size: 20px; font-weight: 500; fill: var(--navy); }
.hx-place .country { font-size: 14px; font-weight: 400; fill: var(--muted-blue-text); letter-spacing: .02em; }
/* the map is never mirrored: its labels are placed left-to-right in every language */
[dir="rtl"] .hx-map svg { direction: ltr; }

/* copy */
.hx-in { position: relative; z-index: 1; width: 100%; }
.hx-copy { max-width: min(47%, 690px); padding-block: clamp(48px, 6vh, 88px); }
.hx-title {
  margin: 0; color: var(--navy); font-weight: 500;
  font-size: clamp(42px, 4.4vw, 80px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance;
}
.hx-title span { display: block; }
.hx-title .tone { color: var(--muted-blue); }
[dir="rtl"] .hx-title { letter-spacing: 0; font-weight: 600; line-height: 1.12; }
.hx-sub {
  margin: clamp(22px, 2vw, 32px) 0 0; max-width: 31em;
  font-size: clamp(17px, 1.3vw, 21px); line-height: 1.6; color: var(--text-soft); text-wrap: pretty;
}
.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; margin-top: clamp(30px, 2.8vw, 46px); }
.hx-actions .btn { border-radius: 6px; }
/* Secondary action: plain text with a gold arrow, beside the filled button (on phones it becomes an outlined
   button — see the rule for 520px and below) */
.hx-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding-block: 6px;
  font-size: 16px; font-weight: 500; color: var(--navy);
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 8px) / 100% 1.5px no-repeat;
  transition: background-size .3s var(--ease-out), color .2s;
}
[dir="rtl"] .hx-link { background-position: 100% calc(100% - 8px); }
.hx-link .icon-arrow { stroke: var(--gold); transition: transform .2s; }
.hx-link:hover { color: var(--muted-blue-text); background-size: 40% 1.5px; }
.hx-link:hover .icon-arrow { transform: translateX(4px); }
[dir="rtl"] .hx-link .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .hx-link:hover .icon-arrow { transform: scaleX(-1) translateX(4px); }

/* audiences band */
.hx-paths { position: relative; z-index: 1; border-top: 1px solid var(--hair-strong); background: rgba(255,255,255,.55); }
.hx-paths-in { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.hx-paths-in > .s-label { grid-column: 1 / span 3; margin: 0; }
.hx-path-list { grid-column: 4 / span 9; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap); }
/* on the page's columns, like About right below: the dividers sit where About's divider sits (one gap before
   column 4 and before column 9) and the texts start on column 4 and column 9, with the heading and the
   second paragraph of About */
.hx-path:first-child { grid-column: 1 / span 5; padding-inline-end: var(--gap); }
.hx-path:last-child { grid-column: 6 / span 4; }
.hx-path {
  display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: center;
  padding-block: clamp(24px, 2.2vw, 34px); padding-inline: var(--gap) 0;
  margin-inline-start: calc(-1 * var(--gap));
  border-inline-start: 1px solid var(--hair-strong);
  transition: background-color .25s;
}
.hx-path-k { grid-column: 1; font-size: clamp(17px, 1.2vw, 20px); font-weight: 500; color: var(--navy); }
.hx-path-d { grid-column: 1; margin-top: 4px; font-size: 15px; color: var(--text-soft); }
.hx-path-arrow {
  grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; padding: 11px; border-radius: 50%;
  border: 1px solid var(--hair-strong); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .25s, border-color .25s, stroke .25s, transform .25s var(--ease-out);
}
[dir="rtl"] .hx-path-arrow { transform: scaleX(-1); }
.hx-path:hover { background: #fff; }
.hx-path:hover .hx-path-arrow { background: var(--navy); border-color: var(--navy); stroke: #fff; }
.hx-path:focus-visible { outline-offset: -2px; }

/* one entrance: the route draws from Tel Aviv to Baku, then Baku's marker and label appear */
@media (prefers-reduced-motion: no-preference) {
  /* both cities are there from the start; the route grows from both ends, glowing along its whole drawn length;
     the halves meet, the arrows appear, the glow settles to a third. Nothing moves afterwards. */
  .js .hx-route { animation: hx-draw 1.5s cubic-bezier(.45,0,.2,1) .35s both; }
  .js .hx-arrow { animation: hx-fade .5s ease 1.75s both; }
  .js .hx-shine { animation: hx-draw 1.5s cubic-bezier(.45,0,.2,1) .35s both, hx-shine-settle .9s ease 1.85s both; }
  .intro-seen .hx-route { animation-duration: .6s; animation-delay: 0s; }
  .intro-seen .hx-arrow { animation-delay: .5s; }
  .intro-seen .hx-shine { animation-duration: .6s, .6s; animation-delay: 0s, .6s; }
}
@keyframes hx-draw { from { stroke-dasharray: 0 1 0; } to { stroke-dasharray: .5 0 .5; } }
/* the glow is a copy of the route drawn with the same timing; full while drawing, it settles to a faint glow */
@keyframes hx-shine-settle { from { opacity: 1; } to { opacity: .35; } }
@keyframes hx-fade { from { opacity: 0; } to { opacity: 1; } }

/* short desktop screens draw the map smaller ("meet"): its labels grow so they still read at ~13–15px */
@media (min-width: 901px) and (max-height: 820px) {
  .hx-place .city { font-size: 25px; }
  .hx-place .country { font-size: 19px; translate: 0 4px; }
}
/* small desktop */
@media (max-width: 1180px) {
  .hx-copy { max-width: 52%; }
}
/* tablet & phone: copy, then the map, then the audiences */
@media (max-width: 900px) {
  .hx-stage { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  /* a clear gap before the map starts, so the secondary link does not read as a label on it */
  .hx-copy { max-width: 640px; padding-block: clamp(40px, 8vw, 64px) clamp(16px, 2.6vw, 26px); }
  .hx-map, [dir="rtl"] .hx-map { position: relative; order: 2; width: 100%; aspect-ratio: 1000 / 700; inset: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 93%, transparent 100%); }
  .hx-map svg { height: 100%; }
  .hx-paths-in > .s-label { display: none; }
  .hx-path-list { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .hx-path:first-child, .hx-path:last-child { grid-column: auto; padding-inline-end: 0; }
  .hx-path { padding-inline: 0; border-inline-start: 0; margin-inline-start: 0; }
  .hx-path + .hx-path { border-top: 1px solid var(--hair); }
  .hx-path:hover { background: transparent; }
  /* the plate is drawn smaller here: labels grow to stay readable */
  .hx-place .city { font-size: 30px; }
  .hx-place .country { font-size: 22px; translate: 0 8px; }
}
@media (max-width: 560px) {
  .hx-place .city { font-size: 38px; }
  .hx-place .country { font-size: 28px; translate: 0 18px; }
  .hx-pin .ring { r: 13px; stroke-width: 3.4; }
  .hx-pin .dot { r: 5px; }
  .hx-arrow { stroke-width: 3.4; }
  .hx-route { stroke-width: 3.6; }
  .hx-shine { stroke-width: 2.4; }
}
@media (max-width: 520px) {
  .hx-title { font-size: clamp(34px, 9.6vw, 44px); }
  /* Phones: the two actions stack as full-width buttons. (As a plain link under a full-width button, the second
     one read as a caption for the map that follows instead of as an action.) */
  .hx-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hx-actions .btn { width: 100%; }
  /* phones: an outlined button instead, so the gold rule is dropped here */
  .hx-link {
    min-height: 54px; padding: 12px 20px;
    border: 1px solid var(--muted-blue); border-radius: 6px;
    background: rgba(255, 255, 255, .55);
  }
  .hx-link:hover, .hx-link:active { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .hx-copy { padding-bottom: clamp(34px, 9vw, 52px); }
}

/* Audience cards as anchor targets (hero strip → #manufacturers-suppliers / #importers-distributors) */
.side { scroll-margin-top: 24px; border-radius: var(--r-img); }
.side:focus { outline: none; }
.side:focus-visible { outline: 2px solid var(--muted-blue); outline-offset: 12px; }
.side.is-flash { animation: side-flash 2.2s ease both; }
@keyframes side-flash {
  0%, 55% { outline: 1px solid rgba(197,164,109,.9); outline-offset: 14px; }
  100%    { outline: 1px solid rgba(197,164,109,0); outline-offset: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .side.is-flash { animation: none; outline: 1px solid var(--gold); outline-offset: 14px; }
}

/* =========================================================
   HERO → ABOUT hand-off (desktop, scroll-driven, no JavaScript)
   As the hero leaves the screen, the map recedes (≈3% smaller, paler) and the copy drifts up and fades,
   making room for About, whose own reveal then brings its content in. Tied to the scroll position: it stops
   when the visitor stops and plays backwards on the way up. Browsers without scroll-driven animations,
   phones/tablets and "reduce motion" keep the static hero.
   ========================================================= */
@supports (animation-timeline: view()) {
  @media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
    .hx { view-timeline: --hx-out block; }
    .hx-map, .hx-copy {
      animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: --hx-out; animation-range: exit 5% exit 80%;
    }
    .hx-map { animation-name: hx-map-out; transform-origin: 70% 50%; }
    [dir="rtl"] .hx-map { transform-origin: 30% 50%; }
    .hx-copy { animation-name: hx-copy-out; }
  }
}
@keyframes hx-map-out { to { scale: .97; opacity: .55; } }
@keyframes hx-copy-out { to { translate: 0 -40px; opacity: .45; } }

/* =========================================================
   ABOUT — heading held on the start side, content flowing on the end side
   Start (cols 1–5): label + heading, sticky under the header while the visitor reads. End (cols 7–12): the
   introduction, then mission / vision, then the three values with icons; each block opens on a hairline with
   the brand's gold segment. No fact strip: everything it said is already in the hero and the introduction.
   ≤960px: one column, nothing sticky.
   ========================================================= */
.s-about { padding-bottom: clamp(96px, 8vw, 150px); }
.af { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.af-head { grid-column: 1 / span 5; position: sticky; top: calc(76px + clamp(28px, 3vw, 48px)); }
.af-title { margin-top: clamp(22px, 2vw, 32px); }
.af-flow { grid-column: 7 / span 6; padding-top: clamp(46px, 4vw, 70px); }
.af-intro .about-lead { margin: 0; font-size: clamp(20px, 1.5vw, 25px); }
.af-intro .about-text { margin: 20px 0 0; }
.af-block { position: relative; margin-top: clamp(56px, 5vw, 88px); padding-top: clamp(28px, 2.4vw, 40px); border-top: 1px solid var(--hair-strong); }
.af-block::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 64px; height: 2px; background: var(--gold); }
.af-purpose { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.af-purpose p { margin: 0; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.5; color: var(--text); }
.af-k { margin: 0 0 12px; font-size: var(--fs-meta); font-weight: 500; color: var(--muted-blue-text); }
.af-values ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.af-val { padding-top: 6px; }
.af-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 1px solid var(--hair-strong); }
.af-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--muted-blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.af-val-t { margin: 16px 0 0; font-size: clamp(17px, 1.2vw, 20px); font-weight: 500; color: var(--navy); line-height: 1.25; }
.af-val-d { margin: 5px 0 0; font-size: 15px; color: var(--text-soft); line-height: 1.45; }
.about-dot { color: var(--gold); }
[dir="rtl"] .af-val-t { font-weight: 600; }
@media (max-width: 960px) {
  .af-head, .af-flow { grid-column: 1 / -1; position: static; }
  .af-flow { padding-top: 28px; }
}
@media (max-width: 620px) {
  .af-purpose { grid-template-columns: 1fr; row-gap: 28px; }
  .af-values ul { grid-template-columns: 1fr; }
  .af-val { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding-block: 16px; }
  .af-val + .af-val { border-top: 1px solid var(--hair); }
  .af-ico { grid-row: 1 / span 2; }
  .af-val-t { margin-top: 2px; }
  .af-val-d { grid-column: 2; }
}

/* hero strip on About's split: two halves, the second divider where About's content column starts */
.hx-paths-in .hx-path-list { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.hx-paths-in .hx-path:first-child { grid-column: 1 / span 6; margin-inline-start: 0; padding-inline-start: 0; border-inline-start: 0; }
.hx-paths-in .hx-path:last-child { grid-column: 7 / span 6; }
@media (max-width: 900px) {
  .hx-paths-in .hx-path-list { grid-template-columns: 1fr; }
  .hx-paths-in .hx-path:first-child, .hx-paths-in .hx-path:last-child { grid-column: auto; }
}

/* =========================================================
   HERO → ABOUT: the audience links as one card on the seam (≥901px)
   The two links sit in a single white card whose upper half is in the hero and lower half in About, so the
   two sections read as one movement. The card is one padding wider than the container on each side, which keeps
   its texts on the heading's and the content column's start lines. About's background starts in the hero's tone,
   so there is no visible seam. Phones/tablets keep the stacked links.
   ========================================================= */
@media (min-width: 901px) {
  .hx { overflow: visible; z-index: 3; }
  .hx-stage { overflow: clip; }
  .hx-paths { border-top: 0; background: transparent; margin-bottom: -56px; }
  .hx-paths-in .hx-path-list {
    --pad: clamp(24px, 2.4vw, 38px);
    margin-inline: calc(-1 * var(--pad));
    background: var(--white); border: 1px solid var(--hair-strong); border-radius: var(--r-panel);
    box-shadow: 0 34px 70px -48px rgba(11, 31, 51, .42); overflow: hidden;
  }
  .hx-paths-in .hx-path { padding-block: clamp(24px, 2vw, 32px); }
  .hx-paths-in .hx-path:first-child { padding-inline: var(--pad) var(--gap); }
  .hx-paths-in .hx-path:last-child { padding-inline-end: var(--pad); border-inline-start-color: var(--hair); }
  .hx-path:hover { background: #F6F9FC; }
  .s-about { padding-top: calc(56px + clamp(64px, 5.4vw, 104px)); background: linear-gradient(180deg, var(--bg) 0%, #FFFFFF 70%); }
}

/* Header at the very top of the home page: in the hero's tone, no edge or shadow, so header and hero read as one
   scene; once the page scrolls (.is-scrolled) or the mobile menu opens, it returns to white with its shadow. */
body:has(.hx) .site-header:not(.is-scrolled):not(.nav-open) {
  background: rgba(246, 249, 252, .9); border-bottom-color: transparent; box-shadow: none;
}

/* ---------- Contact form: sending, result, spam trap ---------- */
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-form { position: relative; }
.contact-form[aria-busy="true"] button[type="submit"] { cursor: progress; }
.contact-form button[type="submit"]:disabled { opacity: .75; }
.contact-form button[type="submit"]:disabled .icon-arrow { animation: send-nudge 1s ease-in-out infinite; }
@keyframes send-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .contact-form button[type="submit"]:disabled .icon-arrow { animation: none; } }
.form-status { line-height: 1.5; }
.form-status.is-error { color: #B42318; }
.contact-form [aria-invalid="true"] { border-color: #D92D20 !important; box-shadow: 0 0 0 3px rgba(217, 45, 32, .12); }
.contact-form .consent.is-invalid span { color: #B42318; }

/* =========================================================
   Contact — confirmation dialog (native <dialog>, opened after the server confirms the e-mail was sent)
   White panel on a translucent navy backdrop; small checkmark that draws itself; one navy button + close icon.
   Short fade with a gentle rise; with "reduce motion" it simply appears.
   ========================================================= */
html.modal-open { overflow: hidden; scrollbar-gutter: stable; }
.sent-modal {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: clamp(32px, 4vw, 44px) clamp(24px, 3.4vw, 40px) clamp(28px, 3.4vw, 36px);
  border: 1px solid var(--hair-strong); border-radius: 18px; background: var(--white); color: var(--navy);
  box-shadow: 0 40px 90px -40px rgba(11, 31, 51, .55), 0 2px 6px rgba(11, 31, 51, .05);
  text-align: center; overflow: auto;
}
.sent-modal::backdrop { background: rgba(11, 31, 51, .46); }
.sent-close {
  position: absolute; top: 14px; inset-inline-end: 14px; display: grid; place-items: center;
  width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--muted-blue-text); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.sent-close:hover { background: #F1F5FA; color: var(--navy); }
.sent-close:focus-visible { outline: 2px solid var(--muted-blue); outline-offset: 2px; }
.sent-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sent-check { width: 60px; height: 60px; margin: 4px auto 22px; }
.sent-check svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sent-check-ring { stroke: var(--gold); stroke-width: 1.6; fill: #FBF7EF; }
.sent-check-mark { stroke: var(--navy); stroke-width: 2.6; }
.sent-title { margin: 0; font-size: clamp(21px, 1.7vw, 24px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--navy); text-wrap: balance; }
.sent-text { margin: 10px auto 0; max-width: 30em; font-size: 16px; line-height: 1.6; color: var(--text-soft); text-wrap: pretty; }
.sent-done { margin-top: 28px; min-width: 160px; border-radius: 6px; }
[dir="rtl"] .sent-title { letter-spacing: 0; font-weight: 600; }
@media (max-width: 520px) {
  .sent-modal { border-radius: 16px; }
  .sent-done { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .sent-modal[open] { animation: sent-in .34s cubic-bezier(.2, .7, .2, 1) both; }
  .sent-modal[open]::backdrop { animation: sent-fade .3s ease both; }
  .sent-modal.is-closing { animation: sent-out .2s ease both; }
  .sent-modal.is-closing::backdrop { animation: sent-fade .2s ease reverse both; }
  .sent-check-ring { stroke-dasharray: 151; stroke-dashoffset: 151; animation: sent-draw .55s cubic-bezier(.45, 0, .2, 1) .18s forwards; }
  .sent-check-mark { stroke-dasharray: 34; stroke-dashoffset: 34; animation: sent-draw .38s cubic-bezier(.45, 0, .2, 1) .6s forwards; }
}
@keyframes sent-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sent-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px); } }
@keyframes sent-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sent-draw { to { stroke-dashoffset: 0; } }

/* Who We Serve: one discreet next step per card (same outline button as the partnership models) */
.side-cta { margin-top: clamp(22px, 1.8vw, 30px); }
.side-cta:focus-visible { outline: 2px solid var(--muted-blue); outline-offset: 3px; }

/* Narrow phones: long button labels (e.g. Azerbaijani) wrap onto two lines inside the button instead of widening the
   page; single-line buttons keep their usual height. The partnership-model select shortens its shown value with an
   ellipsis (the open list always shows the full option text). */
@media (max-width: 480px) {
  .btn { white-space: normal; line-height: 1.3; text-align: center; }
  .btn-lg { height: auto; min-height: 54px; padding-block: 14px; }
  .model-link { height: auto; min-height: 50px; padding-block: 12px; }
  .field select { padding-inline-end: 38px; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
}
/* Very narrow phones (≤360px): logo, language switch and menu button share the bar without pushing the menu
   button off-screen. */
@media (max-width: 360px) {
  .site-header .header-inner { padding-inline: 14px; gap: 8px; }
  .brand-logo, .site-header.is-scrolled .brand-logo { width: 118px; }
  .lang-switch { margin-inline-end: 2px; }
  .lang-switch a { padding: 6px 8px; letter-spacing: .03em; }
}

/* =========================================================
   Review fixes (November 2026)
   ========================================================= */

/* ---------- Small menu: page behind it is dimmed and does not scroll (main.js adds html.nav-lock) ---------- */
html.nav-lock { overflow: hidden; scrollbar-gutter: stable; }
.site-header.nav-compact::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 100vh; z-index: -1;
  background: rgba(11, 31, 51, .38);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.site-header.nav-compact.nav-open::after { opacity: 1; visibility: visible; }
/* on a low screen (phone held sideways) the menu scrolls inside itself */
.nav-compact .main-nav {
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
  overflow-y: auto; overscroll-behavior: contain;
}
@media (prefers-reduced-motion: reduce) { .site-header.nav-compact::after { transition: none; } }

/* ---------- Contact form: a short message under each field that needs attention ---------- */
.field-error { display: block; margin-top: 7px; font-size: 13.5px; font-weight: 400; line-height: 1.4; color: #B42318; }
.consent .field-error { margin-top: 4px; }

/* ---------- Language suggestion: smaller on phones, and out of the way at the contact form ---------- */
.lang-banner.is-away, .nav-lock .lang-banner { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 520px) {
  /* one compact row: globe, "Switch to …" and close — the sentence is still read out by screen readers */
  .lang-banner { flex-wrap: nowrap; bottom: 14px; gap: 10px; padding: 8px 8px 8px 14px; }
  .lang-banner[dir="rtl"] { padding: 8px 14px 8px 8px; }
  .lang-banner-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; flex: none; }
  .lang-banner-action { margin-inline-start: 0; }
  .lang-banner-close { margin-inline-start: 0; }
}

/* ---------- Touch targets on phones and tablets ---------- */
@media (max-width: 960px) {
  .lang-switch a { padding-block: 10px; }
  .ft-col { gap: 0; }
  .ft-col h3 { margin-bottom: 10px; }
  .ft-col a, .ft-col span[dir="ltr"] { padding-block: 11px; }
  .ft-langs a { padding-block: 10px; }
}

/* ---------- Hero map on phones: the country name clears the country shape ---------- */
@media (max-width: 900px) { .hx-place--a .country { translate: -12px 8px; } }
@media (max-width: 560px) { .hx-place--a .country { translate: -16px 18px; } }

/* ---------- Print / "Save as PDF" ----------
   Everything is shown (no scroll-reveal states, no entrance animations), the fixed header becomes a plain logo line
   and screen-only controls are left out. */
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html, body { background: #fff !important; }
  .site-header { position: static !important; background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .main-nav, .lang-switch, .header-cta, .nav-toggle, .skip-link, .lang-banner, .sent-modal,
  .hx-actions, .ft-social, .ft-langs, .channel-wa, .cta-btns { display: none !important; }
  body { padding-top: 0 !important; }
  .rv, .rv-m, .rv-w, .axis-node { opacity: 1 !important; transform: none !important; }
  .rv-on .side-body::before, .rv-on .model-rule, .rv-on .tl-fill, .rv-on .axis-line { transform: none !important; }
  .rv-on .tl-node { background: var(--gold) !important; border-color: var(--gold) !important; }
  .hx-route, .hx-shine { stroke-dasharray: none !important; }
  .hx-shine { opacity: .35 !important; }
  .hx-arrow, .hx-pin, .hx-place { opacity: 1 !important; }
  .side, .model, .tl-step, .sector, .af-block, .hx-path { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  .contact-form { box-shadow: none !important; }
}

/* =========================================================
   Hero audience links: two open blocks under a rule (replaces the white card on the hero/About seam)
   Each block: a thin blue rule with a gold start (the same rule as in "Who We Serve" and the models), an outline
   icon, title + line, and an arrow. The rules start on the headline's left edge. Hover: the gold part grows and the
   arrow moves in the reading direction.
   ========================================================= */
.hx-paths { border-top: 0; background: transparent; margin-bottom: 0; padding-bottom: clamp(12px, 1.4vw, 24px); }
.hx-paths-in .hx-path-list {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap);
  margin-inline: 0; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
}
.hx-paths-in .hx-path-list .hx-path,
.hx-paths-in .hx-path-list .hx-path:first-child,
.hx-paths-in .hx-path-list .hx-path:last-child {
  grid-column: auto; position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: clamp(14px, 1.2vw, 18px); align-items: center;
  margin: 0; padding: clamp(14px, 1.1vw, 18px) 4px clamp(12px, 1vw, 16px);
  border: 0; border-top: 1.5px solid rgba(79, 122, 166, .65); background: none;
}
.hx-path::before {
  content: ""; position: absolute; top: -2.25px; inset-inline-start: 0; width: 48px; height: 3px; border-radius: 2px;
  background: var(--gold); transition: width .4s var(--ease-out, ease);
}
.hx-path:hover::before, .hx-path:focus-visible::before { width: 112px; }
.hx-path-ico {
  grid-column: 1; grid-row: 1 / span 2; width: clamp(30px, 2.2vw, 34px); height: clamp(30px, 2.2vw, 34px);
  fill: none; stroke: var(--navy); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.hx-paths-in .hx-path-k { grid-column: 2; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.25; }
.hx-paths-in .hx-path-d { grid-column: 2; margin-top: 2px; font-size: clamp(14px, .95vw, 15px); }
.hx-paths-in .hx-path .hx-path-arrow {
  grid-column: 3; grid-row: 1 / span 2; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 0;
  background: none; stroke: var(--navy); stroke-width: 1.6;
  transition: transform .3s var(--ease-out, ease);
}
.hx-paths-in .hx-path:hover .hx-path-arrow { background: none; stroke: var(--navy); transform: translateX(5px); }
[dir="rtl"] .hx-paths-in .hx-path:hover .hx-path-arrow { transform: scaleX(-1) translateX(5px); }
.hx-paths-in .hx-path:focus-visible { outline: 2px solid var(--muted-blue); outline-offset: 4px; }
@media (min-width: 901px) {
  .hx-paths { margin-bottom: 0; }
  .s-about { padding-top: clamp(64px, 5.4vw, 104px); }
}
@media (max-width: 900px) {
  .hx-paths-in .hx-path-list { grid-template-columns: 1fr; }
  .hx-paths-in .hx-path-list .hx-path,
  .hx-paths-in .hx-path-list .hx-path:first-child,
  .hx-paths-in .hx-path-list .hx-path:last-child { padding: 14px 0 12px; column-gap: 14px; }
  .hx-path-ico { width: 28px; height: 28px; stroke-width: 1.2; }
  .hx-paths-in .hx-path .hx-path-arrow { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .hx-path::before, .hx-paths-in .hx-path .hx-path-arrow { transition: none; } }


/* ---------- Review fixes (Nov 2026) ---------- */
/* Phones/tablets: the CTA photo sits behind the whole text, so it gets a navy veil to keep the copy readable */
@media (max-width: 960px) {
  .cta-photo::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(11,31,51,.45) 0%, rgba(11,31,51,.78) 38%, rgba(11,31,51,.86) 70%, rgba(11,31,51,.6) 100%);
  }
  .cta-photo img { opacity: .5; }
  .cta-in .sec-text { color: rgba(255,255,255,.86); }
}
/* Small phones: outline buttons span the card, label on the start side and the arrow at the end,
   so a label that still needs two lines reads as text, not as a centred block */
@media (max-width: 480px) {
  .model-link, .side-cta { display: flex; width: 100%; justify-content: space-between; text-align: start; }
}
@media (max-width: 480px) {
  .model-cta { padding-inline: 20px; }
  .model-link, .side-cta { padding-inline: 18px; gap: 10px; font-size: 15px; }
}
/* Tablets: footer in three columns under the brand instead of one long stack */
@media (min-width: 621px) and (max-width: 960px) {
  .ft-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
}

/* =========================================================
   Contact form: draft note and the information notice before the submit area
   ========================================================= */
.form-draft { display: flex; align-items: flex-start; gap: 8px; margin: -6px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-soft); }
.form-draft svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: var(--muted-blue-text); stroke-width: 1.6; stroke-linecap: round; }
.form-notice { margin: 4px 0 0; padding: 14px 16px; border-radius: 8px; background: #F4F8FC; font-size: 13px; line-height: 1.6; color: var(--text-soft); text-wrap: pretty; }
.form-notice a { color: var(--muted-blue-text); text-decoration: underline; text-underline-offset: 2px; }
.form-notice a:hover { color: var(--navy); }

/* =========================================================
   Legal pages (/privacy/, /terms/, /cookies/ in EN / AZ / HE)
   Same header, footer, type scale and palette as the home page; a calm reading column with the section list beside it.
   ========================================================= */
.lg-head { padding-block: clamp(56px, 6vw, 96px) clamp(36px, 3.6vw, 56px); border-bottom: 1px solid var(--hair); }
.lg-title { margin: 0; font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
[dir="rtl"] .lg-title { letter-spacing: 0; font-weight: 600; }
.lg-date { margin: 18px 0 0; font-size: var(--fs-meta); color: var(--text-soft); }
.lg-grid {
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap);
  padding-block: clamp(40px, 4vw, 72px) clamp(80px, 7vw, 128px);
}
.lg-aside { grid-column: 1 / span 3; align-self: start; position: sticky; top: 112px; }
.lg-body { grid-column: 5 / span 7; max-width: 46rem; }
.lg-aside-k { margin: 0 0 12px; font-size: 13.5px; font-weight: 500; color: var(--muted-blue-text); }
.lg-toc ol, .lg-other ul { margin: 0; padding: 0; list-style: none; }
.lg-toc li + li, .lg-other li + li { margin-top: 2px; }
.lg-toc a, .lg-other a {
  display: block; padding: 7px 0 7px 14px; border-inline-start: 2px solid var(--hair);
  font-size: 15px; line-height: 1.4; color: var(--text-soft); transition: color .2s, border-color .2s;
}
[dir="rtl"] .lg-toc a, [dir="rtl"] .lg-other a { padding: 7px 14px 7px 0; }
.lg-toc a:hover, .lg-other a:hover { color: var(--navy); border-color: var(--gold); }
.lg-toc a.is-current { color: var(--navy); border-color: var(--gold); }
.lg-other { margin-top: 36px; }
.lg-sec { scroll-margin-top: 100px; }
.lg-sec + .lg-sec { margin-top: clamp(36px, 3vw, 48px); }
.lg-h { position: relative; margin: 0 0 16px; padding-top: 22px; font-size: clamp(20px, 1.45vw, 25px); font-weight: 500; line-height: 1.3; color: var(--navy); }
.lg-h::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 40px; height: 2px; background: var(--gold); }
[dir="rtl"] .lg-h { font-weight: 600; }
.lg-body p { margin: 0; font-size: var(--fs-body); line-height: 1.75; color: var(--graphite); text-wrap: pretty; }
.lg-body p + p { margin-top: 1em; }
.lg-body a { color: var(--muted-blue-text); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.lg-body a:hover { color: var(--navy); }
.lg-body code { padding: 1px 6px; border-radius: 4px; background: #EEF3F9; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; color: var(--navy); white-space: nowrap; }
@media (max-width: 960px) {
  .lg-aside { position: static; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 22px 22px 24px; border: 1px solid var(--hair); border-radius: 12px; background: var(--white); }
  .lg-other { margin-top: 0; }
  .lg-body { grid-column: 1 / -1; margin-top: 44px; max-width: none; }
}
@media (min-width: 621px) and (max-width: 960px) {
  .lg-aside { grid-template-columns: 3fr 2fr; }
}
@media print {
  .page-legal .lg-aside { display: none; }
  .page-legal .lg-body { grid-column: 1 / -1; }
}

/* =========================================================
   Analytics consent (only published when a GA4 measurement ID is set in src/build.js)
   ========================================================= */
.ft-cc { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: rgba(255,255,255,.72); text-align: start; cursor: pointer; transition: color .2s; }
.ft-cc:hover { color: #fff; }
.ft-cc:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 620px) { .ft-cc { padding-block: 11px; } }

.cc-banner {
  position: fixed; z-index: 40; bottom: 20px; inset-inline-start: 20px;
  width: min(460px, calc(100vw - 40px)); padding: 24px 24px 22px;
  border: 1px solid var(--hair-strong); border-radius: 16px; background: var(--white); color: var(--graphite);
  box-shadow: 0 30px 70px -30px rgba(11, 31, 51, .5), 0 2px 6px rgba(11, 31, 51, .05);
}
.cc-banner[hidden] { display: none; }
.cc-title { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--navy); }
[dir="rtl"] .cc-title { font-weight: 600; }
.cc-text { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.cc-text a, .cc-d-foot a { color: var(--muted-blue-text); text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cc-btn { height: 46px; padding: 0 16px; border: 1px solid var(--navy); background: var(--navy); color: var(--white); font-size: 15px; white-space: normal; line-height: 1.25; text-align: center; cursor: pointer; }
.cc-btn:hover { background: #163454; transform: none; }
.cc-btn--line { grid-column: 1 / -1; background: transparent; color: var(--navy); border-color: var(--muted-blue); }
.cc-btn--line:hover { background: #F1F5FA; }
.cc-btn:focus-visible { outline: 2px solid var(--muted-blue); outline-offset: 3px; }
/* the language suggestion steps up while the consent banner is open on phones */
@media (max-width: 620px) {
  .cc-banner { inset-inline: 12px; bottom: 12px; width: auto; padding: 20px 18px 18px; }
  .cc-actions { grid-template-columns: 1fr; }
  .cc-btn--line { grid-column: auto; }
  body.cc-open .lang-banner { display: none; }
}

.cc-dialog {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: clamp(28px, 3.4vw, 40px) clamp(22px, 3vw, 36px) clamp(24px, 3vw, 32px);
  border: 1px solid var(--hair-strong); border-radius: 18px; background: var(--white); color: var(--graphite);
  box-shadow: 0 40px 90px -40px rgba(11, 31, 51, .55), 0 2px 6px rgba(11, 31, 51, .05); overflow: auto;
}
.cc-dialog::backdrop { background: rgba(11, 31, 51, .46); }
.cc-d-title { margin: 0 44px 18px 0; font-size: clamp(20px, 1.6vw, 23px); font-weight: 500; line-height: 1.3; color: var(--navy); }
[dir="rtl"] .cc-d-title { margin: 0 0 18px 44px; font-weight: 600; }
.cc-cat { padding: 18px 0; border-top: 1px solid var(--hair); }
.cc-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-track { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: #C9D6E4; transition: background-color .2s; }
.cc-track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11,31,51,.25); transition: transform .2s; }
.cc-switch input:checked + .cc-track { background: var(--navy); }
.cc-switch input:checked + .cc-track::after { transform: translateX(18px); }
[dir="rtl"] .cc-switch input:checked + .cc-track::after { transform: translateX(-18px); }
.cc-switch input:disabled + .cc-track { background: var(--muted-blue); }
.cc-switch input:disabled ~ .cc-cat-t { cursor: default; }
.cc-switch input:focus-visible + .cc-track { outline: 2px solid var(--muted-blue); outline-offset: 3px; }
.cc-cat-t { font-size: 16px; font-weight: 500; color: var(--navy); }
.cc-cat-d { margin: 8px 0 0; padding-inline-start: 54px; font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.cc-d-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 14px; }
.cc-d-foot .btn { height: 48px; padding: 0 28px; cursor: pointer; }
@media (max-width: 480px) { .cc-d-foot .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .cc-track, .cc-track::after { transition: none; } }
@media print { .cc-banner, .cc-dialog { display: none !important; } }

/* Hebrew: e-mail addresses are typed left-to-right, like the phone field (which has dir="ltr") */
[dir="rtl"] .contact-form input[type="email"] { direction: ltr; }
