/* ===== calm homepage ===== */
body[data-page="home"] .ox-fold,body[data-page="home"] .ox-home-hide{display:none!important}
body[data-page="home"] .ox-visible{display:block}

/* hero: shorter, one clear message */
body[data-page="home"] .hero{max-height:760px}
@media (max-width:760px){body[data-page="home"] .hero{height:540px!important;min-height:0!important}body[data-page="home"] .hero-content{padding:56px 7% 40px!important}body[data-page="home"] .hero h1{font-size:clamp(40px,12vw,56px)!important;line-height:1.08!important}body[data-page="home"] .hero-content>p{font-size:15.5px!important}}

/* intents: big, clear choices (no sideways scrolling) */
body[data-page="home"] .ox-intents{padding:26px 18px 8px!important}
body[data-page="home"] .ox-intents h2{text-align:center;margin:0 0 14px!important;font-size:22px!important}
body[data-page="home"] .ox-intent-row{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px;overflow:visible!important;max-width:1240px;margin:0 auto}
body[data-page="home"] .ox-intent{width:auto!important;min-width:0!important;flex:none!important;text-align:center;align-items:center!important;padding:18px 10px!important}
body[data-page="home"] .ox-intent svg{width:30px!important;height:30px!important}
@media (max-width:760px){body[data-page="home"] .ox-intent-row{grid-template-columns:1fr 1fr!important}body[data-page="home"] .ox-intent:last-child:nth-child(odd){grid-column:1/-1}body[data-page="home"] .ox-intent small{font-size:12px}}

