/* ============================================================
   SHOW VIEWS — minimal, spacious real estate site, built around the logo mark
   Tokens (unchanged brand system)
   bg:        #FAFAF8   (warm off-white)
   bg-2:      #F3F0EA   (panel / soft stone)
   ink:       #1B1B1B   (near-black — body text)
   navy:      #1A1A1A   (brand ink — headings, nav, footer)
   gold:      #E84821   (brand orange — from logo, used for accents, rules, links)
   gold-soft: #F3B79A   (soft orange for hairlines on dark backgrounds)
   display:   'Cormorant Garamond'  (serif, editorial)
   body:      'Jost'                (clean geometric sans)
   logo:      'Poppins' (900)       (matches client's existing wordmark)
   signature: the client's real logo mark (images/logo-mark.png / logo-full.png)
   ============================================================ */

:root{
  --bg:#FAFAF8;
  --bg-2:#F3F0EA;
  --ink:#1B1B1B;
  --ink-soft:#5B5955;
  --navy:#1A1A1A;
  --navy-2:#262422;
  --gold:#E84821;
  --gold-dark:#B93A1A;
  --gold-soft:#F3B79A;
  --line:#E7E2D8;
  --radius:14px;
  --radius-sm:9px;
  --shadow:0 1px 2px rgba(27,27,27,0.04), 0 10px 30px -14px rgba(27,27,27,0.14);
  --shadow-hover:0 4px 10px rgba(27,27,27,0.05), 0 20px 40px -16px rgba(27,27,27,0.18);
  --ff-display:'Cormorant Garamond', Georgia, serif;
  --ff-body:'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ff-logo:'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --max:1200px;
}

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

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0; font-family:var(--ff-display); font-weight:600; color:var(--navy); }
p{ margin:0; }
img{ max-width:100%; display:block; }

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

.eyebrow{
  font-size:12px;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:500;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:'';
  width:22px; height:1px;
  background:var(--gold);
  display:inline-block;
}

.section-head{
  max-width:var(--max);
  margin:0 auto;
  padding:88px 32px 44px;
  text-align:center;
}
.section-head__title{
  font-size:clamp(28px,3.6vw,42px);
  margin-top:14px;
  letter-spacing:0.01em;
}
.section-head__sub{
  max-width:56ch;
  margin:16px auto 0;
  color:var(--ink-soft);
  font-size:16px;
}

.rule{
  width:56px; height:1px;
  background:var(--gold);
  margin:20px auto 0;
}
.rule--left{ margin:20px 0 0; }

