/* ==========================================================================
   ROWAD (رواد الطرق الحديث)
   Master Architectural Multi-Page Design System
   Visual Identity: Navy #0D2B4D | Burgundy #A5002B | Off-White #F7F7F5
   ========================================================================== */

:root {
  --navy: #0D2B4D;
  --navy-dark: #081C33;
  --navy-light: #163E6C;
  --burgundy: #A5002B;
  --burgundy-deep: #7F0022;
  --burgundy-glow: rgba(165, 0, 43, 0.12);

  --arch-white: #F7F7F5;
  --paper: #EFEFEA;
  --concrete: #E7E7E4;
  --graphite: #242A31;
  --ink: #141B22;
  --muted: #5F6B76;
  --sand: #B99A72;

  --line-subtle: rgba(13, 43, 77, 0.12);
  --line-light: rgba(255, 255, 255, 0.15);
  --line-dark: rgba(13, 43, 77, 0.22);

  --font-en: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Tajawal", -apple-system, sans-serif;

  --max-w: 1600px;
  --header-h: 84px;
  --header-scrolled-h: 70px;

  /* Spacing Scale (Mathematical 8pt / Fluid Grid System) */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --section-pad-v: clamp(64px, 7vw, 108px);
  --section-pad-h: max(5vw, 24px);
  --grid-gap: clamp(20px, 2.5vw, 32px);
  --grid-gap-sm: clamp(14px, 1.8vw, 20px);

  --ease-arch: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
  background-color: var(--arch-white);
  color: var(--ink);
}

body {
  font-family: var(--font-ar);
  /* Default Arabic */
  background-color: var(--arch-white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="en"] body {
  font-family: var(--font-en);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

::selection {
  background: var(--burgundy);
  color: #ffffff;
}

/* Page Noise & Scroll Progress */
.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 1100;
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--burgundy);
  transition: width 0.05s linear;
}

/* Layout Utilities */
.section-pad {
  padding: var(--section-pad-v) var(--section-pad-h);
}

.container-wide {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Fluid Layout Grid Helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap-sm);
}

/* Eyebrow & Linework */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.eyebrow.light {
  color: #ffffff;
}

.red-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--burgundy);
  flex-shrink: 0;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  padding: 12px 0;
  margin-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.breadcrumbs-bar a {
  color: var(--navy);
  transition: color 0.3s;
}

.breadcrumbs-bar a:hover {
  color: var(--burgundy);
}

.breadcrumbs-bar span.sep {
  color: var(--line-dark);
}

.breadcrumbs-bar span.current {
  color: var(--burgundy);
}

/* Section Headings */
.section-head {
  display: grid;
  grid-template-columns: clamp(60px, 6vw, 90px) 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  margin-bottom: clamp(36px, 4.5vw, 60px);
}

.section-number {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.85;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(13, 43, 77, 0.22);
  letter-spacing: -0.04em;
  user-select: none;
}

.section-head-body h2 {
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-weight: 800;
  margin-top: 8px;
}

.section-head-body h2 em {
  color: var(--burgundy);
  font-style: normal;
  display: inline-block;
}

.section-lead-text {
  max-width: 680px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 26px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.35s var(--ease-arch);
  user-select: none;
}

.btn span.arrow {
  font-size: 15px;
  transition: transform 0.3s var(--ease-arch);
}

.btn:hover span.arrow {
  transform: translate(3px, -3px);
}

html[dir="rtl"] .btn:hover span.arrow {
  transform: translate(-3px, -3px);
}

.btn-burgundy {
  background: var(--burgundy);
  color: #ffffff;
}

.btn-burgundy:hover {
  background: var(--burgundy-deep);
  box-shadow: 0 8px 24px var(--burgundy-glow);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

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

.btn-outline-navy:hover {
  background: var(--navy);
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: var(--navy);
}

.btn-white:hover {
  background: var(--paper);
  transform: translateY(-2px);
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 10px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4vw, 24px);
  background: rgba(247, 247, 245, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 43, 77, 0.09);
  z-index: 1000;
  transition: height 0.4s var(--ease-arch), background 0.4s var(--ease-arch), border-color 0.4s;
}

