/*
Theme Name: Athal Al Sharq
Theme URI: https://athalelsharq.com/
Author: Athal Al Sharq
Description: WordPress conversion of the Athal Al Sharq static design supplied by Claude. RTL-first, responsive, and ready for a staging site.
Version: 1.0.0
Text Domain: athal-alsharq
Requires at least: 6.0
Requires PHP: 7.4
*/
/* =========================================================
   آثال الشرق — Design Tokens & Base
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@300;400;500;700&display=swap');

:root{
  /* Brand — sampled directly from the Athal logo */
  --navy:        #141D50;
  --navy-2:      #1F2A68;
  --navy-soft:   #2B366E;
  --green:       #9ECA46;
  --green-dark:  #7FAE31;
  --green-pale:  #EDF5DE;
  --gold:        #B9975B;

  /* Neutrals */
  --sand:        #F6F4EC;
  --sand-2:      #EFEBDD;
  --paper:       #FCFBF7;
  --ink:         #1B2027;
  --muted:       #656C7A;
  --line:        #E4E0D2;
  --white:       #FFFFFF;

  /* Type */
  --font-display: 'Cairo', 'Tajawal', sans-serif;
  --font-body:    'Tajawal', 'Cairo', sans-serif;

  /* Rhythm */
  --container: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 10px 30px -12px rgba(20,29,80,.18);
  --shadow-lift: 0 22px 46px -18px rgba(20,29,80,.32);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--sand);
  color:var(--ink);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; color:var(--navy); line-height:1.25; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }

.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }
.section{ padding:96px 0; }
.section--tight{ padding:64px 0; }
.section--sand{ background:var(--sand); }
.section--paper{ background:var(--paper); }
.section--navy{ background:var(--navy); color:#DDE1F2; }
.section--navy h2, .section--navy h3{ color:#fff; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-weight:700; font-size:14px;
  letter-spacing:.5px; color:var(--green-dark);
  text-transform:uppercase;
}
.eyebrow::before{
  content:''; width:26px; height:2px; background:var(--green);
  display:inline-block; border-radius:2px;
}
.section--navy .eyebrow{ color:var(--green); }
.section--navy .eyebrow::before{ background:var(--green); }

h2.section-title{ font-size:clamp(28px,3.4vw,42px); font-weight:800; margin-top:12px; }
p.section-lead{ color:var(--muted); font-size:18px; max-width:640px; margin-top:16px; }
.section--navy p.section-lead{ color:#B9C0E0; }

/* Diagonal swoosh divider — echoes the logo's diagonal stroke */
.swoosh-divider{
  position:relative; height:64px; overflow:hidden;
}
.swoosh-divider svg{ position:absolute; inset:0; width:100%; height:100%; }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:999px; font-family:var(--font-display);
  font-weight:700; font-size:15.5px; border:2px solid transparent;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--green); color:var(--navy); box-shadow:var(--shadow-soft); }
