/* ==========================================================================
   RPC — Radiation Protection Company (شركة وقاية الإشعاع)
   Aramco / PIF / Saudi Government (DGA) Inspired Flagship Design System
   ========================================================================== */

:root {
  /* Core Brand & Sovereign Palette */
  --navy: #153258;
  --navy-deep: #0b1e36;
  --navy-abyss: #061222;
  --navy-tint: #eef3f8;

  --gold: #c59624;
  --gold-bright: #d9a932;
  --gold-light: #f7f0dc;
  --gold-border: rgba(197, 150, 36, 0.35);

  /* Saudi Institutional Accent */
  --saudi-green: #006c35;
  --saudi-green-tint: rgba(0, 108, 53, 0.08);

  /* Editorial Neutrals (Aramco / PIF Light Canvas) */
  --white: #ffffff;
  --Canvas: #f7f8fa;
  --stone: #eef1f5;
  --ink: #0d1b2a;
  --ink-body: #2b3a4a;
  --muted: #5c6b7c;
  --subtle: #8492a6;

  /* Architectural Hairlines */
  --line: #dfe5ec;
  --line-strong: #c8d2de;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Layout & Grid */
  --wrap: 1400px;
  --gutter: clamp(20px, 4.5vw, 68px);
  --section-py: clamp(80px, 9.5vw, 136px);

  /* Typography — Official Saudi DGA Standard (IBM Plex Sans Arabic) */
  --font-sans: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-display: "IBM Plex Sans Arabic", "Plus Jakarta Sans", "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* Elevation & Motion */
  --shadow-xs: 0 2px 8px rgba(11, 30, 54, 0.04);
  --shadow-sm: 0 8px 24px rgba(11, 30, 54, 0.06);
  --shadow-md: 0 18px 42px rgba(11, 30, 54, 0.1);
  --shadow-lg: 0 28px 64px rgba(6, 18, 34, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Keep phones from panning sideways; html needs it too, iOS ignores it on body alone */
html,
body {
  overflow-x: clip;
}

/* Lock on html, not body: body would become the scroller and the sticky header would slide away */
html.nav-open {
  overflow: hidden;
}

html[lang="ar"] body {
  line-height: 1.85;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.skip {
  position: fixed;
  top: -80px;
  inset-inline-start: 20px;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}

/* ==========================================================================
   Editorial Typography (Aramco / PIF Style)
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
  letter-spacing: 0;
  line-height: 1.32;
}

h1 {
  font-size: clamp(34px, 4.4vw, 60px);
}

h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

h3 {
  font-size: clamp(20px, 1.6vw, 24px);
}

/* Aramco-style Eyebrow Kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-block-end: 14px;
}

html[lang="ar"] .kicker {
  letter-spacing: 0;
  font-size: 14px;
}

.kicker::before {
  content: "";
  width: 3px;
  height: 15px;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.lead {
  font-size: clamp(17.5px, 1.35vw, 20.5px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 64ch;
  font-weight: 400;
}

/* Directional Arrows */
html[dir="rtl"] .dir-arrow {
  transform: scaleX(-1);
}

/* Buttons — Clean Architectural Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg.dir-arrow {
  transform: translateX(5px);
}

html[dir="rtl"] .btn:hover svg.dir-arrow {
  transform: scaleX(-1) translateX(5px);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--primary:hover {
  background: var(--navy-deep);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: #b0841b;
  box-shadow: 0 10px 28px rgba(197, 150, 36, 0.3);
}

.btn--white {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--gold-bright);
  color: var(--navy-abyss);
  border-color: var(--gold-bright);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--ghost-light:hover {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  color: var(--white);
}

/* Aramco-style Circle Arrow Link */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.cta-link__circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}

.cta-link__circle svg {
  width: 15px;
  height: 15px;
  color: var(--navy);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.cta-link:hover {
  color: var(--gold);
}

.cta-link:hover .cta-link__circle {
  background: var(--navy);
  border-color: var(--navy);
}

.cta-link:hover .cta-link__circle svg {
  color: var(--gold-bright);
}

/* ==========================================================================
   1. Saudi Government (DGA) Topbar & Aramco-Style Crisp White Header
   ========================================================================== */

.gov-bar {
  background: var(--navy-abyss);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 110;
}

.gov-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding-block: 6px;
  gap: 16px;
}

.gov-bar__official {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.gov-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  background: rgba(0, 108, 53, 0.25);
  border: 1px solid rgba(46, 184, 114, 0.4);
  color: #6ee7b7;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 2px;
}

.gov-bar__badge svg {
  width: 13px;
  height: 13px;
}

.gov-bar__utils {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gov-bar__utils a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.gov-bar__utils a:hover {
  color: var(--gold-bright);
}

.gov-bar__utils svg {
  width: 13.5px;
  height: 13.5px;
  color: var(--gold-bright);
}

.gov-bar__sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.16);
}

.lang-pill {
  padding: 2px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 12.5px;
}

.lang-pill:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--navy-abyss) !important;
}

