:root{
    --bg:#faf8f4;
    --surface:#ffffff;
    --border:#e9e5dc;
    --text:#2b2a26;
    --text-muted:#82786c;
    --accent:#5b6b52;
    --accent-soft:#eef0e9;
    --sand:#c9a876;
}

html{
    scroll-behavior:smooth;
}

#hero-search,
#services{
    scroll-margin-top:104px;
}

body{
    font-family:'Manrope',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.65;
}

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

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

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

.container{
    width:min(1180px,92%);
    margin:auto;
}

/* ===========================
   HEADER
=========================== */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:84px;
    background:rgba(250,248,244,.9);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border);
    z-index:1000;
}

.header .container{
    height:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-family:'Fraunces',serif;
    font-size:28px;
    font-weight:500;
    letter-spacing:.5px;
    color:var(--text);
}

.logo span{
    color:var(--accent);
}

.nav{
    display:flex;
    gap:40px;
}

.nav a{
    font-size:15px;
    font-weight:500;
    color:var(--text-muted);
    transition:color .4s ease;
}

.nav a.nav-care-stay{
    background:#e7f0ee;
    color:#3d6e64;
    padding:6px 14px;
    border-radius:50px;
    font-weight:600;
}

.nav a:hover{
    color:var(--text);
}

.header-right{
    display:flex;
    align-items:center;
    gap:26px;
}

.language{
    position:relative;
    display:inline-block;
}

.lang-switch-trigger{
    display:flex;
    align-items:center;
    gap:5px;
    font-size:13px;
    color:var(--text-muted);
    border:1px solid var(--border);
    border-radius:20px;
    padding:6px 12px;
    background:var(--surface);
    transition:color .3s ease, border-color .3s ease;
}

.lang-switch-trigger:hover{
    color:var(--text);
    border-color:var(--accent);
}

.lang-switch-flag{
    font-size:15px;
}

.lang-switch-caret{
    font-size:10px;
    opacity:.7;
}

.lang-switch-menu[hidden]{
    display:none;
}

.lang-switch-menu{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:12px;
    box-shadow:0 12px 30px rgba(43,42,38,.12);
    padding:6px;
    display:flex;
    flex-direction:column;
    min-width:150px;
    z-index:50;
}

.lang-switch-menu a{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 10px;
    border-radius:8px;
    font-size:13px;
    color:var(--text);
    transition:background .2s ease;
}

.lang-switch-menu a:hover{
    background:var(--bg);
}

.lang-switch-menu a.active{
    color:var(--accent);
    font-weight:700;
    background:var(--accent-soft);
}

.whatsapp{
    background:var(--accent);
    color:#fff;
    padding:12px 26px;
    border-radius:50px;
    font-weight:600;
    font-size:14px;
    transition:background .4s ease, transform .4s ease;
}

.whatsapp:hover{
    background:#48553f;
    transform:translateY(-1px);
}

.nav-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:28px;
    height:28px;
    background:none;
}

.nav-toggle span{
    height:2px;
    width:100%;
    background:var(--text);
    border-radius:2px;
    transition:transform .3s ease, opacity .3s ease;
}

.nav-toggle.open span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2){
    opacity:0;
}

.nav-toggle.open span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

/* ===========================
   HERO
=========================== */

.hero{
    position:relative;
    min-height:50vh;
    overflow:hidden;
    padding:96px 0 32px;
}

.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

.hero-bg-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(
            to bottom,
            rgba(20,18,14,.6) 0%,
            rgba(20,18,14,.22) 32%,
            rgba(20,18,14,.12) 58%,
            rgba(20,18,14,.6) 100%
    );
}

.hero > .container{
    position:relative;
    z-index:2;
}

.hero-content{
    max-width:720px;
    margin:0 auto 32px;
    text-align:center;
}

.hero-badge{
    display:inline-block;
    background:rgba(255,255,255,.14);
    backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,.3);
    color:#fff;
    padding:10px 20px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    letter-spacing:.3px;
    margin-bottom:24px;
}

.hero h1{
    font-family:'Fraunces',serif;
    font-size:42px;
    line-height:1.16;
    font-weight:500;
    letter-spacing:-.5px;
    margin-bottom:14px;
    color:#fff;
    text-shadow:0 4px 24px rgba(0,0,0,.3);
}

.hero p{
    font-size:16px;
    color:rgba(255,255,255,.9);
}

.hero-stats{
    display:inline-block;
    margin-top:14px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.2px;
    color:rgba(255,255,255,.92);
}

.hero-stats:empty{
    display:none;
}

.search-card{
    position:relative;
    z-index:2;
    width:100%;
    max-width:880px;
    margin:0 auto;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:28px;
    box-shadow:0 20px 50px rgba(0,0,0,.35);
    padding:22px;
}

.search-box{
    display:flex;
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:60px;
    overflow:hidden;
    height:64px;
}

.search-tabs{
    display:flex;
    gap:6px;
    margin-bottom:14px;
    flex-wrap:wrap;
}

.search-tabs button{
    background:var(--accent-soft);
    color:var(--text);
    border:none;
    padding:10px 18px;
    border-radius:12px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:background .2s ease, color .2s ease;
}

.search-tabs button.active{
    background:var(--accent);
    color:#fff;
}

.search-tabs button:not(.active):hover{
    background:#e2e6da;
}

.search-shortcuts{
    display:flex;
    gap:10px;
    margin-top:14px;
    flex-wrap:wrap;
}

.search-shortcuts button{
    background:transparent;
    border:1px solid var(--border);
    color:var(--text);
    padding:8px 14px;
    border-radius:10px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:background .2s ease;
}

.search-shortcuts button:hover{
    background:var(--accent-soft);
}

.search-box input{
    flex:1;
    padding:0 28px;
    font-size:16px;
    background:transparent;
    color:var(--text);
    border:none;
    outline:none;
}

.search-box input::placeholder{
    color:var(--text-muted);
}

.search-box button{
    background:var(--accent);
    color:#fff;
    padding:0 32px;
    font-size:15px;
    font-weight:600;
    transition:background .4s ease;
}

.search-box button:hover{
    background:#48553f;
}

.search-divider{
    text-align:center;
    color:var(--text-muted);
    font-size:13px;
    margin:16px 0;
    position:relative;
}

.search-divider::before,
.search-divider::after{
    content:"";
    position:absolute;
    top:50%;
    width:32%;
    height:1px;
    background:var(--border);
}

.search-divider::before{
    left:0;
}

.search-divider::after{
    right:0;
}

.search-divider-link{
    display:block;
    width:100%;
    background:none;
    border:none;
    font-family:inherit;
    cursor:pointer;
    color:var(--accent);
    font-weight:600;
}

.search-filters{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
}

.filters-actions-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:14px;
    margin-top:12px;
}

.save-search-row{
    display:flex;
    align-items:center;
    gap:14px;
}

#save-search-btn{
    background:none;
    border:1px solid var(--border);
    border-radius:10px;
    padding:10px 16px;
    font-size:13px;
    font-weight:600;
    color:var(--text);
    cursor:pointer;
    transition:border-color .3s ease, color .3s ease;
}

#save-search-btn:hover{
    border-color:var(--accent);
    color:var(--accent);
}

.save-search-success{
    font-size:13px;
    color:var(--accent);
    font-weight:600;
}

.more-filters-toggle{
    background:none;
    border:1px solid var(--border);
    border-radius:10px;
    padding:9px 16px;
    font-size:13px;
    font-weight:600;
    color:var(--text);
    cursor:pointer;
    transition:border-color .3s ease, color .3s ease;
}

.more-filters-toggle:hover,
.more-filters-toggle[aria-expanded="true"]{
    border-color:var(--accent);
    color:var(--accent);
}

.more-filters{
    margin-top:12px;
}

.more-filters[hidden]{
    display:none;
}

.search-filters select{
    flex:1;
    min-width:160px;
    padding:13px 16px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--bg);
    color:var(--text);
    font-size:14px;
    font-family:inherit;
    cursor:pointer;
}

.price-slider-group{
    flex:1;
    min-width:220px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--bg);
    padding:8px 14px 10px;
}

.price-slider-labels{
    display:flex;
    justify-content:space-between;
    font-size:13px;
    font-weight:600;
    color:var(--text);
    margin-bottom:6px;
}

.price-slider-track-wrap{
    position:relative;
    height:20px;
}

.price-slider-rail{
    position:absolute;
    top:50%;
    left:0;
    right:0;
    height:4px;
    margin-top:-2px;
    border-radius:2px;
    background:var(--border);
}

.price-slider-range{
    position:absolute;
    top:50%;
    height:4px;
    margin-top:-2px;
    border-radius:2px;
    background:var(--accent);
}

.price-slider{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:20px;
    margin:0;
    background:transparent;
    -webkit-appearance:none;
    appearance:none;
    pointer-events:none;
}

.price-slider::-webkit-slider-runnable-track{
    -webkit-appearance:none;
    background:transparent;
    height:20px;
}

.price-slider::-moz-range-track{
    background:transparent;
    height:20px;
    border:none;
}

.price-slider::-webkit-slider-thumb{
    -webkit-appearance:none;
    pointer-events:auto;
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--accent);
    border:2px solid #fff;
    box-shadow:0 1px 4px rgba(0,0,0,.3);
    cursor:pointer;
    margin-top:1px;
}

.price-slider::-moz-range-thumb{
    pointer-events:auto;
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--accent);
    border:2px solid #fff;
    box-shadow:0 1px 4px rgba(0,0,0,.3);
    cursor:pointer;
}

.filter-checkbox-label{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:var(--text-muted);
    white-space:nowrap;
    cursor:pointer;
}

.filter-checkbox-label input{
    width:auto;
}

.filter-radius-label{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:var(--text-muted);
    white-space:nowrap;
}

.filter-radius-label select{
    width:auto;
    padding:4px 8px;
    font-size:13px;
    border-radius:8px;
    border:1px solid var(--border);
    background:var(--bg);
    color:var(--text);
}

