@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cairo:wght@400;600;700;800&family=Noto+Kufi+Arabic:wght@400;700;800&family=Tajawal:wght@400;500;700;800&display=swap");

:root {
  --ink: #17201d;
  --muted: #5e6a65;
  --line: #d9ded8;
  --paper: #fbf8f3;
  --white: #ffffff;
  --green: #008c45;
  --green-dark: #006233;
  --italy-green: #009246;
  --morocco-red: #c1272d;
  --italy-red: #ce2b37;
  --gold: #c8a34a;
  --brick: #a6192e;
  --shadow: 0 22px 70px rgba(23, 32, 29, 0.14);
  --arabic-font: "Cairo", "Tajawal", "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  --arabic-display-font: "Noto Kufi Arabic", "Cairo", "Tajawal", "Amiri", sans-serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(0, 64, 36, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.12);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--italy-green) 0 33.33%, var(--white) 33.33% 66.66%, var(--morocco-red) 66.66% 100%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, rgba(0, 146, 70, 0.28), rgba(193, 39, 45, 0.22));
  color: #fff8e5;
  font-weight: 800;
}

.brand-logo {
  width: 126px;
  height: 46px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.32);
  background: #07060f;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.93rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.language-switcher button {
  min-width: 36px;
  height: 32px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 0;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.language-switcher button.is-active {
  background: var(--gold);
  color: #1f1b12;
}

.nav-language-note {
  flex-basis: 100%;
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: right;
}

.flag-icon {
  display: inline-block;
  width: 22px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  vertical-align: middle;
}

.flag-it {
  background: linear-gradient(90deg, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66% 100%);
}

.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66% 100%);
}

.flag-ma {
  position: relative;
  background: #c1272d;
}

.flag-ma::after {
  content: "★";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #006233;
  font-size: 9px;
  line-height: 1;
}

.flag-gb {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(27deg, transparent 44%, #fff 44% 50%, #c8102e 50% 55%, #fff 55% 61%, transparent 61%),
    linear-gradient(153deg, transparent 44%, #fff 44% 50%, #c8102e 50% 55%, #fff 55% 61%, transparent 61%),
    linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 38%, #fff 38% 62%, transparent 62%),
    linear-gradient(90deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 43%, #c8102e 43% 57%, transparent 57%),
    #012169;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 84px) 76px;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 98, 51, 0.93) 0%, rgba(0, 98, 51, 0.68) 48%, rgba(193, 39, 45, 0.2) 100%),
    url("assets/italia-marocco-flags.png") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 820px;
  animation: heroIn 640ms ease both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 7vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.17rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--morocco-red), var(--italy-red));
  color: var(--white);
}

.button.primary:hover {
  background: linear-gradient(135deg, #d63238, #df3c47);
}

.button.secondary {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip article {
  min-height: 132px;
  padding: 30px clamp(20px, 3vw, 44px);
  border-right: 1px solid var(--line);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 1.08rem;
}

.trust-strip span {
  color: var(--muted);
}

.accreditation-band {
  padding: 86px clamp(20px, 5vw, 84px);
  background: #fbfaf7;
  border-bottom: 1px solid var(--line);
}

.accreditation-band .section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.logo-card {
  position: relative;
  min-height: 238px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(23, 32, 29, 0.08);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.logo-card:hover,
.logo-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(183, 139, 53, 0.68);
  box-shadow: 0 26px 66px rgba(23, 32, 29, 0.16);
}

.logo-card-front {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 184px;
  transition: opacity 180ms ease, transform 220ms ease;
}

.logo-card:hover .logo-card-front,
.logo-card:focus-within .logo-card-front {
  opacity: 0.12;
  transform: translateY(-10px);
}

.logo-card.professional {
  border-top: 4px solid var(--italy-green);
}

.logo-card.institutional {
  border-top: 4px solid var(--morocco-red);
}

.logo-mark {
  display: inline-grid;
  width: 76px;
  height: 56px;
  place-items: center;
  border: 1px solid #d8c38c;
  background: #fff8e5;
  color: var(--green-dark);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.logo-mark.crest,
.logo-mark.flag {
  border-color: #c7d2ca;
  background: #eef4ef;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.logo-card h3 {
  color: var(--green-dark);
}

.logo-card p {
  margin: 0;
  color: var(--muted);
}

.logo-reveal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 220ms ease, transform 220ms ease;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82) 48%, rgba(247, 244, 237, 0.92)),
    linear-gradient(135deg, rgba(255, 248, 229, 0.72), rgba(241, 246, 242, 0.92));
}

.logo-card:hover .logo-reveal,
.logo-card:focus-within .logo-reveal {
  opacity: 1;
  transform: scale(1);
}

.logo-reveal img {
  display: block;
  max-width: min(205px, 78%);
  max-height: 174px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(23, 32, 29, 0.16));
}

