/* ==========================================================================
   HOME (index.html only) — Aramco-style redesign
   Scope: body.home. All other pages keep theme.css chrome untouched.
   No glassmorphism: every surface is solid or a solid gradient.
   The navbar block below is also shared with the About page (body.about),
   which uses the same transparent-at-top navbar over its full-screen hero.
   ========================================================================== */

/* --------------------------------------------------------------------------
   2. HERO  — Aramco: full-screen background slideshow, vertically centered
   content, large light-weight heading, tab indicators at bottom.
   -------------------------------------------------------------------------- */
body.home .hero-zone {
  position: relative;
  overflow: hidden;
}
/* Subtle top blue gradient to improve navbar link readability on bright slides */
body.home .hero-zone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(1, 129, 187, 0.38) 0%,
    rgba(1, 129, 187, 0.18) 45%,
    rgba(1, 129, 187, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}
body.home [data-home-operations-map] {
  display: none !important;
}
/* Logo marquee sits in normal document flow after the hero-zone,
   below the hero and its vertical navigation. */
body.home .marquee-wrap {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: #fff;
}
body.home .hero {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-brand-blue, #0181bb);
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  box-sizing: border-box;
}
body.home,
body.about {
  overflow-x: clip;
}

body.home .hero-zone .hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 0;
  overflow: hidden;
}
body.home .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(-1.5%, 0, 0);
  transition: opacity 900ms ease, transform 900ms ease;
  will-change: opacity, transform;
}
body.home .hero-slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  z-index: 1;
}
body.home .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.home .hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
/* Portrait delivery files remain landscape photographs. The browser crops only
   at presentation time, preserving a cinematic, full-bleed hero. */
body.home .hero-slide[data-hero-slide="energies"] img { object-position: 56% center; }
body.home .hero-slide[data-hero-slide="manufacturing"] img { object-position: 51% center; }
body.home .hero-slide[data-hero-slide="automotive"] img { object-position: 59% center; }
body.home .hero-slide[data-hero-slide="real-estate"] img { object-position: 56% center; }
body.home .hero-slide[data-hero-slide="agro"] img { object-position: 61% center; }
body.home .hero-slide[data-hero-slide="logistics"] img { object-position: 48% center; }
/* Left-side scrim only — right side shows the photo */
body.home .hero-scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 2;
  background: linear-gradient(90deg,
    rgba(1, 129, 187, 0.22) 0%,
    rgba(1, 129, 187, 0.12) 30%,
    rgba(1, 129, 187, 0.04) 50%,
    rgba(1, 129, 187, 0) 65%);
}

/* Content: vertically centered, pushed down below navbar */
body.home .hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: clamp(120px, 15vh, 170px) 60px clamp(92px, 11vh, 132px);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  transform: translateY(clamp(28px, 6vh, 72px));
}
body.home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
body.home .hero-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-yellow-accent, var(--yellow));
}
body.home .hero-eyebrow span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-yellow-accent, var(--yellow));
}

