:root {
  --ink: #071a3d;
  --ink-soft: #23345a;
  --muted: #657088;
  --line: #d9dfeb;
  --line-strong: #b9c3d5;
  --paper: #ffffff;
  --band: #f4f7fb;
  --navy: #071a3d;
  --brass: #b88943;
  --brass-deep: #8c6126;
  --success: #0f7a4f;
  --shadow: 0 24px 70px rgba(7, 26, 61, 0.12);
  --radius: 8px;
  --max: 1180px;
  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;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: white;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(217, 223, 235, 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--navy);
  white-space: nowrap;
}

.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.brand-line {
  width: 1px;
  height: 24px;
  background: var(--brass);
}

.brand-sub {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.5rem);
  color: var(--brass-deep);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin-left: auto;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 650;
}

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

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

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

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.hero {
  width: min(1440px, 100%);
  min-height: min(860px, calc(100svh - 148px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  align-self: center;
  max-width: 660px;
  padding: clamp(42px, 7vw, 92px) clamp(24px, 5vw, 78px);
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: clamp(3.65rem, 6.4vw, 5.65rem);
  line-height: 1;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 4.8vw, 4.2rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
  line-height: 1.55;
}

.hero-actions,
.output-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 16px 30px rgba(7, 26, 61, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0b2555;
}

.button-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--brass);
  box-shadow: 0 14px 34px rgba(7, 26, 61, 0.1);
}

.button-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}

.button-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-proof div {
  padding: 16px;
  background: white;
}

.hero-proof dt {
  margin-bottom: 4px;
  color: var(--brass-deep);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-proof dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-media {
  min-height: 560px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.intro-band,
.process,
.faq {
  padding: clamp(70px, 9vw, 118px) 0;
}

.intro-band,
.faq {
  background: var(--band);
}

.section-header {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 44px;
  text-align: center;
}

.section-header.align-left {
  width: min(var(--max), calc(100% - 40px));
  text-align: left;
}

.section-header p,
.experience-copy p,
.saudi p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 245px;
  padding: 26px 22px;
  background: white;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--brass-deep);
  background: #f7efe4;
  border-radius: var(--radius);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.experience {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.experience-media img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border: 3px solid var(--brass);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.process {
  border-top: 1px solid var(--line);
}

.timeline {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.timeline article {
  min-height: 260px;
  padding: 28px 24px 24px 0;
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brass-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.timeline p {
  max-width: 230px;
  color: var(--muted);
  font-size: 0.98rem;
}

.saudi {
  background: var(--navy);
  color: white;
}

.saudi-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 104px) 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}

.saudi h2,
.saudi p {
  color: white;
}

.saudi p {
  opacity: 0.78;
}

.route-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.route-tab {
  min-height: 54px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.route-tab:last-of-type {
  border-right: 0;
}

.route-tab.is-active {
  background: var(--brass);
  color: #160f06;
}

.route-panel p {
  grid-column: 1 / -1;
  min-height: 130px;
  margin: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
}

.contact-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 76px);
}

.contact-copy {
  position: sticky;
  top: 104px;
  align-self: start;
}

address {
  margin-top: 28px;
  color: var(--ink-soft);
  font-style: normal;
}

address a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}

.move-form {
  padding: clamp(22px, 4vw, 38px);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-row {
  margin-bottom: 16px;
}

label,
legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184, 137, 67, 0.18);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
}

fieldset input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
}

.form-submit {
  width: 100%;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-output {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.output-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 850;
}

pre {
  white-space: pre-wrap;
  margin: 0 0 18px;
  padding: 16px;
  color: var(--ink-soft);
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
}

.copy-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 700;
}

.copy-status[data-state="pending"] {
  color: var(--muted);
}

.copy-status[data-state="error"] {
  color: #b42318;
}

.faq-list {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.site-footer {
  padding: 44px 20px 52px;
  color: rgba(255, 255, 255, 0.78);
  background: #051229;
  text-align: center;
}

.site-footer .footer-brand {
  justify-content: center;
  color: white;
}

.site-footer p {
  margin: 16px auto 0;
  max-width: 680px;
}

.footer-small {
  font-size: 0.9rem;
  opacity: 0.72;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .hero-media {
    min-height: 420px;
  }

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

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

  .timeline article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    width: min(100% - 28px, var(--max));
    min-height: 68px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.is-open {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  h1 {
    font-size: clamp(3.35rem, 13vw, 5.4rem);
  }

  .hero-copy {
    padding-inline: 20px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .experience,
  .saudi-inner,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

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

@media (max-width: 640px) {
  .brand-line,
  .brand-sub {
    display: none;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero-actions,
  .output-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .timeline,
  .form-grid,
  fieldset,
  .route-panel {
    grid-template-columns: 1fr;
  }

  .timeline article,
  .timeline article:nth-child(2) {
    min-height: 0;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline article:last-child {
    border-bottom: 0;
  }

  .route-tab {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
