*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  /* Unified modern minimal font stack applied globally */
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

:root {
  --blue: #06489c;
  --gold: #ca9f39;
  --black: #000000;
  --white: #ffffff;
  --g100: #f5f5f5;
  --g200: #e8e8e8;
  --g400: #aaa;
  --g600: #666;
  --g800: #2a2a2a;
  --t: .22s cubic-bezier(.4, 0, .2, 1);
  --nav-bg-dark: rgba(10, 10, 10, 0.3);
  --nav-border-dark: rgba(255, 255, 255, 0.08);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1); 
  --t-duration: 0.5s;
  --pure-white: #ffffff;
  --pure-black: #111111;
  --gray-dark: #aaaaaa;
  --gray-muted: #666666;
  --gray-border: #e8e8e8;
}

/* Base Navbar Layout */
/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: background var(--t-duration) var(--ease-premium),
              box-shadow var(--t-duration) var(--ease-premium);
}

.nav-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav.solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

/* ── LOGO ────────────────────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--t);
  font-family: 'Montserrat', sans-serif;
}

.nav-logo:hover { opacity: .8; }

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-logo p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  transition: color var(--t-duration);
}

.nav.solid .nav-logo p { color: var(--blue); }

.p-color { color: #ca9f39; }

/* ── LINKS ───────────────────────────────────────────────── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .2px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  transition: color .3s ease;
  white-space: nowrap;
}

.nav.solid .nav-links a { color: var(--g600); }

.nav-index {
  font-size: 9px;
  opacity: .45;
  transition: opacity .3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-premium);
}

.nav-links a:hover { color: #fff; }
.nav.solid .nav-links a:hover { color: var(--black); }
.nav-links a:hover .nav-index { opacity: .8; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── CTA ─────────────────────────────────────────────────── */
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .8px;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  flex-shrink: 0;
  transition: color .4s var(--ease-premium), border-color .4s var(--ease-premium);
}

.nav.solid .nav-cta { color: var(--blue); border-color: var(--blue); }

.nav-cta svg {
  width: 9px; height: 9px;
  transition: transform .4s var(--ease-premium);
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 100px;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s var(--ease-premium);
}

.nav.solid .nav-cta::before { background: var(--blue); }

.nav-cta:hover { color: var(--blue); border-color: transparent; }
.nav.solid .nav-cta:hover { color: #fff; }
.nav-cta:hover::before { transform: scaleY(1); transform-origin: top; }
.nav-cta:hover svg { transform: translate(2px,-2px); }

/* ── HAMBURGER ───────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  flex-shrink: 0;
}

.nav-toggle .line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .4s var(--ease-premium), opacity .3s, background .3s;
}

.nav.solid .nav-toggle .line { background: var(--black); }

.nav-toggle.is-active .line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.is-active .line:nth-child(2) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .nav-container { padding: 0 24px; height: 64px; }
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(340px, 100vw);
    height: 100vh;
    background: #0b0f19;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 36px 48px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .5s var(--ease-premium),
                box-shadow .5s var(--ease-premium);
    box-shadow: none;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 1050;
  }

  .nav-menu.is-active {
    transform: translateX(0);
    box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }

  .nav-menu.is-active::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: -1;
    right: min(340px, 100vw);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-bottom: 40px;
  }

  .nav-links a {
    font-size: 22px;
    font-weight: 300;
    color: rgba(255,255,255,.75);
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    letter-spacing: -.3px;
    transition: color .3s, padding-left .3s;
  }

  .nav-links a:hover,
  .nav-links a:active { color: #fff; padding-left: 6px; }
  .nav-links a::after { display: none; }
  .nav-index { font-size: 10px; opacity: .3; }

  .nav-actions { width: 100%; }

  .nav-cta {
    color: #fff;
    border-color: rgba(255,255,255,.25);
    padding: 14px 28px;
    font-size: 13px;
    width: 100%;
    justify-content: center;
  }

  .nav-cta::before { background: var(--blue); }
  .nav-cta:hover { color: #fff; border-color: transparent; }
}

/* HERO */
/* ── HERO SLIDESHOW ─────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1),
              transform 6s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.35) 50%,
    rgba(0,0,0,.72) 100%
  );
}

.hero-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,.15);
  z-index: 3;
}

.hero-progress-bar {
  height: 100%;
  background: rgba(255,255,255,.7);
  width: 0%;
  transition: width linear;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.4);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 56px 72px;
  gap: 32px;
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.18;
  color: #fff;
  max-width: 560px;
  animation: fadeUp .9s .1s both;
}

.hero-aside {
  flex-shrink: 0;
  text-align: right;
  animation: fadeUp .9s .3s both;
}

.hero-aside-head {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 6px;
}

.hero-aside p {
  font-size: 20px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}

/* ── SEARCH ─────────────────────────────────────────────── */
.search-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 56px;
  position: relative;
  z-index: 1;
  background: transparent;
}

.search-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.03), 0 24px 60px -12px rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 28px 36px;
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
}

.sg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 0 24px;
}

.sg-search { flex: 1.4; }

.sg-divider {
  width: 1px;
  height: 44px;
  background: var(--g200);
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 2px;
}

.sg-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--g400);
}

.sg input,
.sg select {
  border: none;
  border-bottom: 2px solid var(--g200);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  background: transparent;
  outline: none;
  cursor: pointer;
  transition: border-color var(--t);
  width: 100%;
}

.sg input:focus,
.sg select:focus { border-color: var(--blue); }
.sg input::placeholder { color: #BEC4D0; }
.sg select.active-filter,
.sg input.active-filter { border-color: var(--blue); color: var(--blue); }

.search-btn {
  background: transparent;
  color: var(--g400);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid var(--g200);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t);
  margin-left: 16px;
  align-self: flex-end;
  margin-bottom: 2px;
}

.search-btn:hover { border-color: var(--black); color: var(--black); }

/* ── FILTER BAR ─────────────────────────────────────────── */
.filterbar {
  background: #fff;
  border-top: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
  padding: 14px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  position: sticky;
  top: 64px;
  z-index: 90;
}

.filter-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g400);
  margin-right: 4px;
}

.fc {
  padding: 8px 18px;
  border: 1px solid var(--g200);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--g600);
  border-radius: 30px;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: all var(--t);
}

