/* Sweden Longstay — Sketch design system */
@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --brand-dark: #090900;
  --brand-blue: #4C66A0;
  --brand-blue-light: #7288BD;
  --brand-gray: #CECECE;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F7F7F5;
  --bg-sunken: #EFEFEC;
  --border: #E4E4E0;
  --border-strong: #CECECE;

  /* Text */
  --ink: #090900;
  --ink-2: #3A3A33;
  --ink-3: #6B6B63;
  --ink-4: #9A9A92;

  /* Accent (swappable) */
  --accent: #4C66A0;
  --accent-ink: #FFFFFF;
  --accent-soft: #EEF1F8;

  /* Radius / motion */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(9, 9, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(9, 9, 0, 0.08);
  --shadow-lg: 0 18px 50px rgba(9, 9, 0, 0.14);

  /* Density (compact <-> comfy) */
  --card-gap: 28px;
  --card-pad: 14px;
  --card-title: 16px;
  --grid-cols: repeat(auto-fill, minmax(260px, 1fr));
}

:root[data-density="compact"] {
  --card-gap: 18px;
  --card-pad: 10px;
  --card-title: 15px;
  --grid-cols: repeat(auto-fill, minmax(220px, 1fr));
}

:root[data-theme="dark"] {
  --bg: #0E0E07;
  --bg-soft: #16160E;
  --bg-sunken: #1E1E14;
  --border: #2A2A1F;
  --border-strong: #3A3A2C;
  --ink: #F5F5EF;
  --ink-2: #D8D8CE;
  --ink-3: #9A9A8E;
  --ink-4: #6E6E62;
  --accent-soft: #1B2236;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 18px 50px rgba(0,0,0,0.6);
}

/* ---- type scale ---- */
:root {
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  30px;
  --text-3xl:  38px;
  --text-hero: 68px;

  --lh-tight:   1.0;
  --lh-snug:    1.2;
  --lh-heading: 1.25;
  --lh-normal:  1.45;
  --lh-body:    1.65;

  --ls-hero:    -0.035em;
  --ls-heading: -0.025em;
  --ls-subhead: -0.018em;
  --ls-ui:      -0.01em;
  --ls-body:    -0.005em;
  --ls-label:    0.06em;
}

* { box-sizing: border-box; }
html {
  overflow-x: clip;
}
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Host Grotesk", -apple-system, "Segoe UI", sans-serif;
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Host Grotesk", -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  margin: 0;
  color: var(--ink);
}
h1 { font-size: var(--text-3xl); font-weight: 800; letter-spacing: var(--ls-hero); }
h2 { font-size: var(--text-2xl); font-weight: 700; letter-spacing: var(--ls-heading); }
h3 { font-size: var(--text-xl);  font-weight: 700; letter-spacing: var(--ls-subhead); }
h4 { font-size: var(--text-md);  font-weight: 600; letter-spacing: var(--ls-ui); }

p { margin: 0; line-height: var(--lh-body); }

button { font-family: inherit; font-size: var(--text-base); font-weight: 500; }
input  { font-family: inherit; font-size: var(--text-base); }
a { color: inherit; text-decoration: none; }

/* ---- shared layout ---- */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-wide {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- top nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 0;
}
.nav--over-hero {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  transition: background 350ms ease, backdrop-filter 350ms ease, box-shadow 350ms ease;
}
.nav--over-hero.nav--scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav--over-hero.nav--scrolled .hamburger span { background: var(--ink); }
.nav--over-hero.nav--scrolled .nav-login-btn { background: #090900; }
.nav--solid {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.2) blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.logo img {
  height: 53px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

/* Inline search bar — appears in nav when scrolled past hero */
.nav-search-bar {
  flex: 1;
  min-width: 0;
  max-width: 680px;
  margin: 0 16px;
  display: flex;
  align-items: stretch;
  height: 58px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: visible;
  position: relative;
  animation: nav-search-in 200ms ease;
}
@keyframes nav-search-in {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
.nav-search-bar .sps-field { border-radius: 999px; padding: 8px 14px; }
.nav-search-bar .sps-sep { margin: 10px 0; }
.nav-search-bar .sps-submit { width: 38px; height: 38px; margin: 0 8px; align-self: center; flex-shrink: 0; }

/* Login button */
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  background: #090900;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--ls-ui);
  padding: 9px 20px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 150ms;
}
.nav-login-btn:hover { opacity: 0.8; }
.nav--over-hero .nav-login-btn { background: #090900; }

/* Avatar button — no pill container */
.avatar-btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.avatar {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--brand-dark); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.nav--solid .avatar { border-color: var(--border); }

/* Hamburger */
.hamburger {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  padding: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  position: relative;
  transition: background 200ms, border-color 200ms;
}
.hamburger:hover {
  background: rgba(255,255,255,0.22);
}
.nav--solid .hamburger,
.nav--over-hero.nav--scrolled .hamburger {
  background: transparent;
  border: 1.5px solid var(--border);
  backdrop-filter: none;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 50%; top: 50%;
  transform-origin: center;
  transition: transform 220ms ease, opacity 180ms ease, background 180ms ease;
}
.hamburger span:nth-child(1) { transform: translate(-50%, -7px); }
.hamburger span:nth-child(2) { transform: translate(-50%, 0); }
.hamburger span:nth-child(3) { transform: translate(-50%, 7px); }
.nav--solid .hamburger span { background: var(--ink); }
.hamburger.is-open span { background: var(--ink); }
.hamburger.is-open span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }

/* Menu panel */
.nav-menu-scrim {
  position: fixed; inset: 0;
  background: rgba(9,9,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 50;
}
.nav-menu-scrim.open { opacity: 1; pointer-events: auto; }

.nav-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(400px, 92vw);
  height: 100dvh;
  background: var(--bg);
  box-shadow: -24px 0 80px rgba(9,9,0,0.18);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.nav-menu.open { transform: translateX(0); }

.nav-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-menu-close {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  display: grid; place-items: center;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: background 150ms;
}
.nav-menu-close:hover { background: var(--bg-soft, #f4f4ef); }

.nav-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px 20px;
}
.nav-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-menu-links a {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 150ms;
}
.nav-menu-links a:last-child { border-bottom: 0; }
.nav-menu-links a.active { color: var(--brand-blue); }
.nav-menu-links a:hover { color: var(--accent); }
.nav-menu-links a svg { opacity: 0.35; }

.nav-menu-cta {
  display: block;
  text-align: center;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  margin-top: 20px;
  transition: opacity 150ms;
}
.nav-menu-cta:hover { opacity: 0.85; }

.nav-menu-foot {
  flex-shrink: 0;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-menu-contact a {
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: none;
}
.nav-menu-contact a:hover { color: var(--accent); }

@keyframes menu-item-in {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.nav-menu.open .nav-menu-links a { animation: menu-item-in 0.3s ease both; }
.nav-menu.open .nav-menu-links a:nth-child(1) { animation-delay: 0.04s; }
.nav-menu.open .nav-menu-links a:nth-child(2) { animation-delay: 0.08s; }
.nav-menu.open .nav-menu-links a:nth-child(3) { animation-delay: 0.12s; }
.nav-menu.open .nav-menu-links a:nth-child(4) { animation-delay: 0.16s; }
.nav-menu.open .nav-menu-links a:nth-child(5) { animation-delay: 0.20s; }
.nav-menu.open .nav-menu-links a:nth-child(6) { animation-delay: 0.24s; }
.nav-menu.open .nav-menu-links a:nth-child(7) { animation-delay: 0.28s; }
.nav-menu.open .nav-menu-links a:nth-child(8) { animation-delay: 0.32s; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-toggle button {
  padding: 6px 10px;
  background: transparent;
  border: 0;
  color: var(--ink-3);
  cursor: pointer;
}
.lang-toggle button.on { background: var(--ink); color: var(--bg); }

/* ---- search pill (Airbnb style) ---- */
.search-pill {
  display: inline-flex;
  align-items: stretch;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 20px rgba(76, 102, 160, 0.18), 0 0 0 4px rgba(114, 136, 189, 0.12);
  overflow: hidden;
}
.search-pill .field {
  display: flex;
  flex-direction: column;
  padding: 12px 22px;
  text-align: left;
  cursor: pointer;
  min-width: 130px;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.search-pill .field:hover { background: var(--bg-soft); border-radius: var(--r-pill); }
.search-pill .field.active { background: var(--bg); box-shadow: 0 0 0 1px var(--border-strong) inset; border-radius: var(--r-pill); }
.search-pill .field .lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.search-pill .field .val {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
  white-space: nowrap;
}
.search-pill .field .val.filled { color: var(--ink); }
.search-pill .sep {
  width: 1px;
  background: var(--border);
  margin: 10px 0;
}
.search-pill .search-btn {
  align-self: center;
  margin: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  height: 52px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: background .15s ease, transform .15s ease;
  box-shadow: 0 4px 14px rgba(76, 102, 160, 0.35);
}
.search-pill .search-btn:hover { background: var(--brand-blue); transform: translateY(-1px); }
.search-pill .search-btn.compact { width: 52px; padding: 0; }

/* ---- category rail ---- */
.cat-rail {
  display: flex;
  gap: 36px;
  overflow-x: auto;
  padding: 18px 0 22px;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.cat .ico {
  opacity: 0.7;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: var(--ink-2);
}
.cat:hover { color: var(--ink); }
.cat.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.cat.active .ico { opacity: 1; color: var(--accent); }

/* ---- property cards ---- */
.grid {
  display: grid;
  grid-template-columns: var(--grid-cols);
  gap: var(--card-gap);
}
.card {
  cursor: pointer;
  border-radius: var(--r-lg);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 200ms ease;
}
.card:hover {
  transform: translateY(-3px);
}
.card .media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-sunken);
}
.card-slide-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease;
  will-change: opacity, transform;
}
.card-slide-img.active { opacity: 1; }
.card:hover .card-slide-img { transform: scale(1.05); }
.card:hover .card-slide-img.active { transform: scale(1.05); }

/* Card image nav arrows */
.card-img-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  z-index: 4;
  opacity: 0;
  transition: opacity 180ms;
  backdrop-filter: blur(4px);
}
.card-img-arrow.prev { left: 8px; }
.card-img-arrow.next { right: 8px; }
.card-img-arrow.visible { opacity: 1; }
.card-img-arrow:hover { background: #fff; }

/* Card image dots */
.card-img-dots {
  position: absolute;
  bottom: 10px;
  left: 50%; transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 4;
  opacity: 0;
  transition: opacity 200ms;
}
.card-img-dots.visible { opacity: 1; }
.card-img-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 200ms, width 200ms;
}
.card-img-dot.active {
  width: 16px;
  background: #fff;
}
.card .heart {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  display: grid; place-items: center;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  border: 0;
}
.card .heart.on { color: var(--brand-blue-light); }
.card .badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 5px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(76, 102, 160, 0.3);
}
.card .badge-erbjudande {
  position: absolute;
  bottom: 10px; left: 10px;
  padding: 5px 10px;
  background: #121202;
  font-weight: 700;
  color: #DBDBDB;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
  z-index: 4;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.card:hover .badge-erbjudande { opacity: 1; transform: translateY(0); }
.card .heart.on { color: var(--accent); background: rgba(255,255,255,0.95); }
.card .meta .rate svg { color: var(--accent); }
.card .meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
  align-items: baseline;
}
.card .meta .title {
  font-size: var(--card-title);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.card .meta .rate {
  display: inline-flex; gap: 4px; align-items: center;
  font-size: 13px; color: var(--ink);
  flex-shrink: 0;
}
.card .sub { font-size: 13px; color: var(--ink-3); padding: 0 2px; }
.card .dates { font-size: 13px; color: var(--ink-3); padding: 0 2px; }
.card .price {
  margin-top: 2px;
  padding: 0 2px;
  font-size: 13px;
  color: var(--ink);
}
.card .price b { font-weight: 700; }
.card .price .unit { color: var(--ink-3); font-weight: 500; }

/* ---- search result card body (rich variant) ---- */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 2px;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.card-location {
  font-size: var(--text-xs);
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: var(--ls-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-2);
  flex-shrink: 0;
}
.card-rating svg { color: #F5A623; }
.card-reviews { color: var(--ink-4); font-weight: 400; }
.card-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--ink);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-ui);
  margin: 0;
}
.card-stats {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  color: var(--ink-3);
  letter-spacing: var(--ls-ui);
}
.card-stats span { display: inline-flex; align-items: center; gap: 3px; }
.card-stats svg { color: var(--ink-4); }
.card-dot { color: var(--ink-5); }
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.card-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0;
  white-space: nowrap;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.card-price {
  font-size: var(--text-sm);
  color: var(--ink);
  line-height: 1;
  letter-spacing: var(--ls-ui);
}
.card-from {
  color: var(--ink-4);
  font-weight: 400;
  font-size: var(--text-xs);
}
.card-price b {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--ink);
  letter-spacing: var(--ls-subhead);
}
.card-unit { color: var(--ink-4); font-weight: 400; font-size: var(--text-xs); }

/* ---- carousel ---- */
.carousel-wrap {
  position: relative;
}
.card-rail {
  display: flex;
  gap: var(--card-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.card-rail::-webkit-scrollbar { display: none; }
.card-rail .card {
  flex: 0 0 calc((100% - 3 * var(--card-gap)) / 4);
  min-width: 220px;
  scroll-snap-align: start;
}
.carousel-arrow {
  position: absolute;
  top: calc(50% - 40px);
  transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: grid; place-items: center;
  cursor: pointer;
  transition: opacity .2s, box-shadow .2s;
}
.carousel-arrow:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.carousel-arrow.prev { left: -20px; }
.carousel-arrow.next { right: -20px; }
.carousel-arrow.hidden { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  .card-rail .card { flex: 0 0 calc((100% - var(--card-gap)) / 2.2); }
  .carousel-arrow { display: none; }
}
@media (max-width: 580px) {
  .card-rail .card { flex: 0 0 calc(100% - 40px); }
}

/* ---- section header ---- */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 44px 0 20px;
}
.section-head h2 {
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-snug);
}
.section-head .more {
  font-size: var(--text-sm);
  color: var(--ink-2);
  text-decoration: underline;
  cursor: pointer;
  letter-spacing: var(--ls-ui);
}

/* ---- hero ---- */
.hero {
  position: relative;
  height: 720px;
  overflow: visible;
  padding-bottom: 320px;
}
.hero-bg {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 720px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,9,0,0.35) 0%, rgba(9,9,0,0.1) 30%, rgba(9,9,0,0.5) 100%);
}
.hero-inner {
  position: relative;
  height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
  color: #fff;
}
.hero-copy {
  max-width: 720px;
  padding-bottom: 32px;
}
.hero-copy .eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--r-pill);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-copy h1 {
  margin: 0 0 16px;
  font-size: var(--text-hero);
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: var(--ls-hero);
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--brand-blue-light);
}
.hero-copy p {
  font-size: var(--text-md);
  line-height: var(--lh-normal);
  color: rgba(255,255,255,0.88);
  margin: 0 0 24px;
  max-width: 540px;
  letter-spacing: var(--ls-ui);
}
.hero-search-wrap {
  background: var(--bg);
  border-top-left-radius: var(--r-xl);
  border-top-right-radius: var(--r-xl);
  padding: 22px 0 0;
  margin-top: 20px;
  position: relative;
  z-index: 5;
}

