:root {
  --ink: #183414;
  --ink-2: #23451d;
  --cream: #f8f8f1;
  --cream-2: #eeeee4;
  --lime: #d9fb93;
  --yellow: #f5c542;
  --yellow-2: #ffd65a;
  --sage: #9daa8f;
  --sage-2: #78866c;
  --sand: #c9b89a;
  --white: #ffffff;
  --line: rgba(24, 52, 20, 0.14);
  --glass: rgba(255, 255, 255, 0.56);
  --glass-dark: rgba(34, 55, 29, 0.46);
  --shadow: 0 28px 80px rgba(24, 52, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--ink);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  background: var(--cream);
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  overflow: hidden;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, var(--lime), #fff3ad, var(--yellow));
  color: var(--ink);
  min-height: 50px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 850;
  padding: 10px 20px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(248, 248, 241, 0.74);
  backdrop-filter: blur(18px);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-pill {
  min-height: 58px;
  width: min(820px, calc(100vw - 420px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(112, 124, 101, 0.45);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(24, 52, 20, 0.08);
  backdrop-filter: blur(18px);
  transform-origin: center;
  transition: width 480ms ease, padding 480ms ease, box-shadow 480ms ease, background 480ms ease, border-color 480ms ease;
}

.nav-pill:hover,
.nav-pill:focus-within {
  width: min(1180px, calc(100vw - 96px));
  padding-inline: 34px;
  background: linear-gradient(90deg, rgba(24, 52, 20, 0.72), rgba(112, 124, 101, 0.46), rgba(245, 197, 66, 0.18));
  border-color: rgba(245, 197, 66, 0.4);
  box-shadow: 0 22px 70px rgba(24, 52, 20, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  font-size: 1.42rem;
  font-weight: 760;
  letter-spacing: -0.04em;
  text-shadow: 0 8px 24px rgba(245, 197, 66, 0.22);
}

.brand-dot {
  display: none;
}

.brand-word {
  color: var(--yellow);
  font-weight: 800;
  text-shadow: 0 10px 26px rgba(245, 197, 66, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 760;
}

.nav-links a {
  opacity: 0.92;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 7px;
}

.nav-links a.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-links a.lang-switch:hover,
.nav-links a.lang-switch:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.nav-actions {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 760;
}

.nav-actions .btn {
  min-height: 54px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 126px);
  display: grid;
  align-items: center;
  padding: 76px 0 104px;
  isolation: isolate;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(24, 52, 20, 0.46);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 820;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.38);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
}

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

.hero h1 {
  margin: 26px 0 22px;
  max-width: 660px;
  font-size: clamp(3.8rem, 6.6vw, 7.5rem);
  line-height: 0.95;
  font-weight: 760;
  letter-spacing: -0.055em;
}

.word-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  animation: wordReveal 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.word-reveal span:nth-child(1) {
  animation-delay: 90ms;
}

.word-reveal span:nth-child(2) {
  animation-delay: 230ms;
}

.word-reveal span:nth-child(3) {
  animation-delay: 370ms;
}

.word-reveal span:nth-child(4) {
  animation-delay: 510ms;
}

.word-reveal span:nth-child(5) {
  animation-delay: 650ms;
}

.word-reveal span:nth-child(6) {
  animation-delay: 790ms;
}

.word-reveal span:nth-child(7) {
  animation-delay: 930ms;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.highlight {
  color: var(--ink);
  background: linear-gradient(180deg, transparent 58%, rgba(245, 197, 66, 0.58) 58%);
  padding: 0 0.04em;
}

.lead {
  max-width: 560px;
  color: rgba(24, 52, 20, 0.84);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.42;
  font-weight: 650;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 0.98rem;
  font-weight: 820;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(245, 197, 66, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--yellow-2), var(--lime));
  box-shadow: 0 0 0 7px rgba(245, 197, 66, 0.18), 0 20px 46px rgba(24, 52, 20, 0.16);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(24, 52, 20, 0.08);
}

.btn-link {
  min-height: 42px;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-photo {
  position: absolute;
  inset: 72px 0 36px 60px;
  overflow: hidden;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 248, 241, 0.2), rgba(24, 52, 20, 0.22));
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: var(--glass);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(440px, 72%);
  border-radius: 32px;
  padding: 24px;
}

.hero-card .mini-label,
.glass-panel .mini-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card .mini-label::before,
.glass-panel .mini-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
}

.hero-card strong {
  display: block;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 760;
}

.hero-card strong,
.metric strong {
  text-shadow: 0 10px 26px rgba(245, 197, 66, 0.16);
}

.hero-card p {
  margin: 12px 0 0;
  color: rgba(24, 52, 20, 0.74);
  font-weight: 650;
}

.floating-card {
  position: absolute;
  right: 12px;
  top: 18px;
  width: 330px;
  border-radius: 34px;
  padding: 14px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
}

.floating-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 24px;
}

