/* ============================================================
   Al-Mimar Group — Master Stylesheet v2.0
   Brand: #1565C0 | Bilingual: Arabic RTL ↔ English LTR
   ============================================================ */

/* ── Variables ── */
:root {
  --primary:     #1565C0;
  --primary-l:   #1976D2;
  --primary-xl:  #42A5F5;
  --primary-d:   #0D47A1;
  --primary-50:  #E3F2FD;
  --primary-100: #BBDEFB;
  --white:       #FFFFFF;
  --g50:         #F8FAFC;
  --g100:        #F1F5F9;
  --g200:        #E2E8F0;
  --g300:        #CBD5E1;
  --g400:        #94A3B8;
  --g500:        #64748B;
  --g600:        #475569;
  --g700:        #334155;
  --g800:        #1E293B;
  --g900:        #0F172A;
  --gold:        #F59E0B;
  --success:     #16A34A;
  --r-xs:        6px;
  --r-sm:        10px;
  --r-md:        16px;
  --r-lg:        24px;
  --r-xl:        36px;
  --r-2xl:       48px;
  --sh-xs:       0 1px 3px rgba(0,0,0,.06);
  --sh-sm:       0 2px 8px rgba(0,0,0,.08),0 1px 3px rgba(0,0,0,.06);
  --sh-md:       0 6px 24px rgba(21,101,192,.12),0 2px 8px rgba(0,0,0,.08);
  --sh-lg:       0 16px 48px rgba(21,101,192,.18),0 4px 16px rgba(0,0,0,.1);
  --sh-xl:       0 32px 80px rgba(21,101,192,.22),0 8px 24px rgba(0,0,0,.12);
  --ease:        all .3s cubic-bezier(.4,0,.2,1);
  --ease-bounce: all .4s cubic-bezier(.34,1.56,.64,1);
  --navbar-h:    78px;
  --topbar-h:    40px;
  --offset-top:  calc(var(--navbar-h) + var(--topbar-h));
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

/* ── Skip to Content (Accessibility) ── */
.skip-link {
  position: fixed; top: -100px; left: 50%; transform: translateX(-50%);
  background: var(--primary-d); color: var(--white);
  padding: 12px 28px; border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 700; font-size: .92rem; z-index: 9999;
  transition: top .25s ease; white-space: nowrap;
}
.skip-link:focus { top: 0; }

/* ── Top Announcement Bar ── */
.topbar {
  position: relative; background: var(--primary-d); color: rgba(255,255,255,.92);
  overflow: hidden; z-index: 1001; height: 40px; display: flex; align-items: center;
}
.topbar-track {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: topbar-scroll 35s linear infinite;
  white-space: nowrap;
}
.topbar:hover .topbar-track { animation-play-state: paused; }
@keyframes topbar-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.topbar-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 500; padding: 0 36px;
  letter-spacing: .01em;
}
.topbar-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.topbar-close {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15); color: var(--white);
  border: none; border-radius: 50%; width: 22px; height: 22px;
  font-size: 1rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; flex-shrink: 0; z-index: 2;
}
body.lang-ar .topbar-close { left: 12px; }
body.lang-en .topbar-close { right: 12px; }
.topbar-close:hover { background: rgba(255,255,255,.28); }
html{scroll-behavior:smooth;overflow-x:hidden;}
body{color:var(--g800);background:var(--white);line-height:1.7;overflow-x:hidden;}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
button{cursor:pointer;border:none;background:none;font-family:inherit;}
input,textarea,select{font-family:inherit;}

/* ── Bilingual Language System ── */
body.lang-ar { font-family: 'Cairo', sans-serif; direction: rtl; }
body.lang-en { font-family: 'Inter', sans-serif; direction: ltr; }

/* KEY: CSS-driven language visibility — zero JS text-swap */
body.lang-ar [data-lang="en"] { display: none !important; }
body.lang-en [data-lang="ar"] { display: none !important; }

/* inline spans need inline display */
span[data-lang] { display: inline; }
body.lang-ar span[data-lang="en"] { display: none !important; }
body.lang-en span[data-lang="ar"] { display: none !important; }

