﻿      :root {
      --header: #0a2540;
      --header-hover: #123a5c;
      --accent: #ffc400;
      --accent-hover: #e6b000;
      --link: #1668e3;
      --text: #1a2b49;
      --muted: #5c6c84;
      --border: #d1d9e6;
      --surface: #fff;
      --hero-overlay: rgba(10, 37, 64, 0.45);
      /* Metric-friendly fallback reduces font-swap CLS before DM Sans loads */
      font-family: "DM Sans", system-ui, "Segoe UI", sans-serif;
    }
    *, *::before, *::after { box-sizing: border-box; }
    body {
      margin: 0;
      color: var(--text);
      background: #fff;
      line-height: 1.45;
    }
    a { color: inherit; text-decoration: none; }
    a:hover { text-decoration: underline; }
    button { font: inherit; cursor: pointer; border: none; background: none; }
    .visually-hidden {
      position: absolute;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0,0,0,0);
      white-space: nowrap; border: 0;
    }

    /* Top utility bar */
    .utility {
      background: var(--header);
      color: #c8d4e4;
      font-size: 0.8125rem;
      padding: 0.35rem 1rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
      gap: 0.75rem 1.25rem;
    }
    .utility a { color: #e8eef6; }
    .utility a:hover { color: #fff; text-decoration: underline; }
    .utility__sep { opacity: 0.35; user-select: none; }
    .utility-picker {
      color: #e8eef6;
      font-size: inherit;
      font-family: inherit;
      padding: 0;
      background: none;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.2rem;
    }
    .utility-picker:hover { color: #fff; text-decoration: underline; }

    /* Main header */
    .site-header {
      background: var(--header);
      color: #fff;
      padding: 0 1rem;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    }
    .site-header__inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      min-height: 4rem;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 700;
      font-size: 1.35rem;
      letter-spacing: -0.02em;
      color: #fff;
      text-decoration: none;
    }
    .logo:hover { text-decoration: none; opacity: 0.92; }
    .logo__mark {
      width: 2rem;
      height: 2rem;
      border-radius: 8px;
      background: linear-gradient(135deg, var(--accent), #ff8a00);
    }
    .nav-main {
      display: none;
      align-items: stretch;
      gap: 0.15rem;
    }
    @media (min-width: 900px) {
      .nav-main { display: flex; }
    }
    .nav-main a {
      color: #e8eef6;
      font-weight: 500;
      font-size: 0.9375rem;
      padding: 0.65rem 0.85rem;
      border-radius: 8px;
      text-decoration: none;
    }
    .nav-main a:hover { background: var(--header-hover); text-decoration: none; }
    .nav-main a[aria-current="page"] {
      background: rgba(255,255,255,0.12);
      color: #fff;
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .btn-signin {
      color: #fff;
      font-weight: 600;
      padding: 0.5rem 1rem;
      border-radius: 999px;
      border: 2px solid rgba(255,255,255,0.35);
    }
    .btn-signin:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
    .menu-toggle {
      display: flex;
      flex-direction: column;
      gap: 5px;
      padding: 0.5rem;
      border-radius: 8px;
      color: #fff;
    }
    .menu-toggle:hover { background: var(--header-hover); }
    @media (min-width: 900px) {
      .menu-toggle { display: none; }
    }
    .menu-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: currentColor;
      border-radius: 1px;
    }

    .mobile-drawer {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 200;
      pointer-events: none;
    }
    .mobile-drawer.is-open {
      display: block;
      pointer-events: auto;
    }
    .mobile-drawer__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.45);
      opacity: 0;
      transition: opacity 0.2s;
    }
    .mobile-drawer.is-open .mobile-drawer__backdrop { opacity: 1; }
    .mobile-drawer__panel {
      position: absolute;
      top: 0;
      right: 0;
      width: min(320px, 92vw);
      height: 100%;
      background: var(--surface);
      box-shadow: -8px 0 32px rgba(0,0,0,0.2);
      transform: translateX(100%);
      transition: transform 0.25s ease;
      padding: 1.25rem;
      overflow-y: auto;
    }
    .mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
    .mobile-drawer__panel a {
      display: block;
      padding: 0.85rem 0;
      border-bottom: 1px solid var(--border);
      color: var(--text);
      font-weight: 500;
    }
    .mobile-drawer__panel a:hover { color: var(--link); text-decoration: none; }

    /* Hero */
    .hero {
      position: relative;
      min-height: min(420px, 72vh);
      display: flex;
      align-items: flex-end;
      padding: 2rem 1rem 2rem;
      overflow: hidden;
      background: var(--header);
    }
    .hero-slider {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
    }
    .hero__overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      background: linear-gradient(var(--hero-overlay), var(--hero-overlay));
      pointer-events: none;
    }
    .hero__inner {
      position: relative;
      z-index: 2;
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
    }
    .hero__title {
      color: #fff;
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      font-weight: 700;
      margin: 0 0 1.25rem;
      text-shadow: 0 2px 20px rgba(0,0,0,0.35);
    }

    /* Search card */
    .search-card {
      background: var(--surface);
      border-radius: 16px;
      box-shadow: 0 16px 48px rgba(0,0,0,0.2);
      overflow: hidden;
      max-width: 960px;
    }
    .search-tabs {
      display: flex;
      flex-wrap: wrap;
      border-bottom: 1px solid var(--border);
      background: #fafbfc;
    }
    .search-tabs button {
      flex: 1 1 auto;
      min-width: 5rem;
      padding: 0.9rem 0.75rem;
      font-weight: 600;
      font-size: 0.875rem;
      color: var(--muted);
      border-bottom: 3px solid transparent;
      margin-bottom: -1px;
    }
    .search-tabs button:hover { color: var(--text); background: rgba(0,0,0,0.03); }
    .search-tabs button[aria-selected="true"] {
      color: var(--link);
      border-bottom-color: var(--link);
      background: var(--surface);
    }
    .search-panels {
      padding: 1.25rem;
      /* Stabilize Tours / Packages / Rides tab height (interaction CLS) */
      min-height: 12.5rem;
    }
    .search-panel { display: none; }
    .search-panel.is-active { display: block; }
    .field-grid {
      display: grid;
      gap: 0.75rem;
    }
    @media (max-width: 479px) {
      .search-card {
        border-radius: 14px;
        margin: 0 0.15rem;
      }
      .search-tabs button {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.75rem 0.4rem;
        font-size: 0.8125rem;
      }
      .search-panels { padding: 0.9rem 0.85rem 1rem; }
      .field-grid { gap: 0.65rem; }
      /* Packages: check-in | check-out, then adults | children */
      #panel-packages .field-grid.cols-4 {
        grid-template-columns: 1fr 1fr;
      }
      #panel-packages .field input[type="date"],
      #panel-packages .field select {
        min-width: 0;
        font-size: 16px;
      }
      .field input,
      .field select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
      }
      .btn-search {
        width: 100%;
        min-height: 3rem;
        font-size: 1rem;
      }
      .hero,
      .hero-inner,
      .search-wrap {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
      }
    }
    @media (min-width: 480px) and (max-width: 699px) {
      #panel-packages .field-grid.cols-4 {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (min-width: 700px) {
      .field-grid.cols-1 { grid-template-columns: 1fr; }
      .field-grid.cols-2 { grid-template-columns: 1fr 1fr; }
      .field-grid.cols-3 { grid-template-columns: 1.2fr 1fr 1fr; }
      .field-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
    }
    .field label {
      display: block;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--muted);
      margin-bottom: 0.35rem;
    }
    .field input,
    .field select {
      width: 100%;
      padding: 0.75rem 0.85rem;
      border: 1px solid var(--border);
      border-radius: 10px;
      font-size: 1rem;
      color: var(--text);
    }
    .field input:focus,
    .field select:focus {
      outline: 2px solid var(--link);
      outline-offset: 1px;
      border-color: var(--link);
    }
    .date-picker-field {
      cursor: pointer;
    }
    input[type="date"],
    .date-picker-input {
      cursor: pointer;
    }
    .search-submit-wrap {
      margin-top: 1.25rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1rem;
    }
    .btn-search {
      background: var(--accent);
      color: #1a1200;
      font-weight: 700;
      font-size: 1rem;
      padding: 0.9rem 2.25rem;
      border-radius: 999px;
      box-shadow: 0 4px 14px rgba(255, 196, 0, 0.45);
    }
    .btn-search:hover { background: var(--accent-hover); }
    .checkbox-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9375rem;
      color: var(--muted);
    }
    .checkbox-row input { width: 1.1rem; height: 1.1rem; accent-color: var(--link); }

    .emirate-combobox {
      position: relative;
    }
    .emirate-combobox input {
      width: 100%;
      padding: 0.85rem 1rem;
      border: 1px solid var(--border);
      border-radius: 10px;
      font-size: 1rem;
      color: var(--text);
    }
    .emirate-combobox input:focus {
      outline: 2px solid var(--link);
      outline-offset: 1px;
      border-color: var(--link);
    }
    .emirate-list {
      position: absolute;
      left: 0;
      right: 0;
      top: calc(100% + 0.35rem);
      z-index: 20;
      margin: 0;
      padding: 0.35rem 0;
      list-style: none;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 12px 32px rgba(0,0,0,0.14);
      max-height: 20rem;
      overflow-y: auto;
    }
    .emirate-list[hidden] { display: none; }
    .search-group-label {
      padding: 0.55rem 1rem 0.25rem;
      font-size: 0.6875rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
      pointer-events: none;
    }
    .search-option {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 0.65rem 1rem;
      font-size: 0.9375rem;
      cursor: pointer;
    }
    .search-option__label {
      font-weight: 600;
      color: var(--text);
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .search-option__meta {
      font-size: 0.75rem;
      font-weight: 500;
      color: var(--muted);
      flex-shrink: 0;
    }
    .search-option:hover,
    .search-option.is-active {
      background: #eef4ff;
    }
    .search-option:hover .search-option__label,
    .search-option.is-active .search-option__label {
      color: var(--link);
    }
    .emirate-option {
      padding: 0.7rem 1rem;
      font-size: 0.9375rem;
      font-weight: 500;
      cursor: pointer;
    }
    .search-panel--simple {
      padding-top: 0.25rem;
    }
    .search-hint {
      margin: 0.5rem 0 0;
      font-size: 0.8125rem;
      color: var(--muted);
    }

    /* Deals */
    .section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2.5rem 1rem;
    }
    .section__head {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 1.25rem;
    }
    .section__head h2 {
      margin: 0;
      font-size: 1.5rem;
    }
    .section__head a { font-weight: 600; color: var(--link); font-size: 0.9375rem; }
    .card-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    .deal-card {
      background: var(--surface);
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--border);
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .deal-card:hover {
      box-shadow: 0 8px 28px rgba(0,0,0,0.08);
      transform: translateY(-2px);
    }
    .deal-card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      display: block;
    }
    .deal-card__body { padding: 1rem 1.1rem 1.15rem; }
    .deal-card__body h3 {
      margin: 0 0 0.35rem;
      font-size: 1.05rem;
    }
    .deal-card__body p {
      margin: 0;
      font-size: 0.875rem;
      color: var(--muted);
    }
    .price {
      margin-top: 0.65rem;
      font-weight: 700;
      color: var(--text);
    }
    .price small { font-weight: 500; color: var(--muted); font-size: 0.8rem; }

    footer {
      background: var(--header);
      color: #9db0c4;
      font-size: 0.8125rem;
      padding: 2rem 1rem;
      text-align: center;
    }
    footer p { margin: 0; max-width: 640px; margin-inline: auto; }