.site-header.scrolled {
  height: var(--header-scrolled-h);
  background: rgba(247, 247, 245, 0.98);
  border-bottom-color: rgba(13, 43, 77, 0.16);
  box-shadow: 0 4px 20px rgba(13, 43, 77, 0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}

.brand:hover img {
  transform: scale(1.02);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.desktop-nav a {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--burgundy);
  transition: right 0.3s var(--ease-arch);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  right: 0;
}

.desktop-nav a.active {
  color: var(--burgundy);
}

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

.lang-switch {
  background: transparent;
  border: 1px solid var(--line-subtle);
  color: var(--navy);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-switch:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
  background: #ffffff;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-subtle);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 9px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-scrolled-h) 0 0 0;
  background: var(--arch-white);
  z-index: 950;
  display: flex;
  flex-direction: column;
  padding: 26px 8vw;
  gap: 12px;
  transform: translateY(-110%);
  transition: transform 0.5s var(--ease-arch);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a:not(.btn) {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-subtle);
}

/* ==========================================================================
   HOMEPAGE FULL-SCREEN VIEWPORT-AWARE HERO
   ========================================================================== */
.hero {
  min-height: 100svh;
  max-height: 100svh;
  padding-top: var(--header-h);
  position: relative;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: stretch;
  background: linear-gradient(120deg, #FBFBF9 0%, #F5F5F0 50%, #ECECE6 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 10;
  padding: 2vh 4vw 85px 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--navy);
  font-weight: 800;
  margin: 12px 0 14px;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 em {
  display: block;
  color: var(--burgundy);
  font-style: normal;
}

.hero-lead {
  max-width: 500px;
  font-size: 14px;
  line-height: 1.65;
  color: #4A5560;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy);
  flex-wrap: wrap;
}

.hero-meta b {
  color: var(--burgundy);
}

.hero-visual {
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%, 12% 52%, 0% 42%);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.02);
}

.hero-diagonal-burgundy {
  position: absolute;
  right: -8%;
  top: 48%;
  width: 55%;
  height: 10%;
  background: var(--burgundy);
  transform: skewX(-38deg);
  opacity: 0.95;
  pointer-events: none;
  z-index: 4;
}

.hero-diagonal-navy {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 62%;
  height: 12%;
  background: var(--navy);
  transform: skewX(-38deg);
  pointer-events: none;
  z-index: 5;
}

.hero-technical-marker {
  position: absolute;
  right: 6%;
  top: 14%;
  z-index: 6;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.hero-technical-marker i {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--burgundy);
  margin-top: 8px;
}

.hero-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 80px;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  z-index: 20;
  border-top: 1px solid var(--line-light);
}

.hero-bottom-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-badge-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--burgundy);
  line-height: 1;
}

.hero-badge-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.hero-badge-desc {
  max-width: 360px;
  font-size: 10px;
  line-height: 1.5;
  color: #B9C4CE;
  margin-left: 14px;
  padding-left: 16px;
  border-left: 1px solid var(--line-light);
}

.hero-proof-tags {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #DFE5EA;
}

.hero-proof-tags span {
  position: relative;
}

.hero-proof-tags span+span::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--line-light);
}

/* ==========================================================================
   FAMILY OF BESPOKE INNER PAGE HERO VARIANTS
   ========================================================================== */

/* 1. EDITORIAL HERO (About Page) */
.hero-editorial {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, #FBFBF9 0%, #EFEFEA 100%);
  border-bottom: 1px solid var(--line-subtle);
  position: relative;
  overflow: hidden;
}

.hero-editorial-layout {
  display: grid;
  grid-template-columns: 80px 1.1fr 1fr;
  gap: 30px;
  align-items: end;
}

