:root {
  --ink: #10131a;
  --navy: #101b2f;
  --navy-soft: #182640;
  --gold: #c8a45d;
  --sand: #f4efe7;
  --stone: #f7f7f5;
  --line: #e6e0d7;
  --muted: #667085;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 19, 26, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.menu-open,
body.drawer-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.topbar .container,
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar .container { min-height: 38px; }

.topbar-links,
.nav-links,
.social-row,
.button-row,
.meta-row,
.chip-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.site-header .container { min-height: 76px; }

.brand {
  display: grid;
  gap: 0;
  min-width: max-content;
}

.brand-mark {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand-sub {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 18px; }

.nav-links a {
  color: #1f2937;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.language-select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--navy);
  background: var(--white);
  font-weight: 700;
}

.icon-button,
.menu-toggle,
.filter-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.button.gold { background: var(--gold); color: var(--ink); }
.button.light { background: var(--white); color: var(--navy); border-color: var(--line); }
.button.whatsapp { background: #1fa855; color: var(--white); }
.button.full { width: 100%; }
.button { white-space: nowrap; }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 12, 22, 0.84), rgba(7, 12, 22, 0.38)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1800&q=84") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(16, 19, 26, 0.55), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 120px 0 54px;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 790px;
  margin-bottom: 18px;
  font-family: Georgia, serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.search-panel {
  margin-top: 36px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.section {
  padding: 82px 0;
  border-top: 1px solid rgba(215, 181, 109, 0.12);
}

.section.alt { background: var(--stone); }
.section.dark { background: var(--navy); color: var(--white); }
.section.tight { padding: 54px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2,
.page-hero h1 {
  margin-bottom: 0;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.section-head p,
.muted { color: var(--muted); }
.dark .section-head p,
.dark .muted { color: rgba(255, 255, 255, 0.72); }

.grid {
  display: grid;
  gap: 22px;
}

.grid.cards-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cards-4 { grid-template-columns: repeat(4, 1fr); }
.grid.two { grid-template-columns: 1fr 1fr; }

.property-card,
.service-card,
.blog-card,
.city-card,
.testimonial,
.info-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.property-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 12px 32px rgba(16, 19, 26, 0.07);
}

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-media img,
.city-card img,
.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.property-card:hover img,
.city-card:hover img,
.blog-card:hover img { transform: scale(1.04); }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(200, 164, 93, 0.14);
  color: #80632b;
  font-size: 12px;
  font-weight: 800;
}

.property-media .badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--gold);
  color: var(--ink);
}

.property-body {
  display: grid;
  gap: 12px;
  padding: 18px;
  flex: 1;
  grid-template-rows: auto auto 1fr auto auto;
}

.price {
  color: var(--navy);
  font-size: 24px;
  font-weight: 850;
}

.property-body h3,
.service-card h3,
.blog-card h3,
.info-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.meta-row {
  color: var(--muted);
  font-size: 14px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.specs span {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
}

.specs strong {
  color: var(--ink);
  font-size: 14px;
}

.city-card {
  position: relative;
  aspect-ratio: 1 / 1.1;
  color: var(--white);
}

.city-card img { position: absolute; inset: 0; }
.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 19, 26, 0.72), transparent 62%);
}

.city-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.city-card h3 { margin: 0; font-size: 24px; }

.service-card,
.info-card,
.testimonial {
  padding: 24px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}

.cta-band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 26px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #263956);
  color: var(--white);
}

.cta-band h2 { font-family: Georgia, serif; font-size: 38px; line-height: 1.1; }

.blog-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card div { padding: 18px; }

.page-hero {
  padding: 82px 0 54px;
  background: var(--sand);
}

.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.properties-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.filters h2 {
  margin-bottom: 18px;
  font-size: 20px;
}

.filter-grid { display: grid; gap: 14px; }

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.view-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.view-toggle button {
  min-width: 44px;
  min-height: 38px;
  border: 0;
  background: var(--white);
  cursor: pointer;
}

.view-toggle button.active { background: var(--navy); color: var(--white); }

