/* ========================================================================
   PrimePeak Corporate Website
   Core styles — v2.0.0
   ======================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --pp-navy-deep: #031426;
  --pp-navy: #0e2746;
  --pp-navy-soft: #18395d;
  --pp-gold: #c8a764;
  --pp-gold-dark: #a9823e;
  --pp-cream: #f9e4c7;
  --pp-cream-soft: #fff8ec;
  --pp-white: #ffffff;
  --pp-off-white: #f6f7f8;
  --pp-ink: #14202d;
  --pp-muted: #65707b;
  --pp-line: rgba(14, 39, 70, 0.13);
  --pp-line-light: rgba(255, 255, 255, 0.14);
  --pp-shadow-sm: 0 12px 32px rgba(3, 20, 38, 0.08);
  --pp-shadow-md: 0 24px 70px rgba(3, 20, 38, 0.12);
  --pp-shadow-lg: 0 34px 90px rgba(3, 20, 38, 0.2);
  --pp-radius-sm: 14px;
  --pp-radius: 24px;
  --pp-radius-lg: 34px;
  --pp-container: min(1240px, calc(100% - 48px));
  --pp-header-height: 94px;
  --pp-transition: 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset and document defaults ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--pp-header-height) + 24px);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
p,
blockquote,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--pp-white);
  color: var(--pp-ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-rtl {
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

main,
section,
footer,
header {
  min-width: 0;
}

h1,
h2,
h3 {
  color: var(--pp-navy-deep);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.is-rtl h1,
.is-rtl h2,
.is-rtl h3 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 6.5rem);
}

h2 {
  font-size: clamp(2.05rem, 4vw, 4.25rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--pp-muted);
}

::selection {
  background: var(--pp-gold);
  color: var(--pp-navy-deep);
}

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

.container {
  width: var(--pp-container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(78px, 8.5vw, 132px);
}

.section-cream {
  background:
    radial-gradient(circle at 88% 12%, rgba(200, 167, 100, 0.13), transparent 28%),
    linear-gradient(135deg, var(--pp-cream-soft), #f7f1e7);
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(200, 167, 100, 0.12), transparent 32%),
    linear-gradient(135deg, var(--pp-navy-deep), var(--pp-navy));
  color: var(--pp-white);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background: url("../img/peak-pattern.svg") center / cover no-repeat;
}

.section-dark > .container {
  position: relative;
  z-index: 1;
}

.section-dark h2,
.section-dark h3,
.section-dark p,
.light h2,
.light h3,
.light p {
  color: var(--pp-white);
}

/* 3. Accessibility and generic helpers ---------------------------------- */
.skip-link {
  position: fixed;
  inset-inline-start: 18px;
  top: -120px;
  z-index: 10050;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--pp-gold);
  color: var(--pp-navy-deep);
  font-weight: 800;
  transition: top var(--pp-transition);
}

