/* =========================================================
   مصادر العالم للتخليص الجمركي والنقل - Global Sources
   ملف التنسيقات الرئيسي - CSS خام بدون أطر عمل
   ========================================================= */

/* ----- 1. المتغيرات ----- */
:root {
  --navy-900: #0a2c46;
  --navy-800: #0e3b5c;
  --navy-700: #12496f;
  --navy-600: #1a5c85;
  --teal-600: #128a83;
  --teal-500: #18a49a;
  --teal-400: #29b7a6;
  --green-400: #43c091;
  --gold: #c9a24e;
  --gold-dark: #a8863b;

  --ink: #0f2233;
  --body: #40525f;
  --muted: #6c7d8a;
  --line: #e4eaef;

  --bg: #f5f8fa;
  --bg-alt: #eef3f6;
  --surface: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(14, 59, 92, .06);
  --shadow-md: 0 12px 34px rgba(14, 59, 92, .12);
  --shadow-lg: 0 26px 60px rgba(10, 44, 70, .20);

  --container: 1180px;
  --header-h: 84px;

  --grad-brand: linear-gradient(120deg, var(--navy-800) 0%, var(--teal-600) 60%, var(--green-400) 120%);
  --grad-cta: linear-gradient(120deg, var(--teal-500), var(--green-400));

  --font: "Tajawal", "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* النسخة الإنجليزية: خط لاتيني + اتجاه LTR */
html[lang="en"] {
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}
html[dir="ltr"] .hero-orbit { left: auto; right: -160px; }
html[dir="ltr"] .hero-orbit::after { right: auto; left: -7px; }

/* ----- 2. إعادة الضبط ----- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.85;
  font-size: 17px;
  position: relative;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 800; overflow-wrap: break-word; }

/* منع تمدد أعمدة الشبكة أكثر من عرض الشاشة */
.hero-grid > *,
.about-grid > *,
.contact-grid > *,
.services-grid > *,
.why-grid > * { min-width: 0; }

::selection { background: var(--teal-500); color: #fff; }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----- 3. أدوات ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  transform: translateY(-160%);
  background: var(--navy-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 1100;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--navy-900);
  background-image: var(--grad-brand);
  color: #dCe8ef;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head {
  max-width: 720px;
  margin: 0 auto 58px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--teal-600);
  background: rgba(24, 164, 154, .12);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--dark .eyebrow { color: #bff0e8; background: rgba(255, 255, 255, .12); }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 18px; }
.section--dark .section-head p { color: #b9d0dd; }

/* ----- 4. الأزرار ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 12px 26px rgba(24, 164, 154, .34);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(24, 164, 154, .42); }
.btn--ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.btn--dark {
  background: var(--navy-800);
  color: #fff;
}
.btn--dark:hover { background: var(--navy-700); transform: translateY(-3px); }
.btn--block { width: 100%; }

/* ----- 5. الهيدر ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.is-scrolled {
  background: rgba(9, 38, 61, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(6, 26, 43, .28);
  height: 68px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: #fff;
}
.brand img { height: 60px; width: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .28)); }
.site-header.is-scrolled .brand img { height: 48px; }
.brand span { font-size: 17px; line-height: 1.3; }
.brand small { display: block; font-size: 11.5px; font-weight: 600; opacity: .82; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .92);
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: rgba(255, 255, 255, .16); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 22px; font-size: 15px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .06em;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .45);
  transition: background .2s ease, border-color .2s ease;
}
.lang-switch:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .7); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  position: relative;
  background: rgba(255, 255, 255, .16);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateX(-50%) rotate(45deg); top: 0; }
body.nav-open .nav-toggle span::after { transform: translateX(-50%) rotate(-45deg); top: 0; }

/* ----- 6. الهيرو ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 90px;
  background: var(--navy-900);
  background-image: var(--grad-brand);
  color: #eaf3f7;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(67, 192, 145, .28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(24, 164, 154, .30), transparent 40%);
}
.hero-orbit {
  position: absolute;
  width: 780px; height: 780px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  top: -180px; left: -160px;
  animation: spin 60s linear infinite;
}
.hero-orbit::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  top: 50%; right: -7px;
  box-shadow: 0 0 22px var(--gold);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero-badge b { color: var(--gold); }
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.8vw, 50px);
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #7ff0dd, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 19px;
  color: #cfe4ec;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li {
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}

.hero-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  padding: 30px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 19px; margin-bottom: 18px; }
.hero-card ul { display: grid; gap: 14px; }
.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #e3f0f5;
}
.hero-card li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--green-400); }

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue span {
  width: 24px; height: 38px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 14px;
  position: relative;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  left: 50%; top: 8px;
  transform: translateX(-50%);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: 0; top: 6px; } 50% { opacity: 1; top: 16px; } }

/* ----- 7. من نحن ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; }
.about-points {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--ink);
}
.about-points svg { width: 24px; height: 24px; color: var(--teal-500); flex-shrink: 0; }

.about-visual { position: relative; }
.about-visual .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--grad-brand);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.about-visual .frame img { filter: drop-shadow(0 12px 30px rgba(0,0,0,.3)); }
.about-visual .frame .frame-logo { width: auto; max-height: 100%; }
.about-stat-float {
  position: absolute;
  bottom: -26px; inset-inline-start: -26px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-stat-float b { font-size: 26px; color: var(--teal-600); display: block; line-height: 1; }
.about-stat-float span { font-size: 13px; color: var(--muted); }

/* ----- 8. الخدمات ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-cta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(24,164,154,.14), rgba(67,192,145,.14));
  margin-bottom: 20px;
}
.service-icon svg { width: 30px; height: 30px; color: var(--teal-600); }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 15.5px; color: var(--muted); }

/* ----- 9. أعمالنا ----- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.stat {
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 30px 18px;
}
.stat b {
  font-size: clamp(30px, 4vw, 44px);
  color: #fff;
  display: block;
  line-height: 1;
}
.stat b .plus { color: var(--gold); }
.stat span { font-size: 14.5px; color: #b9d0dd; }

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 46px;
}
.work-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-md);
}
.work-item .work-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.work-item:hover img { transform: scale(1.04); }
.work-item.img-missing img { display: none; }
.work-item figcaption {
  position: static;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, .03);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.ports-band {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 32px;
}
.ports-band h3 { color: #fff; font-size: 19px; margin-bottom: 20px; text-align: center; }
.ports-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ports-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #eaf3f7;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.ports-list svg { width: 20px; height: 20px; color: var(--green-400); flex-shrink: 0; }

/* ----- 10. لماذا نحن ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--teal-600);
  background: rgba(24, 164, 154, .12);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-card h3 { font-size: 19px; margin-bottom: 10px; }
.why-card p { font-size: 15.5px; color: var(--muted); }

/* ----- 11. التواصل ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 30px; }
.contact-cards { display: grid; gap: 16px; margin-bottom: 30px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.contact-card .ci {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(24,164,154,.14), rgba(67,192,145,.14));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card .ci svg { width: 22px; height: 22px; color: var(--teal-600); }
.contact-card b { display: block; color: var(--ink); font-size: 16px; }
.contact-card span { font-size: 14px; color: var(--muted); }
.contact-card a { direction: ltr; unicode-bidi: embed; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 20px; margin-bottom: 6px; }
.contact-form > p { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.req { color: #d64545; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  display: none;
}
.form-status.is-ok { display: block; background: rgba(67, 192, 145, .14); color: #1f7a52; }
.form-status.is-err { display: block; background: rgba(214, 69, 69, .12); color: #b13636; }

/* ----- 12. الفوتر ----- */
.site-footer {
  background: var(--navy-900);
  color: #a9c2d0;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand img { height: 54px; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
}

/* توقيع المطوّر */
.footer-sign {
  padding: 16px 22px;
  text-align: center;
  background: rgba(0, 0, 0, .28);
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer-sign p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  font-size: 13px;
  color: #7f9bab;
  letter-spacing: .01em;
}
.footer-sign a {
  color: var(--gold);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .03em;
  transition: color .2s ease;
}
.footer-sign a:hover { color: #e4c583; }
.footer-sign .sign-heart {
  color: #e35d72;
  font-size: 13px;
  animation: sign-beat 1.8s ease-in-out infinite;
}
@keyframes sign-beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.22); }
  30% { transform: scale(1); }
}

.to-top {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 900;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--teal-600); }
.to-top svg { width: 22px; height: 22px; }

/* ----- 13. الحركات ----- */
/* المحتوى ظاهر افتراضيًا؛ يُخفى فقط عند توفر جافاسكربت لتشغيل الحركة */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ----- 14. الاستجابة ----- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 520px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .work-gallery { grid-template-columns: repeat(2, 1fr); }
  .ports-list { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    background: var(--surface);
    box-shadow: -20px 0 60px rgba(10, 44, 70, .2);
    padding: calc(var(--header-h) + 20px) 26px 30px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { color: var(--body); padding: 14px 16px; border-radius: 12px; }
  .main-nav a:hover { background: var(--bg-alt); color: var(--ink); }
  .nav-toggle { display: block; }
  .header-cta .btn { padding: 11px; border-radius: 50%; }
  .header-cta .btn span { display: none; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 44, 70, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
    z-index: 999;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .site-header { background: rgba(9, 38, 61, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(6, 26, 43, .28); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .services-grid,
  .why-grid,
  .stats-row,
  .work-gallery,
  .ports-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .about-stat-float { inset-inline-start: 12px; bottom: -18px; }
  .contact-form { padding: 24px; }
  .brand span { display: none; }
  .brand img { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
