/* ==========================================================================
   Glass system
   ========================================================================== */
.glass {
  position: relative;
  background:
    linear-gradient(158deg, var(--glass-top) 0%, var(--glass-mid) 48%, var(--glass-bot) 100%),
    var(--glass-fill);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sheen), var(--shadow-1);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0.02) 38%,
    rgba(255, 255, 255, 0) 62%,
    rgba(214, 183, 140, 0.16) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass--soft {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--sheen), 0 18px 44px -34px rgba(0, 0, 0, 0.9);
}

.glass--deep {
  background: linear-gradient(160deg, rgba(12, 18, 30, 0.82), rgba(6, 9, 16, 0.9));
  backdrop-filter: blur(34px) saturate(150%);
  -webkit-backdrop-filter: blur(34px) saturate(150%);
}

.glass--accent {
  background:
    linear-gradient(160deg, rgba(214, 183, 140, 0.16), rgba(255, 255, 255, 0.03) 55%),
    var(--glass-fill);
  border-color: rgba(214, 183, 140, 0.26);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--btn-h);
  padding-inline: 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    transform 0.25s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn:active {
  transform: translateY(1px) scale(0.995);
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}

.btn--primary {
  background: linear-gradient(160deg, #f2e2c9, var(--accent) 45%, #bb9a6d);
  color: var(--accent-ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 12px 30px -16px rgba(214, 183, 140, 0.75);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
.btn--primary:hover::after {
  transform: translateX(120%);
}
.btn--primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 40px -18px rgba(214, 183, 140, 0.85);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line-2);
  color: var(--txt);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--sheen);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--quiet {
  color: var(--txt-2);
  padding-inline: 14px;
}
.btn--quiet:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.05);
}

.btn--danger {
  background: rgba(239, 143, 143, 0.12);
  border-color: rgba(239, 143, 143, 0.32);
  color: #ffd9d9;
}
.btn--danger:hover {
  background: rgba(239, 143, 143, 0.2);
}

.btn--link {
  padding: 0;
  height: auto;
  color: var(--accent);
  font-weight: 500;
  border-radius: 4px;
}
.btn--link:hover {
  color: var(--accent-2);
  gap: 12px;
}

.btn--sm {
  --btn-h: 36px;
  font-size: 13px;
  padding-inline: 16px;
}
.btn--lg {
  --btn-h: 54px;
  font-size: 15.5px;
  padding-inline: 30px;
}
.btn--block {
  width: 100%;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--txt-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  color: var(--txt);
  border-color: var(--line-2);
  transform: translateY(-1px);
}
.icon-btn--sm {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field > label,
.label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--txt-2);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.label .req {
  color: var(--accent);
}
.hint {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.6;
}
.err {
  font-size: 12px;
  color: var(--bad);
  display: flex;
  align-items: center;
  gap: 6px;
}