.hero-editorial-num {
  font-size: 90px;
  line-height: 0.8;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(13, 43, 77, 0.25);
  letter-spacing: -0.05em;
}

.hero-editorial-copy h1 {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-weight: 800;
  margin: 12px 0 16px;
}

.hero-editorial-copy h1 em {
  color: var(--burgundy);
  font-style: normal;
}

.hero-editorial-visual {
  height: 400px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
  border: 1px solid var(--line-subtle);
}

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

.hero-editorial-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 43, 77, 0.88);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

/* 2. MATERIALS PORTFOLIO HERO (Solutions Page) */
.hero-materials-portfolio {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
  background: var(--navy);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-materials-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 35px;
}

.hero-materials-top h1 {
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-weight: 800;
  margin-top: 10px;
}

.hero-materials-top h1 em {
  color: var(--sand);
  font-style: normal;
}

.hero-materials-slices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.material-slice {
  height: 240px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s var(--ease-arch);
}

.material-slice:hover {
  transform: translateY(-4px);
}

.material-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-arch);
}

.material-slice:hover img {
  transform: scale(1.06);
}

.material-slice-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 28, 51, 0.92) 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.material-slice-label span {
  display: block;
  font-size: 9px;
  color: var(--burgundy);
  letter-spacing: 0.15em;
  margin-bottom: 2px;
}

/* 3. MATERIAL SPOTLIGHT HERO (GRC Page) */
.hero-material-spotlight {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
  background: linear-gradient(180deg, #FBFBF9 0%, #F5F5F0 100%);
  border-bottom: 1px solid var(--line-subtle);
  position: relative;
  overflow: hidden;
}

.hero-spotlight-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 50px;
  align-items: center;
}

.hero-spotlight-display-title {
  font-size: clamp(54px, 7vw, 110px);
  line-height: 0.85;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--navy);
  margin: 10px 0 6px;
}

.hero-spotlight-sub {
  font-size: 14px;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-chip {
  background: var(--paper);
  border: 1px solid var(--line-subtle);
  color: var(--navy);
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-spotlight-img-box {
  height: 420px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-subtle);
}

.hero-spotlight-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. TECHNICAL SPECIFICATION HERO (UHPC Page) */
.hero-technical-spec {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-subtle);
  position: relative;
  overflow: hidden;
}

.hero-spec-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 40px;
  align-items: center;
}

.hero-live-spec-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-spec-card {
  background: #ffffff;
  border: 1px solid var(--line-subtle);
  padding: 22px 20px;
  transition: transform 0.3s;
}

.hero-spec-card:hover {
  transform: translateY(-3px);
  border-color: var(--burgundy);
}

.hero-spec-card strong {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  display: block;
}

.hero-spec-card strong span {
  font-size: 12px;
  color: var(--burgundy);
  margin-left: 4px;
}

.hero-spec-card p {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 8px;
}

/* 5. NATURAL STONE LUXURY HERO (Natural Stone Page) */
.hero-stone-luxury {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, #FAF8F5 0%, #EFEAE3 100%);
  border-bottom: 1px solid rgba(185, 154, 114, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-stone-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}

.hero-stone-grid h1 {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--navy);
  font-weight: 800;
  margin: 12px 0 14px;
}

.hero-stone-texture-frame {
  height: 380px;
  position: relative;
  border: 4px solid #ffffff;
  box-shadow: 0 16px 36px rgba(185, 154, 114, 0.15);
  overflow: hidden;
}

.hero-stone-texture-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 6. APPLICATIONS MOSAIC TAXONOMY HERO (Applications Page) */
.hero-apps-mosaic {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 50px;
  background: var(--arch-white);
  border-bottom: 1px solid var(--line-subtle);
}

.hero-apps-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 30px;
}

.hero-mini-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero-mini-tile {
  height: 130px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-subtle);
}

.hero-mini-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mini-tile span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 8px 10px;
  background: rgba(13, 43, 77, 0.85);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* 7. PORTFOLIO HERO (Projects Page) */
