/* SALYSS Stay — HAPPYDAYS. Colours come from the logo: sun yellow/amber over sea blues.
   Logical properties (inline-start/end) keep RTL (ar) and LTR (en, de, es, fr, ru) correct. */
:root {
	--bg: #F3F8FC;
	--surface: #FFFFFF;
	--ink: #0B2248;
	--muted: #4D6584;
	--line: #D6E4EF;
	--sun: #FDD718;
	--amber: #FFBA03;
	--on-sun: #2A1F00;
	--aqua: #2BD7EB;
	--sea: #0A73D1;
	--ocean: #014DAB;
	--on-ocean: #FFFFFF;
	--sky-top: #FFF3C4;
	--sky-mid: #E4F6FB;
	--danger: #B42318;
	--danger-bg: #FDECEA;
	--ok: #0C7A43;
	--ok-bg: #E3F5EA;
	--booked: #E7EDF3;
	--shadow: 0 10px 30px rgba(1, 45, 100, .12);
	--radius: 14px;
	--font-display: "El Messiri", "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
	--font-body: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, "Segoe UI", sans-serif;
}
.lang-en, .lang-de, .lang-es, .lang-fr, .lang-ru {
	--font-display: "El Messiri", "IBM Plex Sans", system-ui, sans-serif;
	--font-body: "IBM Plex Sans", system-ui, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; text-wrap: balance; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.icon-xl { width: 44px; height: 44px; color: var(--ok); margin-inline: auto; }
.fine { font-size: 13px; color: var(--muted); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.notice { font-size: 14px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.notice-demo { color: var(--danger); background: var(--danger-bg); border-color: transparent; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 20px; min-height: 44px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s ease; }
.btn-sun { background: var(--sun); color: var(--on-sun); }
.btn-sun:hover { background: var(--amber); }
.btn-ocean { background: var(--ocean); color: var(--on-ocean); }
.btn-ocean:hover { background: var(--sea); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ocean); color: var(--ocean); }
.btn-small { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-mini { font-size: 14px; font-weight: 600; color: var(--ocean); text-decoration: none; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .site-head { top: 32px; }
.head-row { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand b, .foot-brand b { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.brand em, .foot-brand em { font-style: normal; color: var(--ocean); }
.brand span, .foot-brand span { color: var(--amber); }
.main-nav { display: flex; align-items: center; gap: 20px; flex: 1; }
.main-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--ocean); }
.prefs { margin-inline-start: auto; display: flex; gap: 8px; }
.pref-select { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; font-size: 14px; min-height: 38px; }
.menu-toggle { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; }
@media (max-width: 820px) {
	.admin-bar .site-head { top: 0; }
	.menu-toggle { display: inline-flex; }
	.main-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px; flex-direction: column; align-items: stretch; }
	.main-nav.is-open { display: flex; }
	.main-nav ul { flex-direction: column; gap: 12px; }
	.prefs { margin-inline-start: 0; }
	.prefs .pref-select { flex: 1; }
	.brand b { font-size: 19px; }
}

/* Hero + search */
.hero { position: relative; background: linear-gradient(180deg, var(--sky-top), var(--sky-mid) 70%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset-inline-end: 8%; top: 36px; width: 170px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #FFF8D8 0 38%, var(--sun) 39% 62%, transparent 63%); opacity: .9; }
.hero .wrap { position: relative; padding-block: 56px 0; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.5rem); max-width: 16ch; }
.waves { display: block; width: 100%; height: 90px; margin-top: -10px; }
.waves .w1 { fill: var(--aqua); opacity: .55; }
.waves .w2 { fill: var(--sea); opacity: .55; }
.waves .w3 { fill: var(--bg); }

.search { position: relative; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; display: grid; grid-template-columns: 1.5fr 1fr 1fr .7fr .7fr auto; gap: 12px; align-items: end; }
.search-hero { margin-top: 30px; z-index: 2; }
.search-hero::before { content: ""; position: absolute; top: -22px; inset-inline-start: 34px; width: 46px; height: 30px; border: 7px solid var(--amber); border-bottom: 0; border-radius: 30px 30px 0 0; }
.search-inline { margin-top: 16px; box-shadow: none; border: 1px solid var(--line); }
@media (max-width: 960px) { .search { grid-template-columns: 1fr 1fr; } .search .field-dest, .search .btn { grid-column: 1 / -1; } }

.field { display: grid; gap: 4px; min-width: 0; }
.field label, .lbl { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .2px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 9px 12px; min-height: 44px; }
.field .hint { font-size: 12.5px; color: var(--muted); }
/* Chrome reverses the day/month/year labels of date inputs inside RTL pages («ةنس/رهش/موي»);
   render the control LTR and keep it right-aligned on Arabic pages. */
input[type="date"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="date"] { text-align: right; }
.field.invalid input { border-color: var(--danger); }
.field.invalid .hint { color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Sections */
.block { padding-block: 40px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.sec-title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 18px; }
.sec-head .sec-title { margin-bottom: 0; }
.dest-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.dest { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.dest .ph { aspect-ratio: 4 / 3; }
.dest-t { padding: 10px 12px; display: grid; }
.dest-t small { color: var(--muted); }

/* Placeholders when a unit has no photos yet */
.ph { position: relative; max-width: 100%; background: var(--sky-mid); width: 100%; height: 100%; min-height: 120px; }
.ph-sea { background: radial-gradient(circle at 70% 38%, #FFF6C9 0 9%, #FFD54A 10% 15%, transparent 16%), linear-gradient(180deg, #FFE7A3 0 45%, #2BD7EB 46% 62%, #0A73D1 63% 80%, #014DAB 81%); }
.ph-city { background: linear-gradient(0deg, #0B2248 0 18%, transparent 18%), repeating-linear-gradient(90deg, #12376B 0 28px, #1B4C8C 28px 44px, transparent 44px 56px) bottom / 100% 55% no-repeat, linear-gradient(180deg, #FFCF6B, #FF9E5A 60%, #F08A5D); }
.ph-desert { background: radial-gradient(circle at 30% 35%, #FFF6C9 0 8%, transparent 9%), linear-gradient(180deg, #8FD8F2 0 50%, #2BD7EB 50% 58%, #F2C46B 58% 75%, #E0A145 75%); }
.ph-garden { background: radial-gradient(ellipse at 20% 100%, #2E8B57 0 30%, transparent 31%), radial-gradient(ellipse at 80% 100%, #3BA36A 0 35%, transparent 36%), linear-gradient(180deg, #CDEFFC, #EAF8E8); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: grid; gap: 8px; padding: 14px 16px 16px; align-content: start; }
.card-title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.loc { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line); }
.price b { font-size: 1.15rem; font-weight: 600; }
.price small { color: var(--muted); }
.card-total { font-size: 13.5px; font-weight: 600; color: var(--ocean); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; }
.badge-direct { background: var(--sun); color: var(--on-sun); }
.badge-partner { color: var(--ocean); border: 1px solid currentColor; }
.badge-demo { background: var(--danger-bg); color: var(--danger); }

/* Results */
.results-head { background: linear-gradient(180deg, var(--sky-top), var(--bg)); padding-block: 28px 20px; }
.results-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.results-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; padding-block: 20px 48px; }
.results-main { display: grid; gap: 14px; min-width: 0; }
.results-count { font-weight: 600; }
.filters-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; position: sticky; top: 84px; }
.filters-box summary { font-weight: 600; cursor: pointer; }
.filters-box fieldset { border: 0; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.filters-box legend { font-weight: 600; margin-bottom: 6px; font-size: 14.5px; }
.filters-box select { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 8px; }
.filters-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.chip input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.checks { display: grid; gap: 6px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.check input { width: 18px; height: 18px; accent-color: var(--ocean); }
.check.is-disabled { color: var(--muted); }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; }
@media (max-width: 880px) {
	.results-layout { grid-template-columns: 1fr; }
	.filters-box { position: static; }
	.filters-box:not([open]) { padding-block: 10px; }
}

/* Unit page */
.crumbs { font-size: 14px; color: var(--muted); padding-block: 16px 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.gallery { display: grid; gap: 8px; border-radius: 18px; overflow: hidden; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; }
.gallery-item { display: block; overflow: hidden; }
a.gallery-item { background: var(--sky-mid); }
.gallery-item img, .gallery-item.ph { width: 100%; height: 100%; object-fit: cover; }
.gallery > :first-child { grid-row: 1 / 3; }
.gallery-1 { grid-template-columns: 1fr; grid-template-rows: 360px; }
.gallery-1 > :first-child { grid-row: auto; }
.gallery-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 360px; }
.gallery-2 > :first-child { grid-row: auto; }
.gallery-3 { grid-template-columns: 2fr 1fr; }
.gallery-4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery-4 > :nth-child(4) { grid-column: span 2; }
@media (max-width: 700px) {
	.gallery, .gallery-3, .gallery-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 110px; }
	.gallery > :first-child { grid-column: 1 / -1; grid-row: auto; }
	.gallery > :nth-child(n+4) { display: none; }
	.gallery-1, .gallery-2 { grid-template-rows: 240px; }
}
.unit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 32px; align-items: start; margin-block: 24px 56px; }
@media (max-width: 980px) { .unit-layout { grid-template-columns: 1fr; } }
.unit-main { display: grid; gap: 28px; min-width: 0; }
.unit-title { display: grid; gap: 8px; }
.unit-title h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.unit-main h2 { font-size: 1.35rem; margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.fact dt { font-size: 12.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.fact dd { margin: 0; font-weight: 600; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: .8em; }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; padding: 0; margin: 0; list-style: none; }
.amen li { display: flex; gap: 8px; align-items: center; }
.amen .icon { color: var(--ok); }
.policies { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; margin: 0; }
.policies div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.policies dt { color: var(--muted); }
.policies dd { margin: 0; font-weight: 500; text-align: end; }

/* Calendar */
.calendar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; min-height: 280px; }
.calendar[data-loading="1"] { background: linear-gradient(90deg, var(--bg), var(--surface), var(--bg)); border-radius: 12px; }
.cal-nav { grid-column: 1 / -1; display: flex; justify-content: space-between; }
.cal h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; text-align: center; margin-bottom: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: 12px; color: var(--muted); padding-block: 4px; }
.day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; border: 0; background: transparent; cursor: pointer; font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink); }
.day:hover:not(:disabled) { background: color-mix(in srgb, var(--aqua) 25%, transparent); }
.day:disabled { cursor: not-allowed; color: color-mix(in srgb, var(--muted) 50%, transparent); }
.day.is-booked { background: var(--booked); text-decoration: line-through; color: var(--muted); }
.day.is-range { background: color-mix(in srgb, var(--aqua) 30%, transparent); border-radius: 4px; }
.day.is-edge { background: var(--ocean); color: var(--on-ocean); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-inline-end: 4px; }
.sw-booked { background: var(--booked); }
.sw-edge { background: var(--ocean); }
.sw-range { background: color-mix(in srgb, var(--aqua) 30%, transparent); }

/* Booking box */
.book-box { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 14px; }
.book-box form { display: grid; gap: 12px; }
.book-box hr { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 0; }
.rate b { font-size: 1.5rem; font-weight: 600; }
.rate small { color: var(--muted); }
.dates-pick { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dates-pick div { padding: 8px 12px; display: grid; }
.dates-pick div + div { border-inline-start: 1px solid var(--line); }
.breakdown { display: grid; gap: 6px; font-size: 15px; }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; }
.breakdown .total { font-weight: 600; padding-top: 8px; border-top: 1px solid var(--line); }
.msg { font-size: 14px; border-radius: 10px; padding: 8px 12px; }
.msg.err { background: var(--danger-bg); color: var(--danger); }
.msg.ok { background: var(--ok-bg); color: var(--ok); }
.pay { display: grid; gap: 6px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { display: grid; gap: 10px; text-align: center; padding: 8px; }
.code { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
@media (max-width: 980px) { .book-box { position: static; } }

/* Pages */
.page-wrap { padding-block: 32px 56px; display: grid; gap: 18px; }
.page-wrap.narrow { max-width: 560px; }
.page-wrap h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.lookup { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.status-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; border-inline-start: 6px solid var(--amber); }
.status-confirmed { border-inline-start-color: var(--ok); }
.status-cancelled { border-inline-start-color: var(--danger); }
.entry { padding-block: 16px; border-bottom: 1px solid var(--line); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-block: 28px; color: var(--muted); font-size: 14px; }
.foot-brand { display: grid; gap: 6px; max-width: 40ch; }
.foot-meta { display: grid; gap: 6px; justify-items: start; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

/* Catalog: buildings, offers, jobs, inquiries */
.card-excerpt { color: var(--muted); font-size: 14.5px; }
.card-media { position: relative; }
.offer-badge { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: var(--sun); color: var(--on-sun); font-weight: 700; border-radius: 99px; padding: 3px 12px; font-size: 13px; }
.dest-chips { margin-top: 14px; }
.chip-link { display: inline-block; padding: 5px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; }
.chip-link.is-on, .chip-link:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.policy-list { margin: 10px 0 0; padding-inline-start: 20px; color: var(--muted); }
.inquiry-box { position: sticky; top: 84px; }
.inquiry-title { font-size: 1.3rem; }
@media (max-width: 980px) { .inquiry-box { position: static; } }
.job-list { display: grid; gap: 10px; }
.job-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); text-decoration: none; }
.job-row .fine { grid-column: 1; }
.job-row .cta-mini { grid-row: 1 / 3; grid-column: 2; }
.offer-hero img { border-radius: 18px; width: 100%; }
.narrow-read { max-width: 820px; }

.nav-cta { white-space: nowrap; }
.hd-dest-names { display: block; font-size: 12.5px; opacity: .92; margin-top: 2px; }
.salyssbp .hd-eyebrow { margin: 0; color: var(--ocean); font-weight: 600; letter-spacing: .3px; }
@media (max-width: 1100px) { .main-nav ul { gap: 14px; } }

/* Owners form */
.hd-owner-form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 3vw, 28px); box-shadow: var(--shadow); max-width: 820px; }
.hd-owner-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.hd-block-hd-owner-form .success { background: var(--ok-bg); border-radius: 18px; max-width: 820px; }
@media (max-width: 600px) { .hd-owner-form .field-row { grid-template-columns: 1fr; } }

/* SALYSS Builder pages + HAPPYDAYS blocks */
.hd-builder-page { overflow-x: clip; }
.hd-block { display: grid; gap: 20px; }
.hd-block-head { display: grid; gap: 6px; max-width: 70ch; }
.hd-block-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.hd-block-head p { color: var(--muted); font-size: 1.05rem; }
.hd-eyebrow { color: var(--ocean); font-weight: 600; font-size: 14px; letter-spacing: .3px; }
.hd-block-action { display: flex; justify-content: center; }
.salyssbp-section.hd-home-search { position: relative; z-index: 3; margin-top: -86px; padding: 0 16px; }
.salyssbp-section.hd-home-destinations { padding-top: clamp(40px, 5vw, 64px); }
.salyssbp-section.hd-home-trust, .salyssbp-section.hd-home-inspiration { padding-block: clamp(16px, 2.4vw, 32px); }
.hd-builder-page .salyssbp-section { padding-inline: 16px; }
.hd-builder-page .salyssbp-banner-grid { display: block; }
.hd-builder-page .salyssbp-banner-grid-inner { width: 100%; }
.hd-home-search .search-hero { margin-top: 0; }
@media (max-width: 760px) { .hd-home-search { margin-top: -40px; } }

.hd-dests { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.hd-dests-mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
.hd-dests-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: 220px; }
.hd-dests-rail { grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.hd-dest { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; scroll-snap-align: start; isolation: isolate; }
.hd-dest img, .hd-dest .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; z-index: -2; }
.hd-dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 25, 60, 0) 35%, rgba(1, 25, 60, .78)); z-index: -1; }
.hd-dest:hover img { transform: scale(1.05); }
.hd-dest-text { position: absolute; inset-inline: 16px; inset-block-end: 14px; display: grid; gap: 2px; }
.hd-block .hd-dest, .hd-block .hd-dest-text b, .hd-block .hd-dest-text small { color: #fff; }
.hd-dest-text b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; text-shadow: 0 1px 12px rgba(0, 20, 50, .45); }
.hd-dests-mosaic > :first-child .hd-dest-text b { font-size: 2rem; }
.hd-dest-text small { opacity: .9; font-size: 14px; }
.hd-dest-text em { font-style: normal; font-size: 12.5px; font-weight: 600; background: var(--sun); color: var(--on-sun); border-radius: 99px; padding: 1px 10px; width: fit-content; margin-top: 4px; }
@media (max-width: 900px) { .hd-dests { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .hd-dests-mosaic, .hd-dests-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .hd-dests-mosaic > :first-child { grid-column: span 2; grid-row: span 1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* About («من نحن») + testimonials + team */
.about-hero { position: relative; color: #fff; background: linear-gradient(90deg, rgba(5, 22, 52, .82), rgba(5, 22, 52, .35)), var(--about-img) center / cover no-repeat; }
[dir="rtl"] .about-hero { background: linear-gradient(270deg, rgba(5, 22, 52, .82), rgba(5, 22, 52, .35)), var(--about-img) center / cover no-repeat; }
.about-hero .wrap { padding-block: 88px 96px; display: grid; gap: 14px; }
.about-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); max-width: 20ch; }
.about-hero p { max-width: 60ch; font-size: 1.08rem; opacity: .92; }
.about-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .6px; color: var(--sun); }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: -40px; position: relative; }
.about-fact { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.about-fact .icon { color: var(--ocean); width: 22px; height: 22px; }
.about-fact b { font-family: var(--font-display); font-size: 1.25rem; }
.about-fact small { color: var(--muted); }
a.about-fact:hover { border-color: var(--ocean); }
.about-story, .about-values, .about-team, .about-reviews { padding-block: 56px 0; display: grid; gap: 14px; }
.about-story p { max-width: 68ch; color: var(--muted); font-size: 1.05rem; }
.about-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.about-value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.about-value .icon { width: 26px; height: 26px; color: var(--ocean); }
.about-value p { color: var(--muted); }
.about-review-links { display: flex; flex-wrap: wrap; gap: 10px; }
.about-cta { margin-block: 56px; background: var(--ocean); color: var(--on-ocean); border-radius: calc(var(--radius) + 6px); padding: 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.about-cta p { opacity: .9; }
.about-cta .btn-ghost { color: var(--on-ocean); border-color: color-mix(in srgb, var(--on-ocean) 40%, transparent); }
.about-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; align-content: space-between; }
.review-card blockquote { margin: 0; }
.review-card blockquote p { font-size: 1.02rem; }
.review-stars { color: var(--amber); letter-spacing: 2px; }
.review-card figcaption { display: flex; align-items: center; gap: 10px; }
.review-card figcaption img, .review-initial { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.review-initial, .team-initial { display: grid; place-items: center; background: var(--sky-mid); color: var(--ocean); font-weight: 700; }
.review-card figcaption span { display: grid; min-width: 0; }
.review-card figcaption small { color: var(--muted); }
.review-src { margin-inline-start: auto; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; text-decoration: none; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.team-card { text-align: center; display: grid; gap: 6px; justify-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.team-card img, .team-initial { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; font-size: 2rem; }
.team-role { color: var(--ocean); font-weight: 600; }
.hd-own-reviews:not(:has(.review-card)) { display: none; }

/* «دوّر على إقامة» (Stay22 maps) */
.find-hero .wrap { padding-block: 64px 72px; }
.find-maps { padding-block: 28px 0; display: grid; gap: 12px; }
.find-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.find-tab { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 18px; font-weight: 600; cursor: pointer; min-height: 40px; }
.find-tab.is-on { background: var(--ocean); border-color: var(--ocean); color: var(--on-ocean); }
.find-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.find-frame iframe { display: block; width: 100%; height: min(78vh, 680px); min-height: 460px; border: 0; }
.find-note { max-width: 80ch; }
.find-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.find-views { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.find-view { border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 14px; font-weight: 600; cursor: pointer; min-height: 34px; }
.find-view.is-on { background: var(--sun); color: var(--on-sun); }
.find-widget { display: grid; gap: 12px; }
.find-widget .find-frame iframe { height: min(85vh, 860px); }
