/* =============================================================
   Royal Palm Hotel — Design System & Core Styles
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --gold: #c3a26b;
  --gold-2: #dbc08f;
  --gold-deep: #9c7c46;
  --emerald: #0f3d3e;
  --emerald-2: #1a5c5d;

  /* Neutrals (light) */
  --bg: #faf8f5;
  --bg-alt: #f2ede5;
  --surface: #ffffff;
  --surface-2: #f7f4ef;
  --ink: #14181d;
  --ink-2: #3f4750;
  --muted: #7b848e;
  --line: #e6e0d6;
  --line-2: #d8d0c2;

  /* Status */
  --ok: #1c7c54;
  --ok-bg: #e6f4ec;
  --warn: #b57a12;
  --warn-bg: #fdf3e0;
  --danger: #b3352f;
  --danger-bg: #fdeceb;
  --info: #2563a8;
  --info-bg: #e8f1fb;

  /* Shape & motion */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 29, .06), 0 2px 6px rgba(20, 24, 29, .05);
  --shadow: 0 4px 12px rgba(20, 24, 29, .07), 0 12px 32px rgba(20, 24, 29, .07);
  --shadow-lg: 0 10px 24px rgba(20, 24, 29, .1), 0 30px 70px rgba(20, 24, 29, .12);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Layout */
  --wrap: 1240px;
  --nav-h: 76px;

  /* Fonts */
  --f-body: "Tajawal", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-display: "Cormorant Garamond", "Tajawal", Georgia, serif;
}

html[data-theme="dark"] {
  --bg: #0e1116;
  --bg-alt: #141920;
  --surface: #171d25;
  --surface-2: #1e252f;
  --ink: #edf0f3;
  --ink-2: #b9c1cb;
  --muted: #8a939e;
  --line: #262f3a;
  --line-2: #33404e;
  --gold: #d4b478;
  --gold-2: #e6cf9e;
  --ok-bg: #10251b;
  --warn-bg: #2a2011;
  --danger-bg: #2b1413;
  --info-bg: #101d2e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 4px 14px rgba(0, 0, 0, .38);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .3s var(--ease), color .3s var(--ease);
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p { color: var(--ink-2); }

html[lang="en"] .display { font-family: var(--f-display); font-weight: 600; letter-spacing: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lead { font-size: 1.06rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section-alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 44px; }
.sec-head h2 { margin: 10px 0 12px; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-between { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-full);
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; box-shadow: 0 6px 18px rgba(163, 132, 79, .32); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(163, 132, 79, .45); }
.btn-dark { background: var(--emerald); color: #fff; }
.btn-dark:hover { background: var(--emerald-2); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255, 255, 255, .25); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.transparent { background: transparent; }
.site-header.solid {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; width: min(100% - 40px, 1360px); }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, var(--gold-2), var(--gold-deep));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 12px rgba(163, 132, 79, .35);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); line-height: 1.4; }
.brand-text span { display: block; line-height: 1.15; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a {
  padding: 9px 15px; border-radius: var(--r-full); font-weight: 600; font-size: .93rem;
  color: var(--ink-2); position: relative; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--gold-deep); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.nav a.active { color: var(--gold-deep); }
.nav a.active::after {
  content: ""; position: absolute; inset-block-end: 2px; inset-inline: 15px;
  height: 2px; border-radius: 2px; background: var(--gold);
}
.site-header.transparent .nav a { color: rgba(255, 255, 255, .88); }
.site-header.transparent .nav a:hover, .site-header.transparent .nav a.active { color: #fff; background: rgba(255, 255, 255, .14); }
.site-header.transparent .brand { color: #fff; }
.site-header.transparent .brand-text small { color: var(--gold-2); }

.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-full); flex: none;
  display: grid; place-items: center; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--surface);
  transition: all .22s var(--ease);
}
.icon-btn:hover { color: var(--gold-deep); border-color: var(--gold); transform: translateY(-2px); }
.icon-btn svg { width: 19px; height: 19px; }
.site-header.transparent .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
.lang-btn { width: auto; padding-inline: 14px; font-weight: 800; font-size: .82rem; letter-spacing: .04em; }
.burger { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; visibility: hidden;
}
.drawer.open { visibility: visible; }
.drawer-scrim {
  position: absolute; inset: 0; background: rgba(10, 14, 18, .55);
  opacity: 0; transition: opacity .3s var(--ease); backdrop-filter: blur(3px);
}
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(88vw, 340px);
  background: var(--surface); box-shadow: var(--shadow-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(var(--drawer-off, 100%));
  transition: transform .38s var(--ease-out);
  overflow-y: auto;
}
html[dir="rtl"] .drawer-panel { --drawer-off: -100%; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a {
  padding: 14px 16px; border-radius: var(--r); font-weight: 600;
  display: flex; align-items: center; gap: 12px; transition: background .2s;
}
.drawer-panel a:hover, .drawer-panel a.active { background: var(--surface-2); color: var(--gold-deep); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 16, 20, .78) 0%, rgba(10, 16, 20, .42) 45%, rgba(10, 16, 20, .88) 100%);
}
.hero-inner { padding-block: calc(var(--nav-h) + 40px) 60px; max-width: 760px; }
.hero h1 { color: #fff; margin: 14px 0 18px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero .lead { color: rgba(255, 255, 255, .9); font-size: 1.12rem; }
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before { background: var(--gold-2); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-stat b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--gold-2); line-height: 1.2; }
.hero-stat span { font-size: .86rem; color: rgba(255, 255, 255, .75); }
.hero-dots { position: absolute; inset-block-end: 26px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 3; }
.hero-dots button { width: 30px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); transition: background .3s, width .3s; }
.hero-dots button.on { background: var(--gold-2); width: 46px; }

