/* Palm Gardens at P/X. Palm Hills colours: limestone paper, near-black, brand red. No gradient bands. */
:root {
  --black: #141210;
  --ink: #1c1916;
  --paper: #f3efe6;
  --paper-2: #e7e0d4;
  --line: #d5cdc0;
  --muted: #4f4a43;
  --red: #ce1f2b;
  --red-dark: #a31822;
  --white: #fffcf7;
  /* Main site uses Gill Sans; use it where installed (macOS, Windows + Office), else Cabin, its closest free match */
  --font: "Gill Sans", "Gill Sans MT", "Cabin", "Trebuchet MS", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", sans-serif;
  --wrap: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; overflow-x: hidden; position: relative; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--paper); overflow-x: hidden; position: relative; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.15; margin: 0 0 .55em; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4vw, 46px); }
h3 { font-size: 22px; letter-spacing: 0; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -48px; z-index: 80; background: #fff; color: var(--black); padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.kicker::before { content: ""; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); flex: 0 0 auto; }
.lede { font-size: 18px; max-width: 62ch; }
.fine, figcaption { font-size: 14px; color: var(--muted); }
.fine { margin-top: 22px; }
.textlink { color: var(--red); font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--line { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn--line:hover { background: #fff; color: var(--black); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 22px; height: 68px; padding: 0 24px; color: #fff; background: transparent; }
.nav.is-solid, .nav.is-open { background: var(--black); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.nav__brand img { width: 28px; height: 28px; }
.nav__links { display: flex; gap: 22px; margin-inline-start: auto; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav__cta { margin-inline-start: 8px; }
.lang { margin-inline-start: 8px; min-height: 36px; padding: 0 10px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; font: 600 14px/1 var(--font); letter-spacing: 0; }
.lang:hover { background: #fff; color: var(--black); }
.nav__toggle { display: none; margin-inline-start: 4px; width: 44px; height: 44px; background: none; border: 0; padding: 12px 10px; }
.nav__toggle span { display: block; height: 1.5px; background: #fff; margin: 6px 0; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu { position: fixed; inset: 68px 0 0; z-index: 49; background: var(--black); color: #fff; padding: 12px 24px 32px; overflow: auto; }
.menu nav { display: flex; flex-direction: column; }
.menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); text-decoration: none; font-size: 22px; font-weight: 500; }
.menu .btn { margin-top: 24px; }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #000; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,10,8,.82) 0%, rgba(12,10,8,.42) 48%, rgba(12,10,8,.12) 100%); }
html[dir="rtl"] .hero__shade { background: linear-gradient(270deg, rgba(12,10,8,.82) 0%, rgba(12,10,8,.42) 48%, rgba(12,10,8,.12) 100%); }
.hero__inner { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 108px 24px 32px; }
.badge { display: inline-block; margin: 0 0 18px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.55); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; }
.hero h1 img { width: min(460px, 78vw); height: auto; }
.hero__at { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; font-size: 16px; font-weight: 500; }
.hero__at img { width: 26px; height: auto; }
.hero__lede { max-width: 38rem; font-size: 19px; color: rgba(255,255,255,.92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__offer { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--black); }
.hero__offer li { padding: 18px 24px; border-inline-end: 1px solid rgba(255,255,255,.16); }
.hero__offer li:last-child { border-inline-end: 0; }
.hero__offer a { display: block; color: inherit; text-decoration: none; }
.hero__offer a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.hero__offer strong { display: block; font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; }
.hero__offer span { display: block; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.72); }

.facts { padding: 22px 0 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; }
.facts__grid div { padding-top: 4px; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: clamp(17px, 1.7vw, 20px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }

.section { padding: clamp(56px, 8vw, 92px) 0; }
.section--rule { border-top: 1px solid var(--line); }
.section--dark { background: var(--black); color: var(--paper); }
.section--dark .kicker { color: var(--paper); }
.section__head { margin-bottom: 28px; max-width: 68ch; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.keyfacts { margin: 8px 0 0; border-top: 1px solid var(--line); }
.keyfacts div { display: grid; grid-template-columns: minmax(7.5rem, 38%) 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.keyfacts dt { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.keyfacts dd { margin: 0; font-weight: 500; }

.pricelist { border-bottom: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.prow img { width: 148px; height: 100px; object-fit: cover; }
.prow h3 { margin: 0 0 4px; font-size: 20px; }
.prow p { margin: 0; color: var(--muted); font-size: 15px; }
.prow .prow__price { margin: 0; text-align: end; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); line-height: 1; white-space: nowrap; }
.prow__cur { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.prow__amt { display: block; }
.prow__go { color: var(--red); font-weight: 600; text-decoration: none; white-space: nowrap; }
.prow__go:hover { text-decoration: underline; }
.prow--text { grid-template-columns: minmax(0, 1fr) auto auto; }
.prow .prow__note { margin-top: 6px; color: var(--ink); font-size: 14px; }
.apt-visuals { display: grid; grid-template-columns: 1.45fr .72fr; gap: 12px; margin: 0 0 22px; }
.apt-visuals figure { margin: 0; }
.apt-visuals button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; }
.apt-visuals img { width: 100%; height: 440px; object-fit: cover; }
.apt-visuals figcaption { margin-top: 8px; }
.apt-planfig { margin-top: 28px; }
.apt-fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); max-width: 68ch; }

.schedule { width: 100%; border-collapse: collapse; margin-top: 8px; }
.schedule th, .schedule td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: start; vertical-align: baseline; }
.schedule th { width: 42%; font-weight: 500; color: var(--muted); }
.schedule td { font-size: 20px; font-weight: 500; }

.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 18px; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.unit { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 4vw, 48px); align-items: start; }
.unit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }
.specs { margin: 8px 0 16px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.specs div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-size: 18px; font-weight: 500; }
.unit__rooms { font-size: 15px; }

.plan button, .map button, .wide button, .gal button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; }
.plan img { width: 100%; max-height: 720px; object-fit: contain; object-position: top; background: var(--paper-2); }
.map { margin-top: 36px; }
.map img, .wide img { width: 100%; max-height: 720px; object-fit: contain; background: #111; }
.wide { margin: 36px 0 0; }
.wide button { background: #111; }
.wide--paper button, .wide--paper img { background: var(--paper-2); }
figcaption { margin-top: 8px; }

.place { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.place li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.place b { font-weight: 600; }
.place span { color: var(--muted); }

.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.gal__wide { grid-column: 1 / -1; }
.gal img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gal__wide img { aspect-ratio: 16 / 8; max-height: 520px; }

.register { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.register__text p { color: rgba(243, 239, 230, .8); }
.form { position: relative; display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); background: var(--paper); color: var(--ink); }
.unit-picked { margin: 0; padding: 10px 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select { width: 100%; min-height: 52px; padding: 0 12px; border: 1px solid #c9c0b2; border-radius: 0; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font); }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 23px, calc(100% - 13px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] .form select { background-position: 18px 23px, 13px 23px; padding-inline: 12px 28px; }
.form input:focus, .form select:focus { outline: none; border-color: var(--ink); }
.form input.err, .form select.err { border-color: var(--red); }
.form .hp { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.form__msg { margin: 0; min-height: 1.2em; font-size: 15px; }
.form__msg.bad { color: var(--red-dark); }
.form__fine { margin: 0; font-size: 13px; color: var(--muted); }
.form.is-done > :not(.form__thanks) { display: none; }
.form__thanks { text-align: start; padding: 12px 0; outline: none; }
.form__thanks svg { width: 56px; height: 56px; margin: 0 0 12px; fill: none; stroke: var(--red); stroke-width: 2; }
.form__thanks h3 { font-size: 32px; }
.form__thanks p { color: var(--muted); }
.form__thanks .wa-next { margin-top: 8px; background: #128C4A; color: #fff; }
.form__thanks .wa-next:hover { background: #0e703b; }
.wa-inline { margin-top: 8px; }

.footer { background: var(--black); color: rgba(243,239,230,.78); padding: 56px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__brand img { width: 160px; height: auto; }
.footer h4 { margin: 0 0 10px; color: var(--paper); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 8px 0; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom { padding-top: 22px; font-size: 14px; }
.footer__copy { margin-bottom: 0; }

.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; background: var(--black); transform: translateY(100%); transition: transform .2s ease; }
.actionbar.is-on { transform: translateY(0); }
.actionbar a[href="#register"] { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; padding: 8px 10px 8px 18px; min-height: 56px; }
.actionbar__hint { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.86); }
.actionbar__go { background: var(--red); color: #fff; padding: 10px 16px; min-height: 40px; display: inline-flex; align-items: center; }
body.has-bar { padding-bottom: 64px; }
.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40; background: #128C4A; color: #fff; text-decoration: none; font-weight: 600; padding: 12px 16px; min-height: 48px; display: inline-flex; align-items: center; }
.wa-float:hover { background: #0e703b; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 9, 8, .94); display: grid; place-items: center; padding: 56px 20px 20px; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 10px; inset-inline-end: 12px; width: 48px; height: 48px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; }

html[dir="rtl"] body { font-family: var(--font-ar); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { letter-spacing: 0; }
html[dir="rtl"] .kicker,
html[dir="rtl"] .badge,
html[dir="rtl"] .facts dt,
html[dir="rtl"] .keyfacts dt,
html[dir="rtl"] .specs dt,
html[dir="rtl"] .footer h4,
html[dir="rtl"] .nav__brand span { letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .form input, html[dir="rtl"] .form select, html[dir="rtl"] .lang { font-family: var(--font-ar); }
html[dir="rtl"] .prow .prow__price { white-space: normal; font-size: 22px; }

.noscript { margin: 0; padding: 12px 16px; background: #fff3cd; color: #1c1916; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .actionbar { transition: none; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .lang { margin-inline-start: auto; }
  .lang[hidden] ~ .nav__cta,
  .lang[hidden] ~ .nav__toggle { margin-inline-start: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .apt-visuals { grid-template-columns: 1fr; }
  .apt-visuals img { height: 230px; }
  .prow--text > div { grid-column: 1 / -1; }
  .nav { height: 60px; padding: 0 14px; }
  .menu { inset: 60px 0 0; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__brand span { font-size: 13px; letter-spacing: .1em; }
  .wrap { padding: 0 16px; }
  .hero__inner { padding: 88px 16px 22px; }
  .hero__lede { font-size: 17px; }
  .hero__offer li { padding: 14px 12px; }
  .hero__offer strong { font-size: 18px; }
  .facts__grid { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .split, .register, .unit { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .prow img { grid-column: 1 / -1; width: 100%; height: 190px; }
  .prow__price { grid-column: 1; text-align: start; font-size: 26px; white-space: normal; }
  .prow__go { align-self: end; }
  .specs { grid-template-columns: 1fr; }
  .place li { grid-template-columns: 1fr; gap: 2px; }
  .gal { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer { padding-bottom: 28px; }
  .wa-float { display: none !important; }
  .actionbar__hint { font-size: 13px; }
}
@media (max-width: 480px) {
  .hero__offer { grid-template-columns: 1fr; }
  .hero__offer li { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
}