.hero-portfolio-style {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
  background: #ffffff;
  border-bottom: 1px solid var(--line-subtle);
}

.hero-portfolio-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 40px;
  align-items: center;
}

.hero-portfolio-img {
  height: 380px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-subtle);
}

.hero-portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 8. TECHNICAL LAB HERO (Engineering & Quality Page) */
.hero-technical-lab {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-subtle);
}

.hero-lab-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
  align-items: center;
}

.hero-lab-visual {
  height: 390px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-subtle);
}

.hero-lab-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-lab-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--burgundy);
  color: #ffffff;
  padding: 5px 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* 9. DOCUMENTATION HERO (Resources Page) */
.hero-documentation {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, #FBFBF9 0%, #F1F1EC 100%);
  border-bottom: 1px solid var(--line-subtle);
}

.hero-doc-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.hero-doc-quicklinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 10. CONTACT SPLIT HERO (Contact Page) */
.hero-contact-split {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 50px;
  background: #ffffff;
  border-bottom: 1px solid var(--line-subtle);
}

.hero-contact-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.hero-contact-badge {
  background: var(--paper);
  border: 1px solid var(--line-subtle);
  padding: 16px 18px;
}

.hero-contact-badge small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--burgundy);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.hero-contact-badge strong {
  font-size: 13px;
  color: var(--navy);
  display: block;
}

/* ==========================================================================
   MATERIALS SECTION (CARDS & DETAIL PANELS)
   ========================================================================== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.material-panel {
  background: #ffffff;
  border: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-arch), box-shadow 0.45s var(--ease-arch), border-color 0.4s;
}

.material-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(13, 43, 77, 0.08);
  border-color: rgba(165, 0, 43, 0.35);
}

.material-panel-image {
  height: clamp(240px, 22vw, 320px);
  position: relative;
  overflow: hidden;
  background: var(--concrete);
}

.material-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-arch);
}

.material-panel:hover .material-panel-image img {
  transform: scale(1.05);
}

.material-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 43, 77, 0) 40%, rgba(8, 28, 51, 0.8) 100%);
}

.material-panel-code {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13, 43, 77, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.material-panel-body {
  padding: clamp(24px, 2.5vw, 32px) clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.material-panel-body h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.material-panel-body .material-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.material-panel-body p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 16px;
}

.material-highlights {
  list-style: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.material-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}

.material-highlights li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--burgundy);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Material Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: clamp(28px, 3.5vw, 40px);
  background: #ffffff;
  border: 1px solid var(--line-subtle);
  box-shadow: 0 16px 36px rgba(13, 43, 77, 0.04);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

html[dir="rtl"] .comparison-table {
  text-align: right;
}

.comparison-table th,
.comparison-table td {
  padding: clamp(14px, 1.5vw, 18px) clamp(16px, 1.8vw, 22px);
  border-bottom: 1px solid var(--line-subtle);
  border-right: 1px solid var(--line-subtle);
}

.comparison-table th {
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.comparison-table th:first-child {
  background: var(--navy-dark);
}

.comparison-table td:first-child {
  font-weight: 800;
  color: var(--navy);
  background: var(--paper);
}

.comparison-table tr:hover td {
  background: #FBFBFA;
}

/* ==========================================================================
   ABOUT & ENGINEERING PROCESS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: auto;
  background: #ffffff;
  border: 1px solid var(--line-subtle);
  box-shadow: 0 16px 40px rgba(13, 43, 77, 0.04);
}

.about-navy-box {
  background: var(--navy);
  color: #ffffff;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3.2vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.about-navy-box::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
  pointer-events: none;
}

.about-vertical-label {
  writing-mode: vertical-rl;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.45);
}

.about-statement {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  font-weight: 600;
  color: #ffffff;
  margin: clamp(24px, 3vw, 36px) 0;
}

.about-content-box {
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-main-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: clamp(22px, 2.5vw, 30px);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line-subtle);
  padding-top: clamp(20px, 2.2vw, 28px);
}

.about-pillar h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 6px;
}

.about-pillar p {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  gap: clamp(8px, 1vw, 16px);
  margin-top: clamp(28px, 3.5vw, 44px);
}

.process-line {
  position: absolute;
  top: 22px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line-dark);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  padding: 0 clamp(6px, 1vw, 12px) clamp(12px, 1.5vw, 18px);
  transition: transform 0.3s;
}

.process-step:hover {
  transform: translateY(-4px);
}

.process-step-num {
  width: 42px;
  height: 42px;
  border: 2px solid var(--navy);
  background: var(--arch-white);
  color: var(--burgundy);
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(16px, 2vw, 22px);
  box-shadow: 0 4px 12px rgba(13, 43, 77, 0.08);
}

.process-step h4 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   TECHNICAL PERFORMANCE (UHPC MATRIX)
   ========================================================================== */
