/* Sharaf Travel — Cockpit | sharaftravel.ae
   Brand palette sampled from logo.jpg */

:root {
  --blue:        #0d75bc;
  --blue-dark:   #095a91;
  --blue-tint:   #eaf4fb;
  --orange:      #f8901f;
  --green:       #1fb25a;
  --purple:      #b18fc2;

  --ink:         #14212b;
  --ink-soft:    #4a5b68;
  --ink-faint:   #7e8c98;
  --line:        #e3e9ee;
  --surface:     #ffffff;
  --page:        #f8fafc;
  --sand:        #fdf7ee;

  --radius:      18px;
  --shadow:      0 1px 2px rgba(20, 33, 43, .04),
                 0 12px 40px -12px rgba(20, 33, 43, .16);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- decorative background ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 560px at 50% -10%, var(--blue-tint) 0%, rgba(234, 244, 251, 0) 72%),
    radial-gradient(900px 460px at 88% 8%, var(--sand) 0%, rgba(253, 247, 238, 0) 70%),
    linear-gradient(180deg, var(--page) 0%, #fbfcfd 55%, #f2f7fb 100%);
}

/* Islamic geometric lattice (khatam rosette) - a whisper of texture */
.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/pattern.svg") 0 0 / 112px 112px repeat;
  opacity: .07;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 46%, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 46%, transparent 78%);
}

/* Dubai skyline - Burj Khalifa, Burj Al Arab, Emirates Towers,
   Museum of the Future, a barjeel wind tower, dome and minaret */
.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(215px, 27vw, 385px);
  background: url("assets/skyline.svg") center bottom / cover no-repeat;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .28;
}
.blob--blue   { width: 520px; height: 520px; left: -190px;  top: -150px; background: #9fd0ef; opacity: .3; }
.blob--orange { width: 380px; height: 380px; right: -150px; top: 10px;   background: #fbc98a; opacity: .17; }
.blob--green  { width: 420px; height: 420px; right: 6%;     bottom: -240px; background: #9fe2ba; opacity: .22; }
.blob--purple { width: 300px; height: 300px; left: 8%;      bottom: -180px; background: #d8c6e4; opacity: .24; }

/* ---------- layout ---------- */

.page {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.brand {
  display: block;
  margin-bottom: 56px;
}
.brand img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  /* logo ships with a white JPG matte - multiply drops it into the page */
  mix-blend-mode: multiply;
}

/* ---------- hero ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid #cfe6f6;
  background: #fff;
  color: var(--blue-dark);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 178, 90, .18);
}

h1 {
  margin: 26px 0 0;
  font-size: clamp(2.15rem, 6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 700;
}
h1 .accent { color: var(--blue); }

.lede {
  margin: 20px 0 0;
  max-width: 46em;
  font-size: clamp(1.02rem, 2.2vw, 1.16rem);
  color: var(--ink-soft);
}

/* ---------- services ---------- */

.services {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.services li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: 0 1px 2px rgba(20, 33, 43, .03);
}
.services svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services li:nth-child(5n+1) svg { stroke: var(--blue); }
.services li:nth-child(5n+2) svg { stroke: var(--orange); }
.services li:nth-child(5n+3) svg { stroke: var(--green); }
.services li:nth-child(5n+4) svg { stroke: var(--purple); }
.services li:nth-child(5n+5) svg { stroke: var(--blue-dark); }

/* ---------- contact ---------- */

.contact {
  margin-top: 44px;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.contact p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34em;
}
.contact strong { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover  { background: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* ---------- footer ---------- */

.site-footer {
  flex: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .66);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-footer { background: rgba(255, 255, 255, .94); }
}

.site-footer .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  font-size: .875rem;
  color: var(--ink-faint);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.site-footer a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.site-footer a[aria-current="page"] { color: var(--blue); }

/* ---------- terms page ---------- */

.doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(26px, 5vw, 56px);
  margin-top: 28px;
}
.doc h1 { margin: 0; font-size: clamp(1.8rem, 4.4vw, 2.5rem); }
.doc .meta {
  margin: 12px 0 0;
  font-size: .875rem;
  color: var(--ink-faint);
}
.doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.doc h2 {
  margin: 38px 0 0;
  font-size: 1.22rem;
  letter-spacing: -.01em;
}
.doc h2:first-of-type { margin-top: 0; }
.doc p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}
.doc a { color: var(--blue); }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}
.back:hover { color: var(--blue); }
.back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 560px) {
  .page { padding: 32px 20px 72px; }
  .backdrop::before { opacity: .055; }
  .brand img { max-width: 280px; }
  .services { gap: 10px; }
  .services li { padding: 13px 14px; font-size: .9rem; }
  .brand { margin-bottom: 40px; }
  .contact { padding: 22px; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