/* ============ NAV ============ */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(250,248,243,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav__inner{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.nav__logo{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}
.nav__logo-mark{
  width:34px; height:34px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.nav__logo-mark svg,
.nav__logo-mark img{ width:100%; height:100%; display:block; object-fit:contain; }
.nav__logo-text{
  font-family:var(--ff-logo);
  font-size:16px;
  font-weight:800;
  letter-spacing:0.02em;
  color:var(--navy);
  line-height:1;
  text-transform:uppercase;
}
.nav__logo-text b{ color:var(--gold); font-weight:800; }

.nav__links{
  display:flex;
  gap:22px;
  font-size:13px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--navy);
}
.nav__links a{
  position:relative;
  padding-bottom:4px;
  transition:color .2s ease;
}
.nav__links a::after{
  content:'';
  position:absolute; left:0; right:0; bottom:0;
  height:2px; background:var(--gold); border-radius:2px;
  transform:scaleX(0); transform-origin:left;
  transition:transform .2s ease;
}
.nav__links a:hover::after,
.nav__links a:focus-visible::after,
.nav__links a.is-active::after{ transform:scaleX(1); }
.nav__links a.is-active{ color:var(--gold); }

.nav__cta{
  border:1px solid var(--navy);
  background:var(--navy);
  color:var(--bg);
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:12px 22px;
  white-space:nowrap;
  border-radius:100px;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.nav__cta:hover{ background:var(--gold); border-color:var(--gold); transform:translateY(-1px); }

.nav__burger{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none;
  width:26px;
}
.nav__burger span{ height:1px; background:var(--navy); display:block; }

.nav__mobile{
  display:none;
  flex-direction:column;
  border-top:1px solid var(--line);
  padding:20px 32px 28px;
  gap:18px;
  font-size:13px;
  letter-spacing:0.05em;
  text-transform:uppercase;
}
.nav__mobile.is-open{ display:flex; }
.nav__cta--mobile{ width:100%; text-align:center; margin-top:8px; border-radius:100px; }

/* ============ PAGE HERO (banner used on every interior page) ============ */
.page-hero{
  background:var(--navy);
  color:#EDE7DA;
  text-align:center;
  padding:112px 32px 76px;
  position:relative;
  overflow:hidden;
}
.page-hero .eyebrow{ color:var(--gold-soft); }
.page-hero .eyebrow::before{ background:var(--gold-soft); }
.page-hero h1{
  color:#fff;
  font-size:clamp(36px,5.6vw,58px);
  margin-top:16px;
}
.page-hero p{
  max-width:56ch;
  margin:18px auto 0;
  color:#C9C1B0;
  font-size:16px;
}
.page-hero__crumb{
  margin-top:26px;
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:#8C97A5;
}
.page-hero__crumb a:hover{ color:var(--gold-soft); }

/* ============ HOME HERO ============ */
.hero{
  max-width:var(--max);
  margin:0 auto;
  padding:64px 32px 0;
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
.hero__copy .eyebrow{ margin-bottom:18px; }
.hero__title{
  font-size:clamp(36px,5vw,60px);
  line-height:1.08;
}
.hero__title em{ color:var(--gold); font-style:normal; }
.hero__sub{
  margin-top:22px;
  max-width:48ch;
  color:var(--ink-soft);
  font-size:17px;
}
.hero__actions{
  display:flex;
  gap:16px;
  margin-top:32px;
  flex-wrap:wrap;
}
.hero__frame{
  position:relative;
  aspect-ratio:4/5;
  background:var(--bg-2) center/cover no-repeat;
  border-radius:var(--radius);
  overflow:hidden;
}

.hero__frame::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.02) 40%, rgba(0,0,0,0.25) 100%);
  pointer-events:none;
}
.hero__frame-mark{
  position:absolute; inset:0;
  display:flex; align-items:flex-end; justify-content:flex-start;
  padding:24px;
  z-index:1;
}
.hero__frame-mark svg,
.hero__frame-mark img{ width:64px; height:auto; opacity:0.95; filter:drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }

.hero__stats{
  max-width:var(--max);
  margin:56px auto 0;
  padding:0 32px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
}
.stat{
  padding:32px 12px;
  text-align:center;
  background:var(--bg-2);
}
.stat:first-child{ border-radius:var(--radius) 0 0 var(--radius); }
.stat:last-child{ border-radius:0 var(--radius) var(--radius) 0; }
.stat__num{
  font-family:var(--ff-display);
  font-size:clamp(24px,2.8vw,34px);
  color:var(--navy);
  display:block;
}
.stat__label{
  font-size:11px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--ink-soft);
  margin-top:6px;
  display:block;
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid var(--navy);
  border-radius:100px;
  font-size:13px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  padding:15px 28px;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--solid{ background:var(--navy); color:#fff; }
.btn--solid:hover{ background:var(--gold); border-color:var(--gold); transform:translateY(-1px); }
.btn--ghost{ background:transparent; color:var(--navy); }
.btn--ghost:hover{ background:var(--navy); color:#fff; transform:translateY(-1px); }
.btn--light{ background:var(--gold); border-color:var(--gold); color:#fff; }
.btn--light:hover{ background:var(--gold-dark); border-color:var(--gold-dark); color:#fff; transform:translateY(-1px); }
.btn--full{ width:100%; }

/* ============ GENERIC CONTENT BLOCKS ============ */
.block{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
}
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.two-col--rev{ direction:rtl; }
.two-col--rev > *{ direction:ltr; }

.panel{
  background:var(--bg-2);
  border-radius:var(--radius);
  padding:40px;
}
.panel-photo{
  aspect-ratio:4/3;
  background:var(--bg-2) center/cover no-repeat;
  border-radius:var(--radius);
  position:relative;
  overflow:hidden;
}
.panel-photo::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(232,72,33,0.08), transparent 60%);
}

.list-check{ display:flex; flex-direction:column; gap:14px; margin-top:22px; }
.list-check li{
  display:flex; gap:14px; align-items:flex-start;
  font-size:15px; color:var(--ink-soft);
}
.list-check li::before{
  content:'';
  width:6px; height:6px;
  margin-top:9px;
  background:var(--gold);
  flex-shrink:0;
  border-radius:2px;
}

/* ============ VALUES / SERVICES GRID ============ */
.grid-4{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.grid-3{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.value-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:36px 28px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:box-shadow .2s ease, transform .2s ease;
}
.value-card:hover{ box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.value-card__mark{
  width:40px; height:40px;
  border-radius:var(--radius-sm);
  background:var(--bg-2);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--ff-display);
  font-size:16px;
  color:var(--gold);
}
.value-card h3{ font-size:19px; }
.value-card p{ font-size:14px; color:var(--ink-soft); }

/* ============ DEVELOPERS ============ */
.dev-grid{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
}
.dev-chip{
  background:#fff;
  border:1px solid var(--line);
  border-radius:100px;
  padding:12px 22px;
  font-family:var(--ff-body);
  font-size:13px;
  letter-spacing:0.03em;
  color:var(--navy);
  font-weight:500;
  transition:border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dev-chip:hover{
  border-color:var(--gold);
  color:var(--gold);
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}

/* ============ SERVICES (services page) ============ */
.service-row{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.service-item{
  display:grid;
  grid-template-columns:80px 1fr 1fr;
  gap:28px;
  align-items:center;
  padding:32px;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:box-shadow .2s ease, transform .2s ease;
}
.service-item:hover{ box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.service-item__num{
  font-family:var(--ff-display);
  font-size:32px;
  color:var(--gold-soft);
}
.service-item h3{ font-size:22px; margin-bottom:8px; }
.service-item p{ font-size:15px; color:var(--ink-soft); }
.service-item__meta{
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--gold);
}

.process{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.process-step{
  text-align:center;
  position:relative;
  background:var(--bg-2);
  border-radius:var(--radius);
  padding:32px 22px;
}
.process-step__num{
  font-family:var(--ff-display);
  font-size:14px;
  color:var(--gold);
  letter-spacing:0.08em;
}
.process-step h4{ font-size:17px; margin:12px 0 8px; }
.process-step p{ font-size:14px; color:var(--ink-soft); }

/* ============ TEAM ============ */
.team-filter{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 36px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.team-filter button{
  background:#fff;
  border:1px solid var(--line);
  border-radius:100px;
  padding:9px 20px;
  font-size:12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--ink-soft);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.team-filter button:hover{ border-color:var(--gold); color:var(--navy); }
.team-filter button.is-active{ background:var(--navy); border-color:var(--navy); color:#fff; }

.team__grid{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
  justify-items:stretch;
  align-items:start;
}
.team-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  height:100%;
  transition:box-shadow .2s ease, transform .2s ease;
}
.team-card:hover{ box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.team-card__photo{
  width:96px;
  height:96px;
  aspect-ratio:1 / 1;
  flex:0 0 auto;
  margin:0 auto;
  border-radius:50%;
  background:var(--bg-2);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow:0 0 0 3px #fff, 0 0 0 4px var(--line);
}
.team-card__photo img{
  width:100%;
  height:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  /* These are tall portrait photos with the head near the top of the
     frame and empty background above it. Anchoring to the top of the
     image (rather than centering) guarantees the full head/hair is
     always visible instead of being cropped off. */
  object-position:50% 0%;
  display:block;
}
/* Keep the original upper-biased crop for these specific portraits
   (left untouched per request). */
.team-card__photo img[src*="noureen-abdelmageed"],
.team-card__photo img[src*="noura-elbadawy"],
.team-card__photo img[src*="menna-shaaban"],
.team-card__photo img[src*="founder-neal"]{
  object-position:50% 35%;
}
/* Nudge these portraits up slightly (show a bit less headroom) while
   staying within safe limits that keep the full head visible. */
.team-card__photo img[src*="khaled-mustafa"],
.team-card__photo img[src*="kenzie-abdullah"],
.team-card__photo img[src*="alaa-morsy"],
.team-card__photo img[src*="laura-dakran"],
.team-card__photo img[src*="amira-nasr"],
.team-card__photo img[src*="ibrahim-yasser"],
.team-card__photo img[src*="ahmed-amir"],
.team-card__photo img[src*="mohamed-khaled"],
.team-card__photo img[src*="kerolos-gerges"],
.team-card__photo img[src*="ghareeb-abdelaatey"],
.team-card__photo img[src*="kerolos-medhat"]{
  object-position:50% 15%;
}
.team-card__photo img[src*="ghada-abellah"],
.team-card__photo img[src*="maya-reda"]{
  object-position:50% 20%;
}
.team-card__photo img[src*="abdelrhman-yehia"]{
  object-position:50% 22%;
}
.team-card__initial{
  font-family:var(--ff-display);
  font-size:26px;
  font-weight:600;
  color:var(--gold);
}
.team-card__info{
  padding-top:16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
}
.team-card__name{
  font-family:var(--ff-display);
  font-size:16px;
  color:var(--navy);
  display:block;
  line-height:1.3;
}
.team-card__role{
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--gold);
  margin-top:8px;
  display:block;
}

/* ============ CAREERS ============ */
.careers-grid{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:56px;
}
.careers-intro h3{ font-size:21px; margin-bottom:14px; }
.careers-intro p{ font-size:15px; color:var(--ink-soft); max-width:44ch; }

.perk-list{ display:flex; flex-direction:column; gap:0; margin-top:28px; }
.perk-list li{
  padding:15px 0;
  border-bottom:1px solid var(--line);
  font-size:13px;
  letter-spacing:0.03em;
  text-transform:uppercase;
  color:var(--ink-soft);
  display:flex;
  justify-content:space-between;
}
.perk-list li span:last-child{ color:var(--gold); font-family:var(--ff-display); font-size:15px; text-transform:none; letter-spacing:0; }

.form-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:40px;
}
.field{ display:flex; flex-direction:column; gap:7px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field + .field, .field-row + .field, .field + .field-row{ margin-top:18px; }
.field label{
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--navy);
}
.field input,
.field select,
.field textarea{
  border:1px solid var(--line);
  background:var(--bg);
  padding:13px 15px;
  font-family:var(--ff-body);
  font-size:14px;
  color:var(--ink);
  border-radius:var(--radius-sm);
  appearance:none;
}
.field select{
  background-image:linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size:6px 6px;
  background-repeat:no-repeat;
}
.field input:focus,
.field select:focus,
.field textarea:focus{ border-color:var(--gold); }

.upload{
  border:1.5px dashed var(--gold-soft);
  background:var(--bg);
  border-radius:var(--radius-sm);
  padding:22px 14px;
  text-align:center;
  font-size:13px;
  letter-spacing:0.03em;
  text-transform:uppercase;
  color:var(--ink-soft);
  cursor:pointer;
  display:block;
  transition:background .2s ease, border-color .2s ease;
}
.upload:hover, .upload.is-dragover{ background:var(--bg-2); border-color:var(--gold); }
.form__status{ font-size:13px; color:var(--gold); min-height:18px; margin-top:6px; }

.careers-form > *{ margin-top:18px; }
.careers-form > *:first-child{ margin-top:0; }

/* ============ CONTACT ============ */
.contact-grid{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 56px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.contact-block{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:34px 24px;
  text-align:center;
  transition:box-shadow .2s ease, transform .2s ease;
}
.contact-block:hover{ box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.contact-block h3{
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--gold);
  font-family:var(--ff-body);
  margin-bottom:12px;
}
.contact-block a{
  font-family:var(--ff-display);
  font-size:17px;
  color:var(--navy);
  border-bottom:1px solid transparent;
}
.contact-block a:hover{ border-color:var(--gold); color:var(--gold); }
.contact-block p{ font-size:14px; color:var(--ink-soft); }

.contact-social{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.social-btn{
  padding:24px;
  text-align:center;
  background:var(--bg-2);
  border-radius:var(--radius);
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--navy);
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.social-btn:hover{ background:var(--navy); color:#fff; transform:translateY(-2px); }

.contact-form-wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 88px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
}
.map-frame{
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:4/3.4;
  box-shadow:var(--shadow);
}
.map-frame iframe{ width:100%; height:100%; border:none; filter:grayscale(0.3) contrast(1.05); }

/* ============ CTA BAND ============ */
.cta-band{
  max-width:var(--max);
  margin:88px auto;
  background:var(--navy);
  border-radius:var(--radius);
  padding:72px 32px;
  text-align:center;
}
.cta-band h2{ color:#fff; font-size:clamp(24px,3.2vw,36px); }
.cta-band p{ color:#C9C1B0; max-width:52ch; margin:14px auto 0; font-size:15px; }
.cta-band__actions{ display:flex; gap:16px; justify-content:center; margin-top:28px; flex-wrap:wrap; }

/* ============ FOOTER ============ */
.footer{
  background:var(--navy);
  color:#B9C0C9;
  padding:64px 32px 26px;
}
.footer__inner{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:44px;
  border-bottom:1px solid rgba(217,201,166,0.14);
}
.footer__brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer__brand-text{ font-family:var(--ff-logo); font-size:16px; font-weight:800; letter-spacing:0.02em; text-transform:uppercase; color:#fff; }
.footer__brand-text b{ color:var(--gold); font-weight:800; }
.footer p{ font-size:14px; line-height:1.7; max-width:34ch; color:#8C97A5; }
.footer h4{
  color:#fff;
  font-family:var(--ff-body);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  margin-bottom:18px;
}
.footer ul{ display:flex; flex-direction:column; gap:11px; }
.footer ul a{ font-size:14px; color:#B9C0C9; transition:color .2s ease; }
.footer ul a:hover{ color:var(--gold-soft); }
.footer__bottom{
  max-width:var(--max);
  margin:0 auto;
  padding-top:26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:12px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:#6B7684;
}
.footer__bottom a:hover{ color:var(--gold-soft); }

/* ============ MODAL ============ */
.modal{
  position:fixed; inset:0; z-index:100;
  background:rgba(14,14,14,0.55);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
}
.modal.is-open{ opacity:1; pointer-events:auto; }
.modal__panel{
  background:var(--bg);
  border-radius:var(--radius);
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.35);
  max-width:460px;
  width:100%;
  padding:38px;
  position:relative;
  max-height:88vh;
  overflow-y:auto;
  transform:translateY(14px);
  transition:transform .25s ease;
}
.modal.is-open .modal__panel{ transform:translateY(0); }
.modal__close{
  position:absolute; top:16px; right:16px;
  background:var(--bg-2); border:none;
  border-radius:50%;
  width:32px; height:32px;
  font-size:18px; line-height:1;
  color:var(--ink-soft);
  transition:background .2s ease, color .2s ease;
}
.modal__close:hover{ background:var(--gold); color:#fff; }
.modal h3{ font-size:23px; margin-bottom:8px; }
.modal .eyebrow{ margin-bottom:12px; }
.modal__sub{ font-size:13px; color:var(--ink-soft); margin-bottom:26px; }
.modal form{ display:flex; flex-direction:column; }
.modal form > * + *{ margin-top:18px; }

.service-select{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.service-select[hidden]{ display:none; }
.service-select__opt{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:14px 8px;
  font-size:12px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--ink-soft);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.service-select__opt:hover{ border-color:var(--gold); }
.service-select__opt.is-active{ background:var(--navy); border-color:var(--navy); color:#fff; }

/* ============ RESPONSIVE ============ */
@media (max-width:980px){
  .nav__links, .nav__cta{ display:none; }
  .nav__burger{ display:flex; }
  .hero{ grid-template-columns:1fr; }
  .hero__stats{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .stat{ border-radius:var(--radius); }
  .two-col, .contact-form-wrap{ grid-template-columns:1fr; gap:36px; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .service-item{ grid-template-columns:1fr; text-align:left; gap:10px; }
  .process{ grid-template-columns:repeat(2,1fr); gap:16px; }
  .team__grid{ grid-template-columns:repeat(3,1fr); }
  .team-card__photo{ width:88px; height:88px; }
  .contact-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-social{ grid-template-columns:1fr; }
  .careers-grid{ grid-template-columns:1fr; }
  .footer__inner{ grid-template-columns:1fr 1fr; }
}
/* ============ SPA PAGE ROUTING (one HTML file, multiple views) ============ */
.page{ display:none; }
.page.is-active{ display:block; animation:pageIn .35s ease; }
@keyframes pageIn{
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}

@media (max-width:560px){
  .hero__stats{ grid-template-columns:1fr 1fr; }
  .grid-4{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .process{ grid-template-columns:1fr; }
  .team__grid{ grid-template-columns:repeat(2,1fr); }
  .team-card{ padding:24px 14px; }
  .team-card__photo{ width:80px; height:80px; }
  .contact-grid{ grid-template-columns:1fr; }
  .field-row{ grid-template-columns:1fr; }
  .footer__inner{ grid-template-columns:1fr; }
  .cta-band{ padding:56px 24px; border-radius:var(--radius-sm); }
}

/* ============================================================
   LANGUAGE SWITCH
   ============================================================ */
.lang-switch{
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:100px;
  padding:3px;
  flex-shrink:0;
  background:#fff;
}
.lang-switch button{
  border:none;
  background:transparent;
  padding:7px 14px;
  font-size:12px;
  font-family:var(--ff-body);
  letter-spacing:0.05em;
  color:var(--ink-soft);
  border-radius:100px;
  transition:background .2s ease, color .2s ease;
}
.lang-switch button.is-active{
  background:var(--navy);
  color:#fff;
}
.lang-switch--mobile{ align-self:flex-start; margin-top:4px; }

/* ============================================================
   RTL (Arabic) SUPPORT
   ============================================================ */
html[dir="rtl"] body{ font-family:'Tajawal', var(--ff-body); }
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4{
  font-family:'Tajawal', var(--ff-display);
}
html[dir="rtl"] .eyebrow::before{ order:2; }
html[dir="rtl"] .nav__links{ direction:rtl; }
html[dir="rtl"] .nav__links a::after{ left:auto; right:0; }
html[dir="rtl"] .list-check li{ text-align:right; }
html[dir="rtl"] .value-card,
html[dir="rtl"] .service-item,
html[dir="rtl"] .process-step,
html[dir="rtl"] .contact-block,
html[dir="rtl"] .news-card{ text-align:right; }
html[dir="rtl"] .team-card{ text-align:center; }
html[dir="rtl"] .two-col--rev{ direction:ltr; }
html[dir="rtl"] .two-col--rev > *{ direction:rtl; }
html[dir="rtl"] .footer__inner{ text-align:right; }
html[dir="rtl"] .page-hero__crumb{ direction:rtl; }
html[dir="rtl"] .contact-navigate svg{ transform:scaleX(-1); }
html[dir="rtl"] .service-select{ direction:rtl; }
html[dir="rtl"] .carousel__arrow svg{ transform:scaleX(-1); }

/* ============================================================
   ASSETS PAGE
   ============================================================ */
.asset-group{ max-width:var(--max); margin:0 auto; padding:0 32px 56px; }
.asset-group__title{
  font-family:var(--ff-display);
  font-size:22px;
  color:var(--navy);
  margin-bottom:18px;
}
.asset-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.asset-chip{
  appearance:none;
  -webkit-appearance:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:100px;
  padding:13px 24px;
  font-family:var(--ff-body);
  font-size:14px;
  letter-spacing:0.02em;
  color:var(--navy);
  font-weight:500;
  transition:border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor:pointer;
}
.asset-chip:hover{
  border-color:var(--gold);
  color:#fff;
  background:var(--gold);
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}

/* ============ SCOPE / BADGE NOTE (Services page) ============ */
.scope-note{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 40px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.scope-note__text{ font-size:14px; color:var(--ink-soft); }
.badge-pill{
  display:inline-flex;
  align-items:center;
  padding:7px 16px;
  border-radius:100px;
  background:var(--bg-2);
  border:1px solid var(--line);
  font-size:12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--navy);
  font-weight:600;
}
.badge-pill--gold{ background:var(--gold); color:#fff; border-color:var(--gold); }
.badge-pill--tab{
  cursor:pointer;
  background:var(--bg-2);
  border:1px solid var(--line);
  color:var(--navy);
}
.badge-pill--tab.is-active{ background:var(--gold); color:#fff; border-color:var(--gold); }

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-grid{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px 56px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  align-items:start;
}
.news-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:box-shadow .2s ease, transform .2s ease;
  display:flex;
  flex-direction:column;
}
.news-card:hover{ box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.news-card__photo{
  aspect-ratio:16/10;
  background:linear-gradient(135deg, var(--bg-2), #e9e3d6);
  position:relative;
  overflow:hidden;
}
.news-card__photo::before{
  content:'';
  position:absolute; inset:0;
  background-image:radial-gradient(circle at 30% 30%, rgba(232,72,33,0.14), transparent 60%);
  pointer-events:none;
}
.news-card__photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  position:relative;
}
.news-card__body{ padding:24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.news-card__meta{ display:flex; align-items:center; gap:10px; }
.news-card__tag{
  font-size:11px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--gold); font-weight:600;
}
.news-card__date{ font-size:12px; color:var(--ink-soft); }
.news-card__title{ font-size:19px; }
.news-card__excerpt{ font-size:14px; color:var(--ink-soft); flex:1; }
.news-card__explore{ align-self:flex-start; margin-top:6px; padding:10px 22px; font-size:13px; }
.news-card__renders{ margin-top:16px; padding-top:18px; border-top:1px solid var(--line); }
.news-card__renders[hidden]{ display:none; }
.news-card__renders-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(0,1fr));
  gap:8px;
  margin-bottom:14px;
}
.news-card__render{
  aspect-ratio:1/1;
  border-radius:10px;
  overflow:hidden;
  background:var(--bg-2);
  cursor:zoom-in;
  position:relative;
}
.news-card__render::after{
  content:'';
  position:absolute; inset:0;
  background:rgba(20,24,30,0);
  transition:background .2s ease;
}
.news-card__render:hover::after{ background:rgba(20,24,30,0.15); }
.news-card__render img{ width:100%; height:100%; object-fit:cover; display:block; }
.news-card__interested-btn{ font-size:13px; padding:12px 20px; }

/* ---------- renders lightbox ---------- */
.lightbox-modal{
  position:fixed; inset:0; z-index:200;
  display:flex; align-items:center; justify-content:center;
  background:rgba(10,12,16,0.92);
  opacity:0; visibility:hidden;
  transition:opacity .2s ease, visibility .2s ease;
}
.lightbox-modal.is-open{ opacity:1; visibility:visible; }
.lightbox__panel{
  position:relative;
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  padding:24px;
}
.lightbox__stage{
  max-width:min(1100px, 92vw);
  max-height:82vh;
  display:flex; align-items:center; justify-content:center;
}
.lightbox__stage img{
  max-width:100%; max-height:82vh;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 30px 80px -20px rgba(0,0,0,0.6);
}
.lightbox__close{
  position:absolute; top:20px; right:20px;
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.3);
  background:rgba(255,255,255,0.08);
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.lightbox__close:hover{ background:rgba(255,255,255,0.18); }
.lightbox__arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:52px; height:52px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.3);
  background:rgba(255,255,255,0.08);
  color:#fff;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.lightbox__arrow:hover{ background:rgba(255,255,255,0.18); }
.lightbox__arrow--prev{ left:20px; }
.lightbox__arrow--next{ right:20px; }
.lightbox__counter{
  position:absolute; bottom:24px; left:50%; transform:translateX(-50%);
  color:#fff; font-size:13px; letter-spacing:0.06em;
  background:rgba(255,255,255,0.1);
  padding:6px 16px;
  border-radius:999px;
}
@media (max-width:640px){
  .lightbox__arrow{ width:40px; height:40px; font-size:20px; }
  .lightbox__arrow--prev{ left:8px; }
  .lightbox__arrow--next{ right:8px; }
  .lightbox__close{ top:12px; right:12px; }
}

/* ============================================================
   CONTACT — NAVIGATE TO OFFICE (replaces embedded map)
   ============================================================ */
.contact-navigate{
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:linear-gradient(160deg, var(--navy), var(--navy-2));
  color:#EDE7DA;
  padding:40px 34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
  min-height:100%;
}
.contact-navigate__icon{
  width:46px; height:46px;
  border-radius:50%;
  background:rgba(232,72,33,0.18);
  display:flex; align-items:center; justify-content:center;
}
.contact-navigate__icon svg{ width:22px; height:22px; }
.contact-navigate h3{ color:#fff; font-size:22px; }
.contact-navigate p{ color:#C9C1B0; font-size:14px; max-width:42ch; }
.contact-navigate__actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:8px; }
.contact-navigate .btn--light{ display:inline-flex; align-items:center; gap:8px; }

/* ============================================================
   HOME — NEWS CAROUSEL
   ============================================================ */
.news-carousel-section{
  background:var(--navy);
  padding:88px 0;
}
.news-carousel-section .eyebrow{ color:var(--gold-soft); }
.news-carousel-section .eyebrow::before{ background:var(--gold-soft); }

.carousel{
  display:flex;
  align-items:center;
  gap:16px;
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px;
}
.carousel__viewport{
  overflow:hidden;
  flex:1;
  border-radius:var(--radius);
}
.carousel__track{
  display:flex;
  transition:transform .5s cubic-bezier(.4,0,.2,1);
}
.carousel__slide{
  flex:0 0 100%;
  min-width:100%;
  box-sizing:border-box;
  padding:2px;
}
.carousel__slide .news-card{
  background:var(--navy-2);
  box-shadow:0 10px 34px -16px rgba(0,0,0,0.55);
}
.carousel__slide .news-card:hover{ transform:none; box-shadow:0 10px 34px -16px rgba(0,0,0,0.55); }
.carousel__slide .news-card__photo{ background:linear-gradient(135deg, #302c27, var(--navy-2)); }
.carousel__slide .news-card__title{ color:#fff; }
.carousel__slide .news-card__excerpt{ color:#C9C1B0; }
.carousel__slide .news-card__date{ color:#8C97A5; }
.carousel__slide .news-card__tag{ color:var(--gold-soft); }

.carousel__arrow{
  flex-shrink:0;
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.28);
  background:transparent;
  color:#EDE7DA;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.carousel__arrow:hover{ background:var(--gold); border-color:var(--gold); color:#fff; transform:translateY(-1px); }

.carousel__dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:28px;
}
.carousel__dots button{
  width:8px; height:8px;
  border-radius:50%;
  background:rgba(255,255,255,0.25);
  border:none;
  padding:0;
  transition:background .2s ease, width .2s ease;
}
.carousel__dots button.is-active{ background:var(--gold); width:22px; border-radius:5px; }

@media (max-width:640px){
  .carousel{ gap:8px; padding:0 16px; }
  .carousel__arrow{ width:36px; height:36px; }
}

/* ============ RESPONSIVE ADDITIONS ============ */
@media (max-width:900px){
  .news-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .news-grid{ grid-template-columns:1fr; }
}
@media (max-width:980px){
  .lang-switch--desktop{ display:none; }
}
