:root {
  --navy: #061b3a;
  --navy-2: #0a2c5e;
  --blue: #087cf0;
  --sky: #55b9ff;
  --ink: #10213b;
  --muted: #627189;
  --line: #dce6f1;
  --paper: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(6, 27, 58, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: "Noto Kufi Arabic", "Manrope", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 100; transform: translateY(-160%); background: white; padding: 10px 16px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(6,27,58,.08); backdrop-filter: blur(18px); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 275px; flex: 0 1 275px; }
.brand img { width: 100%; height: 62px; object-fit: contain; object-position: left center; }
html[dir="rtl"] .brand img { object-position: right center; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { position: relative; color: #30435e; font-size: .9rem; font-weight: 700; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 -9px; height: 2px; background: var(--blue); transform: scaleX(0); transition: .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-button, .menu-button { border: 0; background: transparent; color: var(--navy); cursor: pointer; font-weight: 700; }
.lang-button { padding: 10px 4px; font-family: "Noto Kufi Arabic", sans-serif; font-size: .82rem; }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: .2s; }
.mobile-nav { display: none; padding: 8px 20px 20px; background: white; }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 12px 0; border-top: 1px solid var(--line); font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--blue); border-radius: 999px; background: var(--blue); color: white; font-size: .9rem; font-weight: 800; letter-spacing: .01em; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8,124,240,.26); }
.button-small { min-height: 44px; padding-inline: 20px; }
.button-outline { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button-outline:hover { background: rgba(255,255,255,.16); }
.button-dark { background: var(--navy); border-color: var(--navy); }

.hero { position: relative; min-height: 690px; display: grid; align-items: center; isolation: isolate; background: var(--navy); color: white; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/port.png") center/cover; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,19,43,.97) 5%, rgba(4,29,65,.82) 52%, rgba(3,22,49,.38)); }
html[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(3,19,43,.97) 5%, rgba(4,29,65,.82) 52%, rgba(3,22,49,.38)); }
.hero-content { padding: 108px 0 132px; max-width: 820px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero .eyebrow { display: inline-flex; padding: 8px 13px; border: 1px solid rgba(85,185,255,.28); border-radius: 999px; color: #c8e9ff; background: rgba(8,124,240,.1); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 6.5vw, 6.1rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
html[dir="rtl"] h1 { line-height: 1.25; letter-spacing: 0; }
.hero-lead { max-width: 690px; color: rgba(255,255,255,.75); font-size: 1.12rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-statline { position: absolute; inset: auto 0 0; border-top: 1px solid rgba(255,255,255,.12); background: rgba(2,17,40,.62); backdrop-filter: blur(12px); }
.hero-stats { min-height: 84px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.hero-stats div { padding-inline: 24px; border-inline-end: 1px solid rgba(255,255,255,.12); }
.hero-stats div:first-child { padding-inline-start: 0; }
.hero-stats div:last-child { border: 0; }
.hero-stats strong { display: block; color: white; font-size: 1.05rem; }
.hero-stats span { color: rgba(255,255,255,.55); font-size: .78rem; }

.section { padding: 104px 0; }
.section-soft { background: var(--paper); }
.section-dark { background: var(--navy); color: white; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 46px; }
.section-head > div { max-width: 760px; }
.section h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4.3vw, 4.25rem); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
html[dir="rtl"] .section h2 { line-height: 1.4; letter-spacing: 0; }
.lead { color: var(--muted); font-size: 1.08rem; line-height: 1.9; }
.section-dark .lead { color: rgba(255,255,255,.68); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; align-items: center; }
.image-frame { position: relative; min-height: 540px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.image-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.25); border-radius: inherit; }
.copy-block p:not(.eyebrow) { color: var(--muted); }
.copy-block .button { margin-top: 14px; }

.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector-card { position: relative; min-height: 530px; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius); color: white; background: var(--navy); box-shadow: var(--shadow); }
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sector-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3,18,41,.05) 10%, rgba(3,18,41,.93) 88%); }
.sector-card:hover img { transform: scale(1.045); }
.sector-content { position: relative; z-index: 2; padding: 32px; }
.sector-index { display: block; margin-bottom: 16px; color: var(--sky); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.sector-card h3 { margin-bottom: 12px; font-size: 1.48rem; line-height: 1.3; }
.sector-card p { margin: 0; color: rgba(255,255,255,.67); font-size: .9rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.feature { padding: 36px 28px; border-inline-end: 1px solid var(--line); }
.feature:last-child { border: 0; }
.feature-number { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 44px; border-radius: 50%; background: #eaf4ff; color: var(--blue); font-size: .75rem; font-weight: 800; }
.feature h3 { font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .88rem; }

.network { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.network-visual { position: relative; min-height: 500px; overflow: hidden; border-radius: var(--radius); }
.network-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.network-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(8,124,240,.12), rgba(4,25,57,.7)); }
.route-line { position: absolute; z-index: 2; inset: 50% 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--sky), transparent); transform: rotate(-11deg); box-shadow: 0 0 18px var(--sky); }
.route-line::before, .route-line::after { content: ""; position: absolute; top: -5px; width: 12px; height: 12px; border: 2px solid white; border-radius: 50%; background: var(--blue); }
.route-line::before { left: 7%; } .route-line::after { right: 7%; }
.market-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.market-lists h3 { color: var(--sky); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.market-lists ul { margin: 0; padding: 0; list-style: none; }
.market-lists li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.75); }

