/* ===========================================================
   JF AJYAD HOTEL MAKKAH
   =========================================================== */

/* ---------- 3.3 Design tokens ---------- */
:root {
  --color-black:        #0A0A0A;
  --color-black-soft:   #111111;
  --color-gold:         #C9A961;
  --color-gold-light:   #D4AF37;
  --color-gold-dim:     rgba(201, 169, 97, 0.3);
  --color-white:        #FFFFFF;
  --color-off-white:    #F5F3EF;
  --color-text-dark:    #2B2B2B;
  --color-text-body:    #4A4A4A;
  --color-text-muted:   #888888;
  --color-bg-light:     #FFFFFF;
  --color-bg-beige:     #F2F0EB;
  --color-panel:        #F4F4F4;
  --color-navy-hover:   #3D3D3D;
  --color-navy:         #1B3A5C;
  --color-footer-body:  #EDE6D6;

  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans:  "Inter", "Lato", -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "Cairo", "Tajawal", "Segoe UI", sans-serif;

  --wrap: 1280px;
  --section-y: 80px;
  --radius-card: 8px;
  --radius-btn: 4px;

  --utility-h: 48px;
  --nav-h: 96px;

  /* line ornament echoing the diamond divider in the AJYAD logo */
  --ornament: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 32"><g fill="none" stroke="black" stroke-width="1.4"><path d="M32 6l7 10-7 10-7-10z"/><path d="M32 12.5l3.2 3.5-3.2 3.5-3.2-3.5z" fill="black"/><path d="M20 16h-8M52 16h8"/><circle cx="15.5" cy="16" r="1.6" fill="black" stroke="none"/><circle cx="48.5" cy="16" r="1.6" fill="black" stroke="none"/></g></svg>');

}

html[lang="ar"] { --font-sans: var(--font-arabic); --font-serif: var(--font-arabic); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* jumped-to sections clear the fixed header */
:target, section[id], footer[id] { scroll-margin-top: calc(var(--utility-h) + var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-body);
  background: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 10000; background: var(--color-gold); color: var(--color-black);
  padding: 12px 24px; font-size: 13px; font-weight: 700; letter-spacing: .1em;
}
.skip-link:focus { top: 0; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 800px; }
.center { text-align: center; }
.section { padding-block: var(--section-y); }

/* ---------- 3.4 Type ---------- */
.section-heading-with-icon { position: relative; }
.section-gold-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-gold);
  background: rgba(201, 169, 97, .05);
  box-shadow: 0 0 0 6px rgba(201, 169, 97, .08);
}
.section-gold-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 400; line-height: 1.22;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-text-dark);
  margin: 0 0 8px;
}
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--color-text-muted);
  margin: 0 0 14px;
}
.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.9;
  letter-spacing: .01em;
  color: var(--color-text-body);
  margin: 0 auto;
  max-width: 58ch;
  text-wrap: pretty;
}

/* Welcome copy reads as two balanced lines of text, not one block */
.welcome .lede { max-width: 50ch; text-wrap: balance; }
.welcome .lede + .lede { margin-top: 18px; }
.welcome .lede-soft { font-size: clamp(15px, 1.2vw, 17px); opacity: .88; }

.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 26px; }
.divider .rule { display: block; width: 72px; height: 1px; background: var(--color-gold-dim); }
.divider .rule { width: 60px; }
.divider .medallion {
  width: 64px; height: 32px; flex: none;
  background: var(--color-gold);
  -webkit-mask: var(--ornament) center/contain no-repeat;
  mask: var(--ornament) center/contain no-repeat;
}
.stars { color: var(--color-gold); font-size: 18px; letter-spacing: .3em; margin: 0 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 14px 26px; border-radius: var(--radius-btn);
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--color-gold); color: var(--color-black); }
.btn-gold:hover { background: #B2914A; }
.btn-outline { border: 1px solid var(--color-gold); color: var(--color-text-dark); background: transparent; }
.btn-outline:hover { background: var(--color-gold); color: var(--color-black); }

/* ===========================================================
   4.1 / 4.2  HEADER
   =========================================================== */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 900;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-solid { background: var(--color-black); box-shadow: 0 2px 18px rgba(0,0,0,.35); }

.utility-bar {
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .3s ease;
}
.site-header.is-solid .utility-bar { border-bottom-color: var(--color-gold-dim); }
.utility-inner {
  min-height: var(--utility-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.utility-icons { display: flex; align-items: center; gap: 2px; margin-inline-start: -8px; }
.utility-icons a, .utility-icons button {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--color-white); transition: color .2s ease, background .2s ease;
}
.utility-icons a:hover, .utility-icons button:hover { color: var(--color-gold); background: rgba(255,255,255,.08); }
.utility-icons svg { width: 17px; height: 17px; fill: currentColor; }

.utility-right { display: flex; align-items: center; gap: 22px; }
.utility-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-white); transition: color .2s ease;
}
.utility-link:hover { color: var(--color-gold); }