/* Main Crisp White Header (Aramco / PIF Style) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-block-end: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(11, 30, 54, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  flex-shrink: 0;
}

.brand__logo {
  width: 184px;
  height: auto;
}

.brand__divider {
  width: 1px;
  height: 34px;
  background: var(--line);
}

.brand__tag {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  max-width: 150px;
  font-weight: 500;
}

/* Primary Nav */
.nav {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav__list {
  display: flex;
  align-items: stretch;
  gap: 6px;
  height: 100%;
}

.nav__item {
  display: flex;
  align-items: stretch;
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-inline: 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  min-height: 86px;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 18px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--navy);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__caret {
  width: 13px;
  height: 13px;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.nav__item--mega:hover .nav__caret {
  transform: rotate(180deg);
}

/* Aramco-Style Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  inset-inline-start: -120px;
  width: 680px;
  background: var(--white);
  border: 1px solid var(--line);
  border-block-start: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s var(--ease);
  z-index: 150;
}

.nav__item--mega:hover .mega-menu,
.nav__item--mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu__list {
  display: grid;
  gap: 4px;
}

.mega-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.mega-menu__link:hover {
  background: var(--Canvas);
  color: var(--navy);
  padding-inline-start: 16px;
}

.mega-menu__code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--navy-tint);
  padding: 2px 8px;
  border-radius: 2px;
}

.mega-menu__aside {
  background: var(--navy-deep);
  color: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.mega-menu__aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.mega-menu__aside-copy {
  position: relative;
  z-index: 1;
}

.mega-menu__aside-copy span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-bright);
  display: block;
  margin-block-end: 6px;
}

.mega-menu__aside-copy h4 {
  color: var(--white);
  font-size: 16px;
  margin-block-end: 12px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__cta {
  padding: 11px 22px;
  font-size: 14px;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-deep);
  cursor: pointer;
}

.burger i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s, top 0.25s var(--ease);
}

.burger i:nth-child(1) { top: 14px; }
.burger i:nth-child(2) { top: 21px; }
.burger i:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Only shown inside the phone menu */
.nav__sub-toggle,
.nav__contact {
  display: none;
}

/* ==========================================================================
   2. Aramco-Style Widescreen Hero with Animated Progress Tabs
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy-abyss);
  color: var(--white);
  overflow: hidden;
}

.hero__media-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 7s ease-out;
}

.hero__slide-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Editorial Gradient — Leaves the image clear and vibrant on one side */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 18, 34, 0.92) 0%, rgba(11, 30, 54, 0.72) 48%, rgba(6, 18, 34, 0.25) 100%),
    linear-gradient(180deg, rgba(6, 18, 34, 0.3) 0%, transparent 40%, rgba(6, 18, 34, 0.85) 100%);
}

html[dir="rtl"] .hero__veil {
  background:
    linear-gradient(270deg, rgba(6, 18, 34, 0.92) 0%, rgba(11, 30, 54, 0.72) 48%, rgba(6, 18, 34, 0.25) 100%),
    linear-gradient(180deg, rgba(6, 18, 34, 0.3) 0%, transparent 40%, rgba(6, 18, 34, 0.85) 100%);
}

.hero__body {
  position: relative;
  z-index: 3;
  min-height: clamp(540px, 75vh, 740px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(64px, 8vw, 110px);
}

.hero__pane {
  display: none;
  max-width: 780px;
  animation: heroReveal 0.7s var(--ease) forwards;
}

.hero__pane.is-active {
  display: block;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-inline-start: 3px solid var(--gold-bright);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-bright);
  margin-block-end: 24px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1.14;
  margin-block-end: 22px;
}

html[lang="ar"] .hero__title {
  line-height: 1.28;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17.5px, 1.4vw, 21px);
  line-height: 1.8;
  max-width: 60ch;
  margin-block-end: 36px;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Aramco-Style Bottom Segmented Progress Bar Tabs */