/* ---- stats / trust band ---- */
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-band .stat {
  padding: 0 28px;
  border-right: 1px solid var(--border);
}
.trust-band .stat:last-child { border-right: 0; }
.trust-band .stat .n {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: var(--ls-heading);
  color: var(--ink);
  line-height: var(--lh-snug);
}
.trust-band .stat .l {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: var(--ls-ui);
}

/* ---- Hero stats band ---- */
.hero-stats {
  background-color: #090900;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 60 A30 30 0 0 0 60 60 Z' fill='%237288BD' fill-opacity='0.18'/%3E%3Cpath d='M60 0 A30 30 0 0 1 60 60 Z' fill='%237288BD' fill-opacity='0.18'/%3E%3Cpath d='M60 60 A30 30 0 0 0 60 120 Z' fill='%237288BD' fill-opacity='0.18'/%3E%3Cpath d='M60 60 A30 30 0 0 1 120 60 Z' fill='%237288BD' fill-opacity='0.18'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 56px 80px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(14px);
  animation: hs-in 0.5s ease forwards;
}
.hero-stat:first-child { border-left: none; }
@keyframes hs-in {
  to { opacity: 1; transform: none; }
}
.hs-icon {
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.hs-n {
  font-size: 48px;
  font-weight: 700;
  color: #7288BD;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--font-sans);
}
.hs-l {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  letter-spacing: 0.01em;
}
@media (max-width: 860px) {
  .hero-stats { grid-template-columns: 1fr 1fr; padding: 36px 24px; gap: 36px 0; }
  .hero-stat:nth-child(odd) { border-left: none; }
  .hero-stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.08); }
  .hs-n { font-size: 38px; }
}

/* ---- B2B strip ---- */
.b2b-scroll-root {
  height: 700px;
  position: relative;
  margin: 40px 0 0;
}
.b2b-strip {
  position: sticky;
  bottom: 0;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  background:
    url('../assets/cta.webp')
    center/cover no-repeat;
}
.b2b-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9,9,0,0.72) 0%,
    rgba(9,9,0,0.55) 45%,
    rgba(9,9,0,0.25) 100%
  );
}
.b2b-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  height: 100%;
  padding: 52px 52px 52px;
  gap: 32px;
}
.b2b-left {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.b2b-content {
  position: absolute;
  top: 0; left: 0;
  max-width: 620px;
  will-change: transform;
}
.b2b-content { max-width: 620px; }
.b2b-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.b2b-heading {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -.02em;
}
.b2b-sub {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}
.b2b-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-self: flex-end;
  flex-shrink: 0;
}
.b2b-btn {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
  border: none; cursor: pointer;
}
.b2b-btn:hover { transform: translateY(-2px); }
.b2b-btn--blue {
  background: #4C66A0;
  color: #fff;
  border: none;
}
.b2b-btn--blue:hover { background: #3d5590; }
.b2b-btn--primary {
  background: #fff;
  color: #090900;
}
.b2b-btn--primary:hover { background: rgba(255,255,255,.9); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: var(--ls-ui);
  cursor: pointer;
  line-height: 1;
}
.btn.outline {
  background: transparent;
  color: var(--ink);
}
.btn.blue { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.btn.lg { padding: 14px 28px; font-size: var(--text-md); }

/* ---- footer ---- */
.footer {
  margin-top: 60px;
  background: #090900;
  padding: 56px 0 40px;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
}
.footer-logo img { display: block; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 150ms; }
.footer ul a:hover { color: #fff; }
.footer .brand-line { color: rgba(255,255,255,0.4); font-size: 13px; max-width: 340px; line-height: 1.6; margin-top: 4px; }
.footer-wordmark {
  overflow: hidden;
  padding-top: 24px;
  padding-bottom: 32px;
}
.footer-wordmark-text {
  display: block;
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-weight: 800;
  color: rgba(255,255,255,0.05);
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.3);
  font-size: var(--text-sm);
  letter-spacing: var(--ls-ui);
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 150ms; }
.footer-bottom a:hover { color: #fff; }

/* ---- tweaks panel ---- */
.tweaks {
  position: fixed;
  right: 20px; bottom: 20px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  z-index: 100;
  width: 260px;
  font-size: 13px;
  display: none;
}
.tweaks.open { display: block; }
.tweaks h5 {
  margin: 0 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.tweaks .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.tweaks .row:last-child { margin-bottom: 0; }
.tweaks .row label { color: var(--ink-2); }
.tweaks .seg {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--bg-soft);
}
.tweaks .seg button {
  padding: 5px 10px;
  font-size: 11px;
  background: transparent;
  color: var(--ink-3);
  border: 0;
  cursor: pointer;
  font-weight: 600;
}
.tweaks .seg button.on { background: var(--ink); color: var(--bg); }
.tweaks .swatches { display: inline-flex; gap: 6px; }
.tweaks .sw {
  width: 22px; height: 22px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
}
.tweaks .sw.on { border-color: var(--ink); }

/* ---- filters bar (search results) ---- */
.filters-bar {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
}
/* ---- Search page: filter bar ---- */
.search-filter-bar {
  position: sticky;
  top: 80px;
  z-index: 30;
  background: var(--bg);
  backdrop-filter: none;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.search-filter-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 32px;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 54px;
  max-width: 1280px;
  margin: 0 auto;
}
.search-filter-inner::-webkit-scrollbar { display: none; }
.filter-divider { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; margin: 0 4px; }
.filter-clear {
  font-size: 13px; font-weight: 600;
  color: var(--brand-blue);
  background: none; border: none; cursor: pointer; padding: 4px 8px;
  border-radius: var(--r-md); white-space: nowrap; flex-shrink: 0;
}
.filter-clear:hover { background: rgba(114,136,189,0.1); }
.filter-chip-all { flex-shrink: 0; border-color: var(--ink) !important; font-weight: 600; }

/* ---- Search results layout ---- */
.results-shell {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 0;
  height: calc(100vh - 134px);
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
}
/* full-list mode */
.results-shell.view-list { grid-template-columns: 1fr; }
.results-shell.view-list .results-map { display: none; }
.results-shell.view-list .results-grid { grid-template-columns: repeat(3, 1fr); }
/* full-map mode — map goes fixed/fullscreen */
.results-shell.view-map { grid-template-columns: 1fr; }
.results-shell.view-map .results-list { display: none; }
.results-shell.view-map .results-map {
  position: fixed;
  inset: 134px 0 0 0;
  height: calc(100vh - 134px);
  width: 100%;
  z-index: 50;
}

/* View toggle floating button */
.view-toggle-wrap {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  pointer-events: none;
}
.view-toggle-group {
  display: inline-flex;
  background: #0d0d0d;
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 2px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  pointer-events: all;
}
.vtg-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: var(--text-sm); font-weight: 600;
  letter-spacing: var(--ls-ui);
  border: none; cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,0.6);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.vtg-btn:hover { color: #fff; }
.vtg-btn.active { background: #fff; color: #0d0d0d; }
.results-list {
  padding: 24px 32px 60px;
  overflow-y: auto;
  height: 100%;
}
.results-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 24px;
}
.results-header-left {}
.results-count {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px;
}
.results-title {
  font-size: var(--text-xl); font-weight: 700; letter-spacing: var(--ls-subhead); margin: 0; line-height: var(--lh-snug);
}
.results-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 40px; color: var(--ink-3); text-align: center;
  font-size: 15px;
}

/* 2-column card grid */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.results-grid-item {
  border-radius: var(--r-lg);
  transition: transform .15s;
}
.results-grid-item.highlighted .card .media { outline: 2.5px solid var(--brand-blue); outline-offset: -2px; border-radius: var(--r-lg); }

/* Map panel */
.results-map {
  position: sticky;
  top: 0;
  height: 100%;
  overflow: hidden;
}
.leaflet-map-container {
  width: 100%;
  height: 100%;
}

/* Leaflet price pin */
.lf-pin-wrap { background: none !important; border: none !important; }
.map-price-pin {
  display: inline-flex; align-items: center; justify-content: center;
  background: #090900;
  color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 6px 10px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: background .15s, transform .15s;
  transform: translateX(-50%);
}
.map-price-pin:hover { background: #7288BD; transform: translateX(-50%) scale(1.08); }
.map-price-pin.active {
  background: #7288BD;
  transform: translateX(-50%) scale(1.12);
  box-shadow: 0 4px 14px rgba(114,136,189,0.45);
  z-index: 1000;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink);
}
.filter-chip:hover { border-color: var(--brand-blue-light); color: var(--brand-blue); }
.filter-chip.on { background: #090900; color: #fff; border-color: #090900; }

/* ---- results layout ---- */
.results-shell {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 0;
  min-height: calc(100vh - 80px);
}
.results-list {
  padding: 24px 40px 60px;
  overflow-y: auto;
}
.results-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.results-list .count {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.results-list h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}
.sort-select {
  appearance: none;
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a6480' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s;
}
.sort-select:hover { border-color: var(--brand-blue-light); }
.sort-select:focus { outline: none; border-color: var(--brand-blue); }
.results-map {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  background: var(--bg-sunken);
}

/* map tile-like background */
.map-canvas {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, #E6EEF5 0%, transparent 40%),
    radial-gradient(circle at 75% 60%, #E1E9F2 0%, transparent 45%),
    linear-gradient(180deg, #EAEFEE 0%, #E0E6E5 100%);
}
:root[data-theme="dark"] .map-canvas {
  background:
    radial-gradient(circle at 20% 30%, #1B2A3E 0%, transparent 40%),
    radial-gradient(circle at 75% 60%, #17243A 0%, transparent 45%),
    linear-gradient(180deg, #101821 0%, #0C131B 100%);
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(9,9,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9,9,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.map-pin:hover { transform: translate(-50%, -50%) scale(1.06); }
.map-pin.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.map-controls {
  position: absolute; top: 18px; right: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.map-controls button {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}
.map-legend {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  box-shadow: var(--shadow-md);
}
.map-legend input { accent-color: var(--brand-blue); }

@media (max-width: 1300px) {
  .results-shell { grid-template-columns: 1fr 440px; }
}
@media (max-width: 900px) {
  .results-grid { grid-template-columns: 1fr; }
}

/* search-results card (horizontal) */
.rcard {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.rcard .rmedia {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-sunken);
}
.rcard .rmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rcard:hover .rmedia img { transform: scale(1.03); }
.rcard.active .rmedia { box-shadow: 0 0 0 2.5px var(--brand-blue); }
.rcard .rbody { display: flex; flex-direction: column; gap: 6px; }
.rcard .rbody .top {
  display: flex; justify-content: space-between; gap: 12px;
  align-items: start;
}
.rcard .rbody h3 {
  margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3;
}
.rcard .rbody .city { font-size: 13px; color: var(--ink-3); }
.rcard .rbody .amen {
  font-size: 13px; color: var(--ink-2); margin-top: 6px;
  line-height: 1.5;
}
.rcard .rbody .tags {
  display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap;
}
.rcard .rbody .tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-soft);
  color: var(--ink-2);
  border-radius: var(--r-pill);
}
.rcard .rbody .foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: end;
}
.rcard .rbody .foot .price {
  font-size: 17px; font-weight: 700;
}
.rcard .rbody .foot .price .per {
  font-size: 13px; color: var(--ink-3); font-weight: 500;
}

/* ---- property detail page ---- */
.pd-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-3);
  margin-bottom: 12px;
}
.pd-breadcrumb a {
  color: var(--brand-blue); text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
}
.pd-breadcrumb a:hover { text-decoration: underline; }
.pd-breadcrumb .sep { color: var(--ink-4); }

.pd-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin: 20px 0 10px;
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-snug);
}
.pd-meta {
  display: flex; gap: 16px; color: var(--ink-2);
  font-size: var(--text-sm); margin-bottom: 18px;
  flex-wrap: wrap;
  align-items: center;
  letter-spacing: var(--ls-ui);
}
.pd-meta .dot { width: 3px; height: 3px; border-radius: 999px; background: var(--ink-4); }
.pd-gallery {
  display: grid;
  gap: 6px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 32px;
  cursor: pointer;
}
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; background: var(--bg-sunken); display: block; }
.pd-gallery img:hover { opacity: 0.92; transition: opacity .15s; }
.pd-gallery .more-btn { position: relative; }
.pd-gallery .more-btn span {
  position: absolute; right: 14px; bottom: 14px;
  background: #0d0d0d; color: #fff;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* 1 image: full width tall */
.pd-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 480px; }

/* 2 images: side by side */
.pd-gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 400px; }

/* 3 images: large left + 2 stacked right */
.pd-gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 200px 200px; }
.pd-gallery--3 img:first-child { grid-row: span 2; }

/* 4 images: large left + 3 stacked right */
.pd-gallery--4 { grid-template-columns: 2fr 1fr; grid-template-rows: 133px 133px 133px; }
.pd-gallery--4 img:first-child { grid-row: span 3; }

/* 5+ images: classic mosaic */
.pd-gallery--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; }
.pd-gallery--5 img:first-child { grid-row: span 2; }