.status-switch-wrap{
    display:flex;
    align-items:center;
    gap:10px;
    flex:none;
    padding:0 4px;
}

.status-switch-label{
    font-size:13px;
    font-weight:600;
    color:var(--text-muted);
    white-space:nowrap;
    transition:color .3s ease;
}

.status-switch{
    position:relative;
    display:inline-block;
    width:44px;
    height:26px;
    flex:none;
}

.status-switch input{
    opacity:0;
    width:0;
    height:0;
}

.status-switch-track{
    position:absolute;
    inset:0;
    background:var(--border);
    border-radius:26px;
    cursor:pointer;
    transition:background .3s ease;
}

.status-switch-track::before{
    content:"";
    position:absolute;
    left:3px;
    top:3px;
    width:20px;
    height:20px;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 6px rgba(0,0,0,.2);
    transition:transform .3s ease;
}

.status-switch input:checked + .status-switch-track{
    background:var(--accent);
}

.status-switch input:checked + .status-switch-track::before{
    transform:translateX(18px);
}

.quick-tags-strip{
    background:var(--bg);
    padding:28px 0;
    border-bottom:1px solid var(--border);
}

.quick-tags{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.quick-tags button{
    background:var(--surface);
    color:var(--text-muted);
    border:1px solid var(--border);
    padding:11px 20px;
    border-radius:50px;
    font-size:14px;
    transition:.4s ease;
}

.quick-tags button:hover{
    color:var(--text);
    border-color:var(--accent);
    background:var(--accent-soft);
}

.quick-tags button.active{
    color:#fff;
    border-color:var(--accent);
    background:var(--accent);
}

.no-results{
    text-align:center;
    color:var(--text-muted);
    font-size:17px;
    padding:60px 24px 100px;
}

.no-results #clear-all-filters-btn{
    margin-top:16px;
    background:var(--accent);
    color:#fff;
    padding:10px 24px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
}

/* ===========================
   DESTINATIONS
=========================== */

.destinations{
    padding:70px 0;
}

.section-title{
    text-align:center;
    margin-bottom:32px;
}

.section-title h2,
.section-title h1{
    font-family:'Fraunces',serif;
    font-size:40px;
    font-weight:500;
    margin-bottom:14px;
    color:var(--text);
}

.section-title p{
    font-size:17px;
    color:var(--text-muted);
}

.section-divider{
    width:48px;
    height:2px;
    background:var(--sand);
    margin:0 auto 32px;
    border-radius:20px;
}

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

.destination-card{
    position:relative;
    overflow:hidden;
    border-radius:14px;
    height:180px;
    cursor:pointer;
    border:6px solid var(--surface);
    outline:1px solid var(--border);
    box-shadow:0 6px 20px rgba(43,42,38,.06);
    transition:box-shadow .5s ease;
}

.destination-card.large{
    grid-column:span 3;
    height:280px;
}

.destination-card.wide{
    grid-column:span 2;
}

.destination-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:9px;
    transition:transform .6s ease;
}

.destination-card:hover{
    box-shadow:0 20px 45px rgba(43,42,38,.14);
}

.destination-card:hover img{
    transform:scale(1.05);
}

.destination-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:24px;
    background:linear-gradient(
            transparent,
            rgba(20,18,14,.65)
    );
}

.destination-overlay span{
    color:rgba(255,255,255,.8);
    font-size:13px;
    letter-spacing:.3px;
}

.destination-overlay h3{
    font-family:'Fraunces',serif;
    color:#fff;
    font-size:28px;
    font-weight:500;
    margin-top:6px;
}

/* ===========================
   PROPERTIES
=========================== */

.properties{
    padding:36px 0 56px;
}

.properties-grid{
    display:flex;
    gap:20px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    padding:4px 4px 12px;
    scrollbar-width:none;
}

.properties-grid::-webkit-scrollbar{
    display:none;
}

.properties-grid .property-card{
    flex:none;
    width:280px;
    scroll-snap-align:start;
}

.property-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(43,42,38,.05);
    transition:box-shadow .5s ease, transform .5s ease;
    cursor:pointer;
}

.property-card:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 50px rgba(43,42,38,.12);
}

.property-image{
    position:relative;
    height:190px;
    padding:14px 14px 0;
}

.property-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
}

.badge{
    position:absolute;
    top:16px;
    left:16px;
    background:var(--surface);
    color:var(--accent);
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    box-shadow:0 4px 14px rgba(43,42,38,.1);
}

.photo-count-badge{
    position:absolute;
    bottom:14px;
    left:14px;
    background:rgba(20,18,14,.6);
    color:#fff;
    padding:4px 10px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
}

.image-price-badge{
    position:absolute;
    left:50%;
    bottom:14px;
    transform:translateX(-50%);
    background:rgba(20,18,14,.74);
    color:#fff;
    padding:6px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
    box-shadow:0 4px 14px rgba(43,42,38,.15);
}

.favorite{
    position:absolute;
    top:16px;
    right:16px;
    width:40px;
    height:40px;
    border-radius:50%;
    background:var(--surface);
    color:var(--text-muted);
    font-size:19px;
    box-shadow:0 4px 14px rgba(43,42,38,.1);
    transition:color .4s ease;
}

.favorite:hover{
    color:var(--accent);
}

.favorite.active{
    color:#c9564a;
}

.card-share-btn{
    position:absolute;
    top:16px;
    right:64px;
    width:40px;
    height:40px;
    border-radius:50%;
    background:var(--surface);
    color:var(--text-muted);
    font-size:17px;
    box-shadow:0 4px 14px rgba(43,42,38,.1);
    transition:color .4s ease, background .3s ease;
}

.card-share-btn:hover{
    color:var(--accent);
}

.card-share-btn.copied{
    background:var(--accent);
    color:#fff;
}

.favorite-star{
    position:absolute;
    top:16px;
    right:64px;
    width:32px;
    height:32px;
    display:none;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--surface);
    color:#e0a52c;
    font-size:15px;
    box-shadow:0 4px 14px rgba(43,42,38,.1);
}

.favorite-star.active{
    display:flex;
}

.card-video-btn{
    position:absolute;
    bottom:14px;
    right:14px;
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(20,18,14,.6);
    color:#fff;
    font-size:15px;
    box-shadow:0 4px 14px rgba(43,42,38,.15);
    transition:background .3s ease;
}

.card-video-btn:hover{
    background:rgba(20,18,14,.85);
}

.property-content{
    padding:26px;
}

.location{
    color:var(--text-muted);
    font-size:13px;
    letter-spacing:.3px;
}

.verified-mark{
    display:inline-block;
    color:var(--accent);
    font-size:12px;
    font-weight:700;
    margin-left:8px;
}

.verified-mark-rejected{
    color:#a83a3a;
}

.verified-mark-expired{
    color:var(--text-muted);
}

.card-verified-at{
    font-size:11px;
    color:var(--text-muted);
    margin-top:2px;
}

.status-mark{
    display:inline-block;
    color:var(--sand);
    font-size:12px;
    font-weight:700;
    margin-left:8px;
}

.rent-mark{
    color:#3d6e64;
}

.vacation-mark{
    color:#b4752f;
}

.group-name{
    font-size:12px;
    font-weight:700;
    color:var(--accent);
    text-transform:uppercase;
    letter-spacing:.03em;
    margin-top:8px;
}

.variant-toggle{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:10px 0;
}

.variant-btn{
    padding:5px 12px;
    border-radius:20px;
    border:1px solid var(--border);
    background:var(--bg);
    color:var(--text-muted);
    font-size:12px;
    font-weight:600;
    transition:background .3s ease, color .3s ease, border-color .3s ease;
}

.variant-btn:hover{
    border-color:var(--accent);
    color:var(--accent);
}

.variant-btn.active{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
}

.variant-toggle:not(.expanded) .variant-btn-extra:not(.active){
    display:none;
}

.variant-toggle.expanded .variant-more-btn{
    display:none;
}

.variant-more-btn{
    padding:5px 12px;
    border-radius:20px;
    border:1px dashed var(--accent);
    background:transparent;
    color:var(--accent);
    font-size:12px;
    font-weight:600;
    cursor:pointer;
}

.property-content h3{
    font-family:'Fraunces',serif;
    font-weight:500;
    margin:10px 0;
    font-size:24px;
}

.property-content p{
    color:var(--text-muted);
    margin-bottom:22px;
    font-size:15px;
}

.price-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.price-row strong{
    font-size:20px;
    color:var(--text);
}

.price-row a{
    color:var(--accent);
    font-weight:600;
    font-size:14px;
    transition:color .4s ease;
}

.price-row a:hover{
    color:#48553f;
}

.compare-check-label{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:14px;
    font-size:13px;
    color:var(--text-muted);
    cursor:pointer;
}

.compare-check-label input{
    width:auto;
    accent-color:var(--accent);
}

.card-contact-row{
    display:flex;
    gap:8px;
    margin-top:14px;
    flex-wrap:wrap;
}

.card-contact-btn{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:9px 10px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:13px;
    font-weight:600;
    color:var(--text);
    background:var(--bg);
    white-space:nowrap;
    transition:.3s ease;
}

.card-contact-btn:hover{
    border-color:var(--accent);
    color:var(--accent);
}

.card-contact-whatsapp{
    background:#e4efe8;
    border-color:#e4efe8;
    color:#3d6e64;
}

.card-contact-whatsapp:hover{
    border-color:#3d6e64;
}

.compare-bar{
    position:fixed;
    left:50%;
    bottom:24px;
    transform:translateX(-50%);
    z-index:1500;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 14px;
    max-width:calc(100% - 32px);
    background:var(--text);
    color:#fff;
    padding:14px 20px;
    border-radius:26px;
    box-shadow:0 20px 45px rgba(0,0,0,.25);
}

.compare-bar[hidden]{
    display:none;
}

#compare-bar-count{
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
}

.compare-bar-view{
    background:var(--accent);
    color:#fff;
    padding:9px 20px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
}