.technical-layout {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}

.technical-intro h2 {
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-weight: 800;
  margin: 12px 0 16px;
}

.technical-intro h2 em {
  color: var(--burgundy);
  font-style: normal;
}

.technical-subtitle-badge {
  display: inline-block;
  background: var(--navy);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.technical-intro p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.metrics-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #ffffff;
  border-top: 1px solid var(--line-subtle);
  border-left: 1px solid var(--line-subtle);
  box-shadow: 0 16px 36px rgba(13, 43, 77, 0.05);
}

.metric-cell {
  padding: clamp(22px, 2.5vw, 32px) clamp(18px, 2vw, 26px);
  border-right: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  position: relative;
  transition: background 0.3s;
}

.metric-cell:hover {
  background: #FAFAF8;
}

.metric-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.metric-value {
  font-size: 44px;
  line-height: 0.95;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.05em;
}

.metric-unit {
  font-size: 12px;
  font-weight: 800;
  color: var(--burgundy);
}

.metric-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--graphite);
  margin-top: 12px;
}

.metric-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.metric-cell.metric-featured {
  grid-column: 1 / -1;
  background: var(--navy);
  color: #ffffff;
}

.metric-cell.metric-featured:hover {
  background: var(--navy-dark);
}

.metric-cell.metric-featured .metric-value,
.metric-cell.metric-featured .metric-label {
  color: #ffffff;
}

.metric-cell.metric-featured .metric-note {
  color: #B2C0CC;
}

/* ==========================================================================
   QUALITY ASSURANCE
   ========================================================================== */
.quality-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  background: #ffffff;
  border: 1px solid var(--line-subtle);
  box-shadow: 0 20px 48px rgba(13, 43, 77, 0.05);
}

.quality-visual {
  position: relative;
  min-height: clamp(400px, 42vw, 560px);
  overflow: hidden;
  background: var(--concrete);
}

.quality-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-ribbon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(52%, 420px);
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px);
  background: var(--burgundy);
  color: #ffffff;
  font-size: 17px;
  line-height: 1.3;
}

.quality-ribbon b {
  font-weight: 800;
  display: block;
  margin-top: 4px;
}

.quality-body {
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quality-body h2 {
  font-size: clamp(32px, 3.8vw, 58px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-weight: 800;
  margin: 12px 0 16px;
}

.quality-body h2 em {
  color: var(--burgundy);
  font-style: normal;
}

.quality-body>p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 22px;
}

.quality-checklist {
  list-style: none;
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.quality-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-subtle);
}

.quality-check-num {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--burgundy);
  padding-top: 2px;
}

.quality-check-content h5 {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}

.quality-check-content p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   APPLICATIONS MOSAIC
   ========================================================================== */
.applications-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap-sm);
}

.app-card {
  position: relative;
  height: clamp(340px, 28vw, 420px);
  overflow: hidden;
  background: var(--concrete);
  border: 1px solid var(--line-subtle);
  transition: transform 0.45s var(--ease-arch), box-shadow 0.45s var(--ease-arch);
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(13, 43, 77, 0.09);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-arch);
}

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

