/*
Theme Name: Osool Alemtyaz
Theme URI: https://osoolalemtyaz.com
Author: Osool Alemtyaz
Description: قالب عربي احترافي لشركة أصول الامتياز، يدعم الصفحات والخدمات والمشاريع والتواصل.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: osool-alemtyaz
*/

@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("assets/fonts/NotoKufiArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/fonts/NotoSansArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --teal: #002735;
  --teal-2: #0a3b45;
  --lime: #acd04d;
  --gray: #909489;
  --charcoal: #333433;
  --paper: #f4f6f2;
  --mist: #e7ece8;
  --white: #ffffff;
  --line: rgba(0, 39, 53, 0.14);
  --shadow: 0 24px 70px rgba(0, 39, 53, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  direction: rtl;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

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

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 86px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 246, 242, 0.92);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 32px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 205px;
  height: 68px;
}

.site-logo img {
  width: 46px;
  height: auto;
  flex: 0 0 auto;
}

.site-logo span,
.footer-brand__logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.site-logo strong,
.footer-brand__logo strong {
  font-family: "Noto Kufi Arabic";
  font-size: 0.86rem;
}

.site-logo small,
.footer-brand__logo small {
  margin-top: 3px;
  font-family: Arial, sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.09em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width 220ms ease;
}

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

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
}

.header-contact span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--teal);
  background: var(--lime);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 86px);
  background: var(--teal);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 62%, rgba(172, 208, 77, 0.07) 62% 63%, transparent 63%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  inset-inline-end: -230px;
  top: -220px;
  border: 1px solid rgba(172, 208, 77, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(172, 208, 77, 0.035), 0 0 0 180px rgba(172, 208, 77, 0.02);
}

.hero__grid {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 165px);
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 80px;
  padding-block: 72px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--lime);
}

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

.hero h1,
.page-hero h1,
.section-heading h2,
.cta-band h2,
.contact-details h2,
.contact-form-wrap h2,
.process h2,
.location-panel h2 {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
  line-height: 1.23;
  letter-spacing: -0.05em;
}

.hero__lead {
  max-width: 690px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.18rem;
  line-height: 2;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 24px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button--lime {
  background: var(--lime);
  color: var(--teal);
}

.button--teal {
  background: var(--teal);
  color: var(--white);
}

.button--outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  font-weight: 700;
}

.text-link--light {
  color: var(--white);
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(-6px);
}

.hero__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(430px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero__mark::before,
.hero__mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(172, 208, 77, 0.22);
}

.hero__mark::before { inset: 44px; }
.hero__mark::after { inset: 94px; }

.hero__mark > img {
  position: relative;
  z-index: 2;
  width: 48%;
  height: auto;
  opacity: 0.96;
}

.orbit {
  position: absolute;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 3px;
  background: var(--lime);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 700;
}

.orbit--one { top: 19%; inset-inline-end: 1%; }
.orbit--two { bottom: 17%; inset-inline-end: 12%; }
.orbit--three { top: 46%; inset-inline-start: -4%; }

.hero__fact {
  position: absolute;
  inset-inline-start: -30px;
  bottom: -18px;
  width: 180px;
  padding: 18px;
  background: var(--white);
  color: var(--teal);
  box-shadow: var(--shadow);
}

.hero__fact strong {
  display: block;
  color: var(--lime);
  font-family: "Noto Kufi Arabic";
  font-size: 2.5rem;
  line-height: 1;
}

.hero__fact span {
  display: block;
  margin-top: 7px;
  font-size: 0.78rem;
  line-height: 1.65;
}

.hero__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.hero__bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.section {
  padding-block: clamp(86px, 10vw, 142px);
}

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

