:root {
  color-scheme: light dark;

  &:has(> head > meta[name="color-scheme"][content="dark"]) {
    color-scheme: dark;
  }
  &:has(> head > meta[name="color-scheme"][content="light"]) {
    color-scheme: light;
  }

  --bg: light-dark(#ffffff, #0f172a);
  --surface: light-dark(#f7f8f9, #162032);
  --surface-2: light-dark(#ffffff, #1e293b);
  --text: light-dark(#1d2b3a, #f1f5f9);
  --muted: light-dark(#64748b, #94a3b8);
  --border: light-dark(rgba(15, 23, 42, 0.1), rgba(255, 255, 255, 0.12));
  --gold: #ffb74d;
  --gold-ink: #1d2b3a;
  --navy: #1d2b3a;
  --sold-ribbon: #b92b37;
  --shadow: light-dark(0 14px 36px rgba(10, 30, 60, 0.11), 0 18px 44px rgba(0, 0, 0, 0.45));
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
}

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

/* Non-color branching for hero images, logos & theme toggle icons */
.hero-img-night, .theme-to-light, .logo-dark { display: none; }
.hero-img-day, .theme-to-dark { display: inline-flex; }
.hero-img-day, .logo-light { display: block; }
.brand-logo { width: 225px; height: auto; max-width: none; object-fit: contain; }

:root:has(> head > meta[name="color-scheme"][content="dark"]) {
  .hero-img-day, .theme-to-dark, .logo-light { display: none; }
  .hero-img-night, .logo-dark { display: block; }
  .theme-to-light { display: inline-flex; }
}
@media (prefers-color-scheme: dark) {
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) {
    .hero-img-day, .theme-to-dark, .logo-light { display: none; }
    .hero-img-night, .logo-dark { display: block; }
    .theme-to-light { display: inline-flex; }
  }
}

/* HEADER — Matches header.css + hero.css (soft white top haze in Day Home, transparent in Night Home) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--surface-2);
  border-bottom: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: background 0.25s, box-shadow 0.25s;
}
body.is-home .site-header:not(.scrolled) {
  position: absolute;
  left: 0; right: 0; top: 0;
  background: transparent;
  background-image: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.header-inner {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { text-decoration: none; line-height: 0; flex: 0 0 auto; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
}
.nav-link {
  text-decoration: none;
  background: transparent;
  border: 0;
  color: light-dark(#0b1a2e, #f1f5f9);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
/* Native inmolets.com look (hero.css): plain bold navy links over day hero haze, translucent dark pills over night hero */
body.is-home .site-header:not(.scrolled) .nav-link:not(.active) {
  background: light-dark(transparent, rgba(11, 18, 32, 0.62));
  color: light-dark(#0b1a2e, #ffb74d);
  font-weight: 800;
}
body.is-home .site-header:not(.scrolled) .nav-link:not(.active):hover {
  background: light-dark(#fff6ea, rgba(255, 255, 255, 0.14));
  color: light-dark(#1d2b3a, #ffb74d);
}
.nav-link:hover { background: light-dark(#fff6ea, rgba(255, 255, 255, 0.12)); color: light-dark(#0b1a2e, #ffb74d); }
.nav-link.active { background: light-dark(#1d2b3a, #ffb74d); color: light-dark(#ffffff, #0f172a); }

.nav-dropdown { position: relative; }
.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px;
  padding: 8px; box-shadow: 0 18px 44px rgba(10, 30, 60, 0.18); z-index: 120;
}
.nav-dropdown:hover .nav-drop-menu, .nav-dropdown:focus-within .nav-drop-menu { display: flex; flex-direction: column; }
.nav-drop-menu a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px;
  padding: 10px 14px; border-radius: 10px;
}
.nav-drop-menu a:hover { background: light-dark(#fff6ea, rgba(255, 255, 255, 0.08)); color: light-dark(#1d2b3a, #ffb74d); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid light-dark(rgba(29, 43, 58, 0.14), rgba(255, 255, 255, 0.2));
  background: light-dark(rgba(255, 255, 255, 0.88), rgba(30, 41, 59, 0.85));
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 30, 60, 0.08);
}
.lang-switch {
  display: inline-flex;
  background: light-dark(rgba(255, 255, 255, 0.92), rgba(30, 41, 59, 0.88));
  border: 1px solid light-dark(rgba(255, 183, 77, 0.65), rgba(255, 255, 255, 0.2));
  border-radius: 999px;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(10, 30, 60, 0.08);
}
.lang-btn {
  border: 0; background: transparent; color: var(--text);
  font: inherit; font-size: 0.78rem; font-weight: 700;
  padding: 6px 11px; border-radius: 999px; cursor: pointer;
}
.lang-btn.active { background: var(--gold); color: var(--gold-ink); }
.mobile-menu-btn { display: none; }

/* VIEWS */
.view { display: none; }
.view.active { display: block; }
.container { width: min(1400px, calc(100% - 48px)); margin: 0 auto; }
.container.narrow { width: min(860px, calc(100% - 48px)); }
.page-top { padding-top: 36px; padding-bottom: 64px; }

/* HERO + EXACT NATIVE GOLD SHIMMER SWEEP (hero.css) */
.hero {
  position: relative;
  min-height: 810px;
  display: flex;
  align-items: flex-end;
  padding: 238px 0 0;
  overflow: visible;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%; z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: light-dark(
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(85deg, rgba(10, 18, 36, 0.48) 0%, rgba(10, 18, 36, 0.02) 60%)
  );
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 234px;
  color: light-dark(#0f2a44, #ffffff);
  text-shadow: light-dark(
    0 0 14px rgba(255, 255, 255, 0.95),
    0 4px 24px rgba(0, 0, 0, 0.45)
  );
}
@media (max-width: 1120px) {
  .hero { min-height: 680px; padding-top: 150px; }
  .hero-title { margin-bottom: 96px; }
}
@media (max-width: 767px) {
  .hero { min-height: 580px; padding-top: 120px; }
  .hero-title { margin-bottom: 48px; }
}

@keyframes inmSparkSweep {
  0%, 35% { background-position: 140% 0, 0 0; }
  75%, 100% { background-position: -70% 0, 0 0; }
}
.hero-gold {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-weight: 800;
  background-image:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #ffcb6b 0%, #ffae2b 50%, #f08a00 100%);
  background-size: 230% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 140% 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffb74d;
  text-shadow: none;
  filter: drop-shadow(0 0 1px rgba(74, 36, 0, 0.95)) drop-shadow(0 3px 5px rgba(20, 10, 0, 0.45)) drop-shadow(0 0 14px rgba(255, 170, 40, 0.75));
  animation: inmSparkSweep 3.8s ease-in-out 0.8s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-gold { animation: none; }
}

/* FROSTED GLASS SEARCH PANEL (identical to inmolets.com site.css + hero.css) */
.search-shell { position: relative; margin-top: 22px; margin-bottom: -36px; z-index: 5; }
body.route-listings .search-shell { margin-bottom: 0; }
.search-tabs {
  position: absolute; top: -22px; left: 24px; z-index: 4;
  display: inline-flex; gap: 4px; padding: 5px;
  border-radius: 999px;
  background: light-dark(rgba(255, 255, 255, 0.78), rgba(11, 18, 32, 0.7));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(10, 30, 60, 0.14);
}
.stab {
  border: 0; background: transparent;
  color: light-dark(#0b1a2e, #e2e8f0);
  font: inherit; font-weight: 800; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.stab:hover:not(.active) { background: light-dark(#fff6ea, rgba(255, 255, 255, 0.08)); color: light-dark(#1d1d1d, #fff); }
.stab.active { background: #ffb74d; color: #1d1d1d; }

.search-card {
  position: relative;
  background: light-dark(
    rgba(255, 255, 255, 0.55),
    rgba(11, 18, 32, 0.54)
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
  backdrop-filter: blur(18px) saturate(1.45);
  border: 1px solid light-dark(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.16));
  border-radius: 22px;
  padding: 30px 24px 18px;
  box-shadow: light-dark(
    0 22px 60px rgba(10, 30, 60, 0.22),
    0 22px 60px rgba(0, 0, 0, 0.4)
  ), inset 0 1px 0 light-dark(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.14));
}
.search-grid {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.sfield { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sfield-where { flex: 2.2 1 0; }
.sfield-price, .sfield-beds { flex: 1 1 0; }
.sfield-ref { flex: 0 0 190px; }
.sfield-map { flex: 0 0 112px; }
.sfield > span, .ims-lbl {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: light-dark(#0b1a2e, #94a3b8); padding-left: 4px;
}
.sfield input, .sfield select, .sfield textarea {
  font: inherit; font-size: 15px; font-weight: 600;
  height: 50px; padding: 0 14px; border-radius: 14px;
  border: 1.5px solid light-dark(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.18));
  background: light-dark(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08));
  color: var(--text); width: 100%; box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.sfield textarea { height: auto; padding: 11px 14px; }
.sfield input:focus, .sfield textarea:focus {
  outline: none; border-color: #ffb74d;
  box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.18);
  background: light-dark(#fff, rgba(30, 41, 59, 0.98));
}
.ims-where-wrap { position: relative; }
.ims-pin {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; pointer-events: none; z-index: 1;
}
.ims-where-wrap input { padding-left: 42px; }
.ims-sug {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 210;
  list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow: auto;
  background: light-dark(#fff, #162032);
  border: 1px solid light-dark(#eef0f2, rgba(255, 255, 255, 0.12));
  border-radius: 14px;
  box-shadow: light-dark(0 18px 40px rgba(10, 30, 60, 0.18), 0 18px 40px rgba(0, 0, 0, 0.55));
}
.ims-sug li {
  padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  color: light-dark(#1d2b3a, #e2e8f0); cursor: pointer;
}
.ims-sug li:hover { background: light-dark(#fff6ea, rgba(255, 255, 255, 0.08)); }
.ims-sug mark { background: none; color: #e08a00; font-weight: 800; }

.ims-map-box {
  position: relative; display: block;
  height: 50px; border-radius: 14px; overflow: hidden; text-decoration: none;
  border: 1.5px solid light-dark(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.16));
  background: #eaf2e1;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ims-map-box:hover, .ims-map-box:focus-visible {
  border-color: #ffb74d; box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.22);
}
.ims-map-box svg {
  position: absolute; left: -6px; top: -6px;
  width: calc(100% + 12px); height: calc(100% + 12px); display: block;
  animation: imsMapPan 9s ease-in-out infinite alternate;
}
.ims-map-box:hover svg { animation-duration: 3s; }
.ims-map-box .ims-map-scene { transform: none; }
@media (max-width: 767px) {
  .ims-map-box .ims-map-scene { transform-origin: 75px 40px; transform: scale(0.58); }
}
.ims-map-box .pin { transform-box: fill-box; transform-origin: 50% 100%; animation: imsMapPin 3.6s ease-in-out infinite; }
.ims-map-box .ring { transform-box: fill-box; transform-origin: center; opacity: 0; animation: imsMapRing 3.6s ease-out infinite; }
.ims-map-box .b { animation-delay: 0.5s; }
.ims-map-box .c { animation-delay: 1.2s; }
.ims-map-box .d { animation-delay: 2.2s; }
.ims-map-box .ims-radar { transform-origin: 0 0; animation: imsRadar 3.6s linear infinite; }
.ims-map-box:hover .ims-radar { animation-duration: 1.6s; }
.ims-map-box .ims-sonar { transform-origin: 0 0; animation: imsSonar 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.ims-map-box .ims-sonar.s2 { animation-delay: 1.3s; }
@keyframes imsRadar { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes imsSonar { 0% { transform: scale(0.2); opacity: 0.85; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes imsMapPan { from { transform: translate(-3px, 1px); } to { transform: translate(3px, -1px); } }
@keyframes imsMapPin { 0%, 16%, 100% { transform: translateY(0) scale(1); } 8% { transform: translateY(-4px) scale(1.2); } }
@keyframes imsMapRing { 0% { transform: scale(0.4); opacity: 0.7; } 30% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ims-map-box svg, .ims-map-box .pin, .ims-map-box .ring, .ims-map-box .ims-radar, .ims-map-box .ims-sonar { animation: none; }
}

.btn-gold {
  border: 0; background: #ffb74d; color: #1d1d1d;
  font: inherit; font-weight: 800; padding: 11px 22px; min-height: 46px;
  border-radius: 12px; cursor: pointer; transition: background 0.15s, transform 0.15s, filter 0.15s; white-space: nowrap;
}
.btn-gold:hover { background: #ffa726; transform: translateY(-1px); }
.ims-go {
  flex: 0 0 auto; min-width: 190px; height: 50px; border-radius: 14px;
  font-size: 15px; padding: 0 22px;
  box-shadow: 0 8px 20px rgba(255, 183, 77, 0.35);
}
.btn-outline {
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  font: inherit; font-weight: 700; padding: 10px 16px; min-height: 44px;
  border-radius: 12px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn-sm { padding: 7px 12px; min-height: 36px; font-size: 0.84rem; border-radius: 10px; }

.type-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.tchip {
  border: 1.5px solid light-dark(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.18));
  background: light-dark(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08));
  color: light-dark(#0b1a2e, #e2e8f0);
  font: inherit; font-size: 13.5px; font-weight: 700;
  padding: 7px 15px; border-radius: 999px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.tchip:hover { border-color: #ffb74d; }
.tchip.active { background: light-dark(#1d2b3a, #ffb74d); border-color: light-dark(#1d2b3a, #ffb74d); color: light-dark(#fff, #1d1d1d); }
.ims-more {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px; border: 1.5px solid transparent;
  background: transparent; color: light-dark(#1d2b3a, #e2e8f0);
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background 0.15s;
}
.ims-more:hover, .ims-more.open { background: light-dark(#fff6ea, rgba(255, 183, 77, 0.14)); }

.ims-extra {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid light-dark(rgba(29, 43, 58, 0.1), rgba(255, 255, 255, 0.12));
}
.ims-extra[hidden] { display: none; }
.ims-cks { display: flex; flex-wrap: wrap; gap: 8px; }
.ims-ck { cursor: pointer; }
.ims-ck input { position: absolute; opacity: 0; pointer-events: none; }
.ims-ck span {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid light-dark(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.16));
  background: light-dark(rgba(255, 255, 255, 0.72), rgba(30, 41, 59, 0.85));
  color: light-dark(#1d2b3a, #e2e8f0);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ims-ck:hover span { border-color: #ffb74d; }
.ims-ck input:checked + span { background: light-dark(#1d2b3a, #ffb74d); border-color: light-dark(#1d2b3a, #ffb74d); color: light-dark(#fff, #1d1d1d); }
.ims-clear {
  margin-left: auto; border: 0; background: none; padding: 6px 4px;
  font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline;
  color: light-dark(#4b5563, #94a3b8); cursor: pointer;
}
.ims-clear:hover { color: light-dark(#1d2b3a, #fff); }

@media (max-width: 1120px) {
  .search-grid { flex-wrap: wrap; }
  .sfield-where { flex: 1 1 260px; }
  .sfield-price, .sfield-beds { flex: 1 1 130px; }
  .sfield-ref { flex: 1 1 150px; }
  .sfield-map { flex: 0 0 112px; }
  .ims-go { flex: 1 1 180px; }
}

/* SECTION HEADINGS WITH AMBER CIRCLE ICON */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em;
  color: #e69500; text-transform: uppercase;
}
.eyebrow-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--gold); display: inline-grid; place-items: center;
}
.eyebrow-dot::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.about-band {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px;
  padding-top: 88px; padding-bottom: 44px; align-items: center;
}
.about-band h2, .section-head h2 { margin: 10px 0 0; font-size: clamp(1.65rem, 2.6vw, 2.3rem); line-height: 1.18; font-weight: 800; }
.about-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.muted { color: var(--muted); }

.section-block { padding-top: 28px; padding-bottom: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

/* NATIVE INMOLETS PROPERTY CARDS (3-col grid, amber FEATURED, navy FOR SALE, tinted spec pills, Call/Email/WhatsApp footer) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* HOME CAROUSELS (native inmolets.com: horizontal sliding rows per collection) */
.carousels { display: grid; gap: 40px; }
.carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.carousel-title { margin: 0; font-size: 22px; font-weight: 700; }
.carousel-ctrl { display: flex; align-items: center; gap: 8px; }
.carousel-all {
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  background: transparent; color: var(--gold); border: 0; padding: 8px 10px;
}
.carousel-all:hover { text-decoration: underline; }
.carousel-back { justify-self: start; }
.carousel-arrow {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.carousel-arrow:hover { background: var(--gold); color: var(--gold-ink); }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px 2px 14px; margin: 0 -2px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .prop-card { scroll-snap-align: start; }
@media (max-width: 1120px) { .carousel-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 720px) { .carousel-track { grid-auto-columns: 86%; } }

.prop-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 26px rgba(10, 30, 60, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prop-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: #1e293b; cursor: pointer; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.prop-card:hover .prop-media img { transform: scale(1.03); }
.prop-media::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(10, 18, 36, 0.45)); pointer-events: none; }

.prop-badge-tl { position: absolute; top: 12px; left: 12px; z-index: 3; }
.prop-badge-tr { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; z-index: 3; }
.pbadge {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: #1d2b3a; color: #fff;
}
.pbadge-feat { background: #f5a623; color: #1d2b3a; }
.pbadge-new { background: rgba(255, 255, 255, 0.92); color: #1d2b3a; }
.pbadge-rent { background: #0f766e; color: #fff; }

.sold-ribbon {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--sold-ribbon) 92%, #000), var(--sold-ribbon), color-mix(in srgb, var(--sold-ribbon) 92%, #000));
  color: #fff; text-align: center; font-weight: 800; letter-spacing: 0.24em; font-size: 0.95rem;
  padding: 8px 0; z-index: 4; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.sold-ribbon::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-100%); animation: ribbonShine 3.2s ease-in-out infinite;
}
@keyframes ribbonShine { 0%, 100% { transform: translateX(-100%); } 55% { transform: translateX(100%); } }

.prop-card-actions { position: absolute; bottom: 10px; right: 10px; display: flex; align-items: center; gap: 4px; z-index: 4; }
.mini-act {
  width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0;
  background: transparent; color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.65));
  transition: transform 0.15s, color 0.15s;
}
.mini-act .ic { width: 22px; height: 22px; stroke-width: 2.3; }
.mini-act:hover { transform: scale(1.12); }
.mini-act-fav { color: #ff385c; }
.mini-act-fav.on { background: transparent; color: #ff385c; }
.mini-act-fav.on .ic { fill: #ff385c; }
.mini-act-cmp { color: #ffffff; }
.mini-act-cmp:hover, .mini-act-cmp.on { background: transparent; color: #ffb74d; }
.ls-gold-pill {
  height: 44px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: #ffb74d; color: #1d1d1d; font-size: 14px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(255, 183, 77, 0.35);
}
.ls-gold-pill:hover { background: #ffa726; color: #1d1d1d; }
.ls-gold-pill .ic { color: #1d1d1d; }

.prop-body { padding: 15px 18px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.prop-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.prop-type-eyebrow { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #e08a00; text-align: right; white-space: nowrap; flex: none; }
.prop-price { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.prop-price small { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.prop-title { margin: 2px 0 0; font-size: 1.04rem; font-weight: 700; line-height: 1.3; }
.prop-title a { color: inherit; text-decoration: none; }
.prop-title a:hover { color: #e69500; }
.prop-loc { font-size: 0.86rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.prop-specs-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.spec-pill {
  font-size: 0.76rem; padding: 4px 10px; border-radius: 999px;
  background: light-dark(#f8fafc, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border); color: var(--text);
}
.spec-pill-ref { background: light-dark(#fff8ee, rgba(255, 183, 77, 0.14)); border-color: rgba(255, 183, 77, 0.45); font-weight: 700; }

.prop-foot-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 12px 18px 16px; border-top: 1px solid var(--border); margin-top: auto;
}
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-size: 0.82rem; font-weight: 700; padding: 9px 8px;
  border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
}
.pbtn:hover { border-color: var(--gold); }
.pbtn-wa { background: #25d366; border-color: #25d366; color: #ffffff; }
.pbtn-wa:hover { filter: brightness(1.05); }

/* EXPLORE BY AREA — NATIVE ASYMMETRIC BENTO GRID (1 Tall Left + 2x2 Right) */
.bento-areas {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 18px;
}
.bento-card {
  position: relative; border: 0; padding: 0; border-radius: 18px; overflow: hidden;
  cursor: pointer; text-align: left; background: #0f172a;
}
.bento-tall { grid-row: span 2; }
.bento-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.bento-card:hover img { transform: scale(1.05); }
.bento-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 36, 0.04) 22%, rgba(10, 18, 36, 0.56) 66%, rgba(10, 18, 36, 0.9) 100%); }
.bento-count {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255, 255, 255, 0.94); color: #1d2b3a;
  font-size: 0.76rem; font-weight: 800; padding: 5px 12px; border-radius: 999px;
}
.bento-info { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
.bento-info h3 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 800; }
.bento-info p { margin: 0 0 6px; font-size: 0.84rem; opacity: 0.9; line-height: 1.35; }
.bento-info small { display: block; font-size: 0.76rem; opacity: 0.85; margin-bottom: 6px; }
.bento-cta { font-style: normal; font-size: 0.84rem; font-weight: 800; color: var(--gold); }

/* LIFESTYLE — 4-COLUMN PROPERTY TYPES */
.lifestyle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.life-card {
  border: 1px solid var(--border); background: var(--surface-2); padding: 14px 14px 18px; border-radius: 18px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--text);
  transition: transform 0.25s, box-shadow 0.25s;
}
.life-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.life-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); }
.life-card strong { font-size: 0.92rem; letter-spacing: 0.06em; font-weight: 800; }
.life-card span { font-size: 0.82rem; color: var(--muted); }

/* PLAN YOUR MOVE + WARM CREAM ALERT CARD */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 24px; }
.plan-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; box-shadow: 0 6px 20px rgba(10, 30, 60, 0.05); cursor: pointer; transition: transform 0.2s, border-color 0.2s;
}
.plan-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.plan-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.16));
  display: grid; place-items: center; font-size: 1.35rem;
}
.plan-card h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.plan-link { display: inline-block; margin-top: 8px; font-weight: 800; color: #e69500; }

.cream-alert-card {
  background: light-dark(#fff8ee, #162032);
  border: 1px solid light-dark(rgba(255, 183, 77, 0.45), rgba(255, 183, 77, 0.28));
  border-radius: 20px; padding: 28px;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; align-items: center;
}
.ia-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: center; }
.ia-row input, .ia-row select {
  font: inherit; font-size: 14.5px; font-weight: 600;
  padding: 0 14px; border-radius: 13px;
  border: 1.5px solid light-dark(#e5e7eb, #334155);
  background: light-dark(#ffffff, #0f172a);
  color: var(--text); height: 48px; min-height: 48px; width: 100%; box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ia-row input:focus { outline: none; border-color: #ffb74d; box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.22); }
.ia-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }

/* BOTTOM CONSULTATION BANNER */
.consult-banner {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 300px;
  display: flex; align-items: center; padding: 44px; background: #0f172a;
}
.consult-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.consult-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.25) 75%); }
.consult-content { position: relative; z-index: 2; max-width: 620px; color: #fff; }
.consult-content h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.18; }
.consult-content p { margin: 0; opacity: 0.92; }

.calc-card, .panel-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05); }
.calc-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px; }
.calc-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.calc-total { font-size: 1.25rem; font-weight: 800; color: var(--gold); border-bottom: 0; padding-top: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stack-form { display: flex; flex-direction: column; gap: 14px; }
.gdpr-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); cursor: pointer; }
.gdpr-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }
.form-msg { font-size: 0.88rem; font-weight: 700; color: #16a34a; min-height: 1.2em; }

.tag-chip { display: inline-block; white-space: nowrap; flex-shrink: 0; font-size: 0.74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.crm-table { width: 100%; border-collapse: collapse; background: var(--surface-2); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.crm-table th, .crm-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.88rem; }

.modal-dialog {
  width: min(960px, 94vw); max-height: 90vh; padding: 0;
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--surface-2); color: var(--text);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45); overflow: hidden;
}
.modal-dialog::backdrop { background: rgba(10, 18, 36, 0.62); backdrop-filter: blur(4px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.modal-head h2 { margin: 0; font-size: 1.2rem; }
.modal-body { padding: 20px 22px; overflow-y: auto; max-height: calc(90vh - 74px); }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.mode-btn { border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; padding: 10px; border-radius: 12px; cursor: pointer; }
.mode-btn.active { background: var(--gold); color: var(--gold-ink); border-color: transparent; }
.slot-chips { display: flex; gap: 8px; margin-top: 8px; }

/* NATIVE DARK-NAVY FOOTER WITH GOLDEN TOP-RIGHT GLOW */
.site-footer {
  background: radial-gradient(circle at 90% 10%, rgba(255, 183, 77, 0.14), transparent 42%), linear-gradient(180deg, #182433 0%, #111b27 100%);
  color: #e2e8f0;
  padding: 56px 0 26px;
}
.footer-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-badges-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.accred-badge {
  width: 62px; height: 62px; border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; line-height: 1.1; font-size: 0.72rem;
}
.accred-raicv { background: #b91c1c; color: #fff; }
.accred-apial { background: #e2e8f0; color: #1d2b3a; }
.footer-sub { margin: 4px 0; font-size: 0.88rem; color: #94a3b8; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.soc-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  text-decoration: none; color: #fff; font-size: 0.9rem;
}
.soc-yt { background: #dc2626; }
.soc-ig { background: #334155; }

.newsletter-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.newsletter-glass h3 { margin: 0; font-size: 1.25rem; color: #fff; }
.newsletter-glass p { margin: 0; font-size: 0.88rem; color: #cbd5e1; }
.news-row { display: flex; gap: 8px; }
.news-row input { flex: 1; font: inherit; padding: 11px 14px; border-radius: 12px; border: 0; background: #fff; color: #1d2b3a; }

.footer-bottom {
  padding-top: 20px; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: #94a3b8;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: #cbd5e1; text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }

@media (max-width: 1120px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-areas { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento-tall { grid-row: auto; }
  .bento-card { aspect-ratio: 16 / 10; }
  .lifestyle-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid, .cream-alert-card, .ia-row { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: repeat(2, 1fr); }
  .map-layout, .two-col, .about-band, .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .brand-logo { width: 170px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface-2); padding: 14px 20px; border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .mobile-menu-btn { display: inline-flex; }
  .cards-grid, .search-grid { grid-template-columns: 1fr; }
  .hero { min-height: 680px; padding-top: 120px; }
}

/* Small phones: keep logo, theme toggle, language switch and menu button on one row */
@media (max-width: 600px) {
  .brand-logo { width: 130px; }
  .header-inner { width: calc(100% - 28px); gap: 8px; }
  .header-actions { gap: 5px; }
  /* keep every control on screen: flags only, slightly smaller buttons */
  .lang-cur-label, .cur-cur-label { display: none; }
  .header-actions .lang-cur { height: 36px; padding: 0 8px 0 6px; gap: 4px; }
  .header-actions .icon-btn { width: 36px; height: 36px; }
  .cur-dd .lang-menu { left: 0; right: auto; transform-origin: top left; }
}
@media (max-width: 380px) {
  .brand-logo { width: 100px; }
  .header-actions .lang-cur { height: 34px; padding: 0 6px 0 5px; gap: 3px; }
  .header-actions .icon-btn { width: 34px; height: 34px; }
}
@media (max-width: 340px) {
  .brand-logo { width: 88px; }
  .header-actions .lang-cur .ic { display: none; }
  .header-actions .lang-cur { padding: 0 7px 0 6px; }
}

/* ===== MAP SEARCH (native inmolets.com layout) ===== */
.ms-wrap { width: min(1760px, calc(100% - 32px)); margin: 0 auto; padding: 14px 0 28px; }
.ms-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: 10px; margin-bottom: 14px; }
.ms-pills { display: flex; gap: 4px; }
.ms-pill { font: inherit; font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.ms-pill.active { background: var(--gold); color: var(--gold-ink); }
.ms-select { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 14px; min-width: 130px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.ms-reset { font: inherit; font-weight: 700; background: transparent; border: 0; color: var(--gold); cursor: pointer; padding: 8px 12px; }
.ms-layout { display: grid; grid-template-columns: 1fr minmax(380px, 30%); gap: 14px; height: clamp(520px, calc(100vh - 210px), 900px); }
.ms-layout.map-only { grid-template-columns: 1fr; }
.ms-layout.map-only .ms-panel { display: none; }
.ms-mapbox { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); min-height: 0; }
.ms-map { position: absolute; inset: 0; background: #0f172a; }
.ms-map.is-drawing { cursor: crosshair; }
.ms-style { position: absolute; top: 12px; left: 12px; z-index: 500; display: flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.ms-style button { font: inherit; font-size: 13px; font-weight: 700; border: 0; background: transparent; color: var(--text); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.ms-style button.active { background: var(--gold); color: var(--gold-ink); }
.ms-tools { position: absolute; top: 56px; left: 12px; z-index: 500; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ms-tool { font: inherit; font-size: 13px; font-weight: 700; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.ms-tool.on, .ms-tool:hover { border-color: var(--gold); color: var(--gold); }
.ms-panel { display: flex; flex-direction: column; min-height: 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.ms-panel-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.ms-count { font-size: 14px; flex: 1 1 auto; }
.ms-count strong { font-size: 16px; }
.ms-count span { color: var(--muted); }
.ms-sort { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ms-sort select { font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.ms-maponly { font: inherit; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.ms-list { overflow: auto; padding: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; flex: 1; }
.mcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .15s, transform .15s; }
.mcard:hover, .mcard.flash { border-color: var(--gold); transform: translateY(-2px); }
.mcard-media { position: relative; aspect-ratio: 4 / 3; background: #1e293b; }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mcard-media .pbadge { position: absolute; top: 8px; left: 8px; }
.mcard-body { padding: 10px 12px 12px; display: grid; gap: 4px; }
.mcard-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.mcard-ref { color: var(--gold); background: rgba(255, 183, 77, .12); border-radius: 999px; padding: 2px 8px; }
.mcard-type { color: var(--muted); text-transform: uppercase; }
.mcard-price { font-size: 18px; font-weight: 800; }
.mcard-price small { font-size: 12px; font-weight: 600; color: var(--muted); }
.mcard-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard-loc { font-size: 12px; color: var(--muted); }
.mcard-specs { display: flex; gap: 10px; font-size: 12px; color: var(--muted); }
.mm-wrap { background: transparent; border: 0; }
.mm-price { display: inline-block; transform: translate(-50%, -50%); white-space: nowrap; font: 800 12px 'Plus Jakarta Sans', system-ui, sans-serif; background: #fff; color: #0f172a; border: 2px solid var(--gold); border-radius: 999px; padding: 4px 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.mm-hot .mm-price, .mm-price:hover { background: var(--gold); }
.mm-cluster { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #1d2b3a; font: 800 15px 'Plus Jakarta Sans', system-ui, sans-serif; box-shadow: 0 0 0 6px rgba(255, 183, 77, .3), 0 6px 16px rgba(0, 0, 0, .4); }
@media (max-width: 960px) {
  .ms-layout { grid-template-columns: 1fr; height: auto; }
  .ms-mapbox { height: 56vh; }
  .ms-panel { max-height: 640px; }
}
@media (max-width: 560px) {
  .ms-list { grid-template-columns: 1fr; }
  .ms-select { flex: 1 1 140px; }
}

.tiles-dark { filter: invert(1) hue-rotate(180deg) brightness(.95) contrast(.9) saturate(.5); }
.mcard-media { flex: none; }
.mcard { min-height: 0; }
.ms-list { grid-auto-rows: max-content; }
.ms-wrap .leaflet-container { font-family: inherit; }

/* ===== ICONS (inline SVG sprite /icons.svg — same outline style as inmolets.com) ===== */
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; flex: none; }
.ic-fill { fill: currentColor; }
.dot { display: inline-block; width: .6em; height: .6em; border-radius: 50%; margin-right: .35em; }
.dot-ok { background: #16a34a; } .dot-warn { background: #d97706; } .dot-bad { background: #dc2626; }
.plan-icon .ic { width: 26px; height: 26px; }
.soc-btn .ic { width: 18px; height: 18px; }
.lp-circ .ic { width: 20px; height: 20px; }
.mini-act .ic { width: 17px; height: 17px; }
.mini-act.on .ic, .lp-act.on .ic, .fav-nav-btn .ic { fill: #ff3b47; stroke: #ff3b47; }
.mobile-menu-btn .ic, .icon-btn .ic { width: 20px; height: 20px; }
.lp-feat .ic { fill: currentColor; }
.ms-tool .ic, .nav-drop-btn .ic { width: 15px; height: 15px; }
.spec-pill .ic, .mcard-specs .ic { width: 14px; height: 14px; color: var(--gold); }
.lp-thumb-dot { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255, 183, 77, .35); border: 2px solid var(--gold); }

/* =====================================================================
   SHARED CHROME + STATIC PAGES (inmolets.com look)
   ===================================================================== */
/* header on static pages: plain page background, not sticky (as on inmolets.com) */
body.static-header .site-header { position: relative; background: transparent; box-shadow: none; border-bottom: 0; }
body.static-header .nav-link:not(.active) { background: light-dark(transparent, rgba(11, 18, 32, .62)); color: light-dark(#0b1a2e, #ffb74d); font-weight: 700; }
.nav-link .ic { width: 14px; height: 14px; margin-left: 2px; vertical-align: -2px; }
a.nav-link { display: inline-flex; align-items: center; gap: 4px; }

/* dropdown panels — identical to inmolets.com */
.nav-drop-menu {
  display: block; visibility: hidden; opacity: 0; transform: translateY(6px); pointer-events: none;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; padding: 8px;
  background: light-dark(#ffffff, #162032);
  border: light-dark(0, 1px solid rgba(255, 255, 255, .12));
  border-radius: 16px;
  box-shadow: light-dark(0 18px 44px rgba(10, 30, 60, .16), 0 18px 44px rgba(0, 0, 0, .5));
  z-index: 120;
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-dropdown:hover .nav-drop-menu, .nav-dropdown:focus-within .nav-drop-menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; display: block; flex-direction: column; }
.nav-drop-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: light-dark(#1d2b3a, #e2e8f0); text-decoration: none; transition: background .12s, color .12s; }
.nav-drop-menu a:hover { background: light-dark(#fff6ea, rgba(255, 255, 255, .08)); color: light-dark(#1d2b3a, #ffb74d); }

/* language & currency dropdowns + header utility bar */
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.ha-sep { width: 1px; height: 22px; background: light-dark(rgba(29, 43, 58, 0.14), rgba(255, 255, 255, 0.18)); margin: 0 2px; flex: none; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid light-dark(rgba(29, 43, 58, 0.12), rgba(255, 255, 255, 0.16));
  background: light-dark(rgba(255, 255, 255, 0.92), rgba(22, 32, 50, 0.86));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: light-dark(0 4px 14px rgba(10, 30, 60, 0.07), 0 4px 14px rgba(0, 0, 0, 0.25));
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.theme-toggle:hover {
  border-color: #ffb74d;
  background: light-dark(#fffaf0, rgba(255, 183, 77, 0.14));
  color: #e08a00;
  transform: translateY(-1px);
}
.lang-dd { position: relative; }
.lang-cur {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 8px;
  border-radius: 999px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 700;
  color: light-dark(#1d2b3a, #f1f5f9);
  background: light-dark(rgba(255, 255, 255, 0.92), rgba(22, 32, 50, 0.86));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid light-dark(rgba(29, 43, 58, 0.12), rgba(255, 255, 255, 0.16));
  box-shadow: light-dark(0 4px 14px rgba(10, 30, 60, 0.07), 0 4px 14px rgba(0, 0, 0, 0.25));
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.lang-cur:hover, .lang-dd.open .lang-cur, .lang-dd:hover .lang-cur {
  border-color: #ffb74d;
  background: light-dark(#fffaf0, rgba(255, 183, 77, 0.14));
  box-shadow: 0 6px 18px rgba(255, 183, 77, 0.18);
}
.lang-cur .ic { width: 14px; height: 14px; opacity: 0.7; transition: transform .18s, opacity .18s; }
.lang-dd:hover .lang-cur .ic, .lang-dd.open .lang-cur .ic { transform: rotate(180deg); opacity: 1; }
.lang-dd .lang-menu {
  display: block; visibility: hidden; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none;
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 196px; padding: 6px; z-index: 130;
  background: light-dark(rgba(255, 255, 255, 0.98), rgba(22, 32, 50, 0.98));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid light-dark(rgba(15, 23, 42, 0.08), rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  box-shadow: light-dark(0 20px 48px rgba(10, 30, 60, .16), 0 20px 48px rgba(0, 0, 0, .55));
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.lang-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.lang-dd:hover .lang-menu, .lang-dd:focus-within .lang-menu, .lang-dd.open .lang-menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.lang-dd .lang-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  text-align: left; text-decoration: none; padding: 9px 12px; border-radius: 11px;
  font-size: 14px; font-weight: 600; line-height: 1.2; background: transparent;
  color: light-dark(#1d2b3a, #e2e8f0); border: 0; cursor: pointer; font-family: inherit;
  transition: background .12s, color .12s;
}
.lang-dd .lang-btn:hover { background: light-dark(#fff6ea, rgba(255, 255, 255, .08)); }
.lang-dd .lang-btn.active { background: light-dark(#fff6ea, rgba(255, 183, 77, .14)); color: light-dark(#1d2b3a, #fff); font-weight: 700; }
.lang-dd .lang-btn.active::after {
  content: ""; width: 12px; height: 6px; flex: none;
  border-left: 2px solid #ffb74d; border-bottom: 2px solid #ffb74d;
  transform: rotate(-45deg) translateY(-2px);
}
.lang-dd .lang-switch { display: block; }
@media (max-width: 720px) { .ha-sep { display: none; } }

/* global custom select dropdowns (.imd) — inherited from inmolets.com across the entire site */
.imd { position: relative; width: 100%; min-width: 0; }
.imd-ms { width: auto; min-width: 140px; }
.imd-sm { width: auto; min-width: 170px; display: inline-block; }
.imd-native { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.imd-btn {
  width: 100%; height: 50px; padding: 0 12px 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-radius: 14px; font: inherit; font-size: 15px; font-weight: 700;
  color: light-dark(#1d2b3a, #e2e8f0);
  background: light-dark(rgba(255, 255, 255, .72), rgba(255, 255, 255, .08));
  border: 1.5px solid light-dark(rgba(255, 255, 255, .85), rgba(255, 255, 255, .18));
  cursor: pointer; text-align: left;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.imd-form .imd-btn {
  height: 48px; border-radius: 13px; font-size: 14.5px; font-weight: 600;
  background: light-dark(#fff, #0f172a);
  border: 1.5px solid light-dark(#e5e7eb, #334155);
  color: var(--text);
}
.imd-ms .imd-btn, .imd-sm .imd-btn {
  height: 40px; border-radius: 12px; font-size: 13.5px; font-weight: 600;
  background: light-dark(#fff, #1e293b);
  border: 1px solid light-dark(#e5e7eb, rgba(255, 255, 255, .16));
}
.imd-btn:hover { border-color: #ffb74d; }
.imd.open .imd-btn, .imd-btn:focus-visible {
  outline: none; border-color: #ffb74d;
  box-shadow: 0 0 0 4px rgba(255, 183, 77, .22);
}
.imd-btn.has {
  color: light-dark(#1d2b3a, #fff);
  border-color: #ffb74d;
  background: light-dark(#fff6ea, rgba(255, 183, 77, .16));
}
.imd-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imd-chev { width: 16px; height: 16px; flex: none; opacity: .7; transition: transform .18s; }
.imd.open .imd-chev { transform: rotate(180deg); opacity: 1; }
.imd-pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 1200;
  min-width: 100%; width: max-content; max-width: min(320px, 90vw); max-height: 296px; overflow: auto;
  padding: 6px;
  background: light-dark(#fff, #162032);
  border: 1px solid light-dark(#eef0f2, rgba(255, 255, 255, .12));
  border-radius: 16px;
  box-shadow: light-dark(0 18px 44px rgba(10, 30, 60, .18), 0 18px 44px rgba(0, 0, 0, .55));
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px) scale(.98); transform-origin: top left;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.imd.open .imd-pop { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.imd-pop.imd-right { left: auto; right: 0; transform-origin: top right; }
.ms-filters { position: relative; z-index: 1100; }
.imd-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; padding: 10px 12px; border: 0; border-radius: 10px;
  background: transparent; color: light-dark(#1d2b3a, #e2e8f0);
  font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.2;
  text-align: left; cursor: pointer; transition: background .12s;
}
.imd-opt:hover { background: light-dark(#fff6ea, rgba(255, 255, 255, .08)); }
.imd-opt.on { background: light-dark(#1d2b3a, #ffb74d); color: light-dark(#fff, #1d1d1d); }
.imd-opt.on::after {
  content: ""; width: 13px; height: 7px; flex: none;
  border-left: 2px solid light-dark(#ffb74d, #1d1d1d);
  border-bottom: 2px solid light-dark(#ffb74d, #1d1d1d);
  transform: rotate(-45deg) translateY(-2px);
}
/* Pill variant (Bedrooms) */
.imd-pop.imd-pills { display: flex; flex-wrap: nowrap; gap: 6px; padding: 10px; left: auto; right: 0; max-width: none; transform-origin: top right; }
.imd-pop.imd-pills .imd-opt {
  width: auto; min-width: 46px; height: 40px; padding: 0 12px; justify-content: center;
  border: 1px solid light-dark(#e5e7eb, rgba(255, 255, 255, .16)); border-radius: 999px;
}
.imd-pop.imd-pills .imd-opt.on { border-color: light-dark(#1d2b3a, #ffb74d); }
.imd-pop.imd-pills .imd-opt.on::after { display: none; }

/* ----- footer (inmolets.com) ----- */
.site-footer.sf { padding: 0; color: #f8fafc; background: radial-gradient(circle at 100% 0%, rgba(255, 214, 140, .75) 0, rgba(255, 183, 77, .5) 70px, rgba(255, 183, 77, .2) 190px, rgba(255, 183, 77, 0) 380px), linear-gradient(120deg, #1d2b3a 0%, #2c4159 60%, #3b566f 100%); }
.site-footer.sf .social-row { display: flex; gap: 5px; margin: 20px 0 0 20px; }
.site-footer.sf .soc-btn { width: 40px; height: 40px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }
.site-footer.sf .soc-yt { background: #cd201f; }
.site-footer.sf .soc-ig { background: #262626; }
.sf-signup { height: 46px; padding: 0 26px; border: 0; border-radius: 23px; background: var(--gold); color: #1d1d1d; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .78px; cursor: pointer; }
.sf-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; color: #e2e8f0; }
.sf-consent a, .sf-legal a { color: var(--gold); }

/* ----- page components ----- */
.pg-main { width: min(1361px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 72px; }
.pg-head { padding: 14px 0 18px; }
.pg-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.pg-crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pg-crumbs a:hover { color: var(--gold); }
.pg-crumbs .ic-right { transform: rotate(-90deg); width: 12px; height: 12px; }
.pg-h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.pg-h2 { margin: 10px 0 24px; font-size: 30px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; }
.pg-h2.sm { font-size: 22px; margin: 0 0 20px; }
.pg-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.pg-eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold); box-sizing: border-box; }
.pg-intro { max-width: 900px; margin: 8px 0 28px; line-height: 1.6; color: light-dark(#475569, #cbd5e1); }
.pg-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 30px; box-shadow: 0 12px 34px rgba(10, 30, 60, .08); }
.pg-card-sm { padding: 24px; border-radius: 18px; }
.pg-card h2, .pg-card h3 { margin-top: 0; }
.pg-card-sm h3 { font-size: 18px; margin: 14px 0 8px; }
.pg-card-sm p { margin: 0; color: var(--muted); line-height: 1.55; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 12px; border: 0; background: var(--gold); color: #1d1d1d; font: inherit; font-size: 14.5px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.pg-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 183, 77, .3); }
.pg-btn-dark { background: light-dark(#e8edf3, #1e293b); color: var(--text); border: 1px solid var(--border); }
.pg-btn-wa { background: #22c55e; color: #fff; }
.pg-section { margin-top: 64px; }
.pg-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pg-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #1d1d1d; font-weight: 800; font-size: 14px; flex: none; }
.pg-note { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.pg-cta { margin-top: 72px; padding: 56px 32px; border-radius: 22px; text-align: center; background: radial-gradient(circle at 100% 0%, rgba(255, 183, 77, .28), transparent 50%), linear-gradient(120deg, #1d2b3a, #2c4159); color: #fff; }
.pg-cta h2 { margin: 0 0 8px; font-size: 32px; }
.pg-cta p { margin: 0 0 22px; color: #e2e8f0; }
.pg-cta small { display: block; margin-top: 18px; color: #cbd5e1; }
.pg-cta .ab-btns { justify-content: center; }
/* forms */
.pg-form { display: grid; gap: 16px; }
.pg-field { display: grid; gap: 7px; min-width: 0; }
.pg-field > span { font-size: 12px; font-weight: 700; color: light-dark(#475569, #cbd5e1); text-transform: uppercase; letter-spacing: .02em; }
.pg-field input, .pg-field select, .pg-field textarea { width: 100%; min-width: 0; box-sizing: border-box; height: 48px; padding: 0 13px; font: inherit; font-size: 14.5px; color: var(--text); background: light-dark(#fff, #0f172a); border: 1px solid light-dark(#cbd5e1, #334155); border-radius: 13px; }
.pg-field textarea { height: auto; padding: 12px 13px; resize: vertical; }
.pg-field input:focus, .pg-field select:focus, .pg-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.pg-field input[type="date"] { cursor: pointer; }
.pg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-three { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.pg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.pg-consent a, .pg-legal a { color: var(--gold); }
.pg-legal { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); max-height: 5.4em; overflow: auto; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.pg-msg { min-height: 1.2em; font-weight: 600; font-size: 14px; }
/* About */
.ab-hero { position: relative; padding: 70px 0 30px; }
.ab-ghost { position: absolute; left: 0; top: 18px; font-size: 80px; font-weight: 800; color: light-dark(rgba(15, 23, 42, .05), rgba(255, 255, 255, .04)); pointer-events: none; }
.ab-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding: 0 24px; }
.ab-pill { display: inline-block; padding: 5px 12px; border-radius: 6px; background: rgba(255, 183, 77, .18); color: var(--gold); border: 1px solid rgba(255, 183, 77, .5); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.ab-h1 { margin: 16px 0 18px; font-size: 40px; font-weight: 700; letter-spacing: -.6px; line-height: 1.2; }
.ab-hero p { color: light-dark(#475569, #cbd5e1); line-height: 1.65; margin: 0 0 14px; max-width: 560px; }
.ab-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ab-btns .pg-btn { border-radius: 999px; }
.ab-visit { text-align: center; padding: 40px 30px; }
.ab-visit h2 { font-size: 22px; margin: 18px 0 14px; }
.ab-visit p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }
.ab-visit-ic,
.ab-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: light-dark(#fff3e0, rgba(255, 183, 77, .12)); color: var(--gold); }
.ab-visit-ic .ic,
.ab-ic .ic { width: 24px; height: 24px; }
.ab-lic { display: inline-block; padding: 6px 14px; border-radius: 8px; border: 1px solid rgba(255, 183, 77, .6); background: rgba(255, 183, 77, .1); color: var(--gold); font-size: 12px; font-weight: 700; }
.ab-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.ab-fact { display: flex; gap: 14px; align-items: center; padding: 26px; }
.ab-fact + .ab-fact { border-left: 1px solid var(--border); }
.ab-fact strong { display: block; font-size: 16px; }
.ab-fact small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
/* Viewing trip — warm Costa Blanca heritage design */
.vt-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.vt-form {
  padding: 32px;
  background: light-dark(#ffffff, var(--surface));
  border: 1px solid light-dark(#f3e3c9, var(--border));
  border-top: 4px solid #ffb74d;
  box-shadow: light-dark(0 16px 42px rgba(180, 120, 30, 0.10), 0 16px 40px rgba(0, 0, 0, 0.35));
}
.vt-form .pg-field input, .vt-form .pg-field textarea {
  border: 1.5px solid light-dark(#e5e7eb, #334155);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.vt-form .pg-field input:focus, .vt-form .pg-field textarea:focus {
  outline: none; border-color: #ffb74d;
  box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.22);
}
.vt-form .pg-btn { border-radius: 999px; height: 48px; font-weight: 800; box-shadow: 0 8px 20px rgba(255, 183, 77, 0.35); }
.vt-title { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.vt-lead { margin: 0 0 4px; color: var(--muted); line-height: 1.55; }
.vt-how {
  background: linear-gradient(180deg, light-dark(#fff8ee, rgba(255, 183, 77, 0.12)) 0%, light-dark(#ffffff, var(--surface)) 100%);
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.3));
  box-shadow: light-dark(0 14px 36px rgba(180, 120, 30, 0.08), 0 14px 36px rgba(0, 0, 0, 0.3));
}
.vt-how h2 { font-size: 20px; font-weight: 800; margin: 0 0 22px; }
.vt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.vt-steps li { display: flex; gap: 14px; align-items: flex-start; }
.vt-steps .pg-num {
  width: 34px; height: 34px; border-radius: 11px;
  background: #1d2b3a; color: #ffb74d; font-size: 15px; font-weight: 800;
  box-shadow: 0 5px 14px rgba(29, 43, 58, 0.2);
}
.vt-steps strong { display: block; margin-bottom: 4px; font-size: 15.5px; }
.vt-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.vt-free {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 24px 0 0; padding: 8px 14px; border-radius: 999px;
  background: light-dark(#ecfdf5, rgba(16, 185, 129, 0.14));
  border: 1px solid light-dark(#a7f3d0, rgba(16, 185, 129, 0.3));
  color: light-dark(#047857, #6ee7b7); font-size: 13.5px; font-weight: 700;
}
.vt-free .ic { color: inherit; }
/* Viewing trip custom InmoLets calendar picker (matches listing page .vcal + .imd-pop) */
.vt-date { position: relative; }
.vt-date-btn {
  width: 100%; height: 48px; padding: 0 13px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font: inherit; font-size: 14.5px; font-weight: 500; text-align: left;
  color: var(--muted);
  background: light-dark(#fff, #0f172a);
  border: 1.5px solid light-dark(#e5e7eb, #334155);
  border-radius: 13px; cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.vt-date-btn:hover { border-color: light-dark(#cbd5e1, #475569); }
.vt-date-btn.has { color: var(--text); font-weight: 600; background: light-dark(#fffaf2, rgba(255, 183, 77, 0.08)); border-color: light-dark(#ffe2b8, rgba(255, 183, 77, 0.42)); }
.vt-date-btn[aria-expanded="true"],
.vt-date-btn:focus-visible { outline: none; border-color: #ffb74d; box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.22); }
.vt-date-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-date-ic { width: 18px; height: 18px; flex: none; color: #e08a00; }
.vt-cal-pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  width: 296px; max-width: calc(100vw - 40px);
  padding: 12px 13px 11px;
  border-radius: 16px;
  border: 1.5px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.34));
  background: light-dark(#fffaf2, #121c2e);
  box-shadow: light-dark(0 18px 42px rgba(10, 20, 40, 0.18), 0 18px 44px rgba(0, 0, 0, 0.55));
}
.vt-date-depart .vt-cal-pop { left: auto; right: 0; }
.vt-cal-pop[hidden] { display: none; }
.vt-cal-pop .vc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; text-transform: capitalize; font-size: 14px; color: var(--text); }
.vt-cal-pop .vc-nav {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid light-dark(#e5d3b3, rgba(255, 255, 255, 0.22));
  background: light-dark(#fff, rgba(255, 255, 255, 0.06));
  color: var(--text); font-size: 18px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.vt-cal-pop .vc-nav:hover:not(:disabled) { border-color: #ffb74d; background: light-dark(#fff0d4, rgba(255, 183, 77, 0.18)); }
.vt-cal-pop .vc-nav:disabled { opacity: 0.3; cursor: default; }
.vt-cal-pop .vc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.vt-cal-pop .vc-dow { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted); padding: 2px 0 4px; }
.vt-cal-pop .vc-day {
  height: 32px; border: 1px solid transparent; border-radius: 9px;
  background: transparent; color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.vt-cal-pop .vc-day:hover:not(:disabled) { background: light-dark(#fff0d4, rgba(255, 183, 77, 0.2)); border-color: #ffb74d; }
.vt-cal-pop .vc-day.in-range { background: light-dark(#fff0d4, rgba(255, 183, 77, 0.18)); color: light-dark(#8a5a00, #ffd28a); }
.vt-cal-pop .vc-day.on { background: #ffb74d; color: #1d1d1d; font-weight: 800; border-color: #e08a00; }
.vt-cal-pop .vc-day.other-edge { background: light-dark(#1d2b3a, rgba(255, 183, 77, 0.35)); color: #fff; font-weight: 800; border-color: light-dark(#1d2b3a, #ffb74d); }
.vt-cal-pop .vc-day:disabled { opacity: 0.28; cursor: default; }
.vt-cal-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid light-dark(#f1e2c8, rgba(255, 255, 255, 0.12)); font-size: 12px; color: var(--muted); }
.vt-cal-clear { font: inherit; font-size: 12px; font-weight: 700; border: 0; background: none; color: light-dark(#8a5a00, #ffd28a); cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.vt-cal-clear:hover { background: light-dark(#fff0d4, rgba(255, 183, 77, 0.16)); }
@media (max-width: 720px) { .vt-date-depart .vt-cal-pop { left: 0; right: auto; } }
/* Costs — warm Costa Blanca palette (cream, amber gold, deep navy) */
.cs-grid { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
.cs-calc {
  background: light-dark(#ffffff, var(--surface));
  border: 1px solid light-dark(#f3e3c9, var(--border));
  border-top: 4px solid #ffb74d;
  box-shadow: light-dark(0 16px 42px rgba(180, 120, 30, 0.10), 0 16px 40px rgba(0, 0, 0, 0.35));
}
.cs-title { margin: 0 0 24px; font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.cs-cols { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.cs-inputs { display: grid; gap: 18px; align-content: start; }
.cs-seg {
  display: grid; grid-template-columns: 1fr 1fr;
  background: light-dark(#fff6ea, #0f172a);
  border: 1.5px solid light-dark(#ffe2b8, #334155);
  border-radius: 999px; padding: 4px;
}
.cs-seg button { height: 40px; border: 0; border-radius: 999px; background: transparent; color: light-dark(#5a4320, #cbd5e1); font: inherit; font-weight: 700; cursor: pointer; transition: background 0.15s, color 0.15s, box-shadow 0.15s; }
.cs-seg button.active { background: #ffb74d; color: #1d1d1d; box-shadow: 0 4px 12px rgba(255, 183, 77, 0.35); }
.cs-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid light-dark(#f1ece4, var(--border)); }
.cs-rows > div:last-child { border-bottom: 0; }
.cs-rows strong { font-weight: 800; color: var(--text); }
.cs-total {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 20px; padding: 18px 22px; border-radius: 16px;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.12));
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.32));
}
.cs-total small { display: block; color: light-dark(#6b5332, #cbd5e1); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.cs-total strong { font-size: 14px; color: light-dark(#b26a00, #ffb74d); font-weight: 800; }
.cs-total b { font-size: 28px; color: light-dark(#1d2b3a, #fff); }
.cs-grand {
  margin-top: 12px;
  background: linear-gradient(135deg, #1d2b3a 0%, #2c4159 100%);
  border: 0;
  box-shadow: 0 12px 28px rgba(29, 43, 58, 0.22);
}
.cs-grand small { color: rgba(255, 255, 255, 0.8); }
.cs-grand b { color: #ffb74d; font-size: 30px; }
.cs-note { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.cs-side { display: grid; gap: 20px; }
.cs-side > section:first-child {
  background: linear-gradient(180deg, light-dark(#fff8ee, rgba(255, 183, 77, 0.12)) 0%, light-dark(#ffffff, var(--surface)) 100%);
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.3));
}
.cs-side > section:last-child {
  background: light-dark(#ffffff, var(--surface));
  border: 1px solid light-dark(#f3e3c9, var(--border));
}
.cs-side h2 { font-size: 20px; font-weight: 800; margin: 0 0 10px; }
.cs-side p { color: var(--muted); line-height: 1.55; }
.cs-checks { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 11px; }
.cs-checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.cs-checks .ic { color: #e08a00; margin-top: 3px; flex: none; }
.cs-langs b {
  display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 999px;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.16));
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.35));
  font-size: 12px; font-weight: 800; color: light-dark(#8a5a00, #ffd28a);
}
.cs-contact { display: grid; grid-template-columns: 1.3fr 0.9fr 0.95fr; gap: 8px; margin-top: 16px; }
.cs-contact .pg-btn { padding: 0 10px; min-height: 42px; font-size: 13.5px; gap: 6px; white-space: nowrap; border-radius: 12px; }
.cs-contact .pg-btn-wa { background: #25d366; color: #fff; }
.cs-contact a[href^="tel:"] { background: #ffb74d; color: #1d1d1d; border-color: #ffb74d; }
.cs-contact a[href^="mailto:"] { background: #1d2b3a; color: #fff; border-color: #1d2b3a; }
@media (max-width: 960px) {
  .pg-main { width: calc(100% - 32px); }
  .ab-hero-grid,
.vt-grid,
.cs-grid,
.cs-cols,
.pg-two,
.pg-three { grid-template-columns: 1fr; }
  .pg-grid4, .ab-facts { grid-template-columns: 1fr 1fr; }
  .ab-fact + .ab-fact { border-left: 0; }
  .ab-h1 { font-size: 30px; } .ab-hero-grid { padding: 0; } .ab-ghost { font-size: 52px; }
}
@media (max-width: 560px) { .pg-grid4, .ab-facts { grid-template-columns: 1fr; } }

[hidden] { display: none !important; }

/* Enquire Now dialog */
.enq-dialog { width: min(500px, 94vw); }
.enq-form { padding: 6px 22px 22px; }
.enq-form .pg-field input, .enq-form .pg-field textarea { height: 44px; }
.enq-form .pg-field textarea { height: auto; min-height: 92px; }

/* legal pages */
.legal-text { max-width: 900px; line-height: 1.7; color: light-dark(#334155, #cbd5e1); }
.legal-text h2 { font-size: 20px; margin: 28px 0 10px; color: var(--text); }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { font-size: 17px; margin: 22px 0 8px; color: var(--text); }
.legal-text a { color: var(--gold); }
.legal-text ul, .legal-text ol { padding-left: 22px; }
.legal-text hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }

/* ===== Listings page (collapsible half-map on toggle + search card + quick areas + results grid) ===== */
.ls-map { display: none; }
body.route-listings #view-home > :not(.hero):not([data-section-id="properties"]) { display: none; }
body.route-listings .hero { min-height: 0 !important; height: auto !important; padding: 26px 0 8px; align-items: flex-end; transition: padding 0.25s ease; background: transparent !important; }
body.route-listings .hero .hero-img, body.route-listings .hero .hero-img-day, body.route-listings .hero .hero-img-night, body.route-listings .hero .hero-scrim, body.route-listings .hero .hero-title { display: none !important; }
body.route-listings .search-card {
  background: light-dark(#ffffff, #132035);
  border: 1.5px solid light-dark(#e4d2b4, rgba(255, 183, 77, 0.36));
  border-top: 3px solid #ffb74d;
  box-shadow: light-dark(0 16px 40px rgba(15, 23, 42, 0.11), 0 18px 44px rgba(0, 0, 0, 0.5));
}
body.route-listings .stab {
  background: light-dark(#ffffff, #132035);
  color: light-dark(#1d2b3a, #e2e8f0);
  border: 1.5px solid light-dark(#cbd5e1, rgba(255, 255, 255, 0.22));
  box-shadow: light-dark(0 4px 12px rgba(15, 23, 42, 0.06), none);
}
body.route-listings .stab.active {
  background: #ffb74d; color: #1d1d1d; border-color: #ffb74d;
}
body.route-listings .sfield input,
body.route-listings .sfield select,
body.route-listings .sfield .imd-btn {
  border: 1.5px solid light-dark(#cfd7e3, rgba(255, 255, 255, 0.22));
  background: light-dark(#f8fafc, #0f172a);
}
body.route-listings .sfield input:focus,
body.route-listings .sfield select:focus,
body.route-listings .sfield .imd-btn:focus-visible {
  border-color: #ffb74d; background: light-dark(#ffffff, #0f172a);
}
body.route-listings.ls-map-open .hero { min-height: 440px !important; padding: 240px 0 18px; }
body.route-listings.ls-map-open .ls-map { display: block; position: absolute; inset: 0; z-index: 0; border-bottom: 1px solid var(--border); }
.ls-float-fullmap {
  position: absolute; top: 16px; left: 24px; z-index: 6;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1d2b3a; color: #ffffff; font: inherit; font-size: 13px; font-weight: 800;
  box-shadow: 0 10px 26px rgba(10, 30, 60, 0.28); cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.ls-float-fullmap:hover { background: #2c4159; transform: translateY(-1px); }
.ls-float-fullmap .ic { color: #ffb74d; width: 16px; height: 16px; }
.ls-float-fullmap em { font-style: normal; padding: 2px 9px; border-radius: 999px; background: #ffb74d; color: #1d1d1d; font-size: 11.5px; font-weight: 800; }
body.route-listings .hero-content { z-index: 5; pointer-events: none; }
body.route-listings .hero-content .search-shell { pointer-events: auto; }
body.route-listings .site-header { position: relative; background: transparent; box-shadow: none; border-bottom: 0; }
body.route-listings .section-block[data-section-id="properties"] .section-head { display: none; }
.ls-head { padding: 18px 0 10px; }
.ls-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ls-top-acts { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ls-map-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 800;
  background: light-dark(#ffffff, var(--surface-2));
  color: light-dark(#1d2b3a, #f1f5f9);
  border: 1.5px solid light-dark(#cbd5e1, rgba(255, 255, 255, 0.22));
  box-shadow: 0 4px 12px rgba(10, 30, 60, 0.06);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ls-map-toggle .ic { color: #e08a00; width: 16px; height: 16px; }
.ls-map-toggle:hover { border-color: #ffb74d; background: light-dark(#fffaf0, rgba(255, 183, 77, 0.12)); }
.ls-map-toggle.on { background: #1d2b3a; color: #ffffff; border-color: #1d2b3a; }
.ls-map-toggle.on .ic { color: #ffb74d; }
.ls-fullmap-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 800;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.14));
  color: light-dark(#8a5a00, #ffd28a);
  border: 1.5px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.35));
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ls-fullmap-link:hover { background: #ffb74d; color: #1d1d1d; border-color: #ffb74d; }
.ls-areas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.ls-area {
  height: 36px; padding: 0 15px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700;
  background: light-dark(#ffffff, var(--surface-2));
  color: light-dark(#1d2b3a, #e2e8f0);
  border: 1px solid light-dark(#e2e8f0, rgba(255, 255, 255, 0.14));
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ls-area:hover { border-color: #ffb74d; background: light-dark(#fffaf0, rgba(255, 183, 77, 0.12)); }
.ls-area.active { background: light-dark(#1d2b3a, #ffb74d); color: light-dark(#ffffff, #1d1d1d); border-color: light-dark(#1d2b3a, #ffb74d); }
.ls-meta { margin-top: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.ls-meta strong { font-size: 16px; }
.ls-sort { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.ls-sort select { font: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }
.ls-pager { display: flex; gap: 8px; justify-content: center; margin: 36px 0 8px; flex-wrap: wrap; }
.ls-pg { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.ls-pg:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.ls-pg.active { background: var(--gold); border-color: var(--gold); color: #1d2b3a; }
.ls-pg:disabled { opacity: .4; cursor: default; }

/* ===== Cookie / consent banner (inmolets.com "Manage Consent") ===== */
.cc-banner { position: fixed; right: 16px; bottom: 16px; z-index: 99999; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 18px 20px 14px; border-radius: 12px; background: light-dark(#ffffff, #162032); color: var(--text); border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); font-size: 13px; line-height: 1.5; }
.cc-title { font-size: 15px; font-weight: 600; text-align: center; margin-bottom: 10px; }
.cc-text { margin: 0 0 14px; color: light-dark(#475569, #cbd5e1); font-size: 12.5px; }
.cc-btns { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; }
.cc-btns-2 { grid-template-columns: 1.4fr 1fr; margin-top: 12px; }
.cc-btn { height: 40px; padding: 0 10px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; background: light-dark(#eef2f6, #1e293b); color: var(--text); border: 1px solid var(--border); }
.cc-btn:hover { border-color: var(--gold); }
.cc-accept { background: var(--gold); color: #1d1d1d; border-color: var(--gold); }
.cc-link { display: block; text-align: center; margin-top: 12px; font-size: 12px; color: var(--gold); text-decoration: underline; }
.cc-cats { display: grid; gap: 10px; }
.cc-cat { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: light-dark(#f7f8f9, #0f172a); }
.cc-cat p { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.cc-cat-head em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--gold); }
.cc-switch { position: relative; width: 40px; height: 22px; flex: none; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cc-switch i { position: absolute; inset: 0; border-radius: 999px; background: light-dark(#cbd5e1, #334155); transition: background .15s; }
.cc-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cc-switch input:checked + i { background: var(--gold); }
.cc-switch input:checked + i::after { transform: translateX(18px); }
.cc-switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 520px) { .cc-banner { right: 8px; left: 8px; bottom: 8px; width: auto; } .cc-btns { grid-template-columns: 1fr 1fr; } .cc-prefs { grid-column: 1 / -1; } }
@media print { .cc-banner { display: none; } }

/* Favourites page: only the saved-homes block */
body.route-favorites #view-home > :not([data-section-id="properties"]) { display: none; }
body.route-favorites .site-header { position: relative; background: transparent; box-shadow: none; border-bottom: 0; }
body.route-favorites .section-block[data-section-id="properties"] { padding-top: 24px; min-height: 50vh; }

/* Keep Leaflet's internal layers (z-index 400+) from stacking above the header and its dropdowns */
.leaflet-container { isolation: isolate; z-index: 0; }
.site-header { z-index: 1200; position: relative; }
.site-header { position: sticky; }
body.static-header .site-header, body.route-listings .site-header, body.route-favorites .site-header { position: relative; z-index: 1200; }
.ms-filters { z-index: 1100; }
.imd-pop { z-index: 1300; }
.nav-drop-menu, .lang-dd .lang-menu { z-index: 1300; }
.ms-mapbox, .lp-mapbox, .ct2-mapwrap { isolation: isolate; }

/* Home: single featured carousel like inmolets.com — arrows sit at the heading's right, no row title */
.carousels .carousel { position: relative; }
.carousels .carousel-head { position: absolute; top: -64px; right: 0; margin: 0; }
.carousels .carousel-title, .carousels .carousel-all { display: none; }

/* ===== CONTACT PAGE — warm Costa Blanca heritage design ===== */
.pg-contact .pg-main { padding-bottom: 0; }
.ct2-cards, .ct2-main, .ct2-steps, .ct2-faq { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.ct2-hero {
  position: relative;
  max-width: 1280px; margin: 0 auto; padding: 48px 24px 32px;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.ct2-hero > * { position: relative; z-index: 1; }
.ct2-kicker {
  margin: 0 0 20px; padding: 0; border: 0; background: none; border-radius: 0;
  font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--text);
}
.ct2-h1 { margin: 0 0 16px; font-size: clamp(2.1rem, 4.2vw, 3rem); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; max-width: 15em; color: var(--text); }
.ct2-h1 span { display: block; color: #e08a00; }
.ct2-lead { margin: 0 0 26px; color: light-dark(#475569, #cbd5e1); font-size: 1.06rem; line-height: 1.6; max-width: 44em; }
.ct2-feats { display: flex; gap: 20px; flex-wrap: wrap; }
.ct2-feat {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 18px; border-radius: 16px;
  background: light-dark(#ffffff, rgba(255, 255, 255, 0.05));
  border: 1px solid light-dark(#f1e6d3, var(--border));
  box-shadow: light-dark(0 6px 18px rgba(10, 30, 60, 0.05), none);
}
.ct2-feat .ic { width: 24px; height: 24px; color: #e08a00; flex: none; }
.ct2-feat strong { display: block; font-size: .95rem; font-weight: 800; color: var(--text); }
.ct2-feat small { color: var(--muted); font-size: .84rem; }

.ct2-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-bottom: 36px; }
.ct2-card {
  background: light-dark(#ffffff, var(--surface));
  border: 1px solid light-dark(#eef0f2, var(--border));
  border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: light-dark(0 10px 26px rgba(10, 30, 60, 0.06), none);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.ct2-card:hover {
  transform: translateY(-4px);
  border-color: light-dark(#ffe2b8, rgba(255, 183, 77, 0.45));
  box-shadow: light-dark(0 18px 38px rgba(180, 120, 30, 0.12), 0 18px 38px rgba(0, 0, 0, 0.35));
}
.ct2-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.14));
  color: #e08a00; margin-bottom: 6px;
  box-shadow: light-dark(0 4px 12px rgba(224, 138, 0, 0.14), none);
}
.ct2-tile .ic { width: 22px; height: 22px; }
.ct2-card h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--text); }
.ct2-card p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.ct2-card p a { color: light-dark(#1d2b3a, #ffd28a); font-weight: 700; text-decoration: none; }
.ct2-card p a:hover { color: #e08a00; text-decoration: underline; }
.ct2-card p a[href*="wa.me"] { color: light-dark(#128c4b, #4ade80); }

.ct2-main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 26px; padding-bottom: 52px; align-items: stretch; }
.ct2-form {
  background: light-dark(#ffffff, var(--surface));
  border: 1px solid light-dark(#f3e3c9, var(--border));
  border-top: 4px solid #ffb74d;
  border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 15px;
  box-shadow: light-dark(0 16px 42px rgba(180, 120, 30, 0.10), 0 16px 40px rgba(0, 0, 0, 0.35));
}
.ct2-h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; color: var(--text); }
.ct2-sub { margin: -6px 0 4px; color: var(--muted); font-size: .96rem; }
.ct2-topic > span { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: light-dark(#8a5a00, #ffd28a); margin-bottom: 8px; }
.ct2-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ct2-chip {
  font: inherit; font-size: .88rem; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid light-dark(#e5e7eb, var(--border));
  background: light-dark(#ffffff, transparent); color: var(--text); cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ct2-chip:hover { border-color: #ffb74d; background: light-dark(#fff6ea, rgba(255, 183, 77, 0.14)); }
.ct2-chip.on { background: #1d2b3a; border-color: #1d2b3a; color: #ffb74d; box-shadow: 0 4px 12px rgba(29, 43, 58, 0.22); }
.ct2-in {
  font: inherit; font-size: .95rem; width: 100%; box-sizing: border-box;
  background: light-dark(#fff, #0f172a); color: var(--text);
  border: 1.5px solid light-dark(#e5e7eb, #334155); border-radius: 13px; padding: 13px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ct2-in:focus { outline: none; border-color: #ffb74d; box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.22); }
.ct2-ta { resize: vertical; min-height: 120px; }
.ct2-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct2-submit {
  font: inherit; font-weight: 800; font-size: 1rem; border: 0; border-radius: 999px;
  height: 50px; padding: 0 28px; background: #ffb74d; color: #1d1d1d; cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 183, 77, 0.35);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.ct2-submit:hover { background: #ffa726; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 167, 38, 0.42); }

.ct2-mapwrap {
  position: relative; min-height: 480px; border-radius: 22px; overflow: hidden;
  border: 1px solid light-dark(#f1e3ca, var(--border)); isolation: isolate;
  box-shadow: light-dark(0 16px 42px rgba(10, 30, 60, 0.10), 0 16px 40px rgba(0, 0, 0, 0.35));
}
.ct2-map { position: absolute; inset: 0; }
.ct2-maptabs {
  position: absolute; left: 16px; top: 16px; z-index: 500;
  display: flex; background: light-dark(rgba(255, 255, 255, 0.94), rgba(15, 23, 42, 0.92));
  border: 1px solid light-dark(#eef0f2, var(--border)); border-radius: 999px; padding: 3px;
  box-shadow: 0 6px 18px rgba(10, 30, 60, 0.16);
}
.ct2-maptabs button { font: inherit; font-size: .82rem; font-weight: 700; border: 0; background: transparent; color: var(--muted); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.ct2-maptabs .active { background: #ffb74d; color: #1d1d1d; }
.ct2-mapcard {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 500;
  background: light-dark(rgba(255, 255, 255, 0.96), rgba(15, 23, 42, 0.94));
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.35));
  border-left: 4px solid #ffb74d;
  border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; font-size: .9rem;
  box-shadow: 0 12px 30px rgba(10, 30, 60, 0.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ct2-mapcard b { font-size: 1rem; color: var(--text); }
.ct2-mapcard span { color: var(--muted); }
.ct2-mapcard .ct2-gold {
  align-self: flex-start; margin-top: 6px; padding: 6px 14px; border-radius: 999px;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.16));
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.35));
  color: light-dark(#8a5a00, #ffd28a); font-size: .85rem; font-weight: 800; text-decoration: none;
  transition: background 0.15s;
}
.ct2-mapcard .ct2-gold:hover { background: #ffb74d; color: #1d1d1d; border-color: #ffb74d; }
.ct2-gold { color: #e08a00; font-weight: 800; text-decoration: none; }

.ct2-steps { padding-top: 12px; padding-bottom: 52px; }
.ct2-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.ct2-steps .ct2-card {
  background: light-dark(linear-gradient(180deg, #fffaf2 0%, #ffffff 55%), var(--surface));
  border-color: light-dark(#f1e3ca, var(--border));
}
.ct2-steps .ct2-tile {
  background: #1d2b3a; color: #ffb74d;
  box-shadow: 0 6px 16px rgba(29, 43, 58, 0.22);
}
.ct2-note {
  display: inline-block; margin: 22px 0 0; padding: 8px 16px; border-radius: 999px;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.14));
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.32));
  color: light-dark(#8a5a00, #ffd28a); font-size: .86rem; font-weight: 700;
}

.ct2-faq { padding-bottom: 56px; }
.ct2-center { text-align: center; display: block; }
.pg-eyebrow.ct2-center { display: flex; justify-content: center; }
.ct2-faqlist { max-width: 880px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 12px; }
.ct2-faqlist details {
  background: light-dark(#ffffff, var(--surface));
  border: 1px solid light-dark(#eef0f2, var(--border));
  border-radius: 16px;
  box-shadow: light-dark(0 8px 22px rgba(10, 30, 60, 0.05), none);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ct2-faqlist details[open] {
  border-color: light-dark(#ffe2b8, rgba(255, 183, 77, 0.45));
  box-shadow: light-dark(0 12px 28px rgba(180, 120, 30, 0.10), none);
}
.ct2-faqlist summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--text); }
.ct2-faqlist summary::-webkit-details-marker { display: none; }
.ct2-faqlist summary::after {
  content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.16));
  color: #e08a00; font-size: 1.2rem; font-weight: 800; line-height: 1;
}
.ct2-faqlist details[open] summary::after { content: '–'; background: #ffb74d; color: #1d1d1d; }
.ct2-faqlist details > div { padding: 0 22px 20px; color: var(--muted); line-height: 1.65; }

.ct2-cta {
  position: relative; overflow: hidden;
  max-width: 1232px; margin: 0 auto 60px; padding: 56px 36px; border-radius: 26px; text-align: center;
  background: linear-gradient(120deg, #1d2b3a 0%, #2c4159 60%, #3b566f 100%);
  box-shadow: 0 20px 50px rgba(10, 30, 60, 0.22);
  color: #fff; width: calc(100% - 48px);
}
.ct2-cta::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 320px; height: 320px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 183, 77, 0.52), rgba(255, 183, 77, 0) 70%);
}
.ct2-cta > * { position: relative; z-index: 1; }
.ct2-cta h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.ct2-cta p { margin: 0 auto 24px; max-width: 42em; color: rgba(255, 255, 255, .86); line-height: 1.6; }
.ct2-ctabtn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px;
  background: #ffb74d; color: #1d1d1d; border-radius: 999px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 183, 77, 0.35);
  transition: background 0.15s, transform 0.15s;
}
.ct2-ctabtn:hover { background: #ffa726; transform: translateY(-1px); }
@media (max-width: 980px) { .ct2-hero { padding: 36px 24px 24px; } .ct2-kicker { font-size: 32px; } .ct2-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ct2-main { grid-template-columns: minmax(0, 1fr); } .ct2-mapwrap { min-height: 380px; } .ct2-grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ct2-hero { padding: 28px 16px 20px; } .ct2-cards { grid-template-columns: minmax(0, 1fr); } .ct2-row2 { grid-template-columns: 1fr; } .ct2-cards, .ct2-main, .ct2-steps, .ct2-faq { padding-inline: 16px; } .ct2-form { padding: 24px 20px; } .ct2-cta { width: calc(100% - 32px); padding: 40px 20px; } }

/* Listings: meta row with save-search and layout toggle */
.ls-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ls-meta .ls-sort { margin-left: auto; }
.ls-save { white-space: nowrap; }
.ls-view { display: inline-flex; gap: 4px; }
.ls-view button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.ls-view button.on { background: var(--surface-2); color: var(--gold); border-color: var(--gold); }
.cards-grid.as-list { grid-template-columns: minmax(0, 1fr); }
.cards-grid.as-list .prop-card { display: grid; grid-template-columns: 320px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: stretch; }
.cards-grid.as-list .prop-media { height: 100%; min-height: 200px; }
.cards-grid.as-list .prop-media img { height: 100%; object-fit: cover; }
.cards-grid.as-list .prop-foot-3 { flex-direction: column; justify-content: center; padding: 16px; min-width: 150px; }
@media (max-width: 800px) { .cards-grid.as-list .prop-card { grid-template-columns: minmax(0, 1fr); } .ls-meta .ls-sort { margin-left: 0; } }

/* Map search drawing: hint bar, markers do not steal clicks while drawing */
.ms-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 700; max-width: calc(100% - 32px); background: var(--surface-2); color: var(--text); border: 1px solid var(--gold); border-radius: 999px; padding: 8px 16px; font-size: .86rem; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); text-align: center; }
.ms-map.is-drawing .leaflet-marker-pane, .ms-map.is-drawing .leaflet-popup-pane { pointer-events: none; }
.ms-map.is-drawing { cursor: crosshair; }
#msFinish:disabled { opacity: .5; cursor: not-allowed; }

/* ===== REDESIGN 2026-11: header, first-screen search, cards, cookie bar ===== */
.site-header { background: light-dark(rgba(255, 255, 255, 0.92), rgba(15, 23, 42, 0.9)); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }

/* Search is visible on the first screen of a phone */
@media (max-width: 767px) {
  .hero { min-height: 0; padding: 92px 0 12px; align-items: flex-start; }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.2rem); line-height: 1.12; margin-bottom: 34px; letter-spacing: -0.5px; }
  .search-shell { margin-bottom: 0; }
  .search-grid > .sfield-price:nth-child(2), .search-grid > .sfield-ref, .search-grid > .sfield-map { display: none; }
  .type-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .type-chips::-webkit-scrollbar { display: none; }
  .tchip, .ims-more { flex: none; }
  .hero-content { min-width: 0; }
}

/* Property cards: price first, one clear facts row */
.prop-card { border-radius: 16px; position: relative; }
.carousels > .carousel { min-width: 0; }
.prop-body { gap: 4px; }
.prop-price { font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.15; }
.prop-title { font-size: 1.02rem; }
.prop-loc { font-size: 0.88rem; }
.prop-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.92rem; }
.prop-stats span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.prop-stats .ic { width: 20px; height: 20px; color: var(--muted); }
.prop-stats b { font-weight: 800; color: var(--text); }
.prop-stats .ps-plot { color: var(--muted); }
.prop-stats .ps-ref { margin-left: auto; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; color: var(--muted); text-transform: uppercase; }
.prop-media { background: light-dark(#e6ebf1, #1b2636); }

/* Cookie notice: a slim bar, not a box over the page */
.cc-bar { left: 16px; right: 16px; bottom: 16px; margin: 0 auto; width: min(920px, calc(100vw - 32px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding: 14px 18px; border-radius: 16px; }
.cc-bar .cc-text { margin: 0; font-size: 13px; line-height: 1.45; }
.cc-bar .cc-link { display: inline; margin: 0; font-size: 13px; }
.cc-bar .cc-btns { display: flex; gap: 8px; }
.cc-bar .cc-btn { height: 40px; padding: 0 16px; white-space: nowrap; }
.cc-bar .cc-accept { background: #ffb74d; border-color: #ffb74d; color: #1d1d1d; }
@media (max-width: 640px) {
  .cc-bar { grid-template-columns: minmax(0, 1fr); left: 8px; right: 8px; bottom: 8px; width: auto; padding: 12px; gap: 10px; }
  .cc-bar .cc-text { font-size: 12.5px; }
  .cc-bar .cc-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .cc-bar .cc-prefs { grid-column: 1 / -1; }
}

/* ===== MAP SEARCH: chips, preview card, approximate pins, phone gestures ===== */
.ms-map.is-drawing { touch-action: none; user-select: none; -webkit-user-select: none; }
.ms-map.is-drawing .leaflet-tile-pane { pointer-events: none; }
.ms-map.is-drawing img { -webkit-user-drag: none; user-drag: none; }
.ms-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 12px; }
.ms-chip { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; background: light-dark(#fff3dd, rgba(255, 183, 77, 0.16)); border: 1px solid rgba(255, 183, 77, 0.55); color: var(--text); }
.ms-chip .ic { width: 12px; height: 12px; }
.ms-chip:hover { border-color: #e69500; }
.ms-chip-clear { font: inherit; font-size: 13px; font-weight: 700; background: none; border: 0; color: #b8620a; cursor: pointer; text-decoration: underline; padding: 6px 4px; }
.ms-follow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ms-follow input { width: 16px; height: 16px; accent-color: #ffb74d; }
.mm-price.mm-approx { border-style: dashed; }
.ms-gesture { position: absolute; inset: 0; z-index: 1200; display: grid; place-items: center; background: rgba(15, 23, 42, 0.55); color: #fff; font-weight: 700; font-size: 16px; text-align: center; padding: 20px; pointer-events: none; }
/* preview card (popup on a pin) */
.ms-pop .leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; overflow: hidden; background: var(--surface-2); color: var(--text); box-shadow: 0 18px 44px rgba(10, 20, 40, 0.35); }
.ms-pop .leaflet-popup-content { margin: 0; width: 280px !important; }
.ms-pop .leaflet-popup-tip { background: var(--surface-2); }
.ms-pop a.leaflet-popup-close-button { top: 8px; right: 8px; width: 26px; height: 26px; line-height: 24px; font-size: 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: #1d2b3a; text-align: center; padding: 0; z-index: 3; }
.mpc { display: block; color: inherit; text-decoration: none; }
.mpc-img { display: block; position: relative; height: 150px; background: #1e293b center / cover no-repeat; }
.mpc-tag { position: absolute; left: 10px; top: 10px; background: #ffb74d; color: #1d1d1d; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.mpc-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.mpc-body small { color: var(--muted); font-size: 12px; font-weight: 600; }
.mpc-body b { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.mpc-body b i { font-size: 0.75rem; font-weight: 500; font-style: normal; color: var(--muted); }
.mpc-t { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.mpc-loc { color: var(--muted); font-size: 0.85rem; }
.mpc-specs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); font-size: 0.88rem; font-weight: 600; }
.mpc-specs span { display: inline-flex; align-items: center; gap: 5px; }
.mpc-specs .ic { width: 17px; height: 17px; color: var(--muted); }
@media (max-width: 640px) { .ms-pop .leaflet-popup-content { width: 250px !important; } .mpc-img { height: 120px; } }
.site-footer.sf .social-row { margin: 14px 0 0; }
.sf-signup { height: 42px; }
.pbtn-wa .ic, .enq-wa .ic, .lp-sb-wa .ic, .pg-btn-wa .ic { fill: currentColor; stroke: none; width: 18px; height: 18px; }

/* ===== status strip: sold / rented / under offer / reserved ===== */
.st-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: linear-gradient(0deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.5)); color: #fff; font-weight: 800; font-size: 13px; }
.st-strip b { padding: 3px 10px; border-radius: 6px; letter-spacing: 0.12em; font-weight: 800; background: var(--sold-ribbon, #b92b37); }
.st-strip a { color: #ffe0b0; font-weight: 700; text-decoration: none; white-space: nowrap; }
.st-strip a:hover { text-decoration: underline; }
.st-rented b { background: #0e7c86; }
.st-under-offer b { background: #b8620a; }
.st-reserved b { background: #1d2b3a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.st-big { padding: 18px 24px; font-size: 16px; border-radius: 0 0 14px 14px; z-index: 5; }
.st-big b { font-size: 17px; padding: 5px 16px; }
@media (max-width: 640px) { .st-big { padding: 12px 14px; font-size: 13px; flex-wrap: wrap; } .st-big b { font-size: 14px; } }
.prop-media:has(.st-strip) .prop-card-actions { bottom: 58px; }
.prop-price.is-gone { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.lp-mosaic:has(.st-strip) .lp-more { bottom: 70px; }
@media (max-width: 640px) { .lp-mosaic:has(.st-strip) .lp-more { bottom: 64px; } }

/* ===== small things: focus, calm shadows, currency, toast ===== */
:focus-visible { outline: 3px solid #ffb74d; outline-offset: 2px; border-radius: 6px; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #ffb74d; outline-offset: 2px; }
:root { --shadow: light-dark(0 8px 26px rgba(10, 30, 60, 0.08), 0 14px 38px rgba(0, 0, 0, 0.4)); --radius: 16px; }
.prop-card { box-shadow: light-dark(0 1px 3px rgba(10, 30, 60, 0.08), none); }
.cur-approx { display: block; font-size: 0.62em; font-weight: 600; color: var(--muted); letter-spacing: 0; text-decoration: none; margin-top: 2px; }
.prop-price .cur-approx, .mcard-price .cur-approx { font-size: 0.55em; }
.inm-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 99998; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 999px; background: #1d2b3a; color: #fff; font-size: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); max-width: calc(100vw - 24px); }
.inm-toast a { color: #ffb74d; font-weight: 800; text-decoration: none; white-space: nowrap; }
.inm-toast button { border: 0; background: transparent; color: #cbd5e1; font-size: 20px; cursor: pointer; line-height: 1; }
@media (max-width: 860px) { .inm-toast { border-radius: 18px; flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.nchip { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 7px; background: light-dark(#f4f6f8, rgba(255, 255, 255, 0.07)); color: light-dark(#475569, #cbd5e1); border: 1px solid light-dark(rgba(15, 23, 42, 0.06), rgba(255, 255, 255, 0.08)); white-space: nowrap; }
.ppsqm { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pflag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; color: #fff; }
.pflag-new { background: #1f8a54; } .pflag-drop { background: #b92b37; }
.prop-badge-tl { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; } .prop-badge-tl .pflag { margin-left: 0; }
.mcard-flags { position: absolute; left: 8px; top: 8px; z-index: 2; display: flex; gap: 4px; } .mcard-flags .pflag { margin: 0; }
.mcard-media { position: relative; }
.lp-act.on { background: #1d2b3a; color: #fff; }
.lp-near { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-near .lp-np {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px 5px 6px; border-radius: 999px;
  font-size: 13px; line-height: 1.2;
  background: light-dark(#ffffff, rgba(255, 255, 255, 0.06));
  border: 1px solid light-dark(#ece4d8, rgba(255, 255, 255, 0.14));
  box-shadow: light-dark(0 4px 12px rgba(10, 30, 60, 0.05), none);
  color: light-dark(#475569, #cbd5e1);
}
.lp-near .lp-np i {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.lp-near .lp-np i svg { width: 14px; height: 14px; }
.lp-near .lp-np em { font-style: normal; font-weight: 600; }
.lp-near .lp-np b { font-weight: 800; color: light-dark(#1d2b3a, #ffffff); }
.lp-near .lp-np-beach i { background: light-dark(#e0f2fe, rgba(14, 165, 233, 0.22)); color: light-dark(#0284c7, #7dd3fc); }
.lp-near .lp-np-airport i { background: light-dark(#e0e7ff, rgba(99, 102, 241, 0.22)); color: light-dark(#4338ca, #a5b4fc); }
.lp-near .lp-np-golf i { background: light-dark(#dcfce7, rgba(34, 197, 94, 0.22)); color: light-dark(#15803d, #86efac); }
.lp-near .lp-np-shops i { background: light-dark(#fef3c7, rgba(245, 158, 11, 0.22)); color: light-dark(#b45309, #fcd34d); }
/* tray */
.inm-tray { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9000; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; border-radius: 999px; background: #1d2b3a; color: #fff; box-shadow: 0 14px 40px rgba(10, 20, 40, 0.45); font-size: 14px; max-width: calc(100vw - 20px); }
.inm-tray .th { display: inline-flex; } .inm-tray .th i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #1d2b3a; background: #334155 center / cover; margin-left: -8px; } .inm-tray .th i:first-child { margin-left: 0; }
.inm-tray .tr-t { white-space: nowrap; }
.inm-tray button { font: inherit; font-size: 13px; font-weight: 800; border-radius: 999px; padding: 8px 14px; cursor: pointer; border: 0; }
.inm-tray .tr-go { background: #ffb74d; color: #3a2400; }
.inm-tray .tr-x { background: transparent; color: #cbd5e1; font-size: 20px; padding: 4px 10px; line-height: 1; }
@media (max-width: 640px) { .inm-tray { bottom: 10px; gap: 8px; padding: 6px 8px 6px 12px; font-size: 12.5px; } .inm-tray .th { display: none; } .inm-tray button { padding: 7px 11px; } }
/* dialogs (compare, plan, alert) */
.inm-dlg { border: 0; padding: 0; border-radius: 18px; background: var(--surface-2); color: var(--text); width: min(880px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.inm-dlg-sm { width: min(480px, calc(100vw - 24px)); }
.inm-dlg::backdrop { background: rgba(10, 18, 36, 0.6); }
.dlg-in { padding: 20px 22px 22px; max-height: calc(100vh - 32px); overflow: auto; }
.dlg-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .dlg-h h3 { margin: 0; font-size: 20px; }
.dlg-x { border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; }
.dlg-note { color: var(--muted); font-size: 13px; margin: 10px 0; } .dlg-act { margin-top: 14px; }
.cmp-scroll { overflow-x: auto; } .cmp-t { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.cmp-t th, .cmp-t td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cmp-t thead th { vertical-align: top; min-width: 170px; } .cmp-t thead th small { display: block; color: var(--muted); font-weight: 500; margin-top: 3px; }
.cmp-t thead a { color: inherit; text-decoration: none; display: block; } .cmp-img { display: block; height: 90px; border-radius: 10px; background: #334155 center / cover; margin-bottom: 8px; }
.cmp-t tbody th { font-weight: 700; color: var(--muted); width: 150px; } .cmp-t td.best { background: light-dark(#e6f6ee, rgba(76, 197, 138, 0.16)); font-weight: 800; color: light-dark(#0e6b4a, #8fe0b8); }
.cmp-rm { margin-top: 6px; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 12px; padding: 0; }
.plan-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.plan-tl { border: 1px solid var(--border); border-radius: 14px; padding: 8px 12px; margin-bottom: 8px; }
.pt-stop { display: grid; grid-template-columns: 52px 56px 1fr 28px; gap: 10px; align-items: center; padding: 6px 0; } .pt-stop > b { font-size: 15px; }
.pt-img { width: 56px; height: 42px; border-radius: 8px; background: #334155 center / cover; } .pt-stop a { color: inherit; font-weight: 700; text-decoration: none; } .pt-stop small { display: block; color: var(--muted); font-size: 12px; }
.pt-rm { border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; }
.pt-drive { margin: 0 0 0 62px; font-size: 12px; font-weight: 800; color: #0e6b4a; padding: 2px 0 2px 12px; border-left: 2px dashed #0e6b4a; }
.plan-sum { color: var(--muted); font-size: 13px; margin: 6px 0 14px; }
/* map page: extra filters */
.ms-extra { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.ms-dist { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.ms-sl { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); font-size: 13px; font-weight: 700; }
.ms-sl.is-on { border-color: rgba(255, 183, 77, 0.8); background: light-dark(#fffaf0, rgba(255, 183, 77, 0.12)); }
.ms-sl input[type=range] { width: 96px; accent-color: #ffb74d; } .ms-sl output { min-width: 56px; color: var(--muted); font-weight: 600; }
.ms-feats { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-feat { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px; cursor: pointer; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.ms-feat.on { background: #1d2b3a; color: #fff; border-color: #1d2b3a; }
.ms-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ms-panel .ms-acts { padding: 10px 14px; border-bottom: 1px solid var(--border); background: light-dark(#fffaf2, rgba(255, 183, 77, 0.06)); }
.ms-panel .ms-act { font-size: 12.5px; padding: 6px 12px; }
.ms-act { font: inherit; font-size: 13px; font-weight: 800; padding: 8px 15px; border-radius: 999px; cursor: pointer; background: var(--surface-2); color: var(--text); border: 1.5px solid light-dark(#c3ccd8, rgba(255, 255, 255, 0.3)); }
.ms-act.on { background: #fff3dd; border-color: #f0cf94; color: #3a2400; } .ms-act-gold { background: #ffb74d; border-color: #ffb74d; color: #3a2400; }
.ms-popwrap { position: relative; }
.ms-budget { position: absolute; z-index: 1300; top: calc(100% + 8px); left: 0; width: 310px; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.ms-budget-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; } .ms-budget-row input { flex: 1; font: inherit; font-weight: 700; padding: 9px 10px; border-radius: 9px; border: 1.5px solid light-dark(#c3ccd8, rgba(255, 255, 255, 0.3)); background: transparent; color: inherit; }
.ms-budget-hint { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; } .ms-budget-btns { display: flex; gap: 8px; }
.ms-layers { position: absolute; top: 12px; right: 62px; z-index: 1200; }
.ms-layers-menu { position: absolute; right: 0; top: calc(100% + 6px); width: 230px; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; box-shadow: var(--shadow); }
.ms-layers-menu label { display: flex; gap: 8px; align-items: center; cursor: pointer; } .ms-layers-menu small { color: var(--muted); font-size: 11px; }
/* place markers */
.poi { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 800; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.poi-beach { background: #0e7c86; } .poi-golf { background: #2f8f4f; } .poi-airport { background: #1d2b3a; } .poi-shops { background: #d97706; } .poi-schools { background: #6d4ec5; } .poi-hospitals { background: #c0392b; }
.poi-cl { width: 28px; height: 28px; font-size: 11px; }
.poi-sold { width: auto; height: auto; border-radius: 6px; padding: 2px 7px; background: #64748b; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.mm-price.mm-h1 { background: #d8f0e2; } .mm-price.mm-h2 { background: #eaf5d0; } .mm-price.mm-h3 { background: #fff1c2; } .mm-price.mm-h4 { background: #ffd9a8; } .mm-price.mm-h5 { background: #ffb8ad; } .mm-price.mm-h0 { background: #e5e7eb; }
.mm-price[class*="mm-h"] { color: #1b2430; }
.ms-grab { display: none; }
@media (max-width: 860px) {
  .ms-layers { right: 54px; }
  .ms-layout { position: relative; }
  .ms-layout .ms-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; max-height: 70vh; height: 70vh; border-radius: 20px 20px 0 0; transform: translateY(calc(100% - 96px)); transition: transform 0.25s ease; box-shadow: 0 -14px 40px rgba(10, 20, 40, 0.3); background: var(--surface-2); overflow: hidden; display: flex; flex-direction: column; }
  .ms-layout .ms-panel.open { transform: translateY(0); }
  .ms-layout .ms-panel .ms-list { overflow: auto; flex: 1; }
  .ms-grab { display: block; width: 100%; border: 0; background: transparent; padding: 10px 0 4px; cursor: pointer; } .ms-grab span { display: block; width: 44px; height: 5px; border-radius: 5px; background: #c3ccd8; margin: 0 auto; }
  .ms-dist { gap: 6px; } .ms-sl input[type=range] { width: 76px; }
  .ms-budget { position: fixed; left: 12px; right: 12px; width: auto; top: auto; bottom: 110px; }
  .ms-wrap { padding-bottom: 110px; }
}

/* ===== fixes round: ref pill (old inmolets.com #FFF6EA / #ffe2b8 / #8a5a00), flags, map-only back button ===== */
.prop-stats .ps-ref {
  margin-left: auto;
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.3;
  color: light-dark(#8a5a00, #ffd28a);
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.14));
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.35));
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.prop-card-actions .mini-act .ic { width: 21px; height: 21px; stroke-width: 2.2; }
.img-cmp { position: absolute; left: 12px; bottom: 12px; z-index: 5; font: inherit; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; cursor: pointer; border: 0; background: rgba(15, 23, 42, 0.74); color: #fff; backdrop-filter: blur(4px); }
.img-cmp:hover { background: rgba(15, 23, 42, 0.92); }
.img-cmp.on { background: #ffb74d; color: #3a2400; }
.mpc-wrap { position: relative; }
.mpc-wrap .img-cmp { top: 112px; bottom: auto; left: 10px; }
.prop-media:has(.st-strip) .img-cmp { display: none; }
.flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14); vertical-align: middle; }
.lang-opt { display: inline-flex; align-items: center; gap: 10px; }
.lang-opt small { color: var(--muted); font-weight: 600; }
.lang-cur .flag { margin-right: 1px; }
.ms-showlist { position: absolute; left: 12px; bottom: 30px; z-index: 1250; font: inherit; font-size: 14px; font-weight: 800; padding: 10px 18px; border-radius: 999px; cursor: pointer; border: 0; background: #ffb74d; color: #3a2400; box-shadow: 0 8px 24px rgba(10, 20, 40, 0.35); }
.ms-showlist[hidden] { display: none; }

/* list view: three tidy columns (photo | details | contact buttons) */
.cards-grid.as-list .prop-card { grid-template-columns: 300px minmax(0, 1fr) 190px; align-items: stretch; }
.cards-grid.as-list .prop-media { aspect-ratio: auto; height: 100%; min-height: 210px; }
.cards-grid.as-list .prop-body { padding: 16px 22px; justify-content: center; }
.cards-grid.as-list .prop-foot-3 { display: flex; flex-direction: column; justify-content: center; gap: 8px; margin-top: 0; padding: 16px; border-top: 0; border-left: 1px solid var(--border); min-width: 0; }
.cards-grid.as-list .pbtn { width: 100%; justify-content: center; }
@media (max-width: 1060px) {
  .cards-grid.as-list .prop-card { grid-template-columns: 240px minmax(0, 1fr); }
  .cards-grid.as-list .prop-foot-3 { grid-column: 1 / -1; flex-direction: row; border-left: 0; border-top: 1px solid var(--border); }
  .cards-grid.as-list .pbtn { flex: 1; }
}
@media (max-width: 800px) {
  .cards-grid.as-list .prop-card { grid-template-columns: minmax(0, 1fr); }
  .cards-grid.as-list .prop-media { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
}

/* About: warm heritage design inherited from original inmolets.com site.css (inm-facts, inm-how-sec, inm-band) */
.ab-hero { padding: 42px 0 36px; }
.ab-ghost { position: static; margin: 0 0 24px; padding: 0; font-size: 40px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); pointer-events: auto; }
.ab-hero-grid { padding: 0; }
.ab-pill { padding: 0; border: 0; background: none; border-radius: 0; font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #e08a00; }
.ab-h1 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.16; margin: 12px 0 18px; }
.ab-btns .pg-btn { border-radius: 999px; padding: 0 24px; height: 46px; font-weight: 800; }
.ab-btns .pg-btn:not(.pg-btn-dark) { box-shadow: 0 8px 20px rgba(255, 183, 77, 0.35); }
.ab-btns .pg-btn-dark { background: #1d2b3a; color: #fff; border-color: #1d2b3a; }
.ab-btns .pg-btn-dark:hover { background: #2c4159; }
.ab-visit {
  background: linear-gradient(155deg, light-dark(#fff6ea, rgba(255, 183, 77, 0.14)) 0%, light-dark(#ffffff, var(--surface)) 72%);
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.3));
  border-top: 4px solid #ffb74d;
  box-shadow: light-dark(0 18px 44px rgba(180, 120, 30, 0.12), 0 18px 44px rgba(0, 0, 0, 0.35));
}
.ab-visit-ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: light-dark(#ffffff, rgba(255, 255, 255, 0.08));
  color: #e08a00;
  box-shadow: light-dark(0 6px 18px rgba(224, 138, 0, 0.18), none);
}
.ab-lic {
  border-radius: 999px; padding: 6px 14px;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.16));
  border: 1px solid light-dark(#ffe2b8, rgba(255, 183, 77, 0.38));
  color: light-dark(#8a5a00, #ffd28a); font-weight: 700;
}
.ab-facts {
  background: light-dark(linear-gradient(135deg, #fff6ea, #ffffff 62%), var(--surface));
  border: 1px solid light-dark(#f1e6d3, var(--border));
  border-radius: 22px;
  box-shadow: light-dark(0 12px 30px rgba(10, 30, 60, 0.06), none);
}
.ab-fact { padding: 26px 24px; }
.ab-fact + .ab-fact { border-left: 1px solid light-dark(#f1e6d3, var(--border)); }
.ab-fact strong { font-size: 17px; font-weight: 800; color: var(--text); }
.ab-fact .ab-ic {
  background: light-dark(#ffffff, rgba(255, 255, 255, 0.08));
  color: #e08a00;
  box-shadow: light-dark(0 4px 12px rgba(224, 138, 0, 0.16), none);
  width: 46px; height: 46px; border-radius: 14px; flex: none;
}
.pg-about .pg-card-sm {
  background: light-dark(#ffffff, var(--surface));
  border: 1px solid light-dark(#eef0f2, var(--border));
  border-radius: 20px; padding: 26px;
  box-shadow: light-dark(0 10px 26px rgba(10, 30, 60, 0.05), none);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.pg-about .pg-card-sm:hover {
  transform: translateY(-4px);
  border-color: light-dark(#ffe2b8, rgba(255, 183, 77, 0.45));
  box-shadow: light-dark(0 18px 38px rgba(10, 30, 60, 0.10), 0 18px 38px rgba(0, 0, 0, 0.35));
}
.pg-about .pg-card-sm .ab-ic {
  width: 48px; height: 48px; border-radius: 14px;
  background: light-dark(#fff6ea, rgba(255, 183, 77, 0.14));
  color: #e08a00;
}
.pg-about .pg-num {
  width: 38px; height: 38px; border-radius: 12px;
  background: #1d2b3a; color: #ffb74d;
  font-size: 16px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(29, 43, 58, 0.22);
}
.pg-cta {
  position: relative; overflow: hidden;
  padding: 54px 48px 46px; border-radius: 26px;
  background: linear-gradient(120deg, #1d2b3a 0%, #2c4159 60%, #3b566f 100%);
  box-shadow: 0 20px 50px rgba(10, 30, 60, 0.22);
}
.pg-cta::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 320px; height: 320px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 183, 77, 0.52), rgba(255, 183, 77, 0) 70%);
}
.pg-cta > * { position: relative; z-index: 1; }
.pg-cta .pg-btn-dark { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.pg-cta .pg-btn-dark:hover { background: rgba(255, 255, 255, 0.22); }
@media (max-width: 860px) { .ab-ghost { font-size: 30px; margin-bottom: 18px; } .ab-h1 { font-size: 28px; } .pg-cta { padding: 36px 24px 32px; } }

/* tiles are buttons: make them use the site font like the rest of the page */
.life-card, .bento-card { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
.life-card strong, .life-card span, .bento-card * { font-family: inherit; }

/* ===== footer: option A (four columns, dark) ===== */
.sf2 { padding: 0; }
.sf2-cols { width: min(1361px, calc(100% - 64px)); margin: 0 auto; padding: 44px 0 26px; display: grid; grid-template-columns: 1.25fr 0.8fr 0.9fr 1.5fr; gap: 36px; align-items: start; }
.sf2-logo { display: block; line-height: 0; } .sf2-logo img { width: 190px; height: auto; }
.sf2-brand p { margin: 12px 0 14px; color: #cbd5e1; font-size: 14px; max-width: 32ch; line-height: 1.55; }
.sf2 .social-row { display: flex; gap: 6px; margin: 0; }
.sf2 h5 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #ffb74d; font-weight: 800; }
.sf2 ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sf2 ul a, .sf2-office a { color: #e2e8f0; text-decoration: none; font-size: 14.5px; } .sf2 ul a:hover, .sf2-office a:hover { color: #ffb74d; }
.sf2-news .news-row { display: flex; gap: 8px; }
.sf2-news .news-row input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(15, 23, 42, 0.55); color: #fff; font: inherit; font-size: 14px; }
.sf2-news .news-row input::placeholder { color: #94a3b8; }
.sf2 .sf-signup { height: 42px; padding: 0 20px; }
.sf2 .sf-consent { margin-top: 10px; font-size: 12px; }
.sf2-more { margin-top: 6px; font-size: 12px; color: #cbd5e1; } .sf2-more summary { cursor: pointer; font-weight: 700; color: #cbd5e1; }
.sf2-more .sf-legal { margin: 6px 0 0; max-height: none; font-size: 11.5px; }
.sf2-office { font-style: normal; margin-top: 20px; color: #cbd5e1; font-size: 14px; line-height: 1.6; }
.sf2-bar { width: min(1361px, calc(100% - 64px)); margin: 0 auto; padding: 16px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: #cbd5e1; }
.sf2-badges { display: inline-flex; align-items: center; gap: 10px; } .sf2-badges img { height: 44px; width: auto; border-radius: 6px; background: #fff; object-fit: contain; }
.sf2-bar .footer-legal { display: flex; gap: 18px; flex-wrap: wrap; } .sf2-bar .footer-legal a { color: #e2e8f0; text-decoration: none; } .sf2-bar .footer-legal a:hover { color: #ffb74d; }
@media (max-width: 960px) { .sf2-cols { grid-template-columns: 1fr 1fr; width: calc(100% - 40px); gap: 28px; } .sf2-side { grid-column: 1 / -1; } .sf2-bar { width: calc(100% - 40px); } }
@media (max-width: 560px) { .sf2-cols { grid-template-columns: 1fr; padding-top: 32px; } .sf2-bar { flex-direction: column; align-items: flex-start; } }

/* Header is fully transparent where it sits on top of the page (no frosted band); it only gets a solid background once the page is scrolled */
body.is-home .site-header:not(.scrolled),
body.static-header .site-header,
body.route-listings .site-header,
body.route-favorites .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }

/* ===== PHONE MENU: slide-in panel (same look as the old inmolets.com) ===== */
.mm-backdrop { position: fixed; inset: 0; z-index: 100000; background: rgba(10, 20, 40, 0.5); opacity: 0; transition: opacity .25s; }
.mm-backdrop.mm-show { opacity: 1; }
.mm-backdrop[hidden] { display: none; }
.mm-panel {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 100001; width: min(86vw, 360px);
  display: flex; flex-direction: column; font-family: inherit;
  background: light-dark(#ffffff, #0f172a); color: light-dark(#1d2b3a, #f1f5f9);
  border-radius: 0 26px 26px 0; box-shadow: 20px 0 60px rgba(10, 30, 60, 0.25);
  transform: translateX(-105%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s;
}
.mm-panel.mm-show { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
html.mm-lock, html.mm-lock body { overflow: hidden; }
.mm-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 12px 22px; }
.mm-brand { display: block; line-height: 0; }
.mm-brand img { width: 150px; height: auto; }
.mm-close { width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; background: light-dark(#f3f4f6, #1e293b); color: light-dark(#1d2b3a, #f1f5f9); }
.mm-close svg { width: 18px; height: 18px; }
.mm-body { flex: 1 1 auto; overflow: auto; padding: 10px 14px; }
.mm-nav, .mm-subs { list-style: none; margin: 0; padding: 0; }
.mm-nav { display: flex; flex-direction: column; gap: 4px; }
.mm-nav > li { position: relative; }
.mm-link { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: inherit; text-decoration: none; padding: 15px 16px; border-radius: 14px; }
.mm-link:active { background: light-dark(#f3f4f6, #1e293b); }
.mm-nav > li.mm-current > .mm-link { background: light-dark(#fff6ea, rgba(255, 183, 77, 0.15)); color: light-dark(#1d2b3a, #ffb74d); }
.mm-nav > li.mm-current > .mm-link::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffb74d; flex: 0 0 8px; }
.mm-trig { position: absolute; right: 8px; top: 8px; width: 38px; height: 38px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; background: light-dark(#f3f4f6, #1e293b); display: grid; place-items: center; transition: transform .2s, background .2s; }
.mm-trig::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid light-dark(#1d2b3a, #f1f5f9); border-bottom: 2px solid light-dark(#1d2b3a, #f1f5f9); transform: rotate(45deg); }
.mm-open > .mm-trig { transform: rotate(180deg); background: #ffb74d; }
.mm-open > .mm-trig::after { border-color: #1d1d1d; }
.mm-subs { display: none; margin: 2px 0 8px 22px; padding-left: 12px; border-left: 2px solid light-dark(#ffe2b3, rgba(255, 183, 77, 0.35)); }
.mm-open > .mm-subs { display: block; }
.mm-sub { display: block; font-size: 16px; font-weight: 600; color: light-dark(#4b5563, #cbd5e1); text-decoration: none; padding: 11px 12px; border-radius: 10px; }
.mm-sub:active { background: light-dark(#fff6ea, rgba(255, 183, 77, 0.15)); }
.mm-foot { flex: 0 0 auto; padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid light-dark(#eef0f2, rgba(255, 255, 255, 0.1)); }
.mm-quick { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 14px; }
.mm-quick a { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 11px 14px; border-radius: 14px; background: light-dark(#f7f8f9, #1e293b); color: inherit; font-size: 14.5px; font-weight: 700; text-decoration: none; }
.mm-quick a svg { width: 20px; height: 20px; flex: 0 0 20px; color: #ffb74d; }
.mm-cta { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: light-dark(linear-gradient(135deg, #fff6ea, #fff), linear-gradient(135deg, rgba(255, 183, 77, 0.16), rgba(30, 41, 59, 0.6))); }
.mm-cta-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mm-cta-t b { font-size: 15px; font-weight: 800; line-height: 1.2; }
.mm-cta-t small { font-size: 11px; line-height: 1.3; margin-top: 2px; color: light-dark(#6b7280, #94a3b8); }
.mm-b { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(10, 30, 60, 0.14); text-decoration: none; }
.mm-b svg { width: 20px; height: 20px; }
.mm-wa { background: #25d366; color: #fff; } .mm-call { background: #ffb74d; color: #1d1d1d; } .mm-mail { background: #1d2b3a; color: #fff; }
@media (min-width: 861px) { .mm-panel, .mm-backdrop { display: none !important; } }

/* Listings page on a phone: with the map open, show the map as its own block above the search box instead of under it */
@media (max-width: 767px) {
  body.route-listings.ls-map-open .hero { display: flex; flex-direction: column; min-height: 0 !important; padding: 0 0 12px !important; align-items: stretch; }
  body.route-listings.ls-map-open .ls-map { display: block; position: relative; inset: auto; order: -1; width: 100%; height: 320px; flex: 0 0 320px; margin-bottom: 14px; }
  body.route-listings.ls-map-open .hero-content { position: relative; order: 1; }
}

/* Phones: closed drop-down lists must not widen the page (they made the map page scroll sideways and pushed the bottom bar off screen) */
@media (max-width: 767px) {
  .imd:not(.open) .imd-pop { display: none; }
}

/* Phone drawing mode: the map fills the screen, only Cancel / Finish and the hint are shown */
html.ms-fs-lock, html.ms-fs-lock body { overflow: hidden; }
.ms-mapbox.ms-fs { position: fixed !important; inset: 0; z-index: 3000; width: 100% !important; height: 100dvh !important; max-height: none !important; border-radius: 0 !important; border: 0 !important; }
.ms-mapbox.ms-fs .ms-tools { top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); left: 12px; right: 12px; flex-direction: row; justify-content: center; align-items: center; gap: 10px; }
.ms-mapbox.ms-fs .ms-tool[data-tool] { display: none; }
.ms-mapbox.ms-fs .ms-tool { padding: 12px 20px; font-size: 15px; }
.ms-mapbox.ms-fs .ms-hint { bottom: calc(84px + env(safe-area-inset-bottom)); }
.ms-mapbox.ms-fs .ms-style { top: calc(12px + env(safe-area-inset-top)); }

/* ===== PHONE SEARCH: slim bar that opens a full-screen sheet (same idea as the old inmolets.com) ===== */
.ims-mbar, .ims-mhead, .ims-mfoot { display: none; }
html.ims-lock, html.ims-lock body { overflow: hidden !important; }
@media (max-width: 767px) {
  .search-shell > .ims-mbar { display: flex; align-items: center; gap: 12px; width: 100%; border-radius: 999px; padding: 10px 20px 10px 10px; text-align: left; cursor: pointer; font: inherit;
    color: light-dark(#1d2b3a, #f1f5f9); background: light-dark(rgba(255, 255, 255, 0.84), rgba(22, 32, 50, 0.84));
    -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
    border: 1px solid light-dark(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.16)); box-shadow: 0 14px 40px rgba(10, 30, 60, 0.22); }
  .ims-mbar-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #ffb74d; color: #1d1d1d; display: flex; align-items: center; justify-content: center; }
  .ims-mbar-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .ims-mbar-t b { font-size: 15.5px; }
  .ims-mbar-t small { font-size: 12.5px; color: light-dark(#6b7280, #94a3b8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .search-shell:not(.open) > .search-tabs, .search-shell:not(.open) > .search-card { display: none; }

  .search-shell.open { position: fixed; inset: 0; z-index: 100003; margin: 0; padding: 0 18px 110px; overflow-y: auto; background: light-dark(#ffffff, #0f172a); }
  .search-shell.open > .ims-mbar { display: none; }
  .search-shell.open > .ims-mhead { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 3; padding: 16px 0 12px; font-size: 17px; background: light-dark(#ffffff, #0f172a); }
  .ims-mhead .ims-x { width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; background: light-dark(#f3f4f6, #1e293b); color: light-dark(#1d2b3a, #f1f5f9); }
  .search-shell.open > .ims-mfoot { display: block; position: fixed; left: 0; right: 0; bottom: 0; height: calc(84px + env(safe-area-inset-bottom)); z-index: 4; background: light-dark(#ffffff, #0f172a); box-shadow: 0 -8px 24px rgba(10, 30, 60, 0.12); pointer-events: none; }
  .search-shell.open > .search-tabs { position: static; display: flex; margin: 4px 0 18px; box-shadow: none; background: light-dark(#f3f4f6, #1e293b); justify-content: stretch; }
  .search-shell.open > .search-tabs .stab { flex: 1; }
  .search-shell.open > .search-card { display: block; background: none; border: 0; box-shadow: none; padding: 0; margin: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .search-shell.open .search-grid { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .search-shell.open .search-grid > .sfield-price:nth-child(2), .search-shell.open .search-grid > .sfield-ref, .search-shell.open .search-grid > .sfield-map { display: flex; }
  .search-shell.open .search-grid > .sfield-map .ims-map-box { height: 72px; }
  .search-shell.open #heroShowBtn { position: fixed; left: 18px; right: 18px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 5; width: auto; }
  .search-shell.open .type-chips { flex-wrap: wrap; overflow: visible; }
  .search-shell.open .ims-extra[hidden] { display: block; }
  .search-shell.open .ims-more { display: none; }
}
@media (max-width: 767px) {
  .search-shell.open .search-grid > .sfield { flex: 0 0 auto; width: 100%; }
  .search-shell.open .search-grid > .sfield-map { flex: 0 0 auto; }
  html.ims-lock .site-header, html.ims-lock .cc-bar { visibility: hidden; }
}

/* Phones: the grid / list switch is hidden and the cards always use the single-column layout */
@media (max-width: 767px) {
  .ls-view { display: none !important; }
}
