/* Aurex Transport — Marrakech Warm Luxury */

:root {
  --gold: #c9922e;
  --gold-light: #ddb055;
  --gold-dark: #a67724;
  --gold-rgb: 201, 146, 46;
  --gold-glow: rgba(var(--gold-rgb), 0.2);
  --black: #ffffff;
  --black-soft: #f7f4ee;
  --black-card: #ffffff;
  --black-elevated: #f1eee8;
  --black-rgb: 255, 255, 255;
  --gray: #6f6a63;
  --gray-light: #3e3a35;
  --white: #181614;
  --ink: #181614;
  --ink-soft: #3e3a35;
  --line-soft: rgba(24, 22, 20, 0.1);
  --shadow-soft: 0 18px 48px rgba(30, 25, 18, 0.1);
  --font-body: "Outfit", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --radius: 8px;
  --radius-lg: 14px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1180px, 94vw);
  --header-h: 72px;
  --topbar-h: 42px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: start;
  font-family: "Noto Sans Arabic", "Outfit", system-ui, sans-serif;
}

html[dir="rtl"] .topbar__inner,
html[dir="rtl"] .nav,
html[dir="rtl"] .highlight-card,
html[dir="rtl"] .cta-banner__inner,
html[dir="rtl"] .intro__inner,
html[dir="rtl"] .about__grid,
html[dir="rtl"] .features__grid,
html[dir="rtl"] .activities__grid,
html[dir="rtl"] .booking__grid,
html[dir="rtl"] .section__head,
html[dir="rtl"] .feature-box,
html[dir="rtl"] .activity-card,
html[dir="rtl"] .driver-card,
html[dir="rtl"] .testimonial {
  direction: rtl;
}

html[dir="rtl"] .nav__links {
  margin: 0;
}

html[dir="rtl"] .nav__tools {
  margin: 0;
}

html[dir="rtl"] .nav__sub {
  left: auto;
  right: 0;
}

html[dir="rtl"] .hero__slide-content {
  margin-inline-start: auto;
  margin-inline-end: 0;
  text-align: start;
}

html[dir="rtl"] .booking__form,
html[dir="rtl"] .booking__info,
html[dir="rtl"] .footer__col {
  text-align: right;
}

html[dir="rtl"] .vehicle-card__specs li {
  padding-left: 0;
  padding-right: 0;
}

html[dir="rtl"] .lang-switcher__menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .lang-switcher__menu button {
  text-align: right;
}

html[dir="rtl"] .carousel__btn--prev {
  left: auto;
  right: 0;
}

html[dir="rtl"] .carousel__btn--next {
  right: auto;
  left: 0;
}

html[dir="rtl"] .float-btn--whatsapp {
  left: auto;
  right: 1.5rem;
}

html[dir="rtl"] .float-btn--edit {
  right: auto;
  left: 1.5rem;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="date"] {
  direction: ltr;
  text-align: left;
}

[data-editable],
[data-i18n] {
  unicode-bidi: plaintext;
  text-align: start;
}

.section__head--center [data-editable],
.section__head--center [data-i18n],
.intro__inner [data-editable],
.intro__inner [data-i18n],
.vehicle-card__body [data-editable],
.vehicle-card__body [data-i18n],
.driver-card__body [data-editable],
.driver-card__body [data-i18n],
.testimonial [data-editable],
.testimonial [data-i18n] {
  text-align: center;
}

body.is-editing {
  padding-top: 48px;
}

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

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

ul, ol {
  list-style: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--topbar-h);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold-dark));
  background-size: 220% 100%;
  animation: topbarShine 12s linear infinite;
  color: var(--black);
}

body.is-editing .topbar {
  top: 48px;
}

.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.morocco-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #c1272d;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 0 1px rgba(0, 98, 51, 0.35);
  white-space: nowrap;
}

.morocco-badge__flag {
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  color: #006233;
  font-size: 0.72rem;
  line-height: 1;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.45);
}

.topbar__cta {
  padding: 0.35rem 1rem;
  background: var(--black);
  color: var(--gold-light);
  border-radius: 999px;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: var(--transition);
}

.lang-switcher {
  position: relative;
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switcher__toggle:hover {
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--gold);
  border-color: rgba(var(--gold-rgb), 0.45);
}

.lang-switcher__chevron {
  font-size: 0.65rem;
  opacity: 0.75;
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  color: #1a1a1a;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 220;
  overflow: hidden;
}

.lang-switcher__menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}

.lang-switcher__menu li + li {
  border-top: 1px solid #eee;
}