/* ── Container ── */
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 32px; }

/* ── Section Utilities ── */
.section { padding: 108px 0; }
.section-alt { background: var(--g50); }
.section-dark { background: var(--g900); color: var(--white); }
.section-blue { background: linear-gradient(135deg, var(--primary-d), var(--primary)); color: var(--white); }

.section-header { text-align: center; margin-bottom: 72px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-50); color: var(--primary);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 50px; margin-bottom: 16px;
}
.section-dark .section-tag, .section-blue .section-tag {
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800;
  color: var(--g900); margin-bottom: 16px; line-height: 1.2;
}
.section-dark .section-title, .section-blue .section-title { color: var(--white); }
.section-sub { font-size: 1.06rem; color: var(--g500); max-width: 600px; margin: 0 auto; line-height: 1.75; }
.section-dark .section-sub, .section-blue .section-sub { color: rgba(255,255,255,.7); }

/* ── Page Hero ── */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--offset-top) + 80px) 0 88px;
  background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 60%, var(--primary-l) 100%);
}
.page-hero-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.page-hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,71,161,.93) 0%, rgba(21,101,192,.88) 60%, rgba(25,118,210,.85) 100%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero-content { position: relative; z-index: 2; color: var(--white); }
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; opacity: .75; margin-bottom: 20px; flex-wrap: wrap;
}
.page-hero-breadcrumb a { transition: var(--ease); }
.page-hero-breadcrumb a:hover { opacity: 1; color: var(--primary-xl); }
.page-hero-breadcrumb .sep { opacity: .5; }
.page-hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.page-hero p { font-size: 1.12rem; opacity: .88; max-width: 620px; line-height: 1.75; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 34px; border-radius: var(--r-md);
  font-size: 1rem; font-weight: 600; transition: var(--ease); cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 20px rgba(21,101,192,.38); }
.btn-primary:hover { background: var(--primary-d); box-shadow: 0 8px 32px rgba(21,101,192,.50); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-primary:hover { background: var(--primary-50); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--primary-50); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-sm { padding: 10px 22px; font-size: .88rem; }
.btn-lg { padding: 17px 44px; font-size: 1.06rem; }
.btn-full { width: 100%; }

/* ── Animations / Reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-l.visible { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-r.visible { opacity: 1; transform: none; }
@keyframes fadeInUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-24px); }to { opacity:1; transform:none; } }
@keyframes fadeIn     { from { opacity:0; } to { opacity:1; } }
@keyframes float      { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes scroll-dot { 0% { top:-40px; } 100% { top:40px; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(21,101,192,.08);
  transition: var(--ease);
}
.navbar.scrolled { box-shadow: 0 4px 28px rgba(21,101,192,.14); }
.navbar.navbar-transparent {
  background: transparent; border-color: rgba(255,255,255,.12);
}
.navbar.navbar-transparent .nav-link { color: rgba(255,255,255,.88); }
.navbar.navbar-transparent .nav-link:hover { background: rgba(255,255,255,.12); color: var(--white); }
.navbar.navbar-transparent .nav-logo img { filter: brightness(0) invert(1); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.nav-logo img { height: 48px; width: auto; object-fit: contain; transition: var(--ease); }
.nav-logo:hover img { opacity: .85; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 9px 15px; border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 500; color: var(--g600);
  transition: var(--ease); white-space: nowrap; position: relative;
}
.nav-link:hover { color: var(--primary); background: var(--primary-50); }
.nav-link.active {
  color: var(--primary); background: var(--primary-50); font-weight: 700;
}
.nav-link.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px; background: var(--primary); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r-sm);
  background: var(--primary); color: var(--white);
  font-size: .88rem; font-weight: 700; transition: var(--ease);
  letter-spacing: .02em;
}
.lang-toggle:hover { background: var(--primary-d); transform: translateY(-1px); box-shadow: var(--sh-sm); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 9px 10px; border-radius: var(--r-sm); transition: background .2s ease; }
.nav-hamburger:hover { background: var(--primary-50); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--g700); border-radius: 2px; transition: var(--ease); }

/* Mobile menu overlay backdrop */
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: rgba(15,23,42,.35); backdrop-filter: blur(2px);
  animation: fadeIn .25s ease;
}
.nav-overlay.open { display: block; }

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(13,71,161,.92) 0%, rgba(21,101,192,.87) 50%, rgba(25,118,210,.84) 100%),
    url('https://images.unsplash.com/photo-1584820927498-cfe5211fd8bf?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255,255,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(255,255,255,.04) 0%, transparent 60%);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(13,71,161,.55) 100%); }

.hero-content {
  position: relative; z-index: 2; color: var(--white);
  text-align: center; padding: calc(var(--offset-top) + 72px) 32px 56px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 9px 26px; border-radius: 50px; font-size: .88rem; font-weight: 600;
  margin-bottom: 32px; backdrop-filter: blur(10px);
  animation: fadeInDown .8s ease both;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.4);opacity:.7;} }