.skip-link:focus {
  top: 18px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--pp-gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.is-rtl .eyebrow {
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.eyebrow.light {
  color: var(--pp-gold);
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

/* 4. Loading screen ------------------------------------------------------ */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(200, 167, 100, 0.12), transparent 28%),
    var(--pp-navy-deep);
  transition: opacity 560ms ease, visibility 560ms ease;
}

.site-loader img {
  width: min(360px, 68vw);
  height: auto;
}

.site-loader span {
  position: absolute;
  bottom: 21%;
  width: 120px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.site-loader span::after {
  content: "";
  display: block;
  width: 50%;
  height: 100%;
  background: var(--pp-gold);
  animation: pp-loader 1.15s ease-in-out infinite;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.no-js .site-loader {
  display: none;
}

@keyframes pp-loader {
  from { transform: translateX(-130%); }
  to { transform: translateX(250%); }
}

/* 5. Header and navigation ---------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--pp-header-height);
  border-top: 2px solid rgba(200, 167, 100, 0.72);
  border-bottom: 1px solid rgba(14, 39, 70, 0.08);
  background: rgba(255, 255, 255, 0.965);
  color: var(--pp-navy-deep);
  box-shadow: 0 10px 38px rgba(3, 20, 38, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  transition:
    height 300ms ease,
    background 300ms ease,
    box-shadow 300ms ease,
    color 300ms ease;
}

.site-header.is-scrolled {
  height: 82px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 15px 44px rgba(3, 20, 38, 0.12);
}

.header-inner {
  width: min(1560px, calc(100% - 48px));
  height: 100%;
  display: grid;
  grid-template-columns: minmax(180px, 214px) minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: clamp(22px, 2.2vw, 42px);
  margin-inline: auto;
}

.brand {
  width: 210px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 1002;
  line-height: 0;
  transition: width var(--pp-transition), height var(--pp-transition);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.is-rtl .brand {
  justify-content: flex-end;
}

.is-rtl .brand img {
  object-position: right center;
}

.brand-color {
  display: block;
}

.brand-white {
  display: none;
}

.desktop-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.35vw, 7px);
}

.desktop-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px clamp(8px, 0.6vw, 12px);
  border-radius: 999px;
  color: var(--pp-navy-deep);
  font-size: clamp(0.72rem, 0.66vw, 0.8rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    color var(--pp-transition),
    background var(--pp-transition),
    transform var(--pp-transition);
}

.is-rtl .desktop-nav a {
  font-size: clamp(0.78rem, 0.7vw, 0.87rem);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 16px;
  bottom: 5px;
  height: 2px;
  border-radius: 99px;
  background: var(--pp-gold);
  transform: scaleX(0);
  transition: transform var(--pp-transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: rgba(200, 167, 100, 0.13);
  color: var(--pp-navy);
}

.desktop-nav a:hover {
  transform: translateY(-1px);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  position: relative;
  min-width: max-content;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 0.7vw, 12px);
  padding-inline-start: clamp(16px, 1.2vw, 24px);
  white-space: nowrap;
}

.header-actions::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 1px;
  height: 30px;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, transparent, rgba(14, 39, 70, 0.22), transparent);
}

.language-link,
.profile-download {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(14, 39, 70, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--pp-navy-deep);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(3, 20, 38, 0.05);
  transition:
    color var(--pp-transition),
    background var(--pp-transition),
    border-color var(--pp-transition),
    box-shadow var(--pp-transition),
    transform var(--pp-transition);
}

.language-link .icon,
.profile-download .icon {
  width: 17px;
  height: 17px;
  color: var(--pp-gold-dark);
}

.language-link:hover {
  transform: translateY(-1px);
  border-color: rgba(200, 167, 100, 0.52);
  background: var(--pp-cream-soft);
}

.profile-download:hover {
  transform: translateY(-1px);
  border-color: var(--pp-navy-deep);
  background: var(--pp-navy-deep);
  color: var(--pp-white);
  box-shadow: 0 12px 28px rgba(3, 20, 38, 0.16);
}

.profile-download:hover .icon {
  color: var(--pp-gold);
}

.header-cta {
  min-height: 48px;
  padding-inline: 20px;
  box-shadow: 0 10px 26px rgba(200, 167, 100, 0.23);
}

.header-cta .icon {
  width: 17px;
  height: 17px;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  position: relative;
  z-index: 1002;
  border: 1px solid rgba(14, 39, 70, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: currentColor;
  cursor: pointer;
  transition: background var(--pp-transition), border-color var(--pp-transition);
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: top 300ms ease, transform 300ms ease;
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

body.menu-open .site-header,
.site-header.menu-active {
  border-top-color: var(--pp-gold);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(3, 20, 38, 0.985);
  color: var(--pp-white);
  box-shadow: none;
}

body.menu-open .brand-white,
.site-header.menu-active .brand-white {
  display: block;
}

body.menu-open .brand-color,
.site-header.menu-active .brand-color {
  display: none;
}

body.menu-open .language-link,
.site-header.menu-active .language-link {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--pp-white);
}

body.menu-open .language-link .icon,
.site-header.menu-active .language-link .icon {
  color: var(--pp-gold);
}

body.menu-open .menu-toggle,
.site-header.menu-active .menu-toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

/* 6. Mobile menu --------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding-top: var(--pp-header-height);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(200, 167, 100, 0.14), transparent 30%),
    var(--pp-navy-deep);
  overscroll-behavior: contain;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu-inner {
  width: 100%;
  height: calc(100vh - var(--pp-header-height));
  height: calc(100dvh - var(--pp-header-height));
  overflow-x: hidden;
  overflow-y: auto;
  padding:
    28px max(24px, env(safe-area-inset-right))
    calc(46px + env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  -webkit-overflow-scrolling: touch;
}

.mobile-menu nav a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--pp-white);
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  font-weight: 700;
}

.mobile-menu nav a.active {
  color: var(--pp-gold);
}

.mobile-menu nav a .icon {
  width: 22px;
  color: var(--pp-gold);
}

.is-rtl .mobile-menu nav a .icon {
  transform: scaleX(-1);
}

.mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.mobile-profile-download {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(200, 167, 100, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(200, 167, 100, 0.18), rgba(200, 167, 100, 0.08));
  color: var(--pp-white);
  font-size: 0.84rem;
  font-weight: 800;
}

.mobile-profile-download .icon {
  width: 20px;
  height: 20px;
  color: var(--pp-gold);
}

.mobile-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

/* 7. Buttons and links --------------------------------------------------- */
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 23px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform var(--pp-transition),
    background var(--pp-transition),
    color var(--pp-transition),
    box-shadow var(--pp-transition);
}

.button:hover {
  transform: translateY(-3px);
}

.button .icon {
  width: 19px;
  height: 19px;
}

.is-rtl .button .icon {
  transform: scaleX(-1);
}

.button-gold {
  background: var(--pp-gold);
  color: var(--pp-navy-deep);
  box-shadow: 0 12px 30px rgba(200, 167, 100, 0.22);
}

.button-gold:hover {
  background: var(--pp-cream);
  box-shadow: 0 16px 34px rgba(200, 167, 100, 0.3);
}

.button-navy {
  background: var(--pp-navy-deep);
  color: var(--pp-white);
  box-shadow: 0 14px 34px rgba(3, 20, 38, 0.18);
}

.button-navy:hover {
  background: var(--pp-navy);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.04);
  color: var(--pp-white);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: var(--pp-white);
  color: var(--pp-navy-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pp-navy);
  font-size: 0.87rem;
  font-weight: 800;
}

.text-link .icon {
  width: 19px;
  height: 19px;
  transition: transform var(--pp-transition);
}

.text-link:hover .icon {
  transform: translateX(5px);
}

.is-rtl .text-link .icon {
  transform: scaleX(-1);
}

.is-rtl .text-link:hover .icon {
  transform: scaleX(-1) translateX(5px);
}

/* 8. Home hero ----------------------------------------------------------- */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--pp-header-height) + 74px);
  overflow: hidden;
  background: var(--pp-navy-deep);
  color: var(--pp-white);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 20, 38, 0.96) 0%, rgba(3, 20, 38, 0.85) 37%, rgba(14, 39, 70, 0.56) 68%, rgba(14, 39, 70, 0.34) 100%),
    radial-gradient(circle at 72% 22%, rgba(200, 167, 100, 0.2), transparent 25%),
    url("../img/heroes/home-hero.jpg") center / cover no-repeat;
  transform: scale(1.015);
}

