﻿@font-face {
  font-family: "Quicksilver";
  src: url("../fonts/Quicksilver.ttf") format("truetype");
  font-display: swap;
}

:root {
  --navy: #023c59;
  --navy-deep: #012a3f;
  --navy-up: #0a4a68;
  --paper: #efe9df;
  --kraft: #c9a878;
  --ink: #011e2d;
  --line: rgba(239, 233, 223, 0.22);
  --cut: 14px;
  --ar: "Alexandria", Tahoma, sans-serif;
  --en: "Quicksilver", "Alexandria", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
[hidden] { display: none !important; }

body {
  font-family: var(--ar);
  color: var(--paper);
  background: var(--navy) url("../img/bg.jpg") center / cover fixed;
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
.en { font-family: var(--en); letter-spacing: 0.04em; }

/* ===== Ø§Ù„Ù‡ÙŠØ¯Ø± ===== */
.site-header {
  display: flex; align-items: center; gap: 32px;
  width: min(1240px, 100% - 32px); margin-inline: auto;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
/* Ø§Ù„Ø­Ø±ÙˆÙ ØªØ§Ø®Ø° Ù¨Ù Ùª Ù…Ù† Ø§Ø±ØªÙØ§Ø¹ Ø§Ù„Ø£ÙŠÙ‚ÙˆÙ†Ø© (Ø§Ù„Ù…Ø¤Ø´Ø± Ù†Ø§Ø²Ù„ ØªØ­ØªÙ‡Ø§)ØŒ
   ÙˆØ§Ù„Ø§Ø³Ù…: Ø§Ø±ØªÙØ§Ø¹ Ø­Ø±ÙˆÙÙ‡ Ø§Ù„ÙƒØ¨ÙŠØ±Ø© Ù¦Ù Ùª Ù…Ù† Ø§Ù„Ø­Ø±ÙˆÙ ÙˆÙÙŠ Ù†ØµÙ‡Ø§ Ø¨Ø§Ù„Ø¶Ø¨Ø·.
   Quicksilver: Ø§Ù„Ø­Ø±ÙˆÙ Ø§Ù„ÙƒØ¨ÙŠØ±Ø© 0.69emØŒ ÙˆÙ†ØµÙ‡Ø§ Ø¹Ù„Ù‰ 0.55em Ù…Ù† ÙÙˆÙ‚ Ù„Ù…Ø§ line-height = 1 */
.brand { --h: 44px; display: flex; align-items: flex-start; gap: 12px; }
.brand img { height: var(--h); width: auto; }
.brand .en { font-size: calc(var(--h) * 0.802 * 0.6 / 0.69); line-height: 1; margin-top: calc(var(--h) * 0.401 - 0.55em); }
.nav { display: flex; gap: 28px; margin-inline-start: auto; font-size: 14px; }
.nav a { opacity: 0.75; transition: opacity 0.2s; }
.nav a:hover { opacity: 1; }

/* ===== Ø§Ù„Ø£Ø²Ø±Ø§Ø± (Ù…Ù† Ø§Ù„Ø³ØªØ§ÙŠÙ„ Ø§Ù„Ù…Ø¹ØªÙ…Ø¯) ===== */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px;
  font: inherit; font-size: 15px; font-weight: 600;
  color: var(--ink); background: var(--paper);
  border: 0; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--kraft); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.6, 0, 0.2, 1);
}
.btn:hover::before { transform: scaleX(1); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--kraft { background: var(--kraft); }
.btn--kraft::before { background: var(--paper); }
.btn--text { background: none; color: var(--paper); padding: 4px 0; clip-path: none; gap: 8px; border-bottom: 1.5px solid var(--kraft); }
.btn--text::before { display: none; }
.btn--text svg { transition: transform 0.25s ease; }
.btn--text:hover svg { transform: translateX(-5px); }
.btn--sm { padding: 9px 18px; font-size: 13px; --cut: 9px; }
.btn--lg { padding: 18px 38px; font-size: 17px; --cut: 18px; }

/* ===== Ø§Ù„Ù‡ÙŠØ±Ùˆ ===== */
.hero {
  display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 40px;
  width: min(1240px, 100% - 32px); margin-inline: auto;
  min-height: calc(100vh - 85px); padding: 40px 0 64px;
}

.eyebrow { display: block; font-size: 13px; color: var(--kraft); margin-bottom: 22px; }
.hero h1 { display: grid; gap: 6px; line-height: 1.45; }
.hero h1 .light { font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; opacity: 0.85; }
.hero h1 strong { font-size: clamp(34px, 4vw, 54px); font-weight: 800; color: var(--kraft); }
.hero-text p { max-width: 420px; margin: 26px 0 36px; font-size: 16px; font-weight: 300; line-height: 1.9; opacity: 0.8; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.steps { list-style: none; display: flex; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.steps li { flex: 1; padding: 16px 0 0; font-size: 14px; font-weight: 400; display: grid; gap: 2px; }
.steps li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.steps .en { font-size: 13px; color: var(--kraft); }

/* ===== Ø§Ù„Ø®Ø±ÙŠØ·Ø© ===== */
.hero-map { position: relative; }
#map { width: 100%; height: auto; overflow: visible; }
#map .dots { stroke: var(--paper); stroke-opacity: 0.3; stroke-width: 3.2; stroke-linecap: round; }
#map .outline { fill: none; stroke: var(--paper); stroke-opacity: 0.7; stroke-width: 1.4; stroke-linejoin: round; }

#map .route {
  fill: none; stroke: var(--kraft); stroke-width: 2.4;
  stroke-dasharray: 4 7; stroke-linecap: round;
  animation: flow 1.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -22; } }

#map .pkg { fill: var(--paper); }

#map .city .mark { fill: var(--navy); stroke: var(--paper); stroke-width: 2.2; transform: rotate(45deg); }
#map .city text { fill: var(--paper); font-family: var(--ar); font-size: 15px; font-weight: 400; paint-order: stroke; stroke: var(--navy-deep); stroke-width: 4px; stroke-linejoin: round; }

/* Ø¨ÙˆÙ„ÙŠØµØ© Ø§Ù„Ø´Ø­Ù† Ø§Ù„Ø¹Ø§Ø¦Ù…Ø© */
.label {
  position: absolute; right: -1%; bottom: -2%;
  width: 320px; display: grid; grid-template-columns: 1fr auto;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 48px rgba(1, 20, 32, 0.45);
  transform: rotate(-2deg);
}
.label .main { padding: 16px 18px; }
.label .awb { font-size: 11px; opacity: 0.6; }
.label .route { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; margin: 8px 0 12px; line-height: 1.3; }
.label .route .dash { flex: 1; border-top: 2px dashed currentColor; opacity: 0.35; }
.label dl { display: grid; grid-template-columns: repeat(2, auto); gap: 0 18px; font-size: 12px; }
.label dt { opacity: 0.55; }
.label dd { font-weight: 600; }
.label .stub { width: 54px; display: grid; place-items: center; position: relative; background: var(--kraft); border-right: 2px dashed rgba(1, 30, 45, 0.25); }
.label .stub .en { writing-mode: vertical-rl; font-size: 18px; }
.label .stub::before, .label .stub::after { content: ""; position: absolute; right: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); }
.label .stub::before { top: -7px; }
.label .stub::after { bottom: -7px; }