.pd-body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
.pd-left h2 {
  font-size: var(--text-xl); font-weight: 700;
  margin: 0 0 6px; letter-spacing: var(--ls-subhead);
  line-height: var(--lh-snug);
}
.pd-left .host-line {
  color: var(--ink-2);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  margin-bottom: 22px;
}
.pd-left .feature-row {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.pd-left .feature-row:last-of-type { border-bottom: 1px solid var(--border); }
.pd-left .feature-row .ico {
  width: 36px; height: 36px;
  color: var(--ink-2);
  flex-shrink: 0;
}
.pd-left .feature-row h4 { margin: 0 0 2px; font-size: var(--text-base); font-weight: 600; letter-spacing: var(--ls-ui); }
.pd-left .feature-row p { margin: 0; color: var(--ink-3); font-size: var(--text-sm); line-height: var(--lh-normal); }

.pd-left .desc {
  padding: 30px 0;
  line-height: var(--lh-body);
  color: var(--ink-2);
  font-size: var(--text-base);
}
.pd-left .desc p { margin: 0 0 14px; }

.pd-left .amen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.pd-left .amen {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 15px;
}
.pd-left .amen svg { color: var(--ink-2); }

/* ---- property booking sidebar (branded, sticky) ---- */
.pd-book {
  position: sticky;
  top: 100px;
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: 0 10px 40px rgba(76, 102, 160, 0.18), 0 0 0 1px rgba(76, 102, 160, 0.08);
  overflow: hidden;
}
.pd-book-head {
  background: #0c2340;
  color: #fff;
  padding: 22px 24px 20px;
  position: relative;
  overflow: hidden;
}
.pd-book-head .price-row {
  display: flex; align-items: baseline; gap: 6px;
  position: relative; z-index: 1;
}
.pd-book-head .price-row .p {
  font-size: var(--text-3xl); font-weight: 800;
  letter-spacing: var(--ls-heading);
}
.pd-book-head .price-row .p2 {
  font-size: var(--text-sm); opacity: 0.85;
  letter-spacing: var(--ls-ui);
}
.pd-book-head .price-row .rate {
  margin-left: auto;
  display: inline-flex; gap: 4px; align-items: center;
  font-size: 13px;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.pd-book-head .sub {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
  position: relative; z-index: 1;
}

/* Key info strip */
.pd-keyinfo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border);
}
.pd-keyinfo .ki {
  padding: 11px 8px;
  text-align: center;
  border-right: 1px solid rgba(76, 102, 160, 0.12);
}
.pd-keyinfo .ki:last-child { border-right: 0; }
.pd-keyinfo .ki svg { color: var(--brand-blue); margin-bottom: 4px; }
.pd-keyinfo .ki .n {
  font-size: 15px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
}
.pd-keyinfo .ki .l {
  font-size: 10px; color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
  font-weight: 600;
}

.pd-book-body { padding: 16px 20px 20px; }

.pd-book .input-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--brand-blue-light);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 12px;
}
.pd-book .input-grid--3 {
  grid-template-columns: 1fr 1fr;
}
.pd-book .ifield {
  padding: 12px 14px;
  border-right: 1px solid rgba(114, 136, 189, 0.35);
  border-bottom: 1px solid rgba(114, 136, 189, 0.35);
  cursor: pointer;
  transition: background .15s;
}
.pd-book .ifield:hover { background: rgba(114, 136, 189, 0.07); }
.pd-book .ifield.active {
  background: rgba(114, 136, 189, 0.12);
  box-shadow: inset 0 0 0 2px var(--brand-blue);
}
.pd-book .input-grid--3 .ifield--dates:last-of-type { border-right: 0; }
.pd-book .ifield--guests {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: default;
}
.pd-book .ifield--guests:hover { background: transparent; }
.guests-ctrl {
  display: flex; align-items: center; gap: 10px;
}
.g-btn {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  flex-shrink: 0;
}
.g-btn:hover { border-color: var(--brand-blue); background: rgba(76,102,160,0.06); }
.g-val {
  font-size: 15px; font-weight: 700;
  min-width: 20px; text-align: center;
  color: var(--ink);
}
.pd-book .ifield:nth-last-child(-n+2) { border-bottom: 0; }
.pd-book .ifield .lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--brand-blue);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 4px;
}
.pd-book .ifield .val { font-size: 13px; color: var(--ink); margin-top: 3px; font-weight: 600; }

.pd-book .big-btn {
  width: 100%;
  padding: 16px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 0;
  border-radius: var(--r-md);
  cursor: pointer;
  margin-top: 6px;
  transition: all .15s;
  box-shadow: 0 6px 18px rgba(76, 102, 160, 0.35);
}
.pd-book .big-btn:hover { background: #3f5788; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(76, 102, 160, 0.45); }
.pd-book .note {
  text-align: center; color: var(--ink-3);
  font-size: 12px; margin: 8px 0 14px;
}
.pd-book .breakdown {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pd-book .breakdown.total {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
.pd-book .breakdown.total b { color: var(--brand-blue); font-size: 16px; }

/* trust strip inside sidebar */
.pd-book .trust-strip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-top: 14px;
  background: rgba(114, 136, 189, 0.08);
  border: 1px solid rgba(114, 136, 189, 0.2);
  border-radius: var(--r-md);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.4;
}
.pd-book .trust-strip svg { color: var(--brand-blue); flex-shrink: 0; margin-top: 1px; }
.pd-book .trust-strip b { color: var(--ink); display: block; font-size: 13px; margin-bottom: 2px; }

/* host card inside sidebar */
.pd-book .host-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; align-items: center; gap: 12px;
}
.pd-book .host-card .host-avatar {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.pd-book .host-card .ht { font-size: 13px; font-weight: 600; color: var(--ink); }
.pd-book .host-card .hs { font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.pd-book .host-card .contact-btn {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--brand-blue);
  background: transparent;
  color: var(--brand-blue);
  font-weight: 600; font-size: 12px;
  cursor: pointer;
}
.pd-book .host-card .contact-btn:hover { background: var(--brand-blue); color: #fff; }

/* datepicker */
.dp {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  display: flex;
  gap: 28px;
}
.dp-month { min-width: 240px; }
.dp-head {
  display: flex; justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 14px;
}
.dp-head button {
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent;
  cursor: pointer; color: var(--ink);
}
.dp-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-size: 12px;
}
.dp-grid .dow {
  color: var(--ink-3);
  padding: 4px 0;
  font-weight: 600;
}
.dp-grid .day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
}
.dp-grid .day:hover { background: var(--bg-soft); }
.dp-grid .day.mute { color: var(--ink-4); pointer-events: none; }
.dp-grid .day.range { background: var(--bg-soft); border-radius: 0; }
.dp-grid .day.start, .dp-grid .day.end {
  background: var(--ink); color: var(--bg);
}
.dp-grid .day.start { border-top-left-radius: 999px; border-bottom-left-radius: 999px; }
.dp-grid .day.end { border-top-right-radius: 999px; border-bottom-right-radius: 999px; }

/* suggest dropdown */
.suggest {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  min-width: 340px;
  padding: 12px;
  z-index: 50;
}
.suggest .row {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-md);
  cursor: pointer;
  align-items: center;
}
.suggest .row:hover { background: var(--bg-soft); }
.suggest .row .ico {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--ink-2);
  flex-shrink: 0;
}
.suggest .row .t { font-size: 14px; font-weight: 600; }
.suggest .row .s { font-size: 12px; color: var(--ink-3); }

/* small util */
.row-flex { display: flex; align-items: center; gap: 8px; }
.spacer { flex: 1; }
.hide-scroll { scrollbar-width: none; }
.hide-scroll::-webkit-scrollbar { display: none; }

/* misc */
.chip-icon svg { width: 16px; height: 16px; }
.star { color: var(--ink); }