.properties-grid.list { grid-template-columns: 1fr; }
.properties-grid.list .property-card {
  display: grid;
  grid-template-columns: 320px 1fr;
}
.properties-grid.list .property-media { aspect-ratio: auto; min-height: 100%; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery img:first-child { grid-row: span 2; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fact {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fact span { display: block; color: var(--muted); font-size: 12px; }
.fact strong { display: block; color: var(--navy); }

.lead-form {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-box,
.video-box {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: var(--radius);
  background: var(--sand);
  color: var(--muted);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.site-footer {
  margin-top: 34px;
  padding: 54px 0 26px;
  background: #0c111d;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer a { display: block; margin: 8px 0; }
.site-footer a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1fa855;
  color: var(--white);
  box-shadow: 0 16px 40px rgba(31, 168, 85, 0.35);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(12, 17, 29, 0.48);
}

.drawer-backdrop.open { display: block; }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: none;
  border: 0;
  padding: 0;
  background: rgba(8, 14, 25, 0.46);
  backdrop-filter: blur(4px);
}

.menu-backdrop.open {
  display: block;
}

.mobile-only { display: none; }

@media (max-width: 1040px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 110;
    width: min(84vw, 360px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 90px 24px 24px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(110%);
    transition: transform 0.25s ease;
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 18px; padding: 10px 0; }
  .menu-toggle { display: inline-grid; position: relative; z-index: 120; }
  .search-grid { grid-template-columns: repeat(3, 1fr); }
  .grid.cards-4 { grid-template-columns: repeat(2, 1fr); }
  .properties-layout,
  .detail-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    width: min(88vw, 360px);
    overflow-y: auto;
    border-radius: 0;
    transform: translateX(-110%);
    transition: transform 0.25s ease;
  }
  .filters.open { transform: translateX(0); }
  .mobile-only { display: inline-flex; }
  .lead-form { position: static; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .site-header .container { min-height: 68px; }
  .hero { min-height: 760px; align-items: center; }
  .hero-content { padding: 84px 0 34px; }
  .hero p { font-size: 17px; }
  .search-panel { margin-top: 24px; padding: 12px; }
  .search-grid,
  .grid.cards-3,
  .grid.cards-4,
  .grid.two,
  .facts,
  .footer-grid,
  .cta-band { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-head,
  .listing-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .properties-grid.list .property-card { grid-template-columns: 1fr; }
  .properties-grid.list .property-media { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img:first-child { grid-row: auto; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .button-row .button { width: 100%; }
  .button { white-space: normal; }
  .cta-band { padding: 24px; }
  .cta-band h2 { font-size: 30px; }
}

/* Premium visual layer */
:root {
  --ink: #11100d;
  --navy: #07111f;
  --navy-soft: #111f34;
  --gold: #d7b56d;
  --champagne: #f2dfb3;
  --sand: #f3eee4;
  --stone: #faf7f1;
  --line: rgba(197, 169, 112, 0.28);
  --muted: #6f6a60;
  --shadow: 0 24px 70px rgba(8, 14, 25, 0.14);
}

body {
  background:
    radial-gradient(circle at 16% 0%, rgba(215, 181, 109, 0.16), transparent 28rem),
    linear-gradient(180deg, #fffdf8, var(--stone) 38%, #fffdf8);
}

.site-header {
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid rgba(215, 181, 109, 0.22);
  box-shadow: 0 12px 40px rgba(8, 14, 25, 0.06);
}

.topbar {
  background: linear-gradient(90deg, #070b12, #111f34);
}

.brand-mark {
  color: var(--navy);
  font-size: 26px;
}

.brand::before {
  content: "";
  width: 42px;
  height: 2px;
  margin-bottom: 7px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.nav-links a {
  position: relative;
  padding: 12px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.language-select {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.button {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--navy), #182640);
  box-shadow: 0 14px 32px rgba(8, 14, 25, 0.16);
}

.button svg,
.icon-line svg,
.specs svg,
.floating-whatsapp svg,
.menu-toggle svg,
.filter-toggle svg,
.view-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.whatsapp svg,
.floating-whatsapp svg {
  fill: currentColor;
  stroke: none;
}

.menu-toggle svg,
.filter-toggle svg,
.view-toggle svg {
  width: 20px;
  height: 20px;
}

.button.gold {
  background: linear-gradient(135deg, #f8e6b8, var(--gold) 55%, #b98b3b);
  color: #15110a;
}

.button.light {
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  border-color: rgba(215, 181, 109, 0.38);
}

.button.whatsapp {
  background: linear-gradient(135deg, #20bf6b, #128c4a);
}

.hero {
  min-height: 790px;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.9), rgba(5, 10, 18, 0.58) 48%, rgba(5, 10, 18, 0.24)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=2200&q=86") center/cover;
}

.hero-content {
  padding-bottom: 46px;
}

.hero h1 {
  max-width: 880px;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 28px 0 0;
}

.hero-kpis span,
.step-card,
.stat-card {
  border: 1px solid rgba(215, 181, 109, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

.hero-kpis span {
  padding: 13px 15px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-kpis strong {
  display: block;
  color: var(--champagne);
  font-size: 22px;
}

.search-panel {
  max-width: 1120px;
  padding: 18px;
  border-color: rgba(215, 181, 109, 0.32);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.field input,
.field select,
.field textarea {
  border-color: rgba(197, 169, 112, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.section {
  position: relative;
}

.section.alt {
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 181, 109, 0.12), transparent 28rem),
    var(--sand);
}

.section.dark {
  background:
    linear-gradient(135deg, rgba(215, 181, 109, 0.12), transparent 36%),
    linear-gradient(135deg, #070b12, #111f34 62%, #070b12);
}

.section-head h2,
.page-hero h1,
.cta-band h2,
.testimonial h2 {
  letter-spacing: 0;
}

.section-head p {
  max-width: 620px;
}

.property-card,
.service-card,
.blog-card,
.city-card,
.testimonial,
.info-card {
  border-color: rgba(197, 169, 112, 0.24);
  box-shadow: 0 18px 52px rgba(8, 14, 25, 0.08);
}

.property-card {
  background: linear-gradient(180deg, #fff, #fffaf0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(215, 181, 109, 0.58);
  box-shadow: 0 30px 80px rgba(8, 14, 25, 0.16);
}

.property-media {
  aspect-ratio: 1.35 / 1;
}

.property-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.05), rgba(7, 17, 31, 0.45));
}

.property-media .badge,
.property-badge {
  z-index: 1;
  background: linear-gradient(135deg, #f8e6b8, var(--gold));
  color: #17120a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.property-body {
  padding: 21px;
}

.price {
  color: var(--navy);
  font-size: 28px;
  letter-spacing: 0;
}

.icon-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.specs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top-color: rgba(197, 169, 112, 0.24);
}

.specs span {
  align-content: start;
  min-width: 0;
}

.specs svg {
  color: var(--gold);
}

.specs em {
  color: var(--gold);
  font-style: normal;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-card,
.info-card,
.testimonial {
  position: relative;
  background: rgba(255, 253, 248, 0.92);
}

.dark .service-card,
.dark .info-card,
.dark .testimonial {
  background: rgba(255, 255, 255, 0.075);
  color: var(--white);
  border-color: rgba(215, 181, 109, 0.24);
}

.dark .service-card h3,
.dark .info-card h3,
.dark .testimonial h3 {
  color: var(--white);
}

.service-card {
  position: relative;
}

.service-card::before,
.info-card::before,
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.service-icon,
.step-number,
.social-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #1c2d48);
  color: var(--champagne);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(215, 181, 109, 0.24);
}

.city-card {
  min-height: 300px;
  box-shadow: 0 24px 70px rgba(8, 14, 25, 0.13);
}

.city-card::after {
  background: linear-gradient(0deg, rgba(6, 11, 19, 0.86), rgba(6, 11, 19, 0.12) 68%);
}

.city-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.step-grid {
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 24px;
  color: var(--white);
}

.step-card p {
  color: rgba(255, 255, 255, 0.72);
}

.step-number {
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f8e6b8, var(--gold));
  color: #17120a;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.stat-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.cta-band {
  overflow: hidden;
  border: 1px solid rgba(215, 181, 109, 0.28);
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.68)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1600&q=82") center/cover;
  box-shadow: var(--shadow);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(243, 238, 228, 0.92), rgba(255, 253, 248, 0.96)),
    radial-gradient(circle at 90% 0%, rgba(215, 181, 109, 0.24), transparent 25rem);
}

.site-footer {
  padding-top: 72px;
  background:
    linear-gradient(135deg, rgba(215, 181, 109, 0.08), transparent 38%),
    #070b12;
}

.footer-newsletter {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-newsletter input {
  min-width: 0;
  flex: 1;
  min-height: 44px;
  border: 1px solid rgba(215, 181, 109, 0.28);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  margin: 0;
}

.social-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.social-icon {
  display: inline-grid !important;
  place-items: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: 50%;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.social-icon[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 110%, #feda75 0 18%, #fa7e1e 33%, #d62976 55%, #962fbf 75%, #4f5bd5 100%);
}

.social-icon[aria-label="Facebook"] {
  background: #1877f2;
}

.social-icon[aria-label="LinkedIn"] {
  background: #0a66c2;
}

.social-icon[aria-label="YouTube"] {
  background: #ff0000;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-line strong {
  display: block;
  color: var(--ink);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
}

.contact-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-whatsapp {
  background: #25d366;
}

.contact-whatsapp svg {
  fill: currentColor;
  stroke: none;
}

.contact-email {
  background: var(--gold);
}

.contact-address {
  background: #8a6a2f;
}

.contact-social {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-social .social-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
}

.contact-social .social-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1040px) {
  .hero-kpis,
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(243, 238, 228, 0.98));
  }
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .topbar .container,
html[dir="rtl"] .site-header .container,
html[dir="rtl"] .section-head,
html[dir="rtl"] .listing-toolbar,
html[dir="rtl"] .topbar-links,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .button-row,
html[dir="rtl"] .meta-row,
html[dir="rtl"] .chip-row,
html[dir="rtl"] .social-row {
  direction: rtl;
}

html[dir="rtl"] .brand::before {
  background: linear-gradient(270deg, var(--gold), transparent);
}

html[dir="rtl"] .nav-links a::after {
  transform-origin: right;
}

html[dir="rtl"] .property-media .badge {
  left: auto;
  right: 12px;
}

html[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 18px;
}

.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius);
  border: 1px solid rgba(215, 181, 109, 0.28);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 17, 31, 0.5), transparent 58%);
}

.media-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
}

.media-caption h3 {
  margin: 0 0 6px;
  font-size: 26px;
}

.content-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(197, 169, 112, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.content-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 181, 109, 0.14);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(197, 169, 112, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 16px 44px rgba(8, 14, 25, 0.07);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8e6b8, var(--gold));
  color: #17120a;
  font-weight: 850;
}

.quote-band {
  padding: 34px;
  border: 1px solid rgba(215, 181, 109, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.92), rgba(17, 31, 52, 0.88)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1500&q=82") center/cover;
  color: var(--white);
  box-shadow: var(--shadow);
}

.quote-band p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(197, 169, 112, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.blog-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 1040px) {
  .media-split,
  .blog-feature {
    grid-template-columns: 1fr;
  }

  .process-line,
  .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .media-frame,
  .media-frame img {
    min-height: 300px;
  }

  .process-line,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .quote-band {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 860px;
  }

  .hero-kpis,
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .search-grid {
    gap: 12px;
  }

  .property-body {
    padding: 18px;
  }

  .price {
    font-size: 25px;
  }

  .footer-newsletter {
    flex-direction: column;
  }
}

/* Global mobile redesign layer */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  min-height: 72px;
}

.property-card .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.property-card .button {
  flex: 1 1 150px;
  min-width: 0;
  max-width: 100%;
  padding-inline: 14px;
  justify-content: center;
  white-space: normal;
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .grid.cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.cards-3,
  .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .site-header {
    top: 0;
    min-height: 68px;
  }

  .site-header .container {
    min-height: 68px;
    gap: 10px;
  }

  .brand-mark {
    font-size: 22px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .brand::before {
    width: 34px;
    margin-bottom: 5px;
  }

  .main-nav {
    gap: 8px;
  }

  .language-select[aria-label="Language"] {
    width: 68px;
    min-height: 40px;
    padding: 8px 10px;
  }

  .menu-toggle {
    display: inline-grid;
    position: relative;
    z-index: 120;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 110;
    width: min(86vw, 380px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 96px 24px 24px;
    overflow-y: auto;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(243, 238, 228, 0.98));
    box-shadow: -24px 0 70px rgba(8, 14, 25, 0.18);
    transform: translateX(110%);
    transition: transform 0.25s ease;
  }

  html[dir="rtl"] .nav-links {
    inset: 0 auto 0 0;
    transform: translateX(-110%);
    box-shadow: 24px 0 70px rgba(8, 14, 25, 0.18);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(197, 169, 112, 0.18);
    font-size: 17px;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero-content,
  .page-hero .container {
    padding-top: 58px;
    padding-bottom: 40px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(34px, 12vw, 54px);
    line-height: 1.03;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-kpis,
  .stats-strip,
  .facts,
  .process-line,
  .office-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel {
    margin-top: 24px;
    padding: 14px;
  }

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

  .section {
    padding: 54px 0;
  }

  .section-head,
  .listing-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .media-split,
  .blog-feature,
  .contact-grid,
  .detail-grid,
  .properties-layout,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 130;
    width: min(90vw, 380px);
    max-width: 100%;
    padding: 24px;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    box-shadow: 24px 0 70px rgba(8, 14, 25, 0.2);
    transform: translateX(-110%);
    transition: transform 0.25s ease;
  }

  .filters.open {
    transform: translateX(0);
  }

  .drawer-backdrop.open {
    display: block;
  }

  .mobile-only {
    display: inline-flex;
  }

  .grid.cards-3,
  .grid.cards-4,
  .properties-grid {
    grid-template-columns: 1fr;
  }

  .properties-grid.list .property-card {
    grid-template-columns: 1fr;
  }

  .properties-grid.list .property-media {
    aspect-ratio: 1.35 / 1;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .site-header .container {
    min-height: 64px;
  }

  .brand-mark {
    font-size: 19px;
  }

  .brand-sub {
    letter-spacing: 0.12em;
  }

  .language-select[aria-label="Language"] {
    width: 60px;
    height: 38px;
    font-size: 13px;
  }

  .menu-toggle,
  .filter-toggle,
  .icon-button {
    width: 40px;
    height: 40px;
  }

  .hero-content,
  .page-hero .container {
    padding-top: 42px;
    padding-bottom: 34px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(31px, 11vw, 42px);
  }

  .button-row {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button-row .button {
    width: 100%;
    min-height: 46px;
    white-space: normal;
  }

  .property-card .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-kpis,
  .stats-strip,
  .facts,
  .specs,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .property-media,
  .blog-card img {
    aspect-ratio: 1.22 / 1;
  }

  .property-body {
    padding: 16px;
  }

  .property-body h3 {
    font-size: 19px;
  }

  .price {
    font-size: 24px;
  }

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

  .gallery img:first-child {
    grid-row: auto;
  }

  .lead-form {
    position: static;
    padding: 16px;
  }

  .media-frame,
  .media-frame img {
    min-height: 260px;
  }

  .footer-newsletter {
    flex-direction: column;
  }

  .footer-social {
    gap: 10px;
  }

  .social-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 900px) {
  .topbar {
    display: block;
  }

  .topbar .container {
    justify-content: center;
    gap: 6px 12px;
    padding-block: 7px;
    text-align: center;
  }

  .topbar-links {
    justify-content: center;
    gap: 6px 12px;
  }
}

@media (max-width: 560px) {
  .topbar {
    font-size: 12px;
  }

  .topbar-links a[href^="mailto:"] {
    display: none;
  }
}

@media (max-width: 560px) {
  .property-card .button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    align-items: stretch;
  }

  .property-card .button-row .button {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.2;
    box-shadow: none;
    white-space: nowrap;
  }

  .property-card .button-row .button svg {
    width: 16px;
    height: 16px;
  }

  .property-card .button.whatsapp {
    border-radius: 12px;
  }

  .property-card .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .property-card .specs span {
    min-width: 0;
  }

  .nav-links:not(.open),
  .filters:not(.open) {
    visibility: hidden;
    pointer-events: none;
  }

  .nav-links.open,
  .filters.open {
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 340px) {
  .property-card .button-row {
    grid-template-columns: 1fr;
  }
}

/* EMLAK REQUEST FIXES */
:root {
  --navy: #08090d;
  --navy-soft: #181016;
  --gold: #d31321;
  --red: #d31321;
  --red-soft: #ff2b2b;
  --line: rgba(211, 19, 33, 0.22);
}
.topbar, .site-footer { background: linear-gradient(90deg,#040404,#16070a,#2a070d); }
.topbar .container { overflow:hidden; }
.marquee { flex:1; min-width:200px; overflow:hidden; white-space:nowrap; }
.marquee span { display:inline-block; min-width:100%; animation: emlakMarquee 18s linear infinite; }
@keyframes emlakMarquee { from { transform:translateX(100%);} to { transform:translateX(-100%);} }
.site-header { border-bottom-color: rgba(211,19,33,.25); }
.nav-links a:hover, .nav-links a.active, .eyebrow, .brand-sub { color: var(--red); }
.nav-links a::after, .brand::before, .service-card::before, .info-card::before, .testimonial::before { background: linear-gradient(90deg,#d31321,#ff4d00,transparent); }
.button.gold { background: linear-gradient(135deg,#d31321,#ff4d00); color:#fff; }
.button.light { border-color: rgba(211,19,33,.35); }
.hero { background: linear-gradient(90deg, rgba(3,3,5,.92), rgba(32,5,10,.54)), url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=2200&q=86") center/cover; }
.map-box iframe { width:100%; min-height:360px; border:0; border-radius:14px; display:block; margin-top:12px; }
.google-reviews-embed iframe { width:100%; min-height:420px; border:0; border-radius:14px; }
.site-footer .footer-newsletter { display:none; }
@media (max-width: 560px) { .marquee { width:100%; } .topbar .container { display:block; } .map-box iframe { min-height:280px; } }

/* Sticky header + animated scroll-to-top fix */
body.has-fixed-site-header {
  padding-top: var(--fixed-header-total, 116px) !important;
}
body.has-fixed-site-header .topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10020 !important;
  transform: none !important;
}
body.has-fixed-site-header .site-header {
  position: fixed !important;
  top: var(--fixed-topbar-height, 38px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10010 !important;
  transform: none !important;
  will-change: auto !important;
}
body.has-fixed-site-header .site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(8, 14, 25, 0.18) !important;
}
.scroll-top-button {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 10030;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #d31321, #ff4d00);
  box-shadow: 0 18px 38px rgba(211, 19, 33, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.92);
  transition: opacity .28s ease, visibility .28s ease, transform .28s ease, box-shadow .28s ease;
}
.scroll-top-button.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-top-button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 46px rgba(211, 19, 33, 0.42);
}
.scroll-top-button svg {
  width: 23px;
  height: 23px;
  display: block;
}
@media (max-width: 560px) {
  body.has-fixed-site-header {
    padding-top: var(--fixed-header-total, 112px) !important;
  }
  .scroll-top-button {
    right: 14px;
    bottom: 82px;
    width: 46px;
    height: 46px;
  }
  .floating-whatsapp {
    z-index: 10025 !important;
  }
}
