:root {
  --bg: #fafbfd;
  --surface: #ffffff;
  --fg: #111827;
  --muted: #4b5563;
  --line: #e2e8f0;
  --primary: #0b4ea2;
  --primary-dark: #083d80;
  --accent: #1c7c9c;
  --secondary: #c2185b;
  --sand: #e8d8b7;
  --gold: #f4b740;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea955;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(11, 33, 64, 0.06);
  --container: min(1180px, 92vw);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--fg);
  background:
    radial-gradient(circle at 8% 6%, rgba(11, 78, 162, 0.08), transparent 28%),
    radial-gradient(circle at 96% 8%, rgba(28, 124, 156, 0.08), transparent 26%),
    var(--bg);
  line-height: 1.58;
}

.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;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0 0 0.62rem;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  font-weight: 500;
}

p {
  margin: 0 0 0.85rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 82px;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
  text-decoration: none;
  justify-self: start;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(11, 48, 92, 0.2);
}

.brand-text {
  display: grid;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  direction: ltr;
  unicode-bidi: isolate;
}

.brand-title-main {
  color: var(--fg);
  font-weight: 800;
}

.brand-title-suffix {
  color: var(--primary) !important;
  font-weight: 800;
}

.brand-text small {
  font-size: 0.73rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links,
.lang-switch,
.nav-side {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.nav-side-desktop {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: 140ms ease;
}

.menu-btn:hover,
.menu-btn:focus-visible {
  border-color: rgba(11, 78, 162, 0.45);
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.14);
  outline: none;
}

.menu-icon {
  width: 20px;
  height: 14px;
  display: grid;
  gap: 3px;
}

.menu-icon span {
  height: 2px;
  border-radius: 999px;
  background: var(--fg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 28, 0.48);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-height: 92vh;
  overflow: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(8, 18, 28, 0.18);
  transform: translateY(-105%);
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-menu.is-open .mobile-menu-overlay {
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateY(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  gap: 0.75rem;
}

.mobile-menu-title {
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}

.mobile-menu-close {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  transition: 140ms ease;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  border-color: rgba(11, 78, 162, 0.45);
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.14);
  outline: none;
}

.mobile-menu-body {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.9rem;
}

.mobile-menu-section {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  padding: 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.mobile-menu-section-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.mobile-menu-section a {
  text-decoration: none;
  padding: 0.52rem 0.6rem;
  border-radius: 12px;
  border: 1px solid transparent;
}

.mobile-menu-section a:hover,
.mobile-menu-section a:focus-visible {
  background: rgba(11, 78, 162, 0.08);
  border-color: rgba(11, 78, 162, 0.2);
  outline: none;
}

.mobile-menu-section .menu-primary {
  width: fit-content;
}

.lang-switch-mobile {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: stretch;
  justify-content: stretch;
}

.lang-switch-mobile .lang {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.lang-switch-mobile .lang.active {
  border-color: rgba(11, 78, 162, 0.45);
  background: rgba(11, 78, 162, 0.1);
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.12);
}

.lang-switch-mobile .lang:hover,
.lang-switch-mobile .lang:focus-visible {
  border-color: rgba(11, 78, 162, 0.45);
  background: rgba(11, 78, 162, 0.08);
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.14);
  outline: none;
}

body.menu-open {
  overflow: hidden;
}

.nav-links {
  justify-self: center;
  justify-content: center;
}

.nav-side {
  justify-self: end;
  justify-content: flex-end;
}

.lang-switch {
  justify-content: flex-end;
}

.nav-links a,
.lang {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.4rem 0.72rem;
  font-size: 0.86rem;
  font-weight: 500;
  transition: 140ms ease;
}

.nav-links a {
  border: 0;
  background: transparent;
  padding: 0.25rem 0.35rem;
  border-radius: 10px;
}

.lang {
  min-width: 42px;
  text-align: center;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary-dark);
  background: rgba(11, 78, 162, 0.08);
  box-shadow: none;
  outline: none;
}

.lang:hover,
.lang:focus-visible,
.lang.active {
  border-color: rgba(11, 78, 162, 0.45);
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.14);
  outline: none;
}

.lang-switch {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 0.22rem;
}

.lang {
  border: 0;
  background: transparent;
  padding: 0.3rem 0.66rem;
  min-width: 42px;
  box-shadow: none;
}