.app-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 43, 77, 0.05) 30%, rgba(8, 28, 51, 0.92) 100%);
}

.app-card-content {
  position: absolute;
  left: clamp(18px, 2vw, 28px);
  right: clamp(18px, 2vw, 28px);
  bottom: clamp(18px, 2vw, 26px);
  z-index: 2;
  color: #ffffff;
}

.app-card-num {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--burgundy);
  letter-spacing: 0.12em;
}

.app-card-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 4px 0 6px;
  line-height: 1.15;
  color: #ffffff;
}

.app-card-desc {
  font-size: 11px;
  line-height: 1.55;
  color: #D6DEE5;
}

.app-card.app-card-wide {
  grid-column: span 2;
}

/* ==========================================================================
   PROJECTS SECTION (SELECTED WORK)
   ========================================================================== */
.projects-list {
  border-top: 1px solid var(--line-dark);
}

.project-row {
  display: grid;
  grid-template-columns: 50px clamp(180px, 18vw, 240px) 1fr clamp(140px, 14vw, 180px) 45px;
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  padding: clamp(18px, 2vw, 26px) clamp(14px, 1.8vw, 22px);
  border-bottom: 1px solid var(--line-subtle);
  transition: background 0.35s var(--ease-arch), padding 0.35s var(--ease-arch);
  cursor: pointer;
}

.project-row:hover {
  background: #ffffff;
  padding-left: clamp(20px, 2.2vw, 30px);
  padding-right: clamp(20px, 2.2vw, 30px);
  box-shadow: 0 10px 28px rgba(13, 43, 77, 0.05);
}

.project-no {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--burgundy);
}

.project-thumbnail {
  width: clamp(180px, 18vw, 240px);
  height: clamp(110px, 11vw, 140px);
  overflow: hidden;
  background: var(--concrete);
}

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

.project-row:hover .project-thumbnail img {
  transform: scale(1.05);
}

.project-info-main small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  display: block;
  margin-bottom: 4px;
}

.project-info-main h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 4px;
}

.project-info-main p {
  font-size: 11px;
  color: var(--muted);
}

.project-specs {
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--graphite);
}

.project-specs strong {
  color: var(--navy);
}

.project-arrow {
  font-size: 22px;
  color: var(--navy);
  transition: transform 0.3s, color 0.3s;
  text-align: right;
}

.project-row:hover .project-arrow {
  color: var(--burgundy);
  transform: translate(5px, -5px);
}

html[dir="rtl"] .project-row:hover .project-arrow {
  transform: translate(-5px, -5px);
}

.governance-notice {
  background: #ffffff;
  border: 1px solid var(--line-subtle);
  border-left: 4px solid var(--navy);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px);
  margin: clamp(20px, 2.5vw, 30px) 0 clamp(30px, 3.5vw, 44px);
}

html[dir="rtl"] .governance-notice {
  border-left-width: 1px;
  border-right: 4px solid var(--navy);
}

.governance-notice strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.governance-notice p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   RESOURCES & DOWNLOAD CARDS
   ========================================================================== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.resource-card {
  background: #ffffff;
  border: 1px solid var(--line-subtle);
  padding: clamp(26px, 3vw, 36px) clamp(22px, 2.5vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s var(--ease-arch), box-shadow 0.4s var(--ease-arch);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(13, 43, 77, 0.06);
}

.resource-card-type {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  text-transform: uppercase;
}

.resource-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 6px 0 8px;
}

.resource-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}

.resource-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(14px, 1.8vw, 20px);
  border-top: 1px solid var(--line-subtle);
}

.resource-size {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--sand);
}