.compare-bar-view:disabled{
    opacity:.5;
    cursor:not-allowed;
}

.compare-bar-clear{
    color:rgba(255,255,255,.7);
    font-size:13px;
    white-space:nowrap;
}

.compare-bar-clear:hover{
    color:#fff;
}

.compare-modal-card{
    max-width:960px;
    padding:32px;
}

.compare-modal-card h2{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:24px;
    margin:10px 0 20px;
}

.compare-table-wrap{
    overflow-x:auto;
}

.compare-table{
    width:100%;
    border-collapse:collapse;
}

.compare-table th,
.compare-table td{
    padding:12px 16px;
    text-align:left;
    border-bottom:1px solid var(--border);
    font-size:14px;
    white-space:nowrap;
}

.compare-table th:first-child{
    color:var(--text-muted);
    font-weight:600;
    white-space:nowrap;
}

.compare-photo{
    width:140px;
    height:100px;
    object-fit:cover;
    border-radius:12px;
}

.compare-remove-btn{
    background:var(--bg);
    border:1px solid var(--border);
    color:var(--text-muted);
    width:28px;
    height:28px;
    border-radius:50%;
    font-size:13px;
}

.compare-remove-btn:hover{
    color:var(--text);
    border-color:var(--accent);
}

.cost-summary-line{
    font-size:12px;
    color:var(--text-muted);
    margin-top:4px;
}

.match-score-badge{
    display:inline-block;
    font-size:12px;
    font-weight:700;
    padding:4px 11px;
    border-radius:20px;
    margin-top:6px;
    background:var(--accent);
    color:#fff;
}

.partner-offers-badge{
    display:inline-block;
    font-size:12px;
    font-weight:700;
    padding:4px 11px;
    border-radius:20px;
    margin-top:6px;
    background:#fff;
    color:var(--accent);
    border:1px solid var(--accent);
}

.transparency-badge{
    display:inline-block;
    font-size:11px;
    font-weight:700;
    padding:3px 10px;
    border-radius:20px;
    margin-top:6px;
}

.transparency-badge.transparency-high{
    background:rgba(91,107,82,.12);
    color:var(--accent);
}

.transparency-badge.transparency-medium{
    background:rgba(200,150,40,.14);
    color:#8a6a1a;
}

.transparency-badge.transparency-low{
    background:rgba(200,60,60,.1);
    color:#a83a3a;
}

.card-nearby-row, .card-eligibility-row{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:6px;
}

.nearby-chip, .eligibility-chip{
    display:inline-block;
    font-size:11px;
    font-weight:600;
    padding:3px 9px;
    border-radius:20px;
    background:rgba(91,107,82,.08);
    color:var(--text-muted);
    white-space:nowrap;
}

.eligibility-chip{
    background:rgba(91,107,82,.12);
    color:var(--accent);
}

.card-price-updated{
    font-size:11px;
    color:var(--text-muted);
    margin-top:6px;
}

.card-price-dropped{
    color:#1a7a4c;
    font-weight:600;
}

.price-drop-ribbon{
    position:absolute;
    top:16px;
    left:16px;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    color:#fff;
    background:#1a7a4c;
    box-shadow:0 4px 14px rgba(43,42,38,.15);
    z-index:2;
}

.price-clarification-note{
    font-size:11px;
    font-weight:600;
    color:#a86a1a;
    margin-top:4px;
}

.sale-status-ribbon{
    position:absolute;
    top:16px;
    right:16px;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    color:#fff;
    box-shadow:0 4px 14px rgba(43,42,38,.15);
    z-index:2;
}

.sale-status-sold{
    background:#a83a3a;
}

.sale-status-rented{
    background:#3d6e64;
}

.featured-ribbon{
    position:absolute;
    bottom:14px;
    right:14px;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    color:#5a3d00;
    background:linear-gradient(135deg,#ffd76a,#f7b733);
    box-shadow:0 4px 14px rgba(43,42,38,.15);
    z-index:2;
}

.urgent-ribbon{
    position:absolute;
    bottom:14px;
    left:14px;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    color:#fff;
    background:#c9432f;
    box-shadow:0 4px 14px rgba(43,42,38,.15);
    z-index:2;
}

/* ===========================
   FOOTER
=========================== */

.footer{
    background:var(--surface);
    border-top:1px solid var(--border);
    padding:80px 0 32px;
}

.footer-top{
    display:flex;
    justify-content:space-between;
    gap:60px;
    padding-bottom:56px;
}

.footer-brand{
    max-width:320px;
}

.footer-brand p{
    color:var(--text-muted);
    font-size:15px;
    margin-top:16px;
}

.footer-links{
    display:flex;
    gap:64px;
}

.footer-col{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.footer-col h4{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:16px;
    color:var(--text);
    margin-bottom:4px;
}

.footer-col a{
    color:var(--text-muted);
    font-size:14px;
    transition:color .4s ease;
}

.footer-col a:hover{
    color:var(--accent);
}

.footer-social{
    display:flex;
    gap:10px;
}

.footer-social-icon{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--bg);
    border:1px solid var(--border);
    color:var(--text-muted);
    transition:color .3s ease, border-color .3s ease, background .3s ease;
}

.footer-social-icon svg{
    width:18px;
    height:18px;
}

.footer-social-icon:hover{
    color:var(--accent);
    border-color:var(--accent);
    background:var(--accent-soft);
}

.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:28px;
    border-top:1px solid var(--border);
}

.footer-bottom span{
    color:var(--text-muted);
    font-size:13px;
}

.footer-lang{
    position:relative;
    display:inline-block;
}

.footer-lang .lang-switch-menu{
    right:auto;
    left:0;
    bottom:calc(100% + 8px);
    top:auto;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width:1024px){
    .destinations-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .destination-card.large,
    .destination-card.wide{
        grid-column:span 2;
    }

    .hero h1{
        font-size:38px;
    }
}

@media (max-width:880px){
    .header{
        height:72px;
    }

    .nav-toggle{
        display:flex;
    }

    .nav{
        position:fixed;
        top:72px;
        left:0;
        right:0;
        flex-direction:column;
        gap:4px;
        background:var(--surface);
        border-bottom:1px solid var(--border);
        box-shadow:0 16px 30px rgba(43,42,38,.08);
        padding:10px 24px 20px;
        opacity:0;
        transform:translateY(-8px);
        pointer-events:none;
        transition:opacity .3s ease, transform .3s ease;
    }

    .nav.open{
        opacity:1;
        transform:translateY(0);
        pointer-events:auto;
    }

    .nav a{
        padding:14px 0;
        border-bottom:1px solid var(--border);
    }

    .nav a:last-child{
        border-bottom:none;
    }

    .language{
        display:none;
    }

    .whatsapp{
        padding:10px 18px;
        font-size:13px;
    }

    .hero{
        min-height:44vh;
        padding:88px 0 28px;
    }

    .hero h1{
        font-size:32px;
    }

    .hero p{
        font-size:15px;
    }

    .search-card{
        padding:16px;
        border-radius:22px;
    }

    .search-box{
        flex-direction:column;
        height:auto;
        border-radius:24px;
        padding:8px;
    }

    .search-tabs{
        gap:4px;
    }

    .search-tabs button{
        flex:1 1 auto;
        padding:10px 8px;
        font-size:12px;
        text-align:center;
    }

    .search-shortcuts button{
        flex:1 1 auto;
        text-align:center;
    }

    .search-box input{
        padding:14px 16px;
    }

    .search-box button{
        padding:16px;
        border-radius:18px;
    }

    .search-filters{
        flex-direction:column;
    }

    .quick-tags button{
        padding:9px 16px;
        font-size:13px;
    }

    .section-title h2{
        font-size:30px;
    }

    .destinations{
        padding:70px 0;
    }

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

    .destination-card,
    .destination-card.large,
    .destination-card.wide{
        grid-column:span 1;
        height:220px;
    }

    .properties{
        padding:20px 0 80px;
    }

    .properties-grid .property-card{
        width:240px;
    }
}

@media (max-width:420px){
    .hero h1{
        font-size:26px;
    }

    .hero{
        min-height:340px;
    }

    .search-card{
        padding:14px;
    }

    .container{
        width:min(1180px,90%);
    }
}

@media (max-width:768px){
    .footer{
        padding:56px 0 24px;
    }

    .footer-top{
        flex-direction:column;
        gap:40px;
        padding-bottom:36px;
    }

    .footer-links{
        gap:32px;
        flex-wrap:wrap;
    }

    .footer-bottom{
        flex-direction:column;
        gap:14px;
        align-items:flex-start;
    }
}

/* ===========================
   PROPERTY MODAL
=========================== */

.modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(20,18,14,.55);
    backdrop-filter:blur(6px);
    z-index:2000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.modal-overlay[hidden]{
    display:none;
}

.modal-card{
    position:relative;
    background:var(--surface);
    border-radius:22px;
    overflow:hidden;
    max-width:520px;
    width:100%;
    max-height:90vh;
    overflow-y:auto;
    box-shadow:0 30px 70px rgba(0,0,0,.35);
}

.modal-close{
    position:absolute;
    top:16px;
    right:16px;
    width:38px;
    height:38px;
    border-radius:50%;
    background:rgba(10,1,24,.55);
    color:#fff;
    font-size:16px;
    z-index:1;
    transition:background .3s ease;
}

.modal-close:hover{
    background:rgba(10,1,24,.8);
}

.modal-image{
    position:relative;
    height:280px;
}

.modal-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.modal-image .badge{
    position:absolute;
    top:16px;
    left:16px;
}

.modal-image #modal-video-btn{
    top:16px;
    right:16px;
    bottom:auto;
}

.modal-gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(20,18,14,.55);
    color:#fff;
    font-size:22px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background .3s ease;
}

.modal-gallery-arrow:hover{
    background:rgba(20,18,14,.8);
}

.modal-gallery-prev{ left:14px; }
.modal-gallery-next{ right:14px; }

.modal-gallery-counter{
    position:absolute;
    bottom:14px;
    right:14px;
    background:rgba(20,18,14,.6);
    color:#fff;
    padding:4px 10px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
}