.input,
.select,
.textarea {
  width: 100%;
  background: rgba(3, 6, 12, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--txt);
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.6;
  min-height: 46px;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.input::placeholder,
.textarea::placeholder {
  color: var(--muted-2);
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--line-2);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(214, 183, 140, 0.55);
  background: rgba(6, 11, 20, 0.68);
  box-shadow: 0 0 0 3px rgba(214, 183, 140, 0.13);
}
.input[aria-invalid='true'],
.textarea[aria-invalid='true'],
.select[aria-invalid='true'] {
  border-color: rgba(239, 143, 143, 0.5);
}
.textarea {
  resize: vertical;
  min-height: 120px;
}
.select {
  appearance: none;
  padding-inline-end: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2393a0b4' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  cursor: pointer;
}
.select option {
  background: #0b1220;
  color: var(--txt);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.input-group .input {
  padding-inline-start: 42px;
}
.input-group .input-icon {
  position: absolute;
  inset-inline-start: 14px;
  color: var(--muted);
  pointer-events: none;
  display: grid;
  place-items: center;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--txt-2);
  line-height: 1.65;
  cursor: pointer;
}
.check input[type='checkbox'] {
  appearance: none;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  flex: none;
  margin-top: 2px;
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.check input[type='checkbox']:checked {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' stroke='%23221a10' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.span-2 {
  grid-column: span 2;
}
.span-full {
  grid-column: 1 / -1;
}
@media (max-width: 720px) {
  .form-grid--2,
  .form-grid--3 {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }
}

/* segmented control */
.seg {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(4, 8, 15, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-wrap: nowrap;
}
.seg button {
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.seg button:hover {
  color: var(--txt);
}
.seg button[aria-pressed='true'] {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  color: var(--txt);
  box-shadow: var(--sheen), 0 6px 18px -12px #000;
}

/* ==========================================================================
   Badges / chips
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding-inline: 10px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  background: rgba(6, 10, 18, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--txt-2);
  white-space: nowrap;
}
.badge--accent {
  background: linear-gradient(160deg, rgba(242, 226, 201, 0.96), rgba(214, 183, 140, 0.92));
  color: var(--accent-ink);
  border-color: transparent;
  font-weight: 700;
}
.badge--sale {
  background: rgba(157, 187, 255, 0.14);
  border-color: rgba(157, 187, 255, 0.3);
  color: #c7d8ff;
}
.badge--rent {
  background: rgba(108, 199, 164, 0.14);
  border-color: rgba(108, 199, 164, 0.3);
  color: #a6e6cd;
}
.badge--ok {
  background: rgba(108, 199, 164, 0.13);
  border-color: rgba(108, 199, 164, 0.28);
  color: #a6e6cd;
}
.badge--warn {
  background: rgba(230, 189, 116, 0.13);
  border-color: rgba(230, 189, 116, 0.3);
  color: #f0d7a8;
}
.badge--bad {
  background: rgba(239, 143, 143, 0.12);
  border-color: rgba(239, 143, 143, 0.3);
  color: #ffc9c9;
}
.badge--muted {
  color: var(--muted);
}
.badge--dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding-inline: 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  color: var(--txt-2);
}
.chip button {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.chip button:hover {
  color: var(--bad);
}

.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--warn);
  opacity: 0.85;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 80;
  padding-block: 14px;
  transition: padding 0.4s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
  padding-inline: 10px 12px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent;
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
}
.site-header.is-solid .site-header__inner {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border-color: var(--line);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: var(--sheen), 0 24px 60px -40px #000;
}
.site-header.is-solid {
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-inline: 8px;
  flex: none;
}
.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand__name {
  font-family: var(--font-brand);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand__sub {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  color: var(--txt-2);
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease);
  white-space: nowrap;
}
.nav a:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.06);
}
.nav a.active {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--sheen);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.header-phone {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  display: none;
  align-items: center;
  gap: 6px;
}
.header-phone:hover {
  color: var(--txt);
}

.mobile-toggle {
  display: none;
}

.mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: start center;
  padding: 16px;
  background: rgba(2, 4, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in 0.25s var(--ease);
}
.mobile-sheet__panel {
  width: 100%;
  max-width: 460px;
  margin-top: 8px;
  padding: 18px;
  border-radius: var(--r-lg);
  animation: sheet-in 0.4s var(--ease-out);
}
.mobile-sheet__panel .nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 10px 0 16px;
  gap: 4px;
}
.mobile-sheet__panel .nav a {
  padding: 13px 16px;
  font-size: 15px;
  border-radius: var(--r-sm);
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }
  .mobile-toggle {
    display: inline-grid;
  }
  .header-actions {
    margin-inline-start: auto;
  }
  .header-actions .btn--primary {
    display: none;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--line-3);
  padding-block: clamp(40px, 6vw, 72px) 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.footer-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-block-end: 14px;
  font-weight: 500;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--txt-2);
  padding-block: 5px;
  transition: color 0.2s var(--ease);
}
.footer-link:hover {
  color: var(--accent);
}
.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-3);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-2);
}
.social-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Property card
   ========================================================================== */
.p-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.p-grid > .reveal,
.type-grid > .reveal,
.why-grid > .reveal {
  display: flex;
  min-width: 0;
}
.p-grid > .reveal > *,
.type-grid > .reveal > *,
.why-grid > .reveal > * {
  flex: 1;
  min-width: 0;
}
.p-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 1000px) {
  .p-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .p-grid,
  .p-grid > .reveal,
.type-grid > .reveal,
.why-grid > .reveal {
  display: flex;
  min-width: 0;
}
.p-grid > .reveal > *,
.type-grid > .reveal > *,
.why-grid > .reveal > * {
  flex: 1;
  min-width: 0;
}
.p-grid--2 {
    grid-template-columns: 1fr;
  }
}

.p-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.4s var(--ease),
    box-shadow 0.45s var(--ease);
  contain: paint;
}
.p-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    var(--sheen),
    0 40px 80px -46px rgba(0, 0, 0, 1),
    0 0 0 1px rgba(214, 183, 140, 0.1);
}
.p-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1524, #070b14);
}
.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease);
  filter: saturate(1.02) contrast(1.02);
}
.p-card:hover .p-card__media img {
  transform: scale(1.055);
}
.p-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.15) 0%, transparent 32%, rgba(4, 7, 13, 0.78) 100%);
  pointer-events: none;
}
.p-card__media-top {
  position: absolute;
  inset-inline: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  flex-wrap: wrap;
}
.p-card__media-bottom {
  position: absolute;
  inset-inline: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.p-card__price {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 13px;
  border-radius: 14px;
  background: rgba(6, 10, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sheen);
}
.p-card__price strong {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  direction: rtl;
}
.p-card__price span {
  font-size: 10.5px;
  color: var(--muted);
}
.p-card__fav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(6, 10, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s var(--ease);
}
.p-card__fav:hover {
  background: rgba(214, 183, 140, 0.9);
  color: #1a1308;
}
.p-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.p-card__title {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.24em;
  padding-block: 2px;
}
.p-card__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
}
.p-card__specs {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 11px;
  margin-top: auto;
  border-top: 1px solid var(--line-3);
  font-size: 12.5px;
  color: var(--txt-2);
}
.spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.spec svg {
  color: var(--muted);
  flex: none;
}
.spec--accent svg {
  color: var(--accent);
}
.p-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.p-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 12.5px;
}
.p-card__link svg {
  transition: transform 0.3s var(--ease);
}
.p-card:hover .p-card__link svg {
  transform: translateX(-4px);
}