.hero__dock {
  position: relative;
  z-index: 3;
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 18, 34, 0.72);
  backdrop-filter: blur(16px);
}

.hero__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero__tab {
  background: transparent;
  border: 0;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 28px;
  text-align: start;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.hero__tab:last-child {
  border-inline-end: 0;
}

.hero__tab:hover,
.hero__tab[aria-selected="true"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.hero__tab-progress {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero__tab-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: start;
}

.hero__tab[aria-selected="true"] .hero__tab-progress i {
  animation: tabProgress 6.5s linear forwards;
}

@keyframes tabProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero__tab-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-bright);
  margin-block-end: 6px;
}

.hero__tab-title {
  font-size: 15.5px;
  font-weight: 600;
  display: block;
}

/* ==========================================================================
   3. Aramco Annual-Report Style Key Figures Strip ("RPC in Numbers")
   ========================================================================== */

.numbers-band {
  background: var(--white);
  border-block-end: 1px solid var(--line);
}

.numbers-band__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
}

.numbers-band__head {
  padding: 40px 32px 40px 0;
  border-inline-end: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

html[dir="rtl"] .numbers-band__head {
  padding: 40px 0 40px 32px;
}

.numbers-band__head h2 {
  font-size: 26px;
}

.number-col {
  padding: 40px 32px;
  border-inline-end: 1px solid var(--line);
  position: relative;
  transition: background-color 0.3s var(--ease);
}

.number-col:last-child {
  border-inline-end: 0;
}

.number-col::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: start;
  transition: transform 0.35s var(--ease);
}

.number-col:hover {
  background: var(--Canvas);
}

.number-col:hover::before {
  transform: scaleX(1);
}

.number-col__val {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
  margin-block-end: 8px;
  display: block;
}

.number-col__lbl {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
}

/* ==========================================================================
   4. Editorial Sections & Discover RPC Bento
   ========================================================================== */

.section {
  padding-block: var(--section-py);
  position: relative;
}

.section--canvas {
  background: var(--Canvas);
  border-block: 1px solid var(--line);
}

.section--navy {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy .lead {
  color: rgba(255, 255, 255, 0.74);
}

/* Editorial Header Row */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-block-end: clamp(44px, 5.5vw, 68px);
  flex-wrap: wrap;
}

.sec-head__main {
  max-width: 720px;
}

.sec-head__main h2 {
  margin-block-end: 14px;
}

/* Aramco 4-Card Editorial Grid ("Discover RPC") */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.discover-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.35s var(--ease);
  position: relative;
}

.discover-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: start;
  transition: transform 0.35s var(--ease);
}

.discover-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.discover-card:hover::after {
  transform: scaleX(1);
}

.discover-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--navy-deep);
}

.discover-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.discover-card:hover .discover-card__img img {
  transform: scale(1.06);
}

.discover-card__body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.discover-card__tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-block-end: 8px;
}

html[lang="ar"] .discover-card__tag {
  letter-spacing: 0;
  font-size: 13px;
}

.discover-card__title {
  font-size: 20px;
  color: var(--navy-deep);
  margin-block-end: 20px;
  flex: 1;
}

.discover-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.discover-card__foot svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

/* ==========================================================================
   5. Interactive Aramco/PIF Service Explorer + Complete Matrix
   ========================================================================== */

.service-explorer {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.service-explorer__nav {
  border-inline-end: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.service-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 26px;
  background: var(--white);
  border: 0;
  border-block-end: 1px solid var(--line);
  text-align: start;
  cursor: pointer;
  position: relative;
  transition: all 0.25s var(--ease);
}

.service-tab-btn:last-child {
  border-block-end: 0;
}

.service-tab-btn::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.25s var(--ease);
}

.service-tab-btn:hover {
  background: var(--Canvas);
}

.service-tab-btn.is-active {
  background: var(--navy-deep);
  color: var(--white);
}

.service-tab-btn.is-active::before {
  transform: scaleY(1);
}

.service-tab-btn__left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-tab-btn__num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
}

.service-tab-btn__title {
  font-weight: 600;
  font-size: 15.5px;
}

.service-tab-btn__code {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 2px;
}

.service-tab-btn.is-active .service-tab-btn__code {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.06);
}

