/* Preserve Kousha's introduction with the requested hero cards removed. */
.logistics-hero{min-height:760px;min-height:max(720px,calc(100svh - 80px));grid-template-columns:minmax(0,1fr);align-items:center;padding:100px max(5%,calc((100% - 1200px)/2)) 80px}
.logistics-hero .hero-content{width:100%;max-width:660px;margin:0;min-width:0}
.logistics-hero .hero-media picture{display:block;width:100%;height:100%}
.logistics-hero .hero-media img {
  transform: none !important;
  will-change: auto;
}
.logistics-hero .hero-brand-text strong{font-size:clamp(1.25rem,2.2vw,1.8rem)}
.logistics-hero h1{font-size:clamp(3.8rem,6.4vw,6.4rem);line-height:1.02;letter-spacing:-.045em;text-wrap:balance;margin-block:1.5rem}
.logistics-hero .hero-lead{max-width:33rem;line-height:1.8;color:#edf4ff}
.logistics-hero .hero-overlay{background:linear-gradient(90deg,rgba(5,24,45,.91),rgba(5,24,45,.55) 54%,rgba(5,24,45,.18)),linear-gradient(0deg,rgba(5,24,45,.7),transparent 70%)}
body.is-rtl .logistics-hero .hero-overlay{background:linear-gradient(270deg,rgba(5,24,45,.91),rgba(5,24,45,.55) 54%,rgba(5,24,45,.18)),linear-gradient(0deg,rgba(5,24,45,.7),transparent 70%)}
@media(max-width:1000px){.logistics-hero{padding-inline:5%}.logistics-hero h1{font-size:clamp(3rem,6vw,4.8rem)}}
@media(max-width:700px){.logistics-hero h1{font-size:clamp(2.8rem,12vw,4.5rem);max-width:560px}.logistics-hero .hero-lead{font-size:1rem}.logistics-hero .hero-media img{animation:none;object-position:center 38%}.logistics-hero .hero-overlay,body.is-rtl .logistics-hero .hero-overlay{background:linear-gradient(180deg,#05182dcc,#05182da8 45%,#05182df5)}}

/* Match the Oto Lojistik hero's serif wordmark and script-aware lettering. */
html[dir="ltr"] .logistics-hero .hero-brand-text strong,
html[dir="ltr"] .logistics-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
html[dir="rtl"] .logistics-hero .hero-brand-text,
html[dir="rtl"] .logistics-hero h1 {
  font-family: "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  letter-spacing: normal;
}
html[dir="rtl"] .logistics-hero h1 { line-height: 1.25; }
html[dir="rtl"] .logistics-hero .hero-brand-text span { letter-spacing: normal; }

/* Keep the photo behind the header and fill the visible phone screen. */
@media (max-width: 760px) {
  .site-header { padding-top: env(safe-area-inset-top, 0px); }
  .logistics-hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-block: calc(86px + env(safe-area-inset-top, 0px))
      max(36px, env(safe-area-inset-bottom, 0px));
    padding-inline: max(22px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
  .logistics-hero h1 {
    font-size: clamp(2.4rem, 9.8vw, 4rem);
    margin-block: .8rem;
  }
  .logistics-hero .hero-lead { line-height: 1.55; margin-block-end: 1.15rem; }
  .logistics-hero .hero-actions { gap: .65rem; }
  .logistics-hero .hero-actions .btn { min-height: 48px; justify-content: center; }
}

.hero-start-actions {
  display: flex;
  align-items: stretch;
  gap: .8rem;
}

.hero-video-open {
  width: 54px;
  min-height: 54px;
  flex: 0 0 54px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ffffff35;
}

.hero-video-open[hidden] { display: none; }

.hero-video-dialog {
  width: fit-content;
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
}

.hero-video-dialog::backdrop { background: rgb(0 0 0 / .72); }

html:has(.hero-video-dialog[open]) { overflow: hidden; }

.hero-video-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: .25rem;
}

.hero-video-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #101b2b;
  color: white;
  cursor: pointer;
}

.hero-video-open:focus-visible,
.hero-video-close:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.hero-video-player video {
  display: block;
  width: min(85vw, 420px, calc((100dvh - 6rem) * 512 / 804));
  aspect-ratio: 512 / 804;
  background: #000;
}

@media (max-width: 760px) {
  .hero-start-actions > a { flex: 1; }
}