.modal-gallery-thumbs{
    display:flex;
    gap:8px;
    padding:12px 20px 0;
    overflow-x:auto;
}

.modal-gallery-thumbs img{
    width:64px;
    height:48px;
    object-fit:cover;
    border-radius:8px;
    cursor:pointer;
    opacity:.55;
    transition:opacity .2s ease, outline .2s ease;
    flex-shrink:0;
}

.modal-gallery-thumbs img.active{
    opacity:1;
    outline:2px solid var(--accent);
}

.modal-content{
    padding:28px 30px 32px;
}

.modal-content h3{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:26px;
    margin:8px 0 6px;
}

.modal-content #modal-specs{
    color:var(--text-muted);
    margin-bottom:18px;
}

.modal-price-row{
    margin-bottom:20px;
}

.modal-price-row strong{
    font-size:24px;
    color:var(--text);
}

.modal-live-viewers{
    display:flex;
    align-items:center;
    gap:8px;
    margin:-8px 0 16px;
    font-size:13px;
    font-weight:600;
    color:#c9564a;
}

.live-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#c9564a;
    animation:live-dot-pulse 1.6s ease-in-out infinite;
}

@keyframes live-dot-pulse{
    0%, 100%{ opacity:1; transform:scale(1); }
    50%{ opacity:.4; transform:scale(.75); }
}

.modal-agent-card{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:16px;
    margin-bottom:18px;
}

.modal-agent-avatar{
    width:52px;
    height:52px;
    border-radius:50%;
    object-fit:cover;
    background:var(--accent-soft);
    flex-shrink:0;
}

.modal-agent-info{
    display:flex;
    flex-direction:column;
    gap:2px;
    margin-right:auto;
    min-width:0;
}

.modal-agent-label{
    font-size:12px;
    color:var(--text-muted);
}

.modal-agent-info strong{
    font-size:15px;
    color:var(--text);
}

.modal-agent-verified{
    font-size:12px;
    font-weight:600;
    color:var(--accent);
}

.modal-agent-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.modal-agent-phone-btn, .modal-agent-phone-link, .modal-agent-message-btn{
    padding:9px 14px;
    border-radius:10px;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
}

.modal-agent-phone-btn, .modal-agent-phone-link{
    background:var(--accent);
    color:#fff;
}

.modal-agent-phone-btn:hover, .modal-agent-phone-link:hover{
    background:#48553f;
}

.modal-agent-message-btn{
    background:transparent;
    border:1px solid var(--border);
    color:var(--text);
}

.modal-agent-message-btn:hover{
    background:var(--accent-soft);
}

.modal-mini-map{
    height:220px;
    border-radius:14px;
    overflow:hidden;
    margin-bottom:18px;
    z-index:0;
}

.modal-note{
    color:var(--text-muted);
    font-size:14px;
    line-height:1.6;
    margin-bottom:24px;
}

.cost-breakdown{
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:14px;
    padding:18px 20px;
    margin-bottom:20px;
}

.cost-breakdown-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:12px;
}

.cost-breakdown-header h4{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:16px;
}

.cost-warning{
    background:rgba(200,60,60,.08);
    color:#a83a3a;
    font-size:12px;
    font-weight:600;
    padding:10px 12px;
    border-radius:10px;
    margin-bottom:14px;
    line-height:1.5;
}

.cost-warning span{
    display:block;
    font-weight:400;
    margin-top:2px;
}

.cost-not-calculated{
    color:var(--text-muted);
    font-size:13px;
    line-height:1.5;
}

.cost-section{
    margin-bottom:14px;
}

.cost-section h5{
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
    color:var(--text-muted);
    margin-bottom:8px;
}

.cost-section ul{
    list-style:none;
}

.cost-section li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:13px;
    padding:5px 0;
    border-bottom:1px solid var(--border);
}

.cost-section li:last-child{
    border-bottom:none;
}

.cost-item-confidence{
    font-size:11px;
    margin-left:6px;
}

.cost-totals{
    display:flex;
    flex-direction:column;
    gap:6px;
    padding-top:10px;
    border-top:1px solid var(--border);
}

.cost-totals div{
    display:flex;
    justify-content:space-between;
    font-size:13px;
    font-weight:600;
}

.verification-checklist{
    background:var(--accent-soft);
    border-radius:14px;
    padding:16px 18px;
    margin-bottom:20px;
}

.verification-checklist ul{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:6px;
}

.verification-checklist li{
    font-size:13px;
    font-weight:600;
    color:var(--accent);
}

.verification-date{
    display:block;
    margin-top:10px;
    font-size:12px;
    color:var(--text-muted);
}

.modal-partner-offers{
    background:var(--accent-soft);
    border-radius:14px;
    padding:14px 18px;
    margin-bottom:20px;
}

.modal-partner-offers h4{
    font-size:15px;
    margin-bottom:4px;
}

.modal-partner-offers-note{
    font-size:12px;
    color:var(--text-muted);
    margin-bottom:10px;
}

.modal-partner-offers table{
    width:100%;
    border-collapse:collapse;
    font-size:13px;
}

.modal-partner-offers th{
    text-align:left;
    font-weight:600;
    color:var(--text-muted);
    padding:4px 6px;
    border-bottom:1px solid var(--border);
}

.modal-partner-offers td{
    padding:6px;
    border-bottom:1px solid var(--border);
}

.modal-partner-offer-current{
    font-weight:700;
}

.modal-partner-offers em{
    font-weight:400;
    font-style:normal;
    color:var(--text-muted);
    font-size:12px;
}

.modal-why-match{
    margin-bottom:20px;
}

.modal-why-match[hidden]{
    display:none;
}

#modal-why-match-btn{
    background:var(--accent-soft);
    color:var(--accent);
    border:none;
    padding:10px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    width:100%;
    text-align:left;
}

#modal-why-match-btn:hover{
    background:#e2e6da;
}

#modal-why-match-body{
    background:var(--bg);
    border-radius:10px;
    padding:12px 16px;
    margin-top:8px;
}

#modal-why-match-body ul{
    padding-left:18px;
}

#modal-why-match-body li{
    font-size:13px;
    color:var(--text);
    margin-bottom:6px;
    line-height:1.4;
}

.modal-property-details{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 16px;
    background:var(--bg);
    border-radius:14px;
    padding:14px 18px;
    margin-bottom:20px;
}

.modal-property-details[hidden]{
    display:none;
}

.modal-property-details .detail-item{
    font-size:13px;
}

.modal-property-details .detail-item span{
    display:block;
    color:var(--text-muted);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.3px;
}

.modal-property-details .detail-item strong{
    color:var(--text);
}

.modal-eligibility-status{
    background:var(--bg);
    border-radius:14px;
    padding:14px 18px;
    margin-bottom:20px;
}

.modal-eligibility-status[hidden]{
    display:none;
}

.eligibility-status-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:13px;
    padding:6px 0;
    border-bottom:1px solid var(--border);
}

.eligibility-status-row:last-of-type{
    border-bottom:none;
}

.eligibility-status-row strong{
    font-size:13px;
}

.eligibility-status-row.eligibility-status-green strong{ color:#1a8a4a; }
.eligibility-status-row.eligibility-status-yellow strong{ color:#b8860b; }
.eligibility-status-row.eligibility-status-red strong{ color:#c0392b; }

.modal-eligibility-disclaimer{
    font-size:11px;
    color:var(--text-muted);
    margin:10px 0 0;
    line-height:1.4;
}

.modal-nearby-counts{
    background:var(--accent-soft);
    border-radius:14px;
    padding:14px 18px;
    margin-bottom:20px;
}

.modal-nearby-counts[hidden]{
    display:none;
}

.modal-nearby-counts-title{
    display:block;
    font-size:12px;
    font-weight:700;
    color:var(--accent);
    text-transform:uppercase;
    letter-spacing:.3px;
    margin-bottom:8px;
}

.modal-nearby-counts-grid{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.nearby-count-item{
    background:var(--surface);
    border-radius:20px;
    padding:5px 12px;
    font-size:13px;
    font-weight:600;
    color:var(--text);
}

.modal-service-note{
    background:var(--accent-soft);
    color:var(--accent);
    font-size:13px;
    font-weight:600;
    line-height:1.5;
    padding:12px 16px;
    border-radius:14px;
    margin-bottom:20px;
}

.modal-cta{
    display:inline-block;
    width:100%;
    text-align:center;
    background:var(--accent);
    color:#fff;
    padding:14px 24px;
    border-radius:50px;
    font-weight:600;
    transition:background .3s ease;
}

.modal-cta:hover{
    background:#48553f;
}

@media (max-width:600px){
    .modal-image{
        height:220px;
    }

    .modal-content{
        padding:24px 22px 28px;
    }
}

/* ===========================
   VIDEO TOUR
=========================== */

.video-tour-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--surface);
    border:1px solid var(--border);
    color:var(--text);
    padding:10px 22px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    margin-top:20px;
    transition:.3s ease;
}

.video-tour-btn:hover{
    border-color:var(--accent);
    background:var(--accent-soft);
}

.video-modal-card{
    max-width:800px;
    background:#0a0a0a;
}

.video-modal-card #video-modal-player{
    width:100%;
    max-height:70vh;
    display:block;
    background:#000;
}

.video-tabs{
    display:flex;
    gap:10px;
    padding:16px;
    justify-content:center;
}

.video-tabs button{
    background:rgba(255,255,255,.08);
    color:#fff;
    border:1px solid rgba(255,255,255,.15);
    padding:8px 18px;
    border-radius:50px;
    font-size:13px;
    transition:.3s ease;
}

.video-tabs button:hover{
    background:rgba(255,255,255,.16);
}

.video-tabs button.active{
    background:var(--accent);
    border-color:var(--accent);
}

/* ===========================
   LEAD FORM
=========================== */

.lead-form-divider{
    text-align:center;
    color:var(--text-muted);
    font-size:13px;
    margin:18px 0 14px;
    position:relative;
}

.lead-form-divider::before,
.lead-form-divider::after{
    content:"";
    position:absolute;
    top:50%;
    width:26%;
    height:1px;
    background:var(--border);
}

.lead-form-divider::before{
    left:0;
}

.lead-form-divider::after{
    right:0;
}

.lead-form{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.lead-form input{
    padding:12px 16px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:15px;
    font-family:inherit;
    color:var(--text);
    background:var(--bg);
}

#modal-message-compose{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:10px;
}

#modal-message-compose textarea{
    padding:12px 16px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:14px;
    font-family:inherit;
    color:var(--text);
    background:var(--bg);
    resize:vertical;
}