/* ===== Ø§Ù„Ø£Ù‚Ø³Ø§Ù… ===== */
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--navy); }

.section { width: min(1240px, 100% - 32px); margin-inline: auto; padding: 96px 0 0; }
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-head .en { font-size: 13px; color: var(--kraft); order: 2; margin-inline-start: auto; }
.section-head h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; line-height: 1.4; }
.section-head h2 strong { font-weight: 800; }

/* ÙƒÙŠÙ Ù†Ø´ØªØºÙ„ */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.block {
  --cut: 22px;
  background: var(--navy-up); padding: 28px 28px 34px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.block .en { font-size: 15px; color: var(--kraft); }
.block h3 { font-size: 22px; font-weight: 800; margin: 26px 0 8px; }
.block p { font-size: 15px; font-weight: 300; opacity: 0.8; }
.block--paper { background: var(--paper); color: var(--ink); }
.block--paper .en { color: var(--navy); }

/* Ù„Ù…ÙŠÙ† ÙƒÙ„ÙŠÙƒÙ…Ù†Øª */
.who { display: grid; grid-template-columns: 1fr 1fr; }
.side { padding: 44px 40px; background: var(--navy-deep); display: grid; align-content: start; gap: 18px; }
.side--paper { background: var(--paper); color: var(--ink); }
.side .tag { font-size: 13px; font-weight: 600; color: var(--kraft); }
.side--paper .tag { color: var(--navy); }
.side h3 { font-size: 30px; font-weight: 800; line-height: 1.3; }
.side ul { list-style: none; display: grid; gap: 12px; margin-bottom: 14px; font-weight: 300; }
.side li { display: flex; gap: 12px; align-items: baseline; }
.side li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--kraft); transform: rotate(45deg) translateY(-2px); }
.side .btn { justify-self: start; }

