/* Nada Al-Rehab: deep burgundy with the logo's gold. Loaded last; it only recolours. */
:root {
  --brand: #6B1E2C;          /* deep burgundy: buttons, links, focus */
  --wine: #4A1520;           /* darker burgundy: header, closing band, footer */
  --wine-deep: #33101A;
  --gold: #B8955A;           /* the logo's gold: lines, ornaments, highlights */
  --gold-ink: #8A6A33;       /* gold for small text on ivory */
  --gold-soft: #F4ECDD;
  --line: rgb(184 149 90 / 0.35);
  --ink: #2A1117;
  --ivory: #FBF8F2;
}

/* announcement bar and header in burgundy, with a gold hairline */
.announce { background: var(--wine-deep); color: #F1DFB8; }
.site-header, .site-header.is-scrolled { background: rgb(74 21 32 / 0.97); color: #fff; border-block-end: 1px solid var(--gold); }
.site-header .nav-menu summary { color: #fff; }
.site-header .nav-menu summary:hover { background: rgb(255 255 255 / 0.08); }
.site-header .lang-menu__button { background: transparent; color: #fff; border-color: rgb(184 149 90 / 0.6); }
.site-header .lang-menu__button:hover { border-color: var(--gold); }
.site-header .nav-menu__panel, .site-header .lang-menu__list { color: var(--ink); }
.site-header .logo img { mix-blend-mode: normal; background: #fff; border-radius: 0.625rem; padding: 2px; box-shadow: 0 0 0 1px var(--gold); }

/* gold accents */
.features-wrap > h2::after, .stays__head h2::after, .section-head h2::after, .rticker__head h2::after, .contact__heading::after { background: var(--gold); }
.feature__icon { color: var(--brand); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--line); }
.home-hero__sub { color: var(--gold-ink); }
.home-hero__chip svg { color: var(--gold); }
.hero-hotels__photo, .home-hero__img { outline-color: var(--gold); }
.stay { border-color: var(--line); }
.stay:hover { border-color: var(--gold); }
.badge { background: var(--brand); color: #fff; box-shadow: 0 0 0 1px var(--gold); }
.stay__go, .link-go { color: var(--brand); }
.stay__perks svg { color: var(--gold-ink); }

/* buttons: burgundy, a gold edge, white text; darker on hover */
.btn { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn:hover { background: var(--wine); border-color: var(--gold); color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.search__go { background: var(--brand); color: #fff; }
.search__go:hover { background: var(--wine); }

/* closing band and footer in burgundy, gold for headings */
.cta-band { background: radial-gradient(90% 140% at 0% 0%, #7A2636 0%, var(--wine) 55%, var(--wine-deep) 100%); border-block-start: 1px solid var(--gold); }
.cta-band .btn--dark, .cta-band .finder__open { background: var(--gold); border-color: var(--gold); color: var(--wine-deep); }
.cta-band .btn--dark:hover, .cta-band .finder__open:hover { background: #fff; border-color: #fff; color: var(--wine-deep); }
.site-footer { background: var(--wine-deep); color: #EADFD0; border-block-start: 1px solid var(--gold); }
.site-footer strong, .footer__name { color: #E2C48F; }
.site-footer a:hover { color: #E2C48F; }

/* the hero opens with the title (no hotel photo row above it), so it gets its breathing room back */
.home-hero { padding-block-start: 2rem; }
@media (min-width: 64rem) { .home-hero { padding-block-start: 4rem; } }

/* ── Hero: a full-width hotel photo under a burgundy veil, the name in white and gold, the stay search across it ── */
.nhero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--wine-deep); }
.nhero__bg { position: absolute; inset: 0; z-index: -2; }
.nhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; transform: scale(1.04); filter: saturate(0.9); }
.nhero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 35%, rgb(51 16 26 / 0.35) 0%, rgb(51 16 26 / 0.78) 100%),
    linear-gradient(180deg, rgb(51 16 26 / 0.55) 0%, rgb(74 21 32 / 0.45) 45%, rgb(51 16 26 / 0.92) 100%); }
.nhero::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.nhero__inner { display: grid; justify-items: center; text-align: center; gap: 1rem; padding-block: 3.25rem 2.5rem; }
.nhero__eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; color: #E2C48F; font-weight: 700; font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.125rem); letter-spacing: 0.02em; }
.nhero__eyebrow span { display: block; width: clamp(1.5rem, 6vw, 3rem); height: 1px; background: currentColor; opacity: 0.8; }
.nhero__title { color: #fff; font-size: clamp(2.125rem, 1.4rem + 3.6vw, 4.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; text-shadow: 0 2px 24px rgb(0 0 0 / 0.35); white-space: normal; }
.nhero__lead { max-width: 40rem; color: rgb(255 255 255 / 0.86); font-size: clamp(0.9375rem, 0.88rem + 0.3vw, 1.0625rem); line-height: 1.8; }
.nhero__search { width: min(100%, 62rem); margin-block-start: 0.75rem; text-align: start; }
.nhero__search .search { border: 1px solid rgb(226 196 143 / 0.9); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55), 0 0 0 6px rgb(255 255 255 / 0.08); }
@media (min-width: 64rem) { .nhero__inner { padding-block: 6rem 5rem; gap: 1.25rem; } }

/* the hero rises in once; still for anyone who prefers less motion */
@media (prefers-reduced-motion: no-preference) {
  .nhero__inner > * { animation: nhero-rise 600ms var(--ease-out) both; }
  .nhero__inner > :nth-child(2) { animation-delay: 60ms; }
  .nhero__inner > :nth-child(3) { animation-delay: 120ms; }
  .nhero__inner > :nth-child(4) { animation-delay: 180ms; }
  .nhero__bg img { animation: nhero-settle 1200ms var(--ease-out) both; }
}
@keyframes nhero-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes nhero-settle { from { transform: scale(1.1); } }
.nhero__search { color: var(--ink); }
.nhero__bg img { object-position: 22% 45%; }
.nhero::before {
  background:
    linear-gradient(180deg, rgb(51 16 26 / 0.45) 0%, rgb(74 21 32 / 0.25) 40%, rgb(51 16 26 / 0.85) 100%),
    linear-gradient(90deg, rgb(51 16 26 / 0.15), rgb(51 16 26 / 0.45) 50%, rgb(51 16 26 / 0.15));
}

/* branch chip in the header and the menu */
.header-end { display: flex; align-items: center; gap: 0.5rem; }
.branch-chip { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 40px; padding-inline: 0.75rem 0.875rem; border: 1px solid rgb(184 149 90 / 0.6); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; }
.branch-chip svg { color: #E2C48F; flex: none; }
.branch-chip:hover { border-color: var(--gold); background: rgb(255 255 255 / 0.06); }
@media (max-width: 30rem) { .branch-chip span { max-width: 6.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
.nav-menu__branch { display: flex; align-items: center; gap: 0.5rem; width: 100%; padding: 0.75rem 1rem; border: 0; border-radius: 0.75rem; background: var(--gold-soft); color: var(--ink); font: inherit; font-weight: 700; text-align: start; cursor: pointer; }
.nav-menu__branch svg { color: var(--brand); }

/* the branch picker in the site's colours */
.rk-branch { --rk-branch-brand: var(--brand); --rk-branch-surface: #fff; color: var(--ink); }
.rk-branch__badge { background: var(--gold-soft); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.rk-branch__title { font-weight: 800; }
@media (max-width: 30rem) {
  .header-end { gap: 0.375rem; }
  .branch-chip { min-height: 40px; padding-inline: 0.5rem 0.625rem; gap: 0.25rem; font-size: 0.8125rem; }
  .branch-chip span { max-width: 8.5rem; }
  .site-header .lang-menu__button { padding-inline: 0.5rem; gap: 0.25rem; }
  .site-header .lang-menu__chevron { display: none; }
  .site-header .nav-menu__label { display: none; }
}

/* room types on the booking page: large choices, the chosen one in burgundy */
.room-types { margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
.room-types legend { padding: 0; margin-block-end: 0.5rem; font-weight: 800; font-size: 0.9375rem; }
.room-types__list { display: grid; gap: 0.5rem; }
.room-type { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 52px; padding: 0.625rem 0.875rem; border: 1px solid var(--line); border-radius: 0.875rem; background: #fff; cursor: pointer; transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out); }
.room-type input { position: absolute; opacity: 0; pointer-events: none; }
.room-type__name { font-weight: 700; }
.room-type__price { display: inline-flex; align-items: baseline; gap: 0.375rem; white-space: nowrap; }
.room-type__price s { color: rgb(0 0 0 / 0.45); font-size: 0.8125rem; }
.room-type:hover { border-color: var(--gold); }
.room-type:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); box-shadow: inset 0 0 0 1px var(--brand); }
.room-type:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }

/* the menu sits over the dark hero: a solid card so its links stay readable */
.site-header .nav-menu__panel { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid var(--line); box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.45); }

/* room count on the booking page */
.qty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-end: 1rem; padding: 0.75rem 0.875rem; border: 1px solid var(--line); border-radius: 0.875rem; background: #fff; }
.qty__text { display: grid; gap: 0.125rem; min-width: 0; }
.qty__label { font-weight: 800; font-size: 0.9375rem; }
.qty__hint { font-size: 0.8125rem; color: var(--gold-ink); font-weight: 700; }

/* hotel choice in the search: the native list covers the whole field, so a tap anywhere on it opens it on phones */
.search__field:has(.search__select--cover) { position: relative; }
.search__select--cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.search__value--hotel { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__value--hotel:not(.is-set) { color: inherit; font-weight: 700; }

/* the WhatsApp button steps aside while the hero search is on screen on phones, so it never covers "Search" */
.wa-float { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.wa-float.is-tucked { opacity: 0; transform: scale(0.8); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
.logo__text { color: #fff; font-weight: 800; font-size: 1.0625rem; white-space: nowrap; }

/* room types with a count each */
.room-type { cursor: default; }
.room-type__text { display: grid; gap: 0.125rem; min-width: 0; }
.room-type__price small { color: rgb(0 0 0 / 0.5); font-weight: 600; }
.room-type .step__ctl { gap: 0.5rem; }
.room-type .step__btn { width: 40px; height: 40px; }
.room-type.is-on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); box-shadow: inset 0 0 0 1px var(--brand); }