/* ==========================================================================
   CONTACT PAGE & INQUIRY FORM
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: clamp(24px, 3vw, 44px);
  background: #ffffff;
  border: 1px solid var(--line-subtle);
  box-shadow: 0 20px 48px rgba(13, 43, 77, 0.05);
}

.contact-form-container {
  padding: clamp(36px, 4vw, 54px) clamp(26px, 3.2vw, 44px);
}

.contact-info-container {
  background: var(--navy);
  color: #ffffff;
  padding: clamp(36px, 4vw, 54px) clamp(26px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-block {
  margin-top: clamp(18px, 2.2vw, 28px);
}

.contact-info-item {
  margin-bottom: clamp(14px, 1.8vw, 22px);
}

.contact-info-item h4 {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--burgundy);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 13.5px;
  color: #D3DBE2;
  line-height: 1.6;
}

.contact-info-item a:hover {
  color: #ffffff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 18px);
}

.form-grid.full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  background: var(--arch-white);
  border: 1px solid var(--line-subtle);
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  background: #ffffff;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta {
  position: relative;
  min-height: 520px;
  background: var(--navy);
  overflow: hidden;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8, 28, 51, 0.96) 20%, rgba(13, 43, 77, 0.88) 55%, rgba(13, 43, 77, 0.5) 100%),
    url("../assets/images/hero/rowad-hero-architectural-landmark.jpg") center/cover no-repeat;
  opacity: 0.7;
}

.final-cta-shape-burgundy {
  position: absolute;
  right: -12%;
  top: 0;
  width: 42%;
  height: 100%;
  background: var(--burgundy);
  transform: skewX(-34deg);
  opacity: 0.95;
  pointer-events: none;
  z-index: 2;
}

.final-cta-shape-line {
  position: absolute;
  right: 18%;
  top: -20%;
  width: 25%;
  height: 140%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: skewX(-34deg);
  pointer-events: none;
  z-index: 2;
}

.final-cta-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: clamp(48px, 6vw, 84px) 0;
}

.final-cta h2 {
  font-size: clamp(34px, 4.5vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-weight: 800;
  margin: 14px 0 18px;
}

.final-cta h2 em {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--burgundy);
  text-underline-offset: 6px;
  font-style: normal;
}

.final-cta p {
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #D3DBE2;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.final-cta-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 16px);
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: #ffffff;
  padding: clamp(54px, 6vw, 80px) max(5vw, 24px) 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.footer-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 10px;
}

.footer-brand p {
  font-size: 12px;
  line-height: 1.75;
  color: #9EABB6;
  max-width: 320px;
  margin-top: 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  color: var(--burgundy);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
  font-size: 11.5px;
  color: #C8D1D8;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: clamp(16px, 2vw, 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #83929F;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   MODAL / INQUIRY DRAWER
   ========================================================================== */
.inquiry-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 51, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-arch);
}

.inquiry-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.inquiry-card {
  background: var(--arch-white);
  max-width: 650px;
  width: 100%;
  padding: clamp(28px, 3.5vw, 44px) clamp(22px, 3vw, 38px);
  border: 1px solid var(--line-subtle);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-arch);
  max-height: 90vh;
  overflow-y: auto;
}

.inquiry-modal.active .inquiry-card {
  transform: translateY(0);
}

.inquiry-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.inquiry-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.inquiry-card p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: clamp(16px, 2vw, 24px);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(1.03);
}