/* ØªØªØ¨Ø¹ */
.track-box { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid var(--line); }
.track-form { display: grid; gap: 24px; padding: 36px; align-content: center; background: rgba(1, 42, 63, 0.6); }
.track-form .btn { justify-self: start; }
.field { display: grid; gap: 8px; font-size: 13px; opacity: 0.9; }
.field input {
  font: inherit; font-size: 16px; color: var(--paper); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--line); padding: 8px 0; transition: border-color 0.2s;
}
.field input:focus { outline: 0; border-color: var(--kraft); }
.field input::placeholder { color: var(--paper); opacity: 0.35; }

.track-line { padding: 36px; background: var(--navy-deep); display: grid; align-content: center; }
.track-head { display: flex; justify-content: space-between; margin-bottom: 30px; font-weight: 300; }
.track-head b { font-weight: 400; }
.track-head .status { color: var(--kraft); font-size: 13px; }
.track-line ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.track-line li { position: relative; padding-top: 26px; font-size: 14px; opacity: 0.45; }
.track-line li::before { content: ""; position: absolute; top: 4px; right: 0; width: 11px; height: 11px; background: var(--navy-up); border: 2px solid var(--paper); transform: rotate(45deg); z-index: 1; }
.track-line li::after { content: ""; position: absolute; top: 10px; right: 0; left: 0; height: 2px; background: var(--line); }
.track-line li.done, .track-line li.now { opacity: 1; }
.track-line li.done::before { background: var(--kraft); border-color: var(--kraft); }
.track-line li.done::after { background: var(--kraft); }
.track-line li.now::before { background: var(--paper); }

/* Ø§Ù„Ø´Ø±ÙƒØ§Ø¡ */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.partner { display: grid; grid-template-rows: auto 1fr; background: var(--navy-deep); }
.partner .logo {
  --cut: 18px;
  height: 140px; display: grid; place-items: center; padding: 28px;
  background: var(--paper);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.partner .logo img { width: 68%; max-height: 48px; }
.partner .info { padding: 24px 26px 28px; display: grid; align-content: start; gap: 8px; }
.partner h3 { font-size: 20px; font-weight: 800; }
.partner p { font-size: 14px; font-weight: 300; line-height: 1.9; opacity: 0.8; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips li { font-size: 12px; padding: 3px 12px; border: 1px solid var(--kraft); color: var(--kraft); }

.partner--empty { background: transparent; border: 1px dashed var(--line); }
.partner--empty .logo { background: transparent; border-bottom: 1px dashed var(--line); clip-path: none; }
.partner--empty .logo span { font-size: 13px; opacity: 0.45; }
.partner--empty .info { opacity: 0.5; }

/* Ø£Ø³Ø¦Ù„Ø© */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--en); font-size: 22px; color: var(--kraft); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; font-weight: 300; opacity: 0.75; max-width: 640px; }

/* Ø§Ù„Ø¨Ø§Ù†Ø± */
.cta {
  --cut: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 56px; background: var(--kraft); color: var(--ink);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.cta .en { font-size: 14px; color: var(--navy); }
.cta h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; line-height: 1.3; }
.cta h2 strong { font-weight: 800; }
.cta .btn { background: var(--ink); color: var(--paper); }
.cta .btn::before { background: var(--navy); }

/* Ø§Ù„ÙÙˆØªØ± */
.site-footer {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  width: min(1240px, 100% - 32px); margin: 96px auto 0; padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}
.site-footer .nav { display: flex; }
.site-footer .copy { font-size: 12px; opacity: 0.5; }