.floating-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.floating-card p {
  margin: 0;
  color: rgba(24, 52, 20, 0.7);
  font-size: 0.88rem;
  line-height: 1.35;
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--cream-2);
}

.section.dark {
  background: var(--ink);
  color: var(--cream);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.kicker {
  display: block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(24, 52, 20, 0.64);
}

.dark .kicker {
  color: rgba(248, 248, 241, 0.62);
}

.section h2,
.page-hero h1 {
  margin-bottom: 0;
  max-width: 820px;
  font-size: clamp(2.8rem, 5.2vw, 5.9rem);
  line-height: 0.96;
  font-weight: 760;
  letter-spacing: -0.055em;
}

.section-header p {
  margin-bottom: 0;
  color: rgba(24, 52, 20, 0.68);
  font-size: 1.04rem;
  line-height: 1.5;
  font-weight: 650;
}

.dark .section-header p {
  color: rgba(248, 248, 241, 0.68);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.panel,
.product-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 34px rgba(24, 52, 20, 0.06);
  overflow: hidden;
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
  transform-origin: center;
}

.service-card:hover,
.panel:hover,
.product-card:hover,
.contact-card:hover,
.timeline-step:hover,
.office-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(245, 197, 66, 0.5);
  box-shadow: 0 26px 70px rgba(24, 52, 20, 0.12);
}

.service-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 520ms ease;
  transform-origin: center;
}

.service-card:hover img,
.product-card:hover img,
.hero-photo:hover img {
  transform: scale(1.045);
}

.service-body {
  padding: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(245, 197, 66, 0.58);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(245, 197, 66, 0.22);
  font-size: 0.78rem;
  font-weight: 860;
}

.service-card h3,
.panel h3,
.product-card h3,
.contact-card h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 760;
}

.service-card p,
.panel p,
.product-card p,
.contact-card p {
  margin-bottom: 0;
  color: rgba(24, 52, 20, 0.68);
  line-height: 1.5;
  font-weight: 620;
}

.glass-stage {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: 42px;
  background: #dbe3d0;
}

.glass-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.glass-panel {
  position: relative;
  z-index: 1;
  margin: 54px;
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
  column-gap: clamp(32px, 6vw, 96px);
  align-content: center;
  border-radius: 42px;
  padding: clamp(28px, 5vw, 64px);
  color: var(--white);
  background: var(--glass-dark);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 30px 90px rgba(24, 52, 20, 0.18);
  backdrop-filter: blur(18px);
}

.glass-panel h2 {
  max-width: 600px;
  color: var(--white);
  font-size: clamp(2.4rem, 4.2vw, 4.7rem);
}

.glass-panel p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 650;
  line-height: 1.5;
}

.callout-grid {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  width: 100%;
  display: grid;
  gap: 14px;
}

