:root {
  --brand: #e0161d;
  --brand-dark: #b90f15;
  --brand-soft: rgba(224, 22, 29, 0.12);
  --ink: #1a1a1a;
  --ink-soft: #555;
  --line: #e6e6e6;
  --bg: #f6f7f9;
  --bg-alt: #eef0f4;
  --card: #ffffff;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.14);
  --radius: 14px;
  --radius-sm: 9px;
  --nav-h: 80px;
  --font: 'Poppins', 'Cairo', system-ui, -apple-system, Segoe UI, sans-serif;
}

html[data-mode='dark'] {
  --ink: #f2f2f2;
  --ink-soft: #b3b3b3;
  --line: #2a2a2e;
  --bg: #131316;
  --bg-alt: #1b1b1f;
  --card: #1e1e23;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.6);
}

html[dir='rtl'] body { font-family: 'Cairo', 'Poppins', sans-serif; }

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 0.6em; color: var(--ink-soft); }
button { font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.icon { width: 20px; height: 20px; }
.icon--stroke { flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(224,22,29,0.35); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; }
.btn--lg { padding: 14px 30px; font-size: 1rem; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
html[data-mode='dark'] .navbar { background: var(--bg); }
.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.navbar__left { display: flex; justify-content: flex-start; }
.navbar__brand { display: flex; align-items: center; }
.navbar__logo { height: 62px; width: auto; object-fit: contain; }
.navbar__nav { display: flex; gap: 22px; justify-content: center; }
.navbar__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
}
.navbar__link:hover { color: var(--brand); }
.navbar__link.is-active { color: var(--brand); }
.navbar__link.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.navbar__right { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.mode-switch { background: none; border: 0; padding: 0; cursor: pointer; }
.mode-switch__track {
  width: 58px; height: 30px; border-radius: 999px; display: block; position: relative;
  background: linear-gradient(135deg, #8ec5ff, #cfe6ff); transition: background 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
}
html[data-mode='dark'] .mode-switch__track { background: linear-gradient(135deg, #1b2a4a, #0d1526); }
.mode-switch__knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; color: #f59e0b;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
html[data-mode='dark'] .mode-switch__knob { transform: translateX(28px); background: #e8edff; color: #3b5bdb; }
html[dir='rtl'] .mode-switch__knob { left: auto; right: 3px; }
html[dir='rtl'][data-mode='dark'] .mode-switch__knob { transform: translateX(-28px); }
.mode-switch__knob svg { width: 15px; height: 15px; }
.mode-switch__moon { display: none; }
html[data-mode='dark'] .mode-switch__sun { display: none; }
html[data-mode='dark'] .mode-switch__moon { display: block; }
.navbar__burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; }
.navbar__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

.hero { position: relative; overflow: hidden; background: #0a1b3d; color: #fff; }
.hero__bg { position: absolute; inset: 0; background: #0a1b3d; overflow: hidden; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,12,30,0.58) 0%, rgba(4,12,30,0.30) 34%, rgba(4,12,30,0.45) 66%, rgba(4,12,30,0.86) 100%),
    radial-gradient(900px 520px at 72% 32%, rgba(255,157,77,0.22), transparent 62%);
}
.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 62vh; padding: 120px 20px 110px; text-align: center;
}

.hero__slider { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.06);
  transition: opacity 1s ease, transform 6s ease;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero--banners::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,12,30,0.55) 0%, rgba(4,12,30,0.28) 34%, rgba(4,12,30,0.45) 66%, rgba(4,12,30,0.86) 100%);
}
.hero__slider-dots {
  position: absolute; top: 16px; inset-inline-end: 18px; z-index: 3;
  display: flex; gap: 8px;
}
.hero__dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, 0.45); transition: background 0.25s ease, transform 0.25s ease;
}
.hero__dot.is-active { background: #fff; transform: scale(1.25); }
.hero--banners .hero__content { z-index: 2; }
.hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); letter-spacing: -0.01em; margin-bottom: 26px;
}
.hero__subtitle {
  color: rgba(255,255,255,0.92); font-size: 1.12rem; max-width: 680px; margin: 0 auto 30px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  color: #fff; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.hero__chip .icon { width: 18px; height: 18px; }
.hero__chip:hover {
  transform: translateY(-3px); background: var(--brand);
  border-color: var(--brand); box-shadow: 0 10px 24px rgba(224, 22, 29, 0.4);
}

@media (max-width: 760px) {
  .hero__img { object-position: center 58%; }
  .hero__content { min-height: 68vh; padding: 96px 18px 90px; }
  .hero__chips { gap: 8px; margin-top: 20px; }
  .hero__chip { padding: 8px 14px; font-size: 0.82rem; }
}
.hero__search {
  display: flex; gap: 10px; max-width: 620px; margin: 0 auto;
  background: var(--card); padding: 10px; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.hero__search input {
  flex: 1; border: 0; background: transparent; padding: 10px 18px; font-size: 1rem;
  color: var(--ink); outline: none;
}
.hero__search .btn { border-radius: 999px; padding: 12px 26px; }

.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--why {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #e3e7ee 100%);
  padding-top: 76px;
}
html[data-mode='dark'] .section--why { background: linear-gradient(180deg, var(--bg-alt) 0%, #16161a 100%); }
.section--why .why-card { background: var(--card); }
.section__head { text-align: center; margin-bottom: 40px; }
.section__head h2 { font-size: 2rem; font-weight: 800; position: relative; display: inline-block; }
.section__head h2::after {
  content: ''; display: block; width: 54px; height: 4px; border-radius: 4px;
  background: var(--brand); margin: 14px auto 0;
}
.section__head p { max-width: 620px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.trips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.trip-card {
  position: relative; overflow: hidden; display: block;
  height: 300px; border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.trip-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.trip-card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), rgba(124, 58, 237, 0.18));
  color: var(--brand);
}
.trip-card__placeholder .icon { width: 56px; height: 56px; }
.trip-card__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0.35) 58%, rgba(0, 0, 0, 0.82) 100%);
  transition: background 0.3s ease;
}
.trip-card__body {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 22px 24px; display: flex; flex-direction: column; gap: 6px;
  color: #fff; transform: translateY(0); transition: transform 0.3s ease;
}
.trip-card__body h3 {
  font-size: 1.35rem; font-weight: 800; margin: 0; color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.trip-card__cta {
  font-size: 0.9rem; font-weight: 700; color: #fff; opacity: 0.9;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.25s ease, opacity 0.25s ease;
}
.trip-card:hover { transform: translateY(-8px); box-shadow: 0 26px 55px rgba(0, 0, 0, 0.28); }
.trip-card:hover .trip-card__img { transform: scale(1.08); }
.trip-card:hover .trip-card__shade { background: linear-gradient(180deg, rgba(224, 22, 29, 0) 28%, rgba(224, 22, 29, 0.35) 56%, rgba(0, 0, 0, 0.88) 100%); }
.trip-card:hover .trip-card__cta { gap: 10px; opacity: 1; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 28px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; display: block; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.07); }
.card__placeholder { height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #1a1a1a, #333); color: #fff; font-weight: 800; letter-spacing: 3px; }
.card__placeholder--lg { aspect-ratio: 3 / 2; border-radius: var(--radius); }

.card__rotator { position: absolute; inset: 0; }
.card__rotator-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease, transform 0.7s ease;
}
.card__rotator-img.is-active { opacity: 1; }
.card:hover .card__rotator-img.is-active { transform: scale(1.06); }
.card__count {
  position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  background: rgba(0,0,0,0.6); color: #fff; backdrop-filter: blur(4px);
}
.card__count svg { width: 14px; height: 14px; }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.32rem; margin: 0; }
.card__title a:hover { color: var(--brand); }
.card__bio { font-size: 0.98rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }

.badge { position: absolute; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #fff; }
.badge--featured { left: 12px; background: var(--brand); }
.badge--offer { right: 12px; background: #0f7b3f; }
.badge--soft { left: 12px; top: 46px; background: #7c3aed; }
html[dir='rtl'] .badge--featured { left: auto; right: 12px; }
html[dir='rtl'] .badge--offer { right: auto; left: 12px; }
html[dir='rtl'] .badge--soft { left: auto; right: 12px; }

.price { display: flex; flex-direction: column; line-height: 1.15; }
.price__now { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.price__now--lg { font-size: 2rem; }
.price__old { text-decoration: line-through; color: var(--ink-soft); font-size: 0.85rem; }
.price__label { font-size: 0.78rem; color: var(--ink-soft); }
.price__save { color: #0f7b3f; font-weight: 600; font-size: 0.85rem; }
.price__native { font-size: 0.76rem; color: var(--ink-soft); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1); }
.why-card__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
  margin: 0 auto 16px; box-shadow: 0 8px 20px rgba(224, 22, 29, 0.28);
}
.why-card__icon .icon { width: 30px; height: 30px; }
.why-card h3 { font-size: 1.1rem; }
.why-card p { font-size: 0.9rem; margin: 0; }

.page-head { padding: 34px 0 10px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head__title { font-size: 1.9rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 10px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-tab {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); background: var(--card);
}
.filter-tab:hover { border-color: var(--brand); color: var(--brand); }
.filter-tab.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

.hotel-menu {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin-bottom: 24px; align-items: end;
}
.hotel-menu__field { display: flex; flex-direction: column; gap: 6px; }
.hotel-menu__label {
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.hotel-menu__field select {
  width: 100%; padding: 11px 34px 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center / 16px;
  color: var(--ink); font-family: inherit; font-size: 0.92rem; font-weight: 600;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html[dir='rtl'] .hotel-menu__field select { padding: 11px 14px 11px 34px; background-position: left 12px center; }
.hotel-menu__field select:hover { border-color: var(--brand); }
.hotel-menu__field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hotel-menu__clear {
  align-self: end; justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 16px; border-radius: var(--radius-sm); border: 1px solid var(--brand);
  background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 0.85rem;
}
.hotel-menu__clear:hover { background: var(--brand); color: #fff; }

.listing-bar__controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sort-form { display: inline-flex; align-items: center; gap: 8px; }
.sort-form__label {
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.sort-form select {
  padding: 10px 34px 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center / 16px;
  color: var(--ink); font-family: inherit; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html[dir='rtl'] .sort-form select { padding: 10px 14px 10px 34px; background-position: left 12px center; }
.sort-form select:hover { border-color: var(--brand); }
.sort-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch__track {
  width: 44px; height: 24px; border-radius: 999px; background: var(--line);
  position: relative; transition: background 0.2s ease; flex: none;
}
.switch__track::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.switch input:checked + .switch__track { background: var(--brand); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
html[dir='rtl'] .switch__track::after { left: auto; right: 3px; }
html[dir='rtl'] .switch input:checked + .switch__track::after { transform: translateX(-20px); }
.switch__label { font-size: 0.88rem; font-weight: 600; }
.switch--sm .switch__label { font-size: 0.82rem; }

.stars { color: #f5a623; font-size: 0.85rem; letter-spacing: 1px; line-height: 1; }
.stars--lg { font-size: 1.25rem; }

.card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-mini {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.68rem; font-weight: 700; padding: 4px 9px; border-radius: 8px;
  background: var(--bg-alt); color: var(--ink-soft); line-height: 1.4;
  border: 1px solid transparent;
}
.tag-mini svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tag-mini--meal { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.tag-mini--row { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.tag-mini--beach { background: rgba(13, 148, 136, 0.12); color: #0d9488; }
.tag-mini--aqua { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
html[data-mode='dark'] .tag-mini--meal { background: rgba(217, 119, 6, 0.2); color: #fbbf24; }
html[data-mode='dark'] .tag-mini--row { background: rgba(37, 99, 235, 0.22); color: #93c5fd; }
html[data-mode='dark'] .tag-mini--beach { background: rgba(13, 148, 136, 0.22); color: #5eead4; }
html[data-mode='dark'] .tag-mini--aqua { background: rgba(124, 58, 237, 0.22); color: #c4b5fd; }

.card__actions { display: flex; gap: 8px; margin-top: 14px; }
.card__actions .btn {
  flex: 1; padding: 10px 12px; font-size: 0.82rem; font-weight: 700;
  border-radius: 10px; white-space: nowrap; gap: 6px;
}
.card__actions .btn svg { flex: none; width: 15px; height: 15px; }
.card__actions .btn--primary { box-shadow: 0 4px 12px rgba(224, 22, 29, 0.22); }
.card__actions .btn--primary:hover { box-shadow: 0 6px 18px rgba(224, 22, 29, 0.34); }
.card__actions .btn--ghost { background: var(--bg-alt); border-color: transparent; color: var(--ink); }
.card__actions .btn--ghost:hover { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.detail__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.detail__specs {
  list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px;
}
.detail__specs li { font-size: 0.92rem; color: var(--ink-soft); }
.detail__specs b { color: var(--ink); }

.meal-picker { margin: 18px 0; }
.meal-picker__label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.meal-picker__options { display: flex; flex-direction: column; gap: 10px; }
.meal-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--card); border: 2px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.meal-option:hover { border-color: var(--brand); transform: translateY(-1px); }
.meal-option.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.meal-option input { display: none; }
.meal-option__name { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.meal-option__price { font-size: 0.95rem; font-weight: 800; color: var(--brand); }
.meal-option.is-active .meal-option__name { color: var(--brand); }
.bk-meal { margin-bottom: 16px; }
.bk-meal__label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.bk-meal__options { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-meal__opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 9px 14px; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--bg); border: 2px solid var(--line); font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.bk-meal__opt:hover { border-color: var(--brand); }
.bk-meal__opt.is-active { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
.bk-meal__name { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.bk-meal__price { font-size: 0.82rem; font-weight: 800; color: var(--brand); }
.bk-meal__total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 0.9rem; color: var(--ink-soft);
}
.bk-meal__total strong { font-size: 1.15rem; font-weight: 800; color: var(--brand); }

.detail__hero {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
  box-shadow: var(--shadow);
}
.detail__hero img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }
.detail__hero-cta {
  position: absolute; bottom: 14px; inset-inline-end: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
  background: rgba(0, 0, 0, 0.62); color: #fff; backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.detail__hero-cta svg { width: 16px; height: 16px; }
.detail__hero:hover .detail__hero-cta { background: var(--brand); transform: translateY(-2px); }
.detail__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.detail__thumbs::-webkit-scrollbar { height: 6px; }
.detail__thumb {
  flex: 0 0 84px; width: 84px; height: 64px; padding: 0; border: 2px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--bg-alt);
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.detail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail__thumb:hover { transform: translateY(-2px); }
.detail__thumb.is-active { border-color: var(--brand); }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(6, 10, 18, 0.92); backdrop-filter: blur(6px); }
.lightbox__stage {
  position: relative; z-index: 2; margin: 0; max-width: 90vw; max-height: 80vh;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.lightbox__stage img {
  max-width: 90vw; max-height: 74vh; border-radius: 12px; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); animation: lbIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.94); } }
.lightbox__count { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; font-weight: 600; }
.lightbox__close {
  position: absolute; top: 18px; inset-inline-end: 20px; z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.2s ease;
}
.lightbox__close:hover { background: var(--brand); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff; display: grid; place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav:hover { background: var(--brand); }
.lightbox__nav--prev { inset-inline-start: 20px; }
.lightbox__nav--next { inset-inline-end: 20px; }
.lightbox__thumbs {
  position: absolute; bottom: 18px; inset-inline: 0; z-index: 4;
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 0 16px;
}
.lightbox__thumb {
  width: 62px; height: 46px; padding: 0; border: 2px solid transparent; border-radius: 8px;
  overflow: hidden; cursor: pointer; opacity: 0.55; background: #111;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb:hover { opacity: 0.85; }
.lightbox__thumb.is-active { opacity: 1; border-color: var(--brand); }
@media (max-width: 640px) {
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__thumbs { display: none; }
  .lightbox__stage img { max-height: 70vh; }
}


.listing-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.listing-bar__count { font-weight: 600; color: var(--ink-soft); }
.sort-form { display: flex; align-items: center; gap: 10px; }
.sort-form select {
  padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  color: var(--ink); font-family: inherit; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; appearance: none; -webkit-appearance: none;
}
html[dir='rtl'] .sort-form select { padding: 9px 14px 9px 34px; background-position: left 12px center; }
.sort-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.empty {
  text-align: center; padding: 70px 20px; background: var(--card);
  border: 1px dashed var(--line); border-radius: var(--radius);
}

.detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.detail__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.detail__title { font-size: 2rem; margin-bottom: 12px; }
.detail__bio { font-size: 1rem; margin-bottom: 22px; }
.detail__price { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }

.error-page { text-align: center; padding: 100px 0; }
.error-page h1 { font-size: 4rem; color: var(--brand); }

.modal { position: fixed; inset: 0; z-index: 200; display: none; }
#checkoutModal { z-index: 260; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(3px); animation: fade 0.2s ease; }
.modal__dialog {
  position: relative; max-width: 640px; width: calc(100% - 32px); margin: 6vh auto;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 0; max-height: 88vh; overflow-y: auto; animation: pop 0.25s ease;
}
.modal__form { padding: 22px 26px 24px; }
.modal .modal__header { padding: 24px 26px 0; }
.checkout__body {
  display: flex; flex-direction: column; gap: 18px;
  padding: 18px 26px 0;
}
.checkout__body > * { margin: 0; }
.modal__dialog--sm > .modal__actions,
.modal__dialog--sm > .form-alert { margin-left: 26px; margin-right: 26px; }
.modal__dialog--sm > .modal__actions { margin-top: 20px; margin-bottom: 24px; }
.modal__dialog--sm > .form-alert { margin-bottom: 22px; }
#bookingModal .modal__item { margin: 18px 26px 0; }
#bookingModal .modal__item + .modal__form { padding-top: 18px; }
.modal__close { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
html[dir='rtl'] .modal__close { right: auto; left: 16px; }
.modal__close:hover { color: var(--brand); }
.modal__banner { display: flex; align-items: center; gap: 14px; padding: 22px 26px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); border-radius: var(--radius) var(--radius) 0 0; }
.modal__banner-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,0.18); color: #fff; flex: none; }
.modal__banner-icon svg { width: 24px; height: 24px; }
.modal__banner-text h3 { margin: 0; font-size: 1.25rem; color: #fff; }
.modal__banner-text p { margin: 3px 0 0; font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.modal__close { position: absolute; top: 16px; inset-inline-end: 18px; border: 0; background: rgba(255,255,255,0.2); width: 32px; height: 32px; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.18s ease; }
.modal__close:hover { background: rgba(255,255,255,0.35); }
html[dir='rtl'] .modal__close { right: auto; left: 18px; }
.modal__header h3 { font-size: 1.4rem; }
.modal__header p { font-size: 0.9rem; margin-bottom: 20px; }
.modal__item {
  display: flex; align-items: center; gap: 13px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 20px;
}
.modal__item-media { width: 52px; height: 52px; border-radius: 11px; overflow: hidden; flex: none; }
.modal__item-media img { width: 100%; height: 100%; object-fit: cover; }
.modal__item-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, #1a1a1a, #333); }
.modal__item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.modal__item-title { font-size: 1rem; font-weight: 800; color: var(--ink); }
.modal__item-meta { font-size: 0.8rem; color: var(--ink-soft); }
.modal__item-lock { color: var(--ink-soft); flex: none; }
.modal__item-lock svg { width: 18px; height: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 0.92rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-field textarea { resize: vertical; min-height: 82px; }
.child-ages { gap: 10px; }
.child-age-row { display: flex; align-items: center; gap: 10px; }
.child-age-row label { flex: none; min-width: 96px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.child-age-row input { flex: 1; padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-family: inherit; font-size: 0.9rem; }
.child-age-row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.form-alert { margin-top: 14px; font-weight: 600; font-size: 0.9rem; display: none; }
.form-alert.is-error { display: block; color: var(--brand); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.footer { background: var(--ink); color: rgba(255,255,255,0.8); margin-top: 0; }
html[data-mode='dark'] .footer { background: #0c0c0f; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding: 54px 20px 40px; }
.footer__logo { height: 72px; width: auto; object-fit: contain; background: #fff; padding: 8px; border-radius: 10px; margin-bottom: 14px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer__col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer__col a:hover { color: var(--brand); }
.footer__hours-title { margin-top: 20px; }
.footer__hours { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; }
.footer__phone svg { width: 16px; height: 16px; flex: none; }
.footer__brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.85rem; text-align: center; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: #1a1a1a; color: #fff; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-lg); z-index: 300;
  transition: transform 0.35s ease; opacity: 0; max-width: 90vw; text-align: center;
}
.toast[data-type='success'] { background: #0f7b3f; color: #fff; }
.toast[data-type='error'] { background: var(--brand); color: #fff; }
html[data-mode='dark'] .toast { background: #f2f2f2; color: #111; }
html[data-mode='dark'] .toast[data-type='success'] { background: #12b76a; color: #06210f; }
html[data-mode='dark'] .toast[data-type='error'] { background: #ff5a5f; color: #2a0507; }
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute; top: -4px; inset-inline-end: -6px;
  min-width: 20px; height: 20px; padding: 1px 5px 0; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; text-align: center; border: 2px solid var(--bg);
}
html[dir='rtl'] .cart-btn__count { font-family: 'Poppins', sans-serif; line-height: 1; padding-top: 2px; }
.cart { position: fixed; inset: 0; z-index: 250; display: none; }
.cart.is-open { display: block; }
.cart__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); animation: fade 0.2s ease; }
.cart__panel {
  position: absolute; top: 0; inset-inline-end: 0; height: 100%; width: min(440px, 100%);
  background: var(--bg); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,0.25);
  animation: slideIn 0.28s ease;
}
html[dir='rtl'] .cart__panel { animation: slideInRtl 0.28s ease; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slideInRtl { from { transform: translateX(-100%); } to { transform: none; } }

.cart__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--card);
}
.cart__head h3 { margin: 0; font-size: 1.2rem; }
.cart__sub { margin: 2px 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.cart__close { border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
html[dir='rtl'] .cart__close { font-size: 1.8rem; }
.cart__close:hover { color: var(--brand); }

.cart__body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.cart__empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); }
.cart__empty svg { width: 54px; height: 54px; color: var(--line); margin-bottom: 12px; }
.cart__empty h4 { margin: 0 0 6px; color: var(--ink); }
.cart__empty p { font-size: 0.88rem; }

.cart__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px; align-items: flex-start;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cart-item:hover { border-color: var(--brand-soft); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }
.cart-item__media { width: 54px; height: 54px; border-radius: 11px; overflow: hidden; flex: none; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #1a1a1a, #333);
}
.cart-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-item__title { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.cart-item__service { font-size: 0.76rem; color: var(--brand); font-weight: 700; }
.cart-item__details { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; }
.cart-item__kv { font-size: 0.74rem; color: var(--ink-soft); }
.cart-item__kv b { color: var(--ink); }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.cart-item__price { font-weight: 800; font-size: 0.85rem; color: var(--ink); }
.cart-item__hidden { font-size: 0.68rem; font-weight: 700; color: var(--ink-soft); background: var(--bg-alt); padding: 3px 9px; border-radius: 999px; }
.cart-item__remove {
  border: 0; background: var(--bg-alt); color: var(--ink-soft); width: 24px; height: 24px;
  border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1;
}
.cart-item__remove:hover { background: var(--brand); color: #fff; }



.modal__dialog--sm { max-width: 480px; }
.checkout__summary { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.checkout__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checkout__name { font-weight: 700; color: var(--ink); flex: 1; }
.checkout__list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.checkout__svc { font-size: 0.74rem; color: var(--brand); font-weight: 700; }
.checkout__price { font-weight: 700; color: var(--ink); font-size: 0.85rem; }
.checkout__hidden { font-size: 0.68rem; font-weight: 700; color: var(--ink-soft); background: var(--card); padding: 3px 9px; border-radius: 999px; }
.checkout__total { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 10px; font-weight: 700; color: var(--ink); }
.checkout__total strong { font-size: 1.15rem; }
#checkoutModal .cart__customer { margin: 0; }
.cart__customer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cart__customer .form-field { margin: 0; }
.cart__customer input {
  padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 0.92rem;
}
.cart__customer input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.cart__foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--card); }
.cart__total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; }
.cart__total strong { font-size: 1.3rem; color: var(--ink); }

@media (max-width: 520px) {
  .cart__customer { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .trips-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .navbar__inner { grid-template-columns: auto auto 1fr; }
  .navbar__burger { display: flex; }
  .navbar__nav {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 10px 0;
    transform: translateY(-140%); transition: transform 0.25s ease; z-index: -1;
  }
  .navbar__nav.is-open { transform: translateY(0); }
  .navbar__link { padding: 13px 20px; }
  .navbar__link.is-active::after { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .navbar__logo { height: 36px; }
  .hero__search { flex-direction: column; border-radius: var(--radius); }
  .hero__search .btn { border-radius: var(--radius-sm); }
}

html[dir='rtl'] .navbar__link,
html[dir='rtl'] .btn-ghost,
html[dir='rtl'] .btn,
html[dir='rtl'] .filter-tab { letter-spacing: 0; }
html[dir='rtl'] .card__bio,
html[dir='rtl'] .detail { text-align: right; }
html[dir='rtl'] .section__head { text-align: center; }
html[dir='rtl'] .card__title,
html[dir='rtl'] .card__footer { text-align: right; }
html[dir='rtl'] .listing-bar,
html[dir='rtl'] .sort-form { flex-direction: row-reverse; }
html[dir='rtl'] .modal__actions { flex-direction: row-reverse; }
html[dir='rtl'] .breadcrumb { flex-direction: row-reverse; justify-content: flex-end; }
html[dir='rtl'] .hero__search,
html[dir='rtl'] .form-grid,
html[dir='rtl'] .navbar__right,
html[dir='rtl'] .navbar__nav { direction: rtl; }
html[dir='rtl'] .detail__price { text-align: right; }
@media (max-width: 760px) {
  html[dir='rtl'] .listing-bar { flex-direction: column; }
}

.rev-star { width: 16px; height: 16px; color: var(--line); flex: none; transition: transform 0.2s ease, color 0.2s ease; }
.rev-star.is-on { color: #f59e0b; }
.rev-rating__stars { display: inline-flex; gap: 2px; align-items: center; }
.rev-rating__stars--lg .rev-star { width: 22px; height: 22px; }
.rev-rating__stars--sm .rev-star { width: 14px; height: 14px; }

.rev-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.02em; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.rev-card {
  position: relative; flex: none; width: 340px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 24px 20px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  isolation: isolate;
}
.rev-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--rev-accent, var(--brand));
}
.rev-card__glow {
  position: absolute; top: -60%; inset-inline-end: -30%; width: 220px; height: 220px;
  border-radius: 50%; background: var(--rev-accent, var(--brand));
  opacity: 0.14; filter: blur(46px); z-index: -1; pointer-events: none;
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.rev-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.18);
}
.rev-card:hover .rev-card__glow { opacity: 0.28; transform: scale(1.2); }
.rev-card__quote {
  position: absolute; top: -14px; inset-inline-end: 14px;
  font-size: 6.5rem; line-height: 1; font-weight: 800;
  color: var(--rev-accent, var(--brand)); opacity: 0.1;
  pointer-events: none; font-family: Georgia, 'Times New Roman', serif;
}
.rev-card__stars { display: inline-flex; align-items: center; gap: 4px; position: relative; z-index: 1; }
.rev-card__stars .rev-star { width: 19px; height: 19px; }
.rev-card__score {
  margin-inline-start: 6px; font-size: 0.82rem; font-weight: 800;
  color: var(--ink); background: var(--bg-alt); padding: 3px 9px; border-radius: 999px;
}
.rev-card__norating {
  font-size: 0.72rem; font-weight: 700; color: var(--ink-soft);
  background: var(--bg-alt); padding: 4px 10px; border-radius: 999px;
}
.rev-card__text {
  color: var(--ink); font-size: 0.97rem; line-height: 1.6; margin: 0; flex: 1;
  position: relative; z-index: 1;
}
.rev-card__foot {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 16px; position: relative; z-index: 1;
}
.rev-card .rev-avatar {
  width: 46px; height: 46px; font-size: 1rem; font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.rev-card__who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rev-card__who b { font-size: 0.95rem; color: var(--ink); font-weight: 700; }
.rev-card__who small {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.76rem; color: var(--ink-soft); margin-top: 2px;
}
.rev-card__who em { font-style: normal; color: var(--brand); font-weight: 700; }
.rev-card__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); display: inline-block; }
.rev-card__verified {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.rev-card__verified svg { width: 14px; height: 14px; }

.rev-marquee { position: relative; overflow: hidden; padding: 24px 0 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.rev-marquee__track {
  display: flex; gap: 22px; width: max-content;
  padding-inline: 11px;
  will-change: transform;
}
.rev-marquee__track > .rev-card { width: 340px; }

.rev-marquee:not(.is-js-anim) .rev-marquee__track {
  animation: revScroll 60s linear infinite;
}
@keyframes revScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
html[dir='rtl'] .rev-marquee:not(.is-js-anim) .rev-marquee__track { animation-name: revScrollRtl; }
@keyframes revScrollRtl {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(50%, 0, 0); }
}
.rev-marquee-section { padding: 30px 0 40px; background: var(--bg-alt); }

.rev-hero { position: relative; overflow: hidden; padding: 72px 0 64px; color: #fff; }
.rev-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, #1a0d0f 0%, #3b0f14 34%, #4c1d95 68%, #0f172a 100%);
}
.rev-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 122, 69, 0.35), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(124, 58, 237, 0.4), transparent 46%);
  animation: revGlow 12s ease-in-out infinite alternate;
}
@keyframes revGlow {
  from { transform: scale(1) translateY(0); opacity: 0.85; }
  to { transform: scale(1.15) translateY(-12px); opacity: 1; }
}
.rev-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 240px 1fr 300px;
  gap: 44px; align-items: center;
}
.rev-hero__copy h1 { color: #fff; }
.rev-hero__badge {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.rev-hero__title { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 12px; }
.rev-hero__lead { color: rgba(255, 255, 255, 0.82); max-width: 520px; font-size: 1.02rem; }
.rev-hero__stats { display: flex; gap: 14px; margin: 24px 0 26px; flex-wrap: wrap; }
.rev-stat {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 110px; padding: 16px 20px; border-radius: 16px; text-align: center;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px); transition: transform 0.25s ease, background 0.25s ease;
}
.rev-stat:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.16); }
.rev-stat b {
  font-size: 1.85rem; font-weight: 800; line-height: 1.05;
  background: linear-gradient(135deg, #fff, #ffb199);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rev-stat span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.72); margin-top: 4px; font-weight: 600; letter-spacing: 0.02em; }
.rev-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rev-hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.rev-hero .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.16); }


.rev-hero__dial { position: relative; width: 220px; height: 220px; justify-self: center; }
.rev-dial { width: 100%; height: 100%; transform: rotate(-90deg); }
.rev-dial__track { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 14; }
.rev-dial__fill {
  fill: none; stroke: url(#revDialGrad); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 528;
  stroke-dashoffset: calc(528 - (528 * var(--rev-percent, 0)) / 100);
  filter: drop-shadow(0 0 8px rgba(224, 22, 29, 0.55));
  animation: revDialIn 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes revDialIn {
  from { stroke-dashoffset: 528; }
}
.rev-hero__dial-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
}
.rev-hero__score { font-size: 3rem; font-weight: 800; line-height: 1; }
.rev-hero__score-out { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 6px; }

.rev-hero__dist {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius); padding: 22px 22px 16px; backdrop-filter: blur(8px);
}
.rev-hero__dist h3 { font-size: 0.95rem; color: #fff; margin-bottom: 14px; font-weight: 700; }
.rev-dist-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rev-dist-row__label { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 700; color: #fff; width: 42px; }
.rev-dist-row__label .rev-star { width: 12px; height: 12px; }
.rev-dist-row__bar { flex: 1; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.rev-dist-row__bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #ff7a45, #e0161d);
  animation: revBarIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes revBarIn { from { width: 0 !important; } }
.rev-dist-row__num { font-size: 0.78rem; color: rgba(255, 255, 255, 0.8); width: 26px; text-align: end; }

.section--reviews .section__head h2 { display: block; }
.rev-headline {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: fit-content; margin: 18px auto 0; padding: 16px 26px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.rev-headline__row { display: inline-flex; align-items: center; gap: 16px; }
.rev-headline__score { font-size: 1.9rem; font-weight: 800; color: var(--brand); line-height: 1; }
.rev-headline__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.rev-headline__meta small { font-size: 0.76rem; color: var(--ink-soft); }
.rev-headline__cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; color: var(--brand); font-size: 0.86rem;
  padding-top: 8px; border-top: 1px solid var(--line); width: 100%; justify-content: center;
}
.rev-headline__cta:hover { text-decoration: underline; }

.rev-write-wrap { max-width: 720px; }
.rev-write {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.rev-write__head h2 { font-size: 1.6rem; }
.rev-write__head p { margin-bottom: 22px; }
.rev-form { display: flex; flex-direction: column; gap: 18px; }
.rev-field { display: flex; flex-direction: column; gap: 8px; }
.rev-field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.rev-field input, .rev-field select, .rev-field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rev-field textarea { resize: vertical; min-height: 96px; }
.rev-field input:focus, .rev-field select:focus, .rev-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}

.rev-picker { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rev-picker__star {
  background: none; border: 0; padding: 2px; cursor: pointer; line-height: 0;
  color: var(--line); transition: transform 0.16s ease, color 0.16s ease;
}
.rev-picker__star svg { width: 38px; height: 38px; }
.rev-picker__star:hover { transform: scale(1.18) rotate(-6deg); }
.rev-picker__star.is-on { color: #f59e0b; }
.rev-picker__star.is-on svg { filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.5)); }
.rev-picker.is-norating { opacity: 0.55; }
.rev-picker__hint { font-size: 0.85rem; color: var(--ink-soft); margin-inline-start: 10px; font-weight: 600; }
.rev-norating {
  align-self: flex-start; margin-top: 6px; background: none; border: 1px dashed var(--line);
  color: var(--ink-soft); font-size: 0.8rem; font-weight: 600; padding: 6px 14px;
  border-radius: 999px; cursor: pointer; transition: all 0.2s ease;
}
.rev-norating:hover { border-color: var(--brand); color: var(--brand); }
.rev-norating.is-active { border-style: solid; border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.rev-form__submit { align-self: flex-start; padding: 13px 40px; }
.rev-form__note { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.rev-alert { display: none; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.88rem; font-weight: 600; }
.rev-alert.is-error { display: block; background: rgba(224, 22, 29, 0.1); color: #b90f15; border: 1px solid rgba(224, 22, 29, 0.3); }
.rev-alert.is-success { display: block; background: rgba(16, 185, 129, 0.12); color: #047857; border: 1px solid rgba(16, 185, 129, 0.32); }

.rev-done { text-align: center; padding: 18px 0; }
.rev-done--pop { animation: revPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes revPop { from { opacity: 0; transform: scale(0.94); } }
.rev-done__icon {
  width: 68px; height: 68px; border-radius: 50%; display: inline-grid; place-items: center;
  background: linear-gradient(135deg, #10b981, #059669); color: #fff; margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4); animation: revPulse 1.8s ease-in-out infinite;
}
.rev-done__icon svg { width: 34px; height: 34px; }
@keyframes revPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 10px 40px rgba(16, 185, 129, 0.75); }
}
.rev-done h3 { font-size: 1.3rem; }
.rev-done__card {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 14px;
  padding: 12px 20px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line);
}
.rev-done__who { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.rev-done__who b { font-size: 0.92rem; }

.rev-filters { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; margin-bottom: 26px; }
.rev-filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.rev-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px; border-radius: 999px; font-size: 0.84rem; font-weight: 600;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-soft);
  transition: all 0.2s ease;
}
.rev-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.rev-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(224, 22, 29, 0.32); }
.rev-chip--star .rev-star { width: 12px; height: 12px; }
.rev-chip--star.is-active .rev-star { color: #fff; }

.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.rev-grid .rev-card { width: auto; }

html[data-mode='dark'] .rev-card { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45); }
html[data-mode='dark'] .rev-alert.is-error { color: #fca5a5; }
html[data-mode='dark'] .rev-alert.is-success { color: #6ee7b7; }
html[data-mode='dark'] .rev-chip.is-active { color: #fff; }

@media (max-width: 980px) {
  .rev-hero__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .rev-hero__dial { width: 190px; height: 190px; }
  .rev-hero__copy .rev-hero__lead { margin: 0 auto; }
  .rev-hero__stats, .rev-hero__actions { justify-content: center; }
  .rev-hero__dist { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .rev-write { padding: 24px 20px; }
  .rev-card, .rev-marquee__track > .rev-card { width: 268px; }
  .rev-picker__star svg { width: 32px; height: 32px; }
  .rev-filters { flex-direction: column; }
  .rev-headline { border-radius: var(--radius); padding: 14px 20px; }
  .rev-headline__row { gap: 12px; }
}
html[dir='rtl'] .rev-card__quote { inset-inline-end: 16px; }
html[dir='rtl'] .rev-card__who,
html[dir='rtl'] .rev-done__who { align-items: flex-start; }
html[dir='rtl'] .rev-dist-row__num { text-align: start; }

.rev-card::after {
  content: ''; position: absolute; top: 0; inset-inline-start: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none; z-index: 2;
}
.rev-card:hover::after { animation: revShine 0.9s ease; }
@keyframes revShine {
  0% { inset-inline-start: -60%; opacity: 0.9; }
  100% { inset-inline-start: 130%; opacity: 0; }
}
html[data-mode='dark'] .rev-card::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent); }

.rev-grid .rev-card { animation: revCardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.rev-grid .rev-card:nth-child(1) { animation-delay: 0.02s; }
.rev-grid .rev-card:nth-child(2) { animation-delay: 0.08s; }
.rev-grid .rev-card:nth-child(3) { animation-delay: 0.14s; }
.rev-grid .rev-card:nth-child(4) { animation-delay: 0.2s; }
.rev-grid .rev-card:nth-child(5) { animation-delay: 0.26s; }
.rev-grid .rev-card:nth-child(6) { animation-delay: 0.32s; }
.rev-grid .rev-card:nth-child(7) { animation-delay: 0.38s; }
.rev-grid .rev-card:nth-child(8) { animation-delay: 0.44s; }
@keyframes revCardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
}

.section--reviews {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 340px at 85% -10%, var(--brand-soft), transparent 70%),
    radial-gradient(700px 300px at 5% 110%, rgba(124, 58, 237, 0.1), transparent 70%),
    var(--bg);
}
@media (max-width: 640px) {
  .rev-stat { min-width: 92px; padding: 13px 14px; }
  .rev-stat b { font-size: 1.5rem; }
}

.bk-coupon { margin-top: 4px; display: flex; flex-direction: column; gap: 8px; }
.bk-coupon__label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.bk-coupon__row { display: flex; gap: 8px; align-items: stretch; }
.bk-coupon__row input {
  flex: 1; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-family: inherit; font-size: 0.95rem; text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bk-coupon__row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.bk-coupon__row .btn { white-space: nowrap; }
.bk-coupon__result { font-size: 0.82rem; font-weight: 600; min-height: 1em; }
.bk-coupon__result.is-ok { color: #16a34a; }
.bk-coupon__result.is-error { color: var(--brand); }
html[data-mode='dark'] .bk-coupon__result.is-ok { color: #6ee7b7; }
html[data-mode='dark'] .bk-coupon__result.is-error { color: #fca5a5; }

.checkout__totals {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px;
}
.checkout__totals-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; color: var(--ink-soft); }
.checkout__totals-row--disc { color: #16a34a; font-weight: 600; }
html[data-mode='dark'] .checkout__totals-row--disc { color: #6ee7b7; }
.checkout__totals-row--final { font-size: 1.05rem; color: var(--ink); font-weight: 700; padding-top: 10px; border-top: 1px dashed var(--line); }
.checkout__totals-row--final strong { color: var(--brand); font-size: 1.2rem; }

html[dir='rtl'] .bk-coupon__row input { text-align: right; }

@media (max-width: 520px) {
  .bk-coupon__row { flex-direction: column; }
  .bk-coupon__row .btn { width: 100%; }
}