/* ===== Ø§Ù„Ø¬ÙˆØ§Ù„ ===== */
@media (max-width: 900px) {
  .how, .who, .track-box { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .side, .track-form, .track-line { padding: 30px 22px; }
  .track-line li { font-size: 12px; }
  .cta { padding: 36px 24px; }
  .section { padding-top: 72px; }
  .site-footer .nav { flex-wrap: wrap; gap: 16px; }
  .nav { display: none; }
  .site-header .btn { margin-inline-start: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .label { position: relative; left: auto; bottom: auto; margin: -20px auto 0; }
  .steps { margin-top: 40px; }
}

/* ===== Ø§Ù„Ø­Ø±ÙƒØ© ===== */

/* Ù‡ÙŠØ¯Ø± Ø«Ø§Ø¨Øª ÙŠØªØ¹Ø¨Ù‰ Ø®Ù„ÙÙŠØªÙ‡ Ø¨Ø¹Ø¯ Ø§Ù„Ø³ÙƒØ±ÙˆÙ„ */
.site-header { position: sticky; top: 0; z-index: 20; isolation: isolate; transition: padding 0.3s ease, border-color 0.3s; }
.site-header::before {
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background: rgba(1, 42, 63, 0.92); border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.3s;
}
.site-header.scrolled { padding: 12px 0; border-color: transparent; }
.site-header.scrolled::before { opacity: 1; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: rotate(45deg) scale(0); } to { transform: rotate(45deg) scale(1); } }
@keyframes drop { from { opacity: 0; translate: 0 -48px; } }

/* Ø¯Ø®Ù„Ø© Ø§Ù„Ù‡ÙŠØ±Ùˆ */
.hero-text > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: 0.1s; }
.hero-text > :nth-child(3) { animation-delay: 0.2s; }
.hero-text > :nth-child(4) { animation-delay: 0.3s; }
.hero-text > :nth-child(5) { animation-delay: 0.4s; }

#map .dots { animation: appear 1.4s 0.2s both; }
#map .outline { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s 0.1s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
#map .route { opacity: 0; animation: appear 0.5s var(--d) forwards, flow 1.6s linear infinite; transition: stroke-opacity 0.3s, stroke 0.3s, stroke-width 0.3s; }
#map .pkg { opacity: 0; animation: appear 0.4s 2.2s forwards; }
#map .city { animation: appear 0.4s var(--d) both; cursor: pointer; }
#map .city .mark { transform-box: fill-box; transform-origin: center; animation: pop 0.5s var(--d) cubic-bezier(0.3, 1.6, 0.5, 1) both; transition: fill 0.3s; }
#map .city text { transition: opacity 0.3s; }
#map .city .hit { fill: transparent; }

/* Ù„Ù…Ø§ ØªØ£Ø´Ø± Ø¹Ù„Ù‰ Ù…Ø¯ÙŠÙ†Ø© */
#map.focus .route { stroke-opacity: 0.15; }
#map.focus .route.on { stroke-opacity: 1; stroke: var(--paper); stroke-width: 3; }
#map.focus .city:not(.on) text, #map.focus .city:not(.on) .mark { opacity: 0.3; }
#map.focus .city.on .mark { fill: var(--kraft); }

/* Ø§Ù„ØªØ°ÙƒØ±Ø©: ØªÙ†Ø²Ù„ ÙÙŠ Ø§Ù„Ø¨Ø¯Ø§ÙŠØ© ÙˆØªÙ…ÙŠÙ„ Ù…Ø¹ Ø§Ù„Ù…Ø§ÙˆØ³ */
.label {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-2deg);
  transition: transform 0.4s ease-out;
  animation: drop 1s 1.5s cubic-bezier(0.2, 0.8, 0.3, 1.15) both;
}
#ticket-status { transition: opacity 0.25s, transform 0.25s; }
#ticket-status.swap { opacity: 0; transform: translateY(-5px); }

/* Ø´Ø±ÙŠØ· Ø§Ù„Ù…Ø¯Ù† */
.marquee {
  width: 104vw; margin: 8px -2vw 0; overflow: hidden;
  background: var(--kraft); color: var(--ink); padding: 14px 0;
  transform: rotate(-1.2deg);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee span { display: flex; align-items: center; font-size: 20px; font-weight: 800; white-space: nowrap; }
.marquee span::after { content: ""; width: 8px; height: 8px; margin-inline: 34px; background: var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(50%); } }

/* Ø£Ø±Ù‚Ø§Ù… Ø§Ù„Ø®Ø·ÙˆØ§Øª Ø§Ù„ÙƒØ¨ÙŠØ±Ø© */
.how .block .en { display: block; font-size: 52px; line-height: 1; }
.how .block h3 { margin-top: 30px; }

