/* ==========================================================================
   Anbar International Hotel — main stylesheet
   Works in Arabic (RTL) and English (LTR) using logical properties.
   Palette: Euphrates deep, river green, reed mist, limestone, pomegranate.
   ========================================================================== */

:root {
	--deep: #0b2d31;
	--river: #1c6b66;
	--sage: #5e9a7a;
	--mist: #edf2ee;
	--lime: #d8d2c2;
	--pom: #9e2b45;
	--pom-dark: #7f2137;
	--ink: #14262a;
	--muted: #52666a;
	--white: #fff;
	--soft: #f7f9f7;
	--radius: 8px;
	--font-display: "Reem Kufi", "IBM Plex Sans Arabic", Tahoma, system-ui, sans-serif;
	--font-body: "IBM Plex Sans Arabic", Tahoma, system-ui, -apple-system, "Segoe UI", sans-serif;
	--wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='14' viewBox='0 0 80 14'%3E%3Cpath d='M0 7 Q10 0 20 7 T40 7 T60 7 T80 7' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--mist);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.85;
	text-align: start;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--river); text-underline-offset: 3px; }
a:hover { color: var(--pom); }
:focus-visible { outline: 3px solid var(--pom); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--deep);
	line-height: 1.3;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.18; font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3, .h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--deep); color: #fff; padding: .6em 1em; z-index: 200; border-radius: 6px; }