.section-heading h2,
.cta-band h2,
.contact-details h2,
.contact-form-wrap h2,
.process h2,
.location-panel h2 {
  margin: 0;
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.section-heading__text {
  max-width: 720px;
  margin: 24px 0 0;
  color: #68736e;
  font-size: 1.05rem;
  line-height: 1.95;
}

.section-heading--light h2,
.section-heading--light .eyebrow,
.section-heading--light .section-heading__text {
  color: var(--white);
}

.section-heading--light .section-heading__text {
  color: rgba(255, 255, 255, 0.66);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: center;
}

.year-statement {
  position: relative;
  min-height: 340px;
  padding: 46px;
  color: var(--white);
  background: var(--teal);
  overflow: hidden;
}

.year-statement::after {
  content: "";
  position: absolute;
  inset-inline-end: -90px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  border: 45px solid var(--lime);
  border-radius: 50%;
  opacity: 0.15;
}

.year-statement span,
.year-statement small,
.year-statement strong {
  position: relative;
  z-index: 1;
  display: block;
}

.year-statement span { color: var(--lime); font-weight: 700; }
.year-statement strong { margin-top: 14px; font-size: clamp(4rem, 8vw, 7rem); line-height: 1; }
.year-statement small { max-width: 240px; margin-top: 42px; color: rgba(255, 255, 255, 0.75); font-size: 1rem; }

.split--about .text-link { margin-top: 30px; }

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

.service-ledger {
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.service-line {
  display: grid;
  grid-template-columns: 90px 1fr 62px;
  gap: 28px;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid var(--line);
  transition: padding 200ms ease, background 200ms ease;
}

.service-line:hover {
  padding-inline: 18px;
  background: var(--paper);
}

.service-line__number {
  color: var(--lime);
  font-family: "Noto Kufi Arabic";
  font-weight: 700;
}

.service-line h3 {
  margin: 0;
  color: var(--teal);
  font-family: "Noto Kufi Arabic";
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
}

.service-line p {
  margin: 10px 0 0;
  color: #6d7772;
}

.service-line > a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  transition: background 180ms ease, color 180ms ease;
}

.service-line:hover > a {
  background: var(--teal);
  color: var(--white);
}

.section--footprint {
  position: relative;
  overflow: hidden;
  background: var(--teal);
}

.section--footprint::after {
  content: "";
  position: absolute;
  inset-inline-start: -180px;
  top: 60px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(172, 208, 77, 0.24);
  border-radius: 50%;
}

.footprint {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
}

.footprint .button { margin-top: 34px; }

.footprint__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footprint__list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.footprint__list li > span { color: var(--lime); font-weight: 700; }
.footprint__list strong { display: block; font-family: "Noto Kufi Arabic"; font-size: 1.2rem; }
.footprint__list p { margin: 5px 0 0; color: rgba(255, 255, 255, 0.58); }

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 330px 330px;
  gap: 22px;
  margin-top: 60px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  background: var(--teal);
}

.project-card--1 { grid-row: 1 / 3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.project-card:hover img { transform: scale(1.035); }

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 39, 53, 0.92));
}

.project-card__overlay {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  padding: 34px;
  color: var(--white);
}

.project-card__overlay > span { color: var(--lime); font-size: 0.77rem; font-weight: 700; }
.project-card__overlay h3 { margin: 8px 0 0; font-family: "Noto Kufi Arabic"; font-size: 1.85rem; }
.project-card__overlay p { max-width: 480px; margin: 12px 0; color: rgba(255, 255, 255, 0.72); }
.project-card__overlay a { display: inline-block; border-bottom: 1px solid var(--lime); font-size: 0.85rem; font-weight: 700; }

.cta-band {
  padding-block: 74px;
  background: var(--lime);
}

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

.cta-band .section-heading,
.cta-band h2 { max-width: 760px; }

.site-footer {
  padding-top: 86px;
  background: var(--teal);
  color: var(--white);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.9fr;
  gap: 90px;
  padding-bottom: 72px;
}

.footer-brand__logo { display: flex; align-items: center; gap: 13px; }
.footer-brand__logo img { width: 58px; height: auto; }
.footer-brand__logo strong { color: var(--white); font-size: 1rem; }
.footer-brand__logo small { color: var(--lime); }
.footer-brand p { max-width: 370px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.62); }
.site-footer h2 { margin: 0 0 22px; color: var(--lime); font-size: 0.85rem; }
.site-footer nav { display: flex; flex-direction: column; gap: 12px; }
.site-footer__top > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__top > div:last-child p { color: rgba(255, 255, 255, 0.58); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--teal);
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 120px);
}

.page-hero__content { position: relative; z-index: 2; padding-block: 100px; }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.7rem, 5.5vw, 5.4rem); line-height: 1.32; letter-spacing: -0.045em; }
.page-hero__content > p:last-child { max-width: 760px; margin: 28px 0 0; color: rgba(255,255,255,.68); font-size: 1.1rem; }
.page-hero__mark { position: absolute; z-index: 1; inset-inline-start: -80px; top: -60px; width: 460px; opacity: 0.06; transform: rotate(-12deg); }
.page-hero__mark img { width: 100%; height: auto; }