.fc:hover { border-color: var(--blue); color: var(--blue); }

.fc.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(7,72,152,.18);
}

.fc-clear {
  padding: 7px 14px;
  border: 1px solid #fca5a5;
  background: #fff5f5;
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}

.fc-clear:hover { background: #fee2e2; }

.fsep {
  width: 1px;
  height: 20px;
  background: var(--g200);
}

.fsort {
  border: 1px solid var(--g200);
  background: #fff;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--g600);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--t);
}

.fsort:hover { border-color: var(--black); }

.fcount {
  font-size: 12px;
  color: var(--g400);
  font-weight: 500;
  white-space: nowrap;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* LISTING */
.list-sec {
  padding: 60px 56px 88px;
  background: #f8f9fb;
}

.list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--g200);
  padding-bottom: 18px;
  margin-bottom: 36px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 8px;
}

.heading {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 300;
  color: var(--black);
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: transparent;
}

/* ── CARD ──────────────────────────────────────────────────── */
.pcard {
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  border: 1px solid var(--g200);
  transition: transform 0.35s var(--ease-premium),
              box-shadow 0.35s var(--ease-premium),
              border-color 0.35s var(--ease-premium);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.pcard:hover {
  transform: translateY(-6px);
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  border-color: transparent;
}

/* ── IMAGE ─────────────────────────────────────────────────── */
.pimg {
  height: 320px;
  overflow: hidden;
  position: relative;
  background: var(--g100);
}

.pimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.4, 0, .2, 1);
}

.pcard:hover .pimg img {
  transform: scale(1.06);
}

.pimg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.28) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease-premium);
}

.pcard:hover .pimg::after {
  opacity: 1;
}

/* ── BADGE ─────────────────────────────────────────────────── */
.pbadge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.br {
  background: rgba(6, 72, 156, 0.9);
  color: #fff;
  box-shadow: 0 2px 8px rgba(6,72,156,.35);
}

.bs {
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  box-shadow: 0 2px 8px rgba(220,38,38,.35);
}

.pfav {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 18px;
  color: #fff;
  line-height: 1;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .4);
  transition: transform var(--t);
  z-index: 2;
}

.pfav:hover {
  transform: scale(1.25);
}

/* ── BODY ──────────────────────────────────────────────────── */
.pbody {
  padding: 18px 20px 20px;
}

.pname {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.35;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ploc {
  font-size: 11px;
  color: var(--g400);
  margin-bottom: 14px;
  letter-spacing: .1px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ploc::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ── META PILLS ────────────────────────────────────────────── */
.pmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.pmi {
  font-size: 11px;
  font-weight: 500;
  color: var(--g600);
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--g100);
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid var(--g200);
  transition: background var(--t), color var(--t), border-color var(--t);
}

.pcard:hover .pmi {
  background: #eef3fb;
  color: var(--blue);
  border-color: rgba(6,72,156,.15);
}

.pmi svg {
  opacity: 0.6;
  flex-shrink: 0;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.pfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--g200);
  padding-top: 14px;
  margin-top: 2px;
}

.pprice {
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
}

.pprice small {
  font-size: 11px;
  color: var(--g400);
  font-weight: 400;
  letter-spacing: 0;
}

.parr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--g400);
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--g200);
  transition: all 0.3s var(--ease-premium);
}

.pcard:hover .parr {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(6,72,156,.25);
}

.no-res {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px;
  color: var(--g400);
  font-size: 13px;
  background: #fff;
  border-radius: 16px;
  border: 1px dashed var(--g200);
}

/* TESTIMONIALS */
.testi {
  background: var(--blue);
  padding: 120px 56px;
  position: relative;
  overflow: hidden;
}

.testi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.testi::after {
  content: '"';
  position: absolute;
  top: -40px;
  right: 40px;
  font-size: clamp(280px, 28vw, 420px);
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testi .eyebrow {
  text-align: center;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}

.testi .heading {
  text-align: center;
  color: #fff;
  font-weight: 300;
  letter-spacing: -1px;
}

.testi .sub {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  text-align: center;
  margin: 14px auto 64px;
  max-width: 440px;
}

.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.tcard {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background var(--t), border-color var(--t), transform 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
}

.tcard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
}

.tcard:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-6px);
}

.tcard:hover::before {
  opacity: 1;
}

.qmark {
  font-size: 48px;
  line-height: 1;
  color: rgba(255,255,255,0.15);
  transition: color var(--t);
}

.tcard:hover .qmark {
  color: rgba(255,255,255,0.25);
}

.ttext {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  flex: 1;
  transition: color var(--t);
}

.tcard:hover .ttext {
  color: rgba(255,255,255,0.8);
}

.tfoot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.tavatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background var(--t), border-color var(--t);
}

.tcard:hover .tavatar {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
}

.tname {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.1px;
}

.tstars {
  font-size: 11px;
  color: #f5c518;
  margin-top: 3px;
  letter-spacing: 2px;
}

@media (max-width: 960px) {
  .tgrid { grid-template-columns: 1fr; gap: 16px; }
  .testi { padding: 80px 28px; }
  .testi::after { display: none; }
}

/* ABOUT */
.about {
  padding: 160px 56px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.about-watermark {
  position: absolute;
  top: -20px;
  left: -40px;
  font-size: 18vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03); 
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.about-header {
  margin-bottom: 80px;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.heading-large {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.15;
  font-weight: 300;
  color: var(--pure-black);
  margin: 0;
}

.heading-large span {
  color: var(--gray-dark);
}

.about-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.about-visuals {
  position: relative;
  height: 650px;
}

.img-wrapper {
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-premium);
}

.main-img {
  width: 85%;
  height: 85%;
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.secondary-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  height: 320px;
  z-index: 2;
  border: 15px solid var(--pure-white);
}

.about-visuals:hover .img-wrapper img {
  transform: scale(1.04);
}

.floating-pill {
  position: absolute;
  top: 40px;
  right: 20%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 36px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 3;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  animation: float 6s ease-in-out infinite;
}

.apill-val {
  font-size: 32px;
  font-weight: 700;
  color: var(--pure-black);
  letter-spacing: -1px;
}

.apill-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-muted);
  margin-top: 2px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-description {
  margin-bottom: 48px;
}