.callout {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.callout:first-child {
  border-color: rgba(245, 197, 66, 0.46);
  background: rgba(245, 197, 66, 0.16);
}

.callout span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.callout strong {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

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

.metric {
  border-radius: 30px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.metric:nth-child(even) {
  background: rgba(245, 197, 66, 0.24);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  font-weight: 760;
}

.metric span {
  color: rgba(24, 52, 20, 0.66);
  font-weight: 760;
}

.product-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.product-card {
  min-height: 520px;
  position: relative;
  padding: 36px;
  background: rgba(255, 255, 255, 0.64);
}

.product-card.featured {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 22px;
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
}

.route-stack {
  display: grid;
  gap: 14px;
}

.route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.46);
  color: rgba(24, 52, 20, 0.72);
  font-weight: 760;
}

.route strong {
  color: var(--ink);
}

.morocco-map {
  position: relative;
  min-height: 620px;
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 197, 66, 0.42), transparent 26%),
    radial-gradient(circle at 74% 16%, rgba(217, 251, 147, 0.5), transparent 28%),
    linear-gradient(135deg, #eef0df, #cdd7bf);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.morocco-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 52, 20, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 52, 20, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
}

.map-card {
  position: absolute;
  border-radius: 30px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 60px rgba(24, 52, 20, 0.12);
}

.map-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.map-card p {
  margin: 0;
  color: rgba(24, 52, 20, 0.68);
  font-weight: 650;
  line-height: 1.45;
}

.map-card.main {
  left: 42px;
  top: 42px;
  width: min(420px, calc(100% - 84px));
}

.map-card.casablanca {
  left: 22%;
  bottom: 90px;
  width: 280px;
}

.map-card.tanger {
  right: 10%;
  top: 92px;
  width: 300px;
}

.map-card.dakhla {
  right: 8%;
  bottom: 58px;
  width: 310px;
}

.partner-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 22px;
  align-items: stretch;
}

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

.partner-logo {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-weight: 820;
  letter-spacing: -0.04em;
  text-align: center;
  padding: 14px;
}

.partner-logo img {
  max-width: 150px;
  max-height: 58px;
  object-fit: contain;
  filter: saturate(0.92);
}

.partner-logo span {
  display: block;
}

.partner-logo.yellow {
  background: rgba(245, 197, 66, 0.32);
  border-color: rgba(245, 197, 66, 0.62);
}

.customer-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.customer-story {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 38px;
  padding: 34px 26px 26px;
  isolation: isolate;
  border: 1px solid rgba(245, 197, 66, 0.2);
  background:
    linear-gradient(135deg, rgba(24, 52, 20, 0.94), rgba(52, 82, 45, 0.88)),
    var(--story-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 60px rgba(24, 52, 20, 0.1);
  transform-origin: center;
  transition: min-height 560ms ease, transform 480ms ease, box-shadow 480ms ease, border-color 480ms ease, background-position 480ms ease, padding 560ms ease;
}

.customer-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 18%, rgba(245, 197, 66, 0.34), transparent 24%),
    linear-gradient(180deg, rgba(24, 52, 20, 0.2), rgba(24, 52, 20, 0.84));
  opacity: 0.72;
  transition: opacity 420ms ease;
}

.customer-story-grid.stories-visible .customer-story {
  min-height: 650px;
  padding: 34px 32px 30px;
  border-color: rgba(245, 197, 66, 0.58);
  box-shadow: 0 34px 90px rgba(24, 52, 20, 0.2);
  background-position: center 42%;
}

.customer-story-grid.stories-visible .customer-story:hover {
  transform: scale(1.012);
}

.customer-story-grid.stories-visible .customer-story::before {
  opacity: 0.94;
}

.customer-logo {
  width: min(260px, 82%);
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  padding: 18px;
  background: rgba(248, 248, 241, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 52px rgba(24, 52, 20, 0.18);
  transition: transform 420ms ease, background 420ms ease;
}

.customer-logo img {
  max-width: 178px;
  max-height: 64px;
  object-fit: contain;
}

.customer-logo.text-logo {
  color: var(--green);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 880;
  letter-spacing: -0.05em;
}

.story-content {
  max-width: none;
  margin-top: 24px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  visibility: hidden;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 640ms ease, transform 640ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0ms linear 640ms;
}

.customer-story-grid.stories-visible .story-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 120ms, 120ms, 0ms;
}

.customer-story-grid.stories-visible .customer-logo {
  transform: translateY(-4px);
  background: rgba(248, 248, 241, 0.92);
}