.service-explorer__stage {
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-Detail-pane {
  display: none;
  flex-direction: column;
  height: 100%;
  animation: fadeStage 0.45s var(--ease) forwards;
}

.service-Detail-pane.is-active {
  display: flex;
}

@keyframes fadeStage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.service-Detail-pane__media {
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  overflow: hidden;
  position: relative;
  border-block-end: 1px solid var(--line);
}

.service-Detail-pane__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-Detail-pane__media--contain {
  background: linear-gradient(135deg, #f8fafc 0%, #eaeff6 100%);
  padding: 28px;
}

.service-Detail-pane__media--contain img {
  object-fit: contain;
}

.service-Detail-pane__body {
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.service-Detail-pane__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 12px;
}

.service-Detail-pane__badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  padding: 3px 10px;
}

.service-Detail-pane__body h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-block-end: 14px;
}

.service-Detail-pane__body p {
  color: var(--ink-body);
  font-size: 16.5px;
  margin-block-end: 22px;
}

.service-Detail-pane__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  margin-block-end: 22px;
}

.service-Detail-pane__points li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-Detail-pane__points svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-block-start: 3px;
}

/* ==========================================================================
   6. Aramco Editorial Feature Video Banner & Standards
   ========================================================================== */

.feature-cinema {
  position: relative;
  background: var(--navy-abyss);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  margin-block-end: clamp(60px, 7vw, 96px);
}

.feature-cinema__video {
  position: relative;
  min-height: 420px;
  background: #000;
}

.feature-cinema__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-cinema__controls {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-btn {
  background: rgba(6, 18, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.video-btn:hover {
  background: var(--gold-bright);
  color: var(--navy-abyss);
  border-color: var(--gold-bright);
}

.feature-cinema__copy {
  padding: clamp(32px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy-abyss) 100%);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-cinema__copy h2 {
  color: var(--white);
  margin-block-end: 16px;
}

.feature-cinema__copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.85;
  margin-block-end: 28px;
}

/* 3 Standards Cards */
.standards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.standard-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
}

.standard-card:hover {
  border-color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}

.standard-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-block-end: 1px solid rgba(255, 255, 255, 0.1);
}

.standard-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.standard-card:hover .standard-card__media img {
  transform: scale(1.05);
}

.standard-card__body {
  padding: 28px;
}

.standard-card__lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-bright);
  display: block;
  margin-block-end: 8px;
}

.standard-card__body h3 {
  color: var(--white);
  margin-block-end: 12px;
}

.standard-card__body p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 15.5px;
}

/* ==========================================================================
   7. PIF / Aramco Interactive Expanding Sector Columns
   ========================================================================== */

.sectors-accordion {
  display: flex;
  gap: 20px;
  min-height: 480px;
}

.sector-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--navy-abyss);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  border: 1px solid var(--line);
  transition: flex 0.55s var(--ease), border-color 0.35s var(--ease);
  isolation: isolate;
}

.sector-col:hover,
.sector-col:focus-within {
  flex: 1.55;
  border-color: var(--gold);
}

.sector-col__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.sector-col__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.sector-col:hover .sector-col__bg img {
  transform: scale(1.06);
}

.sector-col::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 18, 34, 0.15) 0%, rgba(6, 18, 34, 0.72) 55%, rgba(6, 18, 34, 0.96) 100%);
}

.sector-col__num {
  position: absolute;
  top: 24px;
  inset-inline-start: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(6, 18, 34, 0.75);
  border: 1px solid rgba(217, 169, 50, 0.4);
  padding: 4px 12px;
}

.sector-col__short {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-bright);
  margin-block-end: 8px;
}

.sector-col h3 {
  color: var(--white);
  font-size: 26px;
  margin-block-end: 12px;
}

.sector-col p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  max-width: 48ch;
  margin-block-end: 22px;
}

.sector-col__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-bright);
}

.sector-col__action svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   8. Sovereign Call to Action Banner
   ========================================================================== */

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(64px, 7.5vw, 104px);
  border-block-start: 4px solid var(--gold);
  position: relative;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band__copy {
  max-width: 680px;
}

.cta-band__copy h2 {
  color: var(--white);
  margin-block-end: 12px;
}

.cta-band__copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.cta-band__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   9. Inner Pages Architecture (Page Hero, About, Services, Sectors, Contact)
   ========================================================================== */

.page-hero {
  position: relative;
  background: var(--navy-abyss);
  color: var(--white);
  padding-block: clamp(64px, 8vw, 112px);
  border-block-end: 3px solid var(--gold);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 18, 34, 0.95) 0%, rgba(11, 30, 54, 0.82) 60%, rgba(6, 18, 34, 0.55) 100%);
}

