/* ==========================================================================
   MRC — Modern Response Company
   Design tokens sourced from the official brand guideline (One Page
   Stylesheet-Digital-MRC.pdf) — hex values sampled directly from that file.
   ========================================================================== */

@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/MonaSans-Variable.woff2") format("woff2-variations"),
       url("../fonts/MonaSans-Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Brand palette — exact values from brand guide */
  --mrc-blue: #083edc;            /* Palatinate Blue — primary, from logo vector */
  --mrc-blue-deep: #17378d;        /* Air Force Blue — deep sections */
  --mrc-blue-mid: #345ebb;         /* Denim */
  --mrc-blue-light: #95aef1;       /* Jordy Blue */
  --mrc-red: #da463d;              /* Deep Carmine Pink — emergency/urgent accent */
  --mrc-gray: #696969;             /* Dim Gray */
  --mrc-gray-light: #adadad;       /* Silver Chalice */
  --mrc-black: #0c0c0c;            /* Smoky Black */
  --mrc-white: #ffffff;

  /* Semantic tokens (light theme, this brand is a fixed light-brand site) */
  --bg: var(--mrc-white);
  --bg-subtle: #f4f6fb;
  --bg-deep: var(--mrc-black);
  --bg-blue-deep: var(--mrc-blue-deep);
  --text: var(--mrc-black);
  --text-muted: var(--mrc-gray);
  --text-on-dark: var(--mrc-white);
  --text-on-dark-muted: #c7cbd6;
  --border: #e4e6ee;
  --border-on-dark: rgba(255, 255, 255, 0.14);
  --accent: var(--mrc-blue);
  --accent-emergency: var(--mrc-red);

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
  --dur-slow: 0.9s;

  --font-en: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Tajawal", "Mona Sans", "Segoe UI", Tahoma, sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-en);
  font-variation-settings: "wdth" 100, "opsz" 20;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="ar"] body,
body.lang-ar {
  font-family: var(--font-ar);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

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

@media (min-width: 900px) {
  .container { padding-inline: 40px; }
}

section { position: relative; }
section[id] { scroll-margin-top: 88px; }

/* ==========================================================================
   Typography
   ========================================================================== */

h1, .h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.6rem);
  line-height: 1.04;
  font-weight: 600;
  font-variation-settings: "wdth" 100, "opsz" 32;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h3, .h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.25;
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
[dir="rtl"] .eyebrow::before { order: 2; }

.lede {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 400;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin-top: 16px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
[dir="rtl"] .btn:hover svg { transform: translateX(-3px) scaleX(-1); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }

.btn-primary {
  background: var(--mrc-black);
  color: var(--mrc-white);
}
.btn-primary:hover { background: var(--accent); }

.btn-light {
  background: var(--mrc-white);
  color: var(--mrc-black);
}
.btn-light:hover { background: var(--accent); color: var(--mrc-white); }

.btn-outline {
  background: transparent;
  border-color: var(--border-on-dark);
  color: var(--text-on-dark);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline-dark:hover { border-color: var(--mrc-black); }

.btn-emergency {
  background: var(--accent-emergency);
  color: var(--mrc-white);
}
.btn-emergency:hover { background: #c23a32; }

.btn-block { width: 100%; }

/* ==========================================================================
   Top utility bar + Nav
   ========================================================================== */

.topbar {
  background: var(--mrc-black);
  color: var(--text-on-dark-muted);
  font-size: 0.8rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 9px;
  gap: 16px;
}
.topbar-links { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color var(--dur-fast) var(--ease); }
.topbar-links svg { flex-shrink: 0; }
.topbar-links a:hover { color: var(--mrc-white); }
.topbar-links svg { width: 14px; height: 14px; }
.topbar-lang { display: flex; align-items: center; gap: 10px; }
.topbar-lang a {
  font-weight: 600;
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease);
}
.topbar-lang a.active,
.topbar-lang a:hover { opacity: 1; color: var(--mrc-white); }
.topbar-lang span { opacity: 0.3; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur-fast) var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(12,12,12,0.06); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 24px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--bg-subtle);
  color: var(--accent);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 12px 22px; font-size: 0.88rem; }
