/*
Theme Name: MASHRIQ Marine Energy
Theme URI: https://mashriqmarine.com/
Author: AZRAQ
Description: Custom lightweight WordPress theme for MASHRIQ Marine Energy.
Version: 1.2.5
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mashriq-marine
*/

:root {
  --mashriq-deep-navy: #061827;
  --mashriq-navy: #0b2e4f;
  --mashriq-blue: #026caa;
  --mashriq-orange: #f79f26;
  --mashriq-ink: #142433;
  --mashriq-muted: #5b6d7d;
  --mashriq-line: #d9e2e8;
  --mashriq-soft: #f1f5f7;
  --mashriq-white: #ffffff;
  --mashriq-wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--mashriq-white);
  color: var(--mashriq-ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.mashriq-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button,
input,
select,
textarea { font: inherit; }

.mashriq-wrap {
  width: min(var(--mashriq-wrap), calc(100% - 48px));
  margin-inline: auto;
}
.mashriq-skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -100px;
  padding: 12px 18px;
  background: var(--mashriq-orange);
  color: var(--mashriq-deep-navy);
  font-weight: 700;
}
.mashriq-skip-link:focus { top: 16px; }
.mashriq-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.mashriq-kicker {
  margin-bottom: 18px;
  color: var(--mashriq-orange);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.mashriq-section-title {
  margin: 0;
  color: var(--mashriq-deep-navy);
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.03;
}
.mashriq-lead {
  margin: 0;
  color: var(--mashriq-muted);
  font-size: clamp(1.03rem, 1.4vw, 1.2rem);
  line-height: 1.8;
}
.mashriq-section { padding: 112px 0; }
.mashriq-section--soft { background: var(--mashriq-soft); }
.mashriq-section--dark { background: var(--mashriq-deep-navy); color: var(--mashriq-white); }
.mashriq-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr);
  align-items: end;
  gap: 90px;
  margin-bottom: 62px;
}
.mashriq-section-head .mashriq-lead { padding-bottom: 7px; }

.mashriq-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 0;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  background: var(--mashriq-orange);
  color: var(--mashriq-deep-navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.mashriq-button:hover,
.mashriq-button:focus-visible {
  background: #ffb43e;
  color: var(--mashriq-deep-navy);
  transform: translateY(-2px);
}
.mashriq-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mashriq-deep-navy);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.mashriq-text-link::after { content: "↗"; color: var(--mashriq-orange); font-size: 1.15rem; }
.mashriq-text-link:hover { color: var(--mashriq-blue); }

/* Header */
.mashriq-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(6, 24, 39, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  transition: background-color .25s ease, box-shadow .25s ease;
}
body.admin-bar .mashriq-site-header { top: 32px; }
.home .mashriq-site-header,
.mashriq-arabic-home .mashriq-site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(1, 8, 14, .7), rgba(1, 8, 14, 0));
}
.home .mashriq-site-header.is-scrolled,
.mashriq-arabic-home .mashriq-site-header.is-scrolled {
  position: fixed;
  background: rgba(6, 24, 39, .96);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px);
}
.mashriq-header-row {
  position: relative;
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.mashriq-header-row::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(247, 159, 38, .82) 0 9%, rgba(255,255,255,.12) 9% 100%);
  content: "";
}
.mashriq-site-logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
.mashriq-site-logo img {
  display: block;
  width: 218px;
  height: auto;
}
.mashriq-site-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.65vw, 28px);
}
.mashriq-site-nav > a:not(.mashriq-button) {
  position: relative;
  padding: 31px 0 27px;
  color: rgba(255, 255, 255, .78);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.mashriq-site-nav > a:not(.mashriq-button)::after {
  position: absolute;
  right: 100%;
  bottom: 22px;
  left: 0;
  height: 1px;
  background: var(--mashriq-orange);
  content: "";
  transition: right .2s ease;
}
.mashriq-site-nav > a:hover,
.mashriq-site-nav > a[aria-current="page"] { color: var(--mashriq-white); }
.mashriq-site-nav > a:hover::after,
.mashriq-site-nav > a[aria-current="page"]::after { right: 0; }
.mashriq-nav-cta { min-height: 46px; padding-inline: 21px; }
.mashriq-menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--mashriq-white);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mashriq-menu-toggle i,
.mashriq-menu-toggle i::before,
.mashriq-menu-toggle i::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.mashriq-menu-toggle i { position: relative; }
.mashriq-menu-toggle i::before { position: absolute; top: -7px; }
.mashriq-menu-toggle i::after { position: absolute; top: 7px; }
.mashriq-menu-toggle[aria-expanded="true"] i { background: transparent; }
.mashriq-menu-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.mashriq-menu-toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