.lang-switcher__menu button:hover,
.lang-switcher__menu button.is-active {
  background: #f7f7f7;
}

.lang-switcher__flag {
  font-size: 1rem;
  line-height: 1;
}

.topbar__cta:hover {
  background: var(--black-soft);
}

/* Header */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(var(--black-rgb), 0.95);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.12);
  transition: var(--transition);
}

body.is-editing .header {
  top: calc(48px + var(--topbar-h));
}

.header.is-scrolled {
  background: rgba(var(--black-rgb), 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  height: var(--header-h);
  min-width: 0;
}

.logo {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  flex-shrink: 0;
  min-width: 0;
  justify-self: start;
  color: var(--white);
}

html[dir="rtl"] .logo {
  justify-self: end;
}

.nav__links {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.nav__tools {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: end;
  flex-shrink: 0;
}

html[dir="rtl"] .nav__tools {
  justify-self: start;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(145deg, rgba(212, 175, 55, 0.18), rgba(8, 8, 8, 0.96) 45%, rgba(212, 175, 55, 0.12));
  border: 1px solid rgba(212, 175, 55, 0.72);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.4s var(--ease-out-smooth), box-shadow 0.4s ease;
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 12px;
  z-index: -1;
}

.logo__icon {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.logo__ring {
  fill: url("#logoGoldGradient");
}

.logo__horizon {
  fill: none;
  stroke: rgba(255, 243, 176, 0.68);
  stroke-width: 2;
  stroke-linecap: round;
}

.logo__road-surface {
  fill: rgba(8, 8, 8, 0.94);
  stroke: rgba(255, 243, 176, 0.42);
  stroke-width: 1;
  stroke-linejoin: round;
}

.logo__road-edge {
  fill: none;
  stroke: url("#logoGoldGradient");
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo__lane {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-dasharray: 5 6;
}

.logo__destination {
  fill: var(--black);
  stroke: var(--gold-light);
  stroke-width: 1.6;
}

.logo:hover .logo__mark {
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__text span:first-child {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
}

.logo__text span:last-child {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav__links > li > a {
  position: relative;
  display: block;
  padding: 0.5rem 0.65rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-light);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.nav__links > li > a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-smooth);
}

html[dir="rtl"] .nav__links > li > a::after {
  transform-origin: right;
}

.nav__links > li > a:not(.nav__cta):hover::after,
.nav__links > li > a:not(.nav__cta):focus-visible::after {
  transform: scaleX(1);
}

.nav__links > li > a:hover,
.nav__links > li:hover > a {
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
}

.nav__cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)) !important;
  color: var(--black) !important;
  font-weight: 700 !important;
}

.nav__dropdown {
  position: relative;
}

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.5rem;
  background: var(--black-card);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav__dropdown:hover .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__sub a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  color: var(--gray-light);
  border-radius: 6px;
}

.nav__sub a:hover {
  background: rgba(var(--gold-rgb), 0.1);
  color: var(--gold);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

/* Hero Slider */
.hero {
  position: relative;
  margin-top: calc(var(--topbar-h) + var(--header-h));
  height: min(85vh, 720px);
  min-height: 480px;
  overflow: hidden;
}

.hero__slider {
  position: relative;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-image: var(--slide-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.hero__slide:not(.hero__slide--fleet).is-active {
  background-size: cover;
}

.hero__slide-content.is-entering > * {
  animation: heroItemIn 0.7s var(--ease-out-smooth) both;
}

.hero__slide-content.is-entering > *:nth-child(1) { animation-delay: 0.08s; }
.hero__slide-content.is-entering > *:nth-child(2) { animation-delay: 0.18s; }
.hero__slide-content.is-entering > *:nth-child(3) { animation-delay: 0.28s; }
.hero__slide-content.is-entering > *:nth-child(4) { animation-delay: 0.38s; }

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__slide--fleet {
  background-color: #f0f0f0;
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(var(--black-rgb), 0.92) 0%, rgba(var(--black-rgb), 0.55) 55%, rgba(var(--black-rgb), 0.35) 100%);
}

.hero__slide--car .hero__overlay {
  background: linear-gradient(105deg, rgba(var(--black-rgb), 0.78) 0%, rgba(var(--black-rgb), 0.35) 42%, rgba(var(--black-rgb), 0.08) 100%);
}

.hero__slide-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  padding-block: 3rem;
}

.hero__label {
  display: inline-block;
  width: fit-content;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
}

.hero__slide-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  unicode-bidi: plaintext;
  text-align: start;
}