.is-rtl .home-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 20, 38, 0.96) 0%, rgba(3, 20, 38, 0.86) 40%, rgba(14, 39, 70, 0.58) 70%, rgba(14, 39, 70, 0.36) 100%),
    radial-gradient(circle at 72% 22%, rgba(200, 167, 100, 0.2), transparent 25%),
    url("../img/heroes/home-hero.jpg") center / cover no-repeat;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.hero-peak {
  position: absolute;
  right: -150px;
  bottom: 120px;
  width: 500px;
  height: 500px;
  border-top: 2px solid rgba(200, 167, 100, 0.24);
  border-left: 2px solid rgba(200, 167, 100, 0.24);
  transform: rotate(45deg);
}

.peak-two {
  right: 110px;
  bottom: -40px;
  width: 330px;
  height: 330px;
  opacity: 0.52;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 6vw, 90px);
  padding-bottom: 72px;
}

.is-rtl .hero-content {
  direction: ltr;
}

.hero-copy {
  max-width: 800px;
}

.is-rtl .hero-copy {
  direction: rtl;
  text-align: right;
}

.hero-copy h1 {
  margin-bottom: 26px;
  color: var(--pp-white);
  text-shadow: 0 10px 45px rgba(0, 0, 0, 0.28);
}

.hero-copy h1 span {
  color: var(--pp-gold);
}

.hero-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-mark {
  justify-self: end;
  width: min(390px, 100%);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 0 0 20px rgba(255, 255, 255, 0.018),
    0 24px 80px rgba(3, 20, 38, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-mark img {
  width: min(260px, 90%);
  height: auto;
}

.hero-mark span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.is-rtl .hero-mark span {
  letter-spacing: 0;
}

.proof-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 20, 38, 0.73);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.proof-strip > div {
  min-width: 0;
  padding: 25px 24px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-strip > div:last-child {
  border-inline-end: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--pp-gold);
  font-size: 0.92rem;
}

.proof-strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.77rem;
}

/* 9. Shared section layouts --------------------------------------------- */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.split-layout.align-center {
  align-items: center;
}

.section-copy {
  max-width: 650px;
}

.section-copy h2 {
  margin-bottom: 24px;
}

.section-copy p + p {
  margin-top: 18px;
}

.section-copy .text-link {
  margin-top: 28px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-heading > div {
  max-width: 760px;
}

.section-heading > p {
  max-width: 530px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.image-feature-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(200, 167, 100, 0.28);
  border-radius: var(--pp-radius-lg);
  background: var(--pp-navy-deep);
  box-shadow: var(--pp-shadow-lg);
}

.image-feature-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--pp-radius-lg) - 10px);
}

.image-feature-panel picture,
.image-feature-panel img {
  width: 100%;
  height: 100%;
}

.image-feature-panel img {
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-feature-panel:hover img {
  transform: scale(1.025);
}

/* 10. Statistics --------------------------------------------------------- */
.primepeak-stats {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(200, 167, 100, 0.12), transparent 30%),
    linear-gradient(135deg, var(--pp-navy-deep), #123253);
  color: var(--pp-white);
}

.primepeak-stats-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.58;
  pointer-events: none;
  background: url("../img/peak-pattern.svg") center / cover no-repeat;
}

.primepeak-stats .container {
  position: relative;
  z-index: 1;
}

.stats-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.stats-heading h2 {
  margin-bottom: 18px;
  color: var(--pp-white);
}

.stats-heading p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.68);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  position: relative;
  min-height: 224px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    transform var(--pp-transition),
    border-color var(--pp-transition),
    background var(--pp-transition),
    box-shadow var(--pp-transition);
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 120px;
  height: 120px;
  border-top: 1px solid rgba(200, 167, 100, 0.2);
  border-left: 1px solid rgba(200, 167, 100, 0.2);
  transform: rotate(45deg);
}

.stat-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200, 167, 100, 0.5);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(200, 167, 100, 0.055));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.stat-accent {
  position: absolute;
  top: 0;
  left: 50%;
  width: 42%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--pp-gold), transparent);
}

