/* ==========================================================================
   AMNEST — Modern Design System
   Palette (preserved): #088A54 / #107048 / #12b26f
   ========================================================================== */

:root {
  --am-primary: #088A54;
  --am-primary-dark: #0a6d44;
  --am-primary-darker: #0a4c30;
  --am-primary-light: #12b26f;
  --am-primary-glow: rgba(18, 178, 111, 0.35);
  --am-ink: #0a1612;
  --am-ink-soft: #132520;
  --am-cream: #f6f3ee;
  --am-cream-soft: #fbfaf7;
  --am-line: rgba(10, 22, 18, 0.08);
  --am-line-strong: rgba(10, 22, 18, 0.14);
  --am-gold: #c9a24b;
  --am-muted: #5b6b65;

  --am-font-head: "Montserrat", sans-serif;
  --am-font-body: "Open Sans", sans-serif;
  --am-font-nav: "Poppins", sans-serif;

  --am-ease: cubic-bezier(.22, .9, .3, 1);
  --am-ease-soft: cubic-bezier(.4, 0, .2, 1);

  --am-radius-sm: 10px;
  --am-radius: 18px;
  --am-radius-lg: 28px;

  --am-shadow-soft: 0 10px 30px rgba(10, 76, 48, 0.08);
  --am-shadow-hover: 0 20px 50px rgba(10, 76, 48, 0.18);
}

/* Reset tweaks ---------------------------------------------------------- */
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body.am-body {
  font-family: var(--am-font-body);
  color: var(--am-ink);
  background: var(--am-cream-soft);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
body.am-body h1, body.am-body h2, body.am-body h3,
body.am-body h4, body.am-body h5, body.am-body h6 {
  font-family: var(--am-font-head);
  color: var(--am-ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}
body.am-body a { color: var(--am-primary);
   transition: color .3s var(--am-ease); 
  }
body.am-body a:hover { 
  color:white;
  /* background-color: var(--am-primary-light); */
}
body.am-body ::selection { background: var(--am-primary); color: #fff; }
body.am-body img { max-width: 100%; display: block; }
body.am-body section { position: relative; }

/* Helper accents -------------------------------------------------------- */
.am-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--am-font-nav);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--am-primary);
  margin-bottom: 18px;
}
.am-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--am-primary);
  display: inline-block;
}
.am-heading {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
}
.am-heading .am-accent { color: var(--am-primary); position: relative; }
.am-lead {
  font-size: 1.05rem;
  color: var(--am-muted);
  line-height: 1.75;
  max-width: 640px;
}
.am-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--am-font-nav);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all .35s var(--am-ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.am-btn i { transition: transform .35s var(--am-ease); }
.am-btn:hover i { transform: translateX(4px); }
[dir="rtl"] .am-btn:hover i { transform: translateX(-4px); }
.am-btn-primary {
  background: var(--am-primary);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(8, 138, 84, 0.3);
  text-decoration: none;
}
.am-btn-primary:hover {
  background: var(--am-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(8, 138, 84, 0.4);
}
.am-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.am-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.am-btn-dark {
  background: #fff;
  color: var(--am-ink);
  border-color: #fff;
  border: 1px solid;
  text-decoration: none;
}
.am-btn-dark i { color: var(--am-ink); }
.am-btn-dark:hover {
  background: var(--am-primary-light);
  color: #fff;
  border-color: var(--am-primary-light);
}
.am-btn-dark:hover i { color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.am-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: all .4s var(--am-ease);
}
.am-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 8px 30px rgba(10, 76, 48, 0.08);
  padding: 10px 0;
}
.am-header .am-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
}
.am-logo img {
  height: 54px;
  width: auto;
  transition: all .4s var(--am-ease);
  filter: brightness(0) invert(1);
}
.am-header.scrolled .am-logo img { filter: none; height: 46px; }

.am-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.am-nav li { position: relative; }
.am-nav > ul > li > a {
  font-family: var(--am-font-nav);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .3s var(--am-ease);
  text-decoration: none;
}
.am-header.scrolled .am-nav > ul > li > a { color: var(--am-ink); }
.am-nav > ul > li:hover > a,
.am-nav > ul > li > a.active {
  color: #fff;
  background: var(--am-primary);
}
.am-header.scrolled .am-nav > ul > li:hover > a,
.am-header.scrolled .am-nav > ul > li > a.active { color: #fff; background: var(--am-primary); }

.am-nav .has-mega { position: static; }
.am-nav .has-dropdown > a::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: 10px;
  margin-inline-start: 4px;
  transition: transform .3s var(--am-ease);
}
.am-nav .has-dropdown:hover > a::after { transform: rotate(180deg); }

.am-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(1100px, 92vw);
  background: #fff;
  border-radius: var(--am-radius);
  box-shadow: 0 30px 80px rgba(10, 76, 48, 0.18);
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all .4s var(--am-ease);
  pointer-events: none;
}
.am-nav .has-mega:hover > .am-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.am-mega h6 {
  font-family: var(--am-font-nav);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--am-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--am-line);
}
.am-mega a {
  display: block;
  font-size: 13.5px;
  color: var(--am-ink);
  padding: 7px 0;
  transition: all .25s var(--am-ease);
  position: relative;
  padding-inline-start: 14px;
  line-height: 1.35;
}
.am-mega a::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--am-primary-light);
  transform: translateY(-50%) scale(0);
  transition: transform .25s var(--am-ease);
}
.am-mega a:hover { color: var(--am-primary); padding-inline-start: 18px; }
.am-mega a:hover::before { transform: translateY(-50%) scale(1); }

.am-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--am-radius-sm);
  box-shadow: 0 20px 50px rgba(10, 76, 48, 0.15);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--am-ease);
  list-style: none;
}
.am-nav .has-dropdown:hover > .am-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.am-dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--am-ink);
}
.am-dropdown li a:hover { background: var(--am-cream); color: var(--am-primary); }

.am-lang {
  margin-inline-start: 14px;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
}
.am-header.scrolled .am-lang { border-color: var(--am-line-strong); background: var(--am-cream); }
.am-lang a {
  padding: 6px 14px;
  font-family: var(--am-font-nav);
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s var(--am-ease);
}
.am-header.scrolled .am-lang a { color: var(--am-ink); }
.am-lang a.active { background: var(--am-primary); color: #fff; }

.am-burger {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.am-header.scrolled .am-burger { color: var(--am-ink); }

/* Mobile nav */
@media (max-width: 1199px) {
  .am-header .am-inner { padding: 0 20px; }
  .am-burger { display: block; }
  .am-nav {
    position: fixed;
    top: 0; inset-inline-end: 0;
    width: min(380px, 88vw);
    height: 100vh;
    background: #fff;
    padding: 90px 28px 28px;
    transform: translateX(100%);
    transition: transform .45s var(--am-ease);
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
  }
  [dir="rtl"] .am-nav { transform: translateX(-100%); }
  .am-nav.open { transform: translateX(0); }
  .am-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .am-nav > ul > li > a { color: var(--am-ink); justify-content: space-between; padding: 14px 16px; }
  .am-mega, .am-dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 6px 0 6px 18px;
    display: none;
    grid-template-columns: 1fr;
    pointer-events: auto;
  }
  .am-nav .has-dropdown.open > .am-dropdown,
  .am-nav .has-mega.open > .am-mega { display: block; }
  .am-nav .has-mega.open > .am-mega { display: grid; }
}

/* ==========================================================================
   Hero — "project_banner" style (Madinet Masr / Talala inspired)
   Uses their exact class names: banner, hero, project_banner,
   banner_bg, banner_content, banner_cta_set,
   arrow_btn, scrollDown, GeneralZoneBannerCard-container.
   ========================================================================== */

/* Utility helpers matching their system */
.x_padding { padding-inline: clamp(24px, 6vw, 96px); }
.y_padding { padding-block: clamp(80px, 10vh, 140px); }
.f        { display: flex; }
.f-c      { flex-direction: column; }
.a-c      { align-items: center; }

/* ---------- Section ---------- */
.banner.hero.project_banner {
  position: relative;
  min-height: 100vh;
  background: #0a1612;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

/* ---------- Scroll-down icon (corner) ---------- */
.scrollDown.scrollCustom {
  position: absolute;
  z-index: 6;
  bottom: 38px;
  inset-inline-end: 38px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .35s var(--am-ease);
  animation: scrollCueBounce 2.4s ease-in-out infinite;
}
.scrollDown.scrollCustom:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.scrollDown.scrollCustom svg {
  width: 22px; height: 22px;
  color: #fff;
}
@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ---------- Background (Ken-Burns image) ---------- */
.banner_bg.hero_bg.full_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.banner_bg .img_container.full_bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: bannerKenBurns 12s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes bannerKenBurns {
  0%   { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.18) translate(-1.5%, -1.5%); }
}
.banner.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(10, 22, 18, 0.45) 45%, rgba(10, 22, 18, 0.92) 100%);
  pointer-events: none;
}

/* ---------- Content column ---------- */
.banner_content.hero_content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 180px;
  padding-bottom: 240px;
}
.banner_content .container {
  padding: 0;
  max-width: 900px;
}
.banner_content h1._element {
  font-family: var(--am-font-head);
  font-weight: 400;            /* matches Talala's "regular" look */
  font-size: clamp(3rem, 7.4vw, 7.2rem);
  line-height: 0.98;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}