html[dir="rtl"] .page-hero__bg::after {
  background: linear-gradient(270deg, rgba(6, 18, 34, 0.95) 0%, rgba(11, 30, 54, 0.82) 60%, rgba(6, 18, 34, 0.55) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.68);
  margin-block-end: 20px;
}

.breadcrumb a:hover {
  color: var(--gold-bright);
}

.page-hero h1 {
  color: var(--white);
  margin-block-end: 18px;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.84);
}

/* About Page Splits & Plaques */
.editorial-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.editorial-prose p {
  font-size: 17.5px;
  color: var(--ink-body);
  line-height: 1.85;
}

.editorial-prose p + p {
  margin-block-start: 18px;
}

.editorial-figure {
  position: relative;
  border: 1px solid var(--line);
  background: var(--navy-deep);
  box-shadow: var(--shadow-md);
}

.editorial-figure::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100px;
  height: 4px;
  background: var(--gold);
}

.editorial-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nrrc-charter {
  background: var(--navy-deep);
  color: var(--white);
  border-inline-start: 5px solid var(--gold);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.nrrc-charter h2 {
  color: var(--white);
  margin-block-end: 18px;
}

.nrrc-charter p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.85;
}

.nrrc-charter p + p {
  margin-block-start: 14px;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-block-start: 4px solid var(--navy);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-xs);
}

.mv-box--gold {
  border-block-start-color: var(--gold);
}

.mv-box h2 {
  font-size: 28px;
  margin-block-end: 16px;
}

.mv-box p {
  color: var(--ink-body);
  font-size: 17px;
  line-height: 1.85;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
  background: var(--white);
}

.value-col {
  padding: 32px 26px;
  border-inline-end: 1px solid var(--line);
  position: relative;
  transition: background-color 0.3s var(--ease);
}

.value-col:hover {
  background: var(--Canvas);
}

.value-col__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-block-end: 14px;
}

.value-col h3 {
  font-size: 20px;
  margin-block-end: 10px;
}

.value-col p {
  color: var(--muted);
  font-size: 15px;
}

/* Services & Sectors Catalogue Rows */
.subnav-strip {
  position: sticky;
  top: 86px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--line);
}

.subnav-strip__list {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-strip__list::-webkit-scrollbar {
  display: none;
}

.subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-inline-end: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.subnav-link span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gold);
}

.subnav-link:hover {
  background: var(--Canvas);
  color: var(--navy);
}

.catalogue-list {
  display: grid;
  gap: 44px;
}

.catalogue-item {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.catalogue-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.catalogue-item--flip {
  grid-template-columns: 1.05fr 0.95fr;
}

.catalogue-item--flip .catalogue-item__media {
  order: 2;
}

.catalogue-item__media {
  min-height: 360px;
  background: var(--navy-deep);
  overflow: hidden;
}

.catalogue-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalogue-item__media--contain {
  background: linear-gradient(135deg, #f8fafc 0%, #e8eef5 100%);
  padding: 36px;
}

.catalogue-item__media--contain img {
  object-fit: contain;
}

.catalogue-item__body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catalogue-item__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 14px;
}

.catalogue-item__code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  padding: 3px 11px;
}

.catalogue-item__idx {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.catalogue-item__body h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  margin-block-end: 16px;
}

.catalogue-item__body p {
  color: var(--ink-body);
  font-size: 16.5px;
  line-height: 1.8;
  margin-block-end: 24px;
}

.deliverables {
  display: grid;
  gap: 12px;
  border-block-start: 1px solid var(--line);
  padding-block-start: 20px;
}

.deliverables li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 15px;
}

.deliverables svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 12px;
}

.related-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--Canvas);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep);
}

.related-tag span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gold);
}

.related-tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.hq-panel {
  background: var(--navy-deep);
  color: var(--white);
  border-block-start: 4px solid var(--gold);
  padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}

.hq-panel__item + .hq-panel__item {
  margin-block-start: 28px;
  padding-block-start: 28px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
}

.hq-panel__lbl {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  display: block;
  margin-block-end: 8px;
}

html[lang="ar"] .hq-panel__lbl {
  letter-spacing: 0;
  font-size: 13.5px;
}

.hq-panel p,
.hq-panel a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16.5px;
}

.hq-panel a:hover {
  color: var(--gold-bright);
}

.hq-panel__licence {
  margin-block-start: 28px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-inline-start: 3px solid var(--gold-bright);
  font-size: 14px !important;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: var(--shadow-sm);
}

.form-panel h2 {
  margin-block-end: 8px;
}