.stat-number {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 17px;
  color: var(--pp-gold);
  font-size: clamp(2.7rem, 4vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.stat-number small {
  margin-top: 4px;
  font-size: 0.36em;
  font-weight: 800;
}

.stat-card p {
  width: 100%;
  max-width: 170px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
}

.is-rtl .stat-card p {
  font-size: 0.84rem;
  text-transform: none;
}

/* 11. Cards -------------------------------------------------------------- */
.card-grid,
.why-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.value-card,
.why-card,
.service-full-card,
.sector-card,
.vision-card,
.conduct-card,
.commitment-card {
  min-width: 0;
}

.feature-card {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(14, 39, 70, 0.1);
  border-radius: var(--pp-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 44px rgba(3, 20, 38, 0.07);
  transition:
    transform var(--pp-transition),
    border-color var(--pp-transition),
    box-shadow var(--pp-transition);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(200, 167, 100, 0.16);
  transform: rotate(45deg);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 167, 100, 0.48);
  box-shadow: var(--pp-shadow-md);
}

.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pp-navy-deep), var(--pp-navy));
  color: var(--pp-gold);
  box-shadow: 0 12px 28px rgba(3, 20, 38, 0.14);
}

.icon-box.dark {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.icon-box .icon {
  width: 27px;
  height: 27px;
}

.card-index {
  position: absolute;
  top: 28px;
  inset-inline-end: 30px;
  color: rgba(14, 39, 70, 0.32);
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-top: 28px;
  margin-bottom: 13px;
  font-size: 1.28rem;
}

.feature-card p {
  margin-bottom: 26px;
}

.feature-card > a {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-top: auto;
  border-radius: 50%;
  background: var(--pp-cream-soft);
  color: var(--pp-gold-dark);
  transition: background var(--pp-transition), color var(--pp-transition), transform var(--pp-transition);
}

.feature-card > a:hover {
  transform: translateX(4px);
  background: var(--pp-navy-deep);
  color: var(--pp-white);
}

.is-rtl .feature-card > a .icon {
  transform: scaleX(-1);
}

/* 12. Sector list and sector cards -------------------------------------- */
.sector-list {
  border-top: 1px solid var(--pp-line);
}

.sector-row {
  display: grid;
  grid-template-columns: 64px 54px minmax(170px, 0.85fr) minmax(0, 1.55fr) 28px;
  align-items: center;
  gap: 20px;
  padding: 24px 12px;
  border-bottom: 1px solid var(--pp-line);
  transition: background var(--pp-transition), padding var(--pp-transition), color var(--pp-transition);
}

.sector-row:hover {
  padding-inline: 22px;
  background: var(--pp-cream-soft);
}

.sector-number {
  color: var(--pp-gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.sector-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--pp-navy-deep);
  color: var(--pp-gold);
}

.sector-icon .icon {
  width: 22px;
  height: 22px;
}

.sector-row strong {
  color: var(--pp-navy-deep);
  font-size: 1.05rem;
}

.sector-row > span:nth-of-type(3) {
  color: var(--pp-muted);
  font-size: 0.88rem;
}

.sector-row .row-arrow {
  color: var(--pp-gold-dark);
}

.is-rtl .sector-row .row-arrow {
  transform: scaleX(-1);
}

.sector-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sector-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: linear-gradient(145deg, #fff, #f8fafb);
  box-shadow: var(--pp-shadow-sm);
  transition: transform var(--pp-transition), border-color var(--pp-transition), box-shadow var(--pp-transition);
}

.sector-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200, 167, 100, 0.5);
  box-shadow: var(--pp-shadow-md);
}

.sector-card-number {
  position: absolute;
  top: 28px;
  inset-inline-end: 32px;
  color: rgba(14, 39, 70, 0.24);
  font-size: 0.8rem;
  font-weight: 800;
}

.sector-card h2 {
  margin: 28px 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

/* 13. Why PrimePeak ------------------------------------------------------ */
.why-grid {
  gap: 18px;
}

.why-card {
  min-height: 240px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform var(--pp-transition), background var(--pp-transition), border-color var(--pp-transition);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 167, 100, 0.45);
  background: rgba(255, 255, 255, 0.075);
}

.why-card > div {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 15px;
  background: rgba(200, 167, 100, 0.15);
  color: var(--pp-gold);
}

.why-card h3 {
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.62);
}

/* 14. Process ------------------------------------------------------------ */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 55px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 167, 100, 0.75), transparent);
}

.process-mini {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-mini > span {
  display: block;
  margin-bottom: 15px;
  color: var(--pp-gold-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.process-mini > div {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(200, 167, 100, 0.45);
  border-radius: 50%;
  background: var(--pp-white);
  color: var(--pp-navy-deep);
  box-shadow: 0 14px 35px rgba(3, 20, 38, 0.1);
}

.process-mini h3 {
  font-size: 0.98rem;
}

.process-large {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
}

.process-large::before {
  content: "";
  position: absolute;
  inset-inline-start: 47px;
  top: 42px;
  bottom: 42px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--pp-gold), transparent);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 32px;
  padding: 34px 0;
}

.process-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.process-side > span {
  color: var(--pp-gold-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.process-step h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.5rem);
}

/* 15. Banners and final CTA --------------------------------------------- */
.partnership-banner {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 20, 38, 0.95), rgba(14, 39, 70, 0.82)),
    url("../img/heroes/partnerships-hero.jpg") center / cover no-repeat;
}

.partnership-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.partnership-inner > div {
  max-width: 780px;
}

.partnership-inner h2 {
  margin-bottom: 18px;
  color: var(--pp-white);
}

.partnership-inner p {
  color: rgba(255, 255, 255, 0.68);
}

.final-cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 167, 100, 0.18), transparent 30%),
    linear-gradient(135deg, #fff, #f6f8fa);
}