/* responsive safety */
@media (max-width: 1100px) {
  .results-shell { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .results-list { height: auto; overflow: visible; }
  .results-map { display: none; }
  .pd-body { grid-template-columns: 1fr; }
  .pd-book { position: static; }
}


/* ---- Full-viewport hero (Journeo-style) ---- */
/* ---- Scroll-driven hero ---- */
.hero-scroll-root {
  height: calc(5.1 * 100vh);
  position: relative;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-videos {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(9,9,0,0.42) 0%,
    rgba(9,9,0,0.12) 40%,
    rgba(9,9,0,0.58) 100%);
}
.hero-sticky .hero-full-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: end;
  gap: 60px;
  height: 100vh;
  padding-top: 110px;
  padding-bottom: 80px;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}
.hero-slides-wrap {
  display: grid;
  align-self: end;
  align-content: end;
  overflow: hidden;
  padding-bottom: 4px;
  height: 480px;
}
.hero-slide {
  grid-row: 1;
  grid-column: 1;
  will-change: transform, opacity;
  max-width: 640px;
  padding-bottom: 0;
}
.hero-slides-wrap .hero-slide h1 {
  font-size: clamp(56px, 6vw, 84px);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-hero);
  font-weight: 800;
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  margin: 0 0 20px;
}
.hero-slides-wrap .hero-slide h1 em { font-style: normal; color: #fff; }
.hero-slide p {
  font-size: var(--text-md);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-ui);
  color: rgba(255,255,255,0.85);
  max-width: 420px;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.hero-dots-wrap {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.38);
  transition: background 400ms;
}
.hero-dot.active {
  background: #fff;
}

/* ---- Google review badge ---- */
.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 220ms ease;
  opacity: 0.6;
  white-space: nowrap;
}
.google-review-badge:hover { opacity: 1; }
.google-review-badge .grb-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  flex-shrink: 0;
}
.google-review-badge .grb-stars { color: #FBBC05; letter-spacing: 1px; font-size: 14px; }
.google-review-badge .grb-text { color: #fff; }

/* ---- Keep old .hero.hero-full for search/property pages ---- */
.hero.hero-full {
  position: relative;
  min-height: 100vh;
  padding-bottom: 0;
  overflow: visible;
}
.hero.hero-full .container.hero-full-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: end;
  gap: 56px;
  min-height: 100vh;
  padding-top: 128px;
  padding-bottom: 72px;
  color: #fff;
}
.hero.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.hero.hero-full .hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,9,0,0.40) 0%, rgba(9,9,0,0.15) 35%, rgba(9,9,0,0.55) 100%);
}
.hero-full-inner {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
  gap: 56px;
  padding-top: 128px;
  padding-bottom: 72px;
  color: #fff;
}
.hero-copy-lg { max-width: 640px; padding-bottom: 0; }
.hero-copy-lg h1 {
  font-size: 80px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 20px;
}
.hero-copy-lg h1 em { font-style: normal; color: var(--brand-blue-light); }
.hero-copy-lg p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.eyebrow-pill::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--brand-blue);
  border-radius: 999px;
}

.hero-search-col {
  width: 460px;
  max-width: 460px;
  align-self: auto;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ---- Search panel card (vertical) ---- */
.sp-card {
  background: #fff;
  border-radius: 28px;
  padding: 22px 22px 20px;
  box-shadow: 0 30px 80px rgba(9,9,0,0.28), 0 2px 8px rgba(9,9,0,0.08);
  position: relative;
  color: var(--ink);
  width: 100%;
}
.sp-title {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: var(--ls-subhead);
  line-height: var(--lh-snug);
  margin-bottom: 14px;
}
.sp-tabs {
  display: inline-flex;
  background: var(--bg-soft, #F4F4EF);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 14px;
  width: 100%;
}
.sp-tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  border-radius: 999px;
  cursor: pointer;
  transition: all 160ms ease;
}
.sp-tab.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(9,9,0,0.12);
}
.sp-body { display: flex; flex-direction: column; gap: 2px; position: relative; }

.sp-field-slot {
  position: relative;
}

.sp-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  color: var(--ink);
  position: relative;
  transition: background 140ms ease, box-shadow 140ms ease;
}
.sp-field + .sp-field { margin-top: 2px; }
.sp-field:hover { background: var(--bg-soft, #F4F4EF); }
.sp-field.is-active {
  background: #fff;
  box-shadow: 0 4px 14px rgba(9,9,0,0.08), inset 0 0 0 1.5px var(--ink);
}
.sp-field-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sp-field-val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--ls-ui);
}
.sp-field-val .filled { color: var(--ink); }
.sp-field-val .ph { color: var(--ink-4, #9A9A8E); font-weight: 400; }
.sp-field-val svg { color: var(--ink-3); flex-shrink: 0; }

.sp-field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.sp-field-pair .sp-field-half {
  padding: 12px 14px;
}

/* popovers inside the card */
.sp-pop {
  position: absolute;
  left: -6px; right: -6px;
  top: 100%;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(9,9,0,0.22), 0 2px 8px rgba(9,9,0,0.06);
  z-index: 20;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px;
  transform-origin: top center;
}
.sp-pop-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 2px 2px 6px;
  background: var(--bg-soft, #F4F4EF);
  border-radius: 12px;
  color: var(--ink-3);
}
.sp-pop-search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
}
.sp-pop-search input::placeholder { color: var(--ink-4, #9A9A8E); }
.sp-pop-guests { padding: 6px 16px 14px; }
.sp-pop-cat { padding: 6px; }
.sp-pop-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
}
.sp-pop-clear {
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sp-pop-done {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.sp-pop-done:hover { opacity: 0.9; }
@keyframes sp-pop-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sp-pop-dates { left: auto; right: 100%; margin-right: 20px; top: 0; margin-top: 0; width: 640px; padding: 18px; }

/* On desktop, card dropdowns open to the LEFT of the search card */
@media (min-width: 900px) {
  .sp-card { position: relative; }
  .sp-card .sp-body { position: static; }
  .sp-card .sp-field-slot { position: static; }
  .sp-card .sp-pop {
    right: calc(100% + 12px);
    left: auto;
    top: auto;
    bottom: 0;
    width: 320px;
    margin-top: 0;
    transform-origin: bottom right;
    animation: sp-pop-in-left 180ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }
  .sp-card .sp-pop-dates {
    right: calc(100% + 12px);
    left: auto;
    margin-right: 0;
    width: 640px;
    top: auto;
    bottom: 0;
  }
}
@keyframes sp-pop-in-left {
  from { opacity: 0; transform: translateX(10px) scale(0.98); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.sp-pop-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px 4px;
}
.sp-pop-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
  transition: background 120ms ease;
}
.sp-pop-row:hover { background: var(--bg-soft, #F4F4EF); }
.sp-pop-row .t { font-size: 14px; font-weight: 600; }
.sp-pop-row .s { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.sp-pop-row .sp-pop-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-soft, #F4F4EF);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--ink);
}
.sp-pop-row > svg { flex-shrink: 0; color: var(--ink); }
.sp-pop-row.is-active { background: var(--bg-soft, #F4F4EF); }
.sp-pop-row.is-active .sp-pop-icon { background: var(--ink); color: #fff; }

/* Guests counter rows */
.sp-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.sp-counter:last-of-type { border-bottom: 0; }
.sp-counter-txt { flex: 1; min-width: 0; }
.sp-counter-lbl { font-weight: 600; font-size: 15px; color: var(--ink); }
.sp-counter-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.sp-counter-val { width: 28px; text-align: center; font-size: 15px; font-weight: 500; }

/* ---- Advanced search — subtle toggle + icon badges ---- */
.sp-adv-toggle {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; margin-top: 10px;
  background: none; border: none; cursor: pointer;
  padding: 2px 0;
  font-size: 11px; font-weight: 500;
  color: var(--ink-4);
  letter-spacing: 0.02em;
  transition: color .15s;
}
.sp-adv-toggle svg { transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1); }
.sp-adv-toggle.open svg { transform: rotate(180deg); }
.sp-adv-toggle:hover { color: var(--ink-2); }

.sp-adv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.sp-adv-badges.open {
  max-height: 120px;
  opacity: 1;
  padding: 12px 4px 4px;
  overflow: visible;
}

.sp-adv-badge {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .12s;
  flex-shrink: 0;
}
.sp-adv-badge:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.sp-adv-badge.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* Tooltip */
.sp-adv-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  background: #111;
  color: #fff;
  font-size: 11px; font-weight: 500;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 9999;
}
.sp-adv-tip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #111;
}
.sp-adv-badge:hover .sp-adv-tip { opacity: 1; }

.sp-submit {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 999px;
  background: #4C66A0;
  color: #fff;
  border: 0;
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: var(--ls-ui);
  cursor: pointer;
  width: 100%;
  transition: background 160ms ease, transform 140ms ease;
}
.sp-submit:hover { background: #090900; }
.sp-submit:active { transform: translateY(1px); }

.ctr-btn {
  width: 30px; height: 30px; border-radius: 999px;
  border: 1px solid var(--border-strong, var(--border));
  background: #fff; color: var(--ink);
  cursor: pointer; display: grid; place-items: center;
  font-size: 16px; line-height: 1;
}
.ctr-btn:hover { border-color: var(--ink); }

/* ---- Inline date range picker (used in both sp-card and sticky) ---- */
.idp { display: flex; flex-direction: column; gap: 14px; min-width: 560px; }
.idp-top { display: flex; align-items: center; justify-content: space-between; }
.idp-clear {
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 2px;
}
.idp-tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--bg-soft, #F4F4EF);
  padding: 4px;
  border-radius: 999px;
  align-self: flex-start;
}
.idp-tabs button {
  border: 0; background: transparent;
  padding: 6px 14px; font-size: 12px; font-weight: 600;
  border-radius: 999px; color: var(--ink-3); cursor: pointer;
}
.idp-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(9,9,0,0.10); }
.idp-grid-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.idp-month .idp-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600; margin-bottom: 8px;
}
.idp-month .idp-head button {
  width: 26px; height: 26px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff;
  cursor: pointer; font-size: 14px;
}
.idp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: 12px;
}
.idp-grid .dow {
  text-align: center;
  font-weight: 600;
  color: var(--ink-3);
  padding: 6px 0;
}
.idp-grid .day {
  text-align: center;
  padding: 8px 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
  font-size: 12px;
}
.idp-grid .day:hover { background: var(--bg-soft, #F4F4EF); }
.idp-grid .day.range { background: var(--bg-soft, #F4F4EF); border-radius: 0; }
.idp-grid .day.start, .idp-grid .day.end {
  background: var(--ink); color: #fff; font-weight: 600;
}

/* ---- Sticky compact search bar ---- */
.sp-sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 35;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.sp-sticky.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sp-sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 40px 10px calc(40px + 126px + 24px); /* leave room under logo */
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 80px;
  position: relative;
}
.sps-field-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
}
.sps-field {
  position: relative;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 14px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  outline: none;
  user-select: none;
}
.sps-field:hover { background: var(--bg-soft, #F4F4EF); }
.sps-field.is-active { background: #fff; box-shadow: 0 6px 20px rgba(9,9,0,0.08), inset 0 0 0 1.5px var(--ink); }
.sps-lbl { font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.sps-val { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.sps-val.ph { color: var(--ink-4, #9A9A8E); font-weight: 400; }
.sps-sep {
  width: 1px;
  background: var(--border);
  margin: 12px 0;
  flex-shrink: 0;
}
.sps-submit {
  flex-shrink: 0;
  align-self: center;
  margin-left: 12px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.sps-submit:hover { opacity: 0.9; }
.sps-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  z-index: 40;
}
.sps-pop-wide { min-width: 640px; }

/* Popovers inside sticky bar — override the sp-card's inset positioning */
.sps-field-wrap > .sp-pop {
  left: 0;
  right: auto;
  min-width: 320px;
  top: 100%;
  margin-top: 10px;
}
.sps-field-wrap > .sp-pop.sp-pop-dates {
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-right: 0;
  width: 640px;
  min-width: 640px;
}
.sps-field-wrap > .sp-pop.sp-pop-dates { animation: sp-pop-in-center 180ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes sp-pop-in-center {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
.sps-field-wrap:last-of-type > .sp-pop:not(.sp-pop-dates) {
  left: auto;
  right: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .hero-full-inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 120px;
  }
  .hero-sticky .hero-full-inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 96px;
    padding-bottom: 40px;
    padding-left: 24px;
    padding-right: 24px;
    gap: 24px;
    max-width: 100%;
  }
  .hero-slide h1 { font-size: 52px; }
  .hero-search-col {
    width: 100%;
    max-width: 520px;
    padding-bottom: 32px;
    align-self: auto;
  }
  .hero-copy-lg h1 { font-size: 56px; }
  .sp-pop-dates { right: auto; left: -12px; top: 100%; margin-right: 0; margin-top: 10px; width: auto; max-width: 92vw; }
  .idp { min-width: 0; }
  .idp-grid-wrap { grid-template-columns: 1fr; }
  .sp-sticky-inner { padding-left: 72px; padding-right: 16px; }
  .sps-sep { display: none; }
  .sps-field { flex: 0 0 auto; }
}
@media (max-width: 680px) {
  .nav-inner { height: 64px; }
  .logo img { height: 40px; }
  .hero-sticky .hero-full-inner { padding-top: 80px; }
  .hero-slide h1 { font-size: 42px; line-height: 1.05; }
  .hero-slide p { font-size: 15px; }
  .hero-dots-wrap { bottom: 20px; }
  .section-head h2 { font-size: 20px; }
  .card-rail .card { flex: 0 0 calc(100% - 32px); }
  .carousel-arrow { display: none; }
  .hero-search-col { max-width: 100%; }
}

/* ================================================================
   CONTENT PAGE LAYOUTS
   ================================================================ */

/* Subpage hero */
.lp-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #1c1c14 60%, #0e1520 100%);
  padding: 120px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 60% 50%, rgba(114,136,189,0.15) 0%, transparent 70%);
}
.lp-hero .container { position: relative; z-index: 1; }
.lp-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.lp-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.lp-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.65;
  margin: 0 0 32px;
}
.lp-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sections */
.lp-section {
  padding: 80px 0;
}
.lp-section-alt {
  background: var(--bg-soft, #f4f4ef);
}
.lp-section-dark {
  background: var(--ink);
  color: #fff;
}
.lp-section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lp-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.lp-section-sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 600px;
  line-height: 1.65;
  margin: 0 0 48px;
}
.lp-section-dark .lp-section-sub { color: rgba(255,255,255,0.65); }
.lp-section-dark h2 { color: #fff; }

/* Card grid */
.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .lp-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lp-grid-2, .lp-grid-3 { grid-template-columns: 1fr; } }

/* Feature card */
.lp-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}
.lp-section-alt .lp-card { background: #fff; }
.lp-card-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-soft, #f4f4ef);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.lp-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.lp-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
}

/* CTA band */
.lp-cta-band {
  background: var(--ink);
  border-radius: 20px;
  padding: 64px;
  text-align: center;
  color: #fff;
  margin: 0 0 80px;
}
.lp-cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.lp-cta-band p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  margin: 0 0 32px;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}
.lp-cta-band-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: opacity 150ms, background 150ms;
}
.lp-btn-primary {
  background: var(--accent);
  color: #fff;
}
.lp-btn-primary:hover { opacity: 0.85; }
.lp-btn-dark {
  background: var(--ink);
  color: #fff;
}
.lp-btn-dark:hover { opacity: 0.85; }
.lp-btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.lp-btn-outline:hover { background: var(--bg-soft, #f4f4ef); }
.lp-btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.lp-btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 22px 0;
  cursor: pointer;
  gap: 16px;
}
.faq-q svg { flex-shrink: 0; transition: transform 200ms; }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  padding-bottom: 22px;
  max-width: 680px;
}

/* Contact / Form */
.lp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .lp-contact-grid { grid-template-columns: 1fr; } }
.lp-person-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 16px;
}
.lp-person-avatar {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.lp-person-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.lp-person-role { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.lp-person-links { display: flex; gap: 8px; }
.lp-person-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.lp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.lp-field input,
.lp-field textarea,
.lp-field select {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color 150ms;
  width: 100%;
  box-sizing: border-box;
}
.lp-field input:focus,
.lp-field textarea:focus,
.lp-field select:focus {
  border-color: var(--accent);
}
.lp-field textarea { resize: vertical; min-height: 120px; }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .lp-form-row { grid-template-columns: 1fr; } }

/* City destination cards */
.lp-dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.lp-dest-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 200ms, border-color 200ms;
}
.lp-dest-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(114,136,189,0.15);
}
.lp-dest-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-soft, #f4f4ef);
  display: grid; place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.lp-dest-name { font-weight: 700; font-size: 15px; }
.lp-dest-count { font-size: 13px; color: var(--ink-3); }

/* Blog / offer cards */
.lp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .lp-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lp-blog-grid { grid-template-columns: 1fr; } }
.lp-blog-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: box-shadow 200ms;
}
.lp-blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.lp-blog-img {
  aspect-ratio: 16/9;
  background: var(--bg-soft);
  overflow: hidden;
}
.lp-blog-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-blog-body { padding: 20px; }
.lp-blog-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.lp-blog-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; line-height: 1.35; }
.lp-blog-card p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* Stat strip */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 700px) { .lp-stats { grid-template-columns: 1fr 1fr; } }
.lp-stat {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.lp-stat:last-child { border-right: 0; }
.lp-stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.lp-stat-lbl { font-size: 13px; color: var(--ink-3); }

/* Prose text */
.lp-prose {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
}
.lp-prose h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 32px 0 10px; }
.lp-prose p { margin: 0 0 16px; }
.lp-prose ul { padding-left: 20px; margin: 0 0 16px; }
.lp-prose li { margin-bottom: 8px; }