.hero__slide-content p {
  color: var(--gray-light);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero__slide-content .hero__label {
  color: var(--black);
}

.hero__controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.hero__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  background: rgba(var(--black-rgb), 0.6);
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  direction: ltr;
  text-align: center;
}

.hero__arrow:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.hero__dots {
  display: flex;
  gap: 0.5rem;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.hero__dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

/* Highlights */
.highlights {
  position: relative;
  margin-top: -3rem;
  z-index: 5;
  padding-bottom: 1rem;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--black-card);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.highlight-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.highlight-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(var(--gold-rgb), 0.12);
  border-radius: 50%;
  color: var(--gold);
  animation: floatY 3.6s ease-in-out infinite;
}

.highlight-card:nth-child(2) .highlight-card__icon {
  animation-delay: 0.45s;
}

.highlight-card:nth-child(3) .highlight-card__icon {
  animation-delay: 0.9s;
}

.highlight-card__icon svg {
  width: 24px;
  height: 24px;
}

.highlight-card h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

@media (min-width: 769px) {
  .highlight-card {
    gap: 2rem;
    padding-inline: 2rem;
  }

  .highlight-card h3 {
    min-width: 150px;
  }

  .highlight-card p {
    margin-left: auto;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--black-soft);
}

.section__head {
  margin-bottom: 2.5rem;
}

.section__head--center {
  text-align: center;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  color: var(--white);
}

.section__desc {
  color: var(--gray-light);
  max-width: 640px;
  margin-top: 0.75rem;
  font-size: 1rem;
}

.section__head--center .section__desc {
  margin-inline: auto;
}

/* Intro */
.intro__inner {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  color: var(--gold);
}

.intro__lead {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.intro__lead strong {
  color: var(--gold-light);
}

.intro p:last-child {
  color: var(--gray-light);
}

/* Features */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-box {
  padding: 2rem 1.5rem;
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: rgba(var(--gold-rgb), 0.35);
  transform: translateY(-4px);
}

.feature-box:hover .feature-box__icon {
  transform: scale(1.08) rotate(-4deg);
}

.feature-box__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.2), rgba(var(--gold-rgb), 0.05));
  border-radius: 50%;
  color: var(--gold);
  transition: transform 0.45s var(--ease-out-smooth);
}

.feature-box__icon svg {
  width: 28px;
  height: 28px;
}

.feature-box h3 {
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.feature-box p {
  font-size: 0.88rem;
  color: var(--gray);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.btn--primary:hover::after {
  transform: translateX(130%);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-glow);
}

.btn--outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* Carousel */
.carousel {
  position: relative;
  padding: 0 3rem;
}

.carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.5rem 0 1rem;
  /* Keep horizontal scroll math stable; card text stays RTL via child direction. */
  direction: ltr;
}

html[dir="rtl"] .carousel__track > .vehicle-card,
html[dir="rtl"] .carousel__track > .driver-card {
  direction: rtl;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  background: var(--black-card);
  color: var(--gold);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  direction: ltr;
  line-height: 1;
  text-align: center;
}

.carousel__btn:hover {
  background: var(--gold);
  color: var(--black);
}

.carousel__btn--prev {
  left: 0;
}

.carousel__btn--next {
  right: 0;
}

/* Fleet showcase */
.fleet-showcase {
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.fleet-showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}

.fleet-showcase__grid img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 155px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center center;
  padding: 0.75rem;
}

/* Vehicle cards */
.vehicle-card {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
  background: var(--black-card);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.vehicle-card:hover {
  border-color: rgba(var(--gold-rgb), 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.vehicle-card__img {
  position: relative;
  aspect-ratio: 19 / 10;
  min-height: 0;
  padding: 0;
  background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  overflow: hidden;
  isolation: isolate;
}

.vehicle-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center center;
  transition: filter 0.35s ease;
}

.vehicle-card:hover .vehicle-card__img img {
  filter: brightness(1.04);
}

.vehicle-card__body {
  padding: 1.35rem 1.25rem 1.5rem;
  text-align: center;
}

.vehicle-card__body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--gold-light);
}

.vehicle-card__divider {
  display: block;
  width: 40px;
  height: 2px;
  margin: 0 auto 0.85rem;
  background: var(--gold);
}

.vehicle-card__specs {
  text-align: start;
  margin-bottom: 1.15rem;
  padding: 0 0.25rem;
}

.vehicle-card__specs li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--gray-light);
  margin-bottom: 0.4rem;
  text-align: start;
}

.vehicle-card__specs li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
}