.hero-title {
  font-size: clamp(2.8rem, 7.5vw, 5.6rem); font-weight: 800; line-height: 1.1;
  margin-bottom: 22px; text-shadow: 0 2px 28px rgba(0,0,0,.22);
  animation: fadeInUp .8s ease .1s both;
}
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.55rem); opacity: .9; margin-bottom: 16px; font-weight: 400; animation: fadeInUp .8s ease .2s both; }
.hero-desc { font-size: 1.06rem; opacity: .82; max-width: 640px; margin: 0 auto 44px; line-height: 1.8; animation: fadeInUp .8s ease .3s both; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp .8s ease .4s both; }

.hero-scroll {
  position: absolute; bottom: 160px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.55); font-size: .78rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: fadeIn 1.2s ease 1.2s both; z-index: 2;
}
.hero-scroll-line { width: 1px; height: 44px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ''; position: absolute; top: -44px; left: 0; right: 0; height: 44px;
  background: rgba(255,255,255,.75); animation: scroll-dot 1.8s ease infinite;
}

/* Stats Bar */
.hero-stats {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.1); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.15);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  color: var(--white); padding: 36px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1); transition: var(--ease);
}
.lang-en .stat-item { border-right: none; border-left: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border: none; }
.stat-item:hover { background: rgba(255,255,255,.06); }
.stat-number { display: block; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.stat-label { font-size: .87rem; opacity: .8; font-weight: 500; }

/* ============================================================
   IMAGE BLOCKS
   ============================================================ */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }

/* Aspect ratios */
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-4-3  { aspect-ratio: 4/3; }
.aspect-3-4  { aspect-ratio: 3/4; }
.aspect-1-1  { aspect-ratio: 1/1; }

/* Float image with parallax feel */
.image-float {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-xl);
}
.image-float img { width: 100%; height: 520px; object-fit: cover; transition: transform .6s ease; }
.image-float:hover img { transform: scale(1.04); }
.image-badge {
  position: absolute; background: var(--primary); color: var(--white);
  padding: 10px 22px; border-radius: 50px; font-size: .85rem; font-weight: 700;
  box-shadow: var(--sh-md); z-index: 2;
}
.image-badge.bottom-start { bottom: 24px; }
body.lang-ar .image-badge.bottom-start { left: 24px; }
body.lang-en .image-badge.bottom-start { right: 24px; }
.image-badge.top-end { top: 24px; }
body.lang-ar .image-badge.top-end { right: 24px; }
body.lang-en .image-badge.top-end { left: 24px; }

.image-year-bubble {
  position: absolute; top: -28px;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--primary-d); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--sh-lg); text-align: center; z-index: 3;
}
body.lang-ar .image-year-bubble { right: -28px; }
body.lang-en .image-year-bubble { left: -28px; }
.image-year-bubble strong { font-size: 1.5rem; font-weight: 800; line-height: 1; font-family: 'Inter', sans-serif; }
.image-year-bubble span { font-size: .65rem; opacity: .85; margin-top: 2px; }