/* ================================================================
   COMPREHENSIVE RESPONSIVE — all breakpoints
   2026 UX standards: safe-area, 100svh, touch targets ≥44px
   ================================================================ */

/* ---- Container padding shrinks on small screens ---- */
@media (max-width: 680px) {
  .container { padding: 0 20px; }
}

/* ---- Hero: mobile becomes natural-height section, no sticky scroll trick ---- */
@media (max-width: 1100px) {
  .hero-scroll-root {
    height: auto;
    min-height: 100svh;
  }
  .hero-sticky {
    position: relative;
    top: 0;
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
  .hero-videos {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 100svh;
  }
  .hero-sticky .hero-full-inner { min-height: 0; }
  .hero-dots-wrap { display: flex; }
  .google-review-badge { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .hero-sticky .hero-full-inner {
    padding-top: 88px;
    padding-bottom: 36px;
    gap: 16px;
  }
  .hero-slides-wrap { height: auto; min-height: 0; }
  .hero-slide h1 { font-size: 38px; line-height: 1.06; }
  .hero-slide p { font-size: 14px; line-height: 1.55; }
  .sp-card { border-radius: 20px; padding: 18px 16px 16px; }
  .sp-title { font-size: 16px; }
}

/* ---- Trust band: 2×2 on mobile ---- */
@media (max-width: 768px) {
  .trust-band {
    grid-template-columns: 1fr 1fr;
    padding: 24px 0;
  }
  .trust-band .stat { padding: 16px 20px; border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-band .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .trust-band .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .trust-band .stat .n { font-size: 26px; }
}

/* ---- B2B strip: mobile ---- */
@media (max-width: 768px) {
  .b2b-scroll-root { height: auto; }
  .b2b-strip { position: relative; height: auto; min-height: 440px; border-radius: 16px; }
  .b2b-inner { grid-template-columns: 1fr; padding: 32px 28px 36px; align-items: flex-end; }
  .b2b-left { height: auto; min-height: 300px; }
  .b2b-content { position: relative; top: auto; left: auto; }
  .b2b-actions { flex-wrap: wrap; align-self: flex-start; margin-top: 24px; }
  .b2b-btn { padding: 12px 22px; font-size: 14px; }
}

/* ---- Section headers ---- */
@media (max-width: 680px) {
  .section-head { margin: 32px 0 14px; }
}

/* ---- Footer: 2-col tablet, 1-col mobile ---- */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; align-items: center; }
}

/* ---- Search page: stacked cards on mobile ---- */
@media (max-width: 700px) {
  .rcard { grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; }
  .rcard .rmedia { border-radius: 10px; }
  .rcard .rbody h3 { font-size: 15px; }
  .results-list { padding: 16px 20px 40px; }
  .results-list h1 { font-size: 18px; }
}
@media (max-width: 480px) {
  .rcard { grid-template-columns: 1fr; }
  .rcard .rmedia { aspect-ratio: 16 / 9; }
}

/* Filters bar: horizontal scroll on mobile, never wraps */
@media (max-width: 860px) {
  .filters-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
  .filters-bar::-webkit-scrollbar { display: none; }
  .filter-chip { white-space: nowrap; flex-shrink: 0; }
}

/* ---- Property page ---- */
/* Gallery: 2-col mosaic on tablet */
@media (max-width: 900px) {
  .pd-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 160px;
  }
  .pd-gallery img:first-child { grid-row: span 1; grid-column: span 2; }
  .pd-gallery img:nth-child(n+4),
  .pd-gallery .more-btn:not(:nth-child(3)) { display: block; }
}

/* Gallery: single full-width image on mobile */
@media (max-width: 600px) {
  .pd-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 260px;
    height: 260px;
  }
  .pd-gallery img:not(:first-child) { display: none; }
  .pd-gallery .more-btn { display: none; }
  .pd-gallery img:first-child { grid-column: auto; border-radius: 14px; }
  .pd-title { font-size: 22px; margin-top: 16px; }
  .pd-meta { flex-wrap: wrap; gap: 10px; }
  .pd-meta .dot { display: none; }
}

/* Booking widget inline on tablet/mobile, sticky CTA bar floats above fold */
@media (max-width: 1100px) {
  .pd-book { margin-top: 32px; margin-bottom: 100px; }
}

/* ---- property: availability pill in sidebar header ---- */
.pd-book-head .avail-pill {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.03em;
  position: relative; z-index: 1;
}
.pd-book-head .avail-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.3);
  flex-shrink: 0;
}

/* ---- property: duration quick-select ---- */
.pd-book-body .dur-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em;
  color: var(--ink-3); text-transform: uppercase;
  margin-bottom: 8px;
}
.dur-pills {
  display: flex; gap: 6px;
  margin-bottom: 14px;
}
.dur-pill {
  flex: 1;
  padding: 8px 4px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.dur-pill:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.dur-pill.active {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #fff;
}

/* ---- property: map section ---- */
.pd-map-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.pd-map-section h2 {
  font-size: 22px; font-weight: 700;
  margin: 0 0 8px; letter-spacing: -0.015em;
}
.pd-map-address {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink-2);
  margin-bottom: 16px;
}
.pd-map-address svg { color: var(--brand-blue); flex-shrink: 0; }
.pd-map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 360px;
}
.pd-map-wrap iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
  filter: grayscale(10%);
}