.skip:focus { top: 12px; }
.icon { flex: none; vertical-align: middle; }
[dir="rtl"] .icon--chevron { transform: scaleX(-1); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.6em; border-radius: 6px; border: 2px solid transparent;
	font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { padding: .55em 1.1em; font-size: .95rem; }
.btn--accent { background: var(--pom); color: #fff; }
.btn--accent:hover { background: var(--pom-dark); color: #fff; }
.btn--ghost { border-color: var(--river); color: var(--river); background: transparent; }
.btn--ghost:hover { background: var(--river); color: #fff; }
.btn--line { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn--line:hover { background: var(--deep); color: #fff; }
.btn--light { background: var(--mist); color: var(--deep); }
.btn--light:hover { background: #fff; color: var(--pom); }

/* ---------- River line (wave) ---------- */
.river-line, .footer__river {
	height: 14px;
	background-color: var(--river);
	-webkit-mask: var(--wave) repeat-x center / 80px 14px;
	mask: var(--wave) repeat-x center / 80px 14px;
}

/* ---------- Arch frame ---------- */
.arch { border-radius: 999px 999px 10px 10px; overflow: hidden; background: var(--lime); }
.arch img, .arch svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { display: block; width: 100%; height: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(237, 242, 238, .94);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--lime);
}
.bar { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--deep); flex: none; }
.brand:hover { color: var(--deep); }
.brand__logo { display: block; height: 58px; width: auto; max-width: 100%; }
.nav { flex: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; flex-wrap: wrap; }
.nav a { display: block; padding: .5em .8em; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--pom); }
.nav a[aria-current="page"] { color: var(--deep); border-bottom-color: var(--pom); font-weight: 600; }
.nav a.nav__book, .nav a.nav__book:hover { color: #fff; border-bottom-color: transparent; }
.nav__book { display: none !important; }
.bar__end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: .4em .8em; border: 1px solid var(--lime); border-radius: 999px; color: var(--deep); text-decoration: none; font-size: .92rem; font-weight: 500; background: #fff; }
.lang:hover { border-color: var(--river); color: var(--river); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--lime); background: #fff; border-radius: 8px; cursor: pointer; padding: 0; position: relative; }
.burger__lines, .burger__lines::before, .burger__lines::after {
	position: absolute; inset-inline: 12px; height: 2px; background: var(--deep); border-radius: 2px; content: ""; transition: transform .2s, top .2s;
}
.burger__lines { top: 21px; }
.burger__lines::before { top: -7px; inset-inline: 0; }
.burger__lines::after { top: 7px; inset-inline: 0; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (full-bleed photo) ---------- */
.hero {
	position: relative; isolation: isolate; color: #fff; background: var(--deep); overflow: hidden;
	min-height: clamp(540px, 82vh, 780px); display: flex; align-items: center;
	padding: clamp(72px, 10vw, 120px) 0 clamp(120px, 13vw, 160px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* Slightly taller than the hero so the photo's own bottom watermark falls outside the visible area. */
.hero__img { position: absolute; inset-inline: 0; top: 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 52%; }
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(to top, rgba(8, 32, 36, .6), rgba(8, 32, 36, 0) 38%),
		linear-gradient(to right, rgba(8, 32, 36, .88) 0%, rgba(8, 32, 36, .6) 40%, rgba(8, 32, 36, .15) 78%, rgba(8, 32, 36, .04) 100%);
}
[dir="rtl"] .hero__bg::after {
	background:
		linear-gradient(to top, rgba(8, 32, 36, .6), rgba(8, 32, 36, 0) 38%),
		linear-gradient(to left, rgba(8, 32, 36, .88) 0%, rgba(8, 32, 36, .6) 40%, rgba(8, 32, 36, .15) 78%, rgba(8, 32, 36, .04) 100%);
}
.hero__inner { width: min(1180px, 100% - 40px); }
.hero__text { max-width: 640px; }
.hero h1 { color: #fff; }
.hero__title { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.75rem); color: #bfe3d9; margin: 0 0 .6em; line-height: 1.5; }
.hero__sub { color: #e6f0ed; max-width: 34em; font-size: 1.1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.btn--glass { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .08); }
.btn--glass:hover { background: #fff; color: var(--deep); }

@media (prefers-reduced-motion: no-preference) {
	.hero__text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
	.hero__text > :nth-child(2) { animation-delay: .12s; }
	.hero__text > :nth-child(3) { animation-delay: .24s; }
	.hero__text > :nth-child(4) { animation-delay: .36s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Booking form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: .85rem; font-weight: 500; color: var(--muted); line-height: 1.4; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink);
	background: #fff; border: 1px solid #b9c4bd; border-radius: 6px; padding: .65em .8em; min-height: 46px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(28, 107, 102, .35); border-color: var(--river); }
.bk__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field--full { grid-column: 1 / -1; }
.bk__submit { margin-top: 16px; }
.bk__note { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }

.bk--bar { background: #fff; border: 1px solid var(--lime); border-radius: 12px; padding: 22px 24px; box-shadow: 0 22px 44px -28px rgba(11, 45, 49, .45); }
.bk--bar form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.bk--bar .bk__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1.2fr); }
.bk--bar .bk__submit { margin: 0; min-height: 46px; }
.bk--bar .bk__note { grid-column: 1 / -1; margin: 0; }
.bk-wrap { margin-top: -52px; position: relative; z-index: 2; }

.notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; border-inline-start: 4px solid var(--river); background: #e1efe9; color: var(--deep); font-size: .98rem; line-height: 1.6; }
.notice--err { border-inline-start-color: var(--pom); background: #f7e3e8; color: #5d1626; }

/* ---------- Intro ---------- */
.intro { padding: clamp(56px, 8vw, 104px) 0 clamp(16px, 3vw, 40px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.intro__statement { font-family: var(--font-body); font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.7; color: var(--deep); max-width: 26em; margin: 0 0 1em; font-weight: 500; }
.intro__art { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: end; }
.intro__art img { object-position: 48% 40%; }
.more--lg { font-size: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.section__head h2 { margin-bottom: .3em; }
.section__head .river-line { width: 120px; }
.empty { padding: 40px 0; color: var(--muted); }

/* ---------- Stays ---------- */
.stay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.stay__img { display: block; aspect-ratio: 4 / 5; margin-bottom: 20px; }
.stay__img img, .stay__img svg { transition: transform .6s ease; }
.stay__img:hover img, .stay__img:hover svg { transform: scale(1.04); }
.stay__title { font-size: 1.55rem; margin-bottom: .3em; }
.stay__title a { color: var(--deep); text-decoration: none; }
.stay__title a:hover { color: var(--pom); }
.stay__text { color: var(--muted); margin-bottom: .8em; }
.stay__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: .4em 0 0; }
.stay__price { color: var(--pom); font-weight: 600; font-size: .98rem; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; color: var(--river); }
.chips { list-style: none; margin: 0 0 .6em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; padding: .15em .8em; border: 1px solid var(--lime); border-radius: 999px; background: #fff; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.filters a, .filters button {
	font: 500 .98rem/1.2 var(--font-body); padding: .6em 1.2em; border: 1px solid var(--lime); background: #fff;
	border-radius: 999px; color: var(--deep); text-decoration: none; cursor: pointer;
}
.filters a:hover, .filters button:hover { border-color: var(--river); color: var(--river); }
.filters [aria-current="page"], .filters [aria-pressed="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }

/* ---------- Facilities mosaic ---------- */
.section--fac { background: var(--soft); }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; margin-bottom: 36px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--lime); text-decoration: none; color: #fff; }
.mosaic .tile:first-child { grid-column: span 2; grid-row: span 2; }
.tile img, .tile svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img, .tile:hover svg { transform: scale(1.05); }
.tile__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 38px 18px 16px; background: linear-gradient(to top, rgba(11, 45, 49, .88), rgba(11, 45, 49, 0)); display: flex; flex-direction: column; gap: 2px; }
.tile__name { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; }
.tile__tag { font-size: .85rem; opacity: .85; }
.mosaic .tile:first-child .tile__name { font-size: 1.7rem; }

/* ---------- River band (night photo) ---------- */
.river { position: relative; isolation: isolate; background: var(--deep); color: #d5e4e0; padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; }
.river__bg { position: absolute; inset: 0; z-index: -1; }
.river__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.river__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(8, 32, 36, .92), rgba(8, 32, 36, .6) 60%, rgba(8, 32, 36, .35)); }
[dir="rtl"] .river__bg::after { background: linear-gradient(to left, rgba(8, 32, 36, .92), rgba(8, 32, 36, .6) 60%, rgba(8, 32, 36, .35)); }
.river h2 { color: #fff; }
.river__inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(32px, 6vw, 88px); }
.river__text { max-width: 34em; }
.river__text p { font-size: 1.15rem; }
.river__art { aspect-ratio: 4 / 5; width: 300px; flex: none; }

/* ---------- Gallery teaser / gallery page ---------- */
.tease { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 32px; }
.tease__item { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.tease__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tease__item:hover img { transform: scale(1.05); }

.gal { columns: 3 280px; column-gap: 14px; }
.gal__item { position: relative; display: block; break-inside: avoid; margin: 0 0 14px; border-radius: var(--radius); overflow: hidden; background: var(--lime); }
.gal__item[hidden] { display: none; }
.gal__item img { width: 100%; height: auto; transition: transform .6s ease; }
.gal__item:hover img { transform: scale(1.03); }
.gal--ph { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gal--ph .gal__item { margin: 0; aspect-ratio: 4 / 3; }
.gal--ph figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-family: var(--font-display); font-size: 1.1rem; background: linear-gradient(to top, rgba(11, 45, 49, .85), rgba(11, 45, 49, 0)); }

/* ---------- CTA ---------- */
.cta { background: var(--river); color: #fff; padding: clamp(48px, 7vw, 80px) 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #dcebe7; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.4em; }
.cta .btn--accent { background: #fff; color: var(--deep); }
.cta .btn--accent:hover { background: var(--mist); color: var(--pom); }
.cta .btn--light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.cta .btn--light:hover { background: #fff; color: var(--deep); }

/* ---------- Inner pages ---------- */
.banner { background: var(--deep); color: #fff; padding: clamp(40px, 6vw, 72px) 0 0; }
.banner h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .25em; }
.banner__lead { color: #b9d0cb; font-size: 1.1rem; margin: 0 0 clamp(28px, 4vw, 44px); max-width: 38em; }
.banner .wrap > h1:last-child { margin-bottom: clamp(28px, 4vw, 44px); }
.banner .river-line { background-color: var(--river); }

.prose { max-width: 68ch; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius); }

.detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail__grid--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.detail__hero { aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: var(--lime); }
.detail__hero img, .detail__hero svg { width: 100%; height: 100%; object-fit: cover; }
.detail__main .prose { margin-top: 28px; }
.detail__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumbs a { display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .icon { color: var(--river); margin-top: .35em; }

.panel { background: #fff; border: 1px solid var(--lime); border-radius: 12px; padding: 28px; position: sticky; top: 100px; }
.panel__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--pom); margin: 0 0 .6em; line-height: 1.4; }
.facts { list-style: none; margin: 0 0 1.4em; padding: 0; }
.facts li { display: flex; align-items: center; gap: 10px; padding: .55em 0; border-bottom: 1px solid var(--mist); }
.facts li span { color: var(--muted); }
.facts li b { margin-inline-start: auto; font-weight: 600; }
.panel .bk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel .bk__submit { width: 100%; }

.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; margin: 1.5em 0 0; padding: 0; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: .7em 0; border-bottom: 1px solid var(--lime); }
.contact__list .icon { color: var(--river); }
.contact__form { background: #fff; border: 1px solid var(--lime); border-radius: 12px; padding: clamp(22px, 3vw, 36px); }
.contact__form .bk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.map { margin-top: clamp(40px, 6vw, 72px); }
.map iframe { width: 100%; height: 400px; border: 0; border-radius: 12px; background: var(--lime); }

.team__title { margin-top: 2.4em; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.team__item { margin: 0; text-align: center; }
.team__photo { aspect-ratio: 4 / 5; margin-bottom: 12px; }
.team__item strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--deep); font-weight: 600; }
.team__item span { color: var(--muted); font-size: .95rem; }

.post-item { padding: 0 0 1.4em; margin-bottom: 1.6em; border-bottom: 1px solid var(--lime); }
.post-item__date { color: var(--muted); font-size: .9rem; margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #c3d6d2; padding-top: 0; }
.footer__river { background-color: var(--river); margin-bottom: 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 6vw, 64px) 0; }
.footer__logo { margin: 0 0 1em; }
.footer__logo-img { display: block; height: 64px; width: auto; max-width: 100%; }
.footer__col h2 { font-size: 1.1rem; color: #fff; margin-bottom: .8em; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { padding: .25em 0; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { margin-top: .35em; color: var(--sage); }
.site-footer a { color: #e3eeeb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__social { display: flex; gap: 14px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0 26px; font-size: .9rem; color: #94afaa; }
.footer__legal p { margin: 0; }
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1ea952; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }
.wa-float:hover { color: #fff; background: #168a42; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(8, 28, 31, .95); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; text-align: center; }
.lb img { max-width: 92vw; max-height: 82vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lb figcaption { color: #d5e4e0; margin-top: 12px; font-size: .95rem; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 0; }
.lb button:hover { background: rgba(255, 255, 255, .24); }
.lb__close { top: 18px; inset-inline-end: 18px; }
.lb__prev { inset-inline-start: 18px; top: 50%; }
.lb__next { inset-inline-end: 18px; top: 50%; }
[dir="rtl"] .lb__prev .icon, [dir="rtl"] .lb__next .icon { transform: scaleX(-1); }
.lb__prev .icon { transform: scaleX(-1); }
[dir="rtl"] .lb__prev .icon { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.burger { display: inline-block; }
	.nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--mist); border-bottom: 1px solid var(--lime); padding: 8px 20px 18px; max-height: calc(100vh - 76px); overflow-y: auto; }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav a { padding: .85em .2em; border-bottom: 1px solid var(--lime); }
	.nav a[aria-current="page"] { border-bottom-color: var(--pom); }
	.site-header { position: sticky; }
	.bar { position: relative; }
}
@media (max-width: 980px) {
	.bk--bar form { grid-template-columns: 1fr; }
	.bk--bar .bk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bk--bar .bk__submit { width: 100%; }
	.mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
	.mosaic .tile:first-child { grid-column: span 2; grid-row: span 1; }
	.stay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.detail__grid { grid-template-columns: minmax(0, 1fr); }
	.panel { position: static; }
	.contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
	.hero__bg::after, [dir="rtl"] .hero__bg::after { background: linear-gradient(to top, rgba(8, 32, 36, .9), rgba(8, 32, 36, .6) 55%, rgba(8, 32, 36, .35)); }
	.river__bg::after, [dir="rtl"] .river__bg::after { background: rgba(8, 32, 36, .78); }
	.river__inner { flex-direction: column; align-items: flex-start; }
	.intro__grid { grid-template-columns: minmax(0, 1fr); }
	.intro__art { justify-self: start; max-width: 340px; }
	.footer__grid { grid-template-columns: minmax(0, 1fr); }
	.gal--ph, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.bar { gap: 10px; }
	.brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
	.brand__logo { height: 38px; }
	.bar__end { gap: 8px; flex: none; }
	.bar__book { display: none; }
	.nav .nav__book { display: flex !important; margin-top: 16px; width: 100%; }
	.lang span { display: none; }
	.stay-grid, .ticks { grid-template-columns: minmax(0, 1fr); }
	.stay__img { max-width: 360px; }
	.mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
	.bk--bar { padding: 16px; }
	.bk--bar .bk__grid, .bk__grid, .contact__form .bk__grid { grid-template-columns: minmax(0, 1fr); }
	.tease { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gal--ph, .team { grid-template-columns: minmax(0, 1fr); }
	.bk-wrap { margin-top: -36px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
