:root {
  --navy: #102a43;
  --blue: #1f4e79;
  --ink: #202a32;
  --paper: #f7f5f0;
  --mist: #e7ecef;
  --copper: #FD6353;
  --white: #ffffff;
  --line: #d4dce1;
  --muted: #5d6972;
  --shadow: 0 8px 24px rgba(16, 42, 67, .08);
  --radius: 4px;
  --container: 1200px;
  --font-display: "Arial Narrow", "Trebuchet MS", sans-serif;
  --font-body: "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 15px; color: var(--white); background: var(--navy); }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--copper); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--font-display); line-height: 1.08; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 9vw, 5.7rem); }
h2 { font-size: clamp(2rem, 5vw, 3.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 18px; }
.lead { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.section { padding: 72px 0; }
.section--dark { color: var(--white); background: var(--navy); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 35px; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); }
.section--dark .section-heading > p { color: #cbd6de; }
.site-header { position: sticky; top: 0; z-index: 20; color: var(--white); background: rgba(16, 42, 67, .97); border-bottom: 1px solid rgba(255,255,255,.14); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; min-width: 0; align-items: center; color: var(--white); text-decoration: none; }
.brand-logo { display: block; width: 150px; height: auto; max-height: 52px; object-fit: contain; object-position: left center; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; color: var(--navy); background: var(--copper); font-size: .8rem; }
.site-nav { display: none; align-items: center; gap: 24px; }
.site-nav a { color: var(--white); font-size: .9rem; text-decoration: none; }
.site-nav a:hover { color: #fea198; }
.header-actions { display: none; align-items: center; gap: 15px; }
.phone-link { color: var(--white); font-size: .88rem; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: inline-grid; width: 44px; height: 44px; place-items: center; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.4); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; content: ""; }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(4px); }
.mobile-panel { position: fixed; inset: 76px 0 auto; display: none; padding: 30px 20px 35px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow); }
.mobile-panel.is-open { display: block; }
.mobile-panel a { display: block; padding: 13px 0; color: var(--white); font-family: var(--font-display); font-size: 1.45rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; color: var(--white); background: var(--copper); border: 1px solid var(--copper); border-radius: var(--radius); font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--white); background: #d94d3f; border-color: #d94d3f; }
.btn--outline { color: var(--white); background: transparent; border-color: rgba(255,255,255,.65); }
.btn--outline:hover { color: var(--navy); background: var(--white); border-color: var(--white); }
.btn--light { color: var(--navy); background: var(--white); border-color: var(--white); }
.hero { position: relative; min-height: 680px; display: grid; align-items: end; color: var(--white); background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,42,67,.94) 0%, rgba(16,42,67,.68) 44%, rgba(16,42,67,.2) 100%); content: ""; }
.hero-content { position: relative; z-index: 1; padding: 90px 0 80px; }
.hero h1 { max-width: 800px; color: var(--white); }
.hero .lead { margin: 25px 0 30px; color: #e5edf2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 44px; color: #dce6ec; font-size: .88rem; }
.hero-meta span::before { margin-right: 8px; color: var(--copper); content: "—"; }
.page-hero { padding: 76px 0 68px; color: var(--white); background: var(--navy); }
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 7vw, 5rem); }
.page-hero .lead { margin-top: 20px; color: #d9e3ea; }
.breadcrumbs { margin-bottom: 22px; color: #aebfcb; font-size: .84rem; }
.breadcrumbs a { color: #dce6ec; }
.grid { display: grid; gap: 18px; }
.grid--services { grid-template-columns: 1fr; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-item { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 220ms ease; }
.gallery-item:hover img { transform: scale(1.05); }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid--strip { grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
@media (min-width: 1000px) { .gallery-grid--strip { grid-template-columns: repeat(3, 1fr); } }
.grid--projects { grid-template-columns: 1fr; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card:hover { transform: translateY(-3px); border-color: #b7c6cf; box-shadow: 0 12px 28px rgba(16, 42, 67, .12); }
.card--text { position: relative; min-height: 100%; background: linear-gradient(135deg, var(--white) 0%, #eef3f5 100%); }
.card--text::before { position: absolute; inset: 0 0 auto; height: 4px; background: var(--copper); content: ""; }
.card-media { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 24px; }
.card-body p { color: var(--muted); }
.card-link { display: inline-flex; margin-top: 8px; align-items: center; gap: 8px; font-weight: 700; }
.number-label { display: block; margin-bottom: 16px; color: var(--copper); font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; }
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.expertise-item { min-height: 130px; padding: 22px; background: var(--white); }
.expertise-item strong { display: block; margin-bottom: 7px; color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; }
.expertise-item span { color: var(--muted); font-size: .9rem; }
.split { display: grid; gap: 35px; align-items: center; }
.split-media { width: 100%; max-height: 650px; object-fit: cover; border-radius: var(--radius); }
.process { display: grid; gap: 22px; counter-reset: step; }
.process-item { position: relative; padding: 24px 0 24px 62px; border-top: 1px solid rgba(255,255,255,.25); }
.process-item::before { position: absolute; left: 0; top: 17px; color: var(--copper); font-family: var(--font-display); font-size: 2rem; font-weight: 800; counter-increment: step; content: counter(step, decimal-leading-zero); }
.process-item p { margin: 8px 0 0; color: #cbd6de; }
.cta-band { padding: 48px 0; color: var(--white); background: var(--blue); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cta-band h2 { max-width: 650px; color: var(--white); font-size: clamp(1.9rem, 4vw, 3.2rem); }
.list-clean { display: grid; gap: 13px; margin: 25px 0 0; padding: 0; list-style: none; }
.list-clean li { position: relative; padding-left: 22px; }
.list-clean li::before { position: absolute; left: 0; color: var(--copper); content: "＋"; font-weight: 700; }
.notice { padding: 18px 20px; color: #5c2b24; background: #fff0ee; border-left: 4px solid var(--copper); }
.form-shell { max-width: 760px; padding: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--navy); font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--paper); border: 1px solid #b9c5cc; border-radius: var(--radius); }
.field textarea { min-height: 150px; resize: vertical; }
.form-extra { display: grid; gap: 18px; margin: 20px 0; }
.consent-field { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .95rem; }
.consent-field input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--copper); }
.consent-field a { color: var(--blue); }
.form-status { min-height: 24px; margin-top: 14px; color: var(--muted); }
.form-status[data-state="error"] { color: #a13e2b; }
.form-status[data-state="success"] { color: #236b4d; }
.contact-grid { display: grid; gap: 18px; }
.contact-item { padding: 24px; background: var(--white); border-top: 3px solid var(--copper); }
.contact-item strong { display: block; margin-bottom: 6px; color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; }
.map-section { max-width: 1200px; }
.map-frame { width: 100%; min-height: 280px; border: 1px solid var(--line); background: var(--mist); box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.contact-split { align-items: stretch; }
.contact-split .form-shell { max-width: 100%; }
.map-frame--tall { min-height: 420px; }
.map-frame--tall iframe { min-height: 420px; }
.table-wrap { overflow-x: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--white); }
th, td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--navy); background: var(--mist); }
.prose { max-width: 820px; }
.prose h2 { margin: 42px 0 15px; font-size: 2rem; }
.prose h3 { margin: 28px 0 10px; }
.prose ul { padding-left: 22px; }
.footer { padding: 58px 0 25px; color: #d9e3ea; background: var(--navy); }
.footer-grid { display: grid; gap: 35px; }
.footer h2, .footer h3 { margin-bottom: 14px; color: var(--white); }
.footer h2 { font-size: 1.3rem; }
.footer h3 { font-size: 1rem; }
.footer p { color: #b8c8d2; }
.footer a { color: #dce6ec; }
.footer-links { display: grid; gap: 7px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 45px; padding-top: 18px; color: #9fb2bf; font-size: .85rem; border-top: 1px solid rgba(255,255,255,.18); }
.cookie-banner { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; max-width: min(560px, calc(100% - 40px)); gap: 18px; padding: 20px; color: var(--ink); background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(16, 42, 67, .2); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin-bottom: 6px; font-size: 1.2rem; }
.cookie-banner p { margin-bottom: 6px; color: var(--muted); font-size: .92rem; }
.cookie-banner a { font-size: .9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn--outline { color: var(--navy); border-color: var(--navy); }
.cookie-actions .btn--outline:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
@media (min-width: 700px) { .cookie-banner { grid-template-columns: 1fr auto; align-items: center; } }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 35; display: grid; width: 56px; height: 56px; place-items: center; color: #25D366; background: var(--white); border: 3px solid #25D366; border-radius: 50%; box-shadow: 0 8px 22px rgba(16, 42, 67, .22); text-decoration: none; animation: whatsapp-pulse 2.4s ease-in-out infinite; }
.whatsapp-icon { display: block; width: 33px; height: 33px; color: #25D366; animation: whatsapp-bounce 2.8s ease-in-out infinite; transition: color 180ms ease; }
.whatsapp-tooltip { position: absolute; right: 66px; padding: 5px 9px; color: var(--white); background: var(--navy); border-radius: 3px; font-size: .78rem; font-weight: 700; opacity: 0; pointer-events: none; white-space: nowrap; transform: translateX(6px); transition: opacity 160ms ease, transform 160ms ease; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { color: var(--white); background: #25D366; transform: translateY(-2px); }
.whatsapp-float:hover .whatsapp-icon, .whatsapp-float:focus-visible .whatsapp-icon { color: var(--white); }
.whatsapp-float:hover .whatsapp-tooltip, .whatsapp-float:focus-visible .whatsapp-tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-float:focus-visible { outline-color: var(--copper); }
@media (max-width: 480px) { .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; } }
@keyframes whatsapp-pulse { 0%, 100% { box-shadow: 0 8px 22px rgba(16, 42, 67, .22), 0 0 0 0 rgba(25, 135, 84, .35); } 50% { box-shadow: 0 10px 26px rgba(16, 42, 67, .26), 0 0 0 9px rgba(25, 135, 84, 0); } }
@keyframes whatsapp-bounce { 0%, 55%, 100% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-5px) rotate(-8deg); } 85% { transform: translateY(0) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float { animation: none; } .whatsapp-icon { animation: none; } .whatsapp-tooltip { transition: none; } }
.reveal { animation: reveal .55s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .container { width: min(calc(100% - 64px), var(--container)); }
  .site-nav, .header-actions { display: flex; }
  .menu-toggle { display: none; }
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--projects { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .grid--services { grid-template-columns: repeat(3, 1fr); }
  .expertise-grid { grid-template-columns: repeat(4, 1fr); }
  .form-grid--two { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; }
.lang-switch img { display: block; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--white); box-shadow: 0 0 0 2px var(--white); }
.mobile-panel .lang-switch { gap: 8px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.mobile-panel .lang-switch span { color: var(--white); font-family: var(--font-display); font-size: 1.1rem; }

/* RTL (Arabic) support */
[dir="rtl"] body { font-family: 'Noto Kufi Arabic', Tahoma, var(--font-body); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: 'Noto Kufi Arabic', var(--font-display); }
[dir="rtl"] .skip-link { left: auto; right: 12px; }
[dir="rtl"] .notice { border-left: 0; border-right: 4px solid var(--copper); }
[dir="rtl"] .list-clean li { padding-right: 22px; padding-left: 0; }
[dir="rtl"] .list-clean li::before { left: auto; right: 0; }
[dir="rtl"] .process-item { padding: 24px 62px 24px 0; }
[dir="rtl"] .process-item::before { left: auto; right: 0; }
[dir="rtl"] .hero-meta span::before { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .number-label, [dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .breadcrumbs { direction: rtl; }
[dir="rtl"] .form-status[data-state] { direction: rtl; }