/* ---- property: same-city slider ---- */
.city-slider-section {
  background: var(--bg-sunken);
  padding: 48px 0 56px;
  margin-top: 56px;
  border-top: 1px solid var(--border);
}
.city-slider-title {
  font-size: 24px; font-weight: 700;
  margin: 0 0 20px; letter-spacing: -0.02em;
}
.city-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.city-slider::-webkit-scrollbar { display: none; }
.city-slide-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
  display: block;
}
.city-slide-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.csc-img {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: var(--bg-sunken);
}
.csc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.csc-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: var(--r-pill);
  text-transform: uppercase;
}
.csc-badge--new { background: var(--brand-blue); }
.csc-body { padding: 12px 14px 14px; }
.csc-title {
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.csc-meta { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.csc-footer { display: flex; align-items: center; justify-content: space-between; }
.csc-price { font-size: 13px; color: var(--ink-2); }
.csc-price b { color: var(--ink); font-weight: 700; }
.csc-rating {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.csc-rating svg { color: var(--accent); }

/* ---- property: meta bar actions (Dela / Spara) ---- */
.pd-meta-reviews {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink); text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color .15s;
}
.pd-meta-reviews:hover { text-decoration-color: var(--ink-3); }

.pd-verified-wrap {
  position: relative;
  display: inline-flex; align-items: center;
}
.pd-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%; transform: translateX(-50%);
  width: 260px;
  background: #0d0d0d;
  color: #fff;
  font-size: 12px; line-height: 1.5;
  padding: 10px 14px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 200;
  font-weight: 400;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.pd-tooltip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0d0d0d;
}
.pd-verified-wrap:hover .pd-tooltip { display: block; }

.pd-action {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; cursor: pointer;
  position: relative;
  transition: color .15s;
}
.pd-action:hover { color: var(--accent); }
.pd-action.saved { color: #e63946; }
.pd-action.saved svg { fill: #e63946; }

.share-toast {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: #0d0d0d;
  color: #fff;
  font-size: 12px; font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 200;
}

/* ---- property: reviews section ---- */
.reviews-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.reviews-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.reviews-header h2 { margin: 0; }
.reviews-score {
  display: inline-flex; align-items: center; gap: 6px;
}
.rs-num { font-size: var(--text-xl); font-weight: 800; color: var(--ink); letter-spacing: var(--ls-heading); }
.rs-count { font-size: var(--text-sm); color: var(--ink-3); letter-spacing: var(--ls-ui); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.review-top {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-info { flex: 1; }
.review-name { font-weight: 600; font-size: var(--text-sm); color: var(--ink); letter-spacing: var(--ls-ui); }
.review-date { font-size: var(--text-xs); color: var(--ink-3); margin-top: 1px; }
.review-stars { display: inline-flex; gap: 2px; }
.review-text {
  font-size: var(--text-sm); line-height: var(--lh-body);
  color: var(--ink-2); margin: 0;
}

/* ---- slider with arrows ---- */
.slider-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.slider-header .city-slider-title { margin-bottom: 0; }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink-2);
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  flex-shrink: 0;
}
.slider-arrow:hover:not(.disabled) { border-color: var(--brand-blue); color: var(--brand-blue); background: rgba(76,102,160,0.06); }
.slider-arrow.disabled { opacity: 0.35; cursor: default; }

/* ---- nearby features ---- */
.nearby-section {
  margin: 32px 0 0;
}
.nearby-section h2 { margin-bottom: 14px; }
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 700px) { .nearby-grid { grid-template-columns: repeat(2, 1fr); } }
.nearby-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.nearby-icon {
  color: var(--brand-blue);
  flex-shrink: 0;
  display: flex; align-items: center;
}
.nearby-label {
  font-size: var(--text-xs); color: var(--ink-3); font-weight: 500;
  line-height: var(--lh-normal); letter-spacing: var(--ls-ui);
}
.nearby-dist {
  font-size: var(--text-md); font-weight: 700; color: var(--ink);
  letter-spacing: var(--ls-subhead); margin-top: 2px;
}

/* ---- rent alternatives ---- */
.rent-alts-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.rent-alts-section h2 { margin-bottom: 4px; }
.rent-alts-sub {
  font-size: var(--text-sm); color: var(--ink-3); margin: 0 0 20px;
  letter-spacing: var(--ls-ui); line-height: var(--lh-body);
}
.rent-alts-list {
  display: flex; flex-direction: column; gap: 12px;
}
.rent-alt-card {
  display: flex; gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
  background: var(--bg);
}
.rent-alt-card:not(.unavailable):hover {
  border-color: var(--brand-blue);
  box-shadow: 0 2px 16px rgba(76,102,160,0.12);
}
.rent-alt-card.unavailable { opacity: 0.55; }
.rac-img {
  width: 120px; flex-shrink: 0;
  position: relative;
}
.rac-img img { width: 100%; height: 100%; object-fit: cover; }
.rac-unavail-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45);
  color: #fff; font-size: 12px; font-weight: 600;
  text-align: center; padding: 8px;
}
.rac-body {
  flex: 1; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.rac-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.rac-stats {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--ink-3);
}
.rac-stats span { display: inline-flex; align-items: center; gap: 3px; }
.rac-price { margin-top: auto; padding-top: 8px; }
.rac-amount { font-size: 17px; font-weight: 700; color: var(--ink); }
.rac-unit { font-size: 13px; color: var(--ink-3); }
.rac-action {
  padding: 14px 16px;
  display: flex; align-items: center;
  flex-shrink: 0;
}
.rac-btn {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 0;
  background: #0c2340;
  color: #fff;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.rac-btn:hover { background: var(--brand-blue); }
.rac-btn--off {
  background: var(--bg-sunken);
  color: var(--ink-4);
  cursor: not-allowed;
}
.rac-btn--off:hover { background: var(--bg-sunken); }

/* ---- area slider (same as city slider but with subtle bg variation) ---- */
.city-slider-section--area { background: var(--bg); }

/* Sticky mobile booking CTA */
.pd-book-mobile-cta {
  display: none;
}
@media (max-width: 1100px) {
  .pd-book-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    border-top: 1px solid var(--border);
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    align-items: center;
    gap: 16px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  }
  .pd-book-mobile-cta .cta-price {
    display: flex; flex-direction: column;
  }
  .pd-book-mobile-cta .cta-amount {
    font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1;
  }
  .pd-book-mobile-cta .cta-unit {
    font-size: 11px; color: var(--ink-3); margin-top: 2px;
  }
  .pd-book-mobile-cta .cta-btn {
    flex: 1;
    padding: 14px 20px;
    background: var(--brand-blue);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    min-height: 48px;
    transition: background 150ms;
  }
  .pd-book-mobile-cta .cta-btn:hover { background: #3f5788; }
  .pd-book-mobile-cta .cta-rating {
    font-size: 13px; color: var(--ink-3);
    display: flex; align-items: center; gap: 4px;
  }
}

/* ---- Photo lightbox ---- */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lb-fade-in 180ms ease;
}
@keyframes lb-fade-in { from { opacity: 0; } to { opacity: 1; } }
.lb-img {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
  display: block;
}
.lb-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,0.12); border: 0; color: #fff;
  cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(8px); transition: background 150ms;
  font-size: 18px; line-height: 1;
}
.lb-close:hover { background: rgba(255,255,255,0.22); }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,0.12); border: 0; color: #fff;
  cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(8px); transition: background 150ms;
}
.lb-btn:hover { background: rgba(255,255,255,0.24); }
.lb-btn.lb-prev { left: 16px; }
.lb-btn.lb-next { right: 16px; }
.lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 600;
  background: rgba(0,0,0,0.45); padding: 5px 14px; border-radius: 999px;
  backdrop-filter: blur(6px); white-space: nowrap;
}
@media (max-width: 680px) {
  .lb-btn.lb-prev { left: 8px; }
  .lb-btn.lb-next { right: 8px; }
}

/* Gallery images: pointer cursor + hover darken */
.pd-gallery img, .pd-gallery .more-btn { cursor: pointer; }
.pd-gallery img:hover { filter: brightness(0.92); transition: filter 200ms; }

/* ---- Touch / a11y: ensure all tappable elements ≥44px ---- */
@media (hover: none) {
  .hamburger { min-width: 44px; min-height: 44px; }
  .nav-menu-close { min-width: 44px; min-height: 44px; }
  .ctr-btn { min-width: 44px; min-height: 44px; }
  .card-img-arrow { min-width: 44px; min-height: 44px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-video, .card-slide-img, .badge-erbjudande,
  .nav-menu, .sp-pop, .lb-overlay {
    transition: none !important;
    animation: none !important;
  }
}

/* ================================================================
   LOGIN PAGE
   ================================================================ */
.login-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left brand panel */
.login-brand {
  background: linear-gradient(155deg, #1a3060 0%, var(--brand-blue) 60%, #2e5091 100%);
  color: #fff;
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.login-brand::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px; border-radius: 999px;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.login-brand::after {
  content: "";
  position: absolute; left: -60px; bottom: -60px;
  width: 280px; height: 280px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.login-brand-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  position: relative; z-index: 1;
}
.login-brand-body h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}
.login-brand-body p {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
  max-width: 340px;
}
.login-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.login-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.85;
}
.login-feat svg { flex-shrink: 0; opacity: 0.9; }
.login-brand-stats {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative; z-index: 1;
}
.login-brand-stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.login-brand-stats b {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.login-brand-stats span {
  font-size: 11px;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Right form panel */
.login-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  background: var(--bg);
}
.login-form-inner {
  width: 100%;
  max-width: 400px;
}
.login-logo-mobile { display: none; margin-bottom: 32px; }
.login-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
}
.login-sub {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 28px;
  line-height: 1.5;
}
.bankid-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all .15s;
  margin-bottom: 0;
}
.bankid-btn:hover {
  border-color: #193E83;
  background: rgba(25, 62, 131, 0.04);
  color: #193E83;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--ink-4);
  font-size: 12px;
}
.login-divider::before, .login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.form-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
  font-family: inherit;
}
.form-field input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(114, 136, 189, 0.18);
}
.form-field input::placeholder { color: var(--ink-4); }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 46px; }
.pass-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--ink-3); cursor: pointer; padding: 4px;
  display: flex; align-items: center;
}
.pass-toggle:hover { color: var(--ink); }
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.remember-check {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-2); cursor: pointer;
}
.remember-check input { accent-color: var(--brand-blue); width: 14px; height: 14px; }
.forgot-link {
  font-size: 13px; color: var(--brand-blue);
  text-decoration: none; font-weight: 500;
}
.forgot-link:hover { text-decoration: underline; }
.login-submit {
  width: 100%;
  padding: 15px;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  box-shadow: 0 6px 18px rgba(76, 102, 160, 0.3);
  font-family: inherit;
}
.login-submit:hover:not(:disabled) {
  background: #3f5788;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(76, 102, 160, 0.4);
}
.login-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.login-register {
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 22px;
  line-height: 1.8;
}
.login-register a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
}
.login-register a:hover { text-decoration: underline; }

/* Demo quick-login block */
.demo-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.demo-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.demo-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}
.demo-users {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  cursor: pointer;
  text-align: left;
  transition: all .15s;
  font-family: inherit;
  width: 100%;
}
.demo-user-btn:hover:not(:disabled) {
  border-color: var(--brand-blue-light);
  background: var(--accent-soft);
}
.demo-user-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}
.demo-user-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.demo-avatar {
  width: 32px; height: 32px;
  border-radius: 999px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.demo-user-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.demo-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.demo-user-role {
  font-size: 11px;
  color: var(--ink-3);
}
@keyframes demo-spin { to { transform: rotate(360deg); } }
.demo-spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--brand-blue);
  border-radius: 999px;
  flex-shrink: 0;
  animation: demo-spin .6s linear infinite;
}

@media (max-width: 820px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-logo-mobile { display: block; }
  .login-form-wrap { padding: 48px 24px; min-height: 100svh; }
}

/* ================================================================
   DASHBOARD
   ================================================================ */
.dash-wrap {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
  background: var(--bg-sunken);
}
.dash-sidebar {
  background: linear-gradient(180deg, #1a3060 0%, var(--brand-blue) 100%);
  color: #fff;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
}
.dash-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.dash-logo { display: block; }
.dash-sidebar-close {
  display: none;
  background: rgba(255,255,255,0.12); border: none;
  color: #fff; border-radius: var(--r-md);
  padding: 6px; cursor: pointer;
}
.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all .15s;
  font-family: inherit;
}
.dash-nav-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
.dash-nav-item.active {
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 700;
}
.dash-sidebar-foot {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 14px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-foot-link {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-md);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all .15s;
}
.dash-foot-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.dash-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 49;
}

/* Main area */
.dash-main {
  padding: 32px 40px 60px;
  overflow-y: auto;
  min-height: 100vh;
}
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dash-hamburger {
  display: none;
  background: none; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 8px; cursor: pointer;
  color: var(--ink);
}
.dash-topbar h1 {
  font-size: 22px; font-weight: 700;
  margin: 0 0 2px; letter-spacing: -0.02em;
}
.dash-topbar p {
  font-size: 13px; color: var(--ink-3); margin: 0;
}
.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-notif-btn {
  position: relative;
  background: none; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 9px;
  cursor: pointer; color: var(--ink-2);
  display: flex; align-items: center;
  transition: all .15s;
}
.dash-notif-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.dash-notif-dot {
  position: absolute; top: 7px; right: 7px;
  width: 7px; height: 7px; border-radius: 999px;
  background: #ef4444;
  border: 1.5px solid var(--bg);
}
.dash-user-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color .15s;
}
.dash-user-chip:hover { border-color: var(--brand-blue-light); }
.dash-user-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.dash-avatar {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}