/* Ø¸Ù‡ÙˆØ± Ø§Ù„Ø£Ù‚Ø³Ø§Ù… Ù…Ø¹ Ø§Ù„Ø³ÙƒØ±ÙˆÙ„ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.reveal.in { opacity: 1; transform: none; }

/* Ø®Ø· Ø§Ù„ØªØªØ¨Ø¹ ÙŠØªØ¹Ø¨Ù‰ Ø®Ø·ÙˆØ© Ø®Ø·ÙˆØ© */
.track-line li::before, .track-line li::after { transition: background 0.4s, border-color 0.4s; }
.track-line:not(.in) li.done::before { background: var(--navy-up); border-color: var(--paper); }
.track-line:not(.in) li.done::after { background: var(--line); }
.track-line:not(.in) li.now::before { background: var(--navy-up); }
.track-line.in li:nth-child(1)::before, .track-line.in li:nth-child(1)::after { transition-delay: 0.6s; }
.track-line.in li:nth-child(2)::before, .track-line.in li:nth-child(2)::after { transition-delay: 1.1s; }
.track-line.in li:nth-child(3)::before { transition-delay: 1.6s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #map .route, #map .pkg { opacity: 1; }
  #map .outline { stroke-dashoffset: 0; }
}

/* ===== ØµÙØ­Ø© Ø§Ù„Ø£Ø³Ø¹Ø§Ø± ===== */
.nav a.active { opacity: 1; color: var(--kraft); }

.page-hero { width: min(1240px, 100% - 32px); margin-inline: auto; padding: 88px 0 8px; }
.page-hero > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.page-hero > :nth-child(2) { animation-delay: 0.1s; }
.page-hero > :nth-child(3) { animation-delay: 0.2s; }
.page-hero h1 { display: grid; gap: 6px; line-height: 1.45; }
.page-hero h1 .light { font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; opacity: 0.85; }
.page-hero h1 strong { font-size: clamp(34px, 4vw, 54px); font-weight: 800; color: var(--kraft); }
.page-hero p { margin-top: 16px; font-weight: 300; opacity: 0.8; }
.section--tight { padding-top: 48px; }

.field select {
  font: inherit; font-size: 16px; color: var(--paper); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--line); padding: 8px 0; cursor: pointer;
}
.field select:focus { outline: 0; border-color: var(--kraft); }
.field select option { color: var(--ink); }

/* Ø§Ù„Ø­Ø§Ø³Ø¨Ø© */
.calc { display: grid; grid-template-columns: 0.8fr 1.2fr; }
.calc-form { display: grid; gap: 26px; align-content: center; padding: 40px; background: rgba(1, 42, 63, 0.7); border: 1px solid var(--line); border-inline-end: 0; }
.calc-results { --cut: 22px; background: var(--paper); color: var(--ink); padding: 32px 34px; display: grid; gap: 12px; align-content: start; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.calc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.calc-head .dash { flex: 1; min-width: 40px; border-top: 2px dashed currentColor; opacity: 0.35; }
.calc-head small { flex-basis: 100%; font-size: 13px; font-weight: 400; opacity: 0.6; }

.quote { position: relative; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid rgba(1, 30, 45, 0.15); transition: border-color 0.2s; }
.quote.best { border-color: var(--kraft); border-width: 2px; background: rgba(201, 168, 120, 0.12); }
.q-logo img { width: 100%; max-height: 26px; }
.q-info { display: grid; }
.q-info b { font-weight: 800; }
.q-info small { font-size: 12px; opacity: 0.6; }
.q-price { font-size: 24px; font-weight: 800; }
.q-price small, .rates small { font-size: 12px; font-weight: 400; opacity: 0.6; }
.q-tag { position: absolute; top: -11px; left: 16px; font-size: 11px; font-weight: 600; padding: 1px 10px; background: var(--kraft); color: var(--ink); }

/* Ø¬Ø¯ÙˆÙ„ Ø§Ù„Ø£Ø³Ø¹Ø§Ø± */
.rates-wrap { overflow-x: auto; border: 1px solid var(--line); }
.rates { width: 100%; border-collapse: collapse; min-width: 560px; }
.rates th, .rates td { padding: 16px 18px; text-align: right; border-bottom: 1px solid var(--line); }
.rates thead th { font-size: 13px; font-weight: 400; opacity: 0.7; background: rgba(1, 42, 63, 0.7); }
.rates thead tr:first-child th { font-size: 16px; font-weight: 800; opacity: 1; color: var(--kraft); }
.rates thead tr:first-child th[colspan] { border-inline-start: 1px solid var(--line); }
.rates tbody td { font-size: 16px; font-weight: 600; background: rgba(1, 42, 63, 0.35); }
.rates tbody td:first-child { font-weight: 400; opacity: 0.85; }
.rates tbody tr:hover td { background: rgba(201, 168, 120, 0.08); }
.rates tr.eta td { font-size: 14px; font-weight: 400; border-bottom: 0; }
.rates-note { margin-top: 14px; font-size: 13px; font-weight: 300; opacity: 0.6; }

@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc-form { border-inline-end: 1px solid var(--line); border-bottom: 0; padding: 28px 22px; }
  .calc-results { padding: 26px 20px; }
  .quote { grid-template-columns: 84px 1fr auto; gap: 12px; }
  .page-hero { padding-top: 56px; }
}