.weather { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .12em; color: var(--color-white); }
.weather svg { width: 15px; height: 15px; fill: none; stroke: var(--color-gold); stroke-width: 1.6; }
.weather-date { color: var(--color-gold); }

/* Language switcher — always visible, no dropdown */
.lang-switch { display: flex; align-items: center; gap: 8px; }
.lang-globe { width: 15px; height: 15px; fill: none; stroke: var(--color-gold); stroke-width: 1.4; }
.lang-switch button {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em;
  color: rgba(255,255,255,.7); padding: 0 8px; line-height: 1;
  border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.lang-switch button:hover { color: var(--color-white); }
.lang-switch button[aria-current="true"] { color: var(--color-gold); border-bottom-color: var(--color-gold); }
.lang-switch button[lang="ar"] { font-size: 15px; }
.lang-sep { color: rgba(255,255,255,.3); font-size: 11px; }

/* Nav bar */
.nav-inner { position: relative; min-height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 72px; width: auto; display: block; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav > ul {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 28px;
  transform: translateX(-50%);
}
.primary-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-white); position: relative;
}
.primary-nav > ul a::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 10px;
  height: 1px; background: var(--color-gold); transform: scaleX(0); transition: transform .25s ease;
}
.primary-nav > ul a:hover::after, .primary-nav > ul a:focus-visible::after { transform: scaleX(1); }
.nav-cta {
  min-height: 50px;
  padding: 5px 25px;
  color: #17140f;
  background: #d3b264;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  box-shadow: 0 7px 20px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.28);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav-cta-label { line-height: 1; }
.nav-cta:hover,
.nav-cta:focus-visible {
  color: #17140f;
  background: #dfc47f;
  box-shadow: 0 10px 26px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.35);
  transform: translateY(-2px);
}

.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 10px; min-height: 44px; min-width: 44px; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--color-white); transition: transform .25s ease, opacity .25s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(10,10,10,.94); display: grid; place-items: center; padding: 24px;
}
.search-overlay[hidden] { display: none; }
.search-box { width: min(620px, 100%); position: relative; }
.search-box form { display: flex; gap: 10px; }
.search-box input {
  flex: 1; padding: 16px 18px; font-size: 16px; border: 1px solid var(--color-gold-dim);
  background: transparent; color: var(--color-white); border-radius: var(--radius-btn);
}
.search-close { position: absolute; inset-block-start: -52px; inset-inline-end: 0; font-size: 34px; line-height: 1; color: var(--color-gold); }
.search-note { color: var(--color-text-muted); font-size: 13px; margin-top: 14px; }