.banner_content .location {
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--am-font-nav);
  font-weight: 400;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.banner_content .location svg {
  width: 16px; height: 20px;
  color: var(--am-primary-light);
  flex-shrink: 0;
}
.banner_content .p2.desc._element {
  font-family: var(--am-font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0;
}

/* ---------- CTA — arrow_btn_set ---------- */
.banner_cta_set.hero_cta {
  position: relative;
  z-index: 3;
  gap: 18px;
  margin-top: 34px;
}
.cta_btn.arrow_btn_set {
  display: inline-block;
}
.cta_btn .arrow_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  font-family: var(--am-font-nav);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  overflow: hidden;
  transition: all .45s var(--am-ease);
}
.cta_btn.light-outlines .arrow_btn { border-color: rgba(255, 255, 255, 0.55); }

.cta_btn .arrow_btn svg {
  width: 14px; height: 20px;
  color: #fff;
  transition: all .45s var(--am-ease);
}
/* left arrow: hidden until hover (slides in from the left) */
.cta_btn .arrow_btn > svg:first-of-type {
  transform: translateX(-28px);
  opacity: 0;
}
/* right arrow: visible by default, slides out on hover */
.cta_btn .arrow_btn > svg:last-of-type {
  transform: translateX(0);
  opacity: 1;
}
.cta_btn .arrow_btn .button-text {
  transition: transform .45s var(--am-ease);
  white-space: nowrap;
}

.cta_btn .arrow_btn:hover {
  background: #fff;
  color: var(--am-ink);
  border-color: #fff;
}
.cta_btn .arrow_btn:hover svg { color: var(--am-ink); }
.cta_btn .arrow_btn:hover > svg:first-of-type {
  transform: translateX(0);
  opacity: 1;
}
.cta_btn .arrow_btn:hover > svg:last-of-type {
  transform: translateX(28px);
  opacity: 0;
}
.cta_btn .arrow_btn:hover .button-text { transform: translateX(4px); }

/* RTL: mirror the arrow directions */
[dir="rtl"] .cta_btn .arrow_btn svg { transform: scaleX(-1); }
[dir="rtl"] .cta_btn .arrow_btn > svg:first-of-type { transform: translateX(28px) scaleX(-1); opacity: 0; }
[dir="rtl"] .cta_btn .arrow_btn > svg:last-of-type { transform: translateX(0) scaleX(-1); opacity: 1; }
[dir="rtl"] .cta_btn .arrow_btn:hover > svg:first-of-type { transform: translateX(0) scaleX(-1); opacity: 1; }
[dir="rtl"] .cta_btn .arrow_btn:hover > svg:last-of-type { transform: translateX(-28px) scaleX(-1); opacity: 0; }
[dir="rtl"] .cta_btn .arrow_btn:hover .button-text { transform: translateX(-4px); }

/* ---------- Floating info card (GeneralZoneBannerCard) ---------- */
.GeneralZoneBannerCard-container {
  position: absolute;
  z-index: 4;
  bottom: 34px;
  inset-inline-start: clamp(24px, 6vw, 96px);
  inset-inline-end: auto;
  max-width: min(760px, 60vw);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  padding: 30px 34px;
}
.GeneralZoneBannerCard-container-collapse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.GeneralZoneBannerCard-container-collapse-content {
  width: 100%;
  gap: 8px;
  cursor: pointer;
  font-family: var(--am-font-nav);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* color: rgba(255, 255, 255, 0.75); */
  transition: color .3s var(--am-ease);
}
.GeneralZoneBannerCard-container-collapse-content:hover { color: #fff; }
.GeneralZoneBannerCard-container-collapse-content svg path { fill: currentColor; }
.GeneralZoneBannerCard-container-collapse-content .gzbc-arrow { flex-shrink: 0; }
[dir="rtl"] .GeneralZoneBannerCard-container-collapse-content .gzbc-arrow { transform: scaleX(-1); }

.GeneralZoneBannerCard-container-zone {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}
.GeneralZoneBannerCard-container-zone-container {
  display: contents;
}
.GeneralZoneBannerCard-container-zone-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.GeneralZoneBannerCard-container-zone-item svg {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--am-primary-light);
}
.GeneralZoneBannerCard-container-zone-item p {
  margin: 0;
  font-family: var(--am-font-nav);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* color: rgba(255, 255, 255, 0.65); */
  line-height: 1.2;
}
.GeneralZoneBannerCard-container-zone-item p.semi-bold-font {
  font-family: var(--am-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  margin-top: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .banner.hero.project_banner { align-items: center; }
  .banner_content.hero_content { padding-top: 140px; padding-bottom: 260px; }
  .GeneralZoneBannerCard-container {
    inset-inline-end: clamp(24px, 6vw, 96px);
    max-width: none;
  }
  .GeneralZoneBannerCard-container-zone { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .banner_content h1._element { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .banner_content .p2.desc._element { font-size: 0.95rem; }
  .scrollDown.scrollCustom { width: 44px; height: 44px; bottom: 22px; inset-inline-end: 22px; }
  .GeneralZoneBannerCard-container { padding: 16px 18px; bottom: 20px; }
  .GeneralZoneBannerCard-container-zone { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .GeneralZoneBannerCard-container-zone-item p.semi-bold-font { font-size: 1rem; }
  .GeneralZoneBannerCard-container-zone-item svg { width: 22px; height: 22px; }
}

/* ==========================================================================
   Timeline (scroll-snap)
   ========================================================================== */
.am-timeline {
  padding: 100px 0 80px;
  background: var(--am-cream);
  /* position: relative; */
}
.am-timeline-rail{
 position: relative;
}
.am-timeline-rail::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--am-line-strong), transparent);
}
/* .am-timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--am-line-strong), transparent);
} */
/* Edge fade — hints that the rail continues past the viewport.
   JS toggles body classes on .am-timeline to hide whichever side is exhausted. */
.am-timeline::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: clamp(48px, 10vw, 110px);
  background: linear-gradient(to right, rgba(250,247,241,0), var(--am-cream) 80%);
  pointer-events: none;
  opacity: 1;
  transition: opacity .35s ease;
  z-index: 2;
}
.am-timeline.rail-at-end::after { opacity: 0; }
[dir="rtl"] .am-timeline::after {
  right: auto; left: 0;
  background: linear-gradient(to left, rgba(250,247,241,0), var(--am-cream) 80%);
}
/* Pulsing chevron sitting inside the fade — tells the hand "you can drag this" */
.am-timeline-hint {
  position: absolute;
  top: 33%;
  right: 18px;
  transform: translateY(-50%);
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  gap: 6px;
  pointer-events: none;
  z-index: 3;
  animation: am-hint-pulse 1.6s ease-in-out infinite;
  opacity: 1;
  transition: opacity .35s ease;
}
.am-timeline-hint-circle {
  width: 40px; height: 40px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  border-radius: 50%;
  background: var(--am-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(8,138,84,0.35);
}
.am-timeline-hint i { font-size: 20px; line-height: 1; }
.am-timeline-hint-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--am-primary);
  background: rgba(255,255,255,0.9);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: .3px;
  white-space: nowrap;
  text-transform: uppercase;
}
[dir="rtl"] .am-timeline-hint {
  right: auto; left: 18px;
  animation-name: am-hint-pulse-rtl;
}
[dir="rtl"] .am-timeline-hint-label { text-transform: none; letter-spacing: 0; }
.am-timeline.rail-at-end .am-timeline-hint { opacity: 0; }
@keyframes am-hint-pulse {
  0%, 100% { transform: translate(0, -50%); }
  50%      { transform: translate(-10px, -50%); }
}
@keyframes am-hint-pulse-rtl {
  0%, 100% { transform: translate(0, -50%); }
  50%      { transform: translate(10px, -50%); }
}
@media (prefers-reduced-motion: reduce) {
  .am-timeline-hint { animation: none; }
}
.am-timeline-rail {
  display: flex;
  gap: 32px;
  padding: 40px 6vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  align-items: stretch;
  min-height: 30vh;
}
/* Alternate cards above/below the section centerline (.am-timeline::before) */
.am-milestone:nth-child(odd)  { align-self: flex-start; }
.am-milestone:nth-child(even) { align-self: flex-end; }
/* On narrow screens let the next card peek past the edge so the clip is obvious */
@media (max-width: 767.98px) {
  .am-timeline-rail { padding-inline-end: 35vw; }
}
.am-timeline-rail::-webkit-scrollbar { display: none; }
.am-timeline-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.am-timeline-rail.is-dragging .am-milestone,
.am-timeline-rail.is-dragging .am-milestone * { pointer-events: none; }
.am-milestone {
  flex: 0 0 clamp(260px, 26vw, 340px);
  scroll-snap-align: center;
  background: #fff;
  border-radius: var(--am-radius);
  padding: 32px 28px;
  box-shadow: var(--am-shadow-soft);
  position: relative;
  transition: all .4s var(--am-ease);
  border: 1px solid var(--am-line);
}
.am-milestone:hover {
  transform: translateY(-8px);
  box-shadow: var(--am-shadow-hover);
  border-color: var(--am-primary-light);
}
.am-milestone .year {
  font-family: var(--am-font-head);
  font-weight: 900;
  font-size: 2.6rem;
  background: linear-gradient(135deg, var(--am-primary), var(--am-primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.am-milestone h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.am-milestone p {
  font-size: 0.92rem;
  color: var(--am-muted);
  line-height: 1.6;
  margin: 0;
}
.am-milestone .node {
  position: absolute;
  top: -8px;
  left: 45% !important;
  inset-inline-start: 28px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--am-primary);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--am-primary-light);
}
/* For cards sitting above the line, drop the node to the bottom edge so it points down at the line */
.am-milestone:nth-child(odd) .node { top: auto; bottom: -8px; left: 45% !important; }

/* ==========================================================================
   Who We Are (Vision/Mission/Values)
   ========================================================================== */
.am-who {
  padding: 120px 0;
  background: #fff;
}
.am-who .row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6vw;
}
.am-who-media {
  position: relative;
  border-radius: var(--am-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--am-shadow-hover);
}
.am-who-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--am-ease);
}
.am-who-media:hover img { transform: scale(1.06); }
.am-who-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 22, 18, 0.6));
}
.am-who-media .badge-float {
  position: absolute;
  bottom: 24px; inset-inline-start: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: var(--am-radius);
  color: var(--am-ink);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--am-shadow-soft);
}
.am-who-media .badge-float i {
  font-size: 28px;
  color: var(--am-primary);
}
.am-who-media .badge-float strong {
  display: block;
  font-family: var(--am-font-head);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
}
.am-who-media .badge-float span {
  font-family: var(--am-font-nav);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--am-muted);
}