.lead-form-submit{
    background:transparent;
    border:1px solid var(--accent);
    color:var(--accent);
    padding:13px;
    border-radius:50px;
    font-weight:600;
    transition:.3s ease;
}

.lead-form-submit:hover{
    background:var(--accent);
    color:#fff;
}

.lead-form-success{
    color:var(--accent);
    font-size:13px;
    text-align:center;
}

.lead-form-error{
    color:#b5432f;
    font-size:13px;
    text-align:center;
}

/* ===========================
   CITY LANDING PAGE (SEO)
=========================== */

.city-landing-hero{
    padding:140px 0 80px;
}

.city-landing-hero-inner{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:48px;
    align-items:start;
}

.city-landing-copy h1{
    font-family:'Fraunces',serif;
    font-size:40px;
    font-weight:500;
    margin-bottom:16px;
    color:var(--text);
}

.city-landing-copy p{
    font-size:16px;
    color:var(--text-muted);
    margin-bottom:20px;
    line-height:1.6;
}

.city-landing-points{
    display:flex;
    flex-direction:column;
    gap:10px;
    list-style:none;
}

.city-landing-points li{
    font-size:15px;
    color:var(--text);
}

.city-landing-form-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    padding:28px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.city-landing-form-card h2{
    font-family:'Fraunces',serif;
    font-size:22px;
    font-weight:500;
    margin-bottom:6px;
}

.city-landing-form-card > p{
    font-size:13px;
    color:var(--text-muted);
    margin-bottom:18px;
}

#city-landing-form{
    display:flex;
    flex-direction:column;
    gap:10px;
}

#city-landing-form input,
#city-landing-form textarea{
    padding:12px 14px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:14px;
    font-family:inherit;
    color:var(--text);
    background:var(--bg);
    width:100%;
    resize:vertical;
}

#city-landing-form button{
    background:var(--accent);
    color:#fff;
    padding:12px;
    border-radius:10px;
    font-weight:600;
    font-size:14px;
    transition:background .3s ease;
}

#city-landing-form button:hover{
    background:#48553f;
}

@media (max-width:880px){
    .city-landing-hero{
        padding:96px 0 48px;
    }

    .city-landing-hero-inner{
        grid-template-columns:1fr;
    }

    .city-landing-copy h1{
        font-size:28px;
    }
}

/* ===========================
   BROWSE PROJECTS CAROUSEL
=========================== */

.browse-projects{
    padding:56px 0;
    border-bottom:1px solid var(--border);
}

.browse-tabs{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:32px;
}

.browse-tabs button{
    background:var(--surface);
    color:var(--text-muted);
    border:1px solid var(--border);
    padding:10px 20px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    transition:.3s ease;
}

.browse-tabs button:hover{
    border-color:var(--accent);
    color:var(--text);
}

.browse-tabs button.active{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
}

.browse-view-toggle{
    display:flex;
    gap:8px;
}

.browse-view-toggle button{
    background:var(--surface);
    color:var(--text-muted);
    border:1px solid var(--border);
    padding:8px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    transition:.3s ease;
}

.browse-view-toggle button:hover{
    border-color:var(--accent);
    color:var(--text);
}

.browse-view-toggle button.active{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
}

.browse-toolbar{
    margin-bottom:24px;
}

.browse-toolbar-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:12px;
}

.browse-toolbar-btn{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:50px;
    padding:8px 18px;
    font-size:13px;
    font-weight:600;
    color:var(--text);
    cursor:pointer;
    transition:border-color .3s ease;
}

.browse-toolbar-btn:hover{
    border-color:var(--accent);
}

.browse-results-count{
    font-size:13px;
    color:var(--text-muted);
    margin-right:auto;
}

.browse-sort-select{
    padding:8px 14px;
    border:1px solid var(--border);
    border-radius:50px;
    background:var(--surface);
    color:var(--text);
    font-size:13px;
    font-family:inherit;
    cursor:pointer;
}

.browse-filters-panel{
    display:block;
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:16px;
    padding:18px;
    margin-top:18px;
}

.browse-filters-panel .filters-actions-row{
    padding-top:16px;
    border-top:1px solid var(--border);
}

.browse-pagination{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin-top:32px;
}

.browse-page-btn{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:10px;
    min-width:38px;
    padding:8px 12px;
    font-size:13px;
    font-weight:600;
    color:var(--text);
    cursor:pointer;
    transition:border-color .3s ease, background .3s ease, color .3s ease;
}

.browse-page-btn:hover{
    border-color:var(--accent);
}

.browse-page-btn.active{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
}

.browse-page-btn[disabled]{
    opacity:.4;
    cursor:default;
}

.browse-carousel{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:20px;
    align-items:stretch;
}

.browse-map{
    height:520px;
    border-radius:16px;
    overflow:hidden;
    border:1px solid var(--border);
}

.map-popup{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:160px;
}

.map-popup img{
    width:100%;
    height:90px;
    object-fit:cover;
    border-radius:8px;
}

.map-popup strong{
    font-size:13px;
}

.map-popup a{
    color:var(--accent);
    font-size:12px;
    font-weight:600;
}

.browse-carousel .property-card,
.browse-carousel .property-card-group{
    display:flex;
    flex-direction:column;
    height:100%;
}

.nearby-places-list{
    display:flex;
    flex-direction:column;
    gap:32px;
}

.place-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:18px;
    padding:24px;
}

.place-card-header{
    display:flex;
    gap:20px;
    align-items:flex-start;
    margin-bottom:16px;
}

.place-card-header img{
    width:140px;
    height:100px;
    object-fit:cover;
    border-radius:12px;
    flex:none;
    background:var(--bg);
}

.place-card-info h3{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:20px;
    margin:2px 0 4px;
    display:inline-block;
}

.place-type-icon{
    font-size:20px;
    margin-right:6px;
}

.place-city{
    display:block;
    font-size:12px;
    color:var(--text-muted);
    text-transform:capitalize;
}

.place-card-info p{
    font-size:14px;
    color:var(--text-muted);
    margin-top:6px;
}

.place-properties-row{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.place-property-item{
    width:100%;
}

.place-properties-row .property-card{
    display:flex;
    flex-direction:row;
    width:100%;
    align-items:stretch;
}

.place-properties-row .property-card:hover{
    transform:none;
}

.place-properties-row .property-image{
    flex:none;
    width:320px;
    height:auto;
    padding:0;
}

.place-properties-row .property-image img{
    border-radius:0;
}

.place-properties-row .property-content{
    flex:1;
    min-width:0;
}

@media (max-width:880px){
    .place-properties-row .property-card{
        flex-direction:column;
    }

    .place-properties-row .property-image{
        width:100%;
        height:190px;
        padding:14px 14px 0;
    }

    .place-properties-row .property-image img{
        border-radius:12px;
    }
}

.place-distance-badge{
    display:inline-block;
    margin-bottom:8px;
    background:var(--accent-soft);
    color:var(--accent);
    padding:4px 12px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
}

.place-no-properties{
    font-size:13px;
    color:var(--text-muted);
}

.browse-empty{
    text-align:center;
    color:var(--text-muted);
    font-size:15px;
    padding:20px 0;
}

.browse-layout{
    display:flex;
    align-items:flex-start;
    gap:28px;
}

.browse-main{
    flex:1;
    min-width:0;
}

.browse-sidebar{
    flex:none;
    width:300px;
    position:sticky;
    top:100px;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.pwa-install-banner[hidden]{
    display:none;
}

.pwa-install-banner{
    position:sticky;
    top:0;
    z-index:1001;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    background:var(--accent);
    color:#fff;
    padding:10px 20px;
}

.pwa-install-banner-text{
    display:flex;
    flex-direction:column;
    gap:2px;
    min-width:0;
}

.pwa-install-banner-text strong{
    font-size:14px;
}

.pwa-install-banner-text span{
    font-size:12px;
    opacity:0.85;
}

.pwa-install-banner-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}

.pwa-install-banner-actions #pwa-install-btn{
    background:#fff;
    color:var(--accent);
    padding:8px 16px;
    border-radius:8px;
    font-size:13px;
    font-weight:700;
}

.pwa-install-banner-actions #pwa-install-dismiss{
    background:transparent;
    color:#fff;
    font-size:20px;
    line-height:1;
    padding:4px 6px;
}

@media (max-width:600px){
    .pwa-install-banner{
        padding:8px 12px;
    }
    .pwa-install-banner-text span{
        display:none;
    }
}

.push-notif-opt-in{
    background:var(--accent-soft);
    border:1px solid var(--border);
    border-radius:14px;
    padding:16px;
    margin-bottom:16px;
    text-align:center;
}

.push-notif-opt-in p{
    font-size:13px;
    color:var(--text-muted);
    margin-bottom:10px;
}

.push-notif-opt-in button{
    background:var(--accent);
    color:#fff;
    padding:10px 16px;
    border-radius:10px;
    font-size:13px;
    font-weight:600;
}

.push-notif-opt-in button:hover{
    background:#48553f;
}

.sidebar-alert-card{
    background:var(--accent-soft);
    border:1px solid var(--border);
    border-radius:16px;
    padding:22px;
    text-align:center;
}

.sidebar-alert-card p{
    font-size:14px;
    font-weight:600;
    color:var(--text);
    margin-bottom:14px;
}