.lead-text {
  font-size: 22px;
  font-weight: 400;
  color: var(--pure-black);
  margin-bottom: 24px;
  line-height: 1.5;
}

.about-info p:not(.lead-text) {
  font-size: 16px;
  color: var(--gray-muted);
  line-height: 1.7;
}

.astats-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item .snum {
  font-size: 48px;
  font-weight: 300;
  color: var(--pure-black);
  margin-bottom: 4px;
  letter-spacing: -2px;
}

.stat-item .slabel {
  font-size: 12px;
  line-height: 1.4;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-contact-block {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-border);
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pure-black);
  font-weight: 700;
  white-space: nowrap;
}

.contact-line {
  flex-grow: 1;
  height: 1px;
  background: var(--gray-border);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.c-method {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  width: fit-content;
}

.c-tag {
  font-size: 10px;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.c-link {
  font-size: 20px;
  color: var(--pure-black);
  font-weight: 300;
  transition: transform 0.4s var(--ease-premium), color 0.4s ease;
  display: inline-block;
  border-bottom: 1px solid transparent;
}

.c-method:hover .c-link {
  color: var(--gray-muted);
  transform: translateX(6px);
  border-bottom-color: var(--gray-muted);
}

.about-social-minimal {
  display: flex;
  gap: 32px;
}

.s-minimal-link {
  font-size: 12px;
  color: var(--pure-black);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  font-weight: 600;
}

.s-minimal-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--pure-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-premium);
}

.s-minimal-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 1024px) {
  .about {
    padding: 100px 32px;
  }
  .about-main-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .about-visuals {
    height: 500px;
  }
  .main-img { 
    width: 100%; 
    clip-path: none; 
  }
  .secondary-img { 
    display: none; 
  }
  .floating-pill {
    right: 5%;
    top: 5%;
  }
}

@media (max-width: 600px) {
  .about-social-minimal {
    flex-wrap: wrap;
    gap: 20px;
  }
  .astats-modern {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- AWARD WINNING FOOTER --- */
.footer {
  background-color: var(--blue);
  color: var(--white);
  padding: 120px 56px 40px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.f-top {
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.f-cta-title {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 30px;
}

.f-cta-title span {
  color: var(--gold);
}

.f-main-link {
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
}

.f-main-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--white);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.6s var(--ease-premium);
}

.f-main-link:hover::after {
  transform: scaleX(1);
}

.f-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 100px;
}

.f-logo-text {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.f-credo {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 300px;
}

.f-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 30px;
}

.f-list {
  list-style: none;
}

.f-list li {
  margin-bottom: 12px;
}

.f-list a {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.f-list a:hover {
  color: var(--white);
  padding-left: 5px;
}

.f-address {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.f-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  .footer { padding: 80px 28px 40px; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .f-brand-col { grid-column: span 2; margin-bottom: 20px; }
  .f-cta-title { font-size: 48px; }
}

@media (max-width: 600px) {
  .f-grid { grid-template-columns: 1fr; }
  .f-brand-col { grid-column: span 1; }
  .f-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* =========================================================
   MODAL — Two-Panel Editorial Design
   ========================================================= */

/* ═══════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════ */
.mbg {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 8, 16, 0.80);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s var(--ease-premium);
}

.mbg.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #fff;
  width: 100%;
  max-width: 1180px;
  max-height: 88vh;
  display: grid;
  grid-template-columns: 10fr 7fr;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  transform: translateY(32px) scale(0.97);
  transition: transform 0.45s var(--ease-premium);
}

.mbg.open .modal {
  transform: translateY(0) scale(1);
}

/* ── CLOSE BUTTON ────────────────────────────────────────── */
.mx {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 34px;
  height: 34px;
  background: var(--blue);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  transition: background var(--t), transform var(--t), border-color var(--t);
  cursor: pointer;
}

.mx:hover {
  background: var(--blue);
  border-color: rgba(255,255,255,0.4);
  transform: rotate(90deg);
}

/* ── MEDIA PANEL (left) ──────────────────────────────────── */
.m-media-panel {
  position: relative;
  background: #0a0a0a;
  height: 88vh;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mimg {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.mimg::-webkit-scrollbar { display: none; }

.mimg > img,
.mimg > video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: opacity 0.3s ease;
}

/* bottom gradient for media panel */
.m-media-panel::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

/* ── BADGE ───────────────────────────────────────────────── */
.mbadge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  padding: 6px 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── DOTS / COUNTER ──────────────────────────────────────── */
.m-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 6px;
  align-items: center;
}

.m-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
  cursor: pointer;
}

.m-dot.active {
  background: #fff;
  width: 18px;
  border-radius: 3px;
}

/* ── NAV ARROWS ──────────────────────────────────────────── */
.m-arrow {
  position: absolute;
  bottom: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), transform var(--t);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.m-arrow:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.08);
}

.m-arrow.prev { right: 62px; }
.m-arrow.next { right: 18px; }

/* ── DETAILS PANEL (right) ───────────────────────────────── */
.minner {
  overflow-y: auto;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--g200) transparent;
  background: #fff;
}

/* price + title header */
.mrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--g200);
  margin-bottom: 22px;
   padding-top: 25px;
}

.mtitle {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--black);
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.mloc {
  font-size: 11px;
  color: var(--g400);
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mloc::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* price */
.mprice {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: var(--blue);
  text-align: right;
  white-space: nowrap;
  letter-spacing: -0.8px;
  line-height: 1;
}

.mper {
  font-size: 10px;
  color: var(--g400);
  margin-top: 5px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── STATS GRID ──────────────────────────────────────────── */
.mstats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--g200);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

.mstats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mstat {
  padding: 16px 12px;
  text-align: center;
  border-right: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
  background: #fafbfd;
  transition: background var(--t);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mstat:last-child { border-right: none; }

.mstat:hover {
  background: #eef3fb;
}

.mstat-v {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.5px;
}

.mstat-l {
  font-size: 9px;
  color: var(--g400);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.mstat-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--g200);
  gap: 12px;
  transition: background var(--t);
}

.mstat-area:last-child { border-bottom: none; }
.mstat-area:hover { background: #fafbfd; }

.mstat-area-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--g400);
  white-space: nowrap;
}

.mstat-area-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  text-align: right;
  letter-spacing: -0.2px;
}

/* ── AMENITIES SECTION ───────────────────────────────────── */
.msec {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 12px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.msec::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--g200);
}