.btn-primary:hover{ background:var(--green-dark); transform:translateY(-2px); box-shadow:var(--shadow-lift); }
.btn-outline{ border-color:rgba(255,255,255,.55); color:#fff; }
.btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,.08); transform:translateY(-2px); }
.btn-outline-dark{ border-color:var(--navy); color:var(--navy); }
.btn-outline-dark:hover{ background:var(--navy); color:#fff; transform:translateY(-2px); }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; flex:none; }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(246,244,236,.86); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:88px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:52px; width:auto; }
.brand-name{ display:flex; flex-direction:column; line-height:1.2; }
.brand-name strong{ font-family:var(--font-display); font-weight:800; font-size:18px; color:var(--navy); }
.brand-name span{ font-size:12px; color:var(--muted); letter-spacing:.4px; }

.main-nav{ display:flex; align-items:center; gap:8px; }
.main-nav a{
  font-family:var(--font-display); font-weight:600; font-size:15px;
  color:var(--navy); padding:10px 16px; border-radius:999px; position:relative;
  transition:background .2s ease, color .2s ease;
}
.main-nav a:hover{ background:var(--sand-2); }
.main-nav a.active{ background:var(--navy); color:#fff; }

.header-actions{ display:flex; align-items:center; gap:14px; }
.header-actions .btn{ padding:12px 24px; font-size:14.5px; }
.nav-toggle{
  display:none; background:none; border:none; width:44px; height:44px;
  border-radius:10px; align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:22px; height:2px; background:var(--navy);
  position:relative; transition:.25s ease;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative; overflow:hidden; background:var(--navy);
  color:#fff; padding:120px 0 0;
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg span{
  position:absolute; border-radius:50%; filter:blur(60px); opacity:.35;
}
.hero-bg .b1{ width:520px; height:520px; background:var(--green); top:-180px; left:-120px; animation:drift1 22s ease-in-out infinite; }
.hero-bg .b2{ width:420px; height:420px; background:var(--navy-soft); bottom:-160px; right:-100px; animation:drift2 26s ease-in-out infinite; }
.hero-bg .b3{ width:300px; height:300px; background:var(--gold); opacity:.18; top:30%; right:20%; animation:drift1 18s ease-in-out infinite reverse; }
@keyframes drift1{ 0%,100%{ transform:translate(0,0);} 50%{ transform:translate(40px,30px);} }
@keyframes drift2{ 0%,100%{ transform:translate(0,0);} 50%{ transform:translate(-30px,-40px);} }

.hero-grain{
  position:absolute; inset:0; z-index:0; opacity:.06; mix-blend-mode:overlay;
  background-image:radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px);
  background-size:4px 4px;
}

.hero-inner{ position:relative; z-index:2; text-align:center; max-width:800px; margin:0 auto; padding-bottom:56px; }
.hero .eyebrow{ color:var(--green); justify-content:center; }
.hero h1{
  color:#fff; font-size:clamp(34px,5.4vw,58px); font-weight:900; margin-top:18px;
  letter-spacing:-.5px;
}
.hero h1 em{ color:var(--green); font-style:normal; }
.hero p.lead{
  color:#C6CBE6; font-size:19px; margin:22px auto 0; max-width:620px;
}
.hero-ctas{ display:flex; gap:16px; justify-content:center; margin-top:38px; flex-wrap:wrap; }

/* Rotating service ticker */
.hero-ticker{
  margin-top:56px; display:flex; align-items:center; justify-content:center;
  gap:14px; flex-wrap:wrap;
}
.hero-ticker .tick-label{ font-size:13px; color:#9AA2C6; letter-spacing:.4px; }
.hero-ticker .chip{
  font-family:var(--font-display); font-weight:700; font-size:14px;
  padding:9px 18px; border-radius:999px; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16); color:#fff;
}
.hero-ticker .chip.is-active{ background:var(--green); color:var(--navy); border-color:var(--green); }

/* Hero "video" strip — layered duotone panels standing in for motion footage */
.hero-strip{
  position:relative; z-index:2; display:grid; grid-template-columns:repeat(4,1fr);
  gap:2px; margin-top:64px; height:220px; overflow:hidden; border-radius:0;
}
.hero-strip .panel{
  position:relative; overflow:hidden; background:linear-gradient(160deg,var(--navy-2),var(--navy));
}
.hero-strip .panel svg{
  position:absolute; inset:0; margin:auto; width:64px; height:64px; opacity:.9;
}
.hero-strip .panel::after{
  content:attr(data-label); position:absolute; bottom:16px; inset-inline-start:16px;
  font-family:var(--font-display); font-weight:700; font-size:13px; color:#fff;
  background:rgba(20,29,80,.55); padding:6px 12px; border-radius:999px;
  backdrop-filter:blur(4px);
}
.hero-strip .panel::before{
  content:''; position:absolute; inset:0; background:radial-gradient(circle at 30% 20%, rgba(158,202,70,.28), transparent 60%);
}
.hero-strip .panel.p1{ background:linear-gradient(160deg,#1B2560,#0F1640); }
.hero-strip .panel.p2{ background:linear-gradient(160deg,#213072,#141D50); }
.hero-strip .panel.p3{ background:linear-gradient(160deg,#2A3A80,#182254); }
.hero-strip .panel.p4{ background:linear-gradient(160deg,#324590,#1B2560); }
.hero-strip .panel .pulse{
  position:absolute; inset:0; border:1.5px solid rgba(158,202,70,.35); border-radius:50%;
  width:90px; height:90px; margin:auto; animation:pulse 3s ease-out infinite;
}
@keyframes pulse{ 0%{ transform:scale(.6); opacity:.9;} 100%{ transform:scale(1.6); opacity:0;} }

/* =========================================================
   Stats band
   ========================================================= */
.stats-band{ background:var(--navy-2); color:#fff; }
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:52px 0;
}
.stat{ text-align:center; border-inline-start:1px solid rgba(255,255,255,.14); }
.stat:first-child{ border-inline-start:none; }
.stat b{
  display:block; font-family:var(--font-display); font-size:clamp(30px,3.6vw,44px);
  font-weight:800; color:var(--green);
}
.stat span{ font-size:14.5px; color:#B9C0E0; margin-top:6px; display:block; }

/* =========================================================
   Service cards
   ========================================================= */
.services-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:56px;
}
.service-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:34px 26px; position:relative; overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::before{
  content:''; position:absolute; inset-inline-start:0; top:0; height:5px; width:100%;
  background:var(--green); transform:scaleX(0); transform-origin:right;
  transition:transform .35s ease;
}
.service-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lift); border-color:transparent; }
.service-card:hover::before{ transform:scaleX(1); }
.service-icon{
  width:58px; height:58px; border-radius:16px; background:var(--green-pale);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
}
.service-icon svg{ width:28px; height:28px; color:var(--green-dark); }
.service-card h3{ font-size:19px; font-weight:800; }
.service-card p{ color:var(--muted); font-size:15px; margin-top:10px; }
.service-card .more{
  display:inline-flex; align-items:center; gap:6px; margin-top:18px;
  font-family:var(--font-display); font-weight:700; font-size:14px; color:var(--navy);
}
.service-card .more svg{ width:15px; height:15px; transition:transform .25s ease; }
.service-card:hover .more svg{ transform:translateX(-4px); }

/* =========================================================
   Value props
   ========================================================= */
.values-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:50px;
}
.value-item{
  display:flex; gap:18px; align-items:flex-start; padding:26px;
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
}
.value-item .ic{
  flex:none; width:46px; height:46px; border-radius:12px; background:var(--navy);
  display:flex; align-items:center; justify-content:center;
}
.value-item .ic svg{ width:22px; height:22px; color:var(--green); }
.value-item h4{ font-size:16.5px; font-weight:800; }
.value-item p{ color:var(--muted); font-size:14.5px; margin-top:6px; }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner{
  background:linear-gradient(120deg,var(--green) 0%, var(--green-dark) 100%);
  border-radius:var(--radius-lg); padding:56px 60px;
  display:flex; align-items:center; justify-content:space-between; gap:30px;
  flex-wrap:wrap; position:relative; overflow:hidden;
}
.cta-banner::after{
  content:''; position:absolute; inset:0; opacity:.15;
  background-image:radial-gradient(rgba(20,29,80,.9) 1.5px, transparent 1.5px);
  background-size:16px 16px;
}
.cta-banner h3{ color:var(--navy); font-size:clamp(22px,2.6vw,30px); font-weight:900; position:relative; }
.cta-banner p{ color:#1B2027; opacity:.75; margin-top:8px; position:relative; font-size:15.5px; }
.cta-banner .btn{ position:relative; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background:var(--navy); color:#B9C0E0; }
.footer-top{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px;
  padding:72px 0 48px;
}
.footer-brand .brand-chip{
  display:inline-flex; align-items:center; background:var(--sand);
  border-radius:14px; padding:10px 16px;
}
.footer-brand .brand-chip img{ height:40px; }
.footer-brand p{ margin-top:20px; font-size:14.5px; line-height:1.9; color:#9AA2C6; }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{
  width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.footer-social a:hover{ background:var(--green); color:var(--navy); }
.footer-social svg{ width:17px; height:17px; }

.footer-col h5{
  font-family:var(--font-display); color:#fff; font-size:15px; font-weight:700;
  margin-bottom:20px;
}
.footer-col ul li{ margin-bottom:12px; }
.footer-col a{ font-size:14.5px; color:#9AA2C6; transition:color .2s; }
.footer-col a:hover{ color:var(--green); }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color:#9AA2C6; }
.footer-contact svg{ width:17px; height:17px; flex:none; margin-top:2px; color:var(--green); }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1); padding:22px 0;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  font-size:13.5px; color:#7B84AC;
}

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero{
  background:var(--navy); color:#fff; padding:70px 0 64px; position:relative; overflow:hidden;
}
.page-hero::after{
  content:''; position:absolute; width:380px; height:380px; border-radius:50%;
  background:var(--green); opacity:.15; filter:blur(70px); top:-140px; left:-80px;
}
.breadcrumb{
  display:flex; align-items:center; gap:8px; font-size:13.5px; color:#9AA2C6; margin-bottom:16px;
}
.breadcrumb a:hover{ color:var(--green); }
.page-hero h1{ color:#fff; font-size:clamp(30px,4vw,46px); font-weight:900; }
.page-hero p{ color:#B9C0E0; margin-top:14px; max-width:600px; font-size:16.5px; }

/* Reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* =========================================================
   About page bits
   ========================================================= */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.about-visual{
  aspect-ratio:4/3.1; border-radius:var(--radius-lg); background:linear-gradient(150deg,var(--navy-2),var(--navy));
  position:relative; overflow:hidden;
}
.about-visual .mark{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:.9;
}
.about-visual .mark img{ width:52%; filter:drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.about-visual .ring{
  position:absolute; border:1.5px solid rgba(158,202,70,.3); border-radius:50%;
}
.about-visual .ring.r1{ width:70%; height:70%; inset:15% 15% auto auto; top:15%; right:15%; }
.about-visual .ring.r2{ width:45%; height:45%; top:28%; right:28%; }

.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:56px; }
.pillar{
  padding:32px 28px; border-radius:var(--radius-lg); background:var(--paper);
  border:1px solid var(--line); text-align:center;
}
.pillar .ic{
  width:56px; height:56px; border-radius:50%; background:var(--navy); margin:0 auto 18px;
  display:flex; align-items:center; justify-content:center;
}
.pillar .ic svg{ width:26px; height:26px; color:var(--green); }
.pillar h3{ font-size:19px; font-weight:800; }
.pillar p{ color:var(--muted); font-size:14.5px; margin-top:10px; }

.timeline{ margin-top:56px; position:relative; }
.timeline::before{
  content:''; position:absolute; top:0; bottom:0; right:29px; width:2px;
  background:var(--line);
}
.timeline-item{ display:flex; gap:24px; padding-bottom:38px; position:relative; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-dot{
  flex:none; width:60px; height:60px; border-radius:50%; background:var(--navy);
  color:var(--green); font-family:var(--font-display); font-weight:800; font-size:14px;
  display:flex; align-items:center; justify-content:center; z-index:1;
}
.timeline-text h4{ font-size:16.5px; font-weight:800; color:var(--navy); }
.timeline-text p{ color:var(--muted); font-size:14.5px; margin-top:6px; max-width:520px; }

/* =========================================================
   Services page detail blocks
   ========================================================= */
.service-detail{
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
  padding:70px 0; border-bottom:1px solid var(--line);
}
.service-detail:last-child{ border-bottom:none; }
.service-detail.reverse{ direction:ltr; }
.service-detail.reverse > *{ direction:rtl; }
.service-detail .visual{
  aspect-ratio:1.15/1; border-radius:var(--radius-lg); position:relative; overflow:hidden;
  background:linear-gradient(150deg,var(--navy-2),var(--navy));
}
.service-detail .visual .glyph{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
}
.service-detail .visual .glyph svg{ width:34%; height:34%; color:var(--green); opacity:.95; }
.service-detail .visual .dot-pattern{
  position:absolute; inset:0; opacity:.25;
  background-image:radial-gradient(rgba(158,202,70,.9) 1.5px, transparent 1.5px);
  background-size:18px 18px;
}
.service-detail .num{
  font-family:var(--font-display); font-weight:900; font-size:15px; color:var(--green-dark);
  letter-spacing:.5px;
}
.service-detail h2{ font-size:clamp(24px,2.6vw,32px); margin-top:10px; }
.service-detail p.desc{ color:var(--muted); margin-top:16px; font-size:16px; }
.check-list{ margin-top:24px; display:grid; gap:12px; }
.check-list li{ display:flex; align-items:flex-start; gap:10px; font-size:15px; color:var(--ink); }
.check-list svg{ width:19px; height:19px; flex:none; color:var(--green-dark); margin-top:2px; }

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; }
.contact-form{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:40px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:20px; }
.field label{
  display:block; font-family:var(--font-display); font-weight:700; font-size:14px;
  margin-bottom:8px; color:var(--navy);
}
.field input, .field select, .field textarea{
  width:100%; padding:13px 16px; border-radius:10px; border:1.5px solid var(--line);
  background:var(--white); font-family:var(--font-body); font-size:14.5px; color:var(--ink);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--green); box-shadow:0 0 0 4px var(--green-pale); outline:none;
}
.field textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:13px; color:var(--muted); margin-top:14px; text-align:center; }
.form-success{
  display:none; align-items:center; gap:12px; background:var(--green-pale);
  border:1px solid var(--green); color:var(--green-dark); padding:16px 18px;
  border-radius:12px; font-family:var(--font-display); font-weight:700; font-size:14.5px;
  margin-bottom:20px;
}
.form-success.show{ display:flex; }
.form-success svg{ width:20px; height:20px; flex:none; }

.contact-cards{ display:grid; gap:16px; }
.contact-card{
  display:flex; gap:16px; align-items:flex-start; background:var(--navy); color:#fff;
  padding:24px; border-radius:var(--radius-lg);
}
.contact-card .ic{
  flex:none; width:46px; height:46px; border-radius:12px; background:rgba(158,202,70,.16);
  display:flex; align-items:center; justify-content:center;
}
.contact-card .ic svg{ width:21px; height:21px; color:var(--green); }
.contact-card h4{ font-size:15.5px; font-weight:800; color:#fff; }
.contact-card p, .contact-card a{ font-size:14px; color:#B9C0E0; margin-top:4px; display:block; }
.contact-card a:hover{ color:var(--green); }

.map-box{
  margin-top:16px; border-radius:var(--radius-lg); overflow:hidden; height:220px;
  background:linear-gradient(150deg,var(--sand-2),var(--sand));
  border:1px solid var(--line); position:relative;
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:8px;
}
.map-box svg{ width:30px; height:30px; color:var(--green-dark); }
.map-box span{ font-size:13.5px; color:var(--muted); font-family:var(--font-display); font-weight:700; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1024px){
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:repeat(2,1fr); row-gap:32px; }
  .stat{ border-inline-start:none; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .service-detail{ grid-template-columns:1fr; }
  .service-detail.reverse{ direction:rtl; }
  .service-detail .visual{ order:-1; }
  .values-grid{ grid-template-columns:1fr; }
  .pillars{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .main-nav, .header-actions .btn-outline-dark{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-strip{ grid-template-columns:repeat(2,1fr); height:auto; }
  .hero-strip .panel{ height:130px; }
  .services-grid{ grid-template-columns:1fr; }
  .cta-banner{ flex-direction:column; text-align:center; padding:40px 28px; }
  .footer-top{ grid-template-columns:1fr; padding:56px 0 32px; }
  .form-row{ grid-template-columns:1fr; }
  .section{ padding:64px 0; }
}

/* Mobile nav panel */
.mobile-nav{
  position:fixed; inset:88px 0 0 0; background:var(--sand); z-index:99;
  transform:translateY(-12px); opacity:0; pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
  padding:28px; display:flex; flex-direction:column; gap:6px;
}
.mobile-nav.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-nav a{
  font-family:var(--font-display); font-weight:700; font-size:19px; color:var(--navy);
  padding:16px 4px; border-bottom:1px solid var(--line);
}
.mobile-nav .btn{ margin-top:20px; }

/* WordPress / responsive safety layer */
html { overflow-x: hidden; }
body { overflow-x: hidden; }
.wp-site-blocks, .site, .site-content { max-width: none; }
.alignwide, .alignfull { max-width: none; }
img, svg, video, iframe { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }

/* Prevent long Arabic/English strings from breaking cards/layouts */
.service-card, .pillar, .value-item, .contact-card, .timeline-text,
.service-detail, .contact-form, .cta-banner, .footer-col, .hero-inner {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 760px) {
  .container { width: 100%; max-width: 100%; padding-left: 18px; padding-right: 18px; }
  .site-header .container { height: 76px; }
  .brand img { height: 44px; }
  .mobile-nav { inset: 76px 0 0 0; }
  .hero { padding-top: 76px; }
  .hero-inner { padding-left: 0; padding-right: 0; }
  .hero h1 { font-size: clamp(30px, 9vw, 44px); }
  .hero p.lead { font-size: 16px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .service-card { padding: 26px 20px; }
  .service-detail { gap: 28px; padding: 48px 0; }
  .service-detail .visual { min-height: 260px; }
  .contact-form { padding: 24px 18px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