.sidebar-alert-card button[type="button"]{
    width:100%;
    background:var(--accent);
    color:#fff;
    padding:12px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    transition:background .3s ease;
}

.sidebar-alert-card button[type="button"]:hover{
    background:#48553f;
}

.alert-subscribe-form{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.alert-subscribe-form input{
    padding:11px 14px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:14px;
    font-family:inherit;
    color:var(--text);
    background:var(--surface);
}

.alert-subscribe-form button[type="submit"]{
    background:var(--accent);
    color:#fff;
    padding:11px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    transition:background .3s ease;
}

.alert-subscribe-form button[type="submit"]:hover{
    background:#48553f;
}

.alert-subscribe-section{
    background:var(--accent-soft);
    padding:32px 0;
}

.alert-subscribe-widget--inline{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
    text-align:center;
}

.alert-subscribe-widget--inline p{
    font-size:15px;
    font-weight:600;
    color:var(--text);
    margin:0;
}

.alert-subscribe-widget--inline .alert-subscribe-btn{
    background:var(--accent);
    color:#fff;
    padding:12px 20px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
    transition:background .3s ease;
}

.alert-subscribe-widget--inline .alert-subscribe-btn:hover{
    background:#48553f;
}

.alert-subscribe-widget--inline .alert-subscribe-form{
    flex-direction:row;
    flex-wrap:wrap;
}

.alert-subscribe-widget--inline .alert-subscribe-form input{
    min-width:220px;
}

.footer-col-newsletter .alert-subscribe-btn{
    background:var(--accent);
    color:#fff;
    padding:11px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    transition:background .3s ease;
}

.footer-col-newsletter .alert-subscribe-btn:hover{
    background:#48553f;
}

.footer-col-newsletter .alert-subscribe-widget{
    max-width:260px;
}

.alert-subscribe-success{
    color:var(--accent);
    font-size:13px;
    font-weight:600;
}

.alert-subscribe-error{
    color:#b5432f;
    font-size:13px;
}

.sidebar-ads{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.sidebar-ad{
    display:block;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(43,42,38,.08);
    transition:transform .3s ease, box-shadow .3s ease;
}

.sidebar-ad:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 40px rgba(43,42,38,.14);
}

.sidebar-ad img{
    width:100%;
    display:block;
}

@media (max-width:1024px){
    .browse-sidebar{
        width:240px;
    }
}

@media (max-width:880px){
    .browse-layout{
        flex-direction:column;
    }

    .browse-sidebar{
        width:100%;
        position:static;
    }

    .sidebar-ads{
        flex-direction:row;
        overflow-x:auto;
        scrollbar-width:none;
    }

    .sidebar-ads::-webkit-scrollbar{
        display:none;
    }

    .sidebar-ad{
        flex:none;
        width:260px;
    }
}

/* ===========================
   SELL / RENT WITH US
=========================== */

.sell-banner{
    background:var(--accent);
    padding:44px 0;
}

.sell-banner-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap;
}

.sell-banner-text h2{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:28px;
    color:#fff;
    margin-bottom:8px;
}

.sell-banner-text p{
    color:rgba(255,255,255,.85);
    font-size:15px;
    max-width:480px;
}

.sell-banner-btn{
    background:#fff;
    color:var(--accent);
    padding:14px 28px;
    border-radius:50px;
    font-weight:600;
    white-space:nowrap;
    transition:transform .3s ease;
}

.sell-banner-btn:hover{
    transform:translateY(-2px);
}

@media (max-width:600px){
    .sell-banner-inner{
        flex-direction:column;
        align-items:flex-start;
    }
}

.consultation{
    background:var(--accent-soft);
    padding:64px 0;
}

.consultation-inner{
    display:flex;
    align-items:center;
    gap:48px;
}

.consultation-text{
    flex:1;
    min-width:0;
}

.consultation-eyebrow{
    display:inline-block;
    color:var(--accent);
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    margin-bottom:14px;
}

.consultation-text h2{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:34px;
    line-height:1.2;
    color:var(--text);
    margin-bottom:14px;
    max-width:480px;
}

.consultation-text p{
    color:var(--text-muted);
    font-size:15px;
    line-height:1.6;
    max-width:440px;
    margin-bottom:26px;
}

.consultation-cta{
    background:var(--accent);
    color:#fff;
    padding:15px 30px;
    border-radius:50px;
    font-weight:600;
    font-size:15px;
    transition:transform .3s ease, background .3s ease;
}

.consultation-cta:hover{
    background:#48553f;
    transform:translateY(-2px);
}

.consultation-card{
    flex:none;
    width:260px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    padding:28px;
    text-align:center;
    box-shadow:0 20px 50px rgba(43,42,38,.1);
}

.consultation-photo-frame{
    width:220px;
    height:220px;
    border-radius:50%;
    margin:0 auto 16px;
    background:var(--accent-soft);
    overflow:hidden;
}

.consultation-photo{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 20%;
    display:block;
}

.consultation-photo[hidden]{
    display:none;
}

.consultation-name{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:19px;
    color:var(--text);
    margin-bottom:4px;
}

.consultation-role{
    color:var(--text-muted);
    font-size:13px;
    margin-bottom:20px;
}

.consultation-contacts{
    display:flex;
    justify-content:center;
    gap:10px;
}

.consultation-contact-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--accent-soft);
    color:var(--accent);
    transition:.3s ease;
}

.consultation-contact-icon svg{
    width:19px;
    height:19px;
}

.consultation-contact-icon:hover{
    background:var(--accent);
    color:#fff;
}

@media (max-width:880px){
    .consultation-inner{
        flex-direction:column;
        text-align:center;
    }

    .consultation-text h2,
    .consultation-text p{
        max-width:none;
    }

    .consultation-card{
        width:100%;
        max-width:300px;
    }
}

.sell-modal-card{
    max-width:640px;
    padding:32px;
}

.sell-modal-card .sell-intro{
    margin-bottom:14px;
}

.sell-intro h2{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:24px;
    margin:10px 0 6px;
    line-height:1.25;
}

.sell-intro p{
    color:var(--text-muted);
    font-size:15px;
}

.sell-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px 16px;
}

.sell-form label{
    display:block;
    font-size:13px;
    color:var(--text-muted);
    grid-column:span 1;
}

.sell-form label:nth-child(2),
.sell-form-full,
.sell-toggle,
.sell-submit,
.sell-form .lead-form-success,
.sell-form .lead-form-error{
    grid-column:1 / -1;
}

.sell-form input,
.sell-form select,
.sell-form textarea{
    display:block;
    width:100%;
    box-sizing:border-box;
    margin-top:4px;
    padding:10px 14px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:14px;
    font-family:inherit;
    color:var(--text);
    background:var(--surface);
}

.sell-form textarea{
    min-height:70px;
    resize:vertical;
}

.sell-form input[type="file"]{
    padding:10px 14px;
    font-size:13px;
    color:var(--text-muted);
}

.sell-toggle{
    display:flex;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:12px;
    padding:4px;
    gap:4px;
}

.sell-toggle button{
    flex:1;
    background:transparent;
    color:var(--text-muted);
    padding:10px;
    border-radius:8px;
    font-weight:600;
    font-size:14px;
    transition:.3s ease;
}

.sell-toggle button.active{
    background:var(--accent);
    color:#fff;
}

.sell-submit{
    background:var(--accent);
    color:#fff;
    padding:14px;
    border-radius:12px;
    font-weight:600;
    transition:background .3s ease;
}

.sell-submit:hover{
    background:#48553f;
}

@media (max-width:880px){
    .sell-form{
        grid-template-columns:1fr;
    }

    .sell-form label{
        grid-column:1 / -1;
    }
}

/* ===========================
   SERVICES
=========================== */

.value-estimate-section{
    padding:20px 0;
}

.value-estimate-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    padding:36px;
    text-align:center;
    max-width:720px;
    margin:0 auto;
}

.value-estimate-card h2{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:24px;
    margin-bottom:6px;
}

.value-estimate-card > p{
    color:var(--text-muted);
    font-size:13px;
    margin-bottom:22px;
}

.value-estimate-form{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:center;
}

.value-estimate-form select,
.value-estimate-form input{
    padding:12px 16px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:14px;
    font-family:inherit;
}

.value-estimate-form input{
    width:140px;
}

.value-estimate-form button{
    background:var(--accent);
    color:#fff;
    padding:12px 26px;
    border-radius:10px;
    font-weight:600;
    font-size:14px;
}

.value-estimate-error{
    color:#a83a3a;
    font-size:13px;
    margin-top:14px;
}

.value-estimate-result{
    margin-top:24px;
    padding-top:24px;
    border-top:1px solid var(--border);
}

.value-estimate-result strong{
    display:block;
    font-family:'Fraunces',serif;
    font-size:28px;
    margin-bottom:6px;
}

.value-estimate-result span{
    color:var(--text-muted);
    font-size:14px;
}

.value-estimate-result p{
    margin-top:10px;
    font-size:12px;
    color:var(--text-muted);
}

.popular-section{
    padding:20px 0 60px;
}