.story-content h3 {
  max-width: 100%;
  margin: 18px 0 14px;
  color: var(--cream);
  font-size: clamp(1.85rem, 2.45vw, 3.45rem);
  line-height: 1;
  letter-spacing: -0.055em;
  opacity: 0;
  transform: translateX(-34px);
  transition: opacity 560ms ease 70ms, transform 560ms cubic-bezier(0.22, 1, 0.36, 1) 70ms;
}

.story-content p {
  max-width: 100%;
  margin: 0;
  color: rgba(248, 248, 241, 0.78);
  font-weight: 720;
  line-height: 1.48;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  opacity: 0;
  transform: translateX(-26px);
  transition: opacity 560ms ease 150ms, transform 560ms cubic-bezier(0.22, 1, 0.36, 1) 150ms;
}

.customer-story-grid.stories-visible .story-content h3,
.customer-story-grid.stories-visible .story-content p {
  opacity: 1;
  transform: translateX(0);
}

.story-rail {
  --story-image: url("https://images.unsplash.com/photo-1474487548417-781cb71495f3?q=80&w=1600&auto=format&fit=crop");
}

.story-retail {
  --story-image: url("https://images.unsplash.com/photo-1601598851547-4302969d0614?q=80&w=1600&auto=format&fit=crop");
}

.story-port {
  --story-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/4/40/Tanger_Med_port.jpg/1280px-Tanger_Med_port.jpg");
}

.story-industry {
  --story-image: url("https://images.unsplash.com/photo-1513828583688-c52646db42da?q=80&w=1600&auto=format&fit=crop");
}

.story-btp {
  --story-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1600&auto=format&fit=crop");
}

.story-energy {
  --story-image: url("https://images.unsplash.com/photo-1532601224476-15c79f2f7a51?q=80&w=1600&auto=format&fit=crop");
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.sector-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  padding: 14px 16px;
  text-align: center;
  color: rgba(24, 52, 20, 0.78);
  font-weight: 760;
}

.world-map-card {
  position: relative;
  min-height: 640px;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 28%, rgba(245, 197, 66, 0.32), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(217, 251, 147, 0.22));
  box-shadow: var(--shadow);
  transform-origin: center;
  transition: transform 480ms ease, box-shadow 480ms ease, border-color 480ms ease;
}

.world-map-card:hover {
  transform: scale(1.018);
  border-color: rgba(245, 197, 66, 0.62);
  box-shadow: 0 34px 100px rgba(24, 52, 20, 0.18), 0 0 0 1px rgba(245, 197, 66, 0.22);
}

.world-map-card.is-empty::after {
  content: "Les corridors strategiques sont concus par mission, pas dessines comme des points au hasard.";
  position: absolute;
  right: 28px;
  top: 28px;
  max-width: 330px;
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(245, 197, 66, 0.34);
  color: rgba(24, 52, 20, 0.74);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 760;
  backdrop-filter: blur(16px);
  z-index: 2;
}

html[lang="en"] .world-map-card.is-empty::after {
  content: "Strategic corridors are designed per mission, not drawn as random dots.";
}

.world-map-card img {
  position: absolute;
  inset: 6% 4%;
  width: 92%;
  height: 88%;
  object-fit: contain;
  opacity: 0.45;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 248, 241, 0.22), rgba(248, 248, 241, 0.76)),
    radial-gradient(circle at 47% 46%, rgba(245, 197, 66, 0.34), transparent 18%);
  pointer-events: none;
}

.world-pin {
  position: absolute;
  appearance: none;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--yellow);
  box-shadow: 0 0 0 8px rgba(245, 197, 66, 0.22), 0 12px 30px rgba(24, 52, 20, 0.28);
  cursor: pointer;
  transform-origin: center;
  transition: transform 360ms ease, box-shadow 360ms ease, background 360ms ease;
  animation: mapPulse 2.8s ease-in-out infinite;
  z-index: 3;
}

.world-pin:hover,
.world-pin:focus-visible {
  transform: translate(-1px, -1px) scale(1.28);
  background: var(--lime);
  box-shadow: 0 0 0 12px rgba(245, 197, 66, 0.24), 0 18px 44px rgba(24, 52, 20, 0.32);
  outline: none;
  z-index: 8;
}