.mdesc {
  font-size: 13.5px;
  color: var(--g600);
  line-height: 1.9;
}

/* ── AMENITY TAGS ────────────────────────────────────────── */
.mtags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
  margin-bottom: 4px;
}

.mtag {
  padding: 6px 13px;
  border: 1px solid var(--g200);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: var(--g600);
  background: #fafbfd;
  transition: all var(--t);
  letter-spacing: 0.1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mtag:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #eef3fb;
}

/* ── ACTION BUTTONS ──────────────────────────────────────── */
.mbtns {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--g200);
}

.micon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.bblack {
  flex: 1;
  padding: 14px 16px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 10px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(6,72,156,.25);
}

.bblack:hover {
  background: #0d3d82;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,72,156,.35);
}

.boutline {
  flex: 1;
  padding: 14px 16px;
  background: #fafbfd;
  color: var(--black);
  border: 1px solid var(--g200);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 10px;
  transition: border-color var(--t), background var(--t), transform var(--t), box-shadow var(--t);
}

.boutline:hover {
  border-color: var(--black);
  background: var(--g100);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
}

/* ══════════════════════════════════════════════════════════
   MODAL RESPONSIVE — Property Modal + Booking Modal
   ══════════════════════════════════════════════════════════ */

/* ── Base fix: ensure right panel is scrollable on ALL sizes ── */
.modal {
  overflow: hidden; /* keep, but children scroll independently */
}

.minner {
  max-height: 88vh;   /* cap so it scrolls on desktop too */
  overflow-y: auto;
}

/* ── TABLET LANDSCAPE (≤1024px) ─────────────────────────────── */
@media (max-width: 1024px) {
  .modal {
    max-width: 95vw;
    grid-template-columns: 1.2fr 1fr;
  }
  .minner {
    padding: 28px 28px 28px;
  }
  .mtitle {
    font-size: 20px;
  }
  .mprice {
    font-size: 22px;
  }
}

/* ── TABLET PORTRAIT (≤768px) ───────────────────────────────── */
@media (max-width: 768px) {
  /* Backdrop: tighter padding on tablet */
  .mbg { padding: 16px; }

  /* Modal flips to single column, scrolls as one unit */
  .modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 18px;
    overflow: hidden;
    overflow-y: auto;
  }

  /* Media panel becomes a fixed-height banner at the top */
  .m-media-panel {
    height: 52vw;
    min-height: 220px;
    max-height: 320px;
    /* Keep it from stretching full scroll */
    flex-shrink: 0;
  }

  /* Detail panel no longer needs its own scroll — modal scrolls */
  .minner {
    max-height: none;
    overflow-y: visible;
    padding: 24px 24px 32px;
  }

  /* Title + price stack vertically */
  .mrow {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-top: 18px;
  }

  .mprice { text-align: left; font-size: 22px; }
  .mper   { text-align: left; }
  .mtitle { font-size: 19px; }

  /* Stats stay 3-col on tablet */
  .mstats-row { grid-template-columns: repeat(3, 1fr); }

  /* Action buttons side by side */
  .mbtns { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .bblack, .boutline { flex: 1; min-width: 120px; }

  /* Close button — keep in top-right of the media panel */
  .mx { top: 12px; right: 12px; }

  /* Nav arrows sit just above the dots */
  .m-arrow.prev { right: 58px; }
  .m-arrow.next { right: 14px; }
}

/* ── LARGE PHONE (≤600px) ───────────────────────────────────── */
@media (max-width: 600px) {
  .mbg { padding: 10px; }

  .modal {
    max-height: 95dvh;
    border-radius: 14px;
  }

  .m-media-panel {
    height: 56vw;
    min-height: 200px;
    max-height: 280px;
  }

  .minner { padding: 20px 18px 28px; }

  .mtitle { font-size: 17px; }
  .mprice { font-size: 20px; }

  /* Stats: drop to 2 columns */
  .mstats-row { grid-template-columns: repeat(2, 1fr); }

  /* Buttons stack */
  .mbtns { flex-direction: column; gap: 8px; }
  .bblack, .boutline { width: 100%; justify-content: center; }

  .mtag { font-size: 10.5px; padding: 5px 11px; }
}

/* ── SMALL PHONE (≤480px) ───────────────────────────────────── */
@media (max-width: 480px) {
  .mbg { padding: 6px; align-items: flex-end; }

  /* Sheet-style: slides up from bottom */
  .modal {
    border-radius: 18px 18px 0 0;
    max-height: 96dvh;
    width: 100%;
  }

  .m-media-panel {
    height: 54vw;
    min-height: 180px;
    max-height: 240px;
  }

  .minner { padding: 18px 16px 24px; }

  .mrow { gap: 6px; padding-top: 14px; }
  .mtitle { font-size: 15px; }
  .mprice { font-size: 18px; }
  .mloc   { font-size: 10px; }
  .mper   { font-size: 9px; }

  /* Stats: 1 column */
  .mstats-row { grid-template-columns: 1fr 1fr; }
  .mstat      { padding: 12px 8px; }
  .mstat-v    { font-size: 18px; }

  .msec { font-size: 9px; margin-top: 14px; margin-bottom: 8px; }
  .mtag { font-size: 10px; padding: 4px 9px; }

  .mbtns { margin-top: 16px; }
  .boutline, .bblack { padding: 13px; font-size: 10px; letter-spacing: 0.5px; }

  .mx { width: 30px; height: 30px; font-size: 11px; top: 10px; right: 10px; }

  .m-arrow { width: 32px; height: 32px; font-size: 13px; }
  .m-arrow.prev { right: 52px; }
  .m-arrow.next { right: 12px; }
}

/* ── BOOKING MODAL — all screen sizes ──────────────────────── */

/* Tablet */
@media (max-width: 768px) {
  #booking-bg .modal {
    max-width: 100%;
    border-radius: 16px;
    overflow-y: auto;
  }
  /* Override the inline padding styles */
  #booking-bg .modal > div:first-child {
    padding: 22px 24px 18px !important;
  }
  #booking-bg .modal > div:last-child {
    padding: 22px 24px 28px !important;
    gap: 16px;
  }
  /* First/last name row → single column */
  #booking-bg .cf-row {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* Phone */