/* ============================================================
   INTRO SPLIT
   ============================================================ */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
body.lang-en .intro-split { direction: ltr; }
.intro-content h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--g900); margin-bottom: 20px; line-height: 1.25; }
.intro-content p  { font-size: 1rem; color: var(--g600); margin-bottom: 16px; line-height: 1.82; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 32px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .94rem; color: var(--g700); line-height: 1.6;
}
.check-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; margin-top: 1px;
}

/* ============================================================
   QUICK COMPANY CARDS
   ============================================================ */
.quick-companies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quick-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--g200); box-shadow: var(--sh-sm);
  transition: var(--ease); display: flex; flex-direction: column;
}
.quick-card:hover { box-shadow: var(--sh-lg); transform: translateY(-6px); border-color: var(--primary-100); }
.quick-card-img { height: 200px; overflow: hidden; position: relative; }
.quick-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.quick-card:hover .quick-card-img img { transform: scale(1.06); }
.quick-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13,71,161,.7) 100%);
}
.quick-card-num {
  position: absolute; top: 16px; font-size: 1rem; font-weight: 800;
  color: var(--white); background: var(--primary); padding: 4px 14px;
  border-radius: 50px; font-family: 'Inter', sans-serif;
}
body.lang-ar .quick-card-num { right: 16px; }
body.lang-en .quick-card-num { left: 16px; }
.quick-card-body { padding: 28px; flex: 1; }
.quick-card-body h3 { font-size: 1.05rem; font-weight: 800; color: var(--g900); margin-bottom: 10px; line-height: 1.35; }
.quick-card-body p  { font-size: .88rem; color: var(--g500); line-height: 1.7; margin-bottom: 16px; }
.quick-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; color: var(--primary); font-weight: 700; transition: var(--ease);
}
.quick-card-link:hover { gap: 10px; }

/* ============================================================
   WHY US (dark section)
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.why-card {
  padding: 44px 28px; text-align: center;
  background: rgba(255,255,255,.04);
  border-right: 1px solid rgba(255,255,255,.06);
  transition: var(--ease); position: relative; overflow: hidden;
}
body.lang-en .why-card { border-right: none; border-left: 1px solid rgba(255,255,255,.06); }
.why-card:last-child { border: none; }
.why-card:hover { background: rgba(255,255,255,.09); }
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--primary-xl), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
body.lang-en .why-card::before { transform-origin: right; }
.why-card:hover::before { transform: scaleX(1); }
.why-icon { font-size: 2.8rem; margin-bottom: 18px; display: block; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.why-card p  { font-size: .86rem; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ============================================================
   FEATURE CARDS (services)
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--g200); box-shadow: var(--sh-sm); transition: var(--ease);
}
.feature-card:hover { box-shadow: var(--sh-lg); transform: translateY(-5px); border-color: var(--primary-100); }
.feature-card-img { height: 180px; overflow: hidden; }
.feature-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover .feature-card-img img { transform: scale(1.07); }
.feature-card-body { padding: 28px; }
.feature-card-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  background: var(--primary-50); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px; transition: var(--ease);
}
.feature-card:hover .feature-card-icon-wrap { background: var(--primary); }
.feature-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--g900); margin-bottom: 10px; }
.feature-card-body p  { font-size: .88rem; color: var(--g500); line-height: 1.7; }

/* ============================================================
   PARTNERS STRIP (infinite scroll)
   ============================================================ */