.pin-tooltip {
  position: absolute;
  left: 24px;
  top: -20px;
  width: 260px;
  border-radius: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(245, 197, 66, 0.42);
  color: var(--ink);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 54px rgba(24, 52, 20, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transform-origin: left center;
  transition: opacity 280ms ease, transform 280ms ease;
}

.world-pin:hover .pin-tooltip,
.world-pin:focus-visible .pin-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pin-tooltip em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), var(--lime));
  color: var(--ink);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
}

.pin-tooltip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.pin-tooltip span {
  display: block;
  color: rgba(24, 52, 20, 0.7);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 650;
}

.pin-tooltip b {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 0.78rem;
}

@keyframes mapPulse {
  0%,
  100% {
    box-shadow: 0 0 0 7px rgba(245, 197, 66, 0.2), 0 12px 30px rgba(24, 52, 20, 0.28);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(245, 197, 66, 0.08), 0 12px 30px rgba(24, 52, 20, 0.28);
  }
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .section {
    animation: fadeUp 720ms ease both;
  }
}

.pin-morocco {
  left: 46.6%;
  top: 42.8%;
}

.pin-spain {
  left: 48.1%;
  top: 39.5%;
}

.pin-france {
  left: 49.6%;
  top: 36.7%;
}

.pin-uk {
  left: 48.2%;
  top: 33.6%;
}

.pin-benelux {
  left: 50.3%;
  top: 35.2%;
}

.pin-germany {
  left: 51.4%;
  top: 35.8%;
}

.pin-italy {
  left: 51.3%;
  top: 40.1%;
}

.pin-westafrica {
  left: 45.6%;
  top: 52.2%;
}

.pin-gulf {
  left: 60.8%;
  top: 45.5%;
}

.map-info {
  position: absolute;
  left: 34px;
  bottom: 34px;
  width: min(430px, calc(100% - 68px));
  border-radius: 30px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.map-info h3 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.map-info p {
  margin: 0;
  color: rgba(24, 52, 20, 0.68);
  line-height: 1.45;
  font-weight: 650;
}

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

.timeline-step {
  position: relative;
  min-height: 230px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 24px;
}

.timeline-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
}

.timeline-step h3 {
  margin: 0 0 10px;
}

.timeline-step p {
  color: rgba(24, 52, 20, 0.66);
  font-weight: 650;
}

.marketing-band {
  position: relative;
  border-radius: 42px;
  padding: clamp(28px, 5vw, 68px);
  background:
    linear-gradient(135deg, rgba(24, 52, 20, 0.92), rgba(35, 69, 29, 0.82)),
    radial-gradient(circle at 82% 18%, rgba(245, 197, 66, 0.36), transparent 28%);
  color: var(--cream);
  overflow: hidden;
}

.marketing-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(24, 52, 20, 0.94), rgba(24, 52, 20, 0.7), rgba(24, 52, 20, 0.88)),
    var(--band-image, url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=2200&auto=format&fit=crop"));
  background-size: cover;
  background-position: center;
  opacity: 0.88;
  transform: scale(1.02);
}

.band-road {
  --band-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=2200&auto=format&fit=crop");
}

.band-port {
  --band-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/4/40/Tanger_Med_port.jpg/1280px-Tanger_Med_port.jpg");
}

.band-warehouse {
  --band-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=2200&auto=format&fit=crop");
}

.band-office {
  --band-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=2200&auto=format&fit=crop");
}

.marketing-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 197, 66, 0.24), transparent 26%),
    linear-gradient(180deg, transparent, rgba(24, 52, 20, 0.22));
  pointer-events: none;
}

.marketing-band > * {
  position: relative;
  z-index: 1;
}

.marketing-band h2 {
  color: var(--cream);
}

.marketing-band p {
  color: rgba(248, 248, 241, 0.72);
}

.marketing-band .timeline-step {
  background: rgba(236, 242, 226, 0.58);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
}

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