.nav-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-phone svg { width: 18px; height: 18px; color: var(--accent); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--mrc-white);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--mrc-white);
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.mobile-menu-close svg { width: 18px; height: 18px; }
.mobile-menu nav { padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  padding: 14px 8px;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-footer { padding: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  overflow: hidden;
  background: var(--mrc-black);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: hero-zoom 16s var(--ease) forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,12,12,0.55) 0%, rgba(12,12,12,0.25) 32%, rgba(12,12,12,0.65) 100%),
    linear-gradient(90deg, rgba(8,62,220,0.35) 0%, rgba(12,12,12,0) 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 140px 72px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #37d67a;
  box-shadow: 0 0 0 0 rgba(55,214,122,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(55,214,122,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(55,214,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,214,122,0); }
}

.hero h1 { margin-top: 22px; max-width: 15ch; color: var(--mrc-white); }
.hero .lede { margin-top: 22px; max-width: 46ch; color: var(--text-on-dark-muted); font-size: clamp(1.02rem, 1rem + 0.2vw, 1.15rem); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 640px;
  padding-top: 32px;
  border-top: 1px solid var(--border-on-dark);
}
@media (min-width: 720px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.stat .num {
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.4rem);
  font-weight: 600;
  color: var(--mrc-white);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat .label {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Marquee / trust strip
   ========================================================================== */

.trust-strip {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding-block: 22px;
  overflow: hidden;
}
.trust-strip .label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 28px;
}
.trust-track-wrap { overflow: hidden; flex: 1; min-width: 0; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.trust-track span {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--mrc-black);
  opacity: 0.55;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Cards — services / industries
   ========================================================================== */

.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: var(--mrc-white);
  isolation: isolate;
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2;
  transition: transform var(--dur-slow) var(--ease);
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,12,12,0.05) 30%, rgba(12,12,12,0.88) 100%);
  z-index: -1;
}
.service-card:hover img { transform: scale(1.06); }
.service-card-body { padding: 34px; width: 100%; }
.service-card .tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.6rem; color: var(--mrc-white); }
.service-card p { margin-top: 10px; color: var(--text-on-dark-muted); max-width: 40ch; }
.service-card .card-link {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: border-color var(--dur-fast) var(--ease), gap var(--dur-fast) var(--ease);
}
.service-card .card-link svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease); }
.service-card:hover .card-link svg { transform: translateX(4px); }
[dir="rtl"] .service-card:hover .card-link svg { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .service-card .card-link svg { transform: scaleX(-1); }

.feature-card {
  background: var(--mrc-white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(12,12,12,0.08);
  border-color: transparent;
}
.feature-card h3 { color: var(--text); font-size: 1.3rem; }
.feature-card .icon {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--accent);
  margin-bottom: 22px;
}
.feature-card .icon svg { width: 32px; height: 32px; }
.feature-card p { margin-top: 12px; color: var(--text-muted); line-height: 1.6; font-size: 1rem; }

.industry-card {
  background: var(--mrc-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.industry-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.industry-card .icon { width: 44px; height: 44px; color: var(--accent); }
.industry-card .icon svg { width: 100%; height: 100%; }
.industry-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }

/* ==========================================================================
   Dark section
   ========================================================================== */

.section-dark {
  background: var(--mrc-black);
  color: var(--text-on-dark);
}
.section-dark .lede { color: var(--text-on-dark-muted); }
.section-dark .section-head h2 { color: var(--mrc-white); }

.section-blue {
  background: linear-gradient(135deg, var(--mrc-blue-deep) 0%, #0c1f57 100%);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.section-blue::before {
  content: "";
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,62,220,0.35), transparent 70%);
  top: -300px; right: -200px;
}
[dir="rtl"] .section-blue::before { right: auto; left: -200px; }

/* ==========================================================================
   Sections generic spacing
   ========================================================================== */

.section { padding-block: 88px; }
.section-sm { padding-block: 56px; }
.trust-strip + .section { padding-top: 56px; }
.coverage-regions-band { padding-bottom: 56px; }
.coverage-standby-band { padding-top: 56px; padding-bottom: 56px; }
.coverage-remote-band { padding-top: 56px; }
.industries-band { padding-bottom: 56px; }
.clients-band { padding-top: 56px; }
@media (min-width: 900px) {
  .section { padding-block: 128px; }
  .section-sm { padding-block: 72px; }
  .trust-strip + .section { padding-top: 80px; }
  .coverage-regions-band { padding-bottom: 72px; }
  .coverage-standby-band { padding-top: 72px; padding-bottom: 72px; }
  .coverage-remote-band { padding-top: 72px; }
  .industries-band { padding-bottom: 72px; }
  .clients-band { padding-top: 72px; }
}

/* Page header (interior pages) */
.page-header {
  padding-block: 160px 64px;
  background: var(--mrc-black);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.page-header-media { position: absolute; inset: 0; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.page-header-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,12,12,0.5), rgba(12,12,12,0.92));
}
.page-header .inner { position: relative; z-index: 1; }
.page-header .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-on-dark-muted);
  margin-bottom: 18px;
}
.page-header .breadcrumb a:hover { color: var(--mrc-white); }
.page-header h1 { color: var(--mrc-white); max-width: 20ch; }
.page-header .lede { margin-top: 18px; max-width: 56ch; }

/* ==========================================================================
   Stat / number band
   ========================================================================== */

.stat-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 720px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-band .num {
  font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.4rem);
  font-weight: 600;
  color: var(--accent);
}
.stat-band .label { margin-top: 6px; color: var(--text-muted); font-size: 0.92rem; }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--mrc-blue) 0%, #041f8a 100%);
  color: var(--mrc-white);
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) {
  .cta-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 64px 72px; }
}
.cta-banner h2 { color: var(--mrc-white); max-width: 18ch; }
.cta-banner .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: var(--mrc-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 18px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font: inherit;
  background: var(--bg-subtle);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--mrc-white);
  box-shadow: 0 0 0 3px rgba(8, 62, 220, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }

.service-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.service-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.service-toggle label {
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.service-toggle input:checked + label {
  background: var(--mrc-black);
  color: var(--mrc-white);
  border-color: var(--mrc-black);
}

.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #1a8a4a; }
.form-status.err { color: var(--mrc-red); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  order: 1;
}
@media (min-width: 940px) {
  .contact-grid { grid-template-columns: 1fr 0.85fr; align-items: flex-start; }
  .contact-grid .form-card { order: 1; }
  .contact-info-col { order: 2; position: sticky; top: 100px; }
}

.contact-info-card {
  background: var(--mrc-black);
  color: var(--mrc-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info-card .row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-card .row .icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--mrc-white);
}
.contact-info-card .row .icon svg { width: 20px; height: 20px; }
.contact-info-card .row h4 { font-size: 0.95rem; font-weight: 600; }
.contact-info-card .row p, .contact-info-card .row a { margin-top: 4px; color: var(--text-on-dark-muted); font-size: 0.92rem; }
.contact-info-card .row a:hover { color: var(--mrc-white); }
.contact-info-card .emergency {
  background: rgba(218,70,61,0.14);
  border: 1px solid rgba(218,70,61,0.4);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.contact-info-card .emergency .num { font-size: 1.4rem; font-weight: 700; color: #ff8a82; }

/* ==========================================================================
   Timeline / values / process
   ========================================================================== */

.value-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-block: 28px;
  border-top: 1px solid var(--border);
}
.value-row:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 780px) {
  .value-row { grid-template-columns: 240px 1fr; align-items: baseline; }
}
.value-row .index { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.value-row h3 { margin-top: 6px; }
.value-row p { margin-top: 10px; color: var(--text-muted); max-width: 62ch; line-height: 1.6; }

/* ==========================================================================
   Region / coverage list
   ========================================================================== */

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
.client-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.client-badge:hover {
  border-color: var(--accent);
  background: var(--mrc-white);
  transform: translateY(-2px);
}
.client-badge .logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}
.client-badge img {
  max-height: 36px;
  max-width: 118px;
  width: auto;
  object-fit: contain;
}
.client-badge .name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}
.client-badge.text-only { justify-content: center; }
.client-badge.text-only .name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.region-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: background var(--dur-fast) var(--ease);
}
.region-card:hover { background: #eef1fb; }
.region-card h3 { font-size: 1.1rem; }
.region-card ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.region-card li { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.region-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--mrc-black); color: var(--text-on-dark-muted); padding-block: 72px 28px; }
.footer-top { display: grid; gap: 44px; grid-template-columns: 1fr; padding-bottom: 56px; }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand img { height: 32px; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; line-height: 1.6; font-size: 0.92rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-on-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: var(--mrc-white); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--mrc-white); }
.footer-bottom {
  border-top: 1px solid var(--border-on-dark);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.82rem;
}
@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a:hover { color: var(--mrc-white); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[dir="rtl"] [data-reveal="left"] { transform: translateX(32px); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .hero-media img { animation: none; transform: none; }
}

/* stagger children */
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   Misc
   ========================================================================== */

/* ==========================================================================
   Small-screen refinements
   ========================================================================== */

@media (max-width: 560px) {
  .section-head h2 { font-size: 1.55rem; }
  .section-head .lede { font-size: 0.95rem; }

  .trust-track { animation-duration: 42s; }
  .trust-track span { font-size: 0.92rem; }

  .feature-card { padding: 20px; }
  .feature-card .icon { width: 46px; height: 46px; margin-bottom: 14px; }
  .feature-card .icon svg { width: 22px; height: 22px; }
  .feature-card h3 { font-size: 1.05rem; }
  .feature-card p { font-size: 0.88rem; margin-top: 8px; }
  .grid-4 { gap: 14px; }

  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding: 7px 12px; font-size: 0.7rem; gap: 5px; }
  .nav-actions .btn svg { width: 12px; height: 12px; }
  .logo { gap: 6px !important; }
  .logo span { font-size: 0.76rem !important; line-height: 1.15 !important; }

  .service-card { min-height: 300px; border-radius: var(--radius-md); }
  .service-card-body { padding: 22px; }
  .service-card h3 { font-size: 1.25rem; }
  .service-card p { font-size: 0.9rem; margin-top: 6px; }
  .service-card .tag { padding: 5px 12px; font-size: 0.7rem; margin-bottom: 10px; }
  .service-card .card-link { margin-top: 14px; font-size: 0.85rem; }
}

.divider { height: 1px; background: var(--border); border: 0; }
.hide-mobile { display: none !important; }
@media (min-width: 640px) { .hide-mobile { display: inline-flex !important; } }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

.back-to-top {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--mrc-black);
  color: var(--mrc-white);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

.whatsapp-fab {
  position: fixed;
  bottom: 26px;
  inset-inline-start: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform var(--dur-fast) var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 26px; height: 26px; }