/* Homepage SEO intro — brand editorial block */
.home-seo {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
  overflow: hidden;
  color: #f4f7fb;
  background:
    linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.78) 45%, rgba(8, 28, 48, 0.88) 100%),
    linear-gradient(160deg, #0a2540 0%, #123a5c 55%, #0a2540 100%);
}
.home-seo::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(52vw, 28rem);
  height: min(52vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.22) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.home-seo::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: min(60vw, 34rem);
  height: min(60vw, 34rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 104, 227, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.home-seo__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  animation: home-seo-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.home-seo__eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a2540;
  background: linear-gradient(90deg, #ffc400, #ffb000);
}
.home-seo__title {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.home-seo__rule {
  width: 3.5rem;
  height: 3px;
  margin: 1.15rem 0 1.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc400, #ff8a00 70%, transparent);
}
.home-seo__copy {
  display: grid;
  gap: 0.95rem;
}
.home-seo__body {
  margin: 0;
  color: rgba(232, 238, 246, 0.86);
  font-size: clamp(0.95rem, 1.45vw, 1.05rem);
  line-height: 1.75;
}
.home-seo__body:first-child {
  color: #fff;
  font-size: clamp(1.02rem, 1.7vw, 1.12rem);
  font-weight: 500;
  line-height: 1.7;
}
@keyframes home-seo-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-seo__inner {
    animation: none;
  }
}
@media (min-width: 900px) {
  .home-seo__inner {
    max-width: 52rem;
  }
}
.site-footer__note { max-width: 42rem; }