.final-cta::before {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -200px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(200, 167, 100, 0.2);
  transform: rotate(45deg);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.final-cta-inner > div {
  max-width: 780px;
}

.final-cta-inner h2 {
  margin-bottom: 16px;
}

/* 16. Internal page hero ------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--pp-header-height);
  background: var(--pp-navy-deep);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 20, 38, 0.96) 0%, rgba(3, 20, 38, 0.84) 40%, rgba(14, 39, 70, 0.56) 73%, rgba(14, 39, 70, 0.4) 100%),
    var(--hero-image, url("../img/peak-pattern.svg")) var(--hero-position, center) / cover no-repeat;
  transform: scale(1.015);
}

.is-rtl .page-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 20, 38, 0.96) 0%, rgba(3, 20, 38, 0.86) 42%, rgba(14, 39, 70, 0.58) 74%, rgba(14, 39, 70, 0.42) 100%),
    var(--hero-image, url("../img/peak-pattern.svg")) var(--hero-position, center) / cover no-repeat;
}

.page-about { --hero-image: url("../img/heroes/about-hero.jpg"); }
.page-services { --hero-image: url("../img/heroes/services-hero.jpg"); }
.page-sectors { --hero-image: url("../img/heroes/sectors-hero.jpg"); }
.page-project-delivery { --hero-image: url("../img/heroes/project-delivery-hero.jpg"); }
.page-partnerships { --hero-image: url("../img/heroes/partnerships-hero.jpg"); }
.page-quality-hse { --hero-image: url("../img/heroes/quality-hse-hero.jpg"); }
.page-contact { --hero-image: url("../img/heroes/contact-hero.jpg"); }
.page-privacy { --hero-image: url("../img/heroes/privacy-hero.jpg"); }
.page-404 { --hero-image: url("../img/heroes/404-hero.jpg"); }

.page-hero-art {
  position: absolute;
  right: -170px;
  bottom: -310px;
  width: 680px;
  height: 680px;
  border: 38px solid rgba(200, 167, 100, 0.1);
  transform: rotate(45deg);
}

.is-rtl .page-hero-art {
  right: auto;
  left: -170px;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 76px;
}


.page-hero h1 {
  max-width: 960px;
  color: var(--pp-white);
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  text-shadow: 0 10px 38px rgba(0, 0, 0, 0.3);
}

.page-hero p {
  max-width: 780px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

/* 17. About page --------------------------------------------------------- */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.vision-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(200, 167, 100, 0.3);
  border-radius: var(--pp-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--pp-shadow-sm);
}

.vision-card > span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--pp-gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.vision-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.value-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--pp-line);
  border-radius: 20px;
  background: var(--pp-white);
  box-shadow: 0 13px 36px rgba(3, 20, 38, 0.06);
  transition: transform var(--pp-transition), border-color var(--pp-transition), box-shadow var(--pp-transition);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 167, 100, 0.46);
  box-shadow: var(--pp-shadow-md);
}

.value-card h3 {
  margin: 24px 0 10px;
}

.principle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.principle-grid > div:first-child h2 {
  margin-bottom: 20px;
}

.conduct-card {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pp-radius);
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.conduct-card h3 {
  margin: 24px 0 12px;
}

.conduct-card p {
  color: rgba(255, 255, 255, 0.64);
}

/* 18. Services page ------------------------------------------------------ */
.service-full-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-full-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: linear-gradient(145deg, #fff, #f8fafb);
  box-shadow: var(--pp-shadow-sm);
  scroll-margin-top: calc(var(--pp-header-height) + 24px);
  transition: transform var(--pp-transition), border-color var(--pp-transition), box-shadow var(--pp-transition);
}

.service-full-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200, 167, 100, 0.48);
  box-shadow: var(--pp-shadow-md);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-top > span {
  color: rgba(14, 39, 70, 0.28);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-full-card h2 {
  margin: 30px 0 15px;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
}

.service-full-card p {
  margin-bottom: 30px;
}

.service-full-card .text-link {
  margin-top: auto;
}

.delivery-diagram {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.delivery-diagram::before,
.delivery-diagram::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(200, 167, 100, 0.55);
  border-radius: 50%;
}

.delivery-diagram::before {
  width: 320px;
  height: 320px;
}

.delivery-diagram::after {
  width: 230px;
  height: 230px;
  border-color: rgba(14, 39, 70, 0.22);
}

.delivery-diagram strong {
  position: relative;
  z-index: 2;
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pp-navy-deep);
  color: var(--pp-gold);
  font-size: 1.2rem;
}

.delivery-diagram span {
  position: absolute;
  z-index: 2;
  padding: 9px 15px;
  border: 1px solid var(--pp-line);
  border-radius: 999px;
  background: var(--pp-white);
  color: var(--pp-navy-deep);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: var(--pp-shadow-sm);
}

.delivery-diagram span:nth-child(1) { top: 22px; left: 50%; transform: translateX(-50%); }
.delivery-diagram span:nth-child(2) { right: 2px; top: 50%; transform: translateY(-50%); }
.delivery-diagram span:nth-child(3) { bottom: 22px; left: 50%; transform: translateX(-50%); }
.delivery-diagram span:nth-child(4) { left: 2px; top: 50%; transform: translateY(-50%); }

