/* =====================================================================
   Al Madar Contracting — Corporate Website
   Palette (from brand mark): Navy #0B1D34 · Gold #CB9800 · White
   Direction: polished, conventional corporate-contractor layout —
   photo hero with an overlapping stat card, icon feature/service cards,
   a projects/portfolio grid with category badges, team cards, and a
   standard visible top navigation with a contact utility bar.
   ===================================================================== */

:root {
  --navy: #0B1D34;
  --navy-2: #14304F;
  --navy-3: #1C3D63;
  --gold: #CB9800;
  --gold-light: #E3B94A;
  --gold-tint: #FBF3E1;
  --white: #FFFFFF;
  --bg: #F7F8FA;
  --ink: #1C2531;
  --muted: #64748B;
  --border: #E5E8EE;

  --font-display: 'Poppins', 'Cairo', sans-serif;
  --font-body: 'Inter', 'Tajawal', sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 10px rgba(11,29,52,0.06);
  --shadow-md: 0 10px 34px rgba(11,29,52,0.12);
  --shadow-lg: 0 24px 64px rgba(11,29,52,0.22);
  --container: 1280px;
  --ease: cubic-bezier(.22,.7,.24,1);
}

body.lang-ar { --font-display: 'Cairo', sans-serif; --font-body: 'Tajawal', sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white);
  line-height: 1.7; -webkit-font-smoothing: antialiased; font-size: 16px; overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1.1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  background: var(--navy); color: var(--white); padding: 12px 20px; z-index: 300; border-radius: 0 0 6px 0;
}
.skip-link:focus { width: auto; height: auto; overflow: visible; clip: auto; top: 0; inset-inline-start: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; font-weight: 600; font-size: .93rem; border-radius: var(--radius-sm); border: 2px solid transparent; transition: all .2s var(--ease); white-space: nowrap; }
.btn-sm { padding: 10px 20px; font-size: .84rem; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-whatsapp { background: #25D366; color: #fff; gap: 10px; }
.btn-whatsapp:hover { background: #1ebd5a; transform: translateY(-2px); }
.btn-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-block { width: 100%; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: .92rem; }
.btn-link svg { width: 15px; height: 15px; transition: transform .2s; }
.btn-link:hover { color: var(--gold); }
.btn-link:hover svg { transform: translateX(4px); }
body[dir="rtl"] .btn-link svg { transform: scaleX(-1); }
body[dir="rtl"] .btn-link:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------------- Utility top bar ---------------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: .82rem; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topbar-left { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold-light); }
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-social { display: flex; align-items: center; gap: 14px; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 150; background: var(--white); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark-img { height: 44px; width: auto; max-width: 240px; object-fit: contain; flex-shrink: 0; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: .3px; }
.brand-sub { color: var(--gold); font-size: .64rem; letter-spacing: 1.1px; font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a.main-nav-lang { display: none; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: .95rem; position: relative; padding: 8px 0; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .2s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { color: var(--navy); font-weight: 700; font-size: .85rem; border: 1.5px solid var(--border); padding: 7px 15px; border-radius: 20px; }
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; transition: transform .25s, opacity .25s; }
.nav-toggle.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; color: var(--white); overflow: hidden; min-height: 640px; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11,29,52,0.94) 0%, rgba(11,29,52,0.82) 42%, rgba(11,29,52,0.55) 75%, rgba(11,29,52,0.35) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 140px; }
.hero-eyebrow { color: var(--gold-light); font-weight: 700; letter-spacing: 2px; font-size: .82rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.hero-eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--gold); display: inline-block; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.7rem); letter-spacing: -.5px; margin-bottom: 22px; max-width: 780px; }
.hero p.lead { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 600px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Overlapping stat card strip */
.stats-bar { position: relative; z-index: 3; margin-top: -68px; }
.stats-grid { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat-item { padding: 34px 22px; text-align: center; border-inline-end: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stat-item:last-child { border-inline-end: none; }
.stat-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.stat-icon svg { width: 22px; height: 22px; }
.stat-number { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--navy); display: flex; align-items: baseline; gap: 2px; }
.stat-number .plus { color: var(--gold); }
.stat-label { color: var(--muted); font-size: .82rem; font-weight: 500; }

/* ---------------- Section basics ---------------- */
.section { padding: 100px 0; }
.section-tight { padding: 68px 0; }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy.has-photo { background-size: cover; background-position: center; position: relative; overflow: hidden; }
.section-navy.has-photo::before { content: ''; position: absolute; inset: 0; background: rgba(11,29,52,0.85); }
.section-navy.has-photo > .container { position: relative; z-index: 1; }
.section-bg { background: var(--bg); }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 2px; font-size: .8rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); }
.section-navy .eyebrow { color: var(--gold-light); }
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 54px; }
.section-head-row .section-head { margin-bottom: 0; }
.section-navy h2 { color: var(--white); }
h2.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }

/* ---------------- Welcome / intro ---------------- */
.welcome-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 66px; align-items: center; }
.welcome-visual { position: relative; }
.welcome-visual img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.welcome-badge {
  position: absolute; bottom: -26px; inset-inline-start: -26px; background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px;
}
.welcome-badge .num { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--gold); }
.welcome-badge .txt { font-size: .8rem; line-height: 1.35; color: rgba(255,255,255,.85); max-width: 110px; }
.welcome-text p.lead-body { font-size: 1.05rem; color: var(--muted); margin-bottom: 30px; }

/* ---------------- Icon feature cards ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 36px 26px; text-align: center; transition: all .25s var(--ease); box-shadow: var(--shadow-sm); }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-top-color: var(--navy); }
.feature-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; box-shadow: 0 6px 16px rgba(203,152,0,0.18); transition: all .3s var(--ease); }
.feature-icon svg { width: 30px; height: 30px; transition: transform .3s var(--ease); }
.feature-card:hover .feature-icon { background: var(--navy); color: var(--gold-light); transform: scale(1.08); }
.feature-card:hover .feature-icon svg { transform: rotate(-6deg); }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.feature-card p { font-size: .88rem; margin: 0; }
.section-navy .feature-card { background: var(--navy-2); border-color: rgba(255,255,255,.08); border-top-color: var(--gold); box-shadow: none; }
.section-navy .feature-card:hover { border-top-color: var(--gold-light); }
.section-navy .feature-card p { color: rgba(255,255,255,.65); }

/* ---------------- Services grid ---------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; cursor: pointer; transition: all .25s var(--ease); border-top: 3px solid var(--navy); box-shadow: var(--shadow-sm); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-top-color: var(--gold); }
.service-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--gold-tint); color: var(--gold); border-radius: var(--radius-sm); margin-bottom: 20px; box-shadow: 0 6px 16px rgba(203,152,0,0.16); transition: all .3s var(--ease); }
.service-icon svg { width: 27px; height: 27px; transition: transform .3s var(--ease); }
.service-card:hover .service-icon { background: var(--navy); color: var(--gold-light); }
.service-card:hover .service-icon svg { transform: scale(1.1); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p { font-size: .88rem; margin-bottom: 16px; }
.service-link { color: var(--navy); font-weight: 700; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; }
.service-link svg { width: 14px; height: 14px; transition: transform .2s; }
body[dir="rtl"] .service-link svg { transform: scaleX(-1); }
.service-card:hover .service-link { color: var(--gold); }
.service-card:hover .service-link svg { transform: translateX(4px); }
body[dir="rtl"] .service-card:hover .service-link svg { transform: scaleX(-1) translateX(4px); }

/* Full detail card variant used on the Services page */
.services-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-full-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; cursor: pointer; transition: all .25s var(--ease); display: flex; gap: 20px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.service-full-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gold); }
.service-full-card .service-icon { flex-shrink: 0; margin-bottom: 0; }
.service-full-card:hover .service-icon { background: var(--navy); color: var(--gold-light); }
.service-full-card .tagline { color: var(--gold); font-size: .78rem; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .4px; }
.service-full-card h3 { margin-bottom: 6px; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(11,29,52,.78); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(3px); }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius); max-width: 640px; width: 100%; max-height: 88vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.modal-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: none; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--navy); }
.modal-close:hover { background: var(--border); }
.modal-body { padding: 46px 40px 40px; }
.modal-body .eyebrow { margin-bottom: 10px; }
.modal-body h3 { font-size: 1.5rem; margin-bottom: 14px; }
.modal-scope { margin: 26px 0; }
.modal-scope h4 { font-size: .82rem; letter-spacing: 1px; color: var(--navy); text-transform: uppercase; margin-bottom: 16px; }
.modal-scope ul { display: grid; gap: 11px; }
.modal-scope li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink); }
.modal-scope li::before { content: ''; width: 7px; height: 7px; background: var(--gold); margin-top: 7px; flex-shrink: 0; border-radius: 50%; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------------- Projects / portfolio grid ---------------- */
.projects-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.projects-filter button { padding: 9px 20px; border-radius: 20px; border: 1.5px solid var(--border); font-weight: 600; font-size: .85rem; color: var(--muted); background: var(--white); transition: all .2s; }
.projects-filter button:hover, .projects-filter button.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/5; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project-card:hover img { transform: scale(1.08); }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,29,52,0) 40%, rgba(11,29,52,.92) 100%); }
.project-badge { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px; }
.project-info { position: absolute; bottom: 0; inset-inline: 0; z-index: 2; padding: 22px; }
.project-info h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 6px; }
.project-info .meta { color: rgba(255,255,255,.7); font-size: .78rem; display: flex; align-items: center; gap: 6px; }