/* Large light-weight heading like Aramco */
body.home .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  max-width: 22ch;
}
body.home .hero h1 em {
  color: var(--color-yellow-accent, var(--yellow));
  font-style: normal;
  display: block;
}
body.home .hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem) !important;
  font-weight: 300 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 28px !important;
  max-width: 650px !important;
}
body.home .hero-keyfacts {
  display: flex;
  gap: 32px;
  margin-bottom: 12px;
}
body.home .hero-kf {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.home .hero-kf-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-yellow-accent, var(--yellow));
  line-height: 1.1;
}
body.home .hero-kf-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
body.home .hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
body.home .hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
body.home .hero-link-ico {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  color: #ffffff;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out);
}
body.home .hero-link-ico svg {
  width: 22px;
  height: 22px;
}
body.home .hero-link:hover {
  color: var(--color-yellow-accent, var(--yellow));
}
body.home .hero-link:hover .hero-link-ico {
  background: var(--color-yellow-accent, var(--yellow));
  border-color: var(--color-yellow-accent, var(--yellow));
  color: var(--color-brand-blue-darkest, #0181bb);
  transform: translateX(4px);
}

/* Subtitle crossfade animations on slide change */
body.home .hero-sub {
  opacity: 1;
  will-change: transform, opacity;
}
body.home .hero-sub.hero-sub-exit {
  animation: lake-sub-exit 0.25s ease-in both;
}
body.home .hero-sub.hero-sub-slide {
  animation: lake-sub-slide 0.35s ease-out both;
}
@keyframes lake-sub-exit {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(6px); }
}
@keyframes lake-sub-slide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tab indicators at bottom (Aramco-style slide navigation) */
body.home .hero-mobile-sector-selector {
  display: none;
}
body.home .hero-tabs {
  position: absolute;
  bottom: clamp(24px, 3.5vh, 40px);
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  padding: 0 80px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.home .hero-tab {
  flex: 0 1 auto;
  padding: 18px 24px 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: visible;
  text-align: center;
  font-family: var(--font-body);
}
body.home .hero-tab.is-active {
  color: #ffffff;
  border-bottom-color: transparent;
}
body.home .hero-tab:not(.is-active):hover {
  color: rgba(255, 255, 255, 0.8);
}
/* Progress fill inside each tab — track always visible, gradient only on active */
body.home .hero-tab-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
body.home .hero-tab-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-yellow-accent, var(--yellow)), #7ecb3a);
  border-radius: 2px;
}
body.home .hero-tab.is-active .hero-tab-fill::after {
}
body.home .hero-tab-fill.is-running::after {
  animation: lake-tab-progress 8s linear forwards;
}
@keyframes lake-tab-progress {
  from { width: 0; }
  to { width: 100%; }
}

/* Tab thumbnail preview on hover — drawer pull effect */
body.home .hero-tab-thumb {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transition: opacity 0.25s ease, clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 5;
  margin-bottom: 8px;
}
body.home .hero-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.home .hero-tab-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.5));
}
body.home .hero-tab:hover .hero-tab-thumb {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
body.home .hero-tab:hover {
  z-index: 15;
}

/* Mobile: simpler tabs */
@media (max-width: 720px) {
  body.home .hero,
  body.home .hero-content { min-height: 92svh; }
  body.home .hero-slide[data-hero-slide="energies"] img { object-position: 58% center; }
  body.home .hero-slide[data-hero-slide="manufacturing"] img { object-position: 53% center; }
  body.home .hero-slide[data-hero-slide="automotive"] img { object-position: 62% center; }
  body.home .hero-slide[data-hero-slide="real-estate"] img { object-position: 59% center; }
  body.home .hero-slide[data-hero-slide="agro"] img { object-position: 64% center; }
  body.home .hero-slide[data-hero-slide="logistics"] img { object-position: 52% center; }
  body.home .hero-tab-thumb {
    display: none;
  }
  body.home .hero-content {
    padding: 92px 20px 108px;
    transform: translateY(clamp(18px, 4vh, 34px));
  }
  body.home .hero-tabs {
    bottom: clamp(34px, 5vh, 56px);
    padding: 0 8px;
  }
  body.home .hero-eyebrow {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 16px;
  }
  body.home .hero-eyebrow::before {
    width: 20px;
    flex-shrink: 0;
  }
  body.home .hero-eyebrow span {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }
  body.home .hero-sub {
    max-width: 100% !important;
    font-size: 1.08rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    line-height: 1.36 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .52);
    margin-bottom: 14px !important;
    letter-spacing: -0.01em !important;
  }
  body.home .hero-keyfacts {
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 16px;
  }
  body.home .hero-kf {
    min-width: 70px;
  }
  body.home .hero-kf-num {
    font-size: 1.1rem;
  }
  body.home .hero-kf-label {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, .96);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .58);
  }
  body.home .hero-cta {
    margin-top: 4px;
  }
  body.home .hero-link {
    font-size: 0.74rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .58);
    gap: 12px;
  }
  body.home .hero-link-ico {
    width: 40px;
    height: 40px;
    border-color: rgba(255, 255, 255, .96);
  }
  body.home .hero-link-ico svg {
    width: 18px;
    height: 18px;
  }
  body.home .hero-tabs {
    display: none;
  }
  body.home .hero-mobile-sector-selector {
    position: absolute;
    z-index: 6;
    display: block;
    left: 24px;
    right: 76px;
    bottom: clamp(72px, 10vh, 104px);
    color: #fff;
    background: rgba(3, 53, 79, .48);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
  }
  body.home .hero-mobile-sector-kicker {
    padding: 11px 14px 3px;
    color: rgba(255, 255, 255, .62);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  body.home .hero-mobile-sector-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 4px 14px 11px;
    color: #fff;
    background: transparent;
    border: 0;
    font: 700 .78rem/1.2 var(--font-body);
    letter-spacing: .1em;
    text-align: left;
    text-transform: uppercase;
  }
  body.home .hero-mobile-sector-chevron {
    width: 8px;
    height: 8px;
    margin-right: 2px;
    border-right: 1.5px solid var(--color-yellow-accent, var(--yellow));
    border-bottom: 1.5px solid var(--color-yellow-accent, var(--yellow));
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
  }
  body.home .hero-mobile-sector-selector.is-open .hero-mobile-sector-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
  }
  body.home .hero-mobile-sector-options {
    padding: 5px 0 7px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
  body.home .hero-mobile-sector-options button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 8px 14px;
    color: rgba(255, 255, 255, .82);
    background: transparent;
    border: 0;
    font: 600 .74rem/1.2 var(--font-body);
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
  }
  body.home .hero-mobile-sector-options button[aria-selected="true"] {
    color: var(--color-yellow-accent, var(--yellow));
  }
  body.home .hero-mobile-sector-options button[aria-selected="true"]::after {
    content: "✓";
    font-size: .85rem;
  }
  body.home .hero-mobile-sector-options button:focus-visible,
  body.home .hero-mobile-sector-options button:hover,
  body.home .hero-mobile-sector-trigger:focus-visible {
    outline: 2px solid rgba(255, 242, 0, .72);
    outline-offset: -2px;
  }
  body.home .hero-mobile-sector-options[hidden] {
    display: none;
  }
}

