:root {
  color-scheme: light;
  --ink: #0d1824;
  --muted: #657487;
  --paper: #f7f8f5;
  --panel: rgba(255, 255, 255, 0.82);
  --line: rgba(13, 24, 36, 0.12);
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --gold: #d8a548;
  --coral: #d96d4d;
  --sky: #dbeafe;
  --shadow: 0 24px 70px rgba(13, 24, 36, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(11, 27, 42, 0.56);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-solid {
  background: rgba(9, 20, 31, 0.88);
  border-color: rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 12px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

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

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 128px max(24px, calc((100vw - 1120px) / 2)) 64px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 13, 22, 0.92) 0%, rgba(4, 13, 22, 0.7) 38%, rgba(4, 13, 22, 0.16) 100%),
    linear-gradient(0deg, rgba(4, 13, 22, 0.72) 0%, rgba(4, 13, 22, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  color: white;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.1rem, 8vw, 5.7rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

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

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #111827;
  box-shadow: 0 18px 44px rgba(216, 165, 72, 0.28);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(14px);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  margin-top: 46px;
}

.signal-row span {
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
}

.signal-row strong {
  display: block;
  color: white;
  font-size: 1.65rem;
}

.section {
  padding: 92px 24px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: #eef5f1;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.section-heading {
  width: min(740px, 100%);
  margin-bottom: 34px;
}

.section-heading.split {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: end;
}

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

.service-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(13, 24, 36, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(216, 165, 72, 0.22));
  color: var(--teal-dark);
  font-weight: 900;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

.portfolio-band {
  background: #10212d;
  color: white;
}

.portfolio-band .section-kicker,
.portfolio-band h2 {
  color: white;
}

.portfolio-band p {
  color: rgba(255, 255, 255, 0.68);
}

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

.trip-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, rgba(7, 17, 25, 0.18), rgba(7, 17, 25, 0.88)),
    url("assets/hero-morocco.png");
  background-size: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease;
}

.trip-card:hover {
  border-color: rgba(216, 165, 72, 0.56);
  transform: translateY(-6px);
}

.trip-one {
  background-position: 65% 50%;
}

.trip-two {
  background-position: 35% 42%;
}

.trip-three {
  grid-column: span 2;
  background-position: 80% 64%;
}

.trip-four {
  grid-column: span 3;
  background-position: 44% 38%;
}

.trip-five {
  grid-column: span 3;
  background-position: 70% 36%;
}

.trip-card span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trip-card h3 {
  margin: 8px 0 0;
  font-size: 2rem;
}

.trip-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.reservation-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.muted {
  margin-top: 18px;
  color: var(--muted);
}

.booking-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

label {
  display: grid;
  gap: 8px;
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(13, 24, 36, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.full-field {
  grid-column: 1 / -1;
}

.contact-band {
  background: #e8f1ee;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 40px;
  align-items: center;
}

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

.contact-actions a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: white;
  color: var(--teal-dark);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(13, 24, 36, 0.08);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(24px, calc((100vw - 1120px) / 2));
  background: #071119;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, 100%);
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(9, 20, 31, 0.96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  }

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

  .nav-links a {
    width: 100%;
  }

  .intro-grid,
  .section-heading.split,
  .reservation-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .trip-card,
  .trip-three,
  .trip-four,
  .trip-five {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .hero {
    min-height: 92vh;
    padding: 112px 18px 42px;
  }

  h1 {
    max-width: 100%;
    font-size: 3rem;
  }

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

  .signal-row,
  .services-grid,
  .portfolio-grid,
  .booking-panel,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 18px;
  }

  .booking-panel {
    padding: 18px;
  }

  .site-footer {
    display: grid;
  }
}