.lang.active {
  background: rgba(11, 78, 162, 0.12);
}

.lang:hover,
.lang:focus-visible {
  background: rgba(11, 78, 162, 0.08);
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.64rem 0.96rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: 140ms ease;
  cursor: pointer;
  will-change: transform;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.2);
}

.btn-header {
  background: rgba(11, 78, 162, 0.1);
  border-color: rgba(11, 78, 162, 0.24);
  color: var(--primary-dark);
}

.section {
  padding-block: clamp(1.25rem, 3.8vw, 2.6rem);
}

.hero {
  padding-top: clamp(1.15rem, 2.6vw, 2.1rem);
}

/* The homepage hero already uses `.section`; keep it tighter on desktop. */
.hero.section {
  padding-block: clamp(1.05rem, 2.8vw, 2.1rem);
}

.hero-2026 {
  overflow: clip;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.hero-copy {
  padding-right: clamp(0rem, 1vw, 0.6rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.hero-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.38rem 0.6rem;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.hero-badge strong {
  font-weight: 600;
  color: var(--fg);
}

.hero-badge span {
  font-size: 0.78rem;
  color: var(--muted);
}

.trust-row {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 183, 64, 0.22);
  flex: 0 0 auto;
}

.hero-media {
  position: relative;
}

.hero-feature {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  box-shadow: 0 18px 46px rgba(11, 33, 64, 0.12);
  transform: translateZ(0);
  text-decoration: none;
}

.hero-feature img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  max-height: 480px;
  transform: scale(1.01);
  transition: transform 280ms ease;
}

.hero-feature-glow {
  position: absolute;
  inset: auto -18% -38% -18%;
  height: 60%;
  background: radial-gradient(circle at 30% 20%, rgba(11, 78, 162, 0.42), rgba(28, 124, 156, 0.16), transparent 62%);
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.9;
}

.hero-feature-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.hero-feature-price {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  font-size: 1.02rem;
}

.hero-feature-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-feature-link {
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.hero-feature:hover img {
  transform: scale(1.05);
}

.hero-feature:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.16), 0 18px 46px rgba(11, 33, 64, 0.12);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
  border-radius: 22px;
}

.hero-media-item {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
  transform: translateZ(0);
}

.hero-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/11;
  transition: transform 240ms ease;
}

.hero-media-item:hover img {
  transform: scale(1.04);
}

.hero-mosaic .hero-media-item:nth-child(1) {
  grid-row: 1 / 3;
}

.hero-media-note {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.5vw, 1.85rem);
}

.card:hover {
  box-shadow: 0 14px 34px rgba(15, 41, 63, 0.08);
}

.kicker {
  display: inline-flex;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.hero-copy h1 {
  max-width: 22ch;
}

.hero-copy .lead {
  max-width: 58ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.54rem;
  margin-top: 1.15rem;
}

.hero-browse {
  margin-top: 0.65rem;
}

.hero-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: rgba(11, 78, 162, 0.95);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  border-color: rgba(11, 78, 162, 0.7);
  box-shadow: 0 12px 26px rgba(11, 78, 162, 0.16);
}

.btn-secondary {
  color: #fff;
  background: var(--accent);
  border-color: rgba(28, 124, 156, 0.65);
  box-shadow: 0 12px 24px rgba(28, 124, 156, 0.14);
}

.btn-whatsapp {
  color: #fff;
  background: var(--whatsapp);
  border-color: rgba(30, 169, 85, 0.72);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.14);
}

.btn-outline {
  border-color: rgba(17, 24, 39, 0.25);
  color: #1f2937;
  background: rgba(255, 255, 255, 0.75);
}

.btn-ghost {
  border-color: var(--line);
  background: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
  box-shadow: 0 12px 24px rgba(11, 78, 162, 0.22);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  filter: brightness(0.95);
  box-shadow: 0 12px 22px rgba(28, 124, 156, 0.2);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--whatsapp-dark);
  box-shadow: 0 12px 22px rgba(37, 211, 102, 0.2);
}

