/* =========================================================
   البرجي جروب — El Borgy Group
   Display face : Reem Kufi      (headings — geometric kufi)
   Body face    : IBM Plex Sans Arabic  (400 / 500 / 700)
   Palette: blue #144C95 · orange #E8841B
   ========================================================= */

@font-face {
  font-family: 'ReemKufi';
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/ReemKufi-400-arabic.woff2') format('woff2');
}

@font-face {
  font-family: 'ElMessiri';
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/ElMessiri-400-arabic.woff2') format('woff2');
}

@font-face {
  font-family: 'PlexArabic';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/IBMPlexSansArabic-400-arabic.woff2') format('woff2');
}
@font-face {
  font-family: 'PlexArabic';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/IBMPlexSansArabic-500-arabic.woff2') format('woff2');
}
@font-face {
  font-family: 'PlexArabic';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/IBMPlexSansArabic-700-arabic.woff2') format('woff2');
}

@font-face {
  font-family: 'ReadexPro';
  font-weight: 160 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/ReadexPro-VF-arabic.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --blue:        #144C95;
  --blue-600:    #1D57A0;
  --blue-700:    #123D78;
  --blue-900:    #0B2A52;
  --blue-950:    #071E3C;
  --orange:      #E8841B;
  --orange-500:  #F0993F;
  --orange-600:  #D1730F;

  --ink:   #0B1524;
  --body:  #3D4A5C;
  --muted: #6B7A8F;
  --line:  #E7ECF3;
  --soft:  #F6F8FB;
  --soft-2:#EEF3F9;
  --white: #FFFFFF;

  --radius:    16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --wrap:      1180px;

  --shadow-sm: 0 2px 8px rgba(11, 21, 36, .06);
  --shadow-md: 0 12px 30px -12px rgba(11, 21, 36, .18);
  --shadow-lg: 0 30px 60px -25px rgba(11, 42, 82, .28);

  --grad: linear-gradient(135deg, var(--orange) 0%, var(--orange-500) 55%, #F6B25C 100%);
  --grad-blue: linear-gradient(135deg, var(--blue-600) 0%, var(--blue) 100%);

  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'PlexArabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: var(--body);
  background-color: #E4EDF9;
  background-image:
    /* warm glow — top right */
    radial-gradient(1150px 680px at 90% -8%, rgba(232, 132, 27, .22), transparent 58%),
    /* cool glow — upper left */
    radial-gradient(1000px 620px at 2% 16%, rgba(20, 76, 149, .22), transparent 60%),
    /* deep navy wash — bottom */
    radial-gradient(1400px 820px at 50% 106%, rgba(11, 42, 82, .24), transparent 62%),
    /* soft violet mid-band for depth */
    radial-gradient(900px 520px at 72% 58%, rgba(86, 108, 190, .14), transparent 64%),
    /* base ramp */
    linear-gradient(168deg, #DCE8F7 0%, #EEF3FB 24%, #FBF4EC 56%, #E3EDF9 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* fine grain so large flat areas don't look plasticky */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .9;
  background-image:
    linear-gradient(rgba(20, 76, 149, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 76, 149, .075) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 25%, transparent 78%);
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: 'ElMessiri', 'PlexArabic', sans-serif;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.7rem); line-height: 1.28; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.55rem); }
h3 { font-size: 1.22rem; font-weight: 400; }
p  { margin: 0 0 1rem; }

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--blue);
  background: rgba(20, 76, 149, .08);
  border: 1px solid rgba(20, 76, 149, .16);
  padding: .32rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.section { padding: clamp(4rem, 9vw, 7rem) 0; }