/* 19. Sector orbit ------------------------------------------------------- */
.sector-orbit {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.sector-orbit::before,
.sector-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 167, 100, 0.42);
}

.sector-orbit::before { width: 360px; height: 360px; }
.sector-orbit::after { width: 255px; height: 255px; border-color: rgba(255, 255, 255, 0.16); }

.sector-orbit strong {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pp-gold);
  color: var(--pp-navy-deep);
}

.sector-orbit span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pp-gold);
  box-shadow: 0 0 0 10px rgba(200, 167, 100, 0.1);
}

.sector-orbit span:nth-child(1) { top: 34px; left: 50%; }
.sector-orbit span:nth-child(2) { right: 36px; bottom: 110px; }
.sector-orbit span:nth-child(3) { left: 40px; bottom: 100px; }

/* 20. Checks, QHSE, commitment ------------------------------------------ */
.check-grid,
.dark-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.check-grid.compact,
.dark-check-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-item,
.dark-check {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border-radius: 16px;
  font-size: 0.86rem;
  font-weight: 700;
}

.check-item {
  border: 1px solid var(--pp-line);
  background: var(--pp-white);
  color: var(--pp-navy-deep);
  box-shadow: 0 10px 28px rgba(3, 20, 38, 0.05);
}

.dark-check {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: var(--pp-white);
}

.check-item .icon,
.dark-check .icon {
  width: 22px;
  height: 22px;
  color: var(--pp-gold);
}

.qhse-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.qhse-block.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.qhse-block.reverse .qhse-copy {
  order: 2;
}

.qhse-copy h2 {
  margin-bottom: 20px;
}

.commitment-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: 44px;
  border: 1px solid rgba(200, 167, 100, 0.32);
  border-radius: var(--pp-radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--pp-shadow-sm);
}

.commitment-card h2 {
  margin-bottom: 14px;
}

/* 21. Partnership page --------------------------------------------------- */
.market-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 50px;
}

.market-ring {
  position: relative;
  width: 280px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 167, 100, 0.48);
  border-radius: 50%;
}

.market-ring::before,
.market-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14, 39, 70, 0.16);
}

.market-ring::before { inset: 26px; }
.market-ring::after { inset: 58px; border-color: rgba(200, 167, 100, 0.5); }

.market-ring strong {
  position: relative;
  z-index: 1;
  color: var(--pp-navy-deep);
  font-size: 2.3rem;
}

/* 22. Contact form ------------------------------------------------------- */
.contact-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(200, 167, 100, 0.1), transparent 24%),
    var(--pp-off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  align-items: start;
  gap: 30px;
}

.contact-form-card {
  min-width: 0;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(14, 39, 70, 0.08);
  border-radius: var(--pp-radius);
  background: var(--pp-white);
  box-shadow: var(--pp-shadow-md);
}

.form-heading {
  margin-bottom: 34px;
}

.form-heading h2 {
  font-size: 2rem;
}

.form-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-grid label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--pp-navy);
  font-size: 0.84rem;
  font-weight: 700;
}

.form-grid label small {
  margin-inline-start: 4px;
  color: var(--pp-muted);
  font-weight: 500;
}

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

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--pp-line);
  border-radius: 12px;
  background: #fbfbfa;
  color: var(--pp-ink);
  padding: 14px 15px;
  transition: border-color var(--pp-transition), box-shadow var(--pp-transition), background var(--pp-transition);
}

.form-grid input:hover,
.form-grid select:hover,
.form-grid textarea:hover {
  border-color: rgba(200, 167, 100, 0.55);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 0;
  border-color: var(--pp-gold-dark);
  background: var(--pp-white);
  box-shadow: 0 0 0 4px rgba(200, 167, 100, 0.16);
}

.form-grid textarea {
  resize: vertical;
}

.file-field input[type="file"] {
  display: block;
  overflow: hidden;
}

.consent {
  flex-direction: row !important;
  align-items: flex-start;
}

.consent input {
  width: 20px !important;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 3px;
}

.route-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 18px;
  border-inline-start: 4px solid var(--pp-gold);
  border-radius: 12px;
  background: var(--pp-cream-soft);
}

.route-preview[hidden] {
  display: none !important;
}

.route-preview span {
  grid-row: 1 / 3;
  color: var(--pp-muted);
  font-size: 0.78rem;
}

.route-preview strong {
  color: var(--pp-navy);
}

