:root {
  --primary: #1e3a5f;
  --primary-hover: #0f2744;
  --gold: #c6a046;
  --gold-soft: #e8d7a2;
  --bg: #0b1220;
  --text: #f3ead6;
  --muted: #b7c0c8;
  --border: #2a3548;
  --card: #141c2b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 39, 68, 0.08);
}

body { background: var(--bg); color: var(--text); }

header {
  background: #0f2744;
  border-bottom: none;
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.18);
}
header .logo, header .nav-link, header .nav-link.active { color: #f6f1e8; }
header .nav-link { color: #d7c9a8; }
header .nav-link:hover, header .nav-link.active { color: var(--gold); }
.logo span { color: #f6f1e8; }
.menu-toggle { background: #1e3a5f; color: #f6f1e8; border-color: #345074; }

.search-bar {
  background: #fffdf8;
  border-color: transparent;
  box-shadow: none;
}
.search-btn { background: var(--gold); color: #0f2744; }
.search-btn:hover { background: #d4af37; }

.book-btn,
.nav-right .top-link.btn,
button.book-btn {
  background: var(--gold) !important;
  color: #0f2744 !important;
  border: none;
}
.book-btn:hover { background: #d4af37 !important; }

.card, .booking-card, .panel {
  background: var(--card);
  border: none;
  box-shadow: var(--shadow);
}
.card-price, .booking-price, .price { color: #0f2744; }

.site-footer {
  background: #0f2744;
  color: #d7c9a8;
  border-top: none;
}
.site-footer p { color: #d7c9a8; }
.site-footer a { color: #e8d7a2; }
.legal-page { max-width: 720px; margin: 32px auto 64px; padding: 0 20px; color: #0f2744; }
.legal-page h1 { font-size: 32px; margin: 0 0 8px; }
.legal-page h2 { font-size: 18px; margin: 22px 0 8px; }
.legal-page .legal-meta { color: #64748b; font-size: 14px; }

.ms-ticker {
  background: #0b1c31;
  border-top: 1px solid var(--gold);
  color: #e8d7a2;
}

.listings-grid .card { border-radius: 20px; }
.listings-grid .card img { height: 220px; }

/* Google bar off the layout */
body { top: 0 !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }

@media (max-width: 900px) {
  .header-search-row { padding: 0 12px 12px; }
  .search-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 6px;
    max-width: none;
  }
  .search-segment {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 8px 12px;
  }
  .search-segment:last-of-type { border-bottom: none; }
  .search-btn {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    margin-top: 6px;
  }
  .listings-grid { grid-template-columns: 1fr !important; gap: 16px; padding: 0 12px 24px; }
  .hero-grid, .neigh-row, .areas, .neighbourhoods {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .booking-card {
    position: sticky;
    bottom: 36px;
    max-height: 58vh;
    overflow: auto;
    z-index: 70;
    margin: 12px;
  }
  .detail-grid { display: block; }
  .ms-ticker { height: 28px; font-size: 11px; }
  .has-ticker { padding-bottom: 32px; }
  .site-footer { padding-bottom: 48px; }
  iframe.hero-main, .hero-main { min-height: 240px !important; border-radius: 16px !important; }
}

@media (max-width: 900px) {
  .nav-right.open {
    background: #0f2744;
    border-color: #345074;
  }
  .nav-right .nav-link { color: #e8d7a2; }
  .currency-btn { color: #f6f1e8; border-color: #345074; }
}
.currency-btn.active { background: var(--gold); color: #0f2744; border-color: var(--gold); }

.search-pill { display: none; }
@media (max-width: 900px) {
  .search-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    background: #fffdf8;
    color: #0f2744;
    border: 0;
    border-radius: 999px;
    padding: 12px 14px;
    font: 600 13px Inter, sans-serif;
    box-shadow: 0 8px 24px rgba(15,39,68,.12);
  }
  .search-pill .pill-dot { color: #c6a046; }
  .search-pill .pill-go { margin-left: auto; }
  .header-search-row .search-bar { display: none; }
  body.search-open .header-search-row .search-bar { display: flex; margin-top: 8px; }
  body.search-open .search-pill { display: none; }
}
@media (min-width: 901px) {
  .search-pill { display: none !important; }
  .header-search-row .search-bar { display: flex !important; }
}
.session-chip {
  display: flex; align-items: center; gap: 8px;
  background: #1e3a5f; color: #e8d7a2; border-radius: 999px;
  padding: 6px 10px; font-size: 13px; font-weight: 600;
}
.session-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.session-out {
  border: 0; background: #c6a046; color: #0f2744; border-radius: 999px;
  padding: 4px 8px; font-weight: 700; cursor: pointer;
}
.stay-video video { width: 100%; max-height: 360px; border-radius: 16px; margin: 10px 0; background: #000; }

.stay-video-block { margin: 12px 0 18px; }
.stay-video-block h2 { font-size: 18px; margin: 0 0 8px; color: #0f2744; }
.stay-video-block video, .stay-video-block iframe {
  width: 100%; max-height: 420px; min-height: 220px; border: 0; border-radius: 16px; background: #0f2744;
}

.welcome-hero {
  margin: 0;
  max-width: none;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 78vh;
}
.hero-slides { position:absolute; inset:0; z-index:0; }
.hero-slide {
  position:absolute; inset:0;
  background:#0f2744 center/cover no-repeat;
  opacity:0; transform:scale(1.08);
  transition: opacity 1.1s ease, transform 7s linear;
}
.hero-slide.is-on { opacity:1; transform:scale(1); }
.welcome-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 78vh;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  color: #f8f4ea;
  background: linear-gradient(180deg, rgba(15,39,68,.25) 0%, rgba(15,39,68,.55) 55%, rgba(15,39,68,.82) 100%);
}
.welcome-brand {
  background: rgba(246,241,232,.88);
  color: #0f2744;
  padding: 10px 16px;
  margin: 28px auto 0;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  align-self: center;
}
.welcome-brand strong { font-size: 12px; letter-spacing: .12em; }
.welcome-brand span { font-size: 12px; opacity: .75; }
.welcome-copy { padding: 24px 8vw 56px; max-width: 920px; }
.welcome-copy h1 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 8vw, 84px);
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
}
.welcome-copy p { margin: 0 0 22px; color: #f3ead6; max-width: 28em; font-size: 17px; }
.welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.welcome-actions a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.welcome-actions .btn-gold { background: #d4af37; color: #0f2744; }
.welcome-actions .btn-ghost {
  background: rgba(15,39,68,.35);
  color: #f8f4ea;
  border: 1px solid rgba(248,244,234,.55);
  backdrop-filter: blur(8px);
}
@media (max-width: 760px) {
  .welcome-hero-inner { min-height: 70vh; }
  .welcome-copy { padding: 20px 20px 40px; }
  .welcome-copy h1 { font-size: 40px; }
}

#anabelRoot { position: fixed; right: 16px; bottom: 16px; z-index: 80; }
.anabel-fab {
  width: 56px; height: 56px; border-radius: 50%;
  border: 0; background: #c6a046; color: #0f2744;
  font-size: 22px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(15,39,68,.25);
}
.anabel-hint {
  position: absolute; right: 68px; bottom: 8px;
  background: #f6efe0; color: #0f2744;
  border: 1px solid #c6a046; border-radius: 14px;
  padding: 8px 28px 8px 12px; min-width: 160px;
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.anabel-hint.show { opacity: 1; pointer-events: auto; transform: none; }
.anabel-hint strong { display: block; font-size: 13px; }
.anabel-hint span { font-size: 12px; color: #5c4a24; }
.anabel-hint-x {
  position: absolute; top: 4px; right: 6px;
  border: 0; background: none; cursor: pointer; font-size: 16px;
}
.anabel-sheet {
  position: absolute; right: 0; bottom: 68px;
  width: min(360px, calc(100vw - 24px));
  background: #fff; color: #0f2744;
  border-radius: 16px; border: 1px solid #e8d7a2;
  box-shadow: 0 16px 40px rgba(15,39,68,.2);
  display: flex; flex-direction: column; max-height: 70vh;
}
.anabel-sheet[hidden] { display: none !important; }
.anabel-head { display: flex; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #efe6d2; }
.anabel-head h2 { margin: 0; font-size: 16px; }
.anabel-head p { margin: 2px 0 0; font-size: 12px; color: #5c4a24; }
.anabel-close { border: 0; background: none; font-size: 22px; cursor: pointer; }
.anabel-log { padding: 12px; overflow: auto; min-height: 140px; }
.anabel-msg { margin: 0 0 8px; padding: 8px 10px; border-radius: 12px; font-size: 14px; max-width: 90%; }
.anabel-msg.bot { background: #f6efe0; }
.anabel-msg.me { background: #0f2744; color: #fff; margin-left: auto; }
.anabel-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.anabel-chips button, .anabel-agent {
  border: 1px solid #c6a046; background: #fff; color: #0f2744;
  border-radius: 999px; padding: 6px 10px; font-size: 12px; cursor: pointer; text-decoration: none;
}
.anabel-agent { background: #c6a046; font-weight: 700; }
.anabel-form { display: flex; gap: 6px; padding: 10px 12px 12px; border-top: 1px solid #efe6d2; }
.anabel-form input { flex: 1; border: 1px solid #ddd; border-radius: 10px; padding: 8px; }
.anabel-form button { border: 0; background: #0f2744; color: #fff; border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (prefers-reduced-motion: reduce) {
  .anabel-hint { transition: none; }
}

/* Base44-inspired home restyle only */
.home-restyle header{
  position:sticky;left:0;right:0;top:0;z-index:300;
  background:#0b1220;
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}
.home-restyle .welcome-hero{padding-top:0}
.home-restyle .header-search-row{
  padding:0;margin-top:22px;max-width:720px;
}
.home-restyle .search-bar{
  background:rgba(20,32,48,.55);
  backdrop-filter:blur(10px);
  border:1px solid rgba(248,244,234,.18);
  color:#f8f4ea;
}
.home-restyle .search-label,.home-restyle .search-input,.home-restyle .search-value{color:#f8f4ea}
.home-restyle .search-input{background:transparent;color:#f8f4ea}
.home-restyle .welcome-copy h1 em{
  font-style:italic;
  color:#d4af37;
  display:block;
}
.home-restyle .nav-right .nav-link[href="list.html"]{display:none}
.home-restyle .header-top .nav-link{color:#f3ead6}

/* bottom restyle to match Base44 sample */
.home-restyle .categories{
  background:#d7cbb8;border-bottom:1px solid #c9b89a;padding:10px 0;
}
.home-restyle .cat-item{
  background:transparent;border:1px solid #e4d9c5;border-radius:999px;color:#0f2744;
}
.home-restyle .cat-item.active{background:#0f2744;color:#f6f1e8;border-color:#0f2744}
.home-restyle .mocha-banner span{background:#0f2744;color:#e8d7a2}
.home-restyle .hoods-title,
.home-restyle .effort-title,
.home-restyle .results-header h2{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-weight:500;
  color:#0f2744;
}
.home-restyle .owners-inner h2{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-weight:500;
  color:#f8f4ea;
}
.home-restyle .hood-card{height:320px;border-radius:18px}
.home-restyle .effort-card{
  background:#fffdf8;border:1px solid #e4d9c5;box-shadow:0 10px 24px rgba(15,39,68,.06);
}
.home-restyle .effort-icon{background:#0f2744;color:#d4af37}
.home-restyle .owners-banner { margin: 32px auto 16px; }
.home-restyle .owners-inner{
  background: linear-gradient(135deg, #0b1c31 0%, #1e3a5f 60%, #16324f 100%);
  color:#f6f1e8;border-radius:20px;
  min-height: 180px;
}
.home-restyle .owners-inner h2 { color:#f8f4ea !important; margin-top: 8px; }
.home-restyle .owners-kicker { color:#e8d7a2; }

.home-restyle .owners-btn{background:#d4af37;color:#0f2744}
.home-restyle main{background:#d7cbb8;padding-bottom:40px}
.home-restyle .listings-grid .card,
.listings-grid .card{
  background:#fff;
  border:1px solid #c9b89a;
  border-radius:18px;
  box-shadow:0 10px 22px rgba(80,55,20,.12);
}
.home-restyle .site-footer{
  background:#0b1c31;color:#d7c9a8;text-align:center;padding:36px 20px 56px;
}
.home-restyle .site-footer a{color:#e8d7a2}

.header-cta.btn-gold{
  background:#d4af37;color:#0f2744!important;padding:8px 14px;border-radius:999px;font-weight:700;text-decoration:none;
}
.home-restyle .welcome-actions{display:none}

/* deliverable dark luxury restyle */
body, .home-restyle main { background:#0b1220 !important; color:#f3ead6 !important; }
.home-restyle .categories { background:#0b1220 !important; border-color:#2a3548 !important; }
.home-restyle .cat-item { color:#f3ead6; border-color:#2a3548; }
.home-restyle .cat-item.active { background:#d4af37; color:#0b1220; border-color:#d4af37; }
.home-restyle .hoods-title,
.home-restyle .effort-title,
.home-restyle .results-header h2 { color:#f3ead6 !important; }
.home-restyle .effort-card { background:#141c2b; border-color:#2a3548; color:#f3ead6; }
.home-restyle .effort-card p { color:#b7c0c8; }
.home-restyle .listings-grid .card, .listings-grid .card {
  background:#141c2b !important;
  border:1px solid #2a3548 !important;
  color:#f3ead6;
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}
.card-title, .card h3, .listings-grid .card h3 { color:#f3ead6 !important; }
.card-price, .price { color:#d4af37 !important; }
.home-restyle .site-footer { background:#070b12; color:#b7c0c8; }
.mocha-banner span { background:#141c2b !important; color:#e8d7a2 !important; }

.welcome-partner { margin: 10px 0 0; font-size: 14px; font-weight: 500; }
.welcome-partner a { color: #e8d7a2; text-decoration: underline; text-underline-offset: 3px; }
.welcome-partner a:hover { color: #fff; }


a.partner-end { font-weight: 800 !important; }

a.partner-end { font-weight: 800 !important; }