.sec-head {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.sec-head p { color: var(--muted); font-size: 1.05rem; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }

.btn-solid {
  background: var(--grad);
  color: #3A2405;
  box-shadow: 0 12px 26px -12px rgba(232, 132, 27, .85);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(232, 132, 27, .95); }

.btn-ghost {
  background: var(--white);
  color: var(--blue);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-light {
  background: var(--white);
  color: var(--blue-900);
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .5);
}
.btn-light:hover { transform: translateY(-2px); }

.btn-sm { padding: .55rem 1.15rem; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(20, 76, 149, .10);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 8px 30px -18px rgba(11, 21, 36, .35); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { width: 42px; height: 39px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; color: var(--ink); font-weight: 700; }
.brand-text small { font-size: .68rem; color: var(--muted); letter-spacing: .05em; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--body); transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--blue); }
.nav-links a.btn { color: #3A2405; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(20, 76, 149, .16), transparent 60%),
    radial-gradient(700px 420px at 8% 10%, rgba(232, 132, 27, .18), transparent 60%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 620px;
  background:
    radial-gradient(closest-side, rgba(20, 76, 149, .14), transparent 70%) 70% 20% / 520px 420px no-repeat,
    radial-gradient(closest-side, rgba(232, 132, 27, .16), transparent 70%) 22% 78% / 460px 380px no-repeat;
  filter: blur(6px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy .lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--body);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.hero-stats div { display: flex; flex-direction: column; gap: .1rem; }
.hero-stats dd {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-stats dt { font-size: .82rem; color: var(--muted); order: 2; }

/* hero media */
.hero-media { position: relative; }
.hero-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.hero-img-frame::before {
  content: '';
  position: absolute;
  inset: -18px -18px auto auto;
  width: 190px;
  height: 190px;
  background: radial-gradient(closest-side, rgba(232, 132, 27, .35), transparent 72%);
  border-radius: 50%;
  z-index: -1;
}
.hero-img-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 10px);
}

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .7rem 1rem;
  box-shadow: var(--shadow-md);
  animation: float 5.5s ease-in-out infinite;
}
.float-card--top    { top: 26px; inset-inline-start: -26px; }
.float-card--bottom { bottom: 26px; inset-inline-end: -22px; animation-delay: -2.6s; }
.fc-num   { font-size: 1.28rem; font-weight: 700; color: var(--blue); line-height: 1.15; }
.fc-label { font-size: .74rem; color: var(--muted); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: transparent; }
.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  bottom: -22px;
  inset-inline-end: 24px;
  background: var(--grad-blue);
  color: var(--white);
  border-radius: 14px;
  padding: .85rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.about-badge strong { font-size: 1.12rem; font-weight: 700; }
.about-badge span   { font-size: .76rem; opacity: .86; }

.ticks { display: grid; gap: .7rem; margin: 1.4rem 0 1.8rem; }
.ticks li {
  position: relative;
  padding-inline-start: 1.9rem;
  color: var(--body);
}
.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: .32em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(232, 132, 27, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8841B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .72) 0%,
    rgba(238, 243, 250, .62) 100%);
  backdrop-filter: blur(2px);
  border-block: 1px solid rgba(20, 76, 149, .07);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.svc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .4s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.svc-card:hover::after { transform: scaleX(1); }

.svc-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(20, 76, 149, .09);
  color: var(--blue);
  font-size: 1.45rem;
  margin-bottom: 1.1rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.svc-card:hover .svc-ico {
  background: var(--grad);
  color: #3A2405;
  transform: rotate(-6deg) scale(1.05);
}

.svc-card h3 { margin-bottom: .45rem; }
.svc-card p  { font-size: .94rem; color: var(--muted); margin-bottom: 1rem; }

.svc-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.svc-tags li {
  font-size: .76rem;
  color: var(--blue);
  background: var(--soft-2);
  padding: .24rem .7rem;
  border-radius: 999px;
}

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: transparent; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.4rem 1.5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--white); }
.step-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .7rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p  { font-size: .9rem; color: var(--muted); margin: 0; }

/* =========================================================
   WORK
   ========================================================= */
.work {
  background: linear-gradient(180deg,
    rgba(238, 243, 250, .66) 0%,
    rgba(255, 255, 255, .70) 100%);
  border-block: 1px solid rgba(20, 76, 149, .07);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.work-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: var(--white);
}
.work-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.work-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 30, 60, .85) 100%);
  opacity: .9;
  transition: opacity .35s var(--ease);
}
.work-item:hover img { transform: scale(1.06); }
.work-item:hover::after { opacity: 1; }
.work-item figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.2rem 1.3rem;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  transform: translateY(6px);
  transition: transform .35s var(--ease);
}
.work-item:hover figcaption { transform: translateY(0); }

/* =========================================================
   WHY US
   ========================================================= */