/* ---------- Page banner ---------- */
.page-hero {
  position: relative; padding-block: calc(var(--nav-h) + 70px) 70px;
  color: #fff; text-align: center; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, #12232b, #1d3a3c);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .45; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 16, 20, .82), rgba(10, 16, 20, .68)); }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 60ch; margin-inline: auto; }
.crumbs { display: flex; gap: 8px; justify-content: center; font-size: .86rem; color: rgba(255, 255, 255, .7); margin-top: 16px; }
.crumbs a:hover { color: var(--gold-2); }

/* ---------- Search bar ---------- */
.search-card {
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 20px; border: 1px solid var(--line);
}
.hero-search { margin-top: -62px; position: relative; z-index: 20; }
.search-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: .8rem; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.field > label svg { width: 15px; height: 15px; color: var(--gold-deep); }
.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
  font-size: .95rem;
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); background: var(--surface); }
.input::placeholder { color: var(--muted); }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.6; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b848e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; background-size: 16px; padding-inline-start: 14px; padding-inline-end: 36px; }
html[dir="ltr"] select.input { background-position: right 12px center; }
.field-error { border-color: var(--danger) !important; }
.err-msg { font-size: .78rem; color: var(--danger); font-weight: 600; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 22px; }
.card-badge {
  position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 2;
  padding: 6px 13px; border-radius: var(--r-full); font-size: .74rem; font-weight: 800;
  background: rgba(255, 255, 255, .93); color: var(--ink); backdrop-filter: blur(6px);
}
.card-badge.gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; }
.card-price {
  position: absolute; inset-block-end: 14px; inset-inline-end: 14px; z-index: 2;
  padding: 8px 15px; border-radius: var(--r-full); background: rgba(16, 22, 28, .82);
  color: #fff; backdrop-filter: blur(8px); font-size: .82rem;
}
.card-price b { font-size: 1.06rem; color: var(--gold-2); }

.room-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .84rem; color: var(--muted); margin: 12px 0 14px; }
.room-meta span { display: inline-flex; align-items: center; gap: 6px; }
.room-meta svg { width: 15px; height: 15px; color: var(--gold-deep); }

.amenity-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.chip {
  padding: 5px 12px; border-radius: var(--r-full); font-size: .77rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
}
.chip.gold { background: color-mix(in srgb, var(--gold) 16%, transparent); border-color: color-mix(in srgb, var(--gold) 40%, transparent); color: var(--gold-deep); }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }

/* Feature card */
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
  position: relative; overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: inline-start;
  transition: transform .45s var(--ease-out);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.feature:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--gold) 22%, transparent), color-mix(in srgb, var(--gold) 8%, transparent));
  color: var(--gold-deep); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.gal-item {
  position: relative; overflow: hidden; border-radius: var(--r); cursor: pointer;
  aspect-ratio: 1; background: var(--surface-2);
}
.gal-item.tall { aspect-ratio: 1 / 1.4; }
.gal-item.wide { grid-column: span 2; aspect-ratio: 2 / 1.1; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gal-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 16, 20, .75));
  opacity: 0; transition: opacity .35s var(--ease);
}
.gal-item figcaption {
  position: absolute; inset-block-end: 0; inset-inline: 0; padding: 18px; z-index: 2;
  color: #fff; font-weight: 700; transform: translateY(10px); opacity: 0;
  transition: all .35s var(--ease-out);
}
.gal-item:hover img { transform: scale(1.09); }
.gal-item:hover::after, .gal-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8, 11, 14, .94);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 84vh; border-radius: var(--r); object-fit: contain; box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; inset-block-start: 20px; inset-inline-end: 20px; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; }
.lb-nav { position: absolute; inset-block-start: 50%; transform: translateY(-50%); color: #fff; background: rgba(255, 255, 255, .12); border-radius: 50%; width: 50px; height: 50px; display: grid; place-items: center; }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { inset-inline-start: 20px; }
.lb-next { inset-inline-end: 20px; }
.lb-nav svg, .lb-close svg { width: 24px; height: 24px; }
.lb-cap { position: absolute; inset-block-end: 24px; inset-inline: 0; text-align: center; color: rgba(255, 255, 255, .85); font-weight: 600; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; position: relative;
}
.quote::before {
  content: "\201D"; position: absolute; inset-block-start: -6px; inset-inline-start: 22px;
  font-family: Georgia, serif; font-size: 5rem; color: color-mix(in srgb, var(--gold) 30%, transparent); line-height: 1;
}
.quote p { position: relative; font-size: .96rem; margin: 14px 0 20px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold-2), var(--gold-deep)); color: #fff; font-weight: 800;
}
.quote-who b { display: block; font-size: .93rem; }
.quote-who small { color: var(--muted); font-size: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; color: #fff; text-align: center; isolation: isolate; overflow: hidden;
  padding-block: clamp(60px, 9vw, 110px);
  background: linear-gradient(135deg, var(--emerald), #0a2526);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: radial-gradient(circle at 20% 30%, var(--gold) 0, transparent 45%), radial-gradient(circle at 80% 70%, var(--gold) 0, transparent 45%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 12px auto 28px; max-width: 55ch; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1418; color: rgba(255, 255, 255, .7); padding-block: 66px 0; }
html[data-theme="dark"] .site-footer { background: #090c10; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .04em; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer p { color: rgba(255, 255, 255, .6); font-size: .92rem; }
.foot-links li { margin-bottom: 10px; }
.foot-links a { font-size: .92rem; transition: color .2s, padding .2s; display: inline-block; }
.foot-links a:hover { color: var(--gold-2); padding-inline-start: 5px; }
.contact-line { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; font-size: .92rem; }
.contact-line svg { width: 17px; height: 17px; color: var(--gold-2); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); transition: all .25s var(--ease);
}
.socials a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.newsletter { display: flex; gap: 8px; margin-top: 8px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 12px 15px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); color: #fff;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.footer-bottom {
  margin-top: 50px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem;
}
.footer-bottom a:hover { color: var(--gold-2); }

/* Developer credit strip */
.footer-credit {
  padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center;
  gap: 8px 14px; flex-wrap: wrap; font-size: .83rem;
  color: rgba(255, 255, 255, .5);
}
.footer-credit b { color: var(--gold-2); font-weight: 700; letter-spacing: .01em; }
.credit-links { display: flex; gap: 6px; flex-wrap: wrap; }
.credit-links a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: var(--r-full); font-size: .78rem; font-weight: 600;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  transition: all .24s var(--ease);
}
.credit-links a:hover {
  background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px);
}
.credit-links svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .footer-credit { text-align: center; } }