/* ===========================================================
   5.1 HERO
   =========================================================== */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-arrow {
  position: absolute; z-index: 3; inset-block-start: 50%;
  width: 42px; height: 42px; padding: 9px;
  color: var(--color-white); opacity: .28;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .08);
  transform: translateY(-50%);
  transition: opacity .2s ease, background-color .2s ease, transform .2s ease;
}
.hero-arrow-prev { inset-inline-start: 14px; }
.hero-arrow-next { inset-inline-end: 14px; }
.hero-arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero-arrow:hover,
.hero-arrow:focus-visible {
  opacity: .9;
  background: rgba(0, 0, 0, .34);
  transform: translateY(-50%) scale(1.04);
}
.hero-overlay { position: absolute; z-index: 1; inset: 0; background: rgba(0,0,0,.4); pointer-events: none; }
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: calc(var(--utility-h) + var(--nav-h) + 40px) 24px 160px;
}
.hero-logo {
  width: auto;
  height: min(340px, 42vh);
  max-width: 78vw;
  object-fit: contain;
  margin-inline: auto;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.45));   /* lifts the gold off the photo */
}
.hero-tagline {
  display: inline-block;
  width: min(560px, calc(100vw - 48px));
  max-width: 100%;
  margin: 30px 0 0;
  padding: 15px 22px 16px;
  border: 1px solid rgba(212, 175, 55, .46);
  border-radius: 2px;
  background: rgba(8, 8, 8, .16);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
  -webkit-backdrop-filter: blur(5px) saturate(105%);
  backdrop-filter: blur(5px) saturate(105%);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(13px, 1.25vw, 18px);
  line-height: 1.45;
  letter-spacing: .12em;
  text-align: center;
  text-wrap: balance;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .42);
}
/* Opening invitation under the hero tagline. */
.invite {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 26px auto 0; padding: 12px 22px;
  border: 2px solid var(--color-gold-dim);
  background: rgba(10, 10, 10, .55);
  backdrop-filter: blur(4px);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--color-white);
}
.invite strong { color: var(--color-gold); font-weight: 700; }
.invite-dot {
  width: 8px; height: 8px; flex: 0 0 8px;
  background: var(--color-gold); border-radius: 50%;
  animation: invite-pulse 2.4s ease-in-out infinite;
}
@keyframes invite-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.75); }
}
@media (prefers-reduced-motion: reduce) { .invite-dot { animation: none; } }
@media (max-width: 480px) {
  .invite { font-size: .68rem; padding: 10px 16px; gap: 9px; letter-spacing: .1em; }
  .hero-arrow { width: 36px; height: 36px; padding: 8px; opacity: .34; }
  .hero-arrow-prev { inset-inline-start: 4px; }
  .hero-arrow-next { inset-inline-end: 4px; }
}

.scroll-cue { position: absolute; inset-block-end: 146px; inset-inline: 0; z-index: 2; display: grid; place-items: center; padding-block: 6px; }
.mouse {
  width: 24px; height: 38px; border: 1.5px solid var(--color-white); border-radius: 14px;
  display: grid; justify-items: center; padding-top: 7px;
}
.wheel { width: 3px; height: 7px; border-radius: 2px; background: var(--color-white); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .3; } }

/* Booking widget */
.booking-wrap { position: relative; z-index: 5; margin-top: -96px; }
.booking {
  background: var(--color-white); border-radius: var(--radius-card);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
  padding: 22px; display: grid; gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end;
}
.booking-field { display: grid; gap: 7px; }
.booking-field label {
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--color-text-muted);
}
.booking-field input, .booking-field select {
  font: inherit; font-size: 15px; color: var(--color-text-dark);
  min-height: 46px; padding: 12px; border: 1px solid #DDD8CE; border-radius: var(--radius-btn);
  background: var(--color-white); width: 100%;
}
.booking-submit { grid-column: span 6; }
.booking-manage { text-align: center; margin: 16px 0 0; }
.booking-manage a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-gold); text-decoration: underline; text-underline-offset: 4px;
}

/* ===========================================================
   5.2 WELCOME
   =========================================================== */
.welcome { background: var(--color-bg-light); padding-top: 64px; }

/* ===========================================================
   5.3 ROOMS
   =========================================================== */
