:root {
  --bg: #f4f8f8;
  --bg-deep: #11253d;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: #eef7f6;
  --surface-dark: rgba(14, 28, 45, 0.86);
  --text: #102236;
  --text-soft: #587081;
  --text-light: rgba(239, 246, 249, 0.82);
  --line: rgba(17, 37, 61, 0.12);
  --brand: #153654;
  --brand-strong: #11253d;
  --teal: #2f8e90;
  --shadow: 0 24px 60px rgba(17, 37, 61, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 2rem));
  --transition: 280ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 142, 144, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(17, 37, 61, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbfb 0%, #f2f7f7 46%, #eef4f5 100%);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

.topbar {
  background: linear-gradient(90deg, rgba(17, 37, 61, 0.96), rgba(21, 54, 84, 0.92));
  color: rgba(245, 249, 251, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  font-size: 0.92rem;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: #cfeeee;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 251, 0.78);
  border-bottom: 1px solid rgba(17, 37, 61, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand img {
  width: clamp(140px, 21vw, 220px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav > a {
  color: var(--text-soft);
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: color var(--transition), background-color var(--transition);
}

.site-nav > a:hover,
.site-nav > a.is-active {
  color: var(--brand);
  background: rgba(47, 142, 144, 0.1);
}

.nav-cta.button {
  margin-inline-start: 0.4rem;
}

.nav-toggle {
  display: none;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(17, 37, 61, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--brand);
  transition: transform var(--transition), opacity var(--transition);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-inline-start: auto;
  padding: 0.3rem;
  border: 1px solid rgba(17, 37, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(17, 37, 61, 0.08);
}

.language-switcher button,
.language-switcher a {
  min-width: 40px;
  min-height: 40px;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.language-switcher button:hover,
.language-switcher a:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

.language-switcher button.is-active,
.language-switcher a.is-active,
.language-switcher a[aria-current="page"] {
  color: #f7fcfc;
  background: linear-gradient(135deg, var(--brand) 0%, var(--teal) 100%);
}

.nav-toggle.is-open span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
}

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

.button-primary {
  color: #f8fdfd;
  background: linear-gradient(135deg, var(--brand) 0%, var(--teal) 100%);
  box-shadow: 0 18px 34px rgba(21, 54, 84, 0.2);
}

.button-secondary {
  color: var(--brand);
  border-color: rgba(21, 54, 84, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.9rem;
  color: var(--teal);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--brand-strong);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-soft);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 142, 144, 0.16), transparent 25%),
    radial-gradient(circle at 90% 18%, rgba(17, 37, 61, 0.12), transparent 24%);
  pointer-events: none;
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  padding: 5rem 0 4rem;
}

.hero-copy,
.hero-panel,
.page-hero-note,
.journey-card,
.category-card,
.service-card,
.route-card,
.timeline-step,
.subcollection-card,
.form-panel,
.contact-side .journey-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 1.5rem 0;
}

.hero-copy h1 {
  max-width: 12ch;
}

.hero-copy .lead {
  max-width: 62ch;
  margin-top: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.6rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.hero-points li {
  position: relative;
  padding-inline-start: 1.4rem;
  color: var(--text-soft);
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.68rem;
  inset-inline-start: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--brand));
}

.hero-panel,
.page-hero-note,
.journey-card,
.category-card,
.service-card,
.route-card,
.timeline-step,
.subcollection-card,
.form-panel {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
}

.hero-panel {
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(233, 247, 246, 0.72)),
    rgba(255, 255, 255, 0.76);
}

.panel-head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.signal-grid {
  display: grid;
  gap: 1rem;
}

.signal-card {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 251, 251, 0.88));
  border: 1px solid rgba(17, 37, 61, 0.08);
}

.signal-number,
.category-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(21, 54, 84, 0.12), rgba(47, 142, 144, 0.18));
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.signal-card h3,
.category-card h3,
.service-card h3,
.route-card h3,
.timeline-step h3,
.subcollection-card h3,
.journey-card h3,
.page-hero-note strong,
.form-panel h2 {
  margin-top: 0.95rem;
}