.am-tabs {
  display: flex;
  gap: 8px;
  margin: 28px 0 24px;
  padding: 6px;
  background: var(--am-cream);
  border-radius: 999px;
  width: fit-content;
}
.am-tab {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--am-font-nav);
  font-weight: 600;
  font-size: 13px;
  color: var(--am-muted);
  cursor: pointer;
  transition: all .3s var(--am-ease);
}
.am-tab.active { background: var(--am-primary); color: #fff; box-shadow: 0 8px 20px rgba(8, 138, 84, 0.25); }
.am-tab-panels { position: relative; min-height: 150px; }
.am-tab-panel { display: none; animation: am-rise .5s var(--am-ease); }
.am-tab-panel.active { display: block; }
.am-tab-panel p { font-size: 1.02rem; line-height: 1.8; color: var(--am-muted); }

@keyframes am-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
  .am-who .row-split { grid-template-columns: 1fr; gap: 48px; }
}

/* ==========================================================================
   Sectors mosaic
   ========================================================================== */
.am-sectors {
  padding: 120px 0;
  background: var(--am-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.am-sectors::before {
  content: "";
  position: absolute;
  top: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--am-primary-glow), transparent 65%);
  pointer-events: none;
}
.am-sectors .header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.am-sectors .header h2 { color: #fff; }
.am-sectors .header p { color: rgba(255, 255, 255, 0.68); margin: 0 auto; }
.am-sectors .header .am-eyebrow { color: var(--am-primary-light); }
.am-sectors .header .am-eyebrow::before { background: var(--am-primary-light); }

.am-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* max-width: 1400px; */
  margin: 0 auto;
  padding: 0 6vw;
  gap: 16px;
}
.am-sector {
  position: relative;
  height: 520px;
  border-radius: var(--am-radius);
  overflow: hidden;
  cursor: pointer;
  transition: all .6s var(--am-ease);
  isolation: isolate;
}
.am-sector .sector-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s var(--am-ease);
}
.am-sector::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 18, 0.15) 0%, rgba(10, 22, 18, 0.92) 95%);
  z-index: 1;
  transition: background .5s var(--am-ease);
}
.am-sector:hover { flex: 2; }
.am-sector:hover .sector-img { transform: scale(1.1); }
.am-sector:hover::after {
  background: linear-gradient(180deg, rgba(8, 138, 84, 0.15) 0%, rgba(10, 48, 30, 0.95) 95%);
}
.am-sector .sector-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  z-index: 2;
  color: #fff;
}
.am-sector .sector-num {
  font-family: var(--am-font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--am-primary-light);
  margin-bottom: 8px;
  display: block;
}
.am-sector h3 {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.15;
  margin: 0 0 14px;
}
.am-sector .sector-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all .5s var(--am-ease);
}
.am-sector:hover .sector-detail {
  max-height: 400px;
  opacity: 1;
}
.am-sector .sector-detail p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 14px;
}
.am-sector .sector-detail ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.am-sector .sector-detail ul li {
  font-size: 11.5px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.am-sector .sector-detail a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--am-font-nav);
  font-weight: 600;
  font-size: 13px;
  color: var(--am-primary-light);
  /* border-bottom: 1px solid var(--am-primary-light); */
  padding-bottom: 2px;
  text-decoration: none;
}
@media (max-width: 991px) {
  .am-mosaic { grid-template-columns: 1fr 1fr; }
  .am-sector { height: 360px; }
  .am-sector .sector-detail { max-height: 400px; 
    opacity: 1;
   }
}
@media (max-width: 575px) {
  .am-mosaic { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Stats band (counters)
   ========================================================================== */
.am-stats {
  padding: 110px 0;
  background: linear-gradient(135deg, var(--am-primary-darker), var(--am-primary));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.am-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 36px 36px;
  opacity: 0.6;
}
.am-stats .wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  text-align: center;
}
.am-stat { position: relative; }
.am-stat + .am-stat::before {
  content: "";
  position: absolute;
  top: 20%; bottom: 20%;
  inset-inline-start: -20px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.am-stat .num {
  font-family: var(--am-font-head);
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
.am-stat .plus { color: var(--am-primary-light); margin-inline-start: 4px; }
.am-stat .label {
  font-family: var(--am-font-nav);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 767px) {
  .am-stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .am-stat + .am-stat::before { display: none; }
}

/* ==========================================================================
   Chairman message
   ========================================================================== */
.am-chairman {
  padding: 130px 0;
  background: var(--am-cream);
  position: relative;
}
.am-chairman .wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 70px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6vw;
}
.am-chairman-portrait {
  position: relative;
  border-radius: var(--am-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--am-shadow-hover);
}
.am-chairman-portrait img { width: 100%; height: 100%; object-fit: cover; }
.am-chairman-portrait::before {
  content: "";
  position: absolute;
  inset-inline-end: -30px; bottom: -30px;
  width: 180px; height: 180px;
  background: linear-gradient(135deg, var(--am-primary), var(--am-primary-light));
  border-radius: var(--am-radius);
  z-index: -1;
}
.am-chairman-quote {
  font-family: var(--am-font-head);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.4;
  color: var(--am-ink);
  margin: 24px 0 28px;
  padding-inline-start: 24px;
  border-inline-start: 3px solid var(--am-primary);
}
.am-chairman-body {
  color: var(--am-muted);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 24px;
}
.am-chairman-body .more-body {
  display: none;
}
.am-chairman-body.expanded .more-body { display: block; }
.am-chairman-sign {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--am-line);
}
.am-chairman-sign .name {
  font-family: var(--am-font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--am-ink);
}
.am-chairman-sign .role {
  font-family: var(--am-font-nav);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--am-primary);
}
@media (max-width: 991px) {
  .am-chairman .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* ==========================================================================
   Organizational structure
   ========================================================================== */
.am-org {
  padding: 120px 0;
  background: var(--am-cream-soft);
}
.am-org .header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
  padding: 0 20px;
}
.am-org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.am-org-node {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--am-line);
  border-radius: var(--am-radius);
  padding: 26px 32px;
  text-align: center;
  box-shadow: var(--am-shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.am-org-node:hover {
  transform: translateY(-4px);
  box-shadow: var(--am-shadow-hover);
}
.am-org-node::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 18%;
  bottom: 18%;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--am-primary), var(--am-primary-light));
}
.am-org-lead {
  background: linear-gradient(135deg, var(--am-primary-darker), var(--am-primary));
  border-color: transparent;
}
.am-org-lead::before { display: none; }
.am-org-lead .am-org-role { color: rgba(255, 255, 255, 0.82); }
.am-org-lead .am-org-name { color: #fff; }
.am-org-role {
  display: block;
  font-family: var(--am-font-nav);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--am-primary);
  margin-bottom: 10px;
}
.am-org-name {
  display: block;
  font-family: var(--am-font-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--am-ink);
}
.am-org-connector {
  width: 2px;
  height: 44px;
  background: var(--am-line);
}
[dir="rtl"] .am-org-node::before {
  border-radius: 4px 0 0 4px;
}
@media (max-width: 575px) {
  .am-org-node { padding: 22px 24px; }
  .am-org-connector { height: 32px; }
}

/* ==========================================================================
   Companies marquee
   ========================================================================== */