.rooms { background: var(--color-off-white); }
.room-grid { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
.room-card {
  background: var(--color-white); border-radius: var(--radius-card); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 6px 24px rgba(0,0,0,.07);
}
.room-body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.room-name {
  font-family: var(--font-serif); font-size: 26px; font-weight: 600;
  letter-spacing: .02em; color: var(--color-text-dark); margin: 0;
}
/* amenities: one per line, icon leading each */
.room-amenities { display: flex; flex-direction: column; gap: 11px; margin: 2px 0 4px; flex: 1; }
.room-amenities li {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; line-height: 1.4; color: var(--color-text-body);
}
.room-amenities svg {
  width: 19px; height: 19px; flex: none;
  fill: none; stroke: var(--color-gold); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.room-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.room-actions .btn { flex: 1 1 auto; }

/* Slideshow (rooms + features) */
.slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-bg-beige); }
.slides .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease;
  pointer-events: none;
}
.slides .slide.is-active { opacity: 1; pointer-events: auto; }
.slides .slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-btn {
  position: absolute; inset-block-start: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.45); color: var(--color-white);
  backdrop-filter: blur(2px); transition: background .2s ease;
}
.slide-btn:hover { background: rgba(255,255,255,.75); color: var(--color-black); }
.slide-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.slide-prev { inset-inline-start: 12px; }
.slide-next { inset-inline-end: 12px; }
html[dir="rtl"] .slide-prev svg, html[dir="rtl"] .slide-next svg { transform: scaleX(-1); }

.slide-dots { position: absolute; inset-block-end: 0; inset-inline: 0; z-index: 3; display: flex; justify-content: center; gap: 0; }
.slide-dots button {
  width: 28px; height: 44px; background: none; border-radius: 0;
  display: grid; place-items: center;
}
/* the visible dot sits inside a larger, tappable button */
.slide-dots button::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.55);
  transition: background .2s ease, transform .2s ease;
}
.slide-dots button[aria-current="true"]::after { background: var(--color-gold); transform: scale(1.35); }

/* ===========================================================
   5.4 FEATURE BLOCKS
   Matches the reference site: a pale panel runs behind the row and
   the photograph sits on top of it, standing proud above and below.
   =========================================================== */
.features { padding-block: 40px; }

.feature {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: center;
  margin-block: 56px;
}

/* the pale band, inset from the top and bottom so the photo overhangs it */
.feature::before {
  content: "";
  position: absolute;
  inset-block: 46px;
  inset-inline: 24px;
  background: var(--color-panel);
  z-index: 0;
}

/* the photograph is inset from the panel's outer edge, so a sliver of
   panel shows alongside it, exactly as on the reference site */
.feature-media { position: relative; z-index: 2; margin-inline-start: 62px; }
.feature:nth-child(even) .feature-media { margin-inline-start: 0; margin-inline-end: 62px; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media .slides { aspect-ratio: 3 / 2; }

/* Feature-block slideshow controls: two square navy buttons, side by side
   with no gap, flush into the bottom-right corner of the photograph.
   Deliberately different from the room cards' round white edge arrows. */
.feature-media .slide-btn {
  inset-block-start: auto;
  inset-block-end: 0;
  transform: none;
  width: 60px;
  height: 60px;
  border-radius: 0;
  background: var(--color-navy);
  color: var(--color-white);
  backdrop-filter: none;
  cursor: pointer;
  z-index: 4;
  transition: background .2s ease;
}
.feature-media .slide-btn:hover { background: var(--color-navy-hover); color: var(--color-white); }
.feature-media .slide-btn svg { width: 24px; height: 24px; stroke-width: 1.8; }

/* flush against each other and against the photograph's edge */
.feature-media .slide-prev { inset-inline-start: auto; inset-inline-end: 60px; }
.feature-media .slide-next { inset-inline-end: 0; }
.feature-media .slide-dots { display: none; }

.feature-text {
  position: relative;
  z-index: 1;
  padding: 56px 56px 56px 72px;
}
.feature:nth-child(even) .feature-text { padding: 56px 72px 56px 56px; }

.feature-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin: 0 0 20px;
  text-wrap: balance;
}
.feature-body { margin: 0; font-size: 17px; line-height: 1.75; max-width: 52ch; }

/* the combined facilities block: heading and copy cross-fade with the photo */
.feature-rotator .feature-text { transition: opacity .22s ease; }
.feature-rotator .feature-text.is-swapping { opacity: 0; }
.feature-counter {
  margin: 26px 0 0; font-size: 12px; font-weight: 600;
  letter-spacing: .18em; color: var(--color-gold);
  font-variant-numeric: tabular-nums;
}