/* The mobile hero category is informational; autoplay remains authoritative. */
@media (max-width: 720px) {
  body.home .hero-mobile-sector-selector { display: none !important; }
  body.home .hero-mobile-sector-indicator {
    position: absolute;
    z-index: 6;
    display: block;
    left: 20px;
    right: 20px;
    bottom: clamp(28px, 4.5vh, 46px);
    color: #fff;
    pointer-events: none;
  }
  body.home .hero-mobile-sector-label {
    display: block;
    color: rgba(255, 255, 255, .9);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  body.home .hero-mobile-sector-label.is-updating { animation: lake-mobile-sector-fade .32s ease both; }
  body.home .hero-mobile-sector-progress {
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 10px;
    background: rgba(255, 255, 255, .22);
    overflow: hidden;
  }
  body.home .hero-mobile-sector-progress > span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--color-yellow-accent, var(--yellow));
    transform-origin: left center;
  }
  body.home .hero-mobile-sector-progress.is-running > span { animation: lake-mobile-sector-progress 8s linear forwards; }
  @keyframes lake-mobile-sector-progress { from { width: 0; } to { width: 100%; } }
  @keyframes lake-mobile-sector-fade { from { opacity: 0; } to { opacity: 1; } }
  body.home .hero-mobile-sector-indicator[hidden] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.home .hero-mobile-sector-progress > span { width: 100%; animation: none !important; }
  body.home .hero-mobile-sector-label.is-updating { animation: none !important; }
}

/* --------------------------------------------------------------------------
   3. KEY FACTS band  — solid navy, yellow numerals, hairline dividers
   -------------------------------------------------------------------------- */