.partners-strip-wrap { overflow: hidden; padding: 16px 0; }
.partners-strip-track {
  display: flex; gap: 20px; align-items: center;
  width: max-content; animation: marquee 30s linear infinite;
}
.partners-strip-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
.partner-strip-logo {
  flex-shrink: 0; width: 170px; height: 80px;
  background: var(--white); border: 1px solid var(--g200); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; padding: 12px 20px;
  box-shadow: var(--sh-xs); transition: var(--ease);
}
.partner-strip-logo:hover { box-shadow: var(--sh-md); border-color: var(--primary-100); transform: translateY(-2px); }
.partner-strip-logo img { max-height: 50px; max-width: 140px; object-fit: contain; filter: grayscale(25%); transition: var(--ease); }
.partner-strip-logo:hover img { filter: none; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative; overflow: hidden; padding: 96px 0;
  background: linear-gradient(135deg, var(--primary-d), var(--primary));
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?w=1920&q=60&auto=format&fit=crop') center/cover;
  opacity: .08;
}
.cta-banner-grid { display: grid; grid-template-columns: 1fr; background-size: 56px 56px; }
.cta-inner { position: relative; z-index: 2; text-align: center; color: var(--white); }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.cta-inner p  { font-size: 1.1rem; opacity: .85; margin-bottom: 40px; max-width: 560px; margin-inline: auto; margin-bottom: 40px; }
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   COMPANIES PAGE
   ============================================================ */
.company-section { padding: 88px 0; position: relative; }
.company-section:nth-child(even) { background: var(--g50); }
.company-detail-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
body.lang-en .company-detail-layout { direction: ltr; }

.company-header-num { font-size: 6rem; font-weight: 800; color: var(--primary-100); line-height: .9; font-family: 'Inter', sans-serif; margin-bottom: -12px; }
.company-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--g900); line-height: 1.2; margin-bottom: 8px; }
.company-founded-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-50); color: var(--primary-d);
  padding: 8px 20px; border-radius: 50px; font-size: .84rem; font-weight: 700;
  margin-bottom: 24px;
}
.company-desc { font-size: 1rem; color: var(--g600); line-height: 1.85; margin-bottom: 18px; }
.company-spec-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.company-spec-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; background: var(--g50); border-radius: var(--r-md);
  border-inline-start: 3px solid var(--primary); transition: var(--ease);
}
.company-spec-item:hover { background: var(--primary-50); }
.company-spec-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.company-spec-item strong { display: block; font-size: .93rem; font-weight: 700; color: var(--g800); margin-bottom: 3px; }
.company-spec-item span   { font-size: .83rem; color: var(--g500); line-height: 1.6; }

.company-sticky-card {
  position: sticky; top: calc(var(--offset-top) + 24px);
}
.company-visual-card {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl);
  background: linear-gradient(135deg, var(--primary-d), var(--primary)); color: var(--white);
}
.company-visual-card-img { height: 240px; overflow: hidden; }
.company-visual-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.company-visual-card-body { padding: 32px; }
.company-visual-card-icon { font-size: 3.2rem; margin-bottom: 14px; }
.company-visual-card-body h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 12px; }
.company-visual-card-body p  { font-size: .9rem; opacity: .85; line-height: 1.7; margin-bottom: 24px; }
.company-visual-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.cvs { background: rgba(255,255,255,.12); border-radius: var(--r-md); padding: 18px; text-align: center; }
.cvs strong { display: block; font-size: 1.8rem; font-weight: 800; font-family: 'Inter', sans-serif; }
.cvs span   { font-size: .75rem; opacity: .78; }
.company-offices { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.office-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: var(--r-sm); padding: 14px 18px;
  border: 1px solid var(--g200); box-shadow: var(--sh-xs); transition: var(--ease);
}
.office-row:hover { border-color: var(--primary-100); box-shadow: var(--sh-sm); }
.office-row-flag { font-size: 1.4rem; flex-shrink: 0; }
.office-row-info strong { display: block; font-size: .9rem; font-weight: 700; color: var(--g800); }
.office-row-info span   { font-size: .8rem; color: var(--g500); }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.brand-chip {
  background: var(--g100); color: var(--g700);
  padding: 5px 14px; border-radius: 50px; font-size: .78rem; font-weight: 600;
  border: 1px solid var(--g200); transition: var(--ease);
}
.brand-chip:hover { background: var(--primary-50); color: var(--primary); border-color: var(--primary-100); }

/* ============================================================
   PARTNERS PAGE
   ============================================================ */