.office-card {
  border-radius: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.office-card h3 {
  margin: 0 0 10px;
}

.office-card p {
  margin: 0;
  color: rgba(24, 52, 20, 0.66);
  font-weight: 650;
}

.coverage-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: stretch;
}

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

.city-card {
  border-radius: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  transition: transform 360ms ease, box-shadow 360ms ease, border-color 360ms ease;
}

.city-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 197, 66, 0.54);
  box-shadow: 0 20px 50px rgba(24, 52, 20, 0.1);
}

.city-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.city-card p {
  margin: 0;
  color: rgba(24, 52, 20, 0.66);
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 650;
}

.route-highlight-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.route-highlight {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(245, 197, 66, 0.22);
  background:
    linear-gradient(180deg, rgba(24, 52, 20, 0.06), rgba(24, 52, 20, 0.82)),
    var(--route-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 54px rgba(24, 52, 20, 0.1);
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
}

.route-highlight:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(245, 197, 66, 0.62);
  box-shadow: 0 28px 74px rgba(24, 52, 20, 0.18);
}

.route-highlight span {
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--yellow);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.route-highlight h3 {
  margin: 0 0 8px;
  color: var(--cream);
  font-size: 1.08rem;
}

.route-highlight p {
  margin: 0;
  color: rgba(248, 248, 241, 0.76);
  font-size: 0.88rem;
  line-height: 1.42;
  font-weight: 650;
}

.route-casa {
  --route-image: url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?q=80&w=1000&auto=format&fit=crop");
}

.route-port {
  --route-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/4/40/Tanger_Med_port.jpg/1280px-Tanger_Med_port.jpg");
}

.route-warehouse {
  --route-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=1000&auto=format&fit=crop");
}

.route-dashboard {
  --route-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=1000&auto=format&fit=crop");
}

.route-road {
  --route-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1000&auto=format&fit=crop");
}

.route-table-wrap {
  overflow-x: auto;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 42px rgba(24, 52, 20, 0.06);
}

.route-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.route-table th,
.route-table td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(24, 52, 20, 0.1);
  line-height: 1.45;
}

.route-table th {
  background: rgba(24, 52, 20, 0.94);
  color: var(--cream);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.route-table tr:nth-child(even) td {
  background: rgba(245, 197, 66, 0.08);
}

.route-table td {
  color: rgba(24, 52, 20, 0.74);
  font-weight: 650;
}

.route-table td strong {
  color: var(--ink);
}

.visual-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.visual-tile {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.visual-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 580ms ease;
}

.visual-tile:hover img {
  transform: scale(1.045);
}

.visual-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
}

.visual-caption h3 {
  margin: 0 0 6px;
}

.visual-caption p {
  margin: 0;
  color: rgba(24, 52, 20, 0.68);
  font-weight: 650;
}

.page-hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: end;
  padding: 88px 0 64px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(248, 248, 241, 0.96), rgba(248, 248, 241, 0.64), rgba(248, 248, 241, 0.96));
}

.page-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: -2;
}

.page-hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(24, 52, 20, 0.7);
  font-size: 1.12rem;
  line-height: 1.5;
  font-weight: 650;
}

.panel {
  padding: 30px;
}

.dark .panel,
.dark-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--cream);
}

.dark .panel h3,
.dark-panel h3 {
  color: var(--cream);
}

.dark .panel p,
.dark-panel p {
  color: rgba(248, 248, 241, 0.68);
}

.feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: rgba(24, 52, 20, 0.72);
  font-weight: 700;
}

.feature-list li {
  display: flex;
  gap: 10px;
}

.feature-list a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(24, 52, 20, 0.28);
  text-underline-offset: 4px;
}

.feature-list a:hover,
.feature-list a:focus-visible {
  text-decoration-color: currentColor;
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--ink);
}

.dark .feature-list,
.dark-panel .feature-list {
  color: rgba(248, 248, 241, 0.76);
}

.dark .feature-list li::before,
.dark-panel .feature-list li::before {
  background: var(--lime);
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 16px 18px;
  outline: none;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(245, 197, 66, 0.82);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.18);
}

