:root {
  --surface: #f8f9ff;
  --surface-soft: #eff4ff;
  --surface-blue: #e6eeff;
  --surface-white: #ffffff;
  --ink: #0d1c2f;
  --muted: #42474c;
  --line: #c3c7cd;
  --primary: #001726;
  --primary-2: #0e2c3f;
  --primary-3: #1a435d;
  --gold: #755a29;
  --gold-light: #ffdeaa;
  --gold-soft: #e5c186;
  --white: #ffffff;
  --shadow: 0 30px 60px -18px rgba(13, 28, 47, 0.22);
  --shadow-soft: 0 22px 46px -24px rgba(13, 28, 47, 0.32);
  --radius: 8px;
  --container: 1280px;
  --space-section: 112px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tajawal", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--surface);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--gold-light);
  color: #271900;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.container {
  width: min(calc(100% - 128px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 23, 38, 0.95);
  border-bottom: 1px solid rgba(255, 222, 170, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 72px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 222, 170, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-name {
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.4;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  padding-block: 10px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  border-color: var(--gold);
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), #9b793b);
  box-shadow: 0 18px 36px rgba(117, 90, 41, 0.26);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8b6b35, #b28a46);
}

.btn-outline {
  color: var(--gold-light);
  border: 2px solid var(--gold);
  background: rgba(0, 23, 38, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 222, 170, 0.12);
}

.btn-quiet {
  color: var(--gold-light);
  background: rgba(14, 44, 63, 0.9);
  border: 1px solid rgba(255, 222, 170, 0.18);
}

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

.icon-button {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 222, 170, 0.24);
  border-radius: var(--radius);
  background: rgba(14, 44, 63, 0.9);
  color: var(--gold-light);
}

.close-icon {
  display: none;
}

.hero {
  position: relative;
  min-height: 650px;
  height: 78svh;
  max-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 23, 38, 0.38), rgba(0, 23, 38, 0.9) 72%),
    linear-gradient(180deg, rgba(0, 23, 38, 0.12), rgba(0, 23, 38, 0.8));
}

.hero-content {
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.hero .eyebrow,
.contact-band .eyebrow {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: 56px;
  line-height: 1.15;
  font-weight: 900;
}

.hero-lead {
  max-width: 720px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.9;
}

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

.proof-band {
  background: var(--surface-white);
  border-bottom: 1px solid rgba(195, 199, 205, 0.55);
}

.proof-grid {
  min-height: 108px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.proof-item {
  display: grid;
  gap: 2px;
  border-inline-start: 1px solid rgba(195, 199, 205, 0.72);
  padding-inline-start: 24px;
}

.proof-item:last-child {
  border-inline-start: 0;
}

.proof-item strong {
  color: var(--primary);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding-block: var(--space-section);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 88px;
  align-items: center;
}

.media-block {
  position: relative;
}

.media-block img,
.project-card img,
.map-strip img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.media-block img {
  aspect-ratio: 1;
  box-shadow: var(--shadow);
}

.experience-badge {
  position: absolute;
  right: -22px;
  bottom: -22px;
  min-width: 150px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.experience-badge strong {
  display: block;
  color: var(--gold-light);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.experience-badge span {
  font-size: 14px;
  font-weight: 700;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0 0 24px;
  color: var(--primary);
  font-size: 40px;
  line-height: 1.25;
  font-weight: 900;
}

.section-copy > p,
.section-heading > p,
.contact-copy > p {
  max-width: 700px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-tile,
.service-card,
.project-card {
  border: 1px solid rgba(195, 199, 205, 0.62);
  border-radius: var(--radius);
  background: var(--surface-white);
}

.feature-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 18px;
}

.feature-tile .material-symbols-outlined {
  color: var(--gold);
  font-size: 28px;
}

.feature-tile h3 {
  margin: 0 0 2px;
  color: var(--primary);
  font-size: 18px;
  line-height: 1.35;
}

.feature-tile p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.services-section {
  background: var(--surface-blue);
}

.centered {
  text-align: center;
}

.centered > p,
.centered h2 {
  margin-inline: auto;
}

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

.service-card {
  min-height: 310px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(117, 90, 41, 0.36);
}

.service-card .material-symbols-outlined {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--gold-light);
  font-size: 30px;
}

.service-card h3 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 24px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.projects-section {
  background: var(--surface);
}

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

.project-card {
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card img {
  height: 260px;
  border-radius: 0;
}

.project-card-body {
  padding: 26px;
}

.project-card-body span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
}

.project-card-body h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 22px;
  line-height: 1.35;
}

.project-card-body p {
  margin: 0;
  color: var(--muted);
}

.contact-band {
  padding-block: var(--space-section);
  background: var(--primary);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

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

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.contact-item > .material-symbols-outlined {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 222, 170, 0.12);
  color: var(--gold-light);
}

.contact-item small {
  display: block;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
}

.contact-item strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  line-height: 1.5;
}

.map-strip {
  margin-top: 64px;
}

.map-strip img {
  height: 330px;
  opacity: 0.72;
  border: 1px solid rgba(255, 222, 170, 0.18);
}

.site-footer {
  background: #01111d;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: 42px;
  padding-block: 78px;
}

.footer-brand img {
  width: 86px;
  height: 46px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 222, 170, 0.18);
}

.footer-brand span {
  color: var(--gold-light);
  font-weight: 900;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 18px;
  line-height: 1.4;
}

.site-footer p {
  margin: 18px 0 0;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-contact p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 26px;
  border-top: 1px solid rgba(255, 222, 170, 0.12);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-icons {
  display: flex;
  gap: 16px;
  color: var(--gold-light);
}

@media (max-width: 1100px) {
  :root {
    --space-section: 86px;
  }

  .container {
    width: min(calc(100% - 80px), var(--container));
  }

  .main-nav {
    gap: 18px;
  }

  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .media-block {
    max-width: 620px;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 18px 20px 24px;
    background: rgba(0, 23, 38, 0.98);
    border-bottom: 1px solid rgba(255, 222, 170, 0.16);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

  body.menu-open .main-nav {
    transform: translateY(0);
  }

  .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .icon-button {
    display: grid;
  }

  body.menu-open .menu-icon {
    display: none;
  }

  body.menu-open .close-icon {
    display: inline-block;
  }

  .btn-quiet {
    display: none;
  }

  .hero {
    min-height: 560px;
    height: 72svh;
  }

  h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    padding-block: 24px;
  }

  .proof-item,
  .proof-item:last-child {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .feature-grid,
  .service-grid,
  .project-grid,
  .contact-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-copy h2 {
    font-size: 32px;
  }

  .project-card img {
    height: 230px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --space-section: 68px;
  }

  .brand-mark {
    width: 58px;
    height: 38px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .hero {
    min-height: 520px;
    height: auto;
  }

  .hero-content {
    padding-block: 70px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .experience-badge {
    right: 12px;
    bottom: 12px;
  }

  .feature-tile {
    grid-template-columns: 1fr;
  }

  .feature-tile p {
    grid-column: auto;
  }

  .service-card,
  .project-card-body {
    padding: 22px;
  }

  .map-strip img {
    height: 240px;
  }
}