/* Section */
.dash-section { margin-bottom: 32px; }
.dash-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px;
}
.dash-section h2 {
  font-size: 17px; font-weight: 700;
  margin: 0; letter-spacing: -0.01em;
}
.dash-see-link {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 13px; color: var(--brand-blue);
  text-decoration: none; font-weight: 500;
  background: none; border: none; cursor: pointer;
  padding: 0; font-family: inherit;
}
.dash-see-link:hover { text-decoration: underline; }

/* Booking card */
.dash-booking-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dash-booking-media {
  position: relative;
  aspect-ratio: 4/3;
}
.dash-booking-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.dash-booking-info {
  padding: 24px 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-booking-loc {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--ink-3);
}
.dash-booking-info h3 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em; margin: 0;
}
.dash-booking-specs {
  display: flex; gap: 16px;
  font-size: 13px; color: var(--ink-2);
}
.dash-booking-specs span {
  display: inline-flex; align-items: center; gap: 5px;
}
.dash-booking-dates {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0;
}
.dash-date-chip {
  padding: 8px 14px;
  background: var(--bg-sunken);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 2px;
}
.dash-date-chip.dash-date-length { background: rgba(114, 136, 189, 0.1); }
.dash-date-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); }
.dash-date-val { font-size: 14px; font-weight: 700; color: var(--ink); }
.dash-date-arrow { color: var(--ink-4); }
.dash-booking-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 4px;
}
.dash-btn-primary {
  padding: 10px 18px;
  background: var(--brand-blue); color: #fff;
  border: none; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .15s;
  font-family: inherit;
}
.dash-btn-primary:hover { background: #3f5788; }
.dash-btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: var(--bg-sunken); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s;
  font-family: inherit;
}
.dash-btn-secondary:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.dash-btn-ghost {
  margin-left: auto;
  padding: 7px 14px;
  background: none; color: var(--brand-blue);
  border: 1px solid var(--brand-blue-light);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .15s;
  font-family: inherit; flex-shrink: 0;
}
.dash-btn-ghost:hover { background: var(--accent-soft); }
.dash-badge-active {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(22, 163, 74, 0.9);
  color: #fff; font-size: 11px; font-weight: 700;
  backdrop-filter: blur(4px);
}
.dash-badge-active::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: #fff; opacity: 0.9;
}
.dash-badge-past {
  display: inline-flex; padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-sunken); color: var(--ink-3);
  font-size: 11px; font-weight: 600;
  flex-shrink: 0;
}

/* Quick actions */
.dash-quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.dash-quick-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 18px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  cursor: pointer; transition: all .15s;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}
.dash-quick-item:hover {
  border-color: var(--brand-blue-light);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.dash-quick-item svg { color: var(--brand-blue); }

/* Booking history */
.dash-history {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dash-history-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background .15s;
}
.dash-history-row:last-child { border-bottom: 0; }
.dash-history-row:hover { background: var(--bg-sunken); }
.dash-history-row img {
  width: 72px; height: 54px;
  object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0;
}
.dash-history-text { flex: 1; min-width: 0; }
.dash-history-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.dash-history-meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* Trust row */
.dash-trust-row {
  display: flex; gap: 24px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-top: 8px;
}
.dash-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-3);
  flex: 1;
}
.dash-trust-item svg { color: var(--brand-blue); flex-shrink: 0; }

/* Dashboard responsive */
@media (max-width: 1100px) {
  .dash-quick-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-trust-row { flex-direction: column; gap: 14px; }
}
@media (max-width: 900px) {
  .dash-booking-card { grid-template-columns: 1fr; }
  .dash-booking-media { aspect-ratio: 16/9; }
  .dash-booking-info { padding: 0 20px 20px; }
}
@media (max-width: 768px) {
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: fixed; left: -260px; top: 0; height: 100%;
    width: 248px; transition: left .25s;
    padding: 20px 16px;
  }
  .dash-sidebar.open { left: 0; }
  .dash-sidebar-close { display: flex; align-items: center; }
  .dash-hamburger { display: flex; align-items: center; }
  .dash-main { padding: 20px 16px 60px; }
  .dash-topbar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .dash-topbar-right { align-self: flex-end; }
  .dash-user-name { display: none; }
  .dash-quick-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-history-row { gap: 12px; padding: 14px 16px; }
}
@media (max-width: 480px) {
  .dash-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-booking-dates { gap: 6px; }
}

/* ── Nav badge ───────────────────────────────────────── */
.dash-nav-badge {
  margin-left: auto;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}

/* ── Count pill ──────────────────────────────────────── */
.dash-count-pill {
  font-size: 12px; color: var(--ink-3);
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 500;
}

