@font-face {
  font-family: "Almara";
  src:
    url("assets/fonts/Almara-Bold.woff2") format("woff2"),
    url("assets/fonts/Almara-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FuturaMdBT";
  src:
    url("assets/fonts/FuturaMdBT.woff2") format("woff2"),
    url("assets/fonts/FuturaMdBT.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FuturaBkBT";
  src:
    url("assets/fonts/FuturaBkBT.woff2") format("woff2"),
    url("assets/fonts/FuturaBkBT.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #262261;
  --red: #ee4036;
  --orange: #faaf40;
  --ink: #17152f;
  --muted: #6d6a80;
  --soft: #f8f8fc;
  --line: rgba(38, 34, 97, 0.12);
  --shadow: 0 18px 48px rgba(38, 34, 97, 0.09);
  --font-ar-heading: "Almara", "Almarai", Tahoma, sans-serif;
  --font-ar-body: "Almarai", Tahoma, sans-serif;
  --font-en-heading: "FuturaMdBT", Arial, sans-serif;
  --font-en-body: "FuturaBkBT", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  font-family: var(--font-ar-body);
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

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

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

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-ar-heading);
  color: var(--navy);
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 {
  font-family: var(--font-en-heading);
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--orange);
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

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

.eyebrow::before {
  content: "";
  width: 26px;
  height: 9px;
  border: 3px solid currentColor;
  transform: rotate(45deg);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-family: var(--font-ar-heading);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), #ff6b39);
  box-shadow: 0 12px 28px rgba(238, 64, 54, 0.18);
}

.btn-outline {
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(38, 34, 97, 0.06);
}

/* Intro */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(250, 175, 64, 0.2), transparent 28%),
    radial-gradient(circle at 78% 74%, rgba(238, 64, 54, 0.14), transparent 30%),
    #ffffff;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.intro.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(38, 34, 97, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 34, 97, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: gridMove 9s linear infinite;
}

.intro-box {
  position: relative;
  width: min(380px, 86vw);
  min-height: 330px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.intro-logo {
  width: 165px;
  max-height: 185px;
  object-fit: contain;
  opacity: 0;
  animation: logoBuild 2.4s ease forwards 0.35s;
}

.intro-title {
  margin: 16px 0 4px;
  color: var(--navy);
  font-family: var(--font-ar-heading);
  font-weight: 900;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.55s;
}

.intro-sub {
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.8s;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38, 34, 97, 0.08);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img {
  width: 108px;
  max-height: 54px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--navy);
  font-family: var(--font-ar-heading);
  font-weight: 900;
  font-size: 0.9rem;
}

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

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a[href="#clients"] {
  display: none !important;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

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

.lang-switch {
  width: 46px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--navy);
  background: rgba(38, 34, 97, 0.08);
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #ffffff;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  background: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38, 34, 97, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 34, 97, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 90px;
  inset-inline-start: -130px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(238, 64, 54, 0.055);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  padding: 58px 0 78px;
}

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

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

.hero-card {
  width: min(100%, 470px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  position: relative;
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 74% 18%, rgba(250, 175, 64, 0.11), transparent 26%),
    var(--soft);
  border: 1px solid rgba(38, 34, 97, 0.08);
  box-shadow: 0 18px 55px rgba(38, 34, 97, 0.08);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 16px solid rgba(38, 34, 97, 0.045);
  transform: rotate(45deg);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 26px;
  border-radius: 999px;
  background: rgba(238, 64, 54, 0.12);
  transform: rotate(-35deg);
  bottom: 105px;
  inset-inline-start: 70px;
}

.hero-card img {
  position: relative;
  z-index: 2;
  width: min(68%, 270px);
  max-height: 300px;
  object-fit: contain;
}

/* Sections */
.section {
  padding: 96px 0;
  background: #ffffff;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Stats */
.stats-strip {
  padding: 48px 0 0;
  background: #ffffff;
}

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

.stat-card,
.card,
.project-card,
.client-logo,
.why-item,
.faq-item,
.blog-card,
.profile-card,
.contact-card,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(38, 34, 97, 0.06);
}