.am-companies {
  padding: 120px 0 110px;
  background: #fff;
  overflow: hidden;
}
.am-companies .header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.am-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.am-marquee + .am-marquee { margin-top: 16px; }
.am-marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: am-marquee 40s linear infinite;
  align-items: center;
}
.am-marquee-reverse .am-marquee-track { animation-direction: reverse; animation-duration: 48s; }
.am-marquee:hover .am-marquee-track { animation-play-state: paused; }
.am-marquee-item {
  flex-shrink: 0;
  width: 170px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  /* background: var(--am-cream-soft); */
  /* border: 1px solid var(--am-line); */
  border-radius: var(--am-radius);
  transition: all .4s var(--am-ease);
}
.am-marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* filter: grayscale(1) opacity(0.6); */
  transition: filter .4s var(--am-ease);
}
.am-marquee-item:hover { background: #fff; box-shadow: var(--am-shadow-soft); border-color: var(--am-primary-light); }
.am-marquee-item:hover img { filter: grayscale(0) opacity(1); }

@keyframes am-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
[dir="rtl"] .am-marquee-track { animation-name: am-marquee-rtl; }
@keyframes am-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ==========================================================================
   Global footprint
   ========================================================================== */
.am-footprint {
  padding: 120px 0;
  background: var(--am-surface, #f7f9f7);
  color: var(--am-ink);
  position: relative;
  overflow: hidden;
}
.am-footprint .wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 6vw;
}
.am-footprint > .wrap > div:first-child {
  background: #fff !important;
  border: 1px solid rgba(8, 138, 84, 0.12);
  box-shadow: 0 18px 40px rgba(8, 138, 84, 0.06);
}
.am-footprint h2 { color: var(--am-ink); }
.am-footprint .am-eyebrow { color: var(--am-primary) !important; }
.am-footprint .am-accent { color: var(--am-primary) !important; }
.am-footprint .am-lead { color: rgba(10, 31, 20, 0.72); }
.am-footprint-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.am-footprint-list li {
  padding: 14px 18px;
  background: rgba(8, 138, 84, 0.05);
  border: 1px solid rgba(8, 138, 84, 0.12);
  border-radius: var(--am-radius-sm);
  color: var(--am-ink);
  font-family: var(--am-font-nav);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .3s var(--am-ease);
}
.am-footprint-list li:hover {
  background: rgba(18, 178, 111, 0.12);
  border-color: var(--am-primary);
  transform: translateX(6px);
}
[dir="rtl"] .am-footprint-list li:hover { transform: translateX(-6px); }
.am-footprint-list .dot-m {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--am-primary);
  box-shadow: 0 0 10px rgba(8, 138, 84, 0.5);
}
.am-map-box {
  position: relative;
  padding: 28px;
  background: #fff !important;
  border: 1px solid rgba(8, 138, 84, 0.12);
  border-radius: var(--am-radius-lg);
  box-shadow: 0 18px 40px rgba(8, 138, 84, 0.06);
  min-height: 520px;
}
#am-map { width: 100%; height: 480px; }
.jvm-tooltip {
  background: var(--am-primary) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  font-family: var(--am-font-nav) !important;
  font-size: 12px !important;
  padding: 6px 10px !important;
}
@media (max-width: 991px) {
  .am-footprint .wrap { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.am-contact {
  padding: 130px 0;
  background: var(--am-cream-soft);
}
.am-contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  /* padding: 0 6vw; */
  background: #fff;
  border-radius: var(--am-radius-lg);
  box-shadow: var(--am-shadow-hover);
  overflow: hidden;
}
.am-contact-info {
  background: linear-gradient(165deg, var(--am-primary-dark), var(--am-primary));
  color: #fff;
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
}
.am-contact-info::after {
  content: "";
  position: absolute;
  bottom: -80px; inset-inline-end: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.am-contact-info h3 {
  color: #fff !important;
  font-size: 1.8rem;
  margin-bottom: 12px;
  position: relative;
}
.am-contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
  position: relative;
}
.am-contact-info .item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  position: relative;
}
.am-contact-info .item i {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.am-contact-info .item strong {
  display: block;
  font-family: var(--am-font-nav);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}
.am-contact-info .item span {
  font-size: 14.5px;
  line-height: 1.6;
}
.am-contact-social {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  position: relative;
}
.am-contact-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid; place-items: center;
  color: #fff !important;
  transition: all .3s var(--am-ease);
}
.am-contact-social a:hover { background: #fff; color: var(--am-primary) !important; transform: translateY(-3px); }

.am-contact-form {
  padding: 56px 44px;
}
.am-contact-form h4 {
  font-size: 1.4rem;
  margin-bottom: 26px;
}
.am-contact-form #am-send-btn {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}
.am-field { position: relative; margin-bottom: 22px; }
.am-field input, .am-field textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--am-line-strong);
  border-radius: var(--am-radius-sm);
  background: var(--am-cream-soft);
  font-family: var(--am-font-body);
  font-size: 14.5px;
  color: var(--am-ink);
  transition: all .3s var(--am-ease);
  resize: none;
}
.am-field textarea { min-height: 140px; }
.am-field input:focus, .am-field textarea:focus {
  outline: 0;
  border-color: var(--am-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8, 138, 84, 0.08);
}
.am-field input.is-invalid, .am-field textarea.is-invalid { border-color: #d04848; }
.am-field .invalid-feedback { display: block; font-size: 12px; color: #d04848; margin-top: 4px; }
.am-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 991px) {
  .am-contact .wrap { grid-template-columns: 1fr; }
  .am-contact-info, .am-contact-form { padding: 40px 28px; }
}
@media (max-width: 575px) {
  .am-grid-2 { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.am-footer {
  background: var(--am-primary-darker);
  /* background: var(--am-ink); */
  color: rgba(255, 255, 255, 0.7);
  padding: 90px 0 30px;
  position: relative;
}
.am-footer .wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 44px;
}
.am-footer h5 {
  font-family: var(--am-font-nav);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff !important;
  margin-bottom: 22px;
}
.am-footer .wrap > div { text-align: center; }
.am-footer .brand { display: flex; flex-direction: column; align-items: center; }
.am-footer .brand img {
  height: 64px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.am-footer .brand p { font-size: 13.5px; line-height: 1.8; margin-bottom: 22px; }
.am-footer ul { list-style: none; padding: 0; margin: 0; }
.am-footer ul li { margin-bottom: 10px; }
.am-footer ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  transition: all .3s var(--am-ease);
  text-decoration: none;
}
.am-footer ul li a:hover { color: var(--am-primary-light); padding-inline-start: 0; }
.am-footer-bottom {
  max-width: 1240px;
  margin: 60px auto 0;
  padding: 24px 6vw 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.am-footer-bottom a { color: var(--am-primary-light); }
.am-footer-social { display: flex; gap: 10px; justify-content: center; }
.am-footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid; place-items: center;
  color: #fff !important;
  font-size: 14px;
  transition: all .3s var(--am-ease);
}
.am-footer-social a:hover { background: var(--am-primary); transform: translateY(-3px); }
@media (max-width: 991px) {
  .am-footer .wrap { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 575px) {
  .am-footer .wrap { grid-template-columns: 1fr; }
  .am-footer-bottom { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Scroll to top + preloader
   ========================================================================== */
.am-scroll-top {
  position: fixed;
  bottom: 30px; inset-inline-end: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--am-primary);
  color: #fff !important;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px rgba(8, 138, 84, 0.35);
  opacity: 0; visibility: hidden;
  transition: all .35s var(--am-ease);
  z-index: 999;
  font-size: 20px;
}
.am-scroll-top.show { opacity: 1; visibility: visible; }
.am-scroll-top:hover { background: var(--am-primary-dark); color: #fff; transform: translateY(-3px); }

.am-preloader {
  position: fixed;
  inset: 0;
  background: var(--am-ink);
  display: grid; place-items: center;
  z-index: 99999;
  transition: opacity .6s var(--am-ease);
}
.am-preloader .spin {
  width: 52px; height: 52px;
  border: 2.5px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--am-primary-light);
  border-radius: 50%;
  animation: am-spin 1s linear infinite;
}
.am-preloader-logo {
  width: 240px;
  max-width: 60vw;
  height: auto;
  display: block;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  animation: am-logo-reveal 3.5s ease-in-out infinite;
}
@keyframes am-logo-reveal {
  0%   { clip-path: inset(0 100% 0 0);   -webkit-clip-path: inset(0 100% 0 0); }
  50%  { clip-path: inset(0 0 0 0);      -webkit-clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 100%);   -webkit-clip-path: inset(0 0 0 100%); }
}
.am-preloader.hide { opacity: 0; pointer-events: none; }
@keyframes am-spin { to { transform: rotate(360deg); } }

.am-spin { display: inline-block; animation: am-spin 0.85s linear infinite; }

.am-btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
  cursor: wait;
}
.am-btn .am-btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: am-spin 0.75s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* ---- SweetAlert2 — AMNEST brand ---- */
.am-swal-popup {
  border-radius: 20px !important;
  padding: 36px 32px 28px !important;
  box-shadow: 0 30px 80px rgba(8, 138, 84, 0.18), 0 2px 10px rgba(0,0,0,0.08) !important;
  font-family: var(--am-font-body) !important;
  border: 1px solid rgba(8, 138, 84, 0.12);
  max-width: 440px;
}
.am-swal-rtl { direction: rtl; text-align: right; }
.am-swal-title {
  font-family: var(--am-font-head) !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  color: var(--am-ink) !important;
  margin-top: 10px !important;
}
.am-swal-text {
  color: rgba(10, 31, 20, 0.72) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin-top: 10px !important;
}
.am-swal-btn {
  font-family: var(--am-font-nav) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  padding: 12px 32px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  box-shadow: 0 12px 28px rgba(8, 138, 84, 0.3) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}
.am-swal-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 36px rgba(8, 138, 84, 0.4) !important;
}
.swal2-icon.swal2-success [class^='swal2-success-line'],
.swal2-icon.swal2-success .swal2-success-ring { border-color: var(--am-primary) !important; }
.swal2-icon.swal2-success [class^='swal2-success-line'] { background-color: var(--am-primary) !important; }

/* RTL fixes ------------------------------------------------------------- */
[dir="rtl"] .am-hero-title { letter-spacing: 0; }
[dir="rtl"] .am-chairman-quote { border-inline-start: 0; border-inline-end: 3px solid var(--am-primary); padding-inline-start: 0; padding-inline-end: 24px; }
[dir="rtl"] .am-milestone .node { inset-inline-start: auto; inset-inline-end: 28px; }
[dir="rtl"] .am-hero-stats .stat { border-inline-start: 0; border-inline-end: 2px solid var(--am-primary-light); padding-inline-start: 0; padding-inline-end: 16px; }


/* =======================================================================
   PIF-STYLE HEADER  (#am-header > #header.container)
   adapted for AMNEST
   ======================================================================= */

#am-header {
    position: fixed; top: 0; left: 0; right: 0;
    width: 100%;
    z-index: 1000;
    transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
    background: transparent;
}
/* Subtle top gradient so white logo/nav stay readable before hero bg loads
   (fades out once .scrolled switches to a solid white bar) */