.vehicle-card__body .vehicle-card__specs [data-i18n],
.vehicle-card__specs li[data-i18n] {
  text-align: start;
}

/* Drivers */
.drivers {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(var(--gold-rgb), 0.18);
}

.drivers__head {
  margin-bottom: 2.25rem;
}

.driver-card {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
  background: var(--black-card);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.driver-card:hover {
  border-color: rgba(var(--gold-rgb), 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.driver-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1rem 0.85rem;
  background: #fff;
  overflow: hidden;
}

.driver-card__img img {
  display: block;
  width: auto;
  max-width: 72%;
  height: 132px;
  margin-inline: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  transition: transform 0.45s ease;
}

.driver-card:hover .driver-card__img img {
  transform: scale(1.05);
}

.driver-card__body {
  padding: 1rem 1rem 1.2rem;
  text-align: center;
}

.driver-card__body h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: var(--gold-light);
}

/* Activities */
.activities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.activity-card {
  display: flex;
  flex-direction: column;
  background: var(--black-card);
  border: 1px solid rgba(var(--gold-rgb), 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.activity-card:hover {
  border-color: rgba(var(--gold-rgb), 0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
}

.activity-card__img {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--black-elevated);
}

.activity-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.activity-card:hover .activity-card__img img {
  transform: scale(1.06);
}

.activity-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.activity-card__body h3 {
  color: var(--gold-light);
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.activity-card__body p {
  flex: 1;
  color: var(--gray-light);
  font-size: 0.86rem;
  margin-bottom: 1rem;
}

.vehicle-card__body .btn,
.driver-card__body .btn,
.activity-card__body .btn,
.carousel__track .btn {
  position: relative;
  z-index: 1;
  touch-action: manipulation;
}

.activity-card__body .btn {
  align-self: flex-start;
}

.activity-booking {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem;
  background:
    radial-gradient(circle at top left, rgba(var(--gold-rgb), 0.14), transparent 34%),
    var(--black-card);
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.36);
}

.activity-booking__content {
  align-self: center;
}

.activity-booking__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.activity-booking__content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--gold-light);
}

.activity-booking__content p {
  color: var(--gray-light);
  margin-bottom: 1.25rem;
}

.activity-booking__features {
  display: grid;
  gap: 0.55rem;
}

.activity-booking__features li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--gray-light);
  font-size: 0.92rem;
}

.activity-booking__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

.activity-booking__form {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
}

/* Route cards */
.routes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.route-card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.route-card:hover {
  border-color: rgba(var(--gold-rgb), 0.35);
  transform: translateY(-4px);
}

.route-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.route-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.route-card:hover .route-card__img img {
  transform: scale(1.06);
}

.route-card__body {
  padding: 1.25rem;
}

.route-card__body h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.route-card__body p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 1rem;
  min-height: 3.5em;
}

/* Testimonials */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  padding: 0 3rem;
}

.testimonial-slider__track {
  display: grid;
  min-height: 200px;
  overflow: hidden;
}

.testimonial {
  position: relative;
  grid-area: 1 / 1;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.45s ease, visibility 0.45s, transform 0.45s ease;
}

.testimonial-slider.is-prev .testimonial {
  transform: translateX(-100%);
}

.testimonial.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.testimonial__quote {
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  font-family: var(--font-display);
  margin-bottom: -1rem;
}

.testimonial__stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  text-shadow: 0 0 18px var(--gold-glow);
}

.testimonial p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-light);
  margin-bottom: 1.25rem;
}

.testimonial footer {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(var(--gold-rgb), 0.2);
}

.about__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  color: var(--gold);
}

.about__content p {
  color: var(--gray-light);
  margin-bottom: 1rem;
}

/* CTA Banner */
.cta-banner {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold-dark));
  background-size: 280% 280%;
  animation: gradientShift 9s ease infinite;
  color: var(--black);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
  max-width: 600px;
}

.cta-banner p {
  font-size: 0.95rem;
}

.cta-banner strong {
  font-weight: 700;
}

.cta-banner .btn--primary {
  background: var(--black);
  color: var(--gold-light);
  box-shadow: none;
  flex-shrink: 0;
}

.cta-banner .btn--primary:hover {
  background: var(--black-soft);
}

/* Booking */
.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.booking__info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.booking__info > p {
  color: var(--gray-light);
  margin-bottom: 2rem;
}