.btn.block {
  margin-top: 0.8rem;
  width: 100%;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.metrics {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.metrics div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.68rem;
  background: rgba(247, 251, 253, 0.95);
}

.metrics strong {
  display: block;
  font-size: 1.22rem;
  font-weight: 600;
}

.metrics span {
  color: var(--muted);
  font-size: 0.78rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.chip-row,
.feature-chips {
  display: flex;
  gap: 0.44rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.chip {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  background: rgba(243, 248, 251, 0.85);
  font-size: 0.86rem;
  font-weight: 500;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 600;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.filters-card {
  margin-bottom: 0.2rem;
}

.filters-form {
  display: grid;
  gap: 0.6rem;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.58rem;
}

.filters-form label {
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.filters-form input,
.filters-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.68rem;
  font: inherit;
  color: var(--fg);
  background: #fff;
}

.filters-form input:focus,
.filters-form select:focus {
  outline: none;
  border-color: rgba(11, 78, 162, 0.55);
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.14);
}

.filter-status {
  margin-top: 0.62rem;
}

.listing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.type-card-media {
  display: block;
  margin: -0.2rem -0.2rem 0.6rem;
  overflow: hidden;
  border-radius: 12px;
}

.type-card-media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 220ms ease;
}

.type-card-media:hover img {
  transform: scale(1.04);
}

.listing-image-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.listing-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.listing-image-overlay {
  position: absolute;
  inset: auto 0.75rem 0.75rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.6rem;
  pointer-events: none;
}

.listing-price-pill,
.listing-loc-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 18, 28, 0.62);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.16);
}

.listing-price-pill {
  background: linear-gradient(135deg, rgba(11, 78, 162, 0.96), rgba(28, 124, 156, 0.92));
  border-color: rgba(255, 255, 255, 0.18);
}

.listing-card:hover .listing-image-wrap img {
  transform: scale(1.03);
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.1);
  border-color: rgba(11, 78, 162, 0.24);
}

.listing-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.18);
}

.listing-body {
  padding: 0.92rem;
}

.listing-head {
  display: grid;
  gap: 0.16rem;
  margin-bottom: 0.35rem;
}

.listing-subtitle {
  margin: 0;
  color: rgba(75, 85, 99, 0.92);
  font-size: 0.86rem;
}

.listing-summary {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.listing-updated {
  margin: 0.65rem 0 0;
  color: rgba(75, 85, 99, 0.85);
  font-size: 0.8rem;
}

.meta-grid {
  margin: 0.72rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem;
}

.meta-grid dt {
  margin-bottom: 0.1rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.meta-grid dd {
  margin: 0;
  font-weight: 500;
}

.caption {
  color: var(--muted);
  font-size: 0.8rem;
}

.map {
  min-height: 430px;
  margin-top: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.map-marker {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  gap: 3px;
  place-items: center;
}

.map-marker-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.73rem;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(20, 30, 43, 0.2);
}

.map-marker-meta {
  font-size: 0.66rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  line-height: 1.1;
  box-shadow: 0 8px 20px rgba(20, 30, 43, 0.18);
}

.map-marker-current .map-marker-price {
  background: linear-gradient(135deg, rgba(194, 24, 91, 0.95), rgba(11, 78, 162, 0.95));
}

.map-marker-district {
  font-size: 0.64rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.85);
  color: #fff;
  line-height: 1.1;
  max-width: 116px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.listing-media {
  padding: 0.9rem;
}

.listing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0.95rem;
  align-items: start;
}

.listing-main {
  display: grid;
  gap: 0.95rem;
}

.listing-article {
  display: flow-root;
}

.listing-aside {
  position: sticky;
  top: 96px;
}

.listing-article h1 {
  margin-top: 0.25rem;
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
}

.listing-title .lead {
  margin-bottom: 0;
}

.listing-meta-chips {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.chip-primary {
  background: linear-gradient(135deg, rgba(11, 78, 162, 0.12), rgba(28, 124, 156, 0.1));
  border-color: rgba(11, 78, 162, 0.22);
  color: rgba(17, 24, 39, 0.94);
}

.chip-muted {
  background: rgba(243, 248, 251, 0.65);
  color: rgba(75, 85, 99, 0.95);
}

.listing-section {
  margin-top: 1.25rem;
  padding-top: 0.1rem;
}

.listing-section:first-of-type {
  margin-top: 0.9rem;
}

.listing-section h2 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.listing-section .chip-row {
  margin-top: 0.55rem;
  margin-bottom: 0.15rem;
}

.taxo-grid {
  list-style: none;
  padding: 0;
  margin: 0.45rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1.2rem;
}

.taxo-link,
.taxo-text {
  display: block;
  position: relative;
  padding: 0.32rem 0.2rem 0.32rem 1.1rem;
  border-radius: 12px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.taxo-link {
  text-decoration: none;
  color: rgba(17, 24, 39, 0.94);
}

.taxo-link::before,
.taxo-text::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.9rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(28, 124, 156, 0.92);
}

.taxo-link:hover,
.taxo-link:focus-visible {
  outline: none;
  background: rgba(11, 78, 162, 0.06);
  color: var(--primary-dark);
}

.taxo-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.14);
}