.cta-band { position: relative; overflow: hidden; padding: 76px 0; background: var(--blue); color: white; }
.cta-band::after { content: ""; position: absolute; width: 500px; height: 500px; inset: -260px -80px auto auto; border: 80px solid rgba(255,255,255,.08); border-radius: 50%; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.8rem); }
.cta-inner p { margin: 0; color: rgba(255,255,255,.78); }
.cta-inner .button { background: white; border-color: white; color: var(--navy); }

.page-hero { position: relative; min-height: 370px; display: grid; align-items: end; overflow: hidden; padding: 80px 0 70px; background: var(--navy); color: white; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--page-image, url('/assets/ship.png')) center/cover; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,18,41,.97), rgba(3,18,41,.42)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.8rem, 5.8vw, 5.5rem); }
.page-hero p { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { padding: 34px 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.value-card h3 { color: var(--navy); }
.value-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.product-section { scroll-margin-top: 100px; }
.product-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.product-section:nth-of-type(even) .product-visual { order: 2; }
.product-visual { min-height: 480px; position: relative; overflow: hidden; border-radius: var(--radius); }
.product-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.product-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 0; list-style: none; }
.product-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); color: #3f526c; }
html[dir="rtl"] .product-list li { padding: 12px 22px 12px 0; }
.product-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
html[dir="rtl"] .product-list li::before { left: auto; right: 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.contact-card small { display: block; margin-bottom: 8px; color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.contact-card a, .contact-card address { color: var(--ink); font-style: normal; font-weight: 600; }
.form-card { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-card h2 { font-size: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #30435e; font-size: .84rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #cfdbe8; border-radius: 11px; background: #fbfdff; color: var(--ink); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,124,240,.11); }
.consent { display: flex; align-items: flex-start; gap: 10px; grid-column: 1/-1; color: var(--muted); font-size: .83rem; }
.consent input { margin-top: 5px; }
.form-status { min-height: 26px; margin: 16px 0 0; font-size: .9rem; font-weight: 700; }
.form-status.success { color: #087a4a; } .form-status.error { color: #bc2f3b; }
.map-frame { margin-top: 42px; overflow: hidden; border-radius: var(--radius); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

.site-footer { padding: 74px 0 26px; background: #03152f; color: rgba(255,255,255,.68); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr 1fr 1.2fr; gap: 58px; }
.footer-brand img { width: 270px; height: 72px; object-fit: contain; object-position: left center; filter: drop-shadow(0 0 1px white); }
html[dir="rtl"] .footer-brand img { object-position: right center; }
.footer-brand p { max-width: 360px; }
.footer-tagline { color: var(--sky); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.site-footer h2 { margin-bottom: 22px; color: white; font-size: .85rem; text-transform: uppercase; letter-spacing: .13em; }
.site-footer a, .site-footer address { display: block; margin: 10px 0; font-size: .86rem; font-style: normal; transition: color .2s; }
html[dir="rtl"] .site-footer a[dir="ltr"] { text-align: right; }
.site-footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.whatsapp-fab { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #24d366; color: white; box-shadow: 0 12px 30px rgba(0,0,0,.22); font-size: .76rem; font-weight: 900; }
html[dir="rtl"] .whatsapp-fab { right: auto; left: 22px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .desktop-nav, .header-actions .button-small { display: none; }
  .menu-button { display: block; }
  .brand { width: 245px; }
  .split, .network, .product-layout, .contact-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(2) { border-inline-end: 0; }
  .product-section:nth-of-type(even) .product-visual { order: initial; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1/-1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { height: 72px; }
  .brand { width: 205px; }
  .brand img { height: 54px; }
  .lang-button { font-size: .74rem; }
  .hero { min-height: 690px; }
  .hero-content { padding: 84px 0 165px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; padding: 13px 0; }
  .hero-stats div { padding: 7px 0; border: 0; }
  .hero-stats span { display: none; }
  .section { padding: 72px 0; }
  .section-head, .cta-inner { align-items: flex-start; flex-direction: column; }
  .sector-grid, .feature-grid, .values-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .sector-card { min-height: 450px; }
  .feature { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .feature-number { margin-bottom: 24px; }
  .image-frame, .product-visual, .network-visual { min-height: 370px; }
  .market-lists, .product-list { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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