.partner-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--g200); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; transition: var(--ease);
}
.partner-card:hover { box-shadow: var(--sh-lg); transform: translateY(-5px); border-color: var(--primary-100); }
.partner-card-logo-wrap {
  height: 120px; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: var(--g50); border-bottom: 1px solid var(--g100);
}
.partner-card-logo-wrap img { max-height: 80px; max-width: 180px; object-fit: contain; filter: grayscale(20%); transition: var(--ease); }
.partner-card:hover .partner-card-logo-wrap img { filter: none; }
.partner-card-body { padding: 24px; flex: 1; }
.partner-card-body h4 { font-size: 1rem; font-weight: 700; color: var(--g900); margin-bottom: 8px; }
.partner-card-body p  { font-size: .85rem; color: var(--g500); line-height: 1.7; margin-bottom: 12px; }
.partner-origin-tag {
  display: inline-block; background: var(--primary-50); color: var(--primary);
  padding: 4px 12px; border-radius: 50px; font-size: .75rem; font-weight: 700;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding: 16px 0; }
.timeline-line {
  position: absolute; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--primary-100), var(--primary), var(--primary-100), transparent);
  right: 50%; transform: translateX(50%);
}
body.lang-en .timeline-line { right: 50%; }
.timeline-entry { display: grid; grid-template-columns: 1fr 72px 1fr; margin-bottom: 64px; align-items: center; }
.timeline-entry:nth-child(odd)  .tc { grid-column: 1; padding-inline-end: 44px; text-align: end; }
.timeline-entry:nth-child(even) .tc { grid-column: 3; padding-inline-start: 44px; text-align: start; }
.timeline-entry:nth-child(odd)  .te { grid-column: 3; }
.timeline-entry:nth-child(even) .te { grid-column: 1; }
body.lang-en .timeline-entry:nth-child(odd)  .tc { text-align: start; padding-inline-start: 44px; padding-inline-end: 0; }
body.lang-en .timeline-entry:nth-child(even) .tc { text-align: end; padding-inline-end: 44px; padding-inline-start: 0; }
.td {
  grid-column: 2; grid-row: 1; width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; z-index: 1;
  box-shadow: 0 0 0 6px var(--primary-50), var(--sh-md);
  font-family: 'Inter', sans-serif;
}
.tc {
  background: var(--white); border-radius: var(--r-lg); padding: 28px 32px;
  border: 1px solid var(--g200); box-shadow: var(--sh-sm); transition: var(--ease);
}
.tc:hover { box-shadow: var(--sh-md); border-color: var(--primary-100); }
.tc-year  { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.tc-title { font-size: 1rem; font-weight: 700; color: var(--g900); margin-bottom: 8px; }
.tc-desc  { font-size: .88rem; color: var(--g500); line-height: 1.7; }

/* ============================================================
   VALUES GRID
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border-radius: var(--r-lg); padding: 40px 32px;
  border: 1px solid var(--g200); box-shadow: var(--sh-sm); text-align: center;
  transition: var(--ease); position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-xl));
  transform: scaleX(0); transform-origin: start; transition: transform .4s ease;
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover { box-shadow: var(--sh-lg); transform: translateY(-5px); }
.value-icon { font-size: 3rem; margin-bottom: 20px; }
.value-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--g900); margin-bottom: 12px; }
.value-card p  { font-size: .9rem; color: var(--g500); line-height: 1.72; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 72px; align-items: start; }
body.lang-en .contact-layout { direction: ltr; }
.offices-stack { display: flex; flex-direction: column; gap: 18px; }
.office-card-v2 {
  background: var(--white); border-radius: var(--r-lg); padding: 24px 28px;
  border: 1px solid var(--g200); box-shadow: var(--sh-xs); transition: var(--ease);
  border-inline-start: 4px solid transparent;
}
.office-card-v2:hover { box-shadow: var(--sh-md); border-inline-start-color: var(--primary); }
.office-card-v2.main { border-inline-start-color: var(--primary); }
.office-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.office-flag { font-size: 1.7rem; }
.office-header strong { display: block; font-size: .98rem; font-weight: 700; color: var(--g900); }
.office-header span   { font-size: .82rem; color: var(--g400); }
.office-details { display: flex; flex-direction: column; gap: 8px; }
.office-detail-row { display: flex; align-items: center; gap: 10px; font-size: .87rem; color: var(--g600); }
.office-detail-row .icon { font-size: .95rem; width: 22px; text-align: center; flex-shrink: 0; }
.office-detail-row a { transition: var(--ease); }
.office-detail-row a:hover { color: var(--primary); }

.contact-form-card {
  background: var(--white); border-radius: var(--r-xl); padding: 52px;
  box-shadow: var(--sh-xl); border: 1px solid var(--g100);
}
.contact-form-card h2 { font-size: 1.65rem; font-weight: 800; color: var(--g900); margin-bottom: 8px; }
.contact-form-card > p { font-size: .94rem; color: var(--g500); margin-bottom: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.span2 { grid-column: 1 / -1; }
.form-group label { font-size: .84rem; font-weight: 600; color: var(--g700); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 18px; border: 2px solid var(--g200); border-radius: var(--r-sm);
  font-size: .95rem; color: var(--g800); background: var(--g50);
  transition: var(--ease); resize: vertical; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 4px rgba(21,101,192,.1);
}
.form-submit { margin-top: 8px; }
.form-success {
  display: none; margin-top: 18px; padding: 16px 22px;
  background: #DCFCE7; color: var(--success); border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 600; text-align: center;
}
.form-success.show { display: block; animation: fadeIn .4s ease; }

/* FAQ */
.faq-stack { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin: 0 auto; }
details.faq {
  background: var(--white); border: 1px solid var(--g200);
  border-radius: var(--r-md); overflow: hidden; transition: var(--ease);
}
details.faq[open] { border-inline-start: 4px solid var(--primary); box-shadow: var(--sh-sm); }
details.faq summary {
  padding: 22px 28px; font-size: .97rem; font-weight: 700; color: var(--g800);
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--primary); font-size: 1.4rem; flex-shrink: 0; transition: var(--ease); }
details.faq[open] summary::after { content: '−'; }
details.faq p { padding: 0 28px 22px; font-size: .9rem; color: var(--g600); line-height: 1.75; }