/* Hotel Reception / Dining interactive feature */
.feature-reception .feature-text {
  display: grid;
  justify-items: center;
  text-align: center;
}
.feature-reception .feature-title { margin-bottom: 18px; }
.reception-gold-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-gold);
  box-shadow: 0 0 0 7px rgba(201, 169, 97, .10);
}
.reception-gold-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reception-switch-body {
  max-width: 47ch;
  margin: -2px 0 24px;
  font-size: 16px;
  line-height: 1.75;
}
.reception-gallery-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-gold);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.reception-gallery-toggle:hover,
.reception-gallery-toggle:focus-visible {
  color: var(--color-black);
  background: var(--color-gold);
  transform: translateY(3px);
  outline: none;
}
.reception-gallery-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s ease;
}
.reception-gallery-toggle.is-open svg { transform: rotate(180deg); }

/* Dining state: the same feature changes content and photograph in place. */
.feature-reception.is-dining::before {
  background: var(--color-black-soft);
  border: 1px solid rgba(201, 169, 97, .62);
  box-shadow: inset 0 0 0 7px rgba(201, 169, 97, .06);
}
.feature-reception.is-dining::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 18px 24px;
  border: 1px solid rgba(201, 169, 97, .34);
  pointer-events: none;
}
.feature-reception.is-dining .feature-media {
  padding: 8px;
  border: 1px solid var(--color-gold);
  background: var(--color-black);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
}
.feature-reception.is-dining .feature-title { color: var(--color-white); }
.feature-reception.is-dining .feature-body { color: var(--color-footer-body); }
.feature-reception.is-dining .reception-gold-icon {
  background: rgba(201, 169, 97, .08);
  box-shadow: 0 0 0 7px rgba(201, 169, 97, .08), 0 0 32px rgba(201, 169, 97, .12);
}

/* ===========================================================
   5.5 HOTEL AT A GLANCE
   =========================================================== */
.glance { padding-bottom: 0; }
.tile-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4.4; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.3); transition: background .35s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile:hover::after, .tile:focus-visible::after { background: rgba(10,10,10,.55); }
.tile-body {
  position: absolute; inset-inline: 0; inset-block-end: 42px; z-index: 2;
  display: grid; justify-items: center; gap: 12px; transition: transform .35s ease;
}
.tile:hover .tile-body { transform: translateY(-8px); }
.tile-title {
  font-family: var(--font-serif); font-size: 20px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-white); text-align: center; padding-inline: 12px;
}
.tile-dot { width: 8px; height: 8px; transform: rotate(45deg); background: var(--color-gold); }

/* ===========================================================
   5.6 SOCIAL
   =========================================================== */
.social { background: var(--color-bg-light); }
.social-icons { display: flex; justify-content: center; gap: 14px; margin: 28px 0 40px; }
.social-icons a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--color-gold); color: var(--color-gold);
  transition: background .2s ease, color .2s ease;
}
.social-icons a:hover { background: var(--color-gold); color: var(--color-black); }
.social-icons svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.social-grid a { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-card); }
.social-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.social-grid a:hover img { transform: scale(1.06); }
.ig-badge {
  position: absolute; inset-block-end: 12px; inset-inline-end: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.82); display: grid; place-items: center;
}
.ig-badge svg { width: 17px; height: 17px; fill: none; stroke: var(--color-black); stroke-width: 1.6; }

/* ===========================================================
   LOCATION
   =========================================================== */
.location { background: var(--color-off-white); }
.location-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 16px;
}
.location-map {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0,0,0,.12);
  background: var(--color-bg-beige);
}
/* fallback shows only until (or unless) the embed paints over it */
.location-map-fallback {
  position: absolute; inset: 0; margin: 0; z-index: 0;
  display: grid; place-items: center; text-align: center; padding: 24px;
  font-size: 15px; color: var(--color-text-muted);
}
.location-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }

.location-name {
  font-family: var(--font-serif); font-size: clamp(24px, 2.4vw, 32px); font-weight: 400;
  letter-spacing: .06em; color: var(--color-text-dark); margin: 0 0 10px;
}
.location-address { margin: 0 0 6px; font-size: 17px; }
.location-note { margin: 0 0 26px; font-size: 16px; color: var(--color-text-muted); }

.location-codes { margin: 0 0 30px; display: flex; flex-direction: column; gap: 14px; }
.location-codes div { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.location-codes dt {
  font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--color-gold); white-space: nowrap;
}
.location-codes dd {
  margin: 0; font-size: 16px; color: var(--color-text-dark);
  font-variant-numeric: tabular-nums;
}

/* ===========================================================
   4.4 FOOTER
   =========================================================== */
.site-footer { background: var(--color-black); color: var(--color-footer-body); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-logo { height: 88px; width: auto; margin-bottom: 22px; }
.footer-heading {
  font-family: var(--font-serif); font-size: 17px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--color-gold); margin: 0 0 18px;
}
.site-footer address { line-height: 2; font-size: 15px; }
.site-footer address a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer address a:hover { color: var(--color-gold); }
.footer-company-card { margin-top: 24px; padding: 18px 20px; border-inline-start: 2px solid var(--color-gold); background: rgba(255,255,255,.04); max-width: 330px; }
.footer-company-label { margin: 0 0 5px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--color-gold); }
.footer-company-name { margin: 0 0 3px; font-family: var(--font-serif); font-size: 20px; color: var(--color-footer-body); }
.footer-company-detail { margin: 0; font-size: 13px; color: rgba(237,230,214,.7); }
.footer-company-name a,
.footer-meta dd a { transition: color .2s ease; }
.footer-company-name a:hover,
.footer-meta dd a:hover { color: var(--color-gold-light); }
.footer-meta-location-item { align-items: center !important; }
.footer-meta-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: var(--color-footer-body);
  font-size: 13px;
  transition: color .2s ease, transform .2s ease;
}
.footer-meta-location svg {
  width: 26px;
  height: 26px;
  padding: 4px;
  flex: none;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.8;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
}
.footer-meta-location:hover {
  color: var(--color-gold-light);
  transform: translateY(-1px);
}
.footer-links li { border-bottom: 1px solid var(--color-gold-dim); }
.footer-links li:last-child { border-bottom: 0; }
.footer-links a {
  display: flex; align-items: center; min-height: 44px;
  font-size: 14px; color: var(--color-gold); transition: color .2s ease, padding-inline-start .2s ease;
}
.footer-links a:hover { color: var(--color-gold-light); padding-inline-start: 6px; }

/* Coordinated footer identity band */
.footer-strip {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 25px;
  padding-block: 30px;
  border-top: 1px solid var(--color-gold-dim);
}
.footer-meta {
  width: min(100%, 980px);
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.footer-meta div {
  min-width: 0;
  min-height: 66px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  padding-inline: 24px;
  text-align: center;
}
.footer-meta div + div { border-inline-start: 1px solid var(--color-gold-dim); }
.footer-meta dt {
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--color-gold); white-space: nowrap;
}
.footer-meta dd { margin: 0; font-size: 16px; color: var(--color-footer-body); white-space: nowrap; }