.wide-logo img {
  max-width: min(280px, 88%);
  max-height: 154px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.88);
}

.square-logo img {
  max-width: min(198px, 78%);
  max-height: 184px;
  border-radius: 2px;
}

.compact-logo img {
  width: min(180px, 78%);
  min-height: 92px;
  padding: 22px;
  background: #101914;
}

.placeholder-logo {
  align-content: center;
  gap: 12px;
  text-align: center;
  color: var(--green-dark);
  background:
    radial-gradient(circle at 50% 42%, rgba(183, 139, 53, 0.13), transparent 42%),
    linear-gradient(135deg, rgba(255, 248, 229, 0.92), rgba(241, 246, 242, 0.94));
}

.placeholder-logo strong {
  display: inline-grid;
  min-width: 116px;
  min-height: 82px;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(183, 139, 53, 0.5);
  background: rgba(255, 255, 255, 0.78);
  color: var(--brick);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.placeholder-logo span {
  max-width: 230px;
  color: var(--green-dark);
  font-weight: 800;
}

.placeholder-logo.justice strong,
.placeholder-logo.italy strong {
  font-size: 2.4rem;
  letter-spacing: 0;
}

.institutional-note {
  max-width: 920px;
  margin: 22px 0 0;
  color: #748079;
  font-size: 0.92rem;
}

.section {
  padding: 94px clamp(20px, 5vw, 84px);
}

.section-heading {
  margin-bottom: 34px;
}

.intro {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 282px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(193, 39, 45, 0.28);
  box-shadow: 0 22px 58px rgba(23, 32, 29, 0.12);
}

.service-card span {
  display: block;
  margin-bottom: 36px;
  color: var(--morocco-red);
  font-weight: 900;
}

.service-card p,
.profile-copy p,
.process-band p,
.cta p {
  color: var(--muted);
}

.profile-band {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 4vw, 56px);
  padding: 98px clamp(20px, 5vw, 84px);
  background:
    linear-gradient(135deg, rgba(0, 98, 51, 0.94), rgba(129, 23, 36, 0.88)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=82") center / cover;
  color: var(--white);
}

.profile-copy {
  max-width: 790px;
}

.profile-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.profile-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.profile-list li {
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.86);
}

.profile-panel {
  align-self: start;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.profile-panel h3 {
  margin-bottom: 24px;
  color: var(--green-dark);
}

dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 750;
}

.documents {
  background: var(--white);
}

.value-services {
  background:
    linear-gradient(135deg, rgba(0, 146, 70, 0.08), rgba(193, 39, 45, 0.07)),
    var(--paper);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(23, 32, 29, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.value-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 62px rgba(23, 32, 29, 0.12);
}

.value-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  background: linear-gradient(135deg, var(--italy-green), var(--morocco-red));
  color: var(--white);
  font-weight: 900;
}

.value-grid h3 {
  color: var(--green-dark);
}

.value-grid p {
  color: var(--muted);
}

.document-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.document-list span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: #fbfaf7;
  color: var(--green-dark);
  font-weight: 800;
}

.process-band {
  padding: 94px clamp(20px, 5vw, 84px);
  background: #edf1ed;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  padding: 26px 0 0;
  border-top: 2px solid var(--green);
}

.steps strong {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--morocco-red));
  color: var(--white);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 76px clamp(20px, 5vw, 84px);
  background: linear-gradient(90deg, rgba(0, 98, 51, 0.97), rgba(0, 98, 51, 0.86) 52%, rgba(193, 39, 45, 0.92));
  color: var(--white);
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 84px);
  background: #121b18;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.quote-page {
  background: var(--paper);
}

.blog-page {
  background: var(--paper);
}

.blog-hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 84px) 70px;
  background:
    linear-gradient(90deg, rgba(0, 98, 51, 0.94), rgba(0, 98, 51, 0.58), rgba(193, 39, 45, 0.36)),
    url("assets/italia-marocco-flags.png") center / cover;
  color: var(--white);
}

.blog-hero h1 {
  max-width: 950px;
  font-size: clamp(2.35rem, 5vw, 5.5rem);
}

.blog-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.blog-layout {
  padding: 54px clamp(20px, 5vw, 84px) 92px;
}

.blog-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 26px;
}

.blog-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

.blog-toolbar input {
  min-height: 48px;
  border: 1px solid #c8d0ca;
  background: var(--white);
  padding: 12px 14px;
  font: inherit;
}

.blog-toolbar p {
  margin: 0;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  display: grid;
  gap: 16px;
  min-height: 360px;
  padding: 0 0 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(23, 32, 29, 0.08);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 62px rgba(23, 32, 29, 0.13);
}