.why { background: transparent; }
.why-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.why-list { display: grid; gap: 1rem; }
.why-item {
  display: flex;
  gap: 1.1rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.why-item:hover { transform: translateX(-6px); box-shadow: var(--shadow-md); background: var(--white); }
.why-num {
  flex: none;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: .2rem;
}
.why-item h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.why-item p  { font-size: .92rem; color: var(--muted); margin: 0; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(232, 132, 27, .28), transparent 65%),
    linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--white);
  padding: clamp(2.6rem, 6vw, 4rem) 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); margin-bottom: .3rem; }
.cta-inner p  { margin: 0; opacity: .86; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .70) 0%,
    rgba(238, 243, 250, .66) 100%);
  border-block: 1px solid rgba(20, 76, 149, .07);
}
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-list li:hover { transform: translateX(-4px); box-shadow: var(--shadow-sm); }
.ci-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(20, 76, 149, .09);
  color: var(--blue);
  font-size: 1.2rem;
}
.contact-list strong { display: block; font-size: .92rem; color: var(--ink); font-weight: 600; }
.contact-list span   { font-size: .9rem; color: var(--muted); }

/* form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 1.4rem; }
.contact-form label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: .4rem;
  padding: .75rem .95rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9AA8BB; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(20, 76, 149, .10);
}
.contact-form .field-error { border-color: #D92D20 !important; }

.form-note { margin: .9rem 0 0; font-size: .9rem; font-weight: 600; }
.form-note.ok  { color: #12805C; }
.form-note.err { color: #D92D20; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, .72);
  padding: clamp(2.8rem, 6vw, 4rem) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr .85fr .85fr 1.35fr;
  gap: 2.2rem;
  padding-bottom: 2.5rem;
}
.footer-brand img { width: 54px; height: 50px; object-fit: contain; margin-bottom: .8rem; }
.footer-brand strong { display: block; color: var(--white); font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; }
.footer-brand .footer-en { display: block; color: rgba(255, 255, 255, .72); font-size: .82rem; letter-spacing: .02em; margin-bottom: .5rem; }
.footer-brand p { font-size: .9rem; margin: 0; line-height: 1.7; }

.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: .6rem; }
.footer-col a { font-size: .9rem; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-col a:hover { color: var(--orange-500); }
.footer-col--address .footer-addr { line-height: 1.85; color: rgba(255, 255, 255, .74); }
.footer-col--address .footer-addr:hover { color: var(--orange-500); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}

/* =========================================================
   TO TOP
   ========================================================= */
.to-top {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--grad-blue);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 16px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-family: 'PlexArabic', system-ui, sans-serif;
  font-weight: 500;
  font-size: .92rem;
  text-decoration: none;
  box-shadow: 0 10px 28px -10px rgba(37, 211, 102, .62), 0 2px 8px rgba(11, 21, 36, .12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: wa-pulse 2.8s var(--ease) infinite;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -12px rgba(37, 211, 102, .72); }
.wa-float svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 28px -10px rgba(37, 211, 102, .62), 0 0 0 0 rgba(37, 211, 102, .45); }
  60% { box-shadow: 0 10px 28px -10px rgba(37, 211, 102, .62), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* contact links */
.contact-list a { color: var(--blue); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media  { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .svc-grid    { grid-template-columns: repeat(2, 1fr); }
  .steps       { grid-template-columns: repeat(2, 1fr); }
  .work-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-grid    { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  /* mobile nav */
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .8rem 1.25rem 1.4rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a {
    padding: .85rem .2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-links a.btn { border-bottom: 0; margin-top: .8rem; justify-content: center; }

  .about-grid    { grid-template-columns: 1fr; }
  .about-media   { max-width: 480px; margin-inline: auto; }
  .contact-grid  { grid-template-columns: 1fr; }
  .cta-inner     { flex-direction: column; align-items: flex-start; }
  .float-card--top    { inset-inline-start: 6px; }
  .float-card--bottom { inset-inline-end: 6px; }
}

@media (max-width: 560px) {
  .svc-grid  { grid-template-columns: 1fr; }
  .steps     { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero-stats{ gap: 1.1rem; }
  .hero-stats dd { font-size: 1.35rem; }
  .brand-text small { display: none; }
}

/* ---------- print ---------- */
@media print {
  .nav, .to-top, .cta-band, .contact-form, .burger { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