/* ── Plain card ──────────────────────────────────────── */
.dash-card-plain {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.dash-card-desc { font-size: 14px; color: var(--ink-2); margin: 0 0 18px; line-height: 1.55; }

/* ── Extend booking picker ───────────────────────────── */
.extend-picker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.extend-chip {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.extend-chip:hover { border-color: var(--brand-blue-light); color: var(--brand-blue); }
.extend-chip.active { border-color: var(--brand-blue); background: var(--accent-soft); color: var(--brand-blue); }
.extend-summary {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--bg-sunken);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.extend-summary div { display: flex; flex-direction: column; gap: 3px; }
.extend-summary span { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 700; }
.extend-summary b { font-size: 16px; color: var(--ink); letter-spacing: -.01em; }

/* ── Doc filter tabs ─────────────────────────────────── */
.doc-filter-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.doc-filter-tab {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.doc-filter-tab:hover { border-color: var(--brand-blue-light); color: var(--brand-blue); }
.doc-filter-tab.active { border-color: var(--brand-blue); background: var(--accent-soft); color: var(--brand-blue); }

/* ── Doc list ────────────────────────────────────────── */
.doc-list {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.doc-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.doc-row:last-child { border-bottom: 0; }
.doc-row:hover { background: var(--bg-sunken); }
.doc-type-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.doc-row-info { flex: 1; min-width: 0; }
.doc-row-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.doc-row-meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.doc-row-actions { display: flex; gap: 6px; align-items: center; }
.doc-action-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.doc-action-btn:hover { border-color: var(--brand-blue-light); color: var(--brand-blue); }
.doc-action-btn.primary { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }
.doc-action-btn.primary:hover { background: #3f5788; }
.status-pill {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}

/* ── Messages layout ─────────────────────────────────── */
.messages-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: calc(100vh - 220px);
  min-height: 480px;
  box-shadow: var(--shadow-sm);
}
.messages-sidebar {
  border-right: 1px solid var(--border);
  overflow-y: auto;
  background: var(--bg-sunken);
}
.messages-sidebar-head {
  padding: 16px 16px 12px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--border);
}
.messages-conv {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  cursor: pointer; transition: background .15s;
  border-bottom: 1px solid var(--border);
}
.messages-conv:hover { background: rgba(0,0,0,0.03); }
.messages-conv.active { background: var(--accent-soft); }
.msg-avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  color: #fff; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.msg-avatar.sm { width: 28px; height: 28px; font-size: 10px; flex-shrink: 0; }
.msg-conv-info { flex: 1; min-width: 0; }
.msg-conv-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.msg-conv-last { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.msg-conv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.msg-conv-time { font-size: 11px; color: var(--ink-4); }
.msg-unread-dot {
  width: 18px; height: 18px;
  border-radius: 999px; background: var(--brand-blue);
  color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}
.messages-window { display: flex; flex-direction: column; overflow: hidden; }
.messages-window-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.msg-head-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.msg-head-role { font-size: 12px; color: var(--ink-3); }
.messages-thread {
  flex: 1; overflow-y: auto;
  padding: 20px 20px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-sunken);
}
.msg-bubble-wrap {
  display: flex; align-items: flex-end; gap: 8px;
}
.msg-bubble-wrap.me { flex-direction: row-reverse; }
.msg-bubble-col { display: flex; flex-direction: column; gap: 3px; max-width: 72%; }
.msg-bubble-wrap.me .msg-bubble-col { align-items: flex-end; }
.msg-bubble {
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px 18px 18px 4px;
  font-size: 14px; color: var(--ink); line-height: 1.45;
  box-shadow: var(--shadow-sm);
}
.msg-bubble.me {
  background: var(--brand-blue); color: #fff; border-color: transparent;
  border-radius: 18px 18px 4px 18px;
}
.msg-time { font-size: 11px; color: var(--ink-4); padding: 0 4px; }
.messages-input-row {
  display: flex; gap: 8px; padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.messages-input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 14px; color: var(--ink);
  background: var(--bg-sunken);
  font-family: inherit;
  transition: border-color .15s;
}
.messages-input:focus { outline: none; border-color: var(--brand-blue); }
.messages-input::placeholder { color: var(--ink-4); }
.messages-send-btn {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--brand-blue); color: #fff; border: none;
  display: grid; place-items: center;
  cursor: pointer; transition: background .15s;
  flex-shrink: 0;
}
.messages-send-btn:hover:not(:disabled) { background: #3f5788; }
.messages-send-btn:disabled { opacity: .4; cursor: default; }
@media (max-width: 700px) {
  .messages-layout { grid-template-columns: 1fr; height: auto; }
  .messages-sidebar { max-height: 200px; }
  .messages-thread { min-height: 300px; }
}

/* ── Profile ─────────────────────────────────────────── */
.profile-avatar-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.profile-big-avatar {
  width: 64px; height: 64px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: #fff; display: grid; place-items: center;
  font-size: 24px; font-weight: 700; flex-shrink: 0;
}
.profile-name { font-size: 18px; font-weight: 700; color: var(--ink); }
.profile-role { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.profile-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.profile-field { display: flex; flex-direction: column; gap: 5px; }
.profile-field label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2);
}
.profile-field input {
  padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: 14px; color: var(--ink); background: var(--bg-sunken);
  font-family: inherit; transition: border-color .15s;
}
.profile-field input:focus { outline: none; border-color: var(--brand-blue); }
.profile-form-actions { margin-top: 20px; }
@media (max-width: 600px) { .profile-form { grid-template-columns: 1fr; } }
.notif-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.notif-row:last-child { border-bottom: 0; padding-bottom: 0; }
.notif-row-text { flex: 1; }
.notif-row-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.notif-row-desc { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.notif-toggle {
  width: 44px; height: 24px;
  border-radius: 999px;
  background: var(--border);
  border: none; cursor: pointer;
  position: relative; flex-shrink: 0;
  transition: background .2s;
}
.notif-toggle.on { background: var(--brand-blue); }
.notif-toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: #fff;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.notif-toggle.on .notif-toggle-knob { transform: translateX(20px); }
.security-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.security-row:first-child { padding-top: 0; }
.security-row:last-child { border-bottom: 0; padding-bottom: 0; }
.security-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.security-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* ── Help center ─────────────────────────────────────── */
.help-hero {
  background: linear-gradient(135deg, #1a3060 0%, var(--brand-blue) 100%);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  margin-bottom: 28px;
  color: #fff;
}
.help-hero h2 { font-size: 22px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.02em; }
.help-hero p { font-size: 14px; opacity: .8; margin: 0 0 20px; }
.help-search-wrap {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--r-pill);
  padding: 10px 16px;
}
.help-search-input {
  flex: 1; border: none; background: transparent;
  font-size: 14px; color: var(--ink); font-family: inherit;
}
.help-search-input:focus { outline: none; }
.help-search-input::placeholder { color: var(--ink-3); }
.help-search-clear {
  background: none; border: none; cursor: pointer;
  color: var(--ink-3); display: flex; align-items: center;
  padding: 2px;
}
.help-cats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.help-cat-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; text-align: left;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer; transition: all .15s;
  font-family: inherit;
}
.help-cat-card:hover { border-color: var(--brand-blue-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.help-cat-card.active { border-color: var(--brand-blue); background: var(--accent-soft); }
.help-cat-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: grid; place-items: center;
}
.help-cat-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.help-cat-count { font-size: 12px; color: var(--ink-3); }
.help-empty { font-size: 14px; color: var(--ink-3); padding: 24px 0; }
.help-empty a { color: var(--brand-blue); }
.help-articles {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.help-article { border-bottom: 1px solid var(--border); }
.help-article:last-child { border-bottom: 0; }
.help-article-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 20px;
  background: none; border: none; text-align: left;
  font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.help-article-q:hover { background: var(--bg-sunken); }
.help-article.open .help-article-q { color: var(--brand-blue); }
.help-article-a {
  padding: 0 20px 18px 20px;
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
  border-top: 1px solid var(--border);
  background: var(--bg-sunken);
  padding-top: 14px;
}
.help-contact-cta {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 28px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); margin-top: 8px;
  box-shadow: var(--shadow-sm);
}
.help-contact-cta > svg { color: var(--brand-blue); flex-shrink: 0; }
.help-contact-cta > div { flex: 1; }
.help-cta-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.help-cta-sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.help-cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .help-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .help-hero { padding: 24px 20px; }
  .help-contact-cta { flex-direction: column; align-items: flex-start; }
}

/* ── Modals ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: lb-fade-in .15s ease;
}
.modal-panel {
  background: var(--bg); border-radius: var(--r-lg);
  padding: 32px 32px 28px;
  max-width: 480px; width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg-sunken); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 6px;
  color: var(--ink-2); cursor: pointer; display: flex; align-items: center;
  transition: all .15s;
}
.modal-close:hover { background: var(--border); color: var(--ink); }
.modal-icon-head { margin-bottom: 12px; }
.modal-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 4px; color: var(--ink); }
.modal-sub { font-size: 13px; color: var(--ink-3); margin: 0 0 20px; }
.modal-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-3);
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
/* Wifi creds */
.wifi-cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wifi-cred {
  padding: 14px 16px;
  background: var(--bg-sunken); border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.wifi-cred-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: 5px; }
.wifi-cred-val { font-size: 15px; font-weight: 700; color: var(--ink); }
.wifi-cred-val.mono { font-family: monospace; letter-spacing: .04em; }
/* Guide steps */
.guide-steps { display: flex; flex-direction: column; gap: 0; }
.guide-step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.guide-step:last-child { border-bottom: 0; }
.guide-step-num {
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--brand-blue); color: #fff;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center; flex-shrink: 0; margin-top: 2px;
}
.guide-step-icon { color: var(--brand-blue); flex-shrink: 0; margin-top: 3px; }
.guide-step-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.guide-step-text { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
/* Damage form */
.damage-form { display: flex; flex-direction: column; gap: 14px; }
.damage-field { display: flex; flex-direction: column; gap: 5px; }
.damage-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); }
.damage-field select, .damage-field textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: 14px; color: var(--ink); background: var(--bg-sunken);
  font-family: inherit; resize: vertical; transition: border-color .15s;
}
.damage-field select:focus, .damage-field textarea:focus { outline: none; border-color: var(--brand-blue); }
.damage-upload {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  border: 2px dashed var(--border); border-radius: var(--r-md);
  font-size: 13px; color: var(--ink-3); cursor: pointer;
  transition: all .15s;
}
.damage-upload:hover { border-color: var(--brand-blue-light); color: var(--brand-blue); }
.damage-success {
  text-align: center; padding: 12px 0 8px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.damage-success-icon {
  width: 60px; height: 60px; border-radius: 999px;
  background: rgba(34,197,94,.12); color: #16a34a;
  display: grid; place-items: center; margin-bottom: 4px;
}
.damage-success h3 { font-size: 20px; font-weight: 700; margin: 0; }
.damage-success p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ================================================================
   FLOATING CONTACT BUTTON
   ================================================================ */
.float-contact {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.float-contact-btn {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform 180ms ease, background 180ms ease;
}
.float-contact-btn:hover { transform: scale(1.08); background: #1ebe5d; }
.float-contact.open .float-contact-btn { background: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.float-contact-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fc-in 160ms cubic-bezier(0.2,0.8,0.2,1) forwards;
}
@keyframes fc-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.float-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  transition: transform 140ms ease, box-shadow 140ms ease;
  white-space: nowrap;
}
.float-contact-item:hover { transform: translateX(-3px); box-shadow: 0 4px 18px rgba(0,0,0,.16); }
.fci-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.fci-wa   { background: #25D366; color: #fff; }
.fci-phone { background: #4C66A0; color: #fff; }
.fci-mail  { background: var(--bg-sunken); color: var(--ink); }

/* ================================================================
   POPULAR BADGE ON CARDS
   ================================================================ */
.badge-popular {
  position: absolute;
  top: 10px; left: 10px;
  background: #090900;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

/* ================================================================
   INQUIRY MODAL
   ================================================================ */
.inq-overlay {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: fc-in 160ms ease forwards;
}
.inq-modal {
  background: var(--bg);
  border-radius: 20px;
  width: 100%; max-width: 500px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  position: relative;
}
.inq-modal h2 { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.inq-modal-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.inq-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg-soft); border: none; border-radius: 50%;
  width: 32px; height: 32px; cursor: pointer; display: grid; place-items: center;
  color: var(--ink-2);
}
.inq-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.inq-field label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.inq-field input, .inq-field textarea, .inq-field select {
  border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 11px 13px;
  font-size: 14px; font-family: inherit;
  background: var(--bg); color: var(--ink);
  outline: none; transition: border-color 140ms;
}
.inq-field input:focus, .inq-field textarea:focus { border-color: var(--brand-blue); }
.inq-field textarea { resize: vertical; min-height: 90px; }
.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inq-actions { display: flex; gap: 10px; margin-top: 18px; }
.inq-btn-wa {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff; border: none; border-radius: 999px;
  padding: 13px 18px; font-size: 14px; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: background 150ms;
}
.inq-btn-wa:hover { background: #1ebe5d; }
.inq-btn-mail {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-soft); color: var(--ink); border: none; border-radius: 999px;
  padding: 13px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 150ms;
}
.inq-btn-mail:hover { background: var(--border); }
.inq-sent {
  text-align: center; padding: 20px 0 8px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.inq-sent-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(37,211,102,.12); color: #16a34a;
  display: grid; place-items: center;
}
.inq-sent h3 { font-size: 20px; font-weight: 700; margin: 0; }
.inq-sent p  { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ================================================================
   DASHBOARD ADMIN — nav divider + admin items
   ================================================================ */
.dash-nav-divider {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 16px 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
.dash-nav-divider::before, .dash-nav-divider::after {
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.1);
}
.dash-nav-item.admin { opacity: .85; }

/* ================================================================
   ADMIN: INQUIRY INBOX
   ================================================================ */
.admin-inbox {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  height: calc(100vh - 120px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}
.admin-inbox-sidebar {
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.admin-inbox-filters {
  display: flex; gap: 4px; padding: 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.aif-btn {
  flex: 1; background: transparent; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 4px; font-size: 11px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 1px; transition: background 120ms;
}
.aif-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.aif-count { font-size: 16px; font-weight: 700; color: inherit; }
.admin-inbox-list { flex: 1; overflow-y: auto; }
.ail-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 100ms;
}
.ail-row:hover { background: var(--bg-soft); }
.ail-row.active { background: var(--bg-sunken); }
.ail-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-blue); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.ail-body { flex: 1; min-width: 0; }
.ail-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.ail-prop { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ail-date { font-size: 10px; color: var(--ink-4); margin-top: 1px; }
.ail-status {
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.admin-inbox-detail {
  display: flex; flex-direction: column; overflow-y: auto;
}
.aid-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; color: var(--ink-4);
}
.aid-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 20px; border-bottom: 1px solid var(--border);
}
.aid-name { font-size: 18px; font-weight: 700; color: var(--ink); }
.aid-company { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.aid-actions { display: flex; gap: 8px; flex-shrink: 0; }
.aid-btn-wa {
  display: inline-flex; align-items: center; gap: 6px;
  background: #25D366; color: #fff; border: none; border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: background 140ms;
}
.aid-btn-wa:hover { background: #1ebe5d; }
.aid-btn-mail {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft); color: var(--ink); border: none; border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: background 140ms;
}
.aid-btn-mail:hover { background: var(--border); }
.aid-property {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.aid-property img { width: 80px; height: 60px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.aid-prop-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.aid-prop-meta { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.aid-prop-price { font-size: 13px; font-weight: 700; color: var(--brand-blue); margin-top: 4px; }
.aid-message { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.aid-message p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.aid-status-row {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px;
}
.aid-status-label { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.aid-status-btn {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; transition: all 120ms;
}
.aid-status-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ================================================================
   ADMIN: PROPERTIES
   ================================================================ */
.admin-props { padding: 4px 0; }
.admin-props-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.admin-search {
  flex: 1; border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; background: var(--bg);
  color: var(--ink); outline: none;
}
.admin-search:focus { border-color: var(--brand-blue); }
.admin-props-count { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.admin-props-list { display: flex; flex-direction: column; gap: 10px; }
.apr-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px; transition: opacity 200ms;
}
.apr-row.unavail { opacity: .55; }
.apr-img { width: 80px; height: 60px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.apr-info { flex: 1; min-width: 0; }
.apr-title { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apr-meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.apr-price { font-size: 13px; font-weight: 700; color: var(--brand-blue); margin-top: 4px; }
.apr-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.avail-toggle { position: relative; display: inline-block; width: 42px; height: 24px; cursor: pointer; }
.avail-toggle input { opacity: 0; width: 0; height: 0; }
.avail-slider {
  position: absolute; inset: 0; background: var(--border-strong);
  border-radius: 999px; transition: background 200ms;
}
.avail-slider::before {
  content: ""; position: absolute;
  width: 18px; height: 18px; left: 3px; top: 3px;
  border-radius: 50%; background: #fff;
  transition: transform 200ms;
}
.avail-toggle input:checked + .avail-slider { background: #22c55e; }
.avail-toggle input:checked + .avail-slider::before { transform: translateX(18px); }
.avail-label { font-size: 11px; font-weight: 600; color: var(--ink-3); width: 68px; }
.apr-edit-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; transition: background 120ms;
}
.apr-edit-btn:hover { background: var(--border); }
.apr-edit-form { flex: 1; min-width: 0; }
.apr-edit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.apr-edit-row .inq-field { margin-bottom: 0; }
.apr-edit-actions { display: flex; gap: 8px; margin-top: 8px; }

/* ================================================================
   ADMIN: ANALYTICS
   ================================================================ */
.admin-analytics { padding: 4px 0; }
.analytics-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .analytics-kpis { grid-template-columns: repeat(2,1fr); } }
.akpi {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 16px;
}
.akpi-val { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1; }
.akpi-label { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-top: 6px; }
.akpi-sub { font-size: 11px; color: var(--ink-4); margin-top: 2px; }
.analytics-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .analytics-charts { grid-template-columns: 1fr; } }
.achart-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
}
.achart-card h3 { font-size: 14px; font-weight: 700; margin: 0 0 16px; color: var(--ink); }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 160px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bar-fill { width: 100%; background: var(--brand-blue); border-radius: 4px 4px 0 0; min-height: 4px; transition: height 400ms ease; }
.bar-label { font-size: 9px; color: var(--ink-4); }
.city-bars { display: flex; flex-direction: column; gap: 10px; }
.city-bar-row { display: flex; align-items: center; gap: 10px; }
.city-bar-name { font-size: 12px; color: var(--ink-2); width: 90px; flex-shrink: 0; }
.city-bar-track { flex: 1; height: 10px; background: var(--bg-sunken); border-radius: 999px; overflow: hidden; }
.city-bar-fill { height: 100%; background: var(--brand-blue); border-radius: 999px; transition: width 400ms ease; }
.city-bar-count { font-size: 12px; font-weight: 700; color: var(--ink); width: 20px; text-align: right; }

@media (max-width: 860px) {
  .admin-inbox { grid-template-columns: 1fr; height: auto; }
  .admin-inbox-sidebar { border-right: none; border-bottom: 1px solid var(--border); max-height: 300px; }
  .apr-edit-row { grid-template-columns: 1fr 1fr; }
}