@media (max-width: 480px) {
  #booking-bg { padding: 8px; align-items: flex-end; }
  #booking-bg .modal {
    border-radius: 18px 18px 0 0 !important;
    max-height: 96dvh;
    max-width: 100% !important;
  }
  #booking-bg .modal > div:first-child {
    padding: 18px 18px 14px !important;
    flex-wrap: wrap;
    gap: 8px;
  }
  #booking-bg .modal > div:last-child {
    padding: 16px 18px 24px !important;
    gap: 14px;
  }
  #booking-bg .mtitle {
    font-size: 15px !important;
  }
  #booking-bg .cf-submit {
    padding: 14px 20px !important;
    font-size: 11px !important;
  }
}

/* ── LANDSCAPE PHONE for modals ─────────────────────────────── */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  /* Two-col layout in landscape so media + details are side by side */
  .modal {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr !important;
    max-height: 96dvh;
    overflow: hidden;
  }
  .m-media-panel {
    height: 96dvh;
    max-height: 96dvh;
    min-height: unset;
  }
  .minner {
    max-height: 96dvh;
    overflow-y: auto;
    padding: 16px 16px 20px;
  }
  .mbtns { flex-direction: row; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CONTACT FORM SECTION */
.contact-section {
  background: linear-gradient(160deg, #f8f9fb 0%, #eef1f6 100%);
  padding: 120px 56px;
  border-top: 1px solid var(--g200);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,72,156,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

/* ── FORM CARD (left) ───────────────────────────────────────── */
.contact-form-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,.07), 0 1px 0 rgba(0,0,0,.04);
  overflow: hidden;
}

.contact-form-card .lp-form-header {
  padding: 28px 36px 24px;
  border-bottom: 1px solid var(--g200);
  background: #fafbfd;
}

.contact-form-card .lp-section-divider {
  padding: 8px 36px;
}

.contact-form-card .lp-section-divider:first-of-type {
  padding-top: 24px;
}

.contact-form-row {
  padding: 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-field {
  padding: 0 36px;
}

.contact-form-divider {
  padding-top: 8px !important;
}

.contact-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 36px 36px;
}

.contact-submit-btn {
  width: 100%;
  justify-content: center;
}

.contact-form-success {
  margin: 0 36px 36px !important;
}

/* ── INFO PANEL (right) ─────────────────────────────────────── */
.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin: 12px 0 18px;
}

.contact-title span {
  color: var(--g400);
}

.contact-sub {
  font-size: 14px;
  color: var(--g600);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cd-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--g200);
  transition: opacity var(--t);
}

.cd-item:hover { opacity: 0.7; }

.cd-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--g400);
}

.cd-val {
  font-size: 14px;
  color: var(--black);
  font-weight: 400;
}

/* shared form field styles (used by both sections) */
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g400);
}

.cf-input {
  border: none;
  border-bottom: 1.5px solid var(--g200);
  padding: 12px 0;
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  background: transparent;
  outline: none;
  transition: border-color var(--t);
  width: 100%;
}

.cf-input::placeholder { color: #c8cdd6; }
.cf-input:focus { border-color: var(--black); }

.cf-textarea {
  resize: none;
  height: 120px;
  line-height: 1.7;
}

.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  padding: 16px 36px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  margin-top: 4px;
}

.cf-submit svg {
  width: 11px;
  height: 11px;
  transition: transform 0.4s var(--ease-premium);
}

.cf-submit:hover {
  background: var(--g800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cf-submit:hover svg { transform: translate(2px, -2px); }

.cf-success {
  font-size: 13px;
  color: #2e7d52;
  background: #f0faf5;
  border: 1px solid #b7e4cb;
  border-radius: 8px;
  padding: 14px 18px;
  display: none;
}

.cf-success.show { display: block; }

@media (max-width: 960px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-section { padding: 80px 28px; }
  .contact-info-panel { order: -1; }
}

@media (max-width: 600px) {
  .contact-form-row { grid-template-columns: 1fr; padding: 0 20px; }
  .contact-form-field { padding: 0 20px; }
  .contact-form-card .lp-section-divider { padding-left: 20px; padding-right: 20px; }
  .contact-form-card .lp-form-header { padding: 20px; }
  .contact-submit-wrap { padding: 8px 20px 28px; }
  .contact-form-success { margin: 0 20px 28px !important; }
}

/* LIST MY PROPERTY SECTION */
.list-prop-section {
  background: linear-gradient(160deg, #f8f9fb 0%, #eef1f6 100%);
  padding: 120px 56px;
  border-top: 1px solid var(--g200);
  position: relative;
  overflow: hidden;
}

.list-prop-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,72,156,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.list-prop-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.list-prop-title {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin: 12px 0 18px;
}

.list-prop-title span {
  color: var(--g400);
}

.list-prop-sub {
  font-size: 14px;
  color: var(--g600);
  line-height: 1.8;
  max-width: 340px;
  margin-bottom: 36px;
}

/* ── PERKS ─────────────────────────────────────────────────── */
.list-prop-perks {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.lp-perk {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.lp-perk:last-child { border-bottom: none; }

.lp-perk-icon-wrap {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--g200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  margin-top: 1px;
}

.lp-perk-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lp-perk-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.2px;
}

.lp-perk-desc {
  font-size: 12px;
  color: var(--g600);
  line-height: 1.5;
}



/* ── FORM CARD ─────────────────────────────────────────────── */
.list-prop-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,.07), 0 1px 0 rgba(0,0,0,.04);
  overflow: hidden;
}

/* ── FORM HEADER ───────────────────────────────────────────── */
.lp-form-header {
  padding: 28px 36px 24px;
  border-bottom: 1px solid var(--g200);
  background: #fafbfd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lp-form-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--black);
}

/* ── STEP INDICATOR ────────────────────────────────────────── */
.lp-form-steps {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-step {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lp-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--g200);
  color: var(--g400);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
}

.lp-step.active .lp-step-num {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(6,72,156,.3);
}

.lp-step-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--g400);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.lp-step.active .lp-step-label {
  color: var(--blue);
  font-weight: 600;
}

.lp-step-line {
  width: 24px;
  height: 1px;
  background: var(--g200);
  flex-shrink: 0;
}

/* ── FORM BODY ─────────────────────────────────────────────── */
.list-prop-right .lp-row,
.list-prop-right .cf-field,
.list-prop-right .lp-section-divider,
.list-prop-right .lp-submit-wrap {
  padding-left: 36px;
  padding-right: 36px;
}

.list-prop-right .lp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 0;
  padding-bottom: 0;
}