.stat-card {
  min-height: 142px;
  display: grid;
  align-content: center;
  padding: 26px;
  text-align: center;
}

.stat-card strong {
  color: var(--red);
  font-family: var(--font-en-heading);
  font-size: 2.65rem;
  line-height: 1;
}

.stat-card span {
  margin-top: 10px;
  color: var(--navy);
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

html[lang="en"] .stat-card span {
  font-family: var(--font-en-heading);
}

/* About */
.about-panel {
  min-height: 500px;
  display: grid;
  place-items: center;
  position: relative;
  padding: 44px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(250, 175, 64, 0.13), transparent 32%),
    var(--soft);
  border: 1px solid rgba(38, 34, 97, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: repeating-linear-gradient(45deg, transparent 0 36px, rgba(38, 34, 97, 0.08) 36px 40px);
}

.about-panel img {
  position: relative;
  z-index: 2;
  width: 210px;
  max-height: 240px;
  object-fit: contain;
}

.panel-card {
  position: relative;
  z-index: 2;
  align-self: end;
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(38, 34, 97, 0.09);
  box-shadow: 0 14px 35px rgba(38, 34, 97, 0.07);
}

.panel-card strong {
  color: var(--red);
  font-family: var(--font-ar-heading);
  font-size: 1.15rem;
}

html[lang="en"] .panel-card strong {
  font-family: var(--font-en-heading);
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mini-list span {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(38, 34, 97, 0.08);
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

html[lang="en"] .mini-list span {
  font-family: var(--font-en-heading);
}

/* Services Clean Fixed */
#services {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(250, 175, 64, 0.08), transparent 26%),
    radial-gradient(circle at 10% 80%, rgba(238, 64, 54, 0.045), transparent 28%),
    #ffffff;
}

#services::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(38, 34, 97, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 34, 97, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

#services .container {
  position: relative;
  z-index: 2;
}

#services .section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

#services .section-heading h2 {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
  line-height: 1.28;
}

#services .section-heading p {
  max-width: 600px;
  margin-inline: auto;
  font-size: 0.92rem;
  line-height: 1.7;
}

#servicesGrid,
#services .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
  overflow: visible;
}

#services .card,
#services .service-orbit-card {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(38, 34, 97, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 26px rgba(38, 34, 97, 0.055);
  overflow: hidden;
  text-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

#services .card:hover,
#services .service-orbit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(250, 175, 64, 0.55);
  box-shadow: 0 16px 34px rgba(38, 34, 97, 0.09);
}

#services .card::before,
#services .service-orbit-icon {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 175, 64, 0.1);
  box-shadow: 0 0 0 6px rgba(250, 175, 64, 0.055);
  transform: none;
}

#services .card::after,
#services .service-orbit-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 4px solid var(--orange);
  border-radius: 2px;
  transform: rotate(45deg);
}

#services .service-orbit-icon::after,
#services .service-left::after,
#services .service-right::before {
  display: none !important;
}

#services .card h3,
#services .service-orbit-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.88rem;
  line-height: 1.35;
  white-space: nowrap;
}

#services .card p {
  display: none;
}

.services-orbit {
  display: contents;
}

.services-center {
  display: none;
}

/* General Cards */
.cards-grid,
.projects-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 230px;
  position: relative;
  padding: 28px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border: 9px solid var(--orange);
  transform: rotate(45deg);
}

/* Projects */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--navy);
  background: #ffffff;
  cursor: pointer;
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

html[lang="en"] .filter-btn {
  font-family: var(--font-en-heading);
}

.filter-btn:nth-child(4) {
  display: none !important;
}

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

.catalog-card {
  padding: 24px;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 90% 10%, rgba(250, 175, 64, 0.12), transparent 28%),
    #ffffff;
}

#projectsGrid .catalog-card:nth-child(3) {
  display: none !important;
}

.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.catalog-number {
  color: var(--navy);
  font-family: var(--font-en-heading);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.catalog-status {
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--red);
  font-family: var(--font-ar-heading);
  font-size: 0.8rem;
  font-weight: 900;
}