.route-preview a {
  color: var(--pp-gold-dark);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.submit-button {
  min-width: 190px;
  margin-top: 28px;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.form-status {
  margin-top: 12px;
  font-size: 0.86rem;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.is-rtl .honeypot {
  left: auto !important;
  right: -9999px !important;
}

.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
}

.alert.success {
  background: #eaf7ef;
  color: #185c32;
}

.alert.error {
  background: #fff0ef;
  color: #8b261e;
}

.department-panel {
  position: sticky;
  top: 112px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pp-radius);
  background:
    radial-gradient(circle at 90% 8%, rgba(200, 167, 100, 0.14), transparent 28%),
    var(--pp-navy-deep);
  box-shadow: var(--pp-shadow-lg);
}

.department-panel h2 {
  margin-bottom: 28px;
  color: var(--pp-white);
  font-size: 2rem;
}

.department-list article {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.department-list h3 {
  margin-bottom: 4px;
  color: var(--pp-white);
  font-size: 1rem;
}

.department-list a {
  color: var(--pp-gold);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.department-list p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
}

/* 23. Privacy and 404 ---------------------------------------------------- */
.policy-content {
  max-width: 920px;
}

.policy-section {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 25px;
  padding: 35px 0;
  border-bottom: 1px solid var(--pp-line);
}

.policy-section > span {
  color: var(--pp-gold-dark);
  font-weight: 800;
}

.policy-section h2 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-top: var(--pp-header-height);
  background:
    linear-gradient(rgba(3, 20, 38, 0.88), rgba(3, 20, 38, 0.94)),
    url("../img/heroes/404-hero.jpg") center / cover no-repeat;
  color: var(--pp-white);
  text-align: center;
}

.not-found span {
  display: block;
  color: var(--pp-gold);
  font-size: clamp(5rem, 18vw, 13rem);
  font-weight: 800;
  line-height: 0.8;
}

.not-found h1 {
  margin: 25px 0 15px;
  color: var(--pp-white);
  font-size: clamp(2rem, 5vw, 4rem);
}

.not-found p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
}

/* 24. Footer ------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(68px, 7vw, 96px);
  background: var(--pp-navy-deep);
  color: var(--pp-white);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background: url("../img/peak-pattern.svg") center / cover no-repeat;
}

.footer-glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 167, 100, 0.12), transparent 68%);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px, 1fr));
  align-items: start;
  gap: clamp(36px, 5vw, 70px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.footer-brand img {
  width: min(290px, 100%);
  height: auto;
  margin-bottom: 24px;
}

.footer-brand p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--pp-gold);
  font-size: 0.84rem;
  font-weight: 800;
}

.footer-profile-link .icon {
  width: 18px;
  height: 18px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  padding: 0;
  color: var(--pp-white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  box-shadow: none;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.footer-social-link::before {
  display: none;
}

.footer-social-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
}

.footer-social-link .linkedin-brand-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  filter: none;
  opacity: 1;
}

.footer-social-link--linkedin:hover {
  color: var(--pp-white);
  background: #0a66c2;
  border-color: #0a66c2;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.32);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--pp-gold);
  outline-offset: 3px;
}

.footer-column h2 {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 12px;
  color: var(--pp-white);
  font-size: 1rem;
}

.footer-column h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--pp-gold);
}

.footer-column ul {
  display: grid;
  gap: 11px;
}

.footer-column li,
.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.footer-column a {
  transition: color var(--pp-transition), padding var(--pp-transition);
}

.footer-column a:hover {
  padding-inline-start: 4px;
  color: var(--pp-gold);
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
}

.footer-bottom > div {
  display: flex;
  gap: 20px;
}

.footer-bottom a:hover {
  color: var(--pp-gold);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--pp-navy-deep);
  color: var(--pp-gold);
  box-shadow: 0 14px 34px rgba(3, 20, 38, 0.24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--pp-transition), visibility var(--pp-transition), transform var(--pp-transition), background var(--pp-transition);
}

.is-rtl .back-to-top {
  right: auto;
  left: 22px;
}

.back-to-top .icon {
  transform: rotate(-90deg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--pp-navy);
}

/* 25. Reveal animations -------------------------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .delay-2 { transition-delay: 110ms; }
.js .delay-3 { transition-delay: 220ms; }

/* 26. Browser fallbacks -------------------------------------------------- */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, 0.99); }
  .hero-mark,
  .proof-strip,
  .stat-card { background: rgba(3, 20, 38, 0.88); }
}

@supports not (height: 100dvh) {
  .mobile-menu { height: 100vh; }
  .mobile-menu-inner { height: calc(100vh - var(--pp-header-height)); }
}

/* 27. Modern image formats with safe JPEG fallbacks --------------------- */
@supports (background-image: image-set(url("x.webp") type("image/webp"), url("x.jpg") type("image/jpeg"))) {
  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(3, 20, 38, 0.96) 0%, rgba(3, 20, 38, 0.85) 37%, rgba(14, 39, 70, 0.56) 68%, rgba(14, 39, 70, 0.34) 100%),
      radial-gradient(circle at 72% 22%, rgba(200, 167, 100, 0.2), transparent 25%),
      image-set(url("../img/heroes/home-hero.webp") type("image/webp"), url("../img/heroes/home-hero.jpg") type("image/jpeg")) center / cover no-repeat;
  }

  .is-rtl .home-hero::before {
    background:
      linear-gradient(90deg, rgba(3, 20, 38, 0.96) 0%, rgba(3, 20, 38, 0.86) 40%, rgba(14, 39, 70, 0.58) 70%, rgba(14, 39, 70, 0.36) 100%),
      radial-gradient(circle at 72% 22%, rgba(200, 167, 100, 0.2), transparent 25%),
      image-set(url("../img/heroes/home-hero.webp") type("image/webp"), url("../img/heroes/home-hero.jpg") type("image/jpeg")) center / cover no-repeat;
  }

  .page-about { --hero-image: image-set(url("../img/heroes/about-hero.webp") type("image/webp"), url("../img/heroes/about-hero.jpg") type("image/jpeg")); }
  .page-services { --hero-image: image-set(url("../img/heroes/services-hero.webp") type("image/webp"), url("../img/heroes/services-hero.jpg") type("image/jpeg")); }
  .page-sectors { --hero-image: image-set(url("../img/heroes/sectors-hero.webp") type("image/webp"), url("../img/heroes/sectors-hero.jpg") type("image/jpeg")); }
  .page-project-delivery { --hero-image: image-set(url("../img/heroes/project-delivery-hero.webp") type("image/webp"), url("../img/heroes/project-delivery-hero.jpg") type("image/jpeg")); }
  .page-partnerships { --hero-image: image-set(url("../img/heroes/partnerships-hero.webp") type("image/webp"), url("../img/heroes/partnerships-hero.jpg") type("image/jpeg")); }
  .page-quality-hse { --hero-image: image-set(url("../img/heroes/quality-hse-hero.webp") type("image/webp"), url("../img/heroes/quality-hse-hero.jpg") type("image/jpeg")); }
  .page-contact { --hero-image: image-set(url("../img/heroes/contact-hero.webp") type("image/webp"), url("../img/heroes/contact-hero.jpg") type("image/jpeg")); }
  .page-privacy { --hero-image: image-set(url("../img/heroes/privacy-hero.webp") type("image/webp"), url("../img/heroes/privacy-hero.jpg") type("image/jpeg")); }
  .page-404 { --hero-image: image-set(url("../img/heroes/404-hero.webp") type("image/webp"), url("../img/heroes/404-hero.jpg") type("image/jpeg")); }
}