.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 120px; align-items: start; }
.story-copy { font-size: 1.08rem; color: #626d68; }
.story-copy p { margin: 0 0 24px; }

.section--timeline { background: var(--white); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--line); }
.timeline article { position: relative; padding: 38px 24px 10px; border-inline-end: 1px solid var(--line); }
.timeline article::before { content: ""; position: absolute; top: -6px; inset-inline-start: 24px; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); }
.timeline span { color: var(--lime); font-family: "Noto Kufi Arabic"; font-weight: 700; }
.timeline h3 { margin: 14px 0 9px; color: var(--teal); font-family: "Noto Kufi Arabic"; }
.timeline p { margin: 0; color: #75807b; font-size: .9rem; }

.values-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-list article { padding: 36px 26px 40px; border-inline-end: 1px solid var(--line); }
.values-list span { color: var(--lime); font-weight: 700; }
.values-list h3 { margin: 34px 0 8px; color: var(--teal); font-family: "Noto Kufi Arabic"; font-size: 1.35rem; }
.values-list p { margin: 0; color: #747d79; font-size: .92rem; }

.section--locations { padding-top: 0; }
.location-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 62px; background: var(--teal); color: var(--white); }
.location-panel h2 { color: var(--white); font-size: 2.7rem; }
.location-panel__items { display: grid; gap: 16px; }
.location-panel__items article { display: flex; justify-content: space-between; gap: 30px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.location-panel__items strong { font-family: "Noto Kufi Arabic"; }
.location-panel__items span { color: rgba(255,255,255,.58); }

.services-detail { background: var(--white); }
.service-detail { position: relative; display: grid; grid-template-columns: 150px 1fr 130px; gap: 60px; align-items: start; padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.service-detail:first-child { padding-top: 0; }
.service-detail__aside > span { color: var(--lime); font-family: "Noto Kufi Arabic"; font-size: 2rem; font-weight: 700; }
.service-detail__aside p { color: var(--gray); }
.service-detail__main h2 { margin: 0; color: var(--teal); font-family: "Noto Kufi Arabic"; font-size: clamp(1.8rem, 3vw, 3rem); }
.service-detail__main > p { max-width: 720px; color: #66716c; font-size: 1.06rem; }
.service-detail ul,
.project-feature ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.service-detail li,
.project-feature li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal); font-size: .82rem; font-weight: 700; }
.service-detail__symbol { color: rgba(0,39,53,.055); font-family: "Noto Kufi Arabic"; font-size: 5.8rem; font-weight: 700; line-height: 1; }

.process-section { background: var(--teal); color: var(--white); }
.process { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.process h2 { color: var(--white); }
.process ol { margin: 0; padding: 0; list-style: none; }
.process li { display: grid; grid-template-columns: 54px 1fr; gap: 8px 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.process li span { grid-row: 1 / 3; color: var(--lime); font-weight: 700; }
.process li strong { font-family: "Noto Kufi Arabic"; font-size: 1.1rem; }
.process li p { margin: 0; color: rgba(255,255,255,.6); }

.project-showcase { background: var(--white); }
.project-feature { display: grid; grid-template-columns: 1.08fr .92fr; gap: 90px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.project-feature:nth-child(even) .project-feature__image { order: 2; }
.project-feature__image { position: relative; height: 470px; overflow: hidden; background: var(--mist); }
.project-feature__image img { width: 100%; height: 100%; object-fit: cover; }
.project-feature__image span { position: absolute; inset-inline-start: 22px; bottom: 18px; color: var(--white); font-family: "Noto Kufi Arabic"; font-size: 3rem; font-weight: 700; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.project-feature__content h2 { margin: 0; color: var(--teal); font-family: "Noto Kufi Arabic"; font-size: clamp(2rem, 4vw, 4rem); }
.project-feature__content > p:not(.eyebrow) { color: #66716c; font-size: 1.04rem; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.contact-details h2,
.contact-form-wrap h2 { margin-bottom: 34px; font-size: 2.7rem; }
.contact-line { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-line span { display: block; color: var(--gray); font-size: .82rem; }
.contact-line strong { display: block; margin-top: 5px; color: var(--teal); font-size: 1.06rem; }
.contact-details > .button { margin-top: 30px; }
.contact-locations { display: grid; gap: 16px; margin-top: 48px; }
.contact-locations > div { display: flex; justify-content: space-between; gap: 24px; }
.contact-locations span { color: var(--gray); }
.contact-form-wrap { padding: 44px; background: var(--white); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 19px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: var(--teal); font-size: .82rem; font-weight: 700; }
.contact-form input,
.contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--charcoal); padding: 13px 14px; outline: none; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(172,208,77,.2); }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.form-status { min-height: 22px; margin: 0; color: var(--gray); font-size: .8rem; }

@media (max-width: 1020px) {
  .site-header__inner { grid-template-columns: 190px 1fr auto; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: .82rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__content { padding-top: 20px; }
  .hero__mark { width: 360px; }
  .hero__fact { inset-inline-start: -20px; }
  .split,
  .footprint,
  .story-grid,
  .process,
  .contact-grid { gap: 60px; }
  .timeline,
  .values-list { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 110px 1fr; }
  .service-detail__symbol { display: none; }
  .site-footer__top { gap: 45px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 680px); }
  .site-header { height: 74px; }
  .site-header__inner { display: flex; justify-content: space-between; }
  .site-logo { width: 195px; height: 64px; }
  .site-logo img { width: 42px; }
  .desktop-nav,
  .header-contact { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: grid; gap: 6px; width: 42px; height: 42px; place-content: center; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 24px; height: 2px; background: var(--teal); }
  .mobile-nav nav { position: absolute; inset-inline-end: 0; top: 50px; width: min(310px, calc(100vw - 32px)); display: flex; flex-direction: column; padding: 18px; background: var(--teal); box-shadow: var(--shadow); }
  .mobile-nav nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--white); }
  .hero { min-height: auto; }
  .hero__grid { min-height: auto; padding-block: 72px 48px; }
  .hero h1 { font-size: clamp(2.25rem, 9.5vw, 3.7rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero__mark { width: min(320px, 88vw); }
  .hero__bar { flex-wrap: wrap; gap: 10px 18px; padding-block: 18px; }
  .split,
  .footprint,
  .story-grid,
  .process,
  .contact-grid,
  .location-panel,
  .project-feature { grid-template-columns: 1fr; }
  .year-statement { min-height: 300px; }
  .service-line { grid-template-columns: 48px 1fr 42px; gap: 14px; }
  .service-line p { display: none; }
  .service-line > a { width: 40px; height: 40px; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .project-card--1 { grid-row: auto; }
  .project-card { height: 420px; }
  .section-title-row { align-items: flex-start; flex-direction: column; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero { min-height: 450px; }
  .page-hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .timeline,
  .values-list { grid-template-columns: 1fr; }
  .timeline article,
  .values-list article { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .location-panel { padding: 38px 24px; }
  .location-panel__items article { flex-direction: column; gap: 4px; }
  .service-detail { grid-template-columns: 70px 1fr; gap: 20px; padding: 50px 0; }
  .service-detail__aside p { display: none; }
  .project-feature { gap: 36px; }
  .project-feature:nth-child(even) .project-feature__image { order: 0; }
  .project-feature__image { height: 370px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .section { padding-block: 78px; }
  .hero__mark { width: 280px; }
  .hero__fact { width: 150px; padding: 14px; }
  .hero__fact strong { font-size: 2rem; }
  .hero__bar i { display: none; }
  .project-card { height: 360px; }
  .project-card__overlay { padding: 24px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .service-detail { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-locations > div { flex-direction: column; gap: 2px; }
}

/* WordPress integration */
.desktop-nav .menu,
.mobile-nav .menu,
.site-footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.mobile-nav .menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer .menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-logo .custom-logo {
  width: auto;
  max-width: 190px;
  max-height: 62px;
  object-fit: contain;
}

.admin-bar .site-header {
  top: 32px;
}

.editor-content {
  max-width: 880px;
  font-size: 1.05rem;
}

.editor-content > *:first-child {
  margin-top: 0;
}

.posts-list {
  display: grid;
  gap: 24px;
}

.post-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
}

.post-card h2 {
  margin: 0;
  color: var(--teal);
  font-family: "Noto Kufi Arabic", sans-serif;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.form-status--success {
  padding: 14px 16px;
  background: #eaf1d5;
  color: var(--teal);
}

.form-status--error {
  padding: 14px 16px;
  background: #fde3e1;
  color: #8d2f2f;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

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