/* latest properties: 4 cards, sideways on mobile, no filters on home */
body[data-page="home"] #properties .filters,body[data-page="home"] #properties details.advanced,body[data-page="home"] #properties .listing-note{display:none!important}
body[data-page="home"] #property-grid>:nth-child(n+5){display:none!important}
body[data-page="home"] #properties .section-heading{margin-bottom:18px!important}
@media (max-width:760px){
  body[data-page="home"] #property-grid{display:flex!important;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 12px;margin-inline:-4px;scrollbar-width:none}
  body[data-page="home"] #property-grid::-webkit-scrollbar{display:none}
  body[data-page="home"] #property-grid>*{flex:0 0 80%!important;scroll-snap-align:start;margin:0!important}
  body[data-page="home"] #property-grid .property-card img,body[data-page="home"] #property-grid .property-card .photo{height:200px!important;aspect-ratio:auto!important;object-fit:cover}
}
@media (min-width:761px){body[data-page="home"] #property-grid{grid-template-columns:repeat(4,1fr)!important}}

/* cities: compact sideways row */
body[data-page="home"] #destinations .section-heading p{display:none}
@media (max-width:760px){
  body[data-page="home"] .destination-grid{display:flex!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:6px}
  body[data-page="home"] .destination-grid::-webkit-scrollbar{display:none}
  body[data-page="home"] .destination-grid>*{flex:0 0 62%!important;height:230px!important;min-height:0!important;scroll-snap-align:start}
}
body[data-page="home"] #destinations{padding-bottom:30px!important}

/* hub: services + tools */
.ox-hub{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:1180px;margin:0 auto}
.ox-hub h2{font-size:22px;margin:0 0 12px}
.ox-hub-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ox-hub-tile{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;border:1px solid var(--line,rgba(43,35,64,.12));background:var(--card,#fff);color:inherit;text-decoration:none;font:inherit;text-align:start;cursor:pointer;min-width:0;transition:border-color .2s,box-shadow .2s,transform .2s}
.ox-hub-tile:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(43,35,64,.08)}
.ox-hub-tile.on{border-color:#6b5aa6;box-shadow:0 0 0 2px rgba(107,90,166,.25)}
.ox-hub-tile svg{flex:none;width:38px;height:38px;padding:8px;border-radius:12px;background:rgba(107,90,166,.1);stroke:#5b4a92;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ox-hub-tile span{display:flex;flex-direction:column;gap:2px;min-width:0}
.ox-hub-tile b{font-size:14.5px;line-height:1.35}
.ox-hub-tile small{font-size:12px;opacity:.7;line-height:1.45}
.ox-hub-panel{max-width:1180px;margin:0 auto 10px;padding:0 18px}
.ox-hub-bar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:10px 14px;margin:0 0 6px;border-radius:12px;background:#2b2340;color:#fff}
.ox-hub-close{border:0;background:rgba(255,255,255,.15);color:#fff;border-radius:9px;padding:6px 12px;font:inherit;font-size:13px;cursor:pointer}
@media (max-width:860px){.ox-hub{grid-template-columns:1fr;gap:22px}}
@media (max-width:420px){.ox-hub-tile{padding:12px 10px;gap:9px}.ox-hub-tile svg{width:34px;height:34px;padding:7px}.ox-hub-tile b{font-size:13.5px}}
html[data-theme="dark"] .ox-hub-tile{background:#1d1a28;border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .ox-hub-tile svg{background:rgba(160,140,230,.14);stroke:#c4b6f0}

/* news: 4 headlines, sideways, expand on demand */
.ox-news-compact #refresh-news,.ox-news-compact #news-status,.ox-news-compact .section-heading>div:last-child p{display:none!important}
.ox-news-compact:not(.ox-news-all) #news-grid>:nth-child(n+5){display:none!important}
@media (max-width:760px){
  .ox-news-compact:not(.ox-news-all) #news-grid{display:flex!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:6px}
  .ox-news-compact:not(.ox-news-all) #news-grid::-webkit-scrollbar{display:none}
  .ox-news-compact:not(.ox-news-all) #news-grid>*{flex:0 0 76%!important;scroll-snap-align:start}
  .ox-news-compact #news-grid img{max-height:150px;object-fit:cover}
}
.ox-news-more{display:block;margin:16px auto 0;padding:10px 22px;border-radius:99px;border:1px solid var(--line,rgba(43,35,64,.2));background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}

/* calmer spacing between sections on mobile */
@media (max-width:760px){body[data-page="home"] main>.section{padding-top:44px!important;padding-bottom:44px!important}}
/* floating buttons: WhatsApp + assistant only on mobile */
@media (max-width:760px){body[data-page="home"] .float-phone{display:none!important}}

.ox-hub-grid>:last-child:nth-child(odd){grid-column:1/-1}

/* hub v2: each group gets the full width; tiles are uniform cards (icon on top) that never get squeezed */
.ox-hub{grid-template-columns:1fr!important;gap:34px!important}
.ox-hub h2{text-align:center;margin:0 0 16px!important}
.ox-hub-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:14px!important;max-width:1100px;margin:0 auto}
.ox-hub-grid>:last-child:nth-child(odd){grid-column:auto!important}
.ox-hub-tile{flex-direction:column;align-items:center!important;justify-content:flex-start;text-align:center!important;gap:10px!important;padding:20px 14px!important;height:100%}
.ox-hub-tile svg{width:46px!important;height:46px!important;padding:10px!important;border-radius:14px!important}
.ox-hub-tile span{align-items:center;gap:4px!important}
.ox-hub-tile b{font-size:15.5px!important;line-height:1.4}
.ox-hub-tile small{font-size:12.5px!important;line-height:1.6;max-width:24ch}
@media (max-width:760px){
  .ox-hub-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .ox-hub-grid>:last-child:nth-child(odd){grid-column:1/-1!important}
  .ox-hub-tile{padding:16px 10px!important}
  .ox-hub-tile:is(:last-child:nth-child(odd)){flex-direction:row;justify-content:center;text-align:start!important}
  .ox-hub-tile:is(:last-child:nth-child(odd)) span{align-items:flex-start}
}
.ox-hub{grid-template-columns:minmax(0,1fr)!important}
@media (min-width:761px){
  .ox-hub-grid{display:flex!important;flex-wrap:wrap;justify-content:center}
  .ox-hub-grid>.ox-hub-tile{flex:1 1 190px;max-width:240px;height:auto}
}
@media (min-width:761px){.ox-hub-grid{max-width:1180px!important}.ox-hub-grid>.ox-hub-tile{flex:1 1 180px;max-width:230px}}
@media (min-width:761px){.ox-hub-grid>.ox-hub-tile{box-sizing:border-box;flex:1 1 0;min-width:175px;max-width:230px}}
@media (min-width:761px){.ox-hub-grid>.ox-hub-tile{min-width:158px}}
/* wide screens: the generic .section side padding (sized for full-width sections) was squeezing the hub to ~540px */
@media (min-width:761px){
  body[data-page="home"] .ox-hub{padding-inline:20px!important;width:100%;max-width:1180px!important;box-sizing:border-box}
  .ox-hub-grid{flex-wrap:nowrap!important}
  .ox-hub-grid>.ox-hub-tile{flex:1 1 0!important;min-width:0!important;max-width:none!important}
}
@media (min-width:761px) and (max-width:1000px){body[data-page="home"] .ox-intent-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (min-width:1001px){body[data-page="home"] #news .news-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}}@media (min-width:761px) and (max-width:1000px){body[data-page="home"] #news .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