.signal-card p,
.category-card p,
.service-card p,
.route-card p,
.timeline-step p,
.subcollection-card p,
.journey-card span,
.page-hero-note p,
.contact-side p {
  margin-top: 0.7rem;
  color: var(--text-soft);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.metric-strip div {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(17, 37, 61, 0.05);
}

.metric-strip strong {
  display: block;
  font-size: 0.95rem;
}

.metric-strip span {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.section-dark {
  color: var(--text-light);
  background:
    radial-gradient(circle at top right, rgba(47, 142, 144, 0.18), transparent 24%),
    linear-gradient(145deg, #0f2235 0%, #153654 48%, #173a52 100%);
}

.section-dark h2,
.section-dark h3,
.section-dark strong {
  color: #f0f8fb;
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  color: var(--text-soft);
}

.section-heading-light p:last-child,
.section-dark .eyebrow {
  color: rgba(232, 246, 249, 0.78);
}

.intro-grid,
.split-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
}

.journey-card,
.page-hero-note {
  padding: 1.5rem;
}

.journey-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.journey-list div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.journey-list strong {
  display: block;
  color: var(--brand);
}

.category-grid,
.service-grid,
.route-grid,
.timeline,
.subcollection-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.route-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

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

.category-card,
.service-card,
.route-card,
.timeline-step,
.subcollection-card {
  padding: 1.5rem;
}

.category-card ul {
  padding-inline-start: 1.15rem;
  margin: 1rem 0 1.2rem;
  color: var(--text-soft);
}

.category-card li + li {
  margin-top: 0.6rem;
}

.category-card a {
  color: var(--brand);
  font-weight: 700;
}

.section-dark .route-card,
.section-dark .service-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section-dark .service-card p,
.section-dark .route-card p {
  color: rgba(234, 244, 247, 0.76);
}

.page-hero-note {
  align-self: end;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(231, 246, 244, 0.78)),
    rgba(255, 255, 255, 0.82);
}

.page-hero-note strong {
  display: block;
}

.page-hero-note a {
  color: var(--brand);
  font-weight: 700;
}

[dir="rtl"] body {
  font-family: "Cairo", "Segoe UI", sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .eyebrow {
  font-family: "Cairo", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

[dir="rtl"] .language-switcher button,
[dir="rtl"] .language-switcher a {
  letter-spacing: 0;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.anchor-nav a,
.collection-tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 37, 61, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand);
  font-weight: 700;
}

.collection-section {
  display: grid;
  gap: 1.4rem;
}

.collection-intro {
  display: grid;
  gap: 0.9rem;
  max-width: 820px;
}

.collection-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

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

.timeline-step span {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(47, 142, 144, 0.12);
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-panel {
  padding: 1.7rem;
}

.inquiry-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--brand);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17, 37, 61, 0.12);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: rgba(47, 142, 144, 0.48);
  box-shadow: 0 0 0 4px rgba(47, 142, 144, 0.12);
}

.form-status {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.contact-side {
  display: grid;
  gap: 1.2rem;
}

.cta-band {
  padding: 0 0 5rem;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(17, 37, 61, 0.96) 0%, rgba(47, 142, 144, 0.92) 100%);
  color: #f4fafb;
  box-shadow: 0 28px 50px rgba(17, 37, 61, 0.2);
}

.cta-band-inner h2 {
  max-width: 18ch;
  color: #f2fbfb;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-footer {
  padding: 4rem 0 1.8rem;
  color: rgba(240, 247, 249, 0.82);
  background: linear-gradient(180deg, rgba(17, 37, 61, 0.98), rgba(9, 21, 35, 1));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.95fr;
  gap: 1.5rem;
}

.footer-brand img {
  width: min(240px, 100%);
  margin-bottom: 1rem;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #f4fbfb;
}

.footer-grid a {
  display: block;
  color: rgba(228, 242, 245, 0.74);
}

.footer-grid a + a {
  margin-top: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

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

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

@media (max-width: 1100px) {
  .category-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .header-shell {
    flex-wrap: wrap;
    row-gap: 0.85rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .language-switcher {
    margin-inline-start: 0;
    margin-inline-end: auto;
  }

  .site-nav {
    position: fixed;
    top: 133px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(250, 252, 252, 0.96);
    border: 1px solid rgba(17, 37, 61, 0.1);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav > a,
  .nav-cta.button {
    width: 100%;
    justify-content: center;
    margin: 0;
  }

  .hero-grid,
  .page-hero-grid,
  .intro-grid,
  .split-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .page-hero-grid {
    padding: 4rem 0 3rem;
  }

  .cta-band-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.7rem 0;
    text-align: center;
  }

  .section,
  .cta-band {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .category-grid,
  .service-grid,
  .route-grid,
  .timeline,
  .subcollection-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .button,
  .hero-actions,
  .cta-band-actions {
    width: 100%;
  }

  .cta-band-inner {
    padding: 1.5rem;
  }
}

@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;
    scroll-behavior: auto !important;
  }

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