.taxo-text {
  color: rgba(31, 41, 55, 0.92);
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(226, 232, 240, 0.95);
}

.listing-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.9rem;
}

.listing-split {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.4rem;
}

.icon-list li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(31, 41, 55, 0.92);
}

.icon-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.54rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(28, 124, 156, 0.9);
}

.listing-callout {
  background: rgba(250, 251, 253, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 0.9rem;
  color: rgba(31, 41, 55, 0.92);
}

.readmore summary {
  margin-top: 0.4rem;
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 600;
}

.readmore-body {
  margin-top: 0.6rem;
}

.listing-contact-price {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.listing-contact-meta {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.listing-aside-extra {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
}

.listing-aside-extra a {
  font-weight: 600;
}

.listing-share {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.listing-share .btn-row {
  margin-top: 0.45rem;
}

.availability-card {
  margin-top: 0.9rem;
}

.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot-open {
  background: rgba(5, 150, 105, 0.95);
}

.dot-booked {
  background: rgba(220, 38, 38, 0.95);
}

.dot-past {
  background: rgba(156, 163, 175, 0.95);
}

.availability-months {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.availability-month h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.28rem;
}

.cal-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 10px;
  font-size: 0.78rem;
}

.cal-day-head {
  min-height: 20px;
  color: rgba(107, 114, 128, 0.95);
  font-weight: 600;
}

.cal-day-empty {
  background: transparent;
}

.cal-day-open {
  background: rgba(16, 185, 129, 0.12);
  color: rgba(6, 95, 70, 1);
}

.cal-day-booked {
  background: rgba(239, 68, 68, 0.14);
  color: rgba(153, 27, 27, 1);
}

.cal-day-past {
  background: rgba(243, 244, 246, 1);
  color: rgba(156, 163, 175, 1);
}

.listing-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
  height: clamp(280px, 48vh, 520px);
}

.listing-gallery-tile {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(226, 232, 240, 0.9);
  height: 100%;
}

.listing-gallery-tile picture,
.listing-gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
}

.listing-gallery-tile img {
  object-fit: cover;
}

.listing-gallery-main {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.listing-gallery-all {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(17, 24, 39, 0.22);
  backdrop-filter: blur(12px);
}

.gallery-stage {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.gallery-stage img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
}

.gallery-thumbs {
  margin-top: 0.64rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.5rem;
}

.gallery-thumb {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-thumb.active {
  border-color: rgba(11, 78, 162, 0.66);
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.16);
}

.listing-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.listing-detail ul {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(10, 22, 34, 0.86);
  backdrop-filter: blur(4px);
  padding: 1.1rem;
}

.gallery-lightbox-image {
  width: min(92vw, 1320px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
}

.gallery-lightbox-shell {
  width: min(92vw, 1320px);
  display: grid;
  gap: 0.65rem;
}

.gallery-lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.gallery-lightbox-meta {
  display: grid;
  gap: 0.12rem;
  font-size: 0.95rem;
}

.gallery-lightbox-meta small {
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.82rem;
}

.gallery-lightbox-controls {
  display: flex;
  gap: 0.45rem;
}

.gallery-lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 18, 28, 0.8);
  color: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-nav:hover {
  background: rgba(8, 18, 28, 0.92);
}

.gallery-lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 18, 28, 0.8);
  color: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-close:hover {
  background: rgba(8, 18, 28, 0.92);
}

@media (max-width: 860px) {
  .listing-shell {
    grid-template-columns: 1fr;
  }

  .listing-aside {
    position: static;
  }

  .availability-months {
    grid-template-columns: 1fr;
  }

  .listing-split {
    grid-template-columns: 1fr;
  }

  .listing-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .listing-gallery-main {
    grid-row: auto;
  }

  .taxo-grid {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .gallery-lightbox-image {
    max-height: 74vh;
  }
}

.today-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.74rem;
}

.today-card {
  padding: 0.86rem;
}

.today-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.form-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
}