#am-header::before {
    content: "";
    position: absolute; inset: 0 0 auto 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(4,14,9,0.55) 0%, rgba(4,14,9,0) 100%);
    pointer-events: none;
    transition: opacity .35s ease;
    opacity: 1;
    z-index: 0;
}
#am-header.scrolled::before { opacity: 0; }
#am-header > #header { position: relative; z-index: 1; }
#am-header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 6px 30px rgba(0,0,0,0.08);
    backdrop-filter: saturate(160%) blur(6px);
}

#am-header #header.container {
    max-width: 100%;
    padding: 0 40px;
}
#am-header #header > .row { margin: 0; align-items: center; }
#am-header .column-splitter { margin: 0; align-items: center; width: 100%; }
#am-header .row { --bs-gutter-x: 0; margin: 0; }

/* ---- Logos ---- */
#header-logo-transparent, #header-logo-normal {
    display: flex; align-items: center; padding: 18px 0;
}
#header-logo-transparent a, #header-logo-normal a { display: block; line-height: 0; }
#header-logo-transparent img, #header-logo-normal img {
    max-height: 54px; width: auto; display: block;
}
/* transparent logo = white; normal = dark */
#header-logo-transparent img { filter: brightness(0) invert(1); transition: filter .25s; }
#header-logo-normal { display: none; }

#am-header.scrolled #header-logo-transparent { display: none; }
#am-header.scrolled #header-logo-normal { display: flex; }

/* ---- Main navigation (desktop) ---- */
#header-nav-menu { padding: 0; }
#header-nav-menu nav > ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; justify-content: flex-end; align-items: center;
    gap: 36px;
}
#header-nav-menu nav > ul > li.level1 { position: relative; }
#header-nav-menu nav > ul > li.level1 > .navigation-title > a {
    display: block;
    padding: 28px 0;
    color: #fff;
    font-family: var(--am-font-head);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color .2s ease;
    position: relative;
}

/* #header-nav-menu nav > ul > li.level1 > .navigation-title > a:hover { color: white !important; } */
#am-header.scrolled #header-nav-menu nav > ul > li.level1 > .navigation-title > a { color: var(--am-ink); }

#header-nav-menu nav > ul > li.level1 > .navigation-title > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 18px;
    height: 2px; background: var(--am-primary);
    transform: scaleX(0); transform-origin: center;
    transition: transform .3s cubic-bezier(.77,0,.175,1);
}
#header-nav-menu nav > ul > li.level1:hover > .navigation-title > a,
/* #header-nav-menu nav > ul > li.level1.open > .navigation-title > a { color: var(--am-primary); } */
#header-nav-menu nav > ul > li.level1:hover > .navigation-title > a::after,
#header-nav-menu nav > ul > li.level1.open > .navigation-title > a::after { transform: scaleX(1); }

/* ---- Level 2 dropdown ---- */
#header-nav-menu nav > ul > li.level1.submenu > ul {
    position: absolute; top: 100%; left: -16px;
    min-width: 260px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    border-top: 3px solid var(--am-primary);
    list-style: none; padding: 10px 0; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
    border-radius: 0 0 8px 8px;
    z-index: 10;
}
[dir="rtl"] #header-nav-menu nav > ul > li.level1.submenu > ul { left: auto; right: -16px; }
#header-nav-menu nav > ul > li.level1.submenu:hover > ul,
#header-nav-menu nav > ul > li.level1.submenu.open > ul {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .3s ease, transform .3s ease, visibility 0s;
}
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2 { list-style: none; }
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2 > .navigation-title > a {
    display: block; padding: 11px 22px;
    color: var(--am-ink);
    font-size: 14px; font-weight: 500;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, padding .2s ease;
    border-inline-start: 3px solid transparent;
}
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2 > .navigation-title > a:hover {
    background: rgba(8,138,84,0.06);
    color: var(--am-primary);
    border-inline-start-color: var(--am-primary);
    padding-inline-start: 26px;
}

/* ---- Level 3 side-flyout (sector -> companies) ---- */
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu { position: relative; }
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu > .navigation-title > a::after {
    content: "";
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid var(--am-primary);
    border-right: 0;
    transform: translateY(-50%);
    opacity: .7;
    transition: transform .2s ease, opacity .2s ease;
}
[dir="rtl"] #header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu > .navigation-title > a::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid var(--am-primary);
    border-left: 0;
    font-size: 0;
}
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu:hover > .navigation-title > a::after {
    opacity: 1;
    transform: translateY(-50%) translateX(3px);
}
[dir="rtl"] #header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu:hover > .navigation-title > a::after {
    transform: translateY(-50%) translateX(-3px);
}
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu > ul {
    position: absolute;
    top: -10px;
    left: 100%;
    min-width: 240px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    border-top: 3px solid var(--am-primary);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
    border-radius: 0 0 8px 8px;
    z-index: 11;
}
[dir="rtl"] #header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu > ul {
    left: auto;
    right: 100%;
    transform: translateX(-8px);
}
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu:hover > ul,
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu.open > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity .3s ease, transform .3s ease, visibility 0s;
}
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu > ul li.level3 { list-style: none; }
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu > ul li.level3 > .navigation-title > a {
    display: block;
    padding: 10px 22px;
    color: var(--am-ink);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, padding .2s ease;
    border-inline-start: 3px solid transparent;
}
#header-nav-menu nav > ul > li.level1.submenu > ul li.level2.submenu > ul li.level3 > .navigation-title > a:hover {
    background: rgba(8,138,84,0.06);
    color: var(--am-primary);
    border-inline-start-color: var(--am-primary);
    padding-inline-start: 26px;
}

/* ---- Right-side hamburger / search / lang cluster ---- */
#am-header .header-hamburger { padding: 0; }
#am-header .header-hamburger .column-splitter {
    justify-content: flex-end; gap: 4px; align-items: center;
}
#am-header .header-hamburger .col-4 {
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto; width: auto;
}