.form-panel > p {
  color: var(--muted);
  margin-block-end: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-block-end: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--Canvas);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

/* ==========================================================================
   10. Aramco / PIF Institutional Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-abyss);
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
}

.footer__grid {
  padding-block: clamp(60px, 7vw, 92px);
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1.1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
}

.footer__brand {
  color: var(--white);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.74);
  margin-block: 20px 24px;
  max-width: 38ch;
  line-height: 1.8;
}

.footer__seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-inline-start: 3px solid var(--gold-bright);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.footer__seal svg {
  width: 16px;
  height: 16px;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.footer__col h3 {
  color: var(--white);
  font-size: 15.5px;
  margin-block-end: 18px;
  padding-block-end: 12px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a:hover {
  color: var(--gold-bright);
}

.footer__bottom {
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 24px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   11. Responsive Design
   ========================================================================== */

@media (max-width: 1120px) {
  .brand__divider,
  .brand__tag {
    display: none;
  }

  .numbers-band__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers-band__head {
    grid-column: 1 / -1;
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
    padding-block: 24px;
  }

  .discover-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-explorer,
  .feature-cinema,
  .editorial-split,
  .nrrc-charter,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-explorer__nav {
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }

  .values-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  /* Top bar: one line with the badge and the language switch */
  .gov-bar__utils .gov-bar__hide-sm,
  .gov-bar__licence {
    display: none;
  }

  .gov-bar__inner {
    min-height: 36px;
    padding-block: 4px;
    flex-wrap: nowrap;
  }

  .gov-bar__badge {
    white-space: nowrap;
  }

  /* Header: compact logo row. No backdrop-filter here: it would trap the fixed menu panel inside the header. */
  .site-header {
    background: var(--white);
    backdrop-filter: none;
  }

  .header__inner {
    min-height: 66px;
    gap: 12px;
  }

  .brand__logo {
    width: 142px;
  }

  .burger {
    display: block;
  }

  .header__cta {
    display: none;
  }

  /* Phone menu: a full panel under the header that scrolls on its own */
  .nav {
    display: none;
    position: fixed;
    top: var(--nav-top, 66px);
    bottom: 0;
    inset-inline: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
    border-block-start: 3px solid var(--gold);
    padding: 8px var(--gutter) 28px;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    height: auto;
  }

  .nav__item {
    flex-wrap: wrap;
    align-items: center;
    border-block-end: 1px solid var(--line);
  }

  .nav__link {
    flex: 1;
    min-height: 56px;
    padding-inline: 4px;
    font-size: 17px;
  }

  .nav__link::after,
  .nav__link .nav__caret {
    display: none;
  }

  .nav__link[aria-current="page"] {
    color: var(--gold-deep, var(--navy));
    box-shadow: inset 3px 0 0 var(--gold);
    padding-inline-start: 12px;
  }

  [dir="rtl"] .nav__link[aria-current="page"] {
    box-shadow: inset -3px 0 0 var(--gold);
  }

  .nav__sub-toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--Canvas, #f4f6f9);
    border: 0;
    color: var(--navy);
    cursor: pointer;
  }

  .nav__sub-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--ease);
  }

  .nav__sub-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .mega-menu {
    display: none;
    position: static;
    flex-basis: 100%;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 10px;
    margin: 0;
  }

  .mega-menu.is-open {
    display: block;
  }

  .mega-menu__link {
    padding: 11px 12px;
    font-size: 15.5px;
    line-height: 1.5;
  }

  .mega-menu__aside {
    display: none;
  }

  .nav__contact {
    display: grid;
    gap: 14px;
    margin-block-start: 22px;
  }

  .nav__contact a:not(.btn) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 500;
  }

  .nav__contact svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
  }

  .nav__contact .btn {
    justify-content: center;
    margin-block-start: 6px;
  }

  .sectors-accordion {
    flex-direction: column;
    min-height: 0;
  }

  .sector-col {
    min-height: 320px;
  }

  .standards-row,
  .mv-grid,
  .catalogue-item,
  .catalogue-item--flip,
  .service-Detail-pane__points {
    grid-template-columns: 1fr;
  }

  .catalogue-item--flip .catalogue-item__media {
    order: 0;
  }
}

@media (max-width: 640px) {
  .numbers-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .number-col {
    padding: 24px 16px;
  }

  .hero__tabs {
    grid-template-columns: 1fr;
  }

  .hero__tab {
    border-inline-end: 0;
    border-block-end: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
  }

  .discover-grid,
  .values-row,
  .form-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