html[lang="en"] .catalog-status {
  font-family: var(--font-en-heading);
}

.catalog-body h3 {
  margin-bottom: 12px;
}

.catalog-body p {
  margin-bottom: 22px;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-meta span,
.project-meta span {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(38, 34, 97, 0.07);
  font-size: 0.82rem;
  font-weight: 900;
}

.project-card {
  overflow: hidden;
}

.project-media {
  min-height: 210px;
  position: relative;
  background:
    radial-gradient(circle at 70% 25%, rgba(250, 175, 64, 0.18), transparent 26%),
    var(--soft);
  border-bottom: 1px solid rgba(38, 34, 97, 0.08);
}

.project-media::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 22px solid rgba(38, 34, 97, 0.07);
  transform: rotate(45deg);
  top: 40px;
  inset-inline-start: 42px;
}

.project-media::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 24px;
  border-radius: 999px;
  background: rgba(238, 64, 54, 0.24);
  bottom: 56px;
  inset-inline-end: 28px;
  transform: rotate(-34deg);
}

.project-body {
  padding: 24px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* Profile */
.profile-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
  position: relative;
  padding: 38px;
  border-radius: 34px;
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 24px solid rgba(38, 34, 97, 0.05);
  transform: rotate(45deg);
  inset-inline-end: -70px;
  top: -70px;
}

.profile-content,
.profile-visual {
  position: relative;
  z-index: 2;
}

.profile-visual {
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 24%, rgba(250, 175, 64, 0.18), transparent 26%),
    var(--soft);
  border: 1px solid rgba(38, 34, 97, 0.08);
}

.profile-visual img {
  width: 170px;
  max-height: 190px;
  object-fit: contain;
}

/* Process */
.process {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(250, 175, 64, 0.12), transparent 28%),
    radial-gradient(circle at 90% 85%, rgba(238, 64, 54, 0.08), transparent 30%),
    var(--soft);
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(38, 34, 97, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 34, 97, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.process .container {
  position: relative;
  z-index: 2;
}

.process .section-heading {
  margin-bottom: 24px;
}

.compact-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.compact-step {
  position: relative;
  min-height: 132px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(38, 34, 97, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(38, 34, 97, 0.055);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: compactStepIn 0.55s ease both;
  animation-delay: calc(var(--i) * 0.06s);
}

.compact-step:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 175, 64, 0.5);
  box-shadow: 0 18px 42px rgba(38, 34, 97, 0.1);
}

.compact-step::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  inset-inline-end: -28px;
  bottom: -28px;
  border-radius: 50%;
  background: rgba(250, 175, 64, 0.12);
}

.compact-step-num {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), #39348b);
  box-shadow: 0 10px 22px rgba(38, 34, 97, 0.16);
  font-family: var(--font-en-heading);
  font-size: 0.82rem;
  font-weight: 900;
}

.compact-step-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.compact-step-content small {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--red);
  font-family: var(--font-ar-heading);
  font-size: 0.72rem;
  font-weight: 900;
}

html[lang="en"] .compact-step-content small {
  font-family: var(--font-en-heading);
}

.compact-step-content h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.35;
}

.compact-step-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* Hidden Sections */
#sectors,
#clients {
  display: none !important;
}

/* Clients / Why / Vision */
.client-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.client-logo {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--navy);
  font-family: var(--font-ar-heading);
  font-weight: 900;
  text-align: center;
}

html[lang="en"] .client-logo {
  font-family: var(--font-en-heading);
}

.why-list {
  display: grid;
  gap: 12px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  color: var(--navy);
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

html[lang="en"] .why-item {
  font-family: var(--font-en-heading);
}

.why-item::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 4px solid var(--red);
  transform: rotate(45deg);
}

.vision-mark {
  color: transparent;
  font-family: var(--font-en-heading);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  -webkit-text-stroke: 2px rgba(38, 34, 97, 0.3);
}

/* Blog / FAQ */
.blog-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.blog-card small {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--orange);
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