.form-note {
  color: #158760;
  font-weight: 600;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.lead-form label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.lead-form label.full {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form textarea,
.lead-form button {
  font: inherit;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.6rem 0.72rem;
  background: #fff;
  color: var(--fg);
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(11, 78, 162, 0.55);
  box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.14);
}

.sticky-fab {
  position: fixed;
  right: 0.72rem;
  bottom: 0.7rem;
  display: flex;
  gap: 0.4rem;
  z-index: 42;
}

.fab {
  text-decoration: none;
  color: #fff;
  border-radius: 999px;
  padding: 0.54rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: 0 8px 22px rgba(17, 35, 50, 0.25);
}

.fab-whatsapp {
  background: var(--whatsapp);
}

.fab-telegram {
  background: linear-gradient(135deg, #2ea5f0, #1575be);
}

.fab-phone {
  background: linear-gradient(135deg, #1d4b76, #14354f);
}

.site-footer {
  margin-top: 0.4rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% -10%, rgba(11, 78, 162, 0.09), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 251, 254, 0.98));
}

.footer-shell {
  padding-top: 1.4rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.brand-footer .brand-logo {
  box-shadow: 0 10px 24px rgba(15, 41, 63, 0.12);
}

.footer-note {
  margin-top: 0.65rem;
  color: var(--muted);
  max-width: 56ch;
}

.footer-cta-row {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.34rem;
}

.footer-bottom {
  margin-top: 0.9rem;
  border-top: 1px solid var(--line);
  padding: 0.82rem 0 1.26rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom-left {
  display: grid;
  gap: 0.2rem;
}

.footer-bottom-right {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-bottom strong {
  color: var(--fg);
  font-weight: 600;
}

.locale-ar body,
body.locale-ar {
  font-family: "Tajawal", "Cairo", "Plus Jakarta Sans", "Manrope", sans-serif;
}

body.locale-ar .nav,
body.locale-ar .cta-row,
body.locale-ar .section-head,
body.locale-ar .footer-bottom,
body.locale-ar .btn-row {
  direction: rtl;
}

@media (max-width: 1120px) {
  .hero-shell,
  .form-card,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .filters-grid,
  .today-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .nav {
    display: flex;
    min-height: 72px;
    padding: 0.58rem 0;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .nav-side {
    width: auto;
    justify-content: flex-end;
  }

  .nav-side-desktop {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .brand-text small {
    display: none;
  }
}

@media (max-width: 860px) {
  .metrics,
  .grid-3,
  .lead-form,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Blog + FAQ */
.prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: 1.25rem;
}

.prose h3 {
  margin-top: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin: 0 0 0.85rem;
}

.prose li {
  margin: 0.2rem 0;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  background: rgba(11, 78, 162, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 0.1rem 0.3rem;
  border-radius: 10px;
}

.prose a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.blog-card {
  padding: 1rem;
}

.blog-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.75rem;
  height: 100%;
  text-decoration: none;
}

.blog-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.blog-card-body h3 {
  margin: 0 0 0.35rem;
}

.blog-card-meta {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.blog-card-excerpt {
  margin: 0 0 0.55rem;
  color: var(--muted);
}

.blog-article {
  display: grid;
  gap: 0.9rem;
}

.blog-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.blog-meta {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.75rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-item .prose {
  margin-top: 0.6rem;
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* 404 */
.notfound-hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding-block: clamp(1.5rem, 4.5vw, 3rem);
  background:
    linear-gradient(135deg, rgba(9, 28, 54, 0.72), rgba(9, 28, 54, 0.15)),
    var(--nf-bg) center / cover no-repeat;
}

.notfound-card {
  max-width: 860px;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  padding: clamp(1.15rem, 3.4vw, 2.2rem);
}

.notfound-card h1 {
  margin-top: 0.25rem;
}

body.locale-ar .notfound-card {
  text-align: right;
}