/* 18A. V2.0.2 review-driven capability layouts -------------------------- */
.operating-structure-section {
  background: #f4f6f8;
}

.operating-structure-heading {
  align-items: flex-start;
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.discipline-card {
  position: relative;
  min-height: 205px;
  padding: 27px 28px 25px 34px;
  overflow: hidden;
  border: 1px solid rgba(14, 39, 70, 0.08);
  border-radius: 0 28px 28px 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(3, 20, 38, 0.055);
  transition: transform var(--pp-transition), box-shadow var(--pp-transition), border-color var(--pp-transition);
}

.is-rtl .discipline-card {
  padding: 27px 34px 25px 28px;
  border-radius: 28px 0 0 28px;
}

.discipline-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 10px;
  background: linear-gradient(180deg, var(--pp-gold), #d5b76f);
}

.discipline-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 167, 100, 0.34);
  box-shadow: 0 22px 54px rgba(3, 20, 38, 0.10);
}

.discipline-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.discipline-card-meta span {
  color: var(--pp-gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.discipline-card-meta strong {
  color: rgba(3, 20, 38, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: end;
}

.discipline-card h3 {
  margin-bottom: 12px;
  color: var(--pp-navy-deep);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.35;
  text-transform: uppercase;
}

.is-rtl .discipline-card h3 {
  text-transform: none;
}

.discipline-card p {
  color: var(--pp-text-soft);
  font-size: 0.83rem;
  line-height: 1.7;
}

.services-portfolio-section {
  background: var(--pp-white);
}

.service-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-portfolio-card {
  position: relative;
  min-height: 185px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
  padding: 25px 24px;
  scroll-margin-top: calc(var(--pp-header-height) + 24px);
  border: 1px solid rgba(14, 39, 70, 0.13);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #fbfcfd);
  box-shadow: 0 10px 26px rgba(3, 20, 38, 0.045);
  transition: transform var(--pp-transition), box-shadow var(--pp-transition), border-color var(--pp-transition);
}

.service-portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 167, 100, 0.5);
  box-shadow: 0 20px 44px rgba(3, 20, 38, 0.09);
}

.service-portfolio-number {
  min-width: 38px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--pp-gold), #d7b66d);
  color: var(--pp-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.service-portfolio-copy h2 {
  margin: 2px 0 14px;
  color: var(--pp-navy-deep);
  font-size: clamp(0.98rem, 1.25vw, 1.15rem);
  line-height: 1.35;
  text-transform: uppercase;
}

.is-rtl .service-portfolio-copy h2 {
  text-transform: none;
}

.service-portfolio-copy p {
  color: var(--pp-text-soft);
  font-size: 0.84rem;
  line-height: 1.7;
}

.delivery-diagram-five span {
  max-width: 180px;
  text-align: center;
  white-space: normal;
}

.delivery-diagram-five span:nth-child(1) {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.delivery-diagram-five span:nth-child(2) {
  right: 0;
  top: 30%;
  transform: translateY(-50%);
}

.delivery-diagram-five span:nth-child(3) {
  right: 10%;
  bottom: 24px;
  left: auto;
  transform: none;
}

.delivery-diagram-five span:nth-child(4) {
  left: 10%;
  bottom: 24px;
  top: auto;
  transform: none;
}

.delivery-diagram-five span:nth-child(5) {
  left: 0;
  top: 30%;
  transform: translateY(-50%);
}

.model-brand-fix {
  position: absolute;
  z-index: 3;
  top: 13.5%;
  left: 3.2%;
  width: 31%;
  min-height: 15%;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(90deg, #031426 0%, #031426 84%, rgba(3, 20, 38, 0) 100%);
  pointer-events: none;
}

.model-brand-fix img {
  width: 94%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  transform: none !important;
}

.footer-route-link {
  display: inline-block;
}

@media (min-width: 1121px) {
  .footer-route-link {
    white-space: nowrap;
    font-size: 0.82rem;
  }
}


@media(max-width:640px){
  .footer-social-links {justify-content: center;}
}