body.home .keyfacts {
  background: var(--color-brand-blue-darkest, #0181bb);
  border-top: 3px solid var(--color-yellow-accent, var(--yellow));
  border-bottom: 3px solid var(--color-yellow-accent, var(--yellow));
  position: relative;
  z-index: 2;
}
body.home .keyfacts-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
body.home .keyfact {
  padding: 36px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
body.home .keyfact:first-child {
  border-left: none;
}
body.home .keyfact-num {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 500;
  color: var(--color-yellow-accent, var(--yellow));
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
body.home .keyfact-label {
  margin-top: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. DIVISIONS — Aramco Media_Teaser cards: image + bottom scrim, overline,
   heading, circular arrow icon. All links + i18n keys preserved.
   -------------------------------------------------------------------------- */
body.home .divisions-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
body.home .divisions-grid .aramco-card:nth-child(-n+4) {
  grid-column: span 3;
}
body.home .divisions-grid .aramco-card:nth-child(n+5) {
  grid-column: span 4;
}
body.home .aramco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-brand-blue-darkest, #0181bb);
  color: #ffffff;
  min-height: 330px;
  max-height: 380px;
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-out);
}
body.home .aramco-card:hover {
  box-shadow: 0 24px 48px -18px rgba(1, 129, 187, 0.55);
  transform: translateY(-4px);
}
body.home .aramco-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
body.home .aramco-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
body.home .aramco-card:hover .aramco-card-media img {
  transform: scale(1.07);
}
body.home a[href="lake-oil.html"] .aramco-card-media img { object-position: 62% 50%; }
body.home a[href="lake-gas.html"] .aramco-card-media img { object-position: 50% 48%; }
body.home a[href="lake-trans.html"] .aramco-card-media img { object-position: 48% 46%; }
body.home a[href="lake-premix-cement.html"] .aramco-card-media img { object-position: 50% 48%; }
body.home a[href="lake-lubes.html"] .aramco-card-media img { object-position: 52% 52%; }
body.home .aramco-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 129, 187, 0.04) 22%, rgba(1, 129, 187, 0.22) 55%, rgba(1, 129, 187, 0.72) 100%);
}
body.home .aramco-card-ico {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  color: #ffffff;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
body.home .aramco-card-ico svg {
  width: 18px;
  height: 18px;
}
body.home .aramco-card:hover .aramco-card-ico {
  background: var(--color-yellow-accent, var(--yellow));
  border-color: var(--color-yellow-accent, var(--yellow));
  color: var(--color-brand-blue-darkest, #0181bb);
}
body.home .aramco-card-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
}
body.home .aramco-card-over {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-yellow-accent, var(--yellow));
  margin-bottom: 6px;
}
body.home .aramco-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 6px;
}
body.home .aramco-card p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}
body.home .aramco-card .div-countries {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 10px;
}
body.home .aramco-card .div-country {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
body.home .aramco-card .div-country .flag-icon {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  flex-shrink: 0;
}
body.home .aramco-card .map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-yellow-accent, var(--yellow));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 12px;
}
body.home .aramco-card .map-link::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpolyline points='1,2 4,5 7,2' fill='none' stroke='currentColor' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  display: inline-flex;
  width: 0.75em;
  height: 0.55em;
}
body.home .aramco-card--solid {
  background: linear-gradient(160deg, rgba(5, 153, 211, 0.88) 0%, rgba(1, 129, 187, 0.82) 48%, rgba(1, 129, 187, 0.92) 100%), url('images/pages-map.png') center/cover no-repeat !important;
  background-color: #0181bb !important;
  isolation: isolate;
}
body.home .aramco-card--solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5, 153, 211, 0.88) 0%, rgba(1, 129, 187, 0.82) 48%, rgba(1, 129, 187, 0.92) 100%);
  z-index: 0;
}
body.home .aramco-card--solid > * {
  position: relative;
  z-index: 1;
}
body.home .aramco-card--solid .aramco-card-ico {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
}
body.home .aramco-card--solid h3,
body.home .aramco-card--solid p,
body.home .aramco-card--solid .aramco-card-over,
body.home .aramco-card--solid .map-link {
  color: #ffffff !important;
}
body.home .aramco-card--solid .aramco-card-logo {
  height: 46px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  display: block;
}