/* ---- Burger button ---- */
.burger-menu-button {
    width: 44px; height: 44px;
    background: transparent; border: none;
    position: relative; cursor: pointer;
    padding: 0; display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: background .25s ease;
}
.burger-menu-button:hover { background: rgba(255,255,255,0.1); }
#am-header.scrolled .burger-menu-button:hover { background: rgba(8,138,84,0.08); }
.burger-menu-button::before,
.burger-menu-button::after {
    content: ""; position: absolute; left: 50%;
    width: 20px; height: 2px;
    background: #fff;
    transform: translateX(-50%);
    transition: top .3s ease, transform .3s ease, background .25s ease;
}
.burger-menu-button::before { top: 17px; }
.burger-menu-button::after  { top: 25px; }
#am-header.scrolled .burger-menu-button::before,
#am-header.scrolled .burger-menu-button::after { background: var(--am-ink); }
body.burger-open .burger-menu-button::before { top: 21px; transform: translateX(-50%) rotate(45deg); background: #fff; }
body.burger-open .burger-menu-button::after  { top: 21px; transform: translateX(-50%) rotate(-45deg); background: #fff; }

.burger-menu-close-button {
    display: none;
}

/* ---- Search trigger icon ---- */
#header-search { padding: 0; text-align: center; }
.search-popup {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background .25s ease;
}
.search-popup:hover { background: rgba(255,255,255,0.1); }
#am-header.scrolled .search-popup:hover { background: rgba(8,138,84,0.08); }
.magnifying-glass {
    display: inline-block; width: 16px; height: 16px;
    border: 2px solid #fff; border-radius: 50%;
    position: relative;
    transition: border-color .25s ease;
}
.magnifying-glass::after {
    content: ""; position: absolute;
    width: 8px; height: 2px; background: #fff;
    right: -5px; bottom: -1px;
    transform: rotate(45deg); transform-origin: left center;
    transition: background .25s ease;
}
[dir="rtl"] .magnifying-glass::after { right: auto; left: -5px; transform: rotate(-45deg); transform-origin: right center; }
#am-header.scrolled .magnifying-glass { border-color: var(--am-ink); }
#am-header.scrolled .magnifying-glass::after { background: var(--am-ink); }

/* hide mobile menu trigger on desktop */
#mobile-menu { display: none; padding: 0; }
.mobile-nav {
    display: inline-block; width: 22px; height: 16px; cursor: pointer; position: relative;
}
.mobile-nav::before, .mobile-nav::after, .mobile-nav {
    background-image: linear-gradient(#fff, #fff);
    background-size: 22px 2px;
    background-repeat: no-repeat;
    background-position: 0 0, 0 7px, 0 14px;
    background-image: linear-gradient(#fff,#fff), linear-gradient(#fff,#fff), linear-gradient(#fff,#fff);
}
#am-header.scrolled .mobile-nav { background-image: linear-gradient(var(--am-ink),var(--am-ink)), linear-gradient(var(--am-ink),var(--am-ink)), linear-gradient(var(--am-ink),var(--am-ink)); }

/* ---- Language selector ---- */
.language-selector { position: relative; padding: 0; }
.lang-active {
    min-width: 62px; height: 40px;
    padding: 0 18px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 999px;
    font-family: var(--am-font-head);
    font-size: 13px; font-weight: 700; letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .25s ease;
}
#am-header.scrolled .lang-active { color: var(--am-ink); border-color: rgba(0,0,0,0.18); }
.lang-active:hover { background: var(--am-primary); color: #fff !important; border-color: var(--am-primary); }
.language-selector.open .lang-active { background: var(--am-primary); color: #fff; border-color: var(--am-primary); }

.lang-selector-block {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-radius: 10px;
    min-width: 160px;
    padding: 8px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(10px) scale(0.97); transform-origin: top right;
    transition: all .3s cubic-bezier(.77,0,.175,1);
    z-index: 100;
}
[dir="rtl"] .lang-selector-block { right: auto; left: 0; transform-origin: top left; }
.language-selector.open .lang-selector-block {
    opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.lang-selector-block ul { list-style: none; padding: 0; margin: 0; }
.lang-selector-block li a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 18px;
    color: var(--am-ink); font-size: 14px; font-weight: 500;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.lang-selector-block li a:hover,
.lang-selector-block li a.active { background: rgba(8,138,84,0.08); color: var(--am-primary); }

/* ---- Burger side drawer ---- */
#burger-menu {
    position: fixed; top: 0; right: 0;
    width: 400px; max-width: 92vw; height: 100vh;
    background: linear-gradient(180deg, #0c2a1a 0%, #0a1f14 100%);
    z-index: 1200;
    padding: 110px 44px 40px;
    transform: translateX(100%);
    transition: transform .55s cubic-bezier(.77,0,.175,1);
    overflow-y: auto;
    box-shadow: -40px 0 80px rgba(0,0,0,0.35);
}
[dir="rtl"] #burger-menu { right: auto; left: 0; transform: translateX(-100%); }
body.burger-open #burger-menu { transform: translateX(0); }

.burger-menu-close-inner {
    position: absolute; top: 24px; right: 24px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
[dir="rtl"] .burger-menu-close-inner { right: auto; left: 24px; }
.burger-menu-close-inner:hover {
    background: rgba(255,255,255,0.18);
    border-color: #fff;
    transform: rotate(90deg);
}
.burger-menu-close-inner i { font-size: 20px; line-height: 1; pointer-events: none; }

@media (max-width: 767.98px) {
    .burger-menu-close-inner {
        top: 16px; right: 16px;
        background: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.5);
    }
    [dir="rtl"] .burger-menu-close-inner { right: auto; left: 16px; }
}

#burger-menu .component-content > .row { margin: 0; }
#burger-menu nav > ul { list-style: none; padding: 0; margin: 0 0 24px; }
#burger-menu nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.1); }
#burger-menu nav > ul > li:last-child { border-bottom: 0; }
#burger-menu nav > ul > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 4px;
    color: rgba(255,255,255,0.9);
    font-family: var(--am-font-head);
    font-size: 15px; font-weight: 500;
    text-decoration: none;
    transition: color .25s ease, padding .25s ease;
}
#burger-menu nav > ul > li > a::after {
    content: "→"; color: var(--am-primary-light);
    opacity: 0; transform: translateX(-8px);
    transition: opacity .25s ease, transform .25s ease;
    font-family: inherit;
}
[dir="rtl"] #burger-menu nav > ul > li > a::after { content: "←"; transform: translateX(8px); }
#burger-menu nav > ul > li > a:hover { color: #fff; padding-inline-start: 12px; }
#burger-menu nav > ul > li > a:hover::after { opacity: 1; transform: translateX(0); }

#burger-menu .rich-text h4 {
    color: rgba(255,255,255,0.45);
    font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
    font-weight: 700; margin: 30px 0 16px;
}
#burger-menu .link-list ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 10px; flex-wrap: wrap;
}
#burger-menu .link-list li a {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all .25s ease;
}
#burger-menu .link-list li a:hover {
    background: var(--am-primary); border-color: var(--am-primary);
    color: #fff; transform: translateY(-3px);
}

/* ---- Full site navigation inside the burger drawer (mobile accordion) ---- */
/* Mirrors the desktop mega-menu structure but collapses each branch to a
   tap-to-expand row. Scoped under .burger-nav-main so it never touches the
   simple HRMS/Connect lists that share #burger-menu. */
#burger-menu .burger-nav-main ul { list-style: none; padding: 0; margin: 0; }
#burger-menu .burger-nav-main .navigation-title { margin: 0; }
/* divider between the full nav and the HRMS/secondary links beneath it */
#burger-menu .burger-nav-main { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.12); }
#burger-menu .burger-nav-main .navigation-title > a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 15px 4px;
    color: rgba(255,255,255,0.9);
    font-family: var(--am-font-head);
    font-size: 15px; font-weight: 600;
    text-decoration: none;
    transition: color .25s ease, padding .25s ease;
}
#burger-menu .burger-nav-main .navigation-title > a:hover { color: #fff; }

/* chevron on rows that have a submenu; rotates when the row is open */
#burger-menu .burger-nav-main li.submenu > .navigation-title > a::after {
    content: ""; flex: 0 0 auto;
    width: 8px; height: 8px;
    margin-inline-start: 10px;
    border-right: 2px solid var(--am-primary-light);
    border-bottom: 2px solid var(--am-primary-light);
    transform: rotate(45deg);
    transition: transform .3s ease;
}
[dir="rtl"] #burger-menu .burger-nav-main li.submenu > .navigation-title > a::after {
    border-right: 0; border-left: 2px solid var(--am-primary-light);
    transform: rotate(-45deg);
}
#burger-menu .burger-nav-main li.submenu.open > .navigation-title > a::after { transform: rotate(-135deg); }
[dir="rtl"] #burger-menu .burger-nav-main li.submenu.open > .navigation-title > a::after { transform: rotate(135deg); }

/* collapsed branches */
#burger-menu .burger-nav-main li.submenu > ul {
    display: none;
    padding-inline-start: 14px;
    margin: 0 0 6px;
    border-inline-start: 1px solid rgba(255,255,255,0.1);
}
#burger-menu .burger-nav-main li.submenu.open > ul { display: block; animation: am-acc-down .28s ease; }
@keyframes am-acc-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* nested dividers + de-emphasis per depth */
#burger-menu .burger-nav-main li.level1 > ul > li { border-bottom: 1px solid rgba(255,255,255,0.06); }
#burger-menu .burger-nav-main li.level1 > ul > li:last-child { border-bottom: 0; }
#burger-menu .burger-nav-main li.level2 > .navigation-title > a {
    font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.78); padding: 12px 4px;
}
#burger-menu .burger-nav-main li.level3 > .navigation-title > a {
    font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.6); padding: 10px 4px;
}

/* backdrop when drawer/search is open */
body.burger-open::before,
body.search-open::before {
    /* content: ""; */
     position: fixed; 
     inset: 0;
    /* background: rgba(4,14,9,0.55); */
    /* backdrop-filter: blur(3px); */
    z-index: 1150;
    animation: am-fade-in .3s ease forwards;
}
body.search-open::before { 
  /* background: rgba(4,14,9,0.75); */
   z-index: 1250; }
@keyframes am-fade-in { from { opacity: 0; } to { opacity: 1; } }

body.burger-open, body.search-open { overflow: hidden; }

/* ---- Mobile navigation (side drawer-alt list on smaller screens) ---- */
.mobile-navigation { display: none; }

@media (max-width: 991.98px) {
    #am-header #header.container { padding: 0 16px; }
    #header-nav-menu { display: none !important; }
    /* outer splitter: logo flush left, right-cluster flush right */
    #am-header > #header > .row > .column-splitter { flex-wrap: nowrap; justify-content: space-between; }
    #am-header .col-2 { flex: 0 0 auto; width: auto; max-width: none; padding: 0; }
    #am-header .col-10 { flex: 0 0 auto; width: auto; max-width: none; padding: 0; }
    /* inner splitter: suppress the empty nav column so the cluster hugs the right */
    #am-header .col-10 > .row > .column-splitter { flex-wrap: nowrap; justify-content: flex-end; }
    #am-header .col-lg-10 { display: none !important; }
    #am-header .col-lg-2 { flex: 0 0 auto; width: auto; max-width: none; padding: 0; margin-inline-start: auto; }
    #header-logo-transparent img, #header-logo-normal img { max-height: 42px; }
    #header-logo-transparent, #header-logo-normal { padding: 12px 0; }
    #am-header .header-hamburger { width: auto; }
    #am-header .header-hamburger .column-splitter { gap: 0; flex-wrap: nowrap; }
    #am-header .header-hamburger .col-4 { padding: 0; }
    .lang-active { min-width: 48px; height: 36px; padding: 0 10px; font-size: 12px; }
    .burger-menu-button, .search-popup { width: 40px; height: 40px; }
    #burger-menu { padding: 90px 28px 40px; width: 100%; max-width: 100%; }
    /* ensure search overlay (when hidden) doesn't create overflow */
    .search-input-overlay { padding: 28px 20px; }
}