.booking__contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.booking__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.booking__form {
  padding: 2rem;
  background: var(--black-card);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: var(--radius-lg);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group {
  margin-bottom: 1rem;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--gray-light);
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--black-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: var(--white);
  transition: border-color var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form__note {
  margin-top: 1rem;
  text-align: center;
  color: var(--gold-light);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(var(--gold-rgb), 0.1);
  padding-bottom: 5.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2rem;
}

.footer__col--menu {
  padding: 1.25rem 1.35rem;
  background: rgba(var(--gold-rgb), 0.06);
  border: 1px solid rgba(var(--gold-rgb), 0.22);
  border-radius: var(--radius-lg);
}

.footer__menu {
  display: grid;
  gap: 0.65rem;
}

.footer__menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition), transform var(--transition);
}

.footer__menu a::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.footer__menu a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

html[dir="rtl"] .footer__menu a:hover {
  transform: translateX(-4px);
}

.footer__col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__col p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

.footer__contact li {
  margin-bottom: 1.25rem;
}

.footer__contact strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.footer__contact span {
  font-size: 0.85rem;
  color: var(--gray);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
}

.footer__bottom-inner p {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
}

/* Float buttons */
.float-btn {
  position: fixed;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.float-btn svg {
  width: 26px;
  height: 26px;
}

.float-btn--whatsapp {
  bottom: 1.5rem;
  left: 1.5rem;
  background: #25d366;
  color: #fff;
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.float-btn--whatsapp:hover {
  transform: scale(1.08);
  animation: none;
}

.float-btn--edit {
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--black-card);
  color: var(--gold);
  border: 2px solid var(--gold);
  display: none;
}

body.is-admin .float-btn--edit {
  display: flex;
}

.edit-banner {
  display: none !important;
}

.admin-login {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.admin-login[hidden] {
  display: none !important;
}

.admin-login__dialog {
  width: min(100%, 420px);
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--black-elevated);
  color: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.admin-login__dialog h2 {
  margin: 0 0 0.5rem;
  color: var(--gold-light);
  font-size: 1.35rem;
}

.admin-login__dialog p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.admin-login__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-login__input {
  width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.admin-login__remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.admin-login__error {
  margin: 0 0 0.85rem;
  color: #ff8e8e;
  font-size: 0.85rem;
}

.admin-login__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.admin-login__cancel,
.admin-login__submit,
.edit-banner__logout {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-login__cancel,
.edit-banner__logout {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.admin-login__submit {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
}

.float-btn--edit:hover,
.float-btn--edit[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
}

.float-btn--edit.is-saved {
  background: linear-gradient(135deg, #3d7a45, #2f6136);
  color: #fff;
  border-color: #5cb86a;
  box-shadow: 0 0 0 3px rgba(92, 184, 106, 0.35);
}

/* Edit mode */
body.is-admin.is-editing .edit-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.65rem 1rem;
  background: var(--black-elevated);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}

.edit-banner__dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.edit-banner[data-saved="true"]::after {
  content: none;
}

.edit-banner__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: saveStatusIn 0.25s ease;
}

.edit-banner__status[data-state="saving"] {
  background: rgba(var(--gold-rgb), 0.18);
  color: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.25);
}

.edit-banner__status[data-state="server"] {
  background: rgba(46, 160, 67, 0.2);
  color: #9be7a8;
  box-shadow: 0 0 0 1px rgba(92, 184, 106, 0.35);
}

.edit-banner__status[data-state="local"] {
  background: rgba(220, 140, 40, 0.18);
  color: #ffd18a;
  box-shadow: 0 0 0 1px rgba(220, 140, 40, 0.28);
}

.edit-banner__status[data-state="error"] {
  background: rgba(220, 80, 60, 0.2);
  color: #ffb4a8;
  box-shadow: 0 0 0 1px rgba(220, 80, 60, 0.35);
}

@keyframes saveStatusIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.edit-banner[data-sync="server"]::before {
  content: "Server sync";
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(46, 160, 67, 0.18);
  color: #8ddf9a;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.edit-banner[data-sync-warning="true"]::before {
  content: "Browser only";
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(220, 80, 60, 0.18);
  color: #ffb4a8;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes topbarShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out-smooth),
    transform 0.7s var(--ease-out-smooth);
}

.reveal--left {
  transform: translateX(-32px);
}

.reveal--right {
  transform: translateX(32px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0);
}

html[dir="rtl"] .reveal--left {
  transform: translateX(32px);
}

html[dir="rtl"] .reveal--right {
  transform: translateX(-32px);
}

.edit-banner__save,
.edit-banner__reset {
  padding: 0.3rem 0.75rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

.edit-banner__save {
  background: #1a8f4a;
  color: #fff;
}

.edit-banner__reset {
  background: var(--gold);
  color: var(--black);
}

body.is-editing [data-editable] {
  outline: 1px dashed rgba(var(--gold-rgb), 0.5);
  outline-offset: 3px;
  border-radius: 4px;
  cursor: text;
}

body.is-editing .header li[data-editable],
body.is-editing .header .logo__mark[data-editable] {
  outline: none;
  cursor: default;
}

body.is-editing .header a[data-i18n],
body.is-editing .header [data-key="brand.name"],
body.is-editing .header [data-key="brand.tagline"] {
  outline: 1px dashed rgba(var(--gold-rgb), 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

body.is-editing [data-editable]:focus {
  outline: 2px solid var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
}

body.is-editing [data-edit-media],
body.is-editing [data-edit-media-frame] {
  outline: 2px dashed rgba(0, 180, 90, 0.65);
  outline-offset: -4px;
  cursor: pointer;
}

body.is-editing [data-edit-link] {
  cursor: alias;
}

body.is-editing [data-edit-link]::after {
  content: " ↗";
  color: var(--gold);
  font-size: 0.78em;
}

.highlight-card,
.feature-box,
.vehicle-card,
.activity-card,
.driver-card,
.testimonial {
  position: relative;
}

.card-edit-controls {
  display: none;
}

.admin-hide-controls {
  display: none;
}

body:not(.is-editing) [data-admin-hidden="true"] {
  display: none !important;
}

body.is-admin.is-editing [data-admin-hidden="true"] {
  opacity: 0.42;
  outline: 2px dashed rgba(var(--gold-rgb), 0.8);
  outline-offset: -0.35rem;
}

body.is-admin.is-editing .admin-hide-controls {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 30;
  display: flex;
}

body.is-admin.is-editing .admin-hide-controls button {
  min-height: 1.75rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(var(--gold-rgb), 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink, #181614);
  font: 800 0.72rem/1 var(--font-body);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 25, 18, 0.16);
}

body.is-admin.is-editing .admin-hide-controls button:hover {
  background: var(--gold);
  color: var(--ink, #181614);
}

body.is-admin.is-editing .card-edit-controls {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 20;
  display: flex;
  gap: 0.35rem;
}

body.is-admin.is-editing .card-edit-controls button {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(var(--gold-rgb), 0.75);
  border-radius: 999px;
  background: rgba(var(--black-rgb), 0.9);
  color: var(--gold-light);
  font: 700 1rem/1 var(--font-body);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  direction: ltr;
}

body.is-admin.is-editing .card-edit-controls button:hover {
  background: var(--gold);
  color: var(--black);
}

html[dir="rtl"] body.is-admin.is-editing .card-edit-controls {
  right: auto;
  left: 0.6rem;
}

.hero-edit-controls {
  display: none;
}

body.is-admin.is-editing .hero-edit-controls {
  position: absolute;
  top: 6rem;
  right: 2rem;
  z-index: 8;
  display: block;
}

body.is-admin.is-editing .hero-edit-controls button {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(var(--gold-rgb), 0.75);
  border-radius: 999px;
  background: rgba(var(--black-rgb), 0.88);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

body.is-admin.is-editing .hero-edit-controls button:hover {
  background: var(--gold);
  color: var(--black);
}

html[dir="rtl"] body.is-admin.is-editing .hero-edit-controls {
  right: auto;
  left: 2rem;
}


/* Responsive */
@media (max-width: 1200px) {
  .nav__links > li > a {
    padding: 0.45rem 0.5rem;
    font-size: 0.78rem;
  }

  .topbar__inner {
    font-size: 0.78rem;
  }
}

@media (max-width: 1024px) {
  .features__grid,
  .activities__grid,
  .routes__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: flex;
    justify-content: space-between;
  }

  .logo {
    grid-column: auto;
    justify-self: auto;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__tools {
    margin-inline-start: auto;
    margin-inline-end: 0;
    grid-column: auto;
    justify-self: auto;
  }

  .nav__links {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    inset-inline-end: -100%;
    width: min(300px, 88vw);
    height: calc(100vh - var(--topbar-h) - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    background: var(--black-soft);
    border-inline-start: 1px solid rgba(var(--gold-rgb), 0.15);
    overflow-y: auto;
    transition: inset-inline-end var(--transition);
    gap: 0;
    grid-column: auto;
    max-width: none;
    justify-content: flex-start;
  }

  body.is-editing .nav__links {
    top: calc(48px + var(--topbar-h) + var(--header-h));
    height: calc(100vh - 48px - var(--topbar-h) - var(--header-h));
  }

  .nav__links.is-open {
    inset-inline-end: 0;
  }

  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-inline-start: 1rem;
    display: none;
  }

  .nav__dropdown.is-open .nav__sub {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero {
    height: min(72vh, 600px);
    min-height: 560px;
  }

  .hero__slider {
    height: 100%;
  }

  .hero__slide {
    background-color: var(--black);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero__slide--car .hero__overlay,
  .hero__overlay {
    background: linear-gradient(
      105deg,
      rgba(var(--black-rgb), 0.88) 0%,
      rgba(var(--black-rgb), 0.58) 52%,
      rgba(var(--black-rgb), 0.42) 100%
    );
  }

  .hero__slide-content {
    justify-content: center;
    padding-top: 1.5rem;
    padding-bottom: 4.5rem;
  }

  .hero__slide-content h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero__slide-content p {
    font-size: 0.98rem;
  }

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

  .highlights__grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .highlights {
    margin-top: 0;
    padding-top: 2rem;
  }

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

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

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

  .activity-booking {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .activity-card__img {
    height: 220px;
  }

  .about__grid,
  .booking__grid {
    grid-template-columns: 1fr;
  }

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

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

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .carousel,
  .testimonial-slider {
    padding: 0 2.5rem;
  }

  #fleetCarousel,
  #driversCarousel {
    padding: 0 1.75rem;
  }

  #fleetCarousel .carousel__track,
  #driversCarousel .carousel__track {
    gap: 0.75rem;
  }

  #fleetCarousel .carousel__btn,
  #driversCarousel .carousel__btn {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  #fleetCarousel .vehicle-card,
  #driversCarousel .driver-card {
    flex-basis: calc((100% - 0.75rem) / 2);
  }

  #fleetCarousel .vehicle-card__img {
    aspect-ratio: 19 / 10;
    min-height: 0;
    padding: 0;
  }

  #driversCarousel .driver-card__img {
    min-height: 130px;
    padding: 0.75rem 0.45rem;
  }

  #fleetCarousel .vehicle-card__img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  #driversCarousel .driver-card__img img {
    height: 105px;
    max-width: 68%;
  }

  #fleetCarousel .vehicle-card__body,
  #driversCarousel .driver-card__body {
    padding: 0.85rem 0.65rem 1rem;
  }

  #fleetCarousel .vehicle-card__body h3,
  #driversCarousel .driver-card__body h3 {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  #fleetCarousel .vehicle-card__divider {
    margin-bottom: 0.65rem;
  }

  #fleetCarousel .vehicle-card__specs {
    margin-bottom: 0.8rem;
    padding: 0;
  }

  #fleetCarousel .vehicle-card__specs li {
    font-size: 0.72rem;
    gap: 0.35rem;
    margin-bottom: 0.32rem;
  }

  #fleetCarousel .btn--sm {
    width: 100%;
    padding: 0.48rem 0.35rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .fleet-showcase__grid {
    grid-template-columns: 1fr;
  }

  #fleetCarousel,
  #driversCarousel {
    padding: 0 1.25rem;
  }

  #fleetCarousel .vehicle-card,
  #driversCarousel .driver-card {
    flex-basis: calc((100% - 0.6rem) / 2);
  }

  #fleetCarousel .carousel__track,
  #driversCarousel .carousel__track {
    gap: 0.6rem;
  }

  #fleetCarousel .vehicle-card__img {
    aspect-ratio: 19 / 10;
    min-height: 0;
    padding: 0;
  }

  #driversCarousel .driver-card__img {
    min-height: 112px;
    padding: 0.55rem 0.35rem;
  }

  #fleetCarousel .vehicle-card__img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  #driversCarousel .driver-card__img img {
    height: 88px;
    max-width: 65%;
  }

  #fleetCarousel .vehicle-card__body,
  #driversCarousel .driver-card__body {
    padding: 0.75rem 0.55rem 0.85rem;
  }

  #fleetCarousel .vehicle-card__body h3,
  #driversCarousel .driver-card__body h3 {
    font-size: 0.74rem;
  }

  #fleetCarousel .vehicle-card__specs li {
    font-size: 0.66rem;
  }

  .topbar__inner p {
    font-size: 0.75rem;
  }

  .topbar__actions {
    gap: 0.35rem;
  }

  .morocco-badge {
    padding-inline: 0.5rem;
    font-size: 0.7rem;
  }

  .hero {
    height: 560px;
    min-height: 560px;
  }

  .hero__slide-content {
    padding-bottom: 4.25rem;
  }

  .hero__slide-content h1 {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Image load status badge */
.img-load-frame {
  position: relative;
}

/* Hero slides must stay stacked; img-load-frame must not break absolute positioning */
.hero__slide.img-load-frame {
  position: absolute;
  inset: 0;
}

.img-load-badge {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

body:not(.is-editing) .img-load-badge {
  display: none;
}

html[dir="rtl"] .img-load-badge {
  right: auto;
  left: 0.55rem;
}

body.is-editing .img-load-frame[data-load-state="loading"] .img-load-badge,
body.is-editing .img-load-frame[data-load-state="loaded"] .img-load-badge,
body.is-editing .img-load-frame[data-load-state="error"] .img-load-badge {
  opacity: 1;
  transform: translateY(0);
}

.img-load-frame[data-load-state="loading"] .img-load-badge {
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
}

.img-load-frame[data-load-state="loaded"] .img-load-badge {
  background: rgba(47, 97, 54, 0.94);
  color: #fff;
}

.img-load-frame[data-load-state="error"] .img-load-badge {
  background: rgba(168, 42, 42, 0.94);
  color: #fff;
}

.img-load-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
}

.img-load-frame[data-load-state="loading"] .img-load-badge__icon::before {
  content: "";
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: img-load-spin 0.7s linear infinite;
}

.img-load-frame[data-load-state="loaded"] .img-load-badge__icon::before {
  content: "✓";
  font-size: 0.78rem;
  line-height: 1;
}

.img-load-frame[data-load-state="error"] .img-load-badge__icon::before {
  content: "!";
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

body.is-editing .img-load-frame[data-load-state="loaded"] .img-load-badge,
body.is-editing .img-load-frame[data-load-state="error"] .img-load-badge {
  opacity: 1;
}

@keyframes img-load-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Light professional theme */
.topbar {
  color: var(--ink);
}

.header,
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 10px 34px rgba(30, 25, 18, 0.08);
  backdrop-filter: blur(14px);
}

.logo {
  color: var(--ink);
}

.nav__links > li > a,
.nav__sub a,
.footer__menu a {
  color: var(--ink-soft);
}

.nav__sub,
.feature-box,
.vehicle-card,
.driver-card,
.activity-card,
.route-card,
.testimonial,
.booking__form,
.admin-login__dialog {
  background: #fff;
  border-color: var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.section--alt {
  background: #f8f5ef;
}

.section__head h2,
.vehicle-card__body h3,
.driver-card__body h3,
.activity-card__body h3,
.route-card__body h3,
.footer__contact strong {
  color: var(--ink);
}

.section__desc,
.intro p:last-child,
.vehicle-card__specs li,
.activity-card__body p,
.route-card__body p,
.booking__info > p,
.form__group label,
.footer__col p,
.footer__contact span,
.footer__bottom-inner p {
  color: var(--ink-soft);
}

.hero__overlay {
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.74) 48%, rgba(255, 255, 255, 0.24) 100%);
}