.form-status {
  display: none;
  margin: 2px 0 0;
  border: 1px solid rgba(24, 52, 20, 0.14);
  border-radius: 18px;
  background: rgba(217, 251, 147, 0.28);
  color: var(--ink);
  padding: 12px 14px;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 720;
}

.form-status.is-visible {
  display: block;
}

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 34px;
}

.footer p,
.footer li,
.footer a {
  color: rgba(248, 248, 241, 0.72);
}

.footer h4 {
  margin: 0 0 16px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 248, 241, 0.62);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 28px, 720px);
  }

  .nav-inner {
    position: relative;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-pill {
    flex: 1;
    justify-content: space-between;
    width: auto;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-pill:hover,
  .nav-pill:focus-within {
    width: auto;
    padding-inline: 18px;
  }

  .nav-links {
    display: flex;
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 8px;
    scrollbar-width: none;
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.84rem;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 9px 11px;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
  }

  .has-mobile-nav .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: min(70vh, 420px);
    overflow: auto;
    border: 1px solid rgba(24, 52, 20, 0.16);
    border-radius: 24px;
    background: rgba(248, 248, 241, 0.98);
    color: var(--ink);
    padding: 12px;
    box-shadow: 0 24px 70px rgba(24, 52, 20, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .has-mobile-nav .nav-links a {
    color: var(--ink);
    border-color: rgba(24, 52, 20, 0.12);
    background: rgba(255, 255, 255, 0.7);
    padding: 13px 14px;
  }

  .has-mobile-nav.mobile-nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    cursor: pointer;
  }

  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle-lines {
    position: relative;
  }

  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-lines::before {
    transform: translateY(-6px);
  }

  .nav-toggle-lines::after {
    transform: translateY(6px);
  }

  .mobile-nav-open .nav-toggle-lines {
    background: transparent;
  }

  .mobile-nav-open .nav-toggle-lines::before {
    transform: rotate(45deg);
  }

  .mobile-nav-open .nav-toggle-lines::after {
    transform: rotate(-45deg);
  }

  .nav-actions a:first-child {
    display: none;
  }

  .nav-actions {
    position: static;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 82px;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .product-row,
  .product-card.featured,
  .coverage-layout,
  .route-highlight-grid,
  .visual-strip,
  .section-header,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-photo {
    inset: 30px 0 78px;
  }

  .floating-card {
    width: min(330px, 86%);
    right: 12px;
  }

  .hero-card {
    width: min(430px, 88%);
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-strip,
  .partner-logos,
  .customer-story-grid,
  .sector-grid,
  .timeline,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .customer-story-grid.stories-visible .customer-story {
    min-height: 680px;
  }

  .morocco-map {
    display: grid;
    gap: 16px;
    min-height: 0;
    padding: 18px;
  }

  .world-map-card {
    min-height: 520px;
  }

  .pin-tooltip {
    left: 50%;
    top: 24px;
    width: min(240px, 72vw);
    transform-origin: top center;
  }

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

  .map-card,
  .map-card.main,
  .map-card.casablanca,
  .map-card.tanger,
  .map-card.dakhla {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .glass-panel {
    grid-template-columns: 1fr;
    margin: 22px;
    min-height: 560px;
  }

  .callout-grid {
    position: static;
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .topbar {
    font-size: 0.8rem;
  }

  .nav-actions .btn {
    min-height: 46px;
    padding: 0 16px;
  }

  .nav-pill {
    min-height: 50px;
    padding: 0 18px;
  }

  .brand {
    font-size: 1.18rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 15vw, 4.8rem);
    letter-spacing: -0.045em;
  }

  .page-hero {
    min-height: 400px;
    padding: 72px 0 48px;
  }

  .page-hero h1,
  .section h2 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
    letter-spacing: -0.045em;
  }

  .actions {
    align-items: stretch;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 440px;
  }

  .floating-card {
    grid-template-columns: 70px 1fr;
  }

  .floating-card img {
    width: 70px;
    height: 70px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .glass-stage {
    border-radius: 28px;
  }

  .glass-panel {
    border-radius: 28px;
    padding: 24px;
  }
}