/* Map */
.map-wrap { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl); height: 440px; border: 1px solid var(--g200); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--g900); color: rgba(255,255,255,.72); }
.footer-inner {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 64px;
  padding: 80px 32px 56px;
}
.footer-logo { height: 52px; width: auto; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; line-height: 1.72; max-width: 290px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.09); color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--ease);
}
.social-btn:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-col h4 { font-size: .92rem; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a,
.footer-col p { font-size: .88rem; transition: var(--ease); display: block; margin-bottom: 6px; }
.footer-col a:hover { color: var(--primary-xl); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 0; }
.footer-bottom { padding: 22px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.38); }
.footer-bottom a { color: rgba(255,255,255,.5); font-size: .82rem; transition: var(--ease); }
.footer-bottom a:hover { color: var(--white); }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 32px; width: 50px; height: 50px; z-index: 999;
  background: var(--primary); color: var(--white); border-radius: 50%;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-lg); transition: var(--ease); opacity: 0; pointer-events: none;
}
body.lang-ar .back-to-top { right: 32px; }
body.lang-en .back-to-top { left: 32px; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--primary-d); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .company-detail-layout { grid-template-columns: 1fr; }
  .company-sticky-card { position: static; }
  .intro-split { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 52px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: calc(var(--topbar-h) + var(--navbar-h));
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column; gap: 4px;
    padding: 16px 16px 24px;
    border-bottom: 3px solid var(--primary-100);
    box-shadow: 0 20px 48px rgba(21,101,192,.14), 0 4px 16px rgba(0,0,0,.08);
    transform: translateY(-110%);
    opacity: 0; pointer-events: none;
    transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
    z-index: 999;
    max-height: calc(100vh - var(--offset-top));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }

  /* Menu header label */
  .nav-links::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-xl));
    border-radius: 3px;
    margin-bottom: 12px;
    opacity: .5;
  }
  .nav-link {
    padding: 15px 18px;
    font-size: 1rem; font-weight: 600;
    display: flex; align-items: center;
    color: var(--g700);
    border-radius: var(--r-md);
    border-inline-start: 3px solid transparent;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    position: relative;
  }
  .nav-link:hover {
    background: var(--primary-50);
    color: var(--primary);
    border-inline-start-color: var(--primary);
  }
  .nav-link.active {
    background: var(--primary-50);
    color: var(--primary);
    font-weight: 700;
    border-inline-start-color: var(--primary);
  }
  .nav-link.active::after { display: none; }
  .nav-hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-companies { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .partner-cards { grid-template-columns: 1fr 1fr; }
  .timeline-line { right: 28px; transform: none; }
  .timeline-entry { grid-template-columns: 1fr 56px; }
  .timeline-entry:nth-child(odd) .tc,
  .timeline-entry:nth-child(even) .tc { grid-column: 1; text-align: start; padding-inline-end: 0; padding-inline-start: 24px; }
  .timeline-entry:nth-child(odd) .te,
  .timeline-entry:nth-child(even) .te { display: none; }
  .td { grid-column: 2; width: 56px; height: 56px; font-size: .7rem; }
  .form-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .topbar { height: 36px; }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-fab {
  position: fixed; bottom: 96px; z-index: 998;
  background: #25D366; color: var(--white);
  border-radius: 50px; display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; box-shadow: 0 4px 20px rgba(37,211,102,.40);
  transition: var(--ease-bounce); text-decoration: none;
  animation: fadeIn .6s ease 1.5s both;
}
body.lang-ar .whatsapp-fab { right: 28px; }
body.lang-en .whatsapp-fab { left:  28px; }
.whatsapp-fab:hover {
  background: #128C7E; transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.50);
}
.whatsapp-fab-label {
  font-size: .88rem; font-weight: 700; white-space: nowrap;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 36px 32px 28px; border: 1px solid var(--g200);
  box-shadow: var(--sh-sm); transition: var(--ease); position: relative;
  display: flex; flex-direction: column; gap: 20px;
}
.testimonial-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: var(--primary-100); }
.testimonial-quote {
  font-size: 5rem; line-height: .8; color: var(--primary-100);
  font-family: Georgia, serif; position: absolute; top: 12px;
  opacity: .7;
}
body.lang-ar .testimonial-quote { right: 24px; }
body.lang-en .testimonial-quote { left:  24px; }
.testimonial-text {
  font-size: .94rem; color: var(--g600); line-height: 1.8;
  font-style: italic; padding-top: 12px; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; flex-shrink: 0;
  border: 2px solid var(--primary-100);
}
.testimonial-author strong { display: block; font-size: .92rem; font-weight: 700; color: var(--g900); }
.testimonial-author span   { font-size: .78rem; color: var(--g400); }

/* ============================================================
   FORM ERROR STATE
   ============================================================ */
.form-error {
  display: none; margin-top: 18px; padding: 16px 22px;
  background: #FEF2F2; color: #DC2626; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 600; text-align: center;
  border: 1px solid #FECACA;
}
.form-error.show { display: block; animation: fadeIn .4s ease; }

/* ============================================================
   FOCUS VISIBLE — Keyboard Accessibility
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
/* Remove outline for mouse users */
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   CARD PERFORMANCE — layout containment
   ============================================================ */
.quick-card, .feature-card, .value-card, .partner-card, .testimonial-card {
  contain: layout style;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }
  .btn { padding: 13px 26px; font-size: .95rem; }
  .btn-lg { padding: 15px 32px; font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-content { padding-top: calc(var(--offset-top) + 40px); }
  .hero-scroll { display: none; }
  .quick-companies { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .partner-cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-card { padding: 28px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 52px 24px 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .image-float img { height: 360px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .whatsapp-fab-label { display: none; }
  .whatsapp-fab { border-radius: 50%; padding: 14px; }
}

/* ============================================================
   RESPONSIVE UTILITY GRIDS
   Replaces hardcoded inline grid styles across pages
   ============================================================ */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-2-sm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