.footer-social { display: flex; justify-content: center; gap: 11px; margin: 0; flex-wrap: wrap; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--color-gold); color: var(--color-gold); transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--color-gold); color: var(--color-black); }
.footer-social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.footer-bar { border-top: 1px solid var(--color-gold-dim); padding-block: 22px; }
.footer-bar p {
  margin: 0; text-align: center; font-size: 12px; letter-spacing: .08em; color: var(--color-gold);
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.footer-bar a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.footer-bar a:hover { color: var(--color-gold-light); }

/* ===========================================================
   4.3 FLOATING BUTTONS
   =========================================================== */
.wa-fab, .chat-fab {
  position: fixed; z-index: 9999;
  inset-block-end: calc(24px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.28);
  transition: transform .2s ease;
}
.wa-fab { inset-inline-start: calc(24px + env(safe-area-inset-left)); background: #25D366; color: var(--color-white); }
.chat-fab { inset-inline-end: calc(24px + env(safe-area-inset-right)); background: var(--color-gold); color: var(--color-black); }
.wa-fab:hover, .chat-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 32px; height: 32px; fill: currentColor; }
.chat-fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.wa-tip {
  position: absolute; inset-inline-start: calc(100% + 12px); white-space: nowrap;
  background: var(--color-white); color: var(--color-text-dark);
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-btn);
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
  opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
html[dir="rtl"] .wa-tip { transform: translateX(6px); }
.wa-fab:hover .wa-tip, .wa-fab:focus-visible .wa-tip { opacity: 1; transform: translateX(0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===========================================================
   8. RESPONSIVE
   =========================================================== */
@media (max-width: 1023px) {
  :root { --nav-h: 82px; }

  .nav-burger { display: flex; }
  .primary-nav {
    position: fixed; inset-block-start: calc(var(--utility-h) + var(--nav-h));
    inset-inline: 0; inset-block-end: 0;
    background: var(--color-black); flex-direction: column; align-items: stretch;
    gap: 0; padding: 18px 24px 36px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  html[dir="rtl"] .primary-nav { transform: translateX(-100%); }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .primary-nav > ul { position: static; left: auto; flex-direction: column; align-items: stretch; gap: 0; transform: none; }
  .primary-nav > ul li { border-bottom: 1px solid var(--color-gold-dim); }
  .primary-nav > ul a { display: block; padding: 16px 0; font-size: 14px; }
  .nav-cta { margin-top: 24px; }

  .utility-right .utility-link, .weather { display: none; }

  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; margin-block: 40px; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .feature::before, .feature:nth-child(even)::before {
    inset-block: auto 0; inset-inline: 24px; height: 72%;
  }
  .feature-media, .feature:nth-child(even) .feature-media { margin-inline: 0; }
  .feature-text, .feature:nth-child(even) .feature-text { padding: 36px 32px 44px; }
  .feature-text { padding: 44px 28px; }
  .tile-row { grid-template-columns: repeat(2, 1fr); }
  .tile { aspect-ratio: 3 / 3.4; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }

  .booking { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-submit { grid-column: span 2; }
}

@media (max-width: 767px) {
  :root { --section-y: 48px; }

  .welcome .lede { font-size: 16px; line-height: 1.8; max-width: 32ch; }
  .welcome .lede + .lede { margin-top: 14px; }
  .welcome .lede-soft { font-size: 15px; }

  .section-gold-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  .section-gold-icon svg { width: 24px; height: 24px; }

  .hero-tagline {
    max-width: calc(100vw - 36px);
    padding: 12px 16px 13px;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: .12em;
  }
  .feature-reception .feature-text { padding-block: 38px 46px; }
  .reception-gold-icon { width: 56px; height: 56px; margin-bottom: 18px; }
  .reception-gold-icon svg { width: 27px; height: 27px; }
  .feature-reception.is-dining::after { inset: 12px 24px; }
  .feature-reception.is-dining .feature-media { padding: 5px; }
  .reception-switch-body { font-size: 15px; line-height: 1.7; }

  .hero { min-height: 80vh; }
  .hero-content { padding-bottom: 200px; }
  .scroll-cue { display: none; }

  .booking-wrap { margin-top: -150px; }
  .booking { grid-template-columns: 1fr; }
  .booking-submit { grid-column: span 1; }

  .room-grid { grid-template-columns: 1fr; }
  .tile-row { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 3; }
  .location-map { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:first-child { grid-column: auto; }
  .footer-strip { gap: 22px; }
  .footer-meta { grid-template-columns: 1fr; width: min(100%, 420px); }
  .footer-meta div { min-height: 72px; padding-block: 12px; }
  .footer-meta div + div { border-inline-start: 0; border-top: 1px solid var(--color-gold-dim); }

  .wa-fab, .chat-fab { width: 52px; height: 52px; }
  .wa-tip { opacity: 1; transform: none; font-size: 12px; padding: 6px 11px; }
}

@media (min-width: 1440px) { .wrap { max-width: var(--wrap); } }