.featured-section{
    background:linear-gradient(180deg,#fff9ec,transparent);
}

.popular-carousel{
    display:flex;
    gap:20px;
    overflow-x:auto;
    padding-bottom:8px;
    scroll-snap-type:x proximity;
}

.popular-carousel .property-card{
    flex:0 0 300px;
    width:300px;
    scroll-snap-align:start;
}

.vacation-section{
    padding:56px 0;
}

.vacation-section [hidden]{
    display:none;
}

/* Sea-and-sand card so the block stands apart from the neutral sections around it */
.vacation-card{
    display:grid;
    grid-template-columns:1.15fr 1fr;
    border-radius:28px;
    overflow:hidden;
    background:linear-gradient(135deg,#0f4c5c 0%,#1d6f7a 55%,#c9a876 140%);
    box-shadow:0 24px 60px rgba(15,76,92,.25);
    color:#fff;
}

.vacation-card-body{
    padding:48px 44px;
}

/* height:0 + min-height:100% lets the text column set the card height,
   so a tall photo can't stretch the card */
.vacation-card-photo{
    width:100%;
    height:0;
    min-height:100%;
    object-fit:cover;
    display:block;
}

.vacation-label{
    display:inline-block;
    background:var(--sand);
    color:#2b2a26;
    font-size:13px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
    padding:6px 14px;
    border-radius:50px;
    margin-bottom:18px;
}

.vacation-title{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:40px;
    line-height:1.15;
    margin-bottom:14px;
    color:#fff;
}

.vacation-subtitle{
    font-size:17px;
    color:rgba(255,255,255,.85);
    margin-bottom:24px;
    max-width:520px;
}

.vacation-perks{
    list-style:none;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin:0 0 28px;
    padding:0;
}

.vacation-perks li{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.22);
    border-radius:14px;
    padding:10px 14px;
    font-size:15px;
    color:#fff;
}

.vacation-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.vacation-btn{
    background:var(--sand);
    color:#2b2a26;
    border:1px solid var(--sand);
    padding:14px 28px;
    border-radius:50px;
    font-weight:600;
    text-decoration:none;
    cursor:pointer;
    transition:transform .3s ease;
}

.vacation-btn:hover{
    transform:translateY(-2px);
}

.vacation-btn-outline{
    background:transparent;
    color:#fff;
    border-color:rgba(255,255,255,.7);
}

.vacation-section #vacation-carousel{
    margin-top:28px;
}

@media (max-width:880px){
    .vacation-card{
        grid-template-columns:1fr;
    }

    .vacation-card-photo{
        order:-1;
        min-height:0;
        height:220px;
        object-position:center 70%;
    }

    .vacation-card-body{
        padding:32px 24px;
    }

    .vacation-title{
        font-size:30px;
    }
}

@media (max-width:600px){
    .vacation-perks{
        grid-template-columns:1fr;
    }

    .vacation-actions{
        flex-direction:column;
        align-items:stretch;
        text-align:center;
    }
}

.section-extra-card{
    display:contents;
}

.section-extra-card[hidden]{
    display:none;
}

.section-expand-btn{
    display:block;
    margin:20px auto 0;
    background:transparent;
    border:1px solid var(--border);
    color:var(--accent);
    padding:10px 22px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    transition:background .2s ease;
}

.section-expand-btn:hover{
    background:var(--accent-soft);
}

.intent-chips-section{
    padding:36px 0;
}

.intent-chips-heading{
    font-family:'Fraunces',serif;
    font-size:24px;
    font-weight:500;
    color:var(--text);
    text-align:center;
    margin-bottom:20px;
}

.intent-chips-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
}

.intent-chips-row button{
    background:var(--accent-soft);
    color:var(--text);
    border:none;
    padding:12px 20px;
    border-radius:14px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:background .2s ease, transform .15s ease;
    white-space:nowrap;
}

.intent-chips-row button:hover{
    background:var(--accent);
    color:#fff;
    transform:translateY(-2px);
}

@media (max-width:600px){
    .intent-chips-row button{
        padding:10px 14px;
        font-size:13px;
    }
}

.city-preview-section{
    padding:20px 0 60px;
}

.city-preview-row{
    margin-bottom:40px;
}

.city-preview-row:last-child{
    margin-bottom:0;
}

.city-preview-row-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:18px;
}

.city-preview-row-header h2{
    font-family:'Fraunces',serif;
    font-size:24px;
    font-weight:500;
    color:var(--text);
}

.city-preview-view-all{
    background:none;
    border:none;
    color:var(--accent);
    font-weight:600;
    font-size:14px;
    cursor:pointer;
    white-space:nowrap;
}

.city-preview-view-all:hover{
    text-decoration:underline;
}

.home-city-grid{
    display:flex;
    gap:20px;
    overflow-x:auto;
    padding-bottom:8px;
    scroll-snap-type:x proximity;
}

.home-city-grid .property-card{
    flex:0 0 300px;
    width:300px;
    scroll-snap-align:start;
}

@media (max-width:520px){
    .home-city-grid .property-card{
        flex-basis:260px;
        width:260px;
    }
}

.browse-categories{
    padding:20px 0 60px;
}

.browse-categories-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.category-tile{
    position:relative;
    height:180px;
    border-radius:18px;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    background-color:var(--surface);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:16px;
    text-align:left;
    transition:transform .3s ease;
}

.category-tile::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
}

.category-tile:hover{
    transform:translateY(-4px);
}

.category-tile-count{
    position:relative;
    align-self:flex-end;
    background:#fff;
    color:var(--text);
    font-weight:700;
    font-size:13px;
    padding:4px 12px;
    border-radius:20px;
}

.category-tile-label{
    position:relative;
    color:#fff;
    font-weight:700;
    font-size:16px;
    font-family:'Fraunces',serif;
}

@media (max-width:900px){
    .browse-categories-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:560px){
    .browse-categories-grid{
        grid-template-columns:1fr;
    }
}

.path-cards{
    padding:60px 0;
}

.path-cards-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.path-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    padding:36px 28px;
    text-align:center;
    transition:box-shadow .4s ease, transform .4s ease;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.path-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 45px rgba(43,42,38,.1);
}

.path-card-icon{
    font-size:36px;
    width:72px;
    height:72px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    background:var(--accent-soft);
    border-radius:50%;
}

.path-card h3{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:22px;
    margin-bottom:10px;
}

.path-card p{
    color:var(--text-muted);
    font-size:14px;
    margin-bottom:22px;
    flex:1;
}

.path-card-btn{
    border:1.5px solid var(--accent);
    color:var(--accent);
    background:transparent;
    padding:11px 22px;
    border-radius:30px;
    font-weight:600;
    font-size:14px;
    transition:.3s ease;
}

.path-card-btn:hover{
    background:var(--accent);
    color:#fff;
}

@media (max-width:900px){
    .path-cards-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:560px){
    .path-cards-grid{
        grid-template-columns:1fr;
    }
}

.services{
    padding:70px 0;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px;
    max-width:900px;
    margin:0 auto;
}

.service-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    padding:32px;
    text-align:center;
    transition:box-shadow .4s ease, transform .4s ease;
}

.service-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 45px rgba(43,42,38,.1);
}

.service-icon{
    font-size:32px;
    width:64px;
    height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 18px;
    background:var(--accent-soft);
    border-radius:50%;
}

.service-card h3{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:20px;
    margin-bottom:10px;
}

.service-card p{
    color:var(--text-muted);
    font-size:15px;
}

@media (max-width:700px){
    .services-grid{
        grid-template-columns:1fr;
    }
}

/* ===========================
   SIDE INQUIRY WIDGET
=========================== */

.side-widget-tab{
    position:fixed;
    right:24px;
    bottom:24px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 12px 30px rgba(43,42,38,.25);
    z-index:1500;
    transition:transform .3s ease, box-shadow .3s ease;
}

.side-widget-tab:hover{
    transform:scale(1.08);
    box-shadow:0 16px 36px rgba(43,42,38,.3);
}

.side-widget-tab[hidden]{
    display:none;
}

.side-widget-tab-icon{
    font-size:26px;
    line-height:1;
}

.side-widget-tab-close{
    position:absolute;
    top:-4px;
    right:-4px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--surface);
    color:var(--text-muted);
    font-size:10px;
    box-shadow:0 4px 10px rgba(43,42,38,.2);
    opacity:0;
    transition:opacity .3s ease;
}

.side-widget-tab:hover .side-widget-tab-close{
    opacity:1;
}

@media (max-width:420px){
    .side-widget-tab{
        width:52px;
        height:52px;
        right:16px;
        bottom:16px;
    }

    .side-widget-tab-icon{
        font-size:22px;
    }
}

.side-widget{
    position:fixed;
    right:24px;
    bottom:24px;
    width:280px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:0 20px 50px rgba(43,42,38,.18);
    padding:24px;
    z-index:1500;
    animation:side-widget-in .4s ease;
}

.side-widget[hidden]{
    display:none;
}

@keyframes side-widget-in{
    from{ opacity:0; transform:translateY(16px); }
    to{ opacity:1; transform:translateY(0); }
}

.side-widget-close{
    position:absolute;
    top:14px;
    right:14px;
    width:26px;
    height:26px;
    border-radius:50%;
    color:var(--text-muted);
    font-size:13px;
    transition:.3s ease;
}

.side-widget-close:hover{
    background:var(--accent-soft);
    color:var(--accent);
}

.side-widget-icon{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--accent-soft);
    border-radius:50%;
    font-size:20px;
    margin-bottom:14px;
    border:none;
    transition:background .3s ease;
}

.side-widget h4{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:18px;
    margin-bottom:6px;
}

.side-widget p{
    color:var(--text-muted);
    font-size:13px;
    line-height:1.5;
    margin-bottom:16px;
}

