@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/vazirmatn-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C, U+200D;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/vazirmatn-arabic-500.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C, U+200D;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/vazirmatn-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C, U+200D;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/vazirmatn-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/vazirmatn-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --p: #0b4a8b;
  --pd: #073566;
  --a: #22c3c9;
  --ad: #0e7c86;
  --ap: #d6f5f6;
  --bg: #e3ecf5;
  --n0: #f7fafd;
  --n1: #edf3fa;
  --n3: #d2dfec;
  --text: #1b2430;
  --muted: #6e7480;
  --slate: #3a4250;
  --surface: #fff;
  --ok: #178a5e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 41, 74, 0.12);
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body:has(#pal-gold:checked) {
  --p: #6e3b46;
  --pd: #4a242c;
  --a: #c9a24a;
  --ad: #8a6a22;
  --ap: #f6edd6;
  --bg: #f0e0d8;
  --n0: #fbf6f2;
  --n1: #f7eee8;
  --n3: #e4d0c6;
}
body:has(#pal-green:checked) {
  --p: #1d5a35;
  --pd: #123d24;
  --a: #9bd27a;
  --ad: #3d7a32;
  --ap: #e5f6dc;
  --bg: #dfead7;
  --n0: #f5faf2;
  --n1: #eaf3e4;
  --n3: #c9dcc0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; }

.pal { position: absolute; opacity: 0; pointer-events: none; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

.top {
  background: linear-gradient(90deg, #dfeaf6 0%, var(--n1) 50%, var(--ap) 100%);
  border-bottom: 3px solid var(--a);
}
.topbar, .menu {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar { min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.brand img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--a);
}
.brand b { display: block; color: var(--p); font-size: 22px; }
.brand small { color: var(--muted); font-size: 11px; }
.tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool, .login, .searchbox, .menu a, .menu summary {
  border-radius: 999px;
  color: var(--slate);
  font-size: 14px;
}
.tool, .searchbox {
  background: #fff;
  border: 1px solid var(--n3);
  padding: 8px 12px;
}
.login {
  background: var(--p);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
}
.cart { background: var(--a); color: var(--pd); font-weight: 700; border: 0; }
.searchbox { min-width: 220px; color: var(--muted); }
.menu { justify-content: flex-start; gap: 4px 16px; padding-bottom: 10px; flex-wrap: wrap; }
.menu a, .menu summary { padding: 6px 2px; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu details { position: relative; }
.menu details a {
  display: block;
  background: #fff;
  border: 1px solid var(--n3);
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 4px;
}
.menu details[open] { background: #fff; border-radius: 12px; padding: 4px 8px 8px; }

.hero {
  position: relative;
  min-height: 430px;
  background: #9ec4e6 center / cover no-repeat;
  padding: 28px 0 120px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 35%) 0%, transparent 42%, rgb(255 255 255 / 20%) 100%);
}
#tab-flight:checked ~ .hero { background-image: url("img/hero-flight.jpg"); }
#tab-tour:checked ~ .hero { background-image: url("img/hero-tour.jpg"); }
#tab-train:checked ~ .hero { background-image: url("img/hero-train.jpg"); }
#tab-bus:checked ~ .hero { background-image: url("img/hero-bus.jpg"); }
#tab-hotel:checked ~ .hero { background-image: url("img/hero-hotel.webp"); }
#tab-catering:checked ~ .hero { background-image: url("img/hero-catering.jpg"); }
.tabinput { position: absolute; opacity: 0; }
.stage { position: relative; z-index: 1; margin-top: 150px; }
.card {
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tabs label {
  flex: 1;
  text-align: center;
  padding: 14px 6px;
  border-radius: 16px;
  color: var(--slate);
  cursor: pointer;
  font-weight: 700;
}
.tabs label small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
#tab-tour:checked ~ .hero label[for="tab-tour"],
#tab-flight:checked ~ .hero label[for="tab-flight"],
#tab-train:checked ~ .hero label[for="tab-train"],
#tab-bus:checked ~ .hero label[for="tab-bus"],
#tab-hotel:checked ~ .hero label[for="tab-hotel"],
#tab-catering:checked ~ .hero label[for="tab-catering"] {
  background: var(--p);
  color: #fff;
}
#tab-tour:checked ~ .hero label[for="tab-tour"] small,
#tab-flight:checked ~ .hero label[for="tab-flight"] small,
#tab-train:checked ~ .hero label[for="tab-train"] small,
#tab-bus:checked ~ .hero label[for="tab-bus"] small,
#tab-hotel:checked ~ .hero label[for="tab-hotel"] small,
#tab-catering:checked ~ .hero label[for="tab-catering"] small { color: #d7e6f8; }

.panel { display: none; }
#tab-flight:checked ~ .hero .panel-flight,
#tab-tour:checked ~ .hero .panel-tour,
#tab-train:checked ~ .hero .panel-train,
#tab-bus:checked ~ .hero .panel-bus,
#tab-hotel:checked ~ .hero .panel-hotel,
#tab-catering:checked ~ .hero .panel-catering { display: block; }
.fields { display: grid; grid-template-columns: repeat(5, 1fr) 1.15fr; gap: 10px; align-items: end; }
.field { background: var(--n0); border: 1px solid var(--n3); border-radius: 12px; padding: 8px 12px; }
.field span, .field label { display: block; color: var(--muted); font-size: 12px; }
.field b { display: block; margin-top: 4px; }
.go {
  display: flex; align-items: center; justify-content: center;
  min-height: 58px; border-radius: 12px; background: var(--a); color: var(--pd); font-weight: 700;
}
.note { color: var(--muted); margin: 8px 4px 0; }

.landing { padding: 28px 0 48px; }
.section { margin-top: 34px; }
.head, .section h2 { text-align: right; }
.section h2 { margin: 0 0 6px; color: var(--p); font-size: 28px; }
.lead { margin: 0 0 16px; color: var(--muted); }
.chips, .fares, .services, .advantages, .fields, .cols, .tabs, .topbar, .menu { direction: rtl; }
.chips, .fares, .services, .advantages { display: grid; gap: 12px; }
.chips { grid-template-columns: repeat(5, 1fr); }
.chip, .fare, .service, .advantage {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(20, 41, 74, 0.04);
}
.chip { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.mark {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ok); color: #fff; flex: none;
}
.chip b, .fare b { display: block; }
.chip small, .muted { color: var(--muted); font-size: 13px; }
.fares { grid-template-columns: repeat(2, 1fr); }
.fare { padding: 18px 20px; }
.route { font-weight: 700; font-size: 18px; }
.farefoot { display: flex; justify-content: space-between; align-items: end; margin-top: 18px; }
.price { color: var(--p); font-size: 22px; }
.services { grid-template-columns: repeat(4, 1fr); }
.service, .advantage { padding: 18px; }
.service .mark, .advantage .mark { background: var(--p); margin-bottom: 10px; }
.service p, .advantage p { color: var(--slate); line-height: 1.8; min-height: 4.6em; }
.ask { color: var(--p); font-weight: 700; }
.advantages { grid-template-columns: repeat(4, 1fr); }
.advantage { display: flex; gap: 10px; }
.advantage p { min-height: 0; margin: 4px 0 0; }

.footer { background: var(--p); color: #e7f0fa; padding: 36px 0 18px; }
.footer a:hover { text-decoration: underline; }
.cols { display: grid; grid-template-columns: 1.1fr repeat(5, 1fr); gap: 18px; }
.cols b { display: block; margin-bottom: 10px; }
.cols span, .cols a { display: block; margin: 7px 0; color: #d5e4f5; line-height: 1.7; }
.domain { direction: ltr; text-align: right; }
.langs { display: flex; justify-content: flex-start; gap: 8px; border-top: 1px solid rgb(255 255 255 / 25%); margin-top: 18px; padding-top: 14px; }
.langs a, .langs .on {
  background: #fff; color: var(--p); border-radius: 999px; padding: 6px 14px; font-weight: 700;
}
.langs .on { outline: 2px solid var(--a); }

.page { padding: 28px 0 56px; }
.sheet {
  background: var(--surface);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  line-height: 2;
}
.sheet h1 { margin-top: 0; color: var(--p); }
.sheet h2 { color: var(--pd); font-size: 20px; }
.sheet ul { padding-inline-start: 1.2em; }
.crumbs { color: var(--muted); margin-bottom: 12px; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.media-card { background: var(--n0); border-radius: 14px; padding: 16px; }
.kind { color: var(--ad); font-size: 13px; }
.soon { color: var(--muted); font-size: 13px; }

@media (max-width: 980px) {
  .fields, .services, .advantages, .cols { grid-template-columns: 1fr 1fr; }
  .chips, .fares, .media-grid { grid-template-columns: 1fr 1fr; }
  .brand small { display: none; }
}
@media (max-width: 760px) {
  .topbar, .menu, .tabs { align-items: stretch; }
  .topbar { flex-wrap: wrap; padding: 10px 0; }
  .brand { margin-inline-start: 0; }
  .fields, .chips, .fares, .services, .advantages, .cols, .media-grid { grid-template-columns: 1fr; }
  .tabs { overflow: auto; }
  .tabs label { min-width: 92px; }
  .stage { margin-top: 86px; }
  .hero { min-height: 0; padding-bottom: 28px; }
}