.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (ARCHITECTURAL BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
    padding-top: 110px;
  }

  .hero-copy {
    padding: 20px 6vw 40px;
  }

  .hero-visual {
    height: 480px;
  }

  .hero-bottom-bar {
    position: relative;
    min-height: auto;
    padding: 16px 6vw;
  }

  .hero-editorial-layout {
    grid-template-columns: 1fr;
  }

  .hero-editorial-visual {
    height: 300px;
  }

  .hero-materials-top {
    grid-template-columns: 1fr;
  }

  .hero-spotlight-grid,
  .hero-spec-grid,
  .hero-stone-grid,
  .hero-portfolio-grid,
  .hero-lab-grid,
  .hero-doc-grid {
    grid-template-columns: 1fr;
  }

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

  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 16px;
  }

  .process-line {
    display: none;
  }

  .technical-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .app-card.app-card-wide {
    grid-column: span 2;
  }

  .project-row {
    grid-template-columns: 40px 180px 1fr 40px;
  }

  .project-specs {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
    --header-scrolled-h: 62px;
  }

  .section-pad {
    padding: clamp(48px, 8vw, 65px) 16px;
  }

  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .section-head {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    margin-bottom: 30px;
  }

  .section-number {
    font-size: 38px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .hero-visual {
    height: 380px;
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-badge-desc,
  .hero-proof-tags {
    display: none;
  }

  .hero-materials-slices {
    grid-template-columns: 1fr;
  }

  .hero-live-spec-cards {
    grid-template-columns: 1fr;
  }

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

  .hero-contact-badges {
    grid-template-columns: 1fr;
  }

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

  .about-navy-box {
    padding: 32px 20px;
  }

  .about-content-box {
    padding: 30px 18px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 18px 10px;
  }

  .metrics-matrix {
    grid-template-columns: 1fr;
  }

  .quality-body {
    padding: 35px 18px;
  }

  .quality-ribbon {
    width: 90%;
    padding: 18px 14px;
    font-size: 13.5px;
  }

  .applications-mosaic {
    grid-template-columns: 1fr;
  }

  .app-card.app-card-wide {
    grid-column: span 1;
  }

  .project-row {
    grid-template-columns: 26px 1fr 26px;
    gap: 10px;
    padding: 16px 6px;
  }

  .project-thumbnail {
    display: none;
  }

  .project-info-main h3 {
    font-size: 16.5px;
  }

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

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

  .contact-form-container,
  .contact-info-container {
    padding: 30px 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================================================
   ARABIC & RTL ARCHITECTURE
   ========================================================================== */
html[dir="rtl"] body {
  font-family: var(--font-ar);
}

html[dir="rtl"] .eyebrow {
  letter-spacing: 0.04em;
}

html[dir="rtl"] .section-head {
  grid-template-columns: 1fr clamp(60px, 6vw, 90px);
}

@media (max-width: 768px) {
  html[dir="rtl"] .section-head {
    grid-template-columns: 1fr 40px;
  }
}

html[dir="rtl"] .section-number {
  order: 2;
  text-align: left;
}

html[dir="rtl"] .hero-copy {
  padding: 2vh 5vw 85px 4vw;
  text-align: right;
}

html[dir="rtl"] .hero-image-wrapper {
  clip-path: polygon(0% 0%, 82% 0%, 100% 42%, 88% 52%, 100% 100%, 0% 100%);
}

html[dir="rtl"] .hero-diagonal-burgundy {
  right: auto;
  left: -8%;
  transform: skewX(38deg);
}

html[dir="rtl"] .hero-diagonal-navy {
  right: auto;
  left: -4%;
  transform: skewX(38deg);
}

html[dir="rtl"] .hero-technical-marker {
  right: auto;
  left: 6%;
  text-align: left;
}

html[dir="rtl"] .hero-badge-desc {
  margin-left: 0;
  margin-right: 14px;
  padding-left: 0;
  padding-right: 16px;
  border-left: none;
  border-right: 1px solid var(--line-light);
}

html[dir="rtl"] .hero-proof-tags span+span::before {
  left: auto;
  right: -12px;
}

html[dir="rtl"] .material-panel-code {
  left: auto;
  right: 16px;
}

html[dir="rtl"] .about-vertical-label {
  writing-mode: vertical-lr;
}

html[dir="rtl"] .quality-ribbon {
  right: auto;
  left: 0;
}

html[dir="rtl"] .final-cta-shape-burgundy {
  right: auto;
  left: -12%;
  transform: skewX(34deg);
}

html[dir="rtl"] .final-cta-shape-line {
  right: auto;
  left: 18%;
  transform: skewX(34deg);
}

html[dir="rtl"] .project-arrow {
  text-align: left;
}

html[dir="rtl"] .inquiry-close {
  right: auto;
  left: 18px;
}