:root {
  --ink: #151515;
  --muted: #62615d;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: rgba(21, 21, 21, 0.12);
  --charcoal: #1f2523;
  --terracotta: #c84c32;
  --terracotta-dark: #9f3424;
  --mint: #0f8f7a;
  --gold: #f5b540;
  --soft-mint: #e8f4f1;
  --soft-gold: #fff6df;
  --shadow: 0 24px 60px rgba(23, 25, 24, 0.18);
  --radius: 8px;
  --hero-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Marrakech%20Menara%20Airport%201.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links {
  display: inline-flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(21, 21, 21, 0.72);
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--terracotta);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.lang-button {
  border: 0;
  min-width: 38px;
  padding: 9px 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.78rem;
}

.lang-button.is-active {
  color: var(--white);
  background: var(--charcoal);
}

.icon-button,
.nav-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

.icon-button svg,
.nav-toggle svg,
.primary-button svg,
.secondary-button svg,
.route-book svg,
.floating-whatsapp svg,
.mobile-action-bar svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 126px);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(12, 18, 18, 0.82) 0%, rgba(12, 18, 18, 0.62) 44%, rgba(12, 18, 18, 0.18) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(180deg, rgba(12, 18, 18, 0), rgba(12, 18, 18, 0.66));
  content: "";
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.62fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100svh - 126px);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0 clamp(32px, 5vw, 58px);
}

.hero-copy {
  max-width: 760px;
}

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

.hero .eyebrow,
.visual-band .eyebrow {
  color: #ffc15c;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.18;
}

.hero-lede {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.4vw, 1.28rem);
  line-height: 1.65;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
}

.primary-button {
  border: 0;
  padding: 16px 19px;
  color: var(--white);
  background: var(--terracotta);
  box-shadow: 0 16px 34px rgba(116, 38, 26, 0.26);
  cursor: pointer;
}

.primary-button:hover {
  background: var(--terracotta-dark);
}

.secondary-button {
  padding: 15px 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.full-width {
  width: 100%;
}

.quote-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 2px;
}

.panel-heading span {
  color: var(--mint);
  font-weight: 900;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.panel-heading strong {
  font-size: 1.16rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  height: 45px;
  border: 1px solid rgba(21, 21, 21, 0.16);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(15, 143, 122, 0.14);
}

.split-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: -1px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(23, 25, 24, 0.1);
  transform: translateY(-28px);
}

.proof-strip div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--white);
}

.proof-strip strong {
  font-size: 1.2rem;
}

.proof-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 850px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-grid,
.fleet-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card,
.fleet-card,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  display: grid;
  min-height: 235px;
  align-content: end;
  gap: 15px;
  padding: 24px;
}

.service-card svg {
  width: 34px;
  height: 34px;
  color: var(--mint);
}

.service-card p,
.fleet-card p,
.process-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.visual-band {
  display: grid;
  align-items: end;
  min-height: 580px;
  margin: 34px 0;
  padding: clamp(48px, 8vw, 94px) clamp(18px, 7vw, 72px);
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(13, 20, 20, 0.76), rgba(13, 20, 20, 0.2)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Marrakech%20Menara%20Airport%203.jpg");
  background-position: center;
  background-size: cover;
}

.visual-copy {
  max-width: 760px;
}

.visual-copy p:not(.eyebrow) {
  max-width: 630px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.72;
}

.fleet-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  overflow: hidden;
}

.fleet-card.is-featured {
  border-color: rgba(200, 76, 50, 0.46);
  box-shadow: 0 18px 48px rgba(130, 69, 50, 0.12);
}

.fleet-card > div:last-child {
  padding: 22px;
}

.fleet-visual {
  display: grid;
  place-items: center;
}

.fleet-visual svg {
  width: 72px;
  height: 72px;
}

.fleet-visual.sedan {
  color: var(--mint);
  background: var(--soft-mint);
}

.fleet-visual.vito {
  color: var(--terracotta);
  background: #fff0eb;
}