.post-image {
  height: 164px;
  background: #edf1ed;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card > :not(.post-image) {
  margin-left: 28px;
  margin-right: 28px;
}

.post-card time,
.post-category {
  color: var(--morocco-red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.post-card h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.14;
}

.post-card p {
  color: var(--muted);
}

.post-summary {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
}

.post-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.post-share a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.quote-hero {
  min-height: 460px;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 84px) 62px;
  background:
    linear-gradient(90deg, rgba(0, 98, 51, 0.92), rgba(193, 39, 45, 0.46)),
    url("assets/italia-marocco-flags.png") center / cover;
  color: var(--white);
}

.quote-hero h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
}

.quote-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  padding: 54px clamp(20px, 5vw, 84px) 90px;
}

.quote-form,
.quote-sidebar {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form {
  padding: clamp(22px, 4vw, 38px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quote-form label,
.full-field,
.file-drop {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8d0ca;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

.quote-form textarea {
  resize: vertical;
}

.full-field,
.file-drop,
.consent-line,
.form-actions {
  margin-top: 20px;
}

.file-drop {
  padding: 20px;
  border: 1px dashed var(--green);
  background: #f2f5f1;
}

.file-drop small {
  color: var(--muted);
  font-weight: 500;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--brick);
  font-weight: 750;
}

.quote-sidebar {
  align-self: start;
  padding: 30px;
}

.quote-sidebar h2 {
  font-size: 1.8rem;
}

.quote-sidebar ul {
  display: grid;
  gap: 14px;
  padding-left: 18px;
  color: var(--muted);
}

.direct-box {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.service-highlights {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(0, 98, 51, 0.18);
  background: linear-gradient(135deg, rgba(0, 146, 70, 0.08), rgba(193, 39, 45, 0.06));
}

.service-highlights strong {
  color: var(--green-dark);
}

.service-highlights span {
  padding-left: 14px;
  border-left: 3px solid var(--morocco-red);
  color: var(--muted);
  font-weight: 700;
}

.direct-box strong {
  color: var(--green-dark);
}

.direct-box a {
  color: var(--brick);
  font-weight: 800;
  text-decoration: none;
}

[dir="rtl"] .site-nav,
[dir="rtl"] .hero-actions,
[dir="rtl"] .contact-actions,
[dir="rtl"] .form-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] button {
  font-family: var(--arabic-font);
  color: var(--ink);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  font-family: var(--arabic-display-font);
  font-weight: 700;
  line-height: 1.45;
  color: inherit;
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .profile-copy p,
[dir="rtl"] .process-band p,
[dir="rtl"] .cta p,
[dir="rtl"] .quote-hero p:not(.eyebrow) {
  font-size: 1.18rem;
  line-height: 1.9;
}

[dir="rtl"] .eyebrow {
  letter-spacing: 0;
  font-family: var(--arabic-display-font);
  font-weight: 700;
  color: var(--gold);
}

[dir="rtl"] .logo-card h3,
[dir="rtl"] .document-list span,
[dir="rtl"] .profile-panel h3,
[dir="rtl"] .quote-sidebar h2 {
  font-family: var(--arabic-display-font);
  color: var(--green-dark);
}

[dir="rtl"] .service-card span {
  color: var(--green);
}

[dir="rtl"] .brand strong,
[dir="rtl"] .trust-strip strong,
[dir="rtl"] .button,
[dir="rtl"] .document-list span {
  font-family: var(--arabic-display-font);
  font-weight: 700;
}

[dir="rtl"] .profile-list li {
  padding-right: 20px;
  padding-left: 0;
  border-right: 3px solid var(--gold);
  border-left: 0;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: rgba(18, 30, 27, 0.98);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .trust-strip,
  .logo-grid,
  .blog-grid,
  .value-grid,
  .services-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-band,
  .cta,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .blog-toolbar {
    grid-template-columns: 1fr;
  }

  .language-switcher {
    margin-top: 6px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .site-nav {
    top: 68px;
  }

  .nav-language-note {
    text-align: left;
    line-height: 1.45;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    max-width: 168px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    flex: 0 0 auto;
  }

  .hero,
  .blog-hero,
  .quote-hero {
    min-height: 78vh;
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(2.15rem, 14vw, 3.85rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }

  .hero-proof span {
    min-height: 34px;
    font-size: 0.82rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .contact-actions,
  .form-actions {
    width: 100%;
  }

  .section,
  .accreditation-band,
  .process-band,
  .blog-layout,
  .quote-layout {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 94px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .trust-strip,
  .logo-grid,
  .blog-grid,
  .value-grid,
  .services-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card {
    min-height: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .quote-hero {
    min-height: 420px;
    padding-top: 120px;
  }

  .site-footer {
    flex-direction: column;
  }
}