.side-widget-form{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.side-widget-form input,
.side-widget-form select{
    padding:11px 14px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:14px;
    font-family:inherit;
    color:var(--text);
    background:var(--bg);
    width:100%;
}

.side-widget{
    max-height:85vh;
    overflow-y:auto;
}

.side-widget-form button{
    background:var(--accent);
    color:#fff;
    padding:11px;
    border-radius:10px;
    font-weight:600;
    font-size:14px;
    transition:background .3s ease;
}

.side-widget-form button:hover{
    background:#48553f;
}

@media (max-width:600px){
    .side-widget{
        left:16px;
        right:16px;
        bottom:16px;
        width:auto;
    }
}

/* ===========================
   ACCOUNT
=========================== */

.account-trigger{
    position:relative;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    border:1px solid var(--border);
    color:var(--text);
    transition:border-color .3s ease, color .3s ease, background .3s ease;
}

.account-badge[hidden]{
    display:none;
}

.account-badge{
    position:absolute;
    top:-4px;
    right:-4px;
    min-width:16px;
    height:16px;
    padding:0 4px;
    border-radius:20px;
    background:#c9564a;
    color:#fff;
    font-size:10px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1;
}

.account-trigger svg{
    width:19px;
    height:19px;
}

.account-trigger:hover,
.account-trigger.logged-in{
    border-color:var(--accent);
    color:var(--accent);
    background:var(--accent-soft);
}

.account-modal-card{
    max-width:480px;
    padding:32px;
}

.account-tabs{
    display:flex;
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:12px;
    padding:4px;
    gap:4px;
    margin-bottom:20px;
}

.account-tabs button{
    flex:1;
    background:transparent;
    color:var(--text-muted);
    padding:10px;
    border-radius:8px;
    font-weight:600;
    font-size:14px;
    transition:.3s ease;
}

.account-tabs button.active{
    background:var(--accent);
    color:#fff;
}

.account-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.account-form[hidden]{
    display:none;
}

.account-form label{
    display:block;
    font-size:13px;
    color:var(--text-muted);
}

.account-form input{
    display:block;
    width:100%;
    margin-top:6px;
    padding:12px 14px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:14px;
    font-family:inherit;
    color:var(--text);
    background:var(--surface);
}

.account-form button[type="submit"]{
    background:var(--accent);
    color:#fff;
    padding:13px;
    border-radius:10px;
    font-weight:600;
    transition:background .3s ease;
}

.account-form button[type="submit"]:hover{
    background:#48553f;
}

.account-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:20px;
}

.account-header h4{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:20px;
}

.account-header button{
    color:var(--text-muted);
    font-size:13px;
    font-weight:600;
    border:1px solid var(--border);
    padding:8px 14px;
    border-radius:50px;
    transition:.3s ease;
}

.account-header button:hover{
    border-color:var(--accent);
    color:var(--accent);
}

.account-favorites-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    max-height:420px;
    overflow-y:auto;
}

.account-favorites-grid .property-card{
    cursor:default;
}

.account-history-item{
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:14px;
    padding:14px 16px;
    margin-bottom:10px;
}

.account-history-item .history-type{
    display:inline-block;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
    color:var(--accent);
    margin-bottom:6px;
}

.account-history-item strong{
    display:block;
    font-size:14px;
    margin-bottom:2px;
}

.account-history-item span{
    font-size:12px;
    color:var(--text-muted);
}

#account-history-list,
#account-care-hosting-list,
#account-care-applications-list{
    max-height:420px;
    overflow-y:auto;
}

.care-applicants{
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid var(--border);
}

.care-applicant-row{
    background:var(--surface);
    border-radius:10px;
    padding:10px 12px;
    margin-bottom:8px;
    font-size:12px;
}

.care-applicant-row p{
    color:var(--text-muted);
    margin-top:4px;
}

.care-applicant-actions{
    display:flex;
    gap:8px;
    margin-top:8px;
}

.care-accept-btn,
.care-reject-btn,
.care-confirm-btn{
    font-size:12px;
    font-weight:600;
    padding:6px 14px;
    border-radius:20px;
    transition:.3s ease;
}

.care-accept-btn{
    background:var(--accent);
    color:#fff;
}

.care-accept-btn:hover{
    background:#48553f;
}

.care-reject-btn{
    background:transparent;
    border:1px solid var(--border);
    color:var(--text-muted);
}

.care-reject-btn:hover{
    border-color:#c9564a;
    color:#c9564a;
}

.care-confirm-btn{
    display:block;
    margin-top:8px;
    background:#3d6e64;
    color:#fff;
}

.care-confirm-btn:hover{
    background:#2e5750;
}

@media (max-width:600px){
    .account-favorites-grid{
        grid-template-columns:1fr;
    }
}

/* ===========================
   ROI CALCULATOR
=========================== */

.roi-open-btn{
    display:block;
    width:100%;
    text-align:center;
    background:transparent;
    border:1px solid var(--border);
    color:var(--text);
    padding:13px 24px;
    border-radius:50px;
    font-weight:600;
    font-size:14px;
    margin-top:10px;
    transition:.3s ease;
}

.roi-open-btn:hover{
    border-color:var(--accent);
    color:var(--accent);
    background:var(--accent-soft);
}

.report-link-btn{
    display:block;
    width:100%;
    text-align:center;
    background:none;
    border:none;
    color:var(--text-muted);
    font-size:12px;
    padding:14px 0 0;
    text-decoration:underline;
}

.report-link-btn[hidden]{
    display:none;
}

.report-link-btn:hover{
    color:var(--text);
}

#modal-report-compose{
    margin-top:10px;
}

#modal-report-compose select,
#modal-report-compose textarea{
    width:100%;
    margin-bottom:8px;
}

.roi-modal-card{
    max-width:480px;
    padding:32px;
}

.roi-modal-card h2{
    font-family:'Fraunces',serif;
    font-weight:500;
    font-size:24px;
    margin:10px 0 4px;
}

.roi-intro{
    color:var(--text-muted);
    font-size:14px;
    margin-bottom:18px;
}

.roi-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-bottom:22px;
}

.roi-form label{
    display:block;
    font-size:13px;
    color:var(--text-muted);
    grid-column:span 1;
}

.roi-form label:first-child{
    grid-column:1 / -1;
}

.roi-form input{
    display:block;
    width:100%;
    margin-top:4px;
    padding:10px 14px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:14px;
    font-family:inherit;
    color:var(--text);
    background:var(--surface);
}

.roi-results{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    background:var(--accent-soft);
    border-radius:14px;
    padding:18px;
    margin-bottom:14px;
}

.roi-result{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.roi-result span{
    font-size:12px;
    color:var(--text-muted);
}

.roi-result strong{
    font-size:18px;
    color:var(--accent);
}

.roi-disclaimer{
    color:var(--text-muted);
    font-size:12px;
    line-height:1.5;
}

@media (max-width:600px){
    .roi-form{
        grid-template-columns:1fr;
    }

    .roi-results{
        grid-template-columns:1fr;
    }
}

.visa-guide-main{
    max-width:760px;
    padding-top:48px;
    padding-bottom:64px;
}

.visa-guide-disclaimer{
    background:var(--accent-soft);
    border:1px solid var(--border);
    border-radius:12px;
    padding:16px 18px;
    font-size:13px;
    line-height:1.6;
    color:var(--text-muted);
    margin-bottom:36px;
}

.visa-guide-section{
    margin-bottom:40px;
}

.visa-guide-section h2{
    font-family:'Fraunces',serif;
    font-size:24px;
    font-weight:500;
    color:var(--text);
    margin-bottom:12px;
}

.visa-guide-section h3{
    font-size:16px;
    font-weight:700;
    color:var(--text);
    margin:20px 0 10px;
}

.visa-guide-section > p{
    font-size:15px;
    line-height:1.6;
    color:var(--text-muted);
    margin-bottom:12px;
}

.visa-guide-list{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.visa-guide-list li{
    font-size:14px;
    line-height:1.6;
    color:var(--text);
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:10px;
    padding:12px 16px;
}

.visa-guide-note{
    font-size:13px;
    color:var(--text-muted);
    font-style:italic;
    margin-top:12px;
}

.visa-guide-cta{
    text-align:center;
    padding:32px;
    background:var(--accent-soft);
    border-radius:16px;
}

.visa-guide-cta p{
    font-size:16px;
    font-weight:600;
    color:var(--text);
    margin-bottom:16px;
}


/* ===========================
   SIDE NAVIGATION
=========================== */

.side-nav{
    position:fixed;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    z-index:900;
}

.side-nav-toggle{
    display:none;
}

.side-nav-list{
    list-style:none;
    margin:0;
    padding:8px;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(12px);
    border:1px solid var(--border);
    border-radius:22px;
    box-shadow:0 12px 32px rgba(43,42,38,.12);
}

.side-nav-list li[hidden]{
    display:none;
}

.side-nav-list a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 10px;
    border-radius:14px;
    color:var(--text);
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    white-space:nowrap;
    transition:background .2s ease;
}

.side-nav-list a:hover{
    background:var(--accent-soft);
}

.side-nav-list a.active{
    background:var(--accent);
    color:#fff;
}

.side-nav-icon{
    width:22px;
    text-align:center;
    font-size:17px;
}

/* Labels collapse to icons when the page margins are too narrow, and
   slide out on hover */
.side-nav-label{
    max-width:0;
    overflow:hidden;
    opacity:0;
    transition:max-width .25s ease, opacity .2s ease;
}

.side-nav:hover .side-nav-label,
.side-nav:focus-within .side-nav-label{
    max-width:180px;
    opacity:1;
}

@media (min-width:1560px){
    .side-nav-label{
        max-width:180px;
        opacity:1;
    }
}

/* Phones and tablets: a "Sections" button that opens the list */
@media (max-width:1100px){
    .side-nav{
        top:auto;
        bottom:20px;
        transform:none;
    }

    .side-nav-toggle{
        display:block;
        background:var(--accent);
        color:#fff;
        border:none;
        border-radius:50px;
        padding:12px 18px;
        font-size:15px;
        font-weight:600;
        box-shadow:0 10px 24px rgba(43,42,38,.25);
        cursor:pointer;
    }

    .side-nav-list{
        display:none;
        position:absolute;
        left:0;
        bottom:calc(100% + 10px);
    }

    .side-nav.open .side-nav-list{
        display:block;
    }

    .side-nav-label{
        max-width:180px;
        opacity:1;
    }
}

/* Phone header: three account icons + WhatsApp + menu button must all fit,
   otherwise the menu button ends up off-screen */
@media (max-width:600px){
    .header-right{
        gap:8px;
    }

    .header .account-trigger{
        width:34px;
        height:34px;
    }

    .header .whatsapp{
        padding:8px 12px;
        font-size:12px;
    }

    .side-nav{
        left:12px;
        bottom:16px;
    }

    .side-nav-toggle{
        padding:10px 14px;
        font-size:13px;
    }
}

/* Very narrow phones: drop the header WhatsApp button (the chat bubble and
   card buttons still offer it) so the menu button stays reachable */
@media (max-width:350px){
    .header .whatsapp{
        display:none;
    }
}