.list-prop-right .cf-field {
  padding-top: 0;
  padding-bottom: 0;
}

/* ── SECTION DIVIDERS ──────────────────────────────────────── */
.lp-section-divider {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.lp-section-divider:first-of-type {
  padding-top: 24px !important;
}

.lp-section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(6,72,156,.06);
  padding: 6px 12px;
  border-radius: 20px;
}

.lp-section-label svg {
  opacity: 0.8;
}

/* ── SUBMIT AREA ───────────────────────────────────────────── */
.lp-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px !important;
  padding-bottom: 36px !important;
}

.lp-submit-btn {
  width: 100%;
  justify-content: center;
}

.lp-privacy-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--g400);
  line-height: 1.5;
}

.lp-privacy-note svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* override success message padding */
.list-prop-right .cf-success {
  margin: 0 36px 36px;
}

.lp-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

@media (max-width: 960px) {
  .list-prop-inner { grid-template-columns: 1fr; gap: 48px; }
  .list-prop-section { padding: 80px 28px; }
  .list-prop-sub { max-width: 100%; }
}

@media (max-width: 600px) {
  .list-prop-right .lp-row { grid-template-columns: 1fr; }
  .list-prop-right .lp-row,
  .list-prop-right .cf-field,
  .list-prop-right .lp-section-divider,
  .list-prop-right .lp-submit-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .list-prop-right .cf-success { margin: 0 20px 28px; }
  .lp-form-header { padding: 20px; flex-direction: column; align-items: flex-start; }
  .lp-form-steps { display: none; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav,
  .list-sec,
  .testi,
  .about,
  footer,
  .filterbar {
    padding-left: 28px;
    padding-right: 28px;
  }
  
  .pgrid {
    grid-template-columns: 1fr 1fr;
  }
  
  .tgrid {
    grid-template-columns: 1fr;
  }
  
  .agrid {
    grid-template-columns: 1fr;
  }
  
  .fgrid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* search handled in consolidated block below */
}

@media (max-width: 600px) {
  .pgrid {
    grid-template-columns: 1fr;
  }
  
  .hero-aside {
    display: none;
  }
  
  .hero-inner {
    padding: 0 20px 44px;
  }
  
  .fgrid {
    grid-template-columns: 1fr;
  }
  
  /* search handled in consolidated block below */
  .filterbar { top: 56px; }
  .filter-left, .filter-right { width: 100%; }
}
/* ── WhatsApp & Viber Messaging Icons ── */
.c-messaging-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.c-msg-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 7px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.c-msg-icon:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.whatsapp-icon {
  background: #25D366;
  color: #fff;
}

.viber-icon {
  background: #7360F2;
  color: #fff;
}

/* cd-item-phone: make it a flex column so icons sit below the number */
.cd-item-phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--g200, #e5e5e5);
  text-decoration: none;
  color: inherit;
}
/* ================================================================
   COMPREHENSIVE RESPONSIVE OVERRIDES
   Breakpoints:
     xl  = 1280px  (large laptop)
     lg  = 1024px  (laptop / small desktop)
     md  = 768px   (tablet)
     sm  = 600px   (large phone)
     xs  = 480px   (small phone)
     xxs = 360px   (tiny phone)
   ================================================================ */

/* ── XL: Large laptops / lower-res desktops ───────────────────── */
@media (max-width: 1280px) {
  .nav-container { padding: 0 36px; }
  .nav-links { gap: 24px; }
  .nav-menu { gap: 32px; }

  .hero-inner { padding: 0 40px 60px; }

  /* search handled in consolidated block */

  .filterbar { padding: 14px 36px; }

  .list-sec { padding: 56px 36px 72px; }
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .testi { padding: 100px 36px; }
  .tgrid { grid-template-columns: repeat(3, 1fr); }

  .about { padding: 120px 36px; }

  .list-prop-section,
  .contact-section { padding: 100px 36px; }

  .footer { padding: 100px 36px 40px; }
  .f-grid { gap: 36px; }

  .contact-inner,
  .list-prop-inner { gap: 56px; }
}