/* ---- Search overlay ---- */
.search-input-overlay {
    position: fixed; inset: 0;
    min-height: 70vh;
    background: rgba(6,18,11,0.96);
    backdrop-filter: blur(12px);
    z-index: 1300;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px 24px;
    opacity: 0; visibility: hidden;
    transition: opacity .4s ease, visibility 0s linear .4s;
}
body.search-open .search-input-overlay {
    opacity: 1; visibility: visible;
    transition: opacity .4s ease;
}
.search-input-overlay .component-content { width: 100%; max-width: 860px; }
.search-input-overlay .row { margin: 0; }

.search-popup-close {
    position: absolute; top: 32px; right: 32px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
[dir="rtl"] .search-popup-close { right: auto; left: 32px; }
.search-popup-close:hover {
    background: rgba(255,255,255,0.18);
    border-color: #fff;
    transform: rotate(90deg);
}
.search-popup-close i { font-size: 20px; line-height: 1; pointer-events: none; }
.search-popup-close span { display: none; }

@media (max-width: 767.98px) {
    .search-popup-close {
        top: 16px; right: 16px;
        width: 44px; height: 44px;
        background: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.5);
    }
    [dir="rtl"] .search-popup-close { right: auto; left: 16px; }
    .search-popup-close i { font-size: 22px; }
}

.pif-search-box { width: 100%; padding: 0; }
.pif-search-box-container { position: relative; width: 100%; }
.pif-search-box label {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
    margin-bottom: 18px;
    font-family: var(--am-font-head);
}
.pif-search-box-input {
    width: 100%; background: transparent; border: 0;
    border-bottom: 2px solid rgba(255,255,255,0.25);
    color: #fff;
    font-family: var(--am-font-head);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 500;
    padding: 14px 60px 14px 0;
    outline: none;
    transition: border-color .25s ease;
}
[dir="rtl"] .pif-search-box-input { padding: 14px 0 14px 60px; }
.pif-search-box-input:focus { border-bottom-color: var(--am-primary-light); }
.pif-search-box-input::placeholder { color: rgba(255,255,255,0.3); }

.search-box-button-with-redirect {
    position: absolute; right: 0; bottom: 18px;
    background: var(--am-primary);
    color: #fff; border: none;
    padding: 10px 24px;
    border-radius: 999px;
    font-family: var(--am-font-head);
    font-weight: 600; font-size: 13px; letter-spacing: 1px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
[dir="rtl"] .search-box-button-with-redirect { right: auto; left: 0; }
.search-box-button-with-redirect:hover { background: var(--am-primary-light); transform: translateY(-2px); }
.clear-input-btn { display: none; }

.pif-search-box-input.no-match {
    animation: am-search-shake .45s ease;
    border-bottom-color: #e74c3c !important;
}
@keyframes am-search-shake {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-6px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
}

.pif-popular-search { margin-top: 56px; padding: 0; }
.pif-popular-search-title {
    color: rgba(255,255,255,0.55);
    font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
    margin-bottom: 16px;
    font-family: var(--am-font-head);
}
.pif-popular-search-keywords {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 10px;
}
.pif-popular-search-keywords li {
    padding: 10px 20px;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: all .25s ease;
}
.pif-popular-search-keywords li:hover {
    background: var(--am-primary); border-color: var(--am-primary); color: #fff;
    transform: translateY(-2px);
}
.pif-popular-search-keywords .field-value { display: inline; }

/* ---- sr-only helper ---- */
.sr-only-n {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Prevent Bootstrap container-fluid padding inside header ---- */
#am-header .container-fluid { padding: 0; }
#am-header .component-content > .row { margin: 0; }

/* =========================================================
   COMPANY PROFILE PAGE (Mowatin, and other company sub-pages)
   ========================================================= */
.am-company-page { background: #fff; color: var(--am-ink); }

/* Hero */
.am-company-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 80px;
    overflow: hidden;
    color: #fff;
}
.am-company-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: saturate(0.9);
    z-index: 0;
}
.am-company-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}
.am-company-hero-inner {
    position: relative;
    z-index: 2;
}
.am-company-crumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    font-size: 16px;
    letter-spacing: .02em;
}
.am-company-crumbs a {
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    transition: color .2s ease;
}
.am-company-crumbs a:hover { color: #fff; }
.am-company-crumbs .sep { color: rgba(255,255,255,0.5); }
.am-company-crumbs .current { color: #fff !important; font-weight: 600; }
.am-company-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -.015em;
    margin: 0 0 14px;
    color: #fff !important;
}
.am-company-kicker {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    margin: 0;
    max-width: 640px;
}

/* Overview */
.am-company-overview { padding: 100px 0; }
.am-company-overview .am-eyebrow { color: var(--am-primary); }
.am-company-overview .am-heading { margin-bottom: 20px; }
.am-company-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--am-ink);
    margin-bottom: 16px;
}
.am-company-overview p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}
.am-company-figure {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.14);
    padding: 30px;
}
.am-company-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1px solid rgba(8,138,84,0.18);
    pointer-events: none;
}
.am-company-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s ease;
}
.am-company-figure:hover img { transform: scale(1.04); }

/* Highlights */
.am-company-highlights {
    background: #f7faf8;
    padding: 90px 0;
}
.am-highlight-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    border: 1px solid rgba(8,138,84,0.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.am-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(8,138,84,0.12);
    border-color: rgba(8,138,84,0.25);
}
.am-highlight-num {
    font-size: 44px;
    font-weight: 700;
    color: var(--am-primary);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: 14px;
}
.am-highlight-icon {
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(8,138,84,0.1);
    color: var(--am-primary);
    font-size: 26px;
    margin-bottom: 14px;
}
.am-highlight-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--am-ink);
    margin-bottom: 10px;
}
.am-highlight-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* CTA */
.am-company-cta {
    background: linear-gradient(135deg, #061423 0%, #0d2a1f 100%);
    padding: 90px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.am-company-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(8,138,84,0.25) 0%, transparent 60%);
    pointer-events: none;
}
.am-company-cta .container { position: relative; z-index: 1; }
.am-company-cta .am-heading { margin-bottom: 14px; }
.am-company-cta .am-accent-light { color: #3dd597; }
.am-company-cta p { max-width: 620px; margin: 0 auto 10px; }

/* RTL tweaks */
[dir="rtl"] .am-company-cta .am-accent-light,
[dir="rtl"] .am-company-overview .am-accent { display: inline-block; }

@media (max-width: 767px) {
    .am-company-hero { min-height: 340px; padding: 100px 0 60px; }
    .am-company-overview, .am-company-highlights, .am-company-cta { padding: 60px 0; }
    .am-company-lead { font-size: 15.5px; }
}

/* =========================================================
   NEWS & INSIGHTS — homepage teaser, GSAP-powered
   ========================================================= */
.am-news {
    padding: 110px 0 120px;
    background: var(--am-cream-soft);
    position: relative;
    overflow: hidden;
}

/* Decorative drifting background lines */
.am-news-bg-line {
    position: absolute;
    width: 140%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(8, 138, 84, 0.18) 35%,
        rgba(18, 178, 111, 0.32) 50%,
        rgba(8, 138, 84, 0.18) 65%,
        transparent 100%);
    pointer-events: none;
    transform-origin: center;
    z-index: 0;
}
.am-news-bg-line:not(.am-news-bg-line-2) {
    top: 12%;
    left: -20%;
    transform: rotate(-8deg);
}
.am-news-bg-line-2 {
    bottom: 18%;
    right: -20%;
    transform: rotate(7deg);
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(18, 178, 111, 0.16) 50%,
        transparent 100%);
}

.am-news .container { position: relative; z-index: 1; }

/* Header */
.am-news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.am-news-header-text { max-width: 720px; }
.am-news-header .am-heading {
    margin-bottom: 14px;
    /* Allow word-masks to wrap naturally */
    overflow: visible;
}
.am-news-header .am-lead {
    color: rgba(10, 31, 20, 0.72);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Word-by-word reveal mask used by GSAP split */
.am-word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: inherit;
    padding: 0 0.04em;
    margin: 0 -0.04em;
}
.am-word {
    display: inline-block;
    will-change: transform;
}
.am-word .am-accent { display: inline; }

/* CTA */
.am-news-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--am-primary);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 24px -10px var(--am-primary-glow);
    white-space: nowrap;
    will-change: transform;
    position: relative;
    overflow: hidden;
}
.am-news-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}
.am-news-cta:hover { color: #fff; background: var(--am-primary-dark); }
.am-news-cta:hover::after { transform: translateX(100%); }
[dir="rtl"] .am-news-cta svg { transform: scaleX(-1); }

/* Grid */
.am-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Card */
.am-news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 20, 0.06);
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
    position: relative;
    will-change: transform;
    transform-style: preserve-3d;
}
.am-news-card:hover {
    box-shadow: 0 32px 70px -22px rgba(8, 32, 22, 0.32);
    border-color: transparent;
}