.fleet-visual.bus {
  color: #8a6610;
  background: var(--soft-gold);
}

.capacity {
  margin-bottom: 8px;
  color: var(--mint) !important;
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.rates-section {
  padding-top: 60px;
}

.rates-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.rate-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 100px 100px 126px;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.rate-row:last-child {
  border-bottom: 0;
}

.rate-row > * {
  padding: 16px 18px;
}

.table-head {
  min-height: 54px;
  color: var(--muted);
  background: #f1f0ea;
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.rate-row strong {
  font-size: 1.08rem;
}

.route-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-weight: 900;
}

.journeys-section {
  padding-top: 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 250px 250px;
  gap: 16px;
}

.journey-card {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: 0;
  padding: 22px;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--charcoal);
}

.journey-card.large {
  grid-row: span 2;
}

.journey-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.journey-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.72));
  content: "";
}

.journey-card > div,
.journey-card > i,
.journey-card > p,
.journey-card > h3 {
  position: relative;
  z-index: 1;
}

.journey-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.24rem, 2.3vw, 2.2rem);
}

.journey-card.accent {
  align-content: end;
  background:
    linear-gradient(135deg, rgba(15, 143, 122, 0.9), rgba(31, 37, 35, 0.96)),
    var(--soft-mint);
}

.journey-card.accent svg {
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
}

.process-grid article {
  padding: 24px;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 18px;
  padding: clamp(34px, 6vw, 60px);
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius);
}

.site-footer h2 {
  margin-bottom: 12px;
}

.site-footer p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

address {
  display: grid;
  gap: 9px;
  font-style: normal;
  text-align: right;
}

address span {
  color: rgba(255, 255, 255, 0.74);
}

address a {
  font-weight: 900;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.social-link span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--charcoal);
  background: var(--white);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

[dir="rtl"] .hero-bg {
  background-image:
    linear-gradient(270deg, rgba(12, 18, 18, 0.82) 0%, rgba(12, 18, 18, 0.62) 44%, rgba(12, 18, 18, 0.18) 100%),
    var(--hero-image);
}

[dir="rtl"] .visual-band {
  background-image:
    linear-gradient(270deg, rgba(13, 20, 20, 0.76), rgba(13, 20, 20, 0.2)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Marrakech%20Menara%20Airport%203.jpg");
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 16px;
  color: var(--white);
  background: #128c7e;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(18, 140, 126, 0.34);
  font-weight: 900;
}

.mobile-action-bar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 40;
  display: none;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(23, 25, 24, 0.22);
  backdrop-filter: blur(18px);
}

.mobile-action-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 900;
}

.mobile-action-bar a:first-child {
  color: var(--ink);
  background: #f1f0ea;
}

.mobile-action-bar a:last-child {
  color: var(--white);
  background: #128c7e;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 74px 18px auto;
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 14px 12px;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: auto;
    padding-top: 56px;
  }

  .quote-panel {
    max-width: 560px;
  }

  .proof-strip,
  .service-grid,
  .fleet-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .journey-card,
  .journey-card.large {
    min-height: 340px;
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    gap: 10px;
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lang-button {
    min-width: 32px;
    padding: 8px 6px;
    font-size: 0.72rem;
  }

  .header-actions .icon-button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 28px, 520px);
    padding: 46px 0 34px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions,
  .split-fields {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
    width: min(100% - 28px, 520px);
    transform: translateY(0);
    margin-top: 14px;
  }

  .section {
    width: min(100% - 28px, 520px);
  }

  .service-grid,
  .fleet-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .visual-band {
    min-height: 460px;
    margin: 20px 0;
  }

  .rate-row,
  .rate-row.table-head {
    grid-template-columns: 1fr 76px 76px;
  }

  .rate-row > * {
    padding: 14px;
  }

  .rate-row > :last-child {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  .table-head > :last-child {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 520px);
    padding: 28px;
  }

  address {
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    display: none;
  }

  .mobile-action-bar {
    display: grid;
  }
}