/* ── LG: Laptop / Tablet landscape ───────────────────────────── */
@media (max-width: 1024px) {
  /* NAV */
  .nav-container { padding: 0 28px; height: 64px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }

  /* HERO */
  .hero { min-height: 560px; }
  .hero-inner { padding: 0 32px 52px; gap: 24px; }
  .hero-title { font-size: clamp(28px, 4vw, 48px); }
  .hero-aside p { font-size: 16px; }
  .hero-aside-head { font-size: 13px; }

  /* SEARCH */
  /* search handled in consolidated block */

  /* FILTERBAR */
  .filterbar { padding: 12px 28px; }

  /* LISTING */
  .list-sec { padding: 48px 28px 64px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pimg { height: 260px; }

  /* TESTIMONIALS */
  .testi { padding: 80px 28px; }
  .tgrid { grid-template-columns: 1fr; gap: 16px; }
  .testi::after { display: none; }

  /* ABOUT */
  .about { padding: 80px 28px; }
  .about-main-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visuals { height: 420px; }
  .about-header { margin-bottom: 48px; }
  .astats-modern { grid-template-columns: repeat(3, 1fr); }

  /* LIST PROPERTY + CONTACT */
  .list-prop-section,
  .contact-section { padding: 72px 28px; }
  .list-prop-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .list-prop-sub { max-width: 100%; }

  /* FOOTER */
  .footer { padding: 72px 28px 36px; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .f-brand-col { grid-column: span 2; }
  .f-cta-title { font-size: clamp(36px, 5vw, 60px); letter-spacing: -1px; }
  .f-top { padding-bottom: 56px; margin-bottom: 56px; }
}

/* ── MD: Tablet portrait ──────────────────────────────────────── */
@media (max-width: 768px) {
  /* NAV — handled by the existing 991px hamburger rule */
  
  /* HERO */
  .hero { min-height: 520px; }
  .hero-inner { padding: 0 24px 48px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-aside { text-align: left; }
  .hero-aside p { font-size: 15px; }
  .hero-dots { bottom: 20px; }

  /* SEARCH */
  /* search handled in consolidated block */

  /* FILTERBAR */
  .filterbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 20px;
  }
  .filter-left, .filter-right { width: 100%; }
  .filter-right { flex-wrap: wrap; gap: 8px; }
  .fsort { flex: 1; min-width: 120px; }
  .fcount { width: 100%; }

  /* LISTING */
  .list-sec { padding: 36px 20px 52px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pimg { height: 220px; }
  .pbody { padding: 14px; }
  .pprice { font-size: 16px; }
  .list-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* TESTIMONIALS */
  .testi { padding: 64px 20px; }
  .tcard { padding: 28px 24px 24px; }

  /* ABOUT */
  .about { padding: 64px 20px; }
  .about-visuals { height: 320px; }
  .floating-pill { padding: 14px 20px; }
  .apill-val { font-size: 24px; }
  .astats-modern { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-item .snum { font-size: 36px; }
  .lead-text { font-size: 18px; }
  .about-info p:not(.lead-text) { font-size: 14px; }
  .about-social-minimal { flex-wrap: wrap; gap: 16px; }
  .c-link { font-size: 16px; }

  /* LIST PROPERTY */
  .list-prop-section { padding: 56px 20px; }
  .list-prop-inner { gap: 32px; }
  .list-prop-right .lp-row { grid-template-columns: 1fr; }
  .list-prop-right .lp-row,
  .list-prop-right .cf-field,
  .list-prop-right .lp-section-divider,
  .list-prop-right .lp-submit-wrap { padding-left: 20px; padding-right: 20px; }
  .lp-form-header { padding: 20px; flex-direction: column; align-items: flex-start; }
  .list-prop-right .cf-success { margin: 0 20px 24px; }

  /* CONTACT */
  .contact-section { padding: 56px 20px; }
  .contact-inner { gap: 32px; }
  .contact-info-panel { order: -1; }
  .contact-form-row { grid-template-columns: 1fr; padding: 0 20px; }
  .contact-form-field { padding: 0 20px; }
  .contact-form-card .lp-section-divider { padding-left: 20px; padding-right: 20px; }
  .contact-form-card .lp-form-header { padding: 20px; }
  .contact-submit-wrap { padding: 8px 20px 24px; }
  .contact-form-success { margin: 0 20px 24px !important; }

  /* FOOTER */
  .footer { padding: 56px 20px 32px; }
  .f-grid { grid-template-columns: 1fr; gap: 28px; }
  .f-brand-col { grid-column: span 1; }
  .f-cta-title { font-size: clamp(32px, 8vw, 52px); letter-spacing: -1px; }
  .f-top { padding-bottom: 40px; margin-bottom: 40px; }
  .f-main-link { font-size: 16px; }
  .f-bottom { flex-direction: column; gap: 10px; text-align: center; }

  /* (modal rules handled in dedicated modal responsive block above) */
}

/* ── SM: Large phones (600px) ─────────────────────────────────── */
@media (max-width: 600px) {
  /* HERO */
  .hero-inner { padding: 0 18px 40px; }
  .hero-aside { display: none; }
  .hero-title { font-size: clamp(26px, 7vw, 38px); }

  /* SEARCH */
  /* search handled in consolidated block */

  /* FILTERBAR */
  .filterbar { top: 56px; padding: 10px 16px; }
  .fc { padding: 7px 14px; font-size: 11px; }

  /* LISTING */
  .list-sec { padding: 28px 16px 44px; }
  .pgrid { grid-template-columns: 1fr; gap: 14px; }
  .pimg { height: 240px; }
  .heading { font-size: clamp(22px, 5vw, 30px); }

  /* TESTIMONIALS */
  .testi { padding: 52px 16px; }
  .tcard { padding: 24px 20px 20px; }
  .ttext { font-size: 13px; }

  /* ABOUT */
  .about { padding: 52px 16px; }
  .about-visuals { height: 260px; }
  .floating-pill { display: none; }
  .astats-modern { grid-template-columns: 1fr; gap: 20px; }
  .stat-item .snum { font-size: 40px; }
  .about-header { margin-bottom: 32px; }

  /* LIST PROPERTY */
  .list-prop-section { padding: 44px 16px; }
  .list-prop-perks { margin-bottom: 24px; }

  /* CONTACT */
  .contact-section { padding: 44px 16px; }

  /* FOOTER */
  .footer { padding: 44px 16px 28px; }
  .f-cta-title { font-size: clamp(28px, 9vw, 44px); }
  .f-logo-text { font-size: 22px; }
  .f-credo { font-size: 13px; }
  .f-list a { font-size: 13px; }
  .f-address { font-size: 13px; }

  /* (modal handled in dedicated modal responsive block) */
}

/* ── XS: Small phones (480px) ─────────────────────────────────── */
@media (max-width: 480px) {
  /* NAV */
  .nav-container { height: 58px; padding: 0 16px; }
  .nav-logo img { height: 36px; }
  .nav-logo p { font-size: 12px; }

  /* HERO */
  .hero { min-height: 480px; }
  .hero-inner { padding: 0 16px 36px; }
  .hero-title { font-size: clamp(22px, 7vw, 32px); max-width: 100%; }
  .hero-dots { bottom: 16px; }

  /* SEARCH */
  /* search handled in consolidated block */

  /* FILTERBAR */
  .filterbar { padding: 8px 14px; }
  .filter-left { flex-wrap: wrap; gap: 6px; }
  .fl { width: 100%; }
  .fc { padding: 6px 12px; font-size: 10.5px; }

  /* LISTING */
  .list-sec { padding: 24px 14px 36px; }
  .pgrid { gap: 12px; }
  .pimg { height: 210px; }
  .pbody { padding: 12px; }
  .pname { font-size: 14px; }
  .pprice { font-size: 15px; }
  .pmi { font-size: 10px; padding: 4px 8px; }
  .list-head { gap: 6px; }

  /* TESTIMONIALS */
  .testi { padding: 44px 14px; }
  .tcard { padding: 20px 16px 18px; }

  /* ABOUT */
  .about { padding: 44px 14px; }
  .lead-text { font-size: 16px; }
  .c-link { font-size: 14px; }
  .contact-label { font-size: 10px; }
  .about-social-minimal { gap: 12px; }
  .s-minimal-link { font-size: 11px; }

  /* LIST PROPERTY */
  .list-prop-section { padding: 36px 14px; }
  .list-prop-right .lp-row,
  .list-prop-right .cf-field,
  .list-prop-right .lp-section-divider,
  .list-prop-right .lp-submit-wrap { padding-left: 14px; padding-right: 14px; }
  .lp-form-header { padding: 16px 14px; }
  .list-prop-right .cf-success { margin: 0 14px 20px; }

  /* CONTACT */
  .contact-section { padding: 36px 14px; }
  .contact-form-row { padding: 0 14px; }
  .contact-form-field { padding: 0 14px; }
  .contact-form-card .lp-section-divider { padding-left: 14px; padding-right: 14px; }
  .contact-form-card .lp-form-header { padding: 16px 14px; }
  .contact-submit-wrap { padding: 8px 14px 20px; }
  .contact-form-success { margin: 0 14px 20px !important; }

  /* FOOTER */
  .footer { padding: 36px 14px 24px; }
  .f-cta-title { font-size: clamp(24px, 10vw, 38px); margin-bottom: 20px; }
  .f-top { padding-bottom: 32px; margin-bottom: 32px; }

  /* (modal handled in dedicated modal responsive block) */
}

/* ── XXS: Very small phones (360px) ───────────────────────────── */
@media (max-width: 360px) {
  .nav-logo p { display: none; }
  .nav-container { height: 54px; }

  .hero-title { font-size: 20px; }
  .hero { min-height: 440px; }

  .pgrid { gap: 10px; }
  .pimg { height: 190px; }
  .pprice { font-size: 14px; }

  .f-cta-title { font-size: 22px; letter-spacing: -0.5px; }

  .cf-input { font-size: 14px; }
  .cf-submit { padding: 14px 20px; font-size: 11px; }

  /* (modal handled in dedicated modal responsive block) */
}

/* ── SAFE TOUCH TARGET SIZES (all mobile) ─────────────────────── */
@media (max-width: 991px) {
  .fc, .fc-clear, .fsort,
  .search-btn, .cf-submit,
  .nav-cta, .f-main-link,
  .bblack, .boutline,
  .fc.on { min-height: 44px; }

  .nav-toggle { min-width: 44px; min-height: 44px; }

  /* Increase tap area for property cards */
  .pcard { -webkit-tap-highlight-color: transparent; }

  /* Prevent text overflow in filter bar on small screens */
  .fcount { font-size: 11px; }
  .fsort { font-size: 11px; }
}

/* ── LANDSCAPE PHONE ──────────────────────────────────────────── */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 100vw; height: auto; padding-top: 72px; }
  .hero-inner { padding: 20px 20px 28px; }
  .nav-menu { height: 100dvh; }
  /* (modal landscape handled in dedicated modal responsive block) */
}

/* ── PRINT ────────────────────────────────────────────────────── */
@media print {
  .nav, .filterbar, .search-wrap, .hero-dots,
  .hero-progress, .mbg, .nav-toggle { display: none !important; }
  .hero { height: auto; min-height: 0; }
  .hero-inner { padding: 40px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}


/* ================================================================
   SEARCH BAR — CONSOLIDATED RESPONSIVE (single source of truth)
   Desktop → Tablet 2-col wrap → Phone single column stacked
   ================================================================ */

/* ── Tablet: 2-column grid wrap (≤900px) ── */
@media (max-width: 900px) {
  .search-wrap {
    padding: 24px 20px;
  }

  .search-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 20px 20px 16px;
    gap: 0;
    border-radius: 14px;
  }

  /* Hide vertical dividers */
  .sg-divider { display: none; }

  /* Search field: full width top row */
  .sg.sg-search {
    flex: 1 1 100%;
    padding: 12px 4px 8px;
    border-bottom: 1px solid var(--g200);
  }

  /* Other filters: 2 per row */
  .sg:not(.sg-search) {
    flex: 1 1 calc(50% - 1px);
    padding: 12px 8px 8px;
    border-bottom: 1px solid var(--g200);
    min-width: 0;
  }

  /* Every other pair: remove right border */
  .sg:not(.sg-search):nth-child(even) {
    border-right: none;
  }
  .sg:not(.sg-search):nth-child(odd) {
    border-right: 1px solid var(--g200);
  }

  /* Reset button: full width bottom */
  .search-btn {
    flex: 1 1 100%;
    margin: 12px 0 0;
    padding: 13px 16px;
    border-radius: 10px;
    align-self: auto;
    text-align: center;
  }
}

/* ── Phone: fully stacked single column (≤600px) ── */
@media (max-width: 600px) {
  .search-wrap {
    padding: 16px 14px;
  }

  .search-card {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    gap: 0;
  }

  /* Every field: full width, separated by a border */
  .sg,
  .sg.sg-search,
  .sg:not(.sg-search) {
    flex: 1 1 100%;
    width: 100%;
    padding: 14px 18px;
    border-bottom: 1px solid var(--g200);
    border-right: none !important;
  }

  .sg:last-of-type {
    border-bottom: 1px solid var(--g200);
  }

  .sg-label {
    font-size: 9px;
    letter-spacing: 1.2px;
    margin-bottom: 2px;
  }

  .sg input,
  .sg select {
    font-size: 14px;
    padding: 8px 0;
  }

  /* Reset button: full width, prominent */
  .search-btn {
    flex: 1 1 100%;
    width: 100%;
    margin: 0;
    padding: 15px 18px;
    border-radius: 0 0 14px 14px;
    border: none;
    border-top: 1px solid var(--g200);
    font-size: 12px;
    background: #f8f9fb;
    color: var(--g600);
    align-self: auto;
  }

  .search-btn:hover {
    background: #f0f1f4;
    color: var(--black);
  }
}

/* ── Small phone (≤480px) ── */
@media (max-width: 480px) {
  .search-wrap {
    padding: 12px 12px;
  }

  .search-card {
    border-radius: 12px;
  }

  .sg,
  .sg.sg-search,
  .sg:not(.sg-search) {
    padding: 12px 16px;
  }

  .sg input,
  .sg select {
    font-size: 13px;
  }

  .search-btn {
    padding: 14px 16px;
    font-size: 11px;
    border-radius: 0 0 12px 12px;
  }
}