/* skeletons */
.skel {
  border-radius: var(--r-lg);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.035) 20%, rgba(255, 255, 255, 0.075) 38%, rgba(255, 255, 255, 0.035) 56%);
  background-size: 240% 100%;
  animation: shimmer 1.6s linear infinite;
  border: 1px solid var(--line-3);
}
@keyframes shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -80% 0;
  }
}
.skel--card {
  height: 380px;
}

/* ==========================================================================
   Empty / error / loader
   ========================================================================== */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(34px, 6vw, 64px) 24px;
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.empty__icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 4px;
}
.empty h3 {
  font-size: 19px;
}
.empty p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 46ch;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--accent);
  animation: spin 0.7s linear infinite;
  flex: none;
}
.spinner--sm {
  width: 14px;
  height: 14px;
  border-width: 2px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-block {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 60px 0;
  color: var(--muted);
  font-size: 13px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  line-height: 1.65;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.alert--err {
  border-color: rgba(239, 143, 143, 0.3);
  background: rgba(239, 143, 143, 0.09);
  color: #ffd7d7;
}
.alert--ok {
  border-color: rgba(108, 199, 164, 0.28);
  background: rgba(108, 199, 164, 0.08);
  color: #b8ebd7;
}
.alert--warn {
  border-color: rgba(230, 189, 116, 0.28);
  background: rgba(230, 189, 116, 0.07);
  color: #f2dcb3;
}

/* ==========================================================================
   Toast
   ========================================================================== */
.toast-wrap {
  position: fixed;
  z-index: 300;
  bottom: 22px;
  inset-inline-start: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(20, 28, 44, 0.92), rgba(8, 12, 20, 0.94));
  border: 1px solid var(--line-2);
  box-shadow: var(--sheen), 0 30px 60px -30px #000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  font-size: 13px;
  line-height: 1.6;
  animation: toast-in 0.4s var(--ease-out);
  pointer-events: auto;
}
.toast--ok {
  border-color: rgba(108, 199, 164, 0.4);
}
.toast--err {
  border-color: rgba(239, 143, 143, 0.4);
}
.toast svg {
  flex: none;
  margin-top: 2px;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
}

/* ==========================================================================
   Dialog
   ========================================================================== */
.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 4, 8, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fade-in 0.2s var(--ease);
  overflow-y: auto;
}
.dialog {
  width: 100%;
  max-width: 480px;
  padding: 24px;
  border-radius: var(--r-lg);
  animation: dialog-in 0.35s var(--ease-out);
  margin: auto;
}
.dialog--wide {
  max-width: 720px;
}
.dialog h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.dialog p {
  color: var(--muted);
  font-size: 13.5px;
}
.dialog__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 22px;
  flex-wrap: wrap;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  background: rgba(2, 4, 8, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 16px;
  animation: fade-in 0.2s var(--ease);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--txt-2);
  font-size: 13px;
}
.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding-block: 10px;
}
.lightbox__stage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 40px 120px -40px #000;
}
.lightbox__thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  padding-block: 6px;
}
.lightbox__thumbs button {
  width: 76px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: 0.55;
  transition: all 0.2s var(--ease);
  flex: none;
}
.lightbox__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox__thumbs button[aria-current='true'] {
  opacity: 1;
  border-color: var(--accent);
}