/* ---------- Booking flow ---------- */
.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 34px; flex-wrap: wrap; justify-content: center; }
.step { display: flex; align-items: center; gap: 10px; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted);
  font-weight: 800; font-size: .88rem; transition: all .3s var(--ease);
}
.step.on .step-num { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(163, 132, 79, .4); }
.step.done .step-num { background: var(--ok); border-color: transparent; color: #fff; }
.step-label { font-size: .88rem; font-weight: 700; color: var(--muted); }
.step.on .step-label, .step.done .step-label { color: var(--ink); }
.step-line { width: 46px; height: 2px; background: var(--line-2); border-radius: 2px; }
.step-line.done { background: var(--ok); }

.book-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.summary { position: sticky; top: calc(var(--nav-h) + 20px); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.panel + .panel { margin-top: 20px; }
.panel h3 { margin-bottom: 6px; }
.panel-sub { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }

.sum-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; font-size: .93rem; }
.sum-row span:first-child { color: var(--ink-2); }
.sum-row b { font-weight: 700; }
.sum-total { border-top: 2px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 1.12rem; }
.sum-total b { color: var(--gold-deep); font-size: 1.35rem; }

.opt-card {
  display: flex; gap: 14px; align-items: center; padding: 16px;
  border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer;
  transition: all .25s var(--ease); background: var(--surface);
}
.opt-card:hover { border-color: var(--gold); background: var(--surface-2); }
.opt-card.sel { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 9%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 15%, transparent); }
.opt-card input { accent-color: var(--gold-deep); width: 19px; height: 19px; flex: none; }
.opt-card .opt-body { flex: 1; min-width: 0; }
.opt-card b { display: block; font-size: .95rem; }
.opt-card small { color: var(--muted); font-size: .83rem; }
.opt-price { font-weight: 800; color: var(--gold-deep); white-space: nowrap; }

.room-pick { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r); transition: all .25s var(--ease); }
.room-pick:hover { border-color: var(--gold); }
.room-pick.sel { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--surface)); }
.room-pick img { width: 150px; height: 105px; object-fit: cover; border-radius: var(--r-sm); }

/* ---------- Alerts, badges, misc ---------- */
.alert { display: flex; gap: 12px; padding: 15px 18px; border-radius: var(--r); font-size: .92rem; border: 1px solid; align-items: flex-start; }
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 3px; }
.alert-ok { background: var(--ok-bg); border-color: color-mix(in srgb, var(--ok) 35%, transparent); color: var(--ok); }
.alert-warn { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 35%, transparent); color: var(--warn); }
.alert-danger { background: var(--danger-bg); border-color: color-mix(in srgb, var(--danger) 35%, transparent); color: var(--danger); }
.alert-info { background: var(--info-bg); border-color: color-mix(in srgb, var(--info) 35%, transparent); color: var(--info); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: var(--r-full); font-size: .76rem; font-weight: 800; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: var(--surface-2); color: var(--muted); }

.toast-wrap { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 400; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; gap: 11px; align-items: center; padding: 14px 20px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: .92rem; min-width: 260px; max-width: 380px;
  animation: toastIn .4s var(--ease-out);
}
.toast.out { animation: toastOut .3s var(--ease) forwards; }
.toast svg { width: 20px; height: 20px; flex: none; }
.toast.ok svg { color: var(--ok); }
.toast.err svg { color: var(--danger); }
.toast.info svg { color: var(--info); }
@keyframes toastIn { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 62px; height: 62px; margin: 0 auto 18px; color: var(--line-2); }
.empty h3 { color: var(--ink-2); margin-bottom: 8px; }

.spinner {
  width: 34px; height: 34px; border-radius: 50%; margin: 0 auto;
  border: 3px solid var(--line); border-top-color: var(--gold);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.gold { color: var(--gold-deep); }
.nowrap { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .search-grid { grid-template-columns: repeat(2, 1fr); }
  .search-grid .btn { grid-column: 1 / -1; width: 100%; }
  .book-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav { display: none; }
  .burger { display: grid; }
  .hero-search { margin-top: 0; padding-top: 34px; }
  .hero-stats { gap: 24px; }
  .hero-stat b { font-size: 1.5rem; }
  .gal-item.wide { grid-column: span 1; aspect-ratio: 1; }
  .room-pick { grid-template-columns: 1fr; }
  .room-pick img { width: 100%; height: 170px; }
  .step-label { display: none; }
  .step-line { width: 26px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .search-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .panel { padding: 20px 17px; }
  .card-body { padding: 18px; }
  .toast-wrap { inset-inline: 14px; inset-block-end: 14px; }
  .toast { max-width: none; }
  .hero-actions .btn { flex: 1; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .no-print, .drawer, .toast-wrap { display: none !important; }
  body { background: #fff; }
  .panel, .card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
}