html[lang="en"] .blog-card small {
  font-family: var(--font-en-heading);
}

.read-more {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

html[lang="en"] .read-more {
  font-family: var(--font-en-heading);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  padding: 22px 24px;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  text-align: start;
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

html[lang="en"] .faq-question {
  font-family: var(--font-en-heading);
}

.faq-question::after {
  content: "+";
  color: var(--red);
  font-size: 1.4rem;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.85;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Contact */
.contact {
  background:
    radial-gradient(circle at 10% 20%, rgba(250, 175, 64, 0.1), transparent 24%),
    radial-gradient(circle at 80% 70%, rgba(238, 64, 54, 0.08), transparent 24%),
    var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.contact-card,
.quote-form {
  padding: 34px;
  border-radius: 34px;
}

.contact-card {
  position: sticky;
  top: 88px;
}

.contact-info {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-info a,
.contact-info span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--navy);
  background: rgba(38, 34, 97, 0.06);
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

html[lang="en"] .contact-info a,
html[lang="en"] .contact-info span {
  font-family: var(--font-en-heading);
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--navy);
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

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

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  color: var(--ink);
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(250, 175, 64, 0.16);
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--navy);
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

.form-status.error {
  color: var(--red);
}

.form-status.success {
  color: #0f7a43;
}

/* Footer */
.footer {
  padding: 70px 0 0;
  color: var(--navy);
  background: #ffffff;
  border-top: 1px solid rgba(38, 34, 97, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 42px;
}

.footer-logo {
  width: 132px;
  max-height: 66px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer h4 {
  margin: 0 0 18px;
  color: var(--red);
  font-family: var(--font-ar-heading);
}

html[lang="en"] .footer h4 {
  font-family: var(--font-en-heading);
}

.footer a {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-family: var(--font-ar-heading);
  font-weight: 800;
}

html[lang="en"] .footer a {
  font-family: var(--font-en-heading);
}

.footer-bottom {
  margin-top: 50px;
  padding: 20px;
  border-top: 1px solid rgba(38, 34, 97, 0.08);
  text-align: center;
  color: var(--muted);
}

/* WhatsApp / Mobile Nav */
.float-whatsapp {
  position: fixed;
  z-index: 850;
  right: 22px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

html[dir="rtl"] .float-whatsapp {
  right: auto;
  left: 22px;
}

.float-whatsapp svg {
  width: 31px;
  height: 31px;
  fill: #ffffff;
}

.mobile-bottom-nav {
  display: none;
}

/* Modal */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(23, 20, 67, 0.34);
  backdrop-filter: blur(10px);
}

.article-modal.open {
  display: grid;
}

.article-dialog {
  width: min(880px, 100%);
  max-height: min(86vh, 780px);
  overflow: auto;
  position: relative;
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(23, 20, 67, 0.22);
}

.article-hero {
  min-height: 210px;
  padding: 34px;
  background:
    radial-gradient(circle at 78% 25%, rgba(250, 175, 64, 0.18), transparent 28%),
    linear-gradient(135deg, var(--soft), #ffffff);
  border-bottom: 1px solid rgba(38, 34, 97, 0.08);
  overflow: hidden;
}

.article-category {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--orange);
  font-family: var(--font-ar-heading);
  font-weight: 900;
}

html[lang="en"] .article-category {
  font-family: var(--font-en-heading);
}

.article-body {
  padding: 34px;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.modal-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.4rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  z-index: 1200;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--red));
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Animations */
@keyframes gridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 92px 92px;
  }
}

@keyframes logoBuild {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.75);
    clip-path: inset(0 100% 100% 0);
  }

  60% {
    opacity: 1;
    transform: translateY(0) scale(1.04);
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes compactStepIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: 68px;
    inset-inline: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 15px 10px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-inner,
  .split,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    text-align: center;
    gap: 36px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

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

  #servicesGrid,
  #services .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }

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

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

@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    padding-bottom: 78px;
  }

  .site-header,
  .footer {
    display: none;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .intro-box {
    width: min(330px, 86vw);
    min-height: 300px;
    padding: 28px;
    border-radius: 28px;
  }

  .intro-logo {
    width: 135px;
  }

  .intro-title {
    font-size: 0.95rem;
  }

  .intro-sub {
    font-size: 0.85rem;
  }

  .hero {
    min-height: auto;
    padding: 18px 0 34px;
    background:
      radial-gradient(circle at 90% 10%, rgba(250, 175, 64, 0.16), transparent 32%),
      radial-gradient(circle at 5% 65%, rgba(238, 64, 54, 0.08), transparent 30%),
      #ffffff;
  }

  .hero::before {
    background-size: 38px 38px;
  }

  .hero::after,
  .hero-card {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    display: block;
    padding: 0;
    text-align: start;
  }

  .hero-copy::before {
    content: "";
    display: block;
    width: 96px;
    height: 52px;
    margin-bottom: 28px;
    background: url("assets/smart-materials-logo.png") no-repeat center / contain;
  }

  h1 {
    margin-bottom: 14px;
    font-size: 2.05rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  h2 {
    margin-bottom: 12px;
    font-size: 1.55rem;
    line-height: 1.25;
  }

  h3 {
    font-size: 1.05rem;
  }

  p,
  .hero-copy p,
  .section-heading p,
  .section-copy p,
  .card p,
  .project-card p {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .btn {
    min-height: 44px;
    padding: 11px 12px;
    font-size: 0.86rem;
  }

  .stats-strip {
    padding: 0 0 26px;
    margin-top: -8px;
  }

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

  .stat-card {
    min-height: 88px;
    padding: 14px;
    border-radius: 20px;
    text-align: start;
  }

  .stat-card strong {
    font-size: 1.5rem;
  }

  .stat-card span {
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .section {
    padding: 34px 0;
  }

  .section-heading {
    margin-bottom: 20px;
    text-align: start;
  }

  .section-heading .eyebrow {
    margin-inline: 0;
  }

  .split {
    gap: 20px;
  }

  .mini-list {
    gap: 8px;
    margin-top: 18px;
  }

  .mini-list span {
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .about-panel {
    min-height: auto;
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
  }

  .about-panel::before {
    display: none;
  }

  .about-panel img {
    width: 74px;
    max-height: 82px;
  }

  .panel-card {
    align-self: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .panel-card strong {
    font-size: 0.98rem;
  }

  .panel-card p {
    margin: 4px 0 0;
    font-size: 0.82rem;
    line-height: 1.55;
  }

  #services {
    padding: 30px 0;
  }

  #services .section-heading {
    margin-bottom: 16px;
  }

  #services .section-heading .eyebrow {
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  #services .section-heading h2 {
    margin-bottom: 6px;
    font-size: 1.28rem;
    line-height: 1.25;
  }

  #services .section-heading p {
    display: none;
  }

  #servicesGrid,
  #services .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    max-width: 100%;
  }

  #services .card,
  #services .service-orbit-card {
    min-height: 54px;
    gap: 7px;
    padding: 8px 9px;
    border-radius: 14px;
  }

  #services .card:hover,
  #services .service-orbit-card:hover {
    transform: none;
  }

  #services .card::before,
  #services .service-orbit-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    box-shadow: 0 0 0 4px rgba(250, 175, 64, 0.055);
  }

  #services .card::after,
  #services .service-orbit-icon::before {
    width: 12px;
    height: 12px;
    border-width: 3px;
  }

  #services .card h3,
  #services .service-orbit-card h3 {
    font-size: 0.58rem;
    line-height: 1.25;
    white-space: nowrap;
  }

  .filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    margin-bottom: 18px;
  }

  .filter-btn {
    flex: 0 0 auto;
    padding: 9px 13px;
    font-size: 0.78rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalog-card {
    min-height: auto;
    padding: 16px;
    border-radius: 22px;
  }

  .catalog-head {
    margin-bottom: 16px;
  }

  .catalog-status,
  .catalog-meta span {
    font-size: 0.72rem;
  }

  .project-media {
    display: none;
  }

  .project-card {
    border-radius: 22px;
  }

  .project-body {
    padding: 16px;
  }

  .project-meta {
    gap: 7px;
    margin-bottom: 12px;
  }

  .project-meta span {
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .profile-card {
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
  }

  .profile-card::before {
    width: 150px;
    height: 150px;
    border-width: 16px;
  }

  .profile-visual {
    display: none;
  }

  .process {
    padding: 26px 0;
  }

  .process .section-heading {
    margin-bottom: 14px;
  }

  .process .section-heading .eyebrow {
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  .process .section-heading h2 {
    margin-bottom: 6px;
    font-size: 1.28rem;
    line-height: 1.25;
  }

  .process .section-heading p {
    display: none;
  }

  .compact-process {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .compact-step {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(38, 34, 97, 0.055);
  }

  .compact-step:hover {
    transform: none;
  }

  .compact-step::after {
    width: 46px;
    height: 46px;
    inset-inline-end: -20px;
    bottom: -20px;
  }

  .compact-step-num {
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 11px;
    font-size: 0.68rem;
    flex: 0 0 auto;
  }

  .compact-step-content small,
  .compact-step-content p {
    display: none;
  }

  .compact-step-content h3 {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .client-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .client-logo {
    min-height: 82px;
    border-radius: 18px;
    font-size: 0.82rem;
  }

  .why-list {
    gap: 9px;
  }

  .why-item {
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
  }

  .why-item::before {
    width: 13px;
    height: 13px;
    border-width: 3px;
  }

  .vision {
    display: none;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blog-card {
    padding: 18px;
    border-radius: 22px;
  }

  .faq {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-card,
  .quote-form {
    padding: 20px;
    border-radius: 24px;
  }

  .contact-info {
    gap: 9px;
    margin-top: 16px;
  }

  .contact-info a,
  .contact-info span {
    min-height: 44px;
    padding: 11px 13px;
    border-radius: 15px;
    font-size: 0.86rem;
  }

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

  label {
    margin-bottom: 12px;
    font-size: 0.86rem;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    border-radius: 14px;
    padding: 12px 13px;
    font-size: 0.92rem;
  }

  .quote-form .btn {
    width: 100%;
  }

  .article-modal {
    padding: 14px;
  }

  .article-dialog {
    border-radius: 24px;
  }

  .article-hero,
  .article-body {
    padding: 22px;
  }

  .modal-close {
    top: 12px;
    inset-inline-end: 12px;
    width: 38px;
    height: 38px;
  }

  .article-actions {
    display: grid;
  }

  .article-actions .btn {
    width: 100%;
  }

  .float-whatsapp {
    bottom: 88px;
    width: 52px;
    height: 52px;
  }

  .float-whatsapp svg {
    width: 28px;
    height: 28px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 980;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(38, 34, 97, 0.1);
    box-shadow: 0 12px 34px rgba(38, 34, 97, 0.14);
  }

  .mobile-bottom-nav a {
    min-height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--navy);
    background: rgba(38, 34, 97, 0.04);
    font-family: var(--font-ar-heading);
    font-size: 0.76rem;
    font-weight: 900;
  }

  html[lang="en"] .mobile-bottom-nav a {
    font-family: var(--font-en-heading);
  }
}

@media (max-width: 420px) {
  #servicesGrid,
  #services .cards-grid {
    gap: 7px;
  }

  #services .card,
  #services .service-orbit-card {
    min-height: 50px;
    gap: 6px;
    padding: 7px 8px;
  }

  #services .card::before,
  #services .service-orbit-icon {
    width: 23px;
    height: 23px;
    min-width: 23px;
  }

  #services .card::after,
  #services .service-orbit-icon::before {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  #services .card h3,
  #services .service-orbit-card h3 {
    font-size: 0.51rem;
  }

  .compact-process {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .compact-step {
    min-height: 68px;
    gap: 7px;
    padding: 9px;
    border-radius: 14px;
  }

  .compact-step-num {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-size: 0.62rem;
  }

  .compact-step-content h3 {
    font-size: 0.66rem;
    line-height: 1.3;
  }
}