/* ---------------- Team ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .placeholder-icon { width: 40%; height: 40%; color: rgba(255,255,255,.35); }
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { font-size: .85rem; color: var(--gold); font-weight: 600; margin: 0; }

/* ---------------- Sectors ---------------- */
.sectors-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sector-chip {
  background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--gold);
  border-radius: var(--radius-sm); padding: 30px 16px; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 14px; transition: all .25s var(--ease);
}
.sector-chip:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-top-color: var(--navy); }
.sector-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); display: flex; align-items: center; justify-content: center; transition: all .25s var(--ease); flex-shrink: 0; }
.sector-icon svg { width: 24px; height: 24px; }
.sector-chip:hover .sector-icon { background: var(--navy); color: var(--gold-light); }
.sector-name { font-weight: 600; font-size: .85rem; color: var(--navy); line-height: 1.3; }

/* ---------------- CTA band ---------------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #123457 100%); color: var(--white); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(203,152,0,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(203,152,0,.1) 1px, transparent 1px); background-size: 40px 40px; }
.cta-band.has-photo { background: var(--navy); background-size: cover; background-position: center; }
.cta-band.has-photo::before { opacity: 0; }
.cta-band.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,29,52,0.9) 0%, rgba(11,29,52,0.72) 100%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 32px; }

/* ---------------- About page ---------------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { background: var(--white); border: 1px solid var(--border); border-inline-start: 4px solid var(--gold); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.mv-card h3 { font-size: 1.3rem; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-card { text-align: center; padding: 30px 16px; }
.value-index { width: 54px; height: 54px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.value-card h3 { font-size: 1.05rem; }
.value-card p { font-size: .88rem; }
.capabilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.capability-item { display: flex; align-items: flex-start; gap: 14px; padding: 22px; background: var(--bg); border-radius: var(--radius); }
.capability-item .dot { width: 10px; height: 10px; background: var(--gold); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.capability-item p { margin: 0; color: var(--ink); font-weight: 500; font-size: .95rem; }
.closing-statement { text-align: center; max-width: 780px; margin: 0 auto; padding: 90px 0; }
.closing-statement p.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 22px; }
.closing-statement .bold-line { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.4rem; letter-spacing: .3px; }

/* ---------------- Contact page ---------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px 34px; position: relative; overflow: hidden; }
.contact-info-card::before { content: ''; position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(203,152,0,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(203,152,0,.08) 1px, transparent 1px); background-size: 36px 36px; }
.contact-info-card.has-photo { background-size: cover; background-position: center; }
.contact-info-card.has-photo::before { opacity: 0; }
.contact-info-card.has-photo::after { content: ''; position: absolute; inset: 0; background: rgba(11,29,52,0.78); }
.contact-info-card > * { position: relative; z-index: 1; }
.contact-info-card h3 { color: var(--white); margin-bottom: 26px; }
.contact-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-row .icon { width: 40px; height: 40px; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.contact-row .icon svg { width: 18px; height: 18px; }
.contact-row .label { font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 3px; }
.contact-row .value { font-weight: 600; }
.whatsapp-cta { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.whatsapp-cta-caption { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 28px; border: 1px solid rgba(255,255,255,.15); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px; color: var(--navy); }
.form-group label .req { color: var(--gold); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .95rem; background: var(--white); color: var(--ink); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); outline: none; }
.form-group textarea { resize: vertical; min-height: 120px; }
.alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 500; font-size: .92rem; }
.alert-success { background: #e8f7ee; color: #196a38; border: 1px solid #b9e6c8; }
.alert-error { background: #fdecec; color: #a3271f; border: 1px solid #f5c2be; }
.whats-next { display: grid; gap: 20px; margin-top: 40px; }
.whats-next-item { display: flex; gap: 16px; align-items: flex-start; }
.whats-next-item .num { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.whats-next-item p { margin: 0; color: var(--ink); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand-logo { height: 46px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 18px; }
.footer-tagline { margin-top: 16px; color: rgba(255,255,255,.55); font-size: .9rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: var(--white); font-size: .9rem; letter-spacing: 1px; margin-bottom: 18px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-contact li { margin-bottom: 10px; color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-bottom { padding: 24px 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.45); }
.whatsapp-float { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 90; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero { background: var(--navy); color: var(--white); padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(203,152,0,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(203,152,0,.08) 1px, transparent 1px); background-size: 40px 40px; }
.page-hero.has-photo { background-size: cover; background-position: center; }
.page-hero.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,29,52,0.92) 0%, rgba(11,29,52,0.78) 55%, rgba(11,29,52,0.6) 100%); }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.breadcrumb a { color: var(--gold-light); }
.page-hero-sub { color: rgba(255,255,255,.7); max-width: 620px; margin: 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .feature-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .services-full-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .welcome-grid { grid-template-columns: 1fr; gap: 60px; }
  .welcome-badge { position: static; margin-top: -50px; margin-inline-start: 20px; display: inline-flex; }
}

@media (max-width: 768px) {
  .topbar-left { gap: 16px; }
  .topbar-social { display: none; }
  .main-nav { position: fixed; top: 0; inset-inline-start: 0; width: 82%; max-width: 340px; height: 100%; background: var(--white); flex-direction: column; align-items: flex-start; gap: 0; padding: 100px 28px 28px; transform: translateX(-100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; box-shadow: var(--shadow-lg); z-index: 140; overflow-y: auto; }
  body[dir="rtl"] .main-nav { transform: translateX(100%); }
  .main-nav.open { visibility: visible; transition: transform .3s var(--ease); }
  .main-nav.open { transform: translateX(0); }
  body[dir="rtl"] .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--border); }
  .main-nav a.main-nav-lang { display: flex; width: auto; margin-top: 8px; padding: 10px 20px; border: 1.5px solid var(--border); border-bottom: 1.5px solid var(--border); border-radius: 20px; font-weight: 700; color: var(--navy); }
  .main-nav a.main-nav-lang:hover { border-color: var(--gold); color: var(--gold); }
  .nav-toggle { display: flex; }
  .header-actions .lang-switch { display: none; }
  .header-actions .btn-primary { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 70px; padding-bottom: 96px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-inline-end: none; }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .feature-grid, .services-grid, .projects-grid, .team-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .projects-filter { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
}