/* Mouse-following glow */
.am-news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
        rgba(18, 178, 111, 0.18),
        transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}
.am-news-card.is-tilting::before { opacity: 1; }

.am-news-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
    position: relative;
    z-index: 1;
}

.am-news-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.am-news-card-media img {
    width: 100%;
    height: 116%;
    object-fit: cover;
    will-change: transform;
}

.am-news-chip {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--am-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.am-news-card-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.am-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(10, 31, 20, 0.55);
    font-size: 0.85rem;
}
.am-news-meta i {
    color: var(--am-primary);
    margin-inline-end: 6px;
}
.am-news-card-body h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin: 0;
    color: var(--am-ink);
    font-weight: 700;
    transition: color 0.3s ease;
}
.am-news-card:hover .am-news-card-body h3 { color: var(--am-primary); }
.am-news-card-body p {
    color: rgba(10, 31, 20, 0.68);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.am-news-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--am-primary);
    font-weight: 600;
    font-size: 0.92rem;
    margin-top: 4px;
}
.am-news-read i { transition: transform 0.3s ease; }
.am-news-card:hover .am-news-read i { transform: translateX(6px); }
[dir="rtl"] .am-news-card:hover .am-news-read i { transform: translateX(-6px); }

/* ---- GSAP pre-init state ----
   When JS marks the section with data-fx-ready, hide elements
   so GSAP can animate them in from a clean slate. */
.am-news[data-fx-ready] .am-fx-eyebrow,
.am-news[data-fx-ready] .am-fx-lead,
.am-news[data-fx-ready] .am-fx-cta,
.am-news[data-fx-ready] .am-fx-card { opacity: 0; }

/* Static fallback — reduced-motion or GSAP failed to load */
.am-news.is-static .am-fx-eyebrow,
.am-news.is-static .am-fx-lead,
.am-news.is-static .am-fx-cta,
.am-news.is-static .am-fx-card { opacity: 1 !important; transform: none !important; }
.am-news.is-static .am-word { transform: none !important; }

/* Responsive */
@media (max-width: 991px) {
    .am-news-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .am-news-header { margin-bottom: 44px; }
}
@media (max-width: 640px) {
    .am-news { padding: 70px 0 80px; }
    .am-news-grid { grid-template-columns: 1fr; }
    .am-news-header { flex-direction: column; align-items: flex-start; }
    [dir="rtl"] .am-news-header { align-items: flex-end; }
    .am-news-bg-line { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .am-news-card,
    .am-news-cta,
    .am-news-cta::after,
    .am-news-read i,
    .am-news-card-body h3 { transition: none !important; }
    .am-news-card::before { display: none; }
}


/* =========================================================
   NEWS — CINEMA (pinned 3D card theater, light theme)
   ========================================================= */
.am-cinema {
    position: relative;
    background: radial-gradient(ellipse at 30% 20%, #f0f7f2 0%, var(--am-cream-soft) 55%, var(--am-cream) 100%);
    color: var(--am-ink);
    overflow: hidden;
}

.am-cinema-pin {
    height: 100vh;
    min-height: 720px;
    display: flex;
    align-items: center;
    position: relative;
}

.am-cinema-row { width: 100%; }

/* Ambient glows — softer over light bg */
.am-cinema-glow {
    position: absolute;
    width: 50vw;
    height: 50vw;
    max-width: 700px;
    max-height: 700px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.am-cinema-glow-1 {
    top: -10%;
    left: -10%;
    background: rgba(102, 225, 168, 0.30);
}
.am-cinema-glow-2 {
    bottom: -15%;
    right: -10%;
    background: rgba(8, 138, 84, 0.18);
}

/* Info column */
.am-cinema-info {
    position: relative;
    z-index: 2;
    padding-inline-end: 40px;
}
[dir="rtl"] .am-cinema-info { padding-inline-end: 0; padding-inline-start: 40px; }

.am-cinema-eyebrow { color: var(--am-primary) !important; }
.am-cinema-eyebrow::before { background: var(--am-primary) !important; }

.am-cinema-heading { color: var(--am-ink); margin-bottom: 22px; }
.am-cinema-heading .am-accent { color: var(--am-primary); }

.am-cinema-lead {
    color: rgba(10, 31, 20, 0.72);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 40px;
    max-width: 460px;
}

/* Progress */
.am-cinema-progress {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.am-cinema-progress-num {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--am-font-nav);
    font-weight: 700;
    line-height: 1;
    color: var(--am-ink);
}
.am-cinema-progress-num [data-cinema-num] {
    font-size: 3rem;
    color: var(--am-primary);
    display: inline-block;
    min-width: 56px;
    will-change: transform, opacity;
}
.am-cinema-progress-divider,
.am-cinema-progress-total {
    font-size: 1.4rem;
    color: rgba(10, 31, 20, 0.35);
}
.am-cinema-progress-track {
    flex: 1 1 160px;
    height: 2px;
    background: rgba(10, 31, 20, 0.10);
    overflow: hidden;
    border-radius: 2px;
}
.am-cinema-progress-fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--am-primary), var(--am-primary-light));
    border-radius: 2px;
}
.am-cinema-progress-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(10, 31, 20, 0.55);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    width: 100%;
}
.am-cinema-progress-hint i { font-size: 1.1rem; color: var(--am-primary); }

/* CTA — solid primary, matches the other news section */
.am-cinema-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid transparent;
    background: var(--am-primary);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 24px -10px var(--am-primary-glow);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.am-cinema-cta:hover {
    background: var(--am-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px var(--am-primary-glow);
}
[dir="rtl"] .am-cinema-cta svg { transform: scaleX(-1); }

/* Stage + cards */
.am-cinema-stage-wrap {
    position: relative;
    z-index: 1;
    padding-block: 20px;
}
.am-cinema-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-width: 520px;
    margin: 0 auto;
    perspective: 1400px;
    transform-style: preserve-3d;
    max-width: 60vh;
}

.am-cinema-card {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background-size: cover;
    background-position: center;
    box-shadow:
        0 60px 120px -30px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transform-style: preserve-3d;
    overflow: hidden;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.am-cinema-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 45%,
        rgba(255, 255, 255, 0.96) 100%);
}

.am-cinema-card-num {
    position: absolute;
    top: 22px;
    inset-inline-start: 22px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    font-family: var(--am-font-nav);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--am-primary);
    z-index: 2;
}

.am-cinema-card-content {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    padding: 32px 32px 36px;
    z-index: 2;
    color: var(--am-ink);
}
.am-cinema-card-content .am-cinema-chip {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(8, 138, 84, 0.10);
    border: 1px solid rgba(8, 138, 84, 0.30);
    color: var(--am-primary);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.am-cinema-card-date {
    color: rgba(10, 31, 20, 0.60);
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.am-cinema-card-date i {
    color: var(--am-primary);
    margin-inline-end: 6px;
}
.am-cinema-card-content h3 {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    line-height: 1.25;
    margin: 0 0 10px;
    color: var(--am-ink);
    font-weight: 700;
}
.am-cinema-card-content p {
    color: rgba(10, 31, 20, 0.70);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    max-width: 480px;
}

/* Pre-init hide (JS sets data-fx-ready) */
.am-cinema[data-fx-ready] .am-cinema-card { opacity: 0; }
.am-cinema[data-fx-ready] .am-cinema-card:first-of-type { opacity: 1; }

/* Static fallback (reduced motion or GSAP failed) */
.am-cinema.is-static .am-cinema-card {
    opacity: 1 !important;
    transform: none !important;
    position: relative;
    margin-bottom: 24px;
}
.am-cinema.is-static .am-cinema-stage {
    aspect-ratio: auto;
    perspective: none;
    max-width: 100%;
}
.am-cinema.is-static .am-cinema-pin {
    height: auto;
    padding: 80px 0;
}

/* Mobile layout — cards stack vertically, JS handles per-card 3D rise */
@media (max-width: 991px) {
    .am-cinema-pin {
        height: auto;
        min-height: 0;
        padding: 80px 0;
    }
    .am-cinema-info {
        padding-inline-end: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    [dir="rtl"] .am-cinema-info { padding-inline-start: 0; }
    .am-cinema-eyebrow { display: inline-flex !important; }
    .am-cinema-lead { margin-inline: auto; }
    .am-cinema-progress { justify-content: center; }

    .am-cinema-stage {
        aspect-ratio: auto;
        perspective: 1000px;
        max-width: 480px;
    }
    .am-cinema-card {
        position: relative;
        inset: auto;
        aspect-ratio: 4 / 5;
        margin-bottom: 24px;
    }
    .am-cinema[data-fx-ready] .am-cinema-card { opacity: 0; }
    .am-cinema[data-fx-ready] .am-cinema-card:first-of-type { opacity: 0; }
    .am-cinema.is-mobile .am-cinema-progress { display: none; }
}

@media (max-width: 640px) {
    .am-cinema-card-content { padding: 22px 22px 26px; }
    .am-cinema-card-content h3 { font-size: 1.15rem; }
    .am-cinema-progress-num [data-cinema-num] { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .am-cinema-cta { transition: none !important; }
}