/* --------------------------------------------------------------------------
   5. CTA BAND — solid brand yellow kept (brand standard)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   6. FOOTER — Puma-style multi-column: brand, link columns, "Got a
   Question?", "Connect With Us" round social icons. Brand colors.
   All existing links preserved.
   -------------------------------------------------------------------------- */
body.home .site-footer {
  background: var(--color-brand-blue-darkest, #0181bb);
  border-top: 3px solid var(--color-yellow-accent, var(--yellow));
}
body.home .footer-grid {
  grid-template-columns: 1.5fr 1.1fr 1.1fr 1.35fr 1.1fr;
  gap: 44px;
  align-items: start;
}
body.home .footer-col h5 {
  color: var(--color-yellow-accent, var(--yellow));
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
body.home .footer-col ul li {
  margin-bottom: 10px;
}
body.home .footer-col ul a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  background-image: linear-gradient(var(--color-yellow-accent, var(--yellow)), var(--color-yellow-accent, var(--yellow)));
}
body.home .footer-col ul a:hover {
  color: var(--color-yellow-accent, var(--yellow));
}
body.home .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
body.home .social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
body.home .social-link:hover {
  background: var(--color-yellow-accent, var(--yellow));
  border-color: var(--color-yellow-accent, var(--yellow));
  color: var(--color-brand-blue-darkest, #0181bb);
}
body.home .country-tag {
  background: transparent !important;
}
body.home .footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.home .site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 42px;
  padding-top: 18px;
  padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  body.home .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px 30px;
  }
  body.home .divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body.home .divisions-grid .aramco-card:nth-child(-n+4),
  body.home .divisions-grid .aramco-card:nth-child(n+5) {
    grid-column: span 1;
  }
  body.home .keyfacts-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  body.home .keyfact:nth-child(3) {
    border-left: none;
  }
  body.home .keyfact:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 28px;
  }
}

@media (max-width: 860px) {
  body.home .hero-content {
    padding: 100px 24px 70px;
  }
  body.home .hero h1 {
    max-width: 100%;
  }
  body.home .hero-sub {
    max-width: 100%;
    font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
  }
  body.home .hero-tabs {
    padding: 0 20px;
  }
  body.home .hero-tab {
    padding: 14px 14px 10px;
    font-size: 0.6rem;
  }
}

@media (max-width: 720px) {
  body.home .divisions-grid {
    grid-template-columns: 1fr;
  }
  body.home .divisions-grid .aramco-card:nth-child(-n+4),
  body.home .divisions-grid .aramco-card:nth-child(n+5) {
    grid-column: span 1;
  }
  body.home .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  body.home .keyfacts-inner {
    grid-template-columns: 1fr 1fr;
  }
  body.home .keyfact {
    padding: 26px 20px;
  }
  body.home .keyfact-num {
    font-size: 2.1rem;
  }
  .marquee-wrap {
    padding: 11px 0 !important;
  }
  .marquee-wrap .logoloop {
    --logoloop-gap: 34px !important;
    --logoloop-logoHeight: 34px !important;
  }
}

/* Narrow phones: key facts 1-col, about badge repositioned */
@media (max-width: 480px) {
  body.home .keyfacts-inner {
    grid-template-columns: 1fr;
  }
  body.home .keyfact-num {
    font-size: 1.8rem;
  }
}

/* Reduced motion: static first slide, no zoom/turnout/progress */
@media (prefers-reduced-motion: reduce) {
  body.home .hero-slide {
    transition: none;
  }
  body.home .hero-slide:not(.is-active) {
    display: none;
  }
  body.home .hero-slide.is-active img {
    animation: none;
  }
  body.home .hero-content > * {
    opacity: 1 !important;
    animation: none !important;
  }
  body.home .hero-tab-fill {
    animation: none !important;
  }
  body.home .aramco-card-media img {
    transition: none;
  }
  body.home .aramco-card:hover {
    transform: none;
  }
}

/* Global: fix social icon turning gold-on-gold (invisible) on hover — applies all pages */
.site-footer .social-link:hover .footer-social-ico,
.site-footer .social-link:hover .lg-ico {
  color: var(--color-brand-blue-darkest, #0181bb) !important;
}