/* ===== ØµÙØ­Ø© Ø¥Ù†Ø´Ø§Ø¡ Ø§Ù„Ø´Ø­Ù†Ø© ===== */
.ship { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: start; }

.ship-form, .ship-done { background: rgba(1, 42, 63, 0.72); border: 1px solid var(--line); padding: 36px 40px 32px; }

.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 34px; }
.stepper li { position: relative; padding-top: 26px; font-size: 14px; display: grid; opacity: 0.45; transition: opacity 0.3s; }
.stepper li .en { font-size: 12px; color: var(--kraft); }
.stepper li::before { content: ""; position: absolute; top: 4px; right: 0; width: 11px; height: 11px; background: var(--navy-up); border: 2px solid var(--paper); transform: rotate(45deg); z-index: 1; transition: background 0.3s, border-color 0.3s; }
.stepper li::after { content: ""; position: absolute; top: 10px; right: 0; left: 0; height: 2px; background: var(--line); transition: background 0.3s; }
.stepper li.done, .stepper li.now { opacity: 1; }
.stepper li.done { cursor: pointer; }
.stepper li.done::before { background: var(--kraft); border-color: var(--kraft); }
.stepper li.done::after { background: var(--kraft); }
.stepper li.now::before { background: var(--paper); }

.step { border: 0; display: grid; gap: 22px; animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.step[hidden] { display: none; }
.step legend { font-size: 24px; font-weight: 300; margin-bottom: 6px; padding: 0; }
.step legend strong { font-weight: 800; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.field textarea {
  font: inherit; font-size: 16px; color: var(--paper); background: transparent; resize: vertical;
  border: 0; border-bottom: 1.5px solid var(--line); padding: 8px 0;
}
.field textarea:focus { outline: 0; border-color: var(--kraft); }
.field input:invalid:not(:placeholder-shown):not(:focus) { border-color: #e59a8c; }

/* ÙƒØ±ÙˆØª Ø§Ù„Ø§Ø®ØªÙŠØ§Ø± */
.choices { display: grid; gap: 12px; }
.choices--4 { grid-template-columns: repeat(4, 1fr); }
.choice { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span {
  position: relative; display: grid; place-items: center; height: 100%; padding: 14px;
  border: 1.5px solid var(--line); font-weight: 600; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.choice:hover > span { border-color: rgba(239, 233, 223, 0.5); }
.choice input:checked + span { border-color: var(--kraft); background: var(--kraft); color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 2px; }

.choice--company > span {
  grid-template-columns: 130px 1fr auto; grid-template-rows: auto auto; place-items: center start;
  column-gap: 20px; padding: 18px 22px; background: var(--paper); color: var(--ink); border-color: transparent;
}
.choice--company img { grid-row: span 2; width: 100%; max-height: 28px; }
.choice--company b { font-weight: 800; }
.choice--company small { font-size: 12px; font-weight: 400; opacity: 0.6; grid-column: 2; }
.choice--company em { grid-row: 1 / span 2; grid-column: 3; font-style: normal; font-size: 22px; font-weight: 800; }
.choice--company em small { font-size: 12px; }
.choice--company .q-tag { font-style: normal; }
.choice--company input:checked + span { background: var(--paper); box-shadow: inset 0 0 0 3px var(--kraft); }

.review { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 6px; }
.review div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.review dt { opacity: 0.55; }

.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.step-nav #next, .step-nav #submit { margin-inline-start: auto; }
.step-nav .btn--text svg { transform: none; }
.step-nav .btn--text:hover svg { transform: translateX(5px); }
.msg { min-height: 1.5em; margin-top: 12px; font-size: 14px; }

/* Ø§Ù„Ø¨ÙˆÙ„ÙŠØµØ© Ø§Ù„Ø­ÙŠØ© */
.waybill-wrap { position: sticky; top: 110px; }
.waybill {
  --cut: 22px;
  background: var(--paper); color: var(--ink); padding: 26px 26px 22px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
  transform: rotate(-1.5deg); box-shadow: 0 30px 60px rgba(1, 20, 32, 0.45);
}
.wb-top { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.wb-logo { height: 26px; }
.wb-top .en { font-size: 15px; }
.wb-top .wb-awb { margin-inline-start: auto; font-size: 11px; opacity: 0.6; }
.wb-route { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px dashed rgba(1, 30, 45, 0.3); }
.wb-route > div { display: grid; min-width: 0; }
.wb-route small { font-size: 11px; opacity: 0.55; }
.wb-route b { font-size: 24px; font-weight: 800; line-height: 1.3; }
.wb-route span:not(.dash) { font-size: 13px; opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-route .dash { flex: 1; min-width: 30px; border-top: 2px dashed currentColor; opacity: 0.35; }
.wb-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 0; }
.wb-meta dt { font-size: 11px; opacity: 0.55; }
.wb-meta dd { font-weight: 600; }
.wb-meta dd small { font-size: 11px; opacity: 0.6; }
.wb-barcode {
  height: 54px; margin-top: 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 14px);
}

/* Ø¨Ø¹Ø¯ Ø§Ù„Ø¥Ù†Ø´Ø§Ø¡ */
.ship-done { display: grid; gap: 10px; }
.ship-done[hidden] { display: none; }
.ship-done .en { font-size: 28px; color: var(--kraft); }
.ship-done h2 { font-size: 32px; font-weight: 300; }
.ship-done h2 strong { font-weight: 800; }
.ship-done p { font-weight: 300; opacity: 0.8; margin-bottom: 14px; }

@media (max-width: 900px) {
  .ship { grid-template-columns: 1fr; }
  .waybill-wrap { position: static; }
  .waybill { transform: none; padding: 18px 18px 16px; }
  .wb-barcode { height: 34px; }
  .wb-route b { font-size: 20px; }
  .ship-form, .ship-done { padding: 26px 20px; }
  .grid2 { grid-template-columns: 1fr; }
  .grid4, .choices--4 { grid-template-columns: 1fr 1fr; }
  .stepper li { font-size: 12px; }
  .choice--company > span { grid-template-columns: 84px 1fr auto; column-gap: 12px; padding: 14px; }
}
.done-carrier { padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 14px; }
.done-carrier[hidden] { display: none; }
.done-carrier dt { font-size: 12px; opacity: 0.6; }
.done-carrier dd { font-size: 22px; }

/* ===== ØªÙØ§Ø¹Ù„ Ø§Ù„Ø®Ø±ÙŠØ·Ø© Ø¹Ù„Ù‰ Ø§Ù„Ø¬ÙˆØ§Ù„ + Ø§Ù„ØªØ°ÙƒØ±Ø© ===== */
#map .city.picked text { fill: var(--kraft); font-weight: 800; }
#map .city.picked .mark { fill: var(--kraft); stroke: var(--kraft); }
#ticket-company { transition: opacity 0.25s, transform 0.25s; }
#ticket-company.swap { opacity: 0; transform: translateY(-5px); }
.map-hint { display: none; text-align: center; font-size: 13px; font-weight: 300; opacity: 0.7; margin-top: 4px; }
.map-hint::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 8px; background: var(--kraft); transform: rotate(45deg); }
@media (hover: none) { .map-hint { display: block; } }

/* ===== ØªØ­Ø³ÙŠÙ†Ø§Øª Ø§Ù„Ø¬ÙˆØ§Ù„ ===== */
.site-header .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .site-header { gap: 12px; padding: 16px 0; }
  .brand { --h: 34px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .section-head .en { order: -1; margin-inline-start: 0; }
  #map .city text { font-size: 18px; }
  #map .route { stroke-width: 3.2; }
  #map .city .mark { stroke-width: 3; }
  .label { margin-top: 12px; }
  .hero-map { margin-inline: -8px; }
}
@media (max-width: 420px) {
  .brand { --h: 30px; gap: 9px; }
  .site-header .btn { padding: 8px 14px; }
}
@media (max-width: 600px) {
  #map .city text { font-size: 24px; }
}

/* Ø®Ù„ÙÙŠØ© Ø§Ù„Ø¬ÙˆØ§Ù„ ÙˆØ§Ù„ØªØ§Ø¨Ù„Øª (Ø·ÙˆÙ„ÙŠØ©). iOS Ù…Ø§ ÙŠØ¯Ø¹Ù… fixedØŒ ÙÙ†Ø«Ø¨ØªÙ‡Ø§ Ø¨Ø·Ø¨Ù‚Ø© Ø®Ù„Ù Ø§Ù„ØµÙØ­Ø© */
@media (max-width: 900px), (orientation: portrait) {
  body { background: var(--navy); }
  body::before {
    content: ""; position: fixed; inset: 0; z-index: -1;
    background: var(--navy) url("../img/bg-mobile.jpg") center / cover no-repeat;
  }
}

/* ===== الدخول والتسجيل ===== */
.nav-login { font-size: 14px; font-weight: 600; opacity: 0.85; white-space: nowrap; }
.nav-login:hover { opacity: 1; color: var(--kraft); }
.site-header .nav + .nav-login { margin-inline-start: 0; }

.auth {
  width: min(1240px, 100% - 32px); margin: 0 auto; padding: 64px 0 96px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 56px; align-items: center;
}
.auth-card { background: rgba(1, 42, 63, 0.72); border: 1px solid var(--line); padding: 40px 44px; }
.auth-card h1 { display: grid; gap: 4px; line-height: 1.45; margin-bottom: 28px; }
.auth-card h1 .light { font-size: 22px; font-weight: 300; opacity: 0.85; }
.auth-card h1 strong { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: var(--kraft); }
.auth-form { display: grid; gap: 22px; }

.choices--2 { grid-template-columns: 1fr 1fr; }
.choices--2 .choice > span { display: grid; gap: 2px; padding: 14px 10px; text-align: center; }
.choices--2 .choice small { font-size: 12px; font-weight: 300; opacity: 0.75; }

.pw { position: relative; display: block; }
.pw input { width: 100%; padding-right: 64px; }
.pw-toggle {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--kraft); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; padding: 6px 0;
}
.field input[dir="ltr"] { text-align: left; }
.field input[dir="ltr"]::placeholder { text-align: left; }

.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.strength i { height: 4px; background: var(--line); transition: background 0.25s; }
.strength[data-score="1"] i:nth-child(-n+1) { background: #e59a8c; }
.strength[data-score="2"] i:nth-child(-n+2) { background: #e2b86b; }
.strength[data-score="3"] i:nth-child(-n+3) { background: var(--kraft); }
.strength[data-score="4"] i { background: #8be3a5; }
.hint { font-size: 12px; font-weight: 300; opacity: 0.6; }

.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--kraft); }
.link { color: var(--kraft); font-size: 14px; }
.link:hover { text-decoration: underline; }

.turnstile { min-height: 65px; }
.btn--block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn:disabled::before { display: none; }
.msg.ok { color: #8be3a5; }
.msg.err { color: #ffb4a8; }
.auth-switch { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 300; }
.auth-switch a { color: var(--kraft); font-weight: 600; }

.auth-side { display: grid; gap: 28px; justify-items: start; }
.auth-side p { font-size: 18px; font-weight: 300; opacity: 0.85; max-width: 380px; }
.auth-side .label { position: relative; right: auto; bottom: auto; width: 340px; }
.auth-steps { list-style: none; display: grid; gap: 14px; }
.auth-steps li { display: flex; gap: 16px; align-items: baseline; font-size: 20px; font-weight: 600; }
.auth-steps .en { color: var(--kraft); font-size: 15px; }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; padding: 32px 0 64px; }
  .auth-side { display: none; }
  .auth-card { padding: 28px 20px; }
}
@media (max-width: 420px) {
  .nav-login { font-size: 13px; }
}
@media (max-width: 900px) {
  .nav-login { margin-inline-start: auto; }
  .site-header .nav-login + .btn { margin-inline-start: 0; }
}

/* شركة ما تقبل الوزن */
.quote.off, .choice--company.off { opacity: 0.45; }
.choice--company.off { cursor: not-allowed; }
.q-price small, .choice--company em small { font-size: 13px; font-weight: 600; opacity: 0.8; }
.rates td.na { font-size: 13px; font-weight: 400; opacity: 0.5; }
.rates td.rule { font-size: 12px; font-weight: 300; white-space: normal; line-height: 1.7; max-width: 260px; }
