/* Premium public-home presentation inspired by image-led destination offer pages. */
:root {
  --ink: #18372b;
  --muted: #66746d;
  --gold: #c39a57;
  --gold-dark: #97723d;
  --line: #e5e8e1;
  --cream: #f7f7f2;
  --white: #fff;
  --green: #173b2c;
}

html { scroll-behavior: smooth; }
body { background: #fbfbf8; color: var(--ink); }

.public-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 86px;
  padding: 9px clamp(20px, 5.4vw, 88px);
  border-bottom: 1px solid #e8e4d8;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 4px 20px rgba(25, 53, 39, .045);
}
.public-topbar .brand { gap: 13px; }
.public-topbar .brand-logo {
  width: 70px;
  height: 64px;
  padding: 2px;
  border: 1px solid #eee8d9;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.public-topbar .brand-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding-left: 14px;
  color: #173b2c;
  font-size: clamp(20px, 1.8vw, 25px);
  letter-spacing: .75px;
  text-shadow: none;
}
.public-topbar .brand-name small {
  display: block;
  margin: 0;
  color: #967341;
  font-size: 11px;
  letter-spacing: 1.8px;
}
.public-topbar .main-nav a { color: #42594c; font-size: 12px; }
.public-topbar .main-nav a:hover { color: #9a753e; }
.public-topbar .top-actions select { border-color: #e5e7e0; background-color: #fff; color: #354c40; }
.public-topbar .sign-in { border: 1px solid #173b2c; background: #173b2c; color: #fff; }
.is-rtl .public-topbar .brand-name { padding-right: 14px; }

.hero {
  position: relative;
  width: min(1440px, calc(100% - 48px));
  margin: 22px auto 0;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  gap: clamp(30px, 5.5vw, 84px);
  min-height: 402px;
  padding: 42px clamp(30px, 5.5vw, 86px) 65px;
  border: 1px solid rgba(220, 195, 137, .3);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 4%, rgba(215, 178, 101, .22), transparent 34%),
    radial-gradient(ellipse at 100% 100%, rgba(66, 113, 77, .45), transparent 52%),
    linear-gradient(115deg, #102b21, #173b2c 55%, #1d4632);
}
.hero::before {
  position: absolute;
  top: -195px;
  left: 38%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(221, 192, 127, .2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 570px; }
.eyebrow { color: #e6ca8c; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; }
.hero h1 {
  max-width: 590px;
  margin: 16px 0 15px;
  color: #fffdf6;
  font-size: clamp(42px, 4.2vw, 59px);
  line-height: 1.07;
  letter-spacing: -1.2px;
  font-weight: 500;
}
.hero-copy { max-width: 450px; margin: 0 0 22px; color: rgba(248, 250, 246, .81); font-size: 14px; line-height: 1.85; }
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #e2c986;
  border-radius: 7px;
  background: linear-gradient(135deg, #e6cc8f, #c5a05c);
  color: #173b2c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(4, 20, 13, .24);
}
.hero-link:hover { border-color: #f2dda8; background: linear-gradient(135deg, #f0d99f, #d5b46f); transform: translateY(-1px); }
.hero-image {
  z-index: 1;
  height: clamp(220px, 23vw, 310px);
  gap: 9px;
  border: 5px solid rgba(255, 255, 255, .92);
  border-radius: 14px;
  background: #e9e6dc;
  box-shadow: 0 20px 45px rgba(4, 20, 13, .36);
}
.hero-image::after { background: linear-gradient(0deg, rgba(13, 35, 23, .23), transparent 45%); }
.hero-photo-haram { background-position: 54% center; }
.hero-photo-nabawi { background-position: 54% center; }
.hero-note {
  right: clamp(25px, 7.2vw, 118px);
  bottom: 48px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(241, 225, 187, .65);
  border-radius: 999px;
  background: rgba(17, 51, 36, .91);
  color: #fff8e8;
  font-size: 10px;
  letter-spacing: .1px;
  box-shadow: 0 4px 15px rgba(4, 20, 13, .25);
}

.search-wrap { position: relative; z-index: 3; margin-top: -34px; padding-inline: 22px; }
.search-card {
  max-width: 1260px;
  padding: 27px clamp(20px, 3vw, 38px) 25px;
  border: 1px solid #ecece5;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 17px 45px rgba(25, 53, 39, .1);
}
.search-heading h2 { color: #173b2c; }
.trip-tab { border-radius: 6px; }
.trip-tab[aria-selected="true"], .trip-tab.active { background: #173b2c; }
.field input, .field select, .field textarea { border-color: #dfe5de; border-radius: 6px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #92723f; outline-color: rgba(146, 114, 63, .2); }
.search-button { border-radius: 6px; background: #173b2c; }

.services-overview {
  max-width: 1280px;
  padding: 69px 24px 42px;
}
.services-heading { margin-bottom: 25px; }
.services-heading .section-kicker { margin-bottom: 10px; color: #9b7741; }
.services-heading h2 { color: #173b2c; font-size: clamp(29px, 3vw, 38px); }
.services-intro { max-width: 330px; font-size: 13px; line-height: 1.7; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card {
  min-height: 352px;
  padding: 0 0 21px;
  overflow: hidden;
  border: 1px solid #e7e9e2;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(28, 52, 38, .045);
  text-align: left;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #d5c49f;
  box-shadow: 0 15px 34px rgba(28, 52, 38, .12);
}
.service-card:focus-visible { outline: 3px solid rgba(190, 153, 83, .65); outline-offset: 3px; }
.service-card-image .service-image, .service-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  margin: 0 0 17px;
  border-radius: 0;
  background: #f1efe8;
  object-fit: cover;
  object-position: center;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.service-card:hover .service-image { transform: scale(1.035); }
.service-card strong, .service-card small, .service-card .service-action { margin-inline: 20px; }
.service-card strong { margin-top: 1px; margin-bottom: 7px; color: #173b2c; font-size: 16px; line-height: 1.35; }
.service-card small { max-width: 310px; color: #68766e; font-size: 12px; line-height: 1.65; }
.service-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: #97723d;
  font-size: 11px;
  font-weight: 700;
}
.is-rtl .service-card, .is-rtl .services-heading { text-align: right; }
.is-rtl .service-card { align-items: stretch; }

.trust-row {
  max-width: 1280px;
  margin: 10px auto 62px;
  padding: 44px 24px;
  border-top: 1px solid #e9e8df;
  border-bottom: 1px solid #e9e8df;
}
.trust-intro h2 { color: #173b2c; }
.trust-item { border-color: #e7e6de; }
.trust-item h3 { color: #284b38; font-size: 13px; }
.trust-item p { font-size: 11px; }
.ceo-message { border: 1px solid #e8e7df; background: #fff; box-shadow: 0 15px 38px rgba(28, 52, 38, .06); }
.support-band { border-top: 1px solid #ecebe4; background: #f4f5ef; }
.assistant-link { border-color: #e2e4dc; border-radius: 7px; background: #fff; font-size: 12px; }
.footer { border-top: 1px solid #e7e8e0; background: #fff; }

@media (max-width: 1000px) {
  .public-topbar { min-height: 78px; padding-inline: 22px; }
  .public-topbar .brand-logo { width: 62px; height: 58px; }
  .public-topbar .brand-name { font-size: 21px; }
  .hero { width: calc(100% - 36px); gap: 28px; min-height: 355px; padding-inline: 34px; }
  .hero h1 { font-size: clamp(40px, 5vw, 52px); }
  .hero-image { height: 235px; }
  .hero-note { right: 34px; bottom: 46px; }
  .services-overview { padding-inline: 28px; }
  .service-grid { gap: 15px; }
  .service-card { min-height: 325px; }
  .service-card strong, .service-card small, .service-card .service-action { margin-inline: 16px; }
}
@media (max-width: 700px) {
  .public-topbar { flex-wrap: wrap; padding: 8px 11px 9px; }
  .public-topbar .brand { flex: 1 1 100%; gap: 8px; }
  .public-topbar .brand-logo { width: 55px; height: 51px; }
  .public-topbar .brand-name { gap: 4px; padding-left: 9px; font-size: 18px; }
  .public-topbar .brand-name small { font-size: 8.5px; letter-spacing: .9px; }
  .public-topbar .top-actions { display: grid; flex: 1 1 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: stretch; gap: 6px; width: 100%; }
  .public-topbar .language-label { display: none; }
  .public-topbar .top-actions select { width: 100%; max-width: none; min-width: 0; padding-inline: 6px; }
  .public-topbar .top-actions > .sign-in:first-of-type { grid-row: 2; grid-column: 1; justify-self: stretch; }
  .public-topbar .top-actions > .sign-in:last-of-type { grid-row: 2; grid-column: 2; justify-self: stretch; }
  .public-topbar .sign-in { padding: 8px 9px; font-size: 9px; white-space: nowrap; text-align:center; }
  .is-rtl .public-topbar .brand-name { padding-right: 9px; }
  .hero { width: calc(100% - 22px); margin-top: 11px; gap: 19px; padding: 27px 16px 55px; border-radius: 15px; }
  .hero h1 { max-width: 530px; margin: 12px 0; font-size: clamp(37px, 9.5vw, 46px); }
  .hero-copy { margin-bottom: 17px; font-size: 13px; }
  .hero-image { height: clamp(165px, 48vw, 215px); border-width: 4px; border-radius: 10px; }
  .hero-note { right: 16px; bottom: 40px; max-width: calc(100% - 32px); padding: 7px 10px; font-size: 9px; }
  .is-rtl .hero-note { left: 16px; right: auto; }
  .search-wrap { margin-top: -29px; padding-inline: 12px; }
  .search-card { padding: 21px 15px; border-radius: 11px; }
  .services-overview { padding: 47px 15px 25px; }
  .services-heading { margin-bottom: 18px; }
  .services-heading h2 { font-size: 26px; }
  .services-intro { font-size: 12px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-card { min-height: 0; padding-bottom: 15px; border-radius: 9px; }
  .service-card-image .service-image, .service-image { aspect-ratio: 4 / 3; margin-bottom: 11px; }
  .service-card strong, .service-card small, .service-card .service-action { margin-inline: 11px; }
  .service-card strong { font-size: 13px; }
  .service-card small { font-size: 10px; line-height: 1.55; }
  .service-action { padding-top: 12px; font-size: 10px; }
  .trust-row { margin: 0 15px 40px; padding: 34px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