.hero__slide--car .hero__overlay {
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.58) 44%, rgba(255, 255, 255, 0.12) 100%);
}

.hero__slide-content h1 {
  color: var(--ink);
}

.hero__slide-content p {
  color: var(--ink-soft);
}

.hero__arrow {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(var(--gold-rgb), 0.35);
  box-shadow: 0 10px 26px rgba(30, 25, 18, 0.12);
}

.topbar__cta,
.btn--primary,
.btn--outline:hover,
.nav__cta,
.hero__label,
.hero__slide-content .hero__label,
.carousel__btn:hover,
.hero__arrow:hover {
  color: var(--ink) !important;
}

.btn--outline {
  background: rgba(255, 255, 255, 0.72);
}

.carousel__btn {
  background: #fff;
  box-shadow: 0 10px 28px rgba(30, 25, 18, 0.12);
}

.fleet-showcase,
.vehicle-card:hover,
.driver-card:hover,
.activity-card:hover,
.feature-box:hover {
  box-shadow: 0 18px 50px rgba(30, 25, 18, 0.14);
}

.form__group input,
.form__group select,
.form__group textarea {
  background: #fff;
  border-color: rgba(24, 22, 20, 0.14);
  color: var(--ink);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: #9a9288;
}

.cta-banner .btn--primary {
  background: #fff;
  color: var(--ink) !important;
}

.footer {
  background: #f5f1ea;
  border-top-color: var(--line-soft);
}

.footer__bottom {
  border-top-color: var(--line-soft);
}