/* ==========================================================================
   misc widgets
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.pagination button {
  min-width: 38px;
  height: 38px;
  padding-inline: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--txt-2);
  font-size: 13px;
  transition: all 0.2s var(--ease);
}
.pagination button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  color: var(--txt);
}
.pagination button[aria-current='page'] {
  background: linear-gradient(160deg, #f2e2c9, var(--accent));
  border-color: transparent;
  color: var(--accent-ink);
  font-weight: 700;
}
.pagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumbs a:hover {
  color: var(--txt);
}
.breadcrumbs span[aria-current] {
  color: var(--txt-2);
}

.mobile-dock {
  display: none;
}
@media (max-width: 720px) {
  .mobile-dock {
    display: flex;
    position: fixed;
    inset-inline: 12px;
    bottom: 12px;
    z-index: 90;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
    border: 1px solid var(--line-2);
    background: rgba(8, 12, 20, 0.78);
    backdrop-filter: blur(26px) saturate(170%);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    box-shadow: var(--sheen), 0 24px 50px -24px #000;
  }
  .mobile-dock .btn {
    flex: 1;
  }
  body.has-dock {
    padding-bottom: 84px;
  }
}

/* ==========================================================================
   Static preview banner
   ========================================================================== */
.static-banner {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px clamp(12px, 3vw, 28px);
  font-size: 11.5px;
  line-height: 1.6;
  color: #f2dcb3;
  background: linear-gradient(180deg, rgba(48, 36, 16, 0.96), rgba(24, 19, 10, 0.94));
  border-bottom: 1px solid rgba(230, 189, 116, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.static-banner svg {
  flex: none;
  color: var(--warn);
}
.static-banner span {
  flex: 1;
  min-width: 0;
}
.static-banner button {
  color: var(--warn);
  display: grid;
  place-items: center;
  flex: none;
}
.static-banner--inline {
  position: static;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  border: 1px solid rgba(230, 189, 116, 0.28);
}
body.has-static-banner .site-header {
  top: var(--banner-h, 34px);
}
body.has-static-banner .pd,
body.has-static-banner main > div[style*='paddingTop'] {
  padding-top: calc(var(--banner-h, 34px) + 104px) !important;
}
body.has-static-banner .cinema__stage {
  padding-top: var(--banner-h, 34px);
}

/* ==========================================================================
   Announcement bar (admin-managed)
   ========================================================================== */
.announce {
  position: fixed;
  inset-inline: 0;
  top: var(--banner-h, 0px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px clamp(12px, 3vw, 28px);
  font-size: 12.5px;
  line-height: 1.6;
  color: #f6ecd9;
  background: linear-gradient(180deg, rgba(28, 36, 54, 0.98), rgba(14, 19, 30, 0.96));
  border-bottom: 1px solid rgba(214, 183, 140, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}
.announce__link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
body.has-announcement .site-header {
  top: calc(var(--banner-h, 0px) + var(--announce-h, 0px));
}
body.has-announcement .pd,
body.has-announcement main > div[style*='paddingTop'] {
  padding-top: calc(var(--banner-h, 0px) + var(--announce-h, 0px) + 104px) !important;
}
body.has-announcement .cinema__stage {
  padding-top: calc(var(--banner-h, 0px) + var(--announce-h, 0px));
}

/* ==========================================================================
   Inline inquiry form (contact page + property visit dialog)
   ========================================================================== */
.inquiry-form {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.inquiry-form .span-full {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .inquiry-form {
    grid-template-columns: 1fr;
  }
}
.inquiry-done {
  display: grid;
  gap: 10px;
  place-items: center;
  text-align: center;
  padding: 30px 20px;
}
.inquiry-done__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ok);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

/* ==========================================================================
   Section anchors + narrow-desktop navigation
   The header is fixed, so anchor targets need the same offset the smooth-scroll
   helper uses (otherwise the section title lands under the bar).
   ========================================================================== */
#projects,
main section[id] {
  scroll-margin-top: calc(var(--banner-h, 0px) + var(--announce-h, 0px) + 96px);
}

@media (min-width: 1041px) and (max-width: 1240px) {
  .nav a {
    padding: 9px 10px;
    font-size: 12.5px;
  }
  .nav {
    gap: 0;
  }
}

/* «المواقع قيد الإنشاء» is an in-page anchor, not a route: keep the underline
   behaviour of the other items but never navigate away. */
.nav a[href*='#projects'] {
  cursor: pointer;
}

/* ---------- official contact numbers (single block, ordered) ---------- */
.contact-numbers {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-numbers__title {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.contact-numbers__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-numbers__row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.contact-numbers__icon {
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-numbers .numeric {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  unicode-bidi: isolate;
}
.contact-numbers--inline {
  gap: 8px;
}
.contact-numbers--inline .contact-numbers__list {
  gap: 12px;
}
.contact-numbers--inline a {
  color: inherit;
}
.contact-numbers--inline a:hover {
  color: var(--accent);
}