/* Homepage */
.mashriq-home-hero {
  position: relative;
  display: flex;
  min-height: max(760px, 100svh);
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 9, 16, .9) 0%, rgba(2, 9, 16, .63) 37%, rgba(2, 9, 16, .08) 69%),
    linear-gradient(0deg, rgba(2, 9, 16, .72), rgba(2, 9, 16, 0) 45%),
    url("assets/images/mashriq-hero-aerial-v3.png") center / cover no-repeat;
  color: var(--mashriq-white);
}
.mashriq-home-hero::after {
  position: absolute;
  right: -14vw;
  bottom: -34vw;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(255,255,255,.08);
  clip-path: polygon(50% 0, 100% 100%, 76% 100%, 50% 42%, 24% 100%, 0 100%);
  background: rgba(255,255,255,.025);
  content: "";
}
.mashriq-hero-content {
  position: relative;
  z-index: 2;
  max-width: 670px;
  padding: 190px 0 132px;
}
.mashriq-hero-content .mashriq-kicker { color: rgba(255,255,255,.68); }
.mashriq-hero-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.18rem, 1.7vw, 1.48rem);
  line-height: 1.7;
}
.mashriq-hero-actions { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.mashriq-hero-actions .mashriq-text-link { color: var(--mashriq-white); }
.mashriq-home-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #02070c;
  color: var(--mashriq-white);
}
.mashriq-trust-item {
  position: relative;
  min-height: 142px;
  padding: 34px max(28px, calc((100vw - var(--mashriq-wrap)) / 6));
  border-right: 1px solid rgba(255,255,255,.13);
}
.mashriq-trust-item:last-child { border-right: 0; }
.mashriq-trust-item::after {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 34px;
  height: 34px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background: rgba(255,255,255,.055);
  content: "";
}
.mashriq-trust-item strong { display: block; margin-bottom: 8px; font-size: .98rem; }
.mashriq-trust-item span { color: #9eb1c0; font-size: .76rem; }
.mashriq-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--mashriq-line);
  border-left: 1px solid var(--mashriq-line);
}
.mashriq-service-card {
  position: relative;
  min-height: 270px;
  padding: 38px;
  overflow: hidden;
  border-right: 1px solid var(--mashriq-line);
  border-bottom: 1px solid var(--mashriq-line);
  background: var(--mashriq-white);
}
.mashriq-service-card::after {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(2,108,170,.12);
  transform: rotate(45deg);
  content: "";
}
.mashriq-card-index { display: block; margin-bottom: 52px; color: var(--mashriq-blue); font-size: .7rem; font-weight: 700; letter-spacing: .15em; }
.mashriq-service-card h3 { margin: 0 0 12px; color: var(--mashriq-deep-navy); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.2; }
.mashriq-service-card p { max-width: 520px; margin: 0; color: var(--mashriq-muted); }
.mashriq-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.mashriq-process-step { padding: 34px 34px 8px 0; }
.mashriq-process-step + .mashriq-process-step { padding-left: 34px; border-left: 1px solid rgba(255,255,255,.13); }
.mashriq-process-step strong { display: block; margin-bottom: 18px; color: var(--mashriq-orange); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.mashriq-process-step h3 { margin: 0 0 10px; font-size: 1.5rem; }
.mashriq-process-step p { margin: 0; color: #aebdca; }
.mashriq-coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .95fr);
  min-height: 620px;
}
.mashriq-coverage-copy { padding: 110px max(48px, calc((100vw - var(--mashriq-wrap)) / 2)); padding-right: 8vw; background: var(--mashriq-soft); }
.mashriq-coverage-copy p { margin: 28px 0 0; }
.mashriq-port-panel {
  position: relative;
  overflow: hidden;
  padding: 110px 8vw 90px;
  background:
    linear-gradient(rgba(6,24,39,.91), rgba(6,24,39,.91)),
    url("assets/images/mashriq-hero-aerial-v3.png") center / cover;
  color: var(--mashriq-white);
}
.mashriq-port-panel::before {
  position: absolute;
  inset: 0;
  clip-path: polygon(56% 0, 100% 0, 100% 100%, 15% 100%);
  background: rgba(2,108,170,.12);
  content: "";
}
.mashriq-port-panel > * { position: relative; z-index: 1; }
.mashriq-port-panel h3 { margin: 0 0 26px; font-size: 1.45rem; }
.mashriq-port-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.mashriq-port-list li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.15); color: #d9e4ec; }
.mashriq-port-list li::before { margin-right: 12px; color: var(--mashriq-orange); content: "—"; }
.mashriq-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .84fr);
  align-items: start;
  gap: 90px;
}
.mashriq-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--mashriq-line); }
.mashriq-principle { min-height: 190px; padding: 30px; background: var(--mashriq-white); }
.mashriq-principle strong { display: block; margin-bottom: 10px; color: var(--mashriq-deep-navy); }
.mashriq-principle p { margin: 0; color: var(--mashriq-muted); font-size: .92rem; }
.mashriq-final-cta { position: relative; overflow: hidden; padding: 92px 0; background: var(--mashriq-navy); color: var(--mashriq-white); }
.mashriq-final-cta::after {
  position: absolute;
  top: -210px;
  right: -80px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.09);
  transform: rotate(45deg);
  content: "";
}
.mashriq-cta-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.mashriq-final-cta h2 { max-width: 760px; margin: 0; font-size: clamp(2rem, 4vw, 4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
.mashriq-final-cta p { max-width: 650px; margin: 16px 0 0; color: #b8c8d7; }

/* Inner pages */
.mashriq-page-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 100px;
  background:
    linear-gradient(100deg, rgba(6,24,39,.98), rgba(11,46,79,.9)),
    url("assets/images/mashriq-hero-aerial-v3.png") center / cover;
  color: var(--mashriq-white);
}
.mashriq-page-hero::after {
  position: absolute;
  top: -260px;
  right: -130px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255,255,255,.1);
  transform: rotate(45deg);
  content: "";
}
.mashriq-page-hero .mashriq-wrap { position: relative; z-index: 1; }
.mashriq-page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.9rem, 6vw, 6.2rem); font-weight: 600; letter-spacing: -.06em; line-height: .98; }
.mashriq-page-hero p { max-width: 760px; margin: 28px 0 0; color: #c9d7e1; font-size: clamp(1.05rem, 1.55vw, 1.3rem); }
.mashriq-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .52fr); gap: 90px; }
.mashriq-copy h2 { margin: 0 0 24px; color: var(--mashriq-deep-navy); font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
.mashriq-copy h3 { margin: 35px 0 12px; color: var(--mashriq-deep-navy); font-size: 1.4rem; }
.mashriq-copy p { margin: 0 0 22px; color: var(--mashriq-muted); }
.mashriq-copy ul { margin: 0; padding-left: 20px; color: var(--mashriq-muted); }
.mashriq-copy li { margin-bottom: 10px; }
.mashriq-fact-panel { padding: 34px; background: var(--mashriq-deep-navy); color: var(--mashriq-white); }
.mashriq-fact-panel h3 { margin: 0 0 22px; font-size: 1.3rem; }
.mashriq-fact-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.mashriq-fact-list li { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); color: #c7d5df; }
.mashriq-fact-list strong { display: block; margin-bottom: 4px; color: var(--mashriq-white); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.mashriq-value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 44px; background: var(--mashriq-line); }
.mashriq-value-card { min-height: 210px; padding: 32px; background: var(--mashriq-white); }
.mashriq-value-card span { color: var(--mashriq-orange); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.mashriq-value-card h3 { margin: 28px 0 10px; }
.mashriq-service-detail-list { display: grid; gap: 1px; background: var(--mashriq-line); }
.mashriq-service-detail {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 32px;
  padding: 42px;
  background: var(--mashriq-white);
}
.mashriq-service-detail > span { color: var(--mashriq-orange); font-size: .74rem; font-weight: 700; letter-spacing: .14em; }
.mashriq-service-detail h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 2.5vw, 2.45rem); }
.mashriq-service-detail p { margin: 0; }
.mashriq-safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); }
.mashriq-safety-card { min-height: 255px; padding: 38px; background: rgba(255,255,255,.045); }
.mashriq-safety-card span { color: var(--mashriq-orange); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.mashriq-safety-card h2 { margin: 42px 0 13px; font-size: 1.55rem; }
.mashriq-safety-card p { margin: 0; color: #b8c8d7; }

/* Contact */
.mashriq-contact-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 70px; align-items: start; }
.mashriq-contact-card { padding: 38px; background: var(--mashriq-deep-navy); color: var(--mashriq-white); }
.mashriq-contact-card h2 { margin: 0 0 26px; font-size: 1.7rem; }
.mashriq-contact-details { display: grid; gap: 20px; margin: 0; }
.mashriq-contact-details div { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.mashriq-contact-details dt { color: #8fa7ba; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mashriq-contact-details dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.mashriq-contact-details a { color: var(--mashriq-white); text-decoration: none; }
.mashriq-form { padding: 44px; border: 1px solid var(--mashriq-line); background: var(--mashriq-white); }
.mashriq-form h2 { margin: 0 0 8px; color: var(--mashriq-deep-navy); font-size: 2rem; }
.mashriq-form-intro { margin: 0 0 30px; color: var(--mashriq-muted); }
.mashriq-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mashriq-field { display: grid; gap: 8px; }
.mashriq-field--full { grid-column: 1 / -1; }
.mashriq-field label { color: var(--mashriq-deep-navy); font-size: .76rem; font-weight: 700; }
.mashriq-field input,
.mashriq-field select,
.mashriq-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfd9e0;
  border-radius: 0;
  background: #fbfcfd;
  color: var(--mashriq-ink);
  padding: 13px 14px;
}
.mashriq-field textarea { min-height: 145px; resize: vertical; }
.mashriq-field input:focus,
.mashriq-field select:focus,
.mashriq-field textarea:focus { border-color: var(--mashriq-blue); outline: 2px solid rgba(2,108,170,.16); }
.mashriq-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--mashriq-muted); font-size: .82rem; }
.mashriq-consent input { flex: 0 0 auto; margin-top: 4px; }
.mashriq-honeypot { position: absolute !important; left: -10000px !important; }
.mashriq-notice { margin: 0 0 24px; padding: 16px 18px; border-left: 4px solid var(--mashriq-blue); background: #eaf5fb; color: var(--mashriq-deep-navy); }
.mashriq-notice--error { border-color: #a13f32; background: #fff0ee; }

/* Footer */
.mashriq-site-footer { padding: 72px 0 0; background: #020a11; color: #afc0cd; }
.mashriq-footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 80px; padding-bottom: 58px; }
.mashriq-footer-brand img { display: block; width: 205px; height: auto; margin-bottom: 24px; }
.mashriq-footer-brand p { max-width: 360px; margin: 0; }
.mashriq-footer-title { display: block; margin-bottom: 20px; color: var(--mashriq-white); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.mashriq-footer-links { display: grid; gap: 11px; }
.mashriq-footer-links a { color: #dbe4eb; text-decoration: none; }
.mashriq-footer-links a:hover { color: var(--mashriq-orange); }
.mashriq-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .72rem;
}
.mashriq-footer-bottom a { color: var(--mashriq-white); text-decoration: none; }

.mashriq-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.mashriq-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Arabic / RTL */
.mashriq-arabic {
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.9;
}
.mashriq-arabic .mashriq-kicker,
.mashriq-arabic .mashriq-site-nav > a:not(.mashriq-button),
.mashriq-arabic .mashriq-footer-title,
.mashriq-arabic .mashriq-card-index,
.mashriq-arabic .mashriq-process-step strong,
.mashriq-arabic .mashriq-service-detail > span,
.mashriq-arabic .mashriq-safety-card span,
.mashriq-arabic .mashriq-value-card span,
.mashriq-arabic .mashriq-contact-details dt,
.mashriq-arabic .mashriq-fact-list strong {
  letter-spacing: 0;
  text-transform: none;
}
.mashriq-arabic .mashriq-section-title,
.mashriq-arabic .mashriq-page-hero h1 {
  letter-spacing: -.025em;
  line-height: 1.28;
}
.mashriq-arabic .mashriq-final-cta h2 { letter-spacing: -.02em; line-height: 1.35; }
.mashriq-arabic .mashriq-hero-content { margin-left: auto; }
.mashriq-arabic .mashriq-home-hero {
  background:
    linear-gradient(270deg, rgba(2, 9, 16, .9) 0%, rgba(2, 9, 16, .63) 37%, rgba(2, 9, 16, .08) 69%),
    linear-gradient(0deg, rgba(2, 9, 16, .72), rgba(2, 9, 16, 0) 45%),
    url("assets/images/mashriq-hero-aerial-v3.png") center / cover no-repeat;
}
.mashriq-arabic .mashriq-text-link::after { content: "↖"; }
.mashriq-arabic .mashriq-process-step { padding: 34px 0 8px 34px; }
.mashriq-arabic .mashriq-process-step + .mashriq-process-step {
  padding-right: 34px;
  padding-left: 34px;
  border-right: 1px solid rgba(255,255,255,.13);
  border-left: 0;
}
.mashriq-arabic .mashriq-port-list li::before { margin-right: 0; margin-left: 12px; }
.mashriq-arabic .mashriq-notice { border-right: 4px solid var(--mashriq-blue); border-left: 0; }
.mashriq-arabic .mashriq-notice--error { border-right-color: #a13f32; }
.mashriq-arabic .mashriq-skip-link { right: 16px; left: auto; }
.mashriq-arabic [dir="ltr"] { unicode-bidi: isolate; }

@media (max-width: 1080px) {
  .mashriq-menu-toggle { display: flex; }
  .mashriq-site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    padding: 145px 32px 48px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    visibility: hidden;
    background: rgba(3, 14, 24, .99);
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .mashriq-menu-open .mashriq-site-nav { visibility: visible; opacity: 1; }
  .mashriq-site-nav > a:not(.mashriq-button) {
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: 1rem;
  }
  .mashriq-site-nav > a:not(.mashriq-button)::after { display: none; }
  .mashriq-nav-cta { margin-top: 28px; }
  .mashriq-section-head,
  .mashriq-split,
  .mashriq-content-grid { grid-template-columns: 1fr; gap: 38px; }
  .mashriq-footer-grid { grid-template-columns: 1.25fr .75fr 1fr; gap: 46px; }
}

@media (max-width: 782px) {
  body.admin-bar .mashriq-site-header { top: 46px; }
}

@media (max-width: 760px) {
  .mashriq-wrap { width: min(var(--mashriq-wrap), calc(100% - 30px)); }
  .mashriq-section { padding: 78px 0; }
  .mashriq-header-row { min-height: 84px; }
  .mashriq-site-logo img { width: 170px; }
  .mashriq-home-hero { min-height: 760px; background-position: 58% center; }
  .mashriq-hero-content { max-width: 95%; padding: 150px 0 82px; }
  .mashriq-hero-actions { align-items: flex-start; flex-direction: column; }
  .mashriq-home-trust { grid-template-columns: 1fr; }
  .mashriq-trust-item { min-height: auto; padding: 24px 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .mashriq-service-grid,
  .mashriq-process-grid,
  .mashriq-principles,
  .mashriq-value-grid,
  .mashriq-safety-grid,
  .mashriq-form-grid { grid-template-columns: 1fr; }
  .mashriq-process-step { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .mashriq-process-step + .mashriq-process-step { padding-left: 0; border-left: 0; }
  .mashriq-arabic .mashriq-process-step { padding: 28px 0; }
  .mashriq-arabic .mashriq-process-step + .mashriq-process-step { padding: 28px 0; border-right: 0; }
  .mashriq-coverage-layout,
  .mashriq-contact-layout { grid-template-columns: 1fr; }
  .mashriq-coverage-copy,
  .mashriq-port-panel { padding: 76px 22px; }
  .mashriq-port-panel { min-height: 560px; }
  .mashriq-cta-row { align-items: flex-start; flex-direction: column; }
  .mashriq-page-hero { padding: 95px 0 75px; }
  .mashriq-service-detail { grid-template-columns: 1fr; gap: 14px; padding: 30px; }
  .mashriq-form { padding: 28px 20px; }
  .mashriq-field--full { grid-column: auto; }
  .mashriq-footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .mashriq-footer-bottom { align-items: flex-start; flex-direction: column